CN107220046B - Modularized connection method based on characteristic value - Google Patents
Modularized connection method based on characteristic value Download PDFInfo
- Publication number
- CN107220046B CN107220046B CN201710347716.2A CN201710347716A CN107220046B CN 107220046 B CN107220046 B CN 107220046B CN 201710347716 A CN201710347716 A CN 201710347716A CN 107220046 B CN107220046 B CN 107220046B
- Authority
- CN
- China
- Prior art keywords
- hardware
- software
- characteristic value
- connection method
- connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000004891 communication Methods 0.000 claims description 15
- 230000003993 interaction Effects 0.000 claims description 9
- 238000012423 maintenance Methods 0.000 description 3
- 101001042125 Eisenia hortensis Chymotrypsin inhibitor Proteins 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Communication Control (AREA)
- Stored Programmes (AREA)
Abstract
the invention discloses a modular connection method based on characteristic values, which comprises hardware A, hardware B, hardware C, software a, software B and software C, wherein the hardware A is a host with a memory and a processor, the hardware B is provided with a connection upper end and at least one connection lower end, the hardware B is connected with the hardware A through the connection upper end, the hardware B is connected with the hardware C through the connection lower end, the hardware C is communicated with the hardware B, the software a is an operating system operated in the memory of the hardware A, the software B is operated in the software a and is communicated with the hardware B, the software C is operated in the software a and is communicated with the software B, and the hardware C and the software C have characteristic values; the modular connection method based on the characteristic value can enable hardware equipment conforming to the method to be connected on a host conforming to the method in a modular mode and communicate data with application software in an operating system of the host.
Description
Technical Field
The invention belongs to a modular connection method based on characteristic values.
Background
Taking the working mode of the currently common PCI board card, network card and application software as an example, the PCI device and PCI driver correspond to hardware B and software B, the network card device and network communication application software correspond to hardware C and software C, and before the hardware C normally works, tasks such as reset, initialization, exception handling and the like need to be completed according to a special driver control instruction, and another feature of the previous scheme is that: the data transfer between the C hardware and C software needs to be done through a driver.
Taking a USB board, a memory card and office software as examples, a USB board (EHCI/XHCI device) and a USB board driver correspond to B hardware and B software, and a memory card and office software correspond to C hardware and C software, in the previous solution, a software layer such as a "Bulk-Only (BBB) program" exists between the USB board driver and the office software, functions as a "memory card driver", and has a software logic level similar to a "network card driver".
the existing components are high in production, manufacturing and maintenance cost, complex in basic operation and control mode, low in working efficiency and low in reliability, and equipment driving is required to be installed for insertion.
Disclosure of Invention
The invention aims to provide a modular connection method based on characteristic values, which can enable hardware equipment conforming to the method to be connected on a host conforming to the method in a modular mode and communicate data with application software in an operating system of the host.
In order to solve the technical problems, the technical scheme of the invention is as follows:
A modular connection method based on characteristic values comprises hardware A, hardware B, hardware C, software a, software B and software C, wherein the hardware A is a host with a memory and a processor, the hardware B is provided with a connection upper end and at least one connection lower end, the hardware B is connected with the hardware A through the connection upper end, the hardware B is connected with the hardware C through the connection lower end, the hardware C is communicated with the hardware B, the software a is an operating system running in the memory of the hardware A, the software B runs in the software a and is communicated with the hardware B, the software C runs in the software a and is communicated with the software B, the hardware C and the software C are provided with characteristic values, and one characteristic value of the software C is matched with one characteristic value of the hardware C.
Further, the characteristic value is a numerical expression of a specific communication protocol, the communication protocol determines the details of the cooperative work between the hardware C and the software C, and different characteristic values refer to different communication protocols.
Furthermore, for different C software with the same characteristic value, the interaction between the hardware C and the hardware B has no difference.
Further, for different C hardware with the same feature value, the interaction between the C software and the b software has no difference.
Furthermore, when the hardware C is connected to the different lower end of the hardware B, the interaction between the software C and the software B has no difference.
The technical effects of the invention are mainly reflected in the following aspects: the modularized connection between the hardware C and the hardware B can be realized, the logic level is simplified, the communication efficiency is improved, the associated complexity of related hardware is reduced, the appearance design of the hardware is allowed to be more freely opened, and the establishment and maintenance of a characteristic value can be independent and become the standardized constraint of the hardware C and software C.
Drawings
Fig. 1 is a schematic block diagram of a modular connection method based on feature values according to the present invention.
Detailed Description
As shown in fig. 1, a modular connection method based on eigenvalues involves three hardware devices, respectively A, B, C; three software programs are involved, namely a, b and c;
Wherein, the hardware A is a host with a memory and a processor; a, software is an operating system which runs in a memory of hardware A; the hardware B is provided with a connection upper end and at least one connection lower end; the hardware B is connected with the hardware A through the upper end of the connection; b, the software runs in the software a and communicates with the hardware B; the hardware B is connected with the hardware C through the lower connecting end; after the hardware C is connected with the hardware B, the hardware C communicates with the hardware B; c, the software runs in the software a and communicates with the software b; c, the software has a characteristic value; c, hardware has a characteristic value; c, matching an eigenvalue of the software with an eigenvalue of the C hardware; determining the cooperative working details of hardware C and software C for the characteristic values; for different C software with the same characteristic value, the interaction between the hardware C and the hardware B has no difference; for different C hardware with the same characteristic value, the interaction between the software C and the software b has no difference; when the hardware C is connected to the different connection lower ends of the hardware B, the interaction between the software C and the software B has no difference, the characteristic value is a numerical expression of a specific communication protocol, the communication protocol determines the cooperative working details between the hardware C and the software C, and different characteristic values refer to different communication protocols.
Description of the principles
The innovation of the scheme is to replace the previous device driver with the characteristic value constraint. Taking the working mode of the PCI board card, the network card and the application software which are common at present as an example, the PCI equipment and the PCI driver correspond to the hardware B and the software B in the scheme, the network card equipment and the network communication application software correspond to the hardware C and the software C in the invention, and the layer driven by the previous network card is removed in the invention; the scheme creates an implementation method taking a characteristic value as a constraint condition, the characteristic value is conceptually similar to an interface communication contract, and the characteristic value can be independently made and maintained by a third-party organization. Any one C hardware can be replaced by other C hardware with the same characteristic value, and the normal operation of C software is not influenced at all. Before the former C hardware works normally, tasks such as reset, initialization, and exception handling need to be completed according to a dedicated driver control instruction. In the method proposed by the scheme, the actions are self-processed as an 'internal logic' of the C hardware, and the 'internal logic' has no relation with the A hardware, the a software, the B hardware, the B software and the C software. Another feature of the previous solution is: the data transfer between the C hardware and C software needs to be done through a driver. The implementation method provided by the scheme classifies the data communication task into hardware B and software B. Taking a USB board card, a memory card and office software as examples, the USB board card (EHCI/XHCI device) and a USB board card driver correspond to the hardware B and the software B in the present solution, and the memory card and the office software correspond to the hardware C and the software C in the present invention, and in the previous solution, a software layer such as a "Bulk-Only (BBB) program" exists between the USB board card driver and the office software, functioning as a "memory card driver", and having a software logic level similar to a "network card driver". Similarly, in the method proposed by the present solution, the software layer is removed, and the C hardware and the C software can cooperate as long as they satisfy the "eigenvalue" matching condition of the "storage constraint".
The technical effects of the invention are mainly reflected in the following aspects: the modularized connection between the hardware C and the hardware B can be realized, the logic level is simplified, the communication efficiency is improved, the associated complexity of related hardware is reduced, the appearance design of the hardware is allowed to be more freely opened, and the establishment and maintenance of a characteristic value can be independent and become the standardized constraint of the hardware C and software C.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that are not thought of through the inventive work should be included in the scope of the present invention.
Claims (3)
1. A modular connection method based on characteristic values comprises hardware A, hardware B, hardware C, software a, software B and software C, wherein the hardware A is a host with a memory and a processor, the hardware B is provided with a connection upper end and at least one connection lower end, the hardware B is connected with the hardware A through the connection upper end, the hardware B is connected with the hardware C through the connection lower end, the hardware C is communicated with the hardware B, and the modular connection method is characterized in that: the software a is an operating system running in a memory of hardware A, the software B runs in the software a and is communicated with the hardware B, the software C runs in the software a and is communicated with the software B, the hardware C and the software C have characteristic values, and one characteristic value of the software C is matched with one characteristic value of the hardware C; the characteristic value is a numerical expression of a specific communication protocol, the communication protocol determines the cooperative working details between hardware C and software C, and different characteristic values refer to different communication protocols; for different C software with the same characteristic value, the interaction between the hardware C and the hardware B has no difference.
2. The eigenvalue based modular connection method of claim 1 wherein: for different C hardware with the same characteristic value, the interaction between the C software and the b software has no difference.
3. The eigenvalue based modular connection method of claim 2 wherein: and when the hardware C is connected to the different lower end of the hardware B, the interaction between the software C and the software B has no difference.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710347716.2A CN107220046B (en) | 2017-05-17 | 2017-05-17 | Modularized connection method based on characteristic value |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710347716.2A CN107220046B (en) | 2017-05-17 | 2017-05-17 | Modularized connection method based on characteristic value |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107220046A CN107220046A (en) | 2017-09-29 |
CN107220046B true CN107220046B (en) | 2019-12-13 |
Family
ID=59944161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710347716.2A Expired - Fee Related CN107220046B (en) | 2017-05-17 | 2017-05-17 | Modularized connection method based on characteristic value |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220046B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101826010A (en) * | 2009-12-07 | 2010-09-08 | 西安奇维测控科技有限公司 | Efficient parallel operation method of software and hardware management based on drive control layer |
CN104899048A (en) * | 2015-06-27 | 2015-09-09 | 奇瑞汽车股份有限公司 | Design method for embedded system |
CN105704207A (en) * | 2015-12-18 | 2016-06-22 | 百势软件(北京)有限公司 | Method for generating unique identifier, terminal and network side |
-
2017
- 2017-05-17 CN CN201710347716.2A patent/CN107220046B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101826010A (en) * | 2009-12-07 | 2010-09-08 | 西安奇维测控科技有限公司 | Efficient parallel operation method of software and hardware management based on drive control layer |
CN104899048A (en) * | 2015-06-27 | 2015-09-09 | 奇瑞汽车股份有限公司 | Design method for embedded system |
CN105704207A (en) * | 2015-12-18 | 2016-06-22 | 百势软件(北京)有限公司 | Method for generating unique identifier, terminal and network side |
Also Published As
Publication number | Publication date |
---|---|
CN107220046A (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105785958A (en) | Smart factory-based multi-function data acquisition device, acquisition system and method | |
CN100504688C (en) | Private chip for implementing bus controller function in ring bus numerical control system | |
CN104965700A (en) | Method and system for implementing driving on SPI equipment under VxWorks operating system | |
CN103309830A (en) | Driver of CPCI bus CAN communicating module under VxWorks operating system and driving method | |
CN105224483B (en) | Data transmission method, electronic equipment and universal serial bus device | |
CN101013315A (en) | General numerical control system based on full digital ring bus | |
CN111213099A (en) | Motion control card, motion control system, robot system and numerical control machine tool | |
CN104238517A (en) | PROFIBUS-DPV1 main communication station and method | |
CN102291337B (en) | Gateway for switching communication based on EtherCAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol and communication method thereof | |
CN101763324B (en) | Method for realizing equipment simulating and device thereof | |
CN105549522B (en) | A kind of embedded actual time safety control runtimes of PLC based on SPARC frameworks CPU and its operation method | |
CN107220046B (en) | Modularized connection method based on characteristic value | |
CN105429836A (en) | Real-time EtherCAT master station system | |
CN210155539U (en) | Low-cost PLC to database direct transmission module | |
CN104409090A (en) | Usb interface conversion module | |
CN200997073Y (en) | Universal digital-controlled system based on digital ring bus | |
CN103207850B (en) | The transmission system of heterogeneous device | |
CN205212859U (en) | System of real -time ethernet etherCAT main website | |
CN103218334A (en) | Computer peripheral cascade device based on USB (Universal Serial Bus) and RS485 bus | |
CN207148829U (en) | A kind of embedded-type ARM core board based on SDIO interfaces | |
CN202206415U (en) | Gateway for communication conversion between Ethernet CAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol | |
CN105137874B (en) | A kind of automation control system and method | |
CN204680012U (en) | A kind ofly meet the standard-sized CAN Interface Control Panel of 3U CPCI based on multi-disc arm processor | |
CN108924220A (en) | A kind of new type auto networked control systems and its method | |
CN205229976U (en) | KVM system of compatible multiple mouse type |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191213 |