Adapter

Interface converter
Collection
zero Useful+1
zero
Adapter is an interface converter It can be an independent hardware interface device, allowing hardware or electronic interface to connect with other hardware or electronic interface, or it can be an information interface. For example: The power adapter , tripod base adapter, USB and Serial port Transfer equipment, etc.
Chinese name
Adapter
Foreign name
Adapter/adaptor
Category
converter
Features
Conversion signal
Application
Power adapter, tripod base adapter, etc
Classification
SNMP, TL1, RMI, CORBA, HTTP and HTML

Basic meaning

Announce
edit
In a computer, an adapter is usually built into a card (or an external card) that can be inserted into a slot on the motherboard. The adapter information in the card is exchanged with the processor and the devices supported by the adapter.
Adapter
The power adapter Small portable electronic equipment and electronic appliances Power supply Conversion equipment, generally composed of housing, power transformer and rectifier circuit Composition: according to its output type, it can be divided into AC output type and DC output type; According to the connection mode, it can be divided into wall inserting type and desktop type. Mobile PC Since there is no battery, the power adapter is particularly important.
The power adapter of most mobile PCs can automatically detect 100-240V alternating current (50/60Hz)。 Basically, all mobile PCs have an external power supply, which is connected to the host with a line. This can reduce the size and weight of the host. Only a few models have power supplies built into the host. There is a nameplate on the power adapter, which indicates power, input/output voltage, current and other indicators. Pay special attention to the range of input voltage, which is the so-called "travel power adapter".
When MBeans are registered to the MBean server, they need to interact with these MBeans Manage Applications The issued request retrieves information. This is enabled through the protocol adapter, which can convert management application data into standard protocol information. [1]

category

Announce
edit
The protocol adapters supported by multi protocol proxy include SNMP, TL1, RMI, CORBA, HTTP and HTML adapters.
In the actual development process, we often encounter such things. We have developed a base class based on the preliminary requirements, and only in the development process did we learn about the detailed requirements or changes in requirements. However, the interfaces in the development work have already been defined and have been coded on a large scale. At this time, if you change the definition of the interface, it will cause a lot of repetitive changes in the coding, which may lead to semantic errors or logic errors caused by incomplete modifications. Semantic errors can still be found in the compilation phase, but once a logical error occurs, the consequences will be very serious, even enough to cause the system to crash. You need to use Adapter Mode Design method. [1]

Adaptation mode

Announce
edit
In computer programming, the adapter pattern (sometimes called packaging style or wrapper) adapts the interface of a class to what users expect. An adaptation allows classes that usually cannot work together because of incompatible interfaces to work together, by wrapping the class's own interface in an existing class.
The adapter pattern is mainly used when the method defined in the interface cannot meet the customer's requirements, or the name of the method defined in the interface or the method interface conflicts with the customer's requirements.
Two types of patterns: object adapter pattern - in this adapter pattern, the adapter holds an instance of the class it wraps. In this case, the adapter calls the physical entity of the wrapped object. Class adapter pattern - In this adapter pattern, the adapter inherits from the implemented class (generally multiple inheritance).
Adapter does not have Data rate Conversion function.
In computer programming, adapters include: container adapter, iterator adapter, functional adapter, etc. [1]

usage method

Announce
edit
How to use adapter mode:
A class inherits both the interface and the known class, and uses the methods and properties defined in the known class to implement the definition in the interface (mainly using the method of overloading the interface methods). Use this class as the base class of other business classes, that is, this class adapts to interfaces and known classes. If the known class changes, just modify the class adapter to meet the implementation of the interface.
Adapter type: needle adapter [2]

New products

Announce
edit
In April 2016, Microsoft released a new generation of wireless in China Display adapter : Microsoft Wireless Display Adapter V2. According to Microsoft, the adapter has been further optimized and improved in terms of improving device compatibility, reducing signal delay, and small and portable design on the basis of fully retaining the advantages of lightweight and easy use of the previous generation of products. Even in the non network environment, it can still be used smoothly, and is an indispensable companion for modern meetings and life entertainment. [2]

purpose

Announce
edit
One Laboratory centrifuge Usually, multiple rotors can be equipped with different capacities Centrifuge When two rotors of the same type but with different capacities are needed, an adapter can be placed in the tube hole with large capacity to reach the tube hole suitable for small capacity tubes. In this way, only the rotor with large capacity and a set of adapters can meet the requirements, which can not only eliminate the complex process of disassembly when changing rotors, but also save money, Because the price of an adapter is far lower than that of a rotor. [2]

host adapter

Announce
edit
host adapter host adapter )Or Host bus adapter host bus adapter HBA )Yes computer For the host system, connect other network or storage device Of computer hardware The term mainly refers to connection SCSI Fibre Channel or eSATA The device of the device. However, connecting the IDE Ethernet FireWire USB Or other system equipment may also be called host adapter