CN101520756A - Equipment driving method, equipment driving device and communication system - Google Patents
Equipment driving method, equipment driving device and communication system Download PDFInfo
- Publication number
- CN101520756A CN101520756A CN200910081902A CN200910081902A CN101520756A CN 101520756 A CN101520756 A CN 101520756A CN 200910081902 A CN200910081902 A CN 200910081902A CN 200910081902 A CN200910081902 A CN 200910081902A CN 101520756 A CN101520756 A CN 101520756A
- Authority
- CN
- China
- Prior art keywords
- self
- standard
- packet
- defining
- defining device
- 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention relates to an equipment driving method, an equipment driving device and a communication system. The equipment driving method comprises the steps as follows: equipment description information of user-defined equipment with a standard communication interface is received, wherein the equipment description information comprises compatibility information of types of the user-defined equipment and standard equipment; the user-defined equipment is recognized as standard equipment which corresponds to the compatibility information, conversion treatment is carried out for user-defined equipment accessing protocol and standard equipment accessing protocol for a data packet; and a data packet after the conversion treatment is exchanged through the standard communication interface and the user-defined equipment. In the embodiment of the invention, the user-defined equipment can be accessed without loading a special driver of the user-defined equipment, thereby the convenience of the user-defined equipment driving and the user experience are improved.
Description
Technical field
The embodiment of the invention relates to the communication technology, particularly relates to a kind of device drives method, device and communication system.
Background technology
USB (universal serial bus) standard communication interfaces such as (Universal Serial Bus are called for short USB) has been widely used in various types of equipment.The equipment component type that normal structure will have standard communication interface successively is defined as the discernible standard device type of operating system (Operation System is called for short OS).Operating system disposes the driving file of standard device usually.When the standard device type corresponding or with the equipment of standard device type compatibility, be that standard device inserts when the main frame of operating system is installed, automatic, these equipment of quick identification of operating system meeting are these device loads general driving files, and write down the information of these equipment in registration table.
The device type of self-defining device with standard communication interface is different with the standard device type and incompatible, and it drives file and installs differently with said method, generally includes two data processing procedures: installation process and recognition of devices process in advance.Pre-installation process is handle and drives required information with the device descriptive information corresponding equipment, promptly drives file, as corresponding INF file of hardware identifier and the sys file corresponding with the INF file, these information reproductions is arrived under the path of operating system acquiescence.The recognition of devices process is when the equipment insertion has the main frame of operating system, operating system is designated equipment according to hardware identifier or compatible hardware and finds the driving file of coupling and load this driving file, this equipment simultaneously these information is recorded in the registration table of operating system, so that can directly use these information-driven equipment when being connected once more with main frame.
As seen, operating system needs the special-purpose driving of self-defining device file is installed in operating system in advance, otherwise can't carry out normal data interaction with self-defining device, therefore, the driving of self-defining device is subject to special-purpose exploitation and the loading that drives file, and the convenience that self-defining device drives is relatively poor.
Summary of the invention
The embodiment of the invention provides a kind of device drives method, device and communication system, in order to improve the convenience that self-defining device drives.
The embodiment of the invention provides a kind of device drives method, comprising:
Reception has the device descriptive information of the self-defining device of standard communication interface, and described device descriptive information comprises the compatible information of self-defining device type and standard device type;
Discerning described self-defining device is and described compatible information corresponding standard device type;
Packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and exchange packet after the described conversion process by described standard communication interface and described self-defining device.
The embodiment of the invention also provides a kind of drive unit, comprising:
Receiver module is used to receive the device descriptive information of the self-defining device with standard communication interface, and described device descriptive information comprises the compatible information of self-defining device type and standard device type;
Identification module, be used to discern described self-defining device for and described compatible information corresponding standard device type;
Communication module is used for packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and exchanges packet after the described conversion process by described standard communication interface and described self-defining device.
The embodiment of the invention also provides a kind of intelligent terminal that comprises above-mentioned drive unit.
The embodiment of the invention also provides a kind of self-defining device, comprising:
Generation unit is used to generate device descriptive information, and described device descriptive information comprises the compatible information of self-defining device type and standard device type;
Transmitting element is used for described device descriptive information is sent to drive unit, for described drive unit described self-defining device is identified as and described compatible information corresponding standard device type;
Communication unit is used for packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and exchanges packet after the described conversion process by standard communication interface and described drive unit.
The embodiment of the invention also provides a kind of communication system, comprising:
Self-defining device is used to generate and send device descriptive information, and described device descriptive information comprises the compatible information of self-defining device type and standard device type;
Drive unit, be used to discern described self-defining device for and described compatible information corresponding standard device type; Packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and exchange packet after the described conversion process by described standard communication interface and described self-defining device.
The embodiment of the invention is with the disguise oneself as equipment of its device type and standard device type compatibility of self-defining device, so that operating system can be identified as self-defining device certain standard device type, thereby set up data flow path based on standard communication interface with self-defining device, afterwards, need with the packet of self-defining device exchange, carry out the conversion process of standard device type of access agreement and self-defining device access protocal, set up data flow path with the driving file that uses the standard device type and carry out data interaction, thereby overcome the prior art self-defining device and must load the special-purpose restriction that file can use that drives, improved the convenience that self-defining device drives, help improving user experience, in addition, can exempt the development and maintenance cost of the self-defined specific drivers of self-defining device.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The process flow diagram of the device drives method that Fig. 1 provides for first embodiment of the invention;
The Signalling exchange figure of the device drives method that Fig. 2 provides for second embodiment of the invention;
The device drives method application scenarios synoptic diagram that Fig. 3 provides for third embodiment of the invention;
The driving device structure synoptic diagram that Fig. 4 provides for fourth embodiment of the invention;
The self-defining device structural representation that Fig. 5 provides for fifth embodiment of the invention;
The communication system architecture synoptic diagram that Fig. 6 provides for sixth embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
For ease of describing the technical scheme of the embodiment of the invention in detail, the equipment that below will have standard communication interface is divided into two types: standard device and self-defining device.Wherein, standard device is normal structure defines, the corresponding or compatible equipment of the discernible standard device type of operating system; Self-defining device is and the different and incompatible equipment of standard device type.Illustrate, the standard device type can comprise: anthroposomatology interface (Human Interface Device is called for short HID) equipment; Standard communication interface can comprise USB interface; Standard device can comprise: have the standard USB device of USB interface, as have CD-ROM drive, USB flash disk, portable hard drive, keyboard, mouse of USB interface etc.; Self-defining device can comprise: have the self-defined USB device of USB interface, as have thermometer, air monitor of USB interface etc.
The process flow diagram of the device drives method that Fig. 1 provides for first embodiment of the invention.Present embodiment describes present device driving method technical scheme from the host computer side of operating system is installed.As shown in Figure 1, present embodiment device drives method comprises:
This step is used at the self-defining device initialization procedure, with the self-defining device discernible standard device of operating system that disguises oneself as, so that operating system when the special use that can't find self-defining device drives file, loads the driving file with its compatible equipment type corresponding standard equipment.After so handling, operating system can be because of can't self not discerning this self-defining device for self-defining device finds the driving file of coupling to think, and then ejecting the dialog box of " finding new hardware ", the prompting user manually selects to drive the installation path of file for this self-defining device.In fact, this camouflage can think to be used for " deception " operating system, makes operating system think that the self-defining device of current access is certain standard device.In fact whether the self-defining device as for current access unimportant with the standard device compatibility, i.e. the self-defining device of current access in fact can be compatible or incompatible with standard device.
After obtaining compatible information, operating system can be identified as this self-defining device and this compatible information corresponding standard device type, in the general driving file of that can dispose at self, corresponding or compatible standard device, find with the driving file of compatible equipment type matching and load this driving file with the standard device type.After operating system identification was finished, the data flow path of setting up by standard communication interface between operating system and the self-defining device was set up; But whether can be depended on that self-defining device and standard device be in fact whether compatible based on this data flow path data packets for transmission between self-defining device and the operating system by correct parsing.
If the device type of self-defining device is in fact incompatible with the standard device type, the self-defining device access protocal is different with standard device type of access agreement.Though the data flow path of setting up by standard communication interface between operating system and the self-defining device is set up, but because the self-defining device access protocal is different with the standard device access protocal, the packet that exchanges between operating system and the self-defining device still can not correctly be resolved, and promptly can not carry out normal exchanges data between operating system and the self-defining device.
This step is used for the data envelope of following the self-defining device access protocal is dressed up the packet with standard device access protocal, make packet on the data flow path of having set up between operating system and the self-defining device, to transmit based on standard communication interface with standard device access protocal.
Present embodiment can be according to actual needs, for self-defining device is write vertical application, by move this vertical application to determine need with the packet of self-defining device exchange, carry out the conversion process of self-defining device access protocal and standard device type of access agreement.This vertical application can be considered " client " that self-defining device moves on operating system, can carry out exchanges data with self-defining device by this " client " and based on standard communication interface.
For example: when host computer side need be when self-defining device sends data, the data that send generate and follow first of described self-defining device access protocal and send packet at first as required; Sending packet encapsulation with first afterwards is to follow second of described standard device type of access agreement to send packet; Send packet with second at last and send to self-defining device by standard communication interface.The self-defining device side need be when host computer side sends data, and the packaged type of the data that needs are sent is similar.
When host computer side receives the packet that sends from self-defining device by standard communication interface, through this packet, obtain first and receive packet according to standard device type of access protocol analysis; Afterwards, resolve described first according to the self-defining device access protocal and receive packet, obtain second and receive packet.The self-defining device side joint is received when host computer side sends data, and is similar to the analysis mode that receives packet.
The vertical application of self-defining device can leave in the CD or leave operating system in and can discern and have in the equipment of AutoPlay function.When needs visit self-defining device, the CD of depositing this vertical application can be put into CD-ROM drive or the equipment that AutoPlay function could be discerned and have to operating system is connected with main frame, automatically move this vertical application by operating system, by moving this vertical application carries out self-defining device access protocal and standard device type of access agreement to packet conversion process.
Present embodiment is with the disguise oneself as equipment of its device type and standard device type compatibility of self-defining device, so that operating system can be identified as self-defining device certain standard device type, thereby set up data flow path based on standard communication interface with self-defining device, afterwards, need with the packet of self-defining device exchange, carry out the conversion process of self-defining device access protocal and standard device type of access agreement, set up data flow path with the driving file that uses the standard device type and carry out data interaction, thereby overcome the prior art self-defining device and must load the special-purpose restriction that file can use that drives, can exempt the development and maintenance cost of the self-defined specific drivers of self-defining device, present embodiment is easy to realize, helps improving user experience.
The Signalling exchange figure of the device drives method that Fig. 2 provides for second embodiment of the invention.Suppose that the present embodiment self-defining device is the self-defined USB device with USB interface.Operating system can be discerned the corresponding or compatible standard USB device of the defined standard device type of USB normal structure automatically, but can not discern self-defined USB device automatically.As shown in Figure 2, present embodiment device drives method comprises:
Step 21, reception have the device descriptive information of the self-defined USB device of standard USB interface, and this device descriptive information comprises the compatible information of self-defined USB device type and standard USB device type.
When self-defined USB device was connected with the main frame that operating system is installed, operating system was received from the device descriptive information that the definition USB device sends, and this device descriptive information comprises the compatible information of self-defined USB device type and standard USB device type.Self-defined USB device can comprise equipment such as modulator-demodular unit with USB interface, thermometer, air monitor; Standard USB device type can comprise CD-ROM drive with standard USB interface etc.; The operating system of installing on the main frame can comprise: Windows 2000, WindowsXP etc., the general driving file of the standard USB device that configuration standard USB device type is corresponding or compatible on the operating system.
The compatible information of self-defined USB device type and standard USB device type is carried in " Class " in the device description message format, " Subclass " or " Protocol " field.For example: " Class ", " Subclass " and " Protocol " field are set to " 0x08 ", " 0x06 " respectively, and " 0x50 " is used to represent the device type and the CD-ROM equipment type compatibility of current self-defined USB device.
Illustrate: when the modulator-demodular unit with USB interface was inserted into main frame, the device descriptive information that this modulator-demodular unit host operating system sends was as the device type of this equipment and the CD-ROM equipment compatibility with USB interface.Owing to disposed the general driving file of CD-ROM drive kind equipment on the operating system with USB interface, therefore, after operating system is obtained the device descriptive information of this modulator-demodular unit, operating system can be discernible as operating system with this modulator-demodular unit, with the equipment with CD-ROM drive kind equipment compatibility of USB interface, thereby can not eject the dialog box of " finding new hardware ", help improving user experience.
After step 22, operating system are obtained this device descriptive information, can obtain compatible information according to device descriptive information, self-defined USB device is identified as and compatible information corresponding standard USB device, the general driving file of loading standard USB device, and set up the stream data transmission passage follow the USB interface agreement based on standard USB interface.
Be example with an exchanges data between host computer side and the self-defined USB device below, illustrate by the operation vertical application to be the principle of the self-defined USB device of " client " visit, step 23 can comprise step 231-step 237.
Step 231, in operating system the operation self-defined USB device vertical application, i.e. " client ".
Step 232, by " client " gather need with the mutual raw data of self-defined USB device, generate the packet of following self-defined USB device access protocal, and encapsulation makes it follow standard USB device type of access agreement once more.
Step 233, the packet that step 232 is obtained by standard USB interface send to self-defined USB device.
The packet that step 234, self-defined USB device receive by standard USB interface according to standard device type of access protocol analysis, and according to the self-defining device access protocal it is resolved once more, obtain that " client " collect need with the raw data of self-defined USB device exchange.
Step 232-step 234 can be finished host computer side sends communication process from raw data to self-defined USB device.
Step 235, self-defined USB device as required with the mutual raw data of self-defined USB device, generate the packet follow self-defined USB device access protocal, and encapsulation makes it follow standard USB device type of access agreement once more.
Step 236, the packet that step 235 obtains is sent to host computer side by standard USB interface.
" client " of step 237, host computer side operation receives packet according to standard device type of access protocol analysis by standard USB interface, and according to the self-defining device access protocal it is resolved once more, obtain self-defined USB device need with the raw data of host computer side exchange.
Step 235-step 237 can be finished self-defined USB device sends communication process from raw data to host computer side.
Present embodiment is with the self-defined USB device standard USB device that disguises oneself as, so that operating system can be identified as the standard USB device with self-defined USB device, driving file by the standard USB device and self-defined USB device are set up the stream data transmission passage based on the standard USB interface agreement, and the packet after self-defined USB device access protocal and standard USB device access protocal conversion process have been passed through in transmission on this stream data transmission passage, make host computer side can normally visit self-defined USB device, carry out exchanges data with self-defined USB device.Present embodiment does not need to load the yet addressable self-defined USB device of self-defined USB, has improved the convenience that self-defined USB device drives; In addition, present embodiment can be exempted the exploitation of self-defined USB device and safeguard the cost of self-defined specific drivers, has the advantage that is easy to realize, helps improving user experience.
In the technique scheme, self-defined USB device can comprise one or more self-defined processing modules, each self-defined processing module is mapped as a kind of self-defining device type, for example: a self-defined processing module is mapped as the air monitor with USB interface, and another self-defined processing module is mapped as thermometer with USB interface etc.In addition, this self-defined USB device also can comprise one or more standard processing modules, each standard processing module is mapped as a kind of standard USB device type, as: the standard processing module is mapped as large storage capacity equipment (Mass Storage Device) with USB interface.
The device drives method application scenarios synoptic diagram that Fig. 3 provides for third embodiment of the invention.As shown in Figure 3, the self-defined USB device of present embodiment comprises: standard processing module, the first self-defined processing module and the second self-defined processing module.
The standard processing module has been modeled into that operating system is discernible, the device type of large storage capacity equipment interface (Mass Storage Device Interface) function with AutoPlay function, and promptly the standard processing module can be considered and the CD-ROM equipment type compatibility; The operating system of main frame can be followed the CD-ROM drive access protocal standard processing module is carried out exchanges data, as: can move the application program that is stored in the standard processing module automatically.
The first self-defined processing module is mapped as the self-defining device type of (Function Interface1) function that has a kind of self defined interface, as has thermometer of USB interface etc.; The second self-defined processing module is mapped as the self-defining device type of (the Function Interface 2) function that has a kind of self defined interface, as has air monitor of USB interface etc.
Present embodiment can employing and the same procedure of first embodiment of the invention and second embodiment record, and first custom block is identified as certain standard device, and second custom block is identified as certain standard device.Simultaneously, the vertical application of the first self-defined processing module and the vertical application of the second self-defined processing module can be stored in the standard processing module.When self-defining device is communicated by letter based on the standard processing module with main frame, the operating system of main frame can follow the CD-ROM drive access protocal move automatically on the self-defining device with the standard processing module on the vertical application stored.Visit first custom block or second custom block by the operation vertical application.
The vertical application of the self-defined processing module that is mapped as the self-defining device type that present embodiment comprises self-defined USB device, being stored in this self-defining device has been mapped as in the standard processing module of the standard USB device type with AutoPlay function, automatically move the vertical application that is stored in the standard processing module by operating system, be mapped as the exchanges data of the self-defined processing module of self-defined USB device type in realization and the self-defining device, whole self-defined USB device driving process need not to load the proprietary driving file of self-defined USB device, improve the convenience that drives self-defined USB device, helped improving user experience.
The driving device structure synoptic diagram that Fig. 4 provides for fourth embodiment of the invention.As shown in Figure 4, the present embodiment drive unit comprises: receiver module 41, identification module 42 and communication module 43.
On the basis of technique scheme, communication module 43 can further comprise: acquiring unit 431, operation unit 432 and standard interface unit 433.
Acquiring unit 431 is used to be obtained from the vertical application of define equipment.
On the basis of technique scheme, operation unit 432 also can further comprise: encapsulation unit 4321 and resolution unit 4322.
Present embodiment is in having the self-defining device initialization procedure of standard communication interface, the specific drivers that does not need to load self-defining device also can be realized the visit to self-defining device, improve the convenience that self-defining device drives, helped improving user experience.On specific implementation, embodiment of the invention drive unit can be the main frame that operating system is installed, as intelligent terminals such as computing machine, mobile phones, it drives self-defining device and sees the record of the corresponding embodiment of Fig. 1-Fig. 3 for details with the principle that self-defining device communicates, and repeats no more.
The self-defining device structural representation that Fig. 5 provides for fifth embodiment of the invention.As shown in Figure 5, the present embodiment self-defining device comprises: generation unit 51, transmitting element 52 and communication unit 53.
Generation unit 51 is used to generate device descriptive information, and this device descriptive information comprises the compatible information of self-defining device type and standard device type.
Transmitting element 52 is used for the device descriptive information that generation unit 51 generates is sent to drive unit, for drive unit self-defining device is identified as and compatible information corresponding standard device type.
Communication unit 53 is used for packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and by the packet after standard communication interface and the drive unit exchange conversion process.
On the basis of technique scheme, communication unit 53 can comprise: encapsulation unit 531, resolution unit 532 and standard interface unit 533.
Encapsulation unit 531 is used to generate the first transmission packet of following the self-defining device access protocal; Sending packet encapsulation with first is to follow second of standard device type of access agreement to send packet.
Resolution unit 532 is used for obtaining first and receiving packet according to the packet of standard device type of access protocol analysis through the standard communication interface reception; Resolve first according to the self-defining device access protocal and receive packet, obtain second and receive packet.
Standard interface unit 533 is used for by the packet after standard communication interface and the drive unit exchange conversion process.
On the basis of technique scheme, embodiment of the invention self-defining device also can comprise: at least one self-defined processing module, each self-defined processing module is mapped as a kind of self-defining device type.In each self-defined processing module, all can comprise generation unit 51, transmitting element 52 and communication unit 53.Further, embodiment of the invention self-defining device also can comprise: be mapped as the standard processing module of the standard device type with AutoPlay function, this standard processing module stores the vertical application of the self-defining device of self-defined processing module correspondence.Under this situation, the structural representation of self-defining device can be referring to the record of Fig. 3, addressable this standard processing module of drive unit is moved on it vertical application of preserving automatically, to realize carrying out with each custom block the exchange of the packet after the protocol conversion process.
The present embodiment self-defining device with the initialization procedure of drive unit in, equipment with certain standard device type compatibility can disguise oneself as self, so that drive unit is identified as certain standard device type with it, thereby set up data flow path based on standard communication interface with self-defining device, afterwards, need with the packet of self-defining device exchange, carry out the conversion process of self-defining device access protocal and standard device type of access agreement, set up data flow path with the driving file that uses the standard device type and carry out data interaction, thereby overcome the prior art self-defining device and must load the special-purpose restriction that file can use that drives, can exempt the development and maintenance cost of the self-defined specific drivers of self-defining device, present embodiment is easy to realize, helps improving user experience.Self-defining device drive principle and concrete manifestation form see the record of the corresponding embodiment of Fig. 1-Fig. 3 for details, repeat no more.
The communication system architecture synoptic diagram that Fig. 6 provides for sixth embodiment of the invention.As shown in Figure 6, the present embodiment communication system comprises: self-defining device 61 and drive unit 62.
Self-defining device 61 is used to generate and send device descriptive information, and this device descriptive information comprises the compatible information of self-defining device type and standard device type.
Drive unit 62 is used to discern described self-defining device; Packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and by the packet after standard communication interface and the self-defining device exchange conversion process.
The specific drivers that present embodiment does not need to load self-defining device also can be realized the visit to self-defining device, has improved the convenience that self-defining device drives, and helps improving user experience.
One of ordinary skill in the art will appreciate that: accompanying drawing is the synoptic diagram of an embodiment, and module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in the device among the embodiment can be described according to embodiment and be distributed in the device of embodiment, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that previous embodiment is put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of embodiment of the invention technical scheme.
Claims (13)
1, a kind of device drives method is characterized in that, comprising:
Reception has the device descriptive information of the self-defining device of standard communication interface, and described device descriptive information comprises the compatible information of self-defining device type and standard device type;
Discerning described self-defining device is and described compatible information corresponding standard device type;
Packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and exchange packet after the described conversion process by described standard communication interface and described self-defining device.
2, device drives method according to claim 1 is characterized in that, described packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, comprising:
Obtain the vertical application of described self-defining device;
Move described vertical application, in order to determine need with the packet of described self-defining device exchange, carry out the conversion process of self-defining device access protocal and standard device type of access agreement.
3, device drives method according to claim 2 is characterized in that, described to determine need with the packet of described self-defining device exchange, carry out the conversion process of self-defining device access protocal and standard device type of access agreement, comprising:
Generation is followed first of described self-defining device access protocal and is sent packet; Sending packet encapsulation with described first is to follow second of described standard device type of access agreement to send packet; And/or
, obtain first and receive packet through the packet that described standard communication interface receives according to described standard device type of access protocol analysis; Resolve described first according to described self-defining device access protocal and receive packet, obtain second and receive packet.
4, device drives method according to claim 2 is characterized in that, when described self-defining device stores described vertical application, obtains described vertical application and comprises: obtain described vertical application to described self-defining device.
5, a kind of drive unit is characterized in that, comprising:
Receiver module is used to receive the device descriptive information of the self-defining device with standard communication interface, and described device descriptive information comprises the compatible information of self-defining device type and standard device type;
Identification module, be used to discern described self-defining device for and described compatible information corresponding standard device type;
Communication module is used for packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and exchanges packet after the described conversion process by described standard communication interface and described self-defining device.
6, drive unit according to claim 5 is characterized in that, described communication module comprises:
Acquiring unit is used to obtain the vertical application of described self-defining device;
The operation unit is used to move described vertical application, in order to determine need with the packet of described self-defining device exchange, carry out the conversion process of self-defining device access protocal and standard device type of access agreement;
The standard interface unit is used for exchanging packet after the described conversion process by described standard communication interface and described self-defining device.
7, drive unit according to claim 6 is characterized in that, described operation unit comprises:
Encapsulation unit is used to generate the first transmission packet of following described self-defining device access protocal; Sending packet encapsulation with described first is to follow second of described standard device type of access agreement to send packet;
Resolution unit is used for obtaining first and receiving packet according to the packet of described standard device type of access protocol analysis through described standard communication interface reception; Resolve described first according to described self-defining device access protocal and receive packet, obtain second and receive packet.
8, a kind of intelligent terminal is characterized in that, described intelligent terminal comprises the described drive unit of claim 5.
9, a kind of self-defining device is characterized in that, comprising:
Generation unit is used to generate device descriptive information, and described device descriptive information comprises the compatible information of self-defining device type and standard device type;
Transmitting element is used for described device descriptive information is sent to drive unit, for described drive unit described self-defining device is identified as and described compatible information corresponding standard device type;
Communication unit is used for packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and exchanges packet after the described conversion process by standard communication interface and described drive unit.
10, self-defining device according to claim 9 is characterized in that, described communication unit comprises:
Encapsulation unit is used to generate the first transmission packet of following described self-defining device access protocal; Sending packet encapsulation with described first is to follow second of described standard device type of access agreement to send packet;
Resolution unit is used for obtaining first and receiving packet according to the packet of described standard device type of access protocol analysis through described standard communication interface reception; Resolve described first according to described self-defining device access protocal and receive packet, obtain second and receive packet;
The standard interface unit is used for exchanging packet after the described conversion process by described standard communication interface and described drive unit.
11, self-defining device according to claim 9 is characterized in that, also comprises: at least one self-defined processing module, each self-defined processing module is mapped as a kind of self-defining device type.
12, self-defining device according to claim 11 is characterized in that, also comprises:
Be mapped as the standard processing module of the standard device type with AutoPlay function, described standard processing module stores the vertical application of the self-defining device of described self-defined processing module correspondence.
13, a kind of communication system is characterized in that, comprising:
Self-defining device is used to generate and send device descriptive information, and described device descriptive information comprises the compatible information of self-defining device type and standard device type;
Drive unit, be used to discern described self-defining device for and described compatible information corresponding standard device type; Packet is carried out the conversion process of self-defining device access protocal and standard device type of access agreement, and exchange packet after the described conversion process by described standard communication interface and described self-defining device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910081902A CN101520756A (en) | 2009-04-07 | 2009-04-07 | Equipment driving method, equipment driving device and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910081902A CN101520756A (en) | 2009-04-07 | 2009-04-07 | Equipment driving method, equipment driving device and communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101520756A true CN101520756A (en) | 2009-09-02 |
Family
ID=41081357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910081902A Pending CN101520756A (en) | 2009-04-07 | 2009-04-07 | Equipment driving method, equipment driving device and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101520756A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262600A (en) * | 2010-05-25 | 2011-11-30 | 安凯(广州)微电子技术有限公司 | Method and system for recognizing USB (Universal Serial Bus) equipment |
CN102591812A (en) * | 2011-01-13 | 2012-07-18 | 旺玖科技股份有限公司 | Method for operating a computer system |
CN103488513A (en) * | 2013-09-30 | 2014-01-01 | 北京水木元生科技有限责任公司 | Universal driving method for plug and play of device |
CN103544122A (en) * | 2013-10-29 | 2014-01-29 | 华东师范大学 | Port adaptive matching synergetic system and synergetic method thereof |
CN104424153A (en) * | 2013-09-10 | 2015-03-18 | 广州稳捷信息科技有限公司 | System and method thereof for collecting data of audio and video equipment with USB (universal serial bus) interface |
CN104468526A (en) * | 2014-11-14 | 2015-03-25 | 广东欧珀移动通信有限公司 | Content sharing method and access method of digital media server and related devices |
CN104778135A (en) * | 2015-04-15 | 2015-07-15 | 上海与德通讯技术有限公司 | Device compatible method and system |
CN105573809A (en) * | 2012-11-15 | 2016-05-11 | 青岛海信宽带多媒体技术有限公司 | Method and device for establishing equipment nodes |
CN106383796A (en) * | 2016-10-18 | 2017-02-08 | 广州视睿电子科技有限公司 | Method and system for identifying type of host operating system |
WO2019075620A1 (en) * | 2017-10-16 | 2019-04-25 | 华为技术有限公司 | Data processing system |
CN115174703A (en) * | 2022-06-16 | 2022-10-11 | 阿里云计算有限公司 | Device driving processing method, device communication method, processing system and electronic device |
-
2009
- 2009-04-07 CN CN200910081902A patent/CN101520756A/en active Pending
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262600B (en) * | 2010-05-25 | 2013-12-25 | 安凯(广州)微电子技术有限公司 | Method and system for recognizing USB (Universal Serial Bus) equipment |
CN102262600A (en) * | 2010-05-25 | 2011-11-30 | 安凯(广州)微电子技术有限公司 | Method and system for recognizing USB (Universal Serial Bus) equipment |
CN102591812A (en) * | 2011-01-13 | 2012-07-18 | 旺玖科技股份有限公司 | Method for operating a computer system |
CN102591812B (en) * | 2011-01-13 | 2015-04-08 | 旺玖科技股份有限公司 | Method for operating a computer system |
CN105573809A (en) * | 2012-11-15 | 2016-05-11 | 青岛海信宽带多媒体技术有限公司 | Method and device for establishing equipment nodes |
CN104424153A (en) * | 2013-09-10 | 2015-03-18 | 广州稳捷信息科技有限公司 | System and method thereof for collecting data of audio and video equipment with USB (universal serial bus) interface |
CN104424153B (en) * | 2013-09-10 | 2017-10-20 | 广州稳捷信息科技有限公司 | A kind of audio & video equipment data collecting system and its method to USB interface |
CN103488513B (en) * | 2013-09-30 | 2016-04-13 | 北京水木元生科技有限责任公司 | Equipment plug and play general drive method |
CN103488513A (en) * | 2013-09-30 | 2014-01-01 | 北京水木元生科技有限责任公司 | Universal driving method for plug and play of device |
CN103544122A (en) * | 2013-10-29 | 2014-01-29 | 华东师范大学 | Port adaptive matching synergetic system and synergetic method thereof |
CN104468526A (en) * | 2014-11-14 | 2015-03-25 | 广东欧珀移动通信有限公司 | Content sharing method and access method of digital media server and related devices |
CN104468526B (en) * | 2014-11-14 | 2018-01-19 | 广东欧珀移动通信有限公司 | A kind of content sharing method of digital media server, access method and relevant apparatus |
CN104778135A (en) * | 2015-04-15 | 2015-07-15 | 上海与德通讯技术有限公司 | Device compatible method and system |
CN104778135B (en) * | 2015-04-15 | 2018-04-27 | 上海与德通讯技术有限公司 | A kind of device compatibility method and system |
CN106383796A (en) * | 2016-10-18 | 2017-02-08 | 广州视睿电子科技有限公司 | Method and system for identifying type of host operating system |
CN106383796B (en) * | 2016-10-18 | 2019-06-14 | 广州视睿电子科技有限公司 | Method and system for identifying type of host operating system |
WO2019075620A1 (en) * | 2017-10-16 | 2019-04-25 | 华为技术有限公司 | Data processing system |
CN115174703A (en) * | 2022-06-16 | 2022-10-11 | 阿里云计算有限公司 | Device driving processing method, device communication method, processing system and electronic device |
CN115174703B (en) * | 2022-06-16 | 2023-11-10 | 阿里云计算有限公司 | Device driver processing method, device communication method, processing system and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101520756A (en) | Equipment driving method, equipment driving device and communication system | |
EP2563091B1 (en) | Wireless internet-accessing module, host, communication method thereof, and data card | |
CN101520757A (en) | Equipment driving method, equipment driving device and communication system | |
CN102638397B (en) | USB (universal serial bus) device communication transmission method, device and system | |
CN101873719A (en) | Method, device and system for configuring wireless fidelity (WIFI) parameter | |
CN102571732A (en) | Method, device and system for processing sensor protocol information | |
US20070245055A1 (en) | USB composite device, USB communication system, and USB communication method | |
CN106713291A (en) | Multi-screen interaction method, communication terminal and server | |
US9491166B2 (en) | Apparatus and method for authenticating smart card | |
CN111464419A (en) | Data transmission control method based on bus network communication | |
JP6665190B2 (en) | Network sharing implementation method and apparatus | |
CN101599970A (en) | Home gateway is shared storage implementation method and device | |
CN104113823A (en) | Positioning information acquisition method, terminal and mobile broadband interface model MBIM equipment | |
JP2009182459A (en) | Communication device, communication system, communication method, and program | |
CN104092661A (en) | Serial port communication method and apparatus of virtual machines | |
CN103023940A (en) | Method and device for transmitting data between PC (Personal Computer) and mobile terminal | |
CN112243042B (en) | Distribution method, secure communication method, detection device, gateway module and system | |
CN101868049B (en) | Communication methods for host and wireless Internet access module and host communication module | |
CN115022424B (en) | Hydropower LCU controller network card virtual control method, system, equipment and medium thereof | |
CN108307286B (en) | Method and system for realizing communication between android devices based on NFC | |
CN102523221A (en) | Detection method of data message and network safety detection device | |
CN103973534A (en) | Method and device for simulating sharing of USB flash disk | |
US9332374B2 (en) | Communication interface method for SE equipped on mobile terminal and SE using the same | |
EP2981024B1 (en) | Method and apparatus for home gateway port configuration | |
CN108322616B (en) | Data processing method and voice data card |
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 |
Open date: 20090902 |