CN102004716A - System and method for realizing device sharing - Google Patents

System and method for realizing device sharing Download PDF

Info

Publication number
CN102004716A
CN102004716A CN 201010542665 CN201010542665A CN102004716A CN 102004716 A CN102004716 A CN 102004716A CN 201010542665 CN201010542665 CN 201010542665 CN 201010542665 A CN201010542665 A CN 201010542665A CN 102004716 A CN102004716 A CN 102004716A
Authority
CN
China
Prior art keywords
processor
equipment
data
shared
virtual
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.)
Pending
Application number
CN 201010542665
Other languages
Chinese (zh)
Inventor
颜悌君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN CITY HAZENS AUTO ELECTRONIC CO Ltd
Original Assignee
SHENZHEN CITY HAZENS AUTO ELECTRONIC CO Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SHENZHEN CITY HAZENS AUTO ELECTRONIC CO Ltd filed Critical SHENZHEN CITY HAZENS AUTO ELECTRONIC CO Ltd
Priority to CN 201010542665 priority Critical patent/CN102004716A/en
Publication of CN102004716A publication Critical patent/CN102004716A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)

Abstract

The invention discloses a system and a method for realizing device sharing, and is used for realizing the action of sharing one or more devices between a first processor and a second processor, wherein the first processor is connected with the one or more devices, and the second processor is connected with the first processor by a high-speed bus; the data communications between the first processor and second processor are respectively based on data communication protocols respectively supported by the one or more devices; when the sharing is required, the second processor sends a sharing request to the first processor, then the first processor sends the information of devices corresponding to the sharing request to the second processor, and the second processor respectively carries out operations on corresponding virtual devices according to the received device information, and the operating datathe is sented to the first processor, finally, the first processor carries out corresponding operations on corresponding hardware and/or software devices according to the received operating data, and returns the operation results to the second processor. The invention effectively releases computer interfaces and improves the utilization ratio of device.

Description

System and method thereof that realization equipment is shared
Technical field
The present invention relates to the equipment control field of computer system, relate in particular to a kind of system and method thereof that realizes that equipment is shared.
Background technology
Along with fast development of computer technology, the computer peripherals with various functions is also more and more.Many external equipments are not supported the usb communication agreement, but support communication protocols such as UART, I2C, GPIO.Need use a plurality of data-interfaces when these equipment are connected with computing machine, increase the numerous and diverse degree and the instability of computer system.And the hardware resource of PC is limited, does not have enough interfaces and connects a lot of such equipment.Because the number of ports quantitative limitation has had a strong impact on the expansion of personal computer function.
In addition,, normally driving the equipment that oneself connects in the system separately at present, so just needing the equipment of a lot of said functions, reducing the service efficiency of equipment, causing the waste of resource for a plurality of operating systems.
Summary of the invention
The technical problem to be solved in the present invention is, needs too much computer interface and the low defective of plant factor at prior art, the system and the method thereof that provide the high realization equipment of a kind of effective release computer interface and plant factor to share.
The technical solution adopted for the present invention to solve the technical problems is:
According to an aspect, a kind of system that realizes that equipment is shared, in sharing the one or more equipment that are connected on the described first processor between first processor and second processor, described first processor links to each other by high-speed bus with described second processor, and described high-speed bus is used for the data of the various communication protocols of transmission between described first processor and described second processor; Described system comprises:
First communication module is arranged in described first processor, is used for sending data or receiving data from described second processor to described second processor respectively according to the data communication protocol of described one or more each self-supporting of equipment;
First administration module, be arranged in described first processor, driver communication with described first communication module and described one or more equipment, send corresponding apparatus information to described second processor after being used to receive the sharing request that described second processor sends, also be used to resolve the data that receive by described first communication module, and the driver that is sent to relevant device respectively of the data after will resolving to be driving described one or more equipment, and replys operating result to described second processor;
One or more device drivers, be arranged in described first processor, in described one or more device driver each is corresponding to a described equipment, described device driver and described first administration module and corresponding device talk are used to receive the data of described first administration module parsing and send to corresponding equipment so that corresponding equipment is carried out associative operation;
Second communication module is arranged in described second processor, is used for sending data or receiving data from described first processor to described first processor respectively according to the data communication protocol of described one or more each self-supporting of equipment;
Second administration module is arranged in described second processor, with the described second communication module communication, is used for sending sharing request by described second communication module to described first processor, and resolves the data that receive by described second communication module; And
One or more virtual device drivers, be arranged in described second processor, in described one or more virtual device driver each is corresponding to a described equipment, described virtual device driver and the described second administration module communication, be used at the virtual described one or more equipment of described second processor, and the data that described second processor is operated described one or more virtual units are sent to described second administration module so that send the described one or more equipment that are connected with described first processor to.
In the system that realization equipment of the present invention is shared, described one or more equipment comprise hardware device and/or software equipment.
In the system that realization equipment of the present invention is shared, described first processor is the ARM single-chip microcomputer, and described second processor is a computing machine.
In the system that realization equipment of the present invention is shared, described first processor is a computing machine, and described second processor is the ARM single-chip microcomputer.
In the system that realization equipment of the present invention is shared, described high-speed bus is a usb bus, and has only one.
According to an aspect, a kind of method that realizes that equipment is shared, in the first processor that is connected with one or more equipment with share described one or more equipment by between high-speed bus and second processor that described first processor links to each other, wherein, the data communication between described first processor and described second processor is respectively based on the data communication protocol of one or more each self-supporting of equipment of being shared; Said method comprising the steps of:
S1, described second processor send sharing request to described first processor;
S2, described first processor are to the information of described second processor transmission corresponding to described one or more equipment of described sharing request;
S3, described second processor are operated the one or more virtual units corresponding to described one or more equipment respectively according to the information of the described one or more equipment that receive;
S4, described second processor send to described first processor with described service data; And
S5, described first processor carry out corresponding operating according to the described service data that receives to described one or more equipment, and reply operating result and give described second processor.
In the method that realization equipment of the present invention is shared, described one or more equipment comprise hardware device and/or software equipment.
In the method that realization equipment of the present invention is shared, described first processor is the ARM single-chip microcomputer, and described second processor is a computing machine.
In the method that realization equipment of the present invention is shared, described first processor is a computing machine, and described second processor is the ARM single-chip microcomputer.
In the method that realization equipment of the present invention is shared, described high-speed bus is a usb bus, and has only one.
The system that realization equipment of the present invention is shared and the beneficial effect of method thereof are: by the various data based on different communication protocol of transmission on a high-speed bus, thereby the equipment between the realization processor is shared, can effectively discharge the interface of computing machine, the stability of increase system, terseness and reliability are saved cost simultaneously; In addition, a plurality of operating systems can be shared various hardware and/or software equipment based on virtual technology, have improved usage ratio of equipment.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the block diagram of the system shared of realization equipment according to an embodiment of the invention;
Fig. 2 is the block diagram of the system shared of realization equipment in accordance with another embodiment of the present invention;
Fig. 3 is the process flow diagram of the method shared of realization equipment according to an embodiment of the invention.
Embodiment
Fig. 1 is the block diagram of the system shared of realization equipment according to an embodiment of the invention.In the present embodiment, the one or more hardware and/or the software equipment (for example, equipment 104) that on 110 shared first processors of the first processor 100 and second processor, are connected of the system shared of realization equipment.Hardware device can comprise the peripherals that connects on touch-screen, GPS, bluetooth, radio and/or other computing machine 210 or the ARM single-chip microcomputer 200.Software equipment can comprise the application software of configuration on Games Software, player software and/or other computing machine 210 or the ARM single-chip microcomputer 200.First processor 100 links to each other by high-speed bus with second processor 110, this high-speed bus (for example, usb bus) is used in first processor 100 and 110 data of transmitting various communication protocols (for example, UART, I2C, GPIO and/or other communication protocol) of second processor.For example, the data communication protocol supported based on institute's sharing equipment (for example, equipment 104) of the data transmission of 110 of the first processor 100 and second processors.
In the present embodiment, the shared system of realization equipment comprises:
First communication module 101 is arranged in first processor 100, is used for sending data or receiving data from second processor 110 to second processor 110 respectively according to the data communication protocol of each self-supporting of one or more equipment of being shared (for example, equipment 104).
First administration module 102, be arranged in first processor 100, with first communication module 101 and various device driver (for example, device driver 103) communication, send the corresponding apparatus information to second processor 110 after being used to receive the sharing request that second processor 110 sends, also be used to resolve the data that receive by first communication module 101, and the driver that the data after will resolving are sent to relevant device respectively (for example, device driver 103) (for example to drive corresponding one or more equipment, and reply operating result to the second processor 110 equipment 104).
One or more device drivers (for example, device driver 103), be arranged in first processor 100, one or more device drivers (for example, device driver 103) each in corresponding to an equipment (for example, equipment 104), one or more device drivers (for example, device driver 103) with first administration module 102 and corresponding one or more equipment (for example, equipment 104) communication, be used to receive the data of first administration module, 102 parsings and send to corresponding apparatus (for example, equipment 104) so that relevant device (for example, equipment 104) is carried out associative operation.
Second communication module 111 is arranged in second processor 110, is used for sending data or receiving data from first processor 100 to first processor 100 respectively according to the data communication protocol of each self-supporting of one or more equipment of being shared (for example, equipment 104).
Second administration module 112 is arranged in second processor 110, with 111 communications of second communication module, is used for sending sharing request by second communication module 111 to first processor 100, and resolves the data that receive by second communication module 111.
One or more virtual device drivers (for example, virtual device driver 113), be arranged in second processor 110, one or more virtual device drivers (for example, virtual device driver 113) each in corresponding to an equipment (for example, equipment 104), one or more virtual device drivers (for example, virtual device driver 113) with 112 communication of second administration module, (for example be used at second processor, 110 virtual one or more equipment of sharing, equipment 104), and (for example with 110 pairs of corresponding one or more virtual units of second processor, virtual unit 114) data of operating are sent to second administration module 112 so that send the corresponding one or more equipment (for example, equipment 104) that are connected with first processor 100 to.
In the present embodiment, when second processor 110 (for example needs to share one or more equipment that be connected on the first processor 100, equipment 104) time, second administration module 112 sends sharing request by second communication module 111 to first processor 100, after first communication module 101 receives this sharing request this sharing request is passed to first administration module 102.First administration module 102 is resolved these sharing request, and according to the sharing request after resolving the information (for example, device type, instrument size etc.) of one or more equipment (for example, equipment 104) is sent to second processor 110 by first communication module 101.After receiving these facility informations, second communication module 111 these facility informations are passed to corresponding one or more virtual device driver (for example, virtual device driver 113) respectively by second administration module 112.Corresponding one or more virtual device driver (for example, virtual device driver 113) just can be on second processor 110 virtual corresponding one or more virtual units (for example, virtual unit 114), the operating system of second processor 110 just can be called virtual unit as calling real equipment.In the present embodiment, corresponding one or more virtual device driver (for example, virtual device driver 113) to corresponding one or more virtual units (for example according to the operating system of the facility information that receives by second processor 110, virtual unit 114) carries out various operations respectively, operational order that corresponding one or more virtual device driver (for example, virtual device driver 113) sends operating system and data transfer are to second administration module 112.Second administration module 112 according to corresponding one or more equipment (for example, equipment 104) data communication protocol of being supported encapsulates corresponding operational order and data respectively, and the operational order after will being encapsulated by second communication module 111 and data send to first processor 100 by high-speed bus (for example, usb bus).First administration module 102 receives the data that second processor 110 sends by first communication module 101, and is corresponding operational order and data with the data parsing that receives.Then, operational order after first administration module 102 will be resolved and data (for example send to corresponding one or more device driver, device driver 103), corresponding one or more device driver (for example, device driver 103) according to the operational order and the data that receive corresponding one or more equipment (for example, equipment 104) is carried out corresponding operating.Behind the end of operation, corresponding one or more device driver (for example, device driver 103) operating result is sent to first administration module 102, first administration module 102 according to corresponding one or more equipment (for example, equipment 104) data communication protocol of being supported is the encapsulation operation result respectively, and send to second processor 110 by high-speed bus (for example, usb bus) by first communication module 101.The operating result that second administration module 112 receives after encapsulating by second communication module 111, and the operating result after the parsing encapsulation.After parsing finished, the operating result after second administration module 112 will be resolved sent to corresponding one or more virtual device drivers (for example, virtual device driver 113) respectively.Corresponding one or more virtual device driver (for example, virtual device driver 113) returns the operating system that corresponding information is given second processor 110 according to this operating result, thereby finish of the operation of the operating system of second processor 110 to one or more virtual units (for example, virtual unit 114).
Fig. 2 is the block diagram of the system shared of realization equipment in accordance with another embodiment of the present invention.In the present embodiment, share hardware and/or the software equipment that is connected on computing machine 210 and/or the ARM single-chip microcomputer 200 in computing machine 210 and 200 of ARM single-chip microcomputers.Hardware device can comprise the peripherals that connects on touch-screen, GPS, bluetooth, radio and/or other computing machine 210 or the ARM single-chip microcomputer 200.Software equipment can comprise the application software of configuration on Games Software, player software and/or other computing machine 210 or the ARM single-chip microcomputer 200.
When computing machine 210 needed on the sharing A RM single-chip microcomputer 200 the one or more hardware that connect and/or software equipment (for example, single-chip microcomputer equipment 205), computing machine 210 can be used as the aforementioned calculation machine, and ARM single-chip microcomputer 200 can be used as above-mentioned ARM single-chip microcomputer.Computer management module 212 sends sharing request by computing machine communication module 211 to ARM single-chip microcomputer 200, after microcontroller communication module 201 receives this sharing request this sharing request is passed to single-chip microcomputer administration module 202.Single-chip microcomputer administration module 202 is resolved this sharing request, and with one or more equipment (for example according to the sharing request after resolving, single-chip microcomputer equipment 205) information (for example, device type, instrument size etc.) sends to computing machine 210 by microcontroller communication module 201.After receiving these facility informations, computing machine communication module 211 these facility informations are passed to corresponding one or more virtual device driver (for example, the computer virtual device driver 213) respectively by computer management module 212.Corresponding one or more virtual device driver (for example, computer virtual device driver 213) just can be on computing machine 210 virtual corresponding one or more virtual units (for example, computer virtual equipment 215), the operating system of computing machine 210 just can be called virtual unit as calling real equipment.In the present embodiment, corresponding one or more virtual device driver (for example, computer virtual device driver 213) (for example according to the operating system of the facility information that receives by computing machine 210, windows operating system) (for example to corresponding one or more virtual units, when computer virtual equipment 215) carrying out various operation respectively, operational order that corresponding one or more virtual device driver (for example, the computer virtual device driver 213) sends operating system and data transfer are to computer management module 212.Computer management module 212 according to corresponding one or more equipment (for example, single-chip microcomputer equipment 205) data communication protocol of being supported (for example, UART, USB, I2C, GPIO and/or other data communication protocol) encapsulate corresponding operational order and data respectively, and the operational order after will being encapsulated by computing machine communication module 211 and data send to ARM single-chip microcomputer 200 by high-speed bus (for example, usb bus).The data that single-chip microcomputer administration module 202 sends by microcontroller communication module 201 receiving computers 210, and be corresponding operational order and data with the data parsing that receives.Then, operational order after single-chip microcomputer administration module 202 will be resolved and data (for example send to corresponding one or more device driver, single-chip microcomputer device driver 203), corresponding one or more device driver (for example, single-chip microcomputer device driver 203) according to the operational order and the data that receive corresponding one or more equipment (for example, single-chip microcomputer equipment 205) is carried out corresponding operating.Behind the end of operation, corresponding one or more device driver (for example, single-chip microcomputer device driver 203) operating result is sent to single-chip microcomputer administration module 202, single-chip microcomputer administration module 202 according to corresponding one or more equipment (for example, single-chip microcomputer equipment 205) data communication protocol of being supported (for example, UART, USB, I2C, GPIO and/or other data communication protocol) difference encapsulation operation result, and send to computing machine 210 by high-speed bus (for example, usb bus) by microcontroller communication module 201.The operating result that computer management module 212 receives after encapsulating by computing machine communication module 211, and the operating result after the parsing encapsulation.After parsing finished, the operating result after computer management module 212 will be resolved sent to corresponding one or more virtual device drivers (for example, the computer virtual device driver 213) respectively.Corresponding one or more virtual device driver (for example, computer virtual device driver 213) (for example returns operating system that corresponding information gives computing machine 210 according to this operating result, windows operating system), thereby the operating system of finishing computing machine 210 (for example, windows operating system) to the operation of one or more virtual units (for example, computer virtual equipment 215).
When one or more hardware that connect on the shared computing machine 210 of ARM single-chip microcomputer 200 needs and/or software equipment (for example, computer equipment 216), computing machine 210 can be used as above-mentioned first processor, and ARM single-chip microcomputer 200 can be used as above-mentioned second processor.Single-chip microcomputer administration module 202 sends sharing request by microcontroller communication module 201 to computing machine 210, after computing machine communication module 211 receives this sharing request this sharing request is passed to computer management module 212.Computer management module 212 is resolved this sharing request, and with one or more equipment (for example according to the sharing request after resolving, computer equipment 216) information (for example, device type, instrument size etc.) sends to ARM single-chip microcomputer 200 by computing machine communication module 211.After receiving these facility informations, microcontroller communication module 201 these facility informations are passed to corresponding one or more virtual device driver (for example, the single-chip microcomputer virtual device driver 204) respectively by single-chip microcomputer administration module 202.Corresponding one or more virtual device driver (for example, single-chip microcomputer virtual device driver 204) just can be on ARM single-chip microcomputer 200 virtual corresponding one or more virtual units (for example, single-chip microcomputer virtual unit 206), the operating system of ARM single-chip microcomputer 200 just can be called virtual unit as calling real equipment.Corresponding one or more virtual device driver (for example, single-chip microcomputer virtual device driver 204) to corresponding one or more virtual units (for example according to the operating system of the facility information that receives by ARM single-chip microcomputer 200, single-chip microcomputer virtual unit 206) carries out various operations respectively, operational order that corresponding one or more virtual device driver (for example, the single-chip microcomputer virtual device driver 204) sends operating system and data transfer are to single-chip microcomputer administration module 202.Single-chip microcomputer administration module 202 according to corresponding one or more equipment (for example, computer equipment 216) data communication protocol of being supported (for example, UART, USB, I2C, GPIO and/or other data communication protocol) encapsulate corresponding operational order and data respectively, and the operational order after will being encapsulated by microcontroller communication module 201 and data send to computing machine 210 by high-speed bus (for example, usb bus).Computer management module 212 receives the data that ARM single-chip microcomputers 200 send by computing machine communication module 211, and is corresponding operational order and data with the data parsing that receives.Then, operational order after computer management module 212 will be resolved and data (for example send to corresponding one or more device driver, computer equipment driver 214), corresponding one or more device driver (for example, computer equipment driver 214) according to the operational order and the data that receive corresponding one or more equipment (for example, computer equipment 216) is carried out corresponding operating.Behind the end of operation, corresponding one or more device driver (for example, computer equipment driver 214) operating result is sent to computer management module 212, computer management module 212 according to corresponding one or more equipment (for example, computer equipment 216) data communication protocol of being supported (for example, UART, USB, I2C, GPIO and/or other data communication protocol) difference encapsulation operation result, and send to ARM single-chip microcomputer 200 by high-speed bus (for example, usb bus) by computing machine communication module 211.The operating result that single-chip microcomputer administration module 202 receives after encapsulating by microcontroller communication module 201, and the operating result after the parsing encapsulation.After parsing finished, the operating result after single-chip microcomputer administration module 202 will be resolved sent to corresponding one or more virtual device drivers (for example, the single-chip microcomputer virtual device driver 204) respectively.Corresponding one or more virtual device driver (for example, single-chip microcomputer virtual device driver 204) returns the operating system that corresponding information is given ARM single-chip microcomputer 200 according to this operating result, thereby finish of the operation of the operating system of ARM single-chip microcomputer 200 to one or more virtual units (for example, the single-chip microcomputer virtual unit 206).
Fig. 3 is the process flow diagram of the method shared of realization equipment according to an embodiment of the invention.In the present embodiment, the method that realization equipment is shared is in shared one or more hardware and/or the software equipment that is connected on the first processor between first processor and second processor that links to each other with first processor by high-speed bus, wherein, the data communication between the first processor and second processor is respectively based on the data communication protocol of one or more each self-supporting of equipment of being shared.In the present embodiment, hardware device can comprise the peripherals that connects on touch-screen, GPS, bluetooth, radio and/or other computing machine 210 or the ARM single-chip microcomputer 200.Software equipment can comprise the application software of configuration on Games Software, player software and/or other computing machine 210 or the ARM single-chip microcomputer 200.
In the present embodiment, realize that the method that computer equipment is shared comprises following steps:
Step S1, when second processor 110 needed to share the one or more equipment (for example, equipment 104) that are connected on the first processor 100, second processor 110 sent sharing request to first processor 100.
Step S2, first processor 100 receive and also resolve this sharing request, and according to the sharing request after resolving the information (for example, device type, instrument size etc.) of corresponding one or more equipment (for example, equipment 104) are sent to second processor 110.
Step S3, second processor 110 receives these facility informations, and (for example by the operating system of second processor, windows operating system, arm operating system and/or other operating system) by corresponding virtual device driver (for example virtual device driver 113) corresponding virtual unit (for example, virtual unit 114) is carried out associative operation respectively according to corresponding apparatus information.
Step S4, second processor 110 is operated the operating system of second processor 110 by virtual device driver 113 to virtual unit 114 operational order and data send to first processor 100.
Step S5, first processor 100 (is for example given corresponding one or more device drivers with the operational order and the data transfer that receive, device driver 103), corresponding one or more device driver (for example, device driver 103) to corresponding one or more equipment (for example according to the operational order that receives and data, equipment 104) carry out corresponding operating, and reply operating result.First processor 100 with corresponding one or more device drivers (for example, device driver 103) operating result of Hui Fuing sends to second processor 110, second processor, 110 corresponding one or more virtual device drivers (for example, virtual device driver 113) returns the operating system that corresponding information is given second processor 110 according to operating result, thereby finish of the operation of the operating system of second processor 110 virtual unit 114.
The present invention is by the various data based on different communication protocol of transmission on a high-speed bus, thereby the equipment between the realization processor is shared, can effectively discharge the interface of computing machine, increases stability, terseness and the reliability of system, saves cost simultaneously; In addition, a plurality of operating systems can be shared various hardware and/or software equipment based on virtual technology, have improved usage ratio of equipment.
Though the present invention describes by specific embodiment, it will be appreciated by those skilled in the art that, without departing from the present invention, can also carry out various conversion and be equal to alternative the present invention.In addition, at particular condition or material, can make various modifications to the present invention, and not depart from the scope of the present invention.Therefore, the present invention is not limited to disclosed specific embodiment, and should comprise the whole embodiments that fall in the claim scope of the present invention.

Claims (10)

1. system that realizes that equipment is shared, in sharing the one or more equipment that are connected on the described first processor between first processor and second processor, it is characterized in that, described first processor links to each other by high-speed bus with described second processor, and described high-speed bus is used for the data of the various communication protocols of transmission between described first processor and described second processor; Described system comprises:
First communication module is arranged in described first processor, is used for sending data or receiving data from described second processor to described second processor respectively according to the data communication protocol of described one or more each self-supporting of equipment;
First administration module, be arranged in described first processor, driver communication with described first communication module and described one or more equipment, send corresponding apparatus information to described second processor after being used to receive the sharing request that described second processor sends, also be used to resolve the data that receive by described first communication module, and the driver that is sent to relevant device respectively of the data after will resolving to be driving described one or more equipment, and replys operating result to described second processor;
One or more device drivers, be arranged in described first processor, in described one or more device driver each is corresponding to a described equipment, described device driver and described first administration module and corresponding device talk are used to receive the data of described first administration module parsing and send to corresponding equipment so that corresponding equipment is carried out associative operation;
Second communication module is arranged in described second processor, is used for sending data or receiving data from described first processor to described first processor respectively according to the data communication protocol of described one or more each self-supporting of equipment;
Second administration module is arranged in described second processor, with the described second communication module communication, is used for sending sharing request by described second communication module to described first processor, and resolves the data that receive by described second communication module; And
One or more virtual device drivers, be arranged in described second processor, in described one or more virtual device driver each is corresponding to a described equipment, described virtual device driver and the described second administration module communication, be used at the virtual described one or more equipment of described second processor, and the data that described second processor is operated described one or more virtual units are sent to described second administration module so that send the described one or more equipment that are connected with described first processor to.
2. the system that realization equipment according to claim 1 is shared is characterized in that described one or more equipment comprise hardware device and/or software equipment.
3. the system that realization equipment according to claim 1 and 2 is shared is characterized in that described first processor is the ARM single-chip microcomputer, and described second processor is a computing machine.
4. the system that realization equipment according to claim 1 and 2 is shared is characterized in that described first processor is a computing machine, and described second processor is the ARM single-chip microcomputer.
5. the system that realization equipment according to claim 1 and 2 is shared is characterized in that described high-speed bus is a usb bus, and has only one.
6. method that realizes that equipment is shared, it is characterized in that, in the first processor that is connected with one or more equipment with share described one or more equipment by between high-speed bus and second processor that described first processor links to each other, wherein, the data communication between described first processor and described second processor is respectively based on the data communication protocol of one or more each self-supporting of equipment of being shared; Said method comprising the steps of:
S1, described second processor send sharing request to described first processor;
S2, described first processor are to the information of described second processor transmission corresponding to described one or more equipment of described sharing request;
S3, described second processor are operated the one or more virtual units corresponding to described one or more equipment respectively according to the information of the described one or more equipment that receive;
S4, described second processor send to described first processor with described service data; And
S5, described first processor carry out corresponding operating according to the described service data that receives to described one or more equipment, and reply operating result and give described second processor.
7. the method that realization equipment according to claim 6 is shared is characterized in that described one or more equipment comprise hardware device and/or software equipment.
8. according to claim 6 or the shared method of 7 described realization equipment, it is characterized in that described first processor is the ARM single-chip microcomputer, described second processor is a computing machine.
9. according to claim 6 or the shared method of 7 described realization equipment, it is characterized in that described first processor is a computing machine, described second processor is the ARM single-chip microcomputer.
10. according to claim 6 or the shared method of 7 described realization equipment, it is characterized in that described high-speed bus is a usb bus, and have only one.
CN 201010542665 2010-11-12 2010-11-12 System and method for realizing device sharing Pending CN102004716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010542665 CN102004716A (en) 2010-11-12 2010-11-12 System and method for realizing device sharing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010542665 CN102004716A (en) 2010-11-12 2010-11-12 System and method for realizing device sharing

Publications (1)

Publication Number Publication Date
CN102004716A true CN102004716A (en) 2011-04-06

Family

ID=43812088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010542665 Pending CN102004716A (en) 2010-11-12 2010-11-12 System and method for realizing device sharing

Country Status (1)

Country Link
CN (1) CN102004716A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279132A (en) * 2015-10-12 2016-01-27 无锡还有网络科技有限公司 Dual processor communication system
CN109739106A (en) * 2018-11-27 2019-05-10 南京邮电大学 The method of intelligence manufacture platform and adaptive access intelligence manufacture platform
CN105630730B (en) * 2015-12-23 2020-02-21 联想(北京)有限公司 Information processing method and electronic equipment
CN112905243A (en) * 2019-11-15 2021-06-04 成都鼎桥通信技术有限公司 Method and device for simultaneously operating two systems

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7219156B1 (en) * 1999-09-29 2007-05-15 Silicon Graphics, Inc. System and method for a hierarchical system management architecture of a highly scalable computing system
CN101064629A (en) * 2006-04-26 2007-10-31 英业达股份有限公司 System for realizing virtual remote equipment and its method
CN101488941A (en) * 2008-01-18 2009-07-22 中兴通讯股份有限公司 Method and system for implementing USB equipment shared using

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7219156B1 (en) * 1999-09-29 2007-05-15 Silicon Graphics, Inc. System and method for a hierarchical system management architecture of a highly scalable computing system
CN101064629A (en) * 2006-04-26 2007-10-31 英业达股份有限公司 System for realizing virtual remote equipment and its method
CN101488941A (en) * 2008-01-18 2009-07-22 中兴通讯股份有限公司 Method and system for implementing USB equipment shared using

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279132A (en) * 2015-10-12 2016-01-27 无锡还有网络科技有限公司 Dual processor communication system
CN105630730B (en) * 2015-12-23 2020-02-21 联想(北京)有限公司 Information processing method and electronic equipment
CN109739106A (en) * 2018-11-27 2019-05-10 南京邮电大学 The method of intelligence manufacture platform and adaptive access intelligence manufacture platform
CN109739106B (en) * 2018-11-27 2021-12-14 南京邮电大学 Intelligent manufacturing platform and method for adaptively accessing intelligent manufacturing platform
CN112905243A (en) * 2019-11-15 2021-06-04 成都鼎桥通信技术有限公司 Method and device for simultaneously operating two systems
CN112905243B (en) * 2019-11-15 2022-05-13 成都鼎桥通信技术有限公司 Method and device for simultaneously operating double systems

Similar Documents

Publication Publication Date Title
CN107278299B (en) Method, apparatus and system for implementing secondary bus functionality via a reconfigurable virtual switch
CN113296884B (en) Virtualization method, virtualization device, electronic equipment, virtualization medium and resource virtualization system
CN111078606B (en) Analog I2C slave computer, implementation method thereof, terminal device and storage medium
CN107003955B (en) Method, apparatus and system for integrating devices in a root complex
EP1750401B1 (en) USB 1.1 over a high speed link
KR101238622B1 (en) Unified connector architecture
CN103888293A (en) Data channel scheduling method of multichannel FC network data simulation system
CN105786752B (en) Usb communication method and communication system between a kind of computing device and FPGA
CN101957808A (en) Communication method among various CPUs (Central Processing Units), system and CPU
CN101452430B (en) Communication method between multi-processors and communication device comprising multi-processors
CN103309833A (en) Equipment integrating method, terminal device and distributed multi-terminal device system
CN102004716A (en) System and method for realizing device sharing
CN103092676A (en) Analog input output method, device and system of virtual machine cluster
US10176133B2 (en) Smart device with no AP
CN103246623A (en) Computing device extension system for system on chip (SOC)
JP5220871B2 (en) Techniques for distributed management of wireless devices with shared resources between wireless components
CN116450554A (en) Interrupt processing method, root complex device and electronic device
CN110401939A (en) A kind of low-power consumption bluetooth controller link layer device
CN100583021C (en) Display chip shared method
CN107992297A (en) A kind of SPI controller for S3C2440 drives implementation method
CN113961489A (en) Data access method, device, equipment and storage medium
CN116136790A (en) Task processing method and device
CN102594729B (en) Intermodule communication method and intermodule communication system
CN107122268B (en) NUMA-based multi-physical-layer partition processing system
CN104850517A (en) Method and apparatus for transmitting packet data using DMA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110406