CN104199789B - Method, management system, drive system and the system of autosensing configuration - Google Patents
Method, management system, drive system and the system of autosensing configuration Download PDFInfo
- Publication number
- CN104199789B CN104199789B CN201410431688.9A CN201410431688A CN104199789B CN 104199789 B CN104199789 B CN 104199789B CN 201410431688 A CN201410431688 A CN 201410431688A CN 104199789 B CN104199789 B CN 104199789B
- Authority
- CN
- China
- Prior art keywords
- operating system
- usb device
- direct
- configuration
- port
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
The invention provides method, management system, drive system and the system of a kind of autosensing configuration, wherein, the above method includes:Obtain the information that USB device uses operating system;According to the information of operating system, the port configuration information that USB device uses operating system is obtained;According to the information and port configuration information of operating system, the port configuration-direct of operating system is configured, make operating system that USB device be switched into corresponding ports according to set port configuration-direct, it can realize that a plate side driving can meets the needs of various port customizations, operator is it also avoid simultaneously and changes the problem of port mode must use updating apparatus firmware mode, greatly reduces R&D cycle and exploitation maintenance cost.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of method of autosensing configuration, management system, driving
System and system.
Background technology
With the continuous release of microsoft operation system, the Windows systems that Carrier Requirements are supported are more and more, main bag
Include XP, VISTA, Windows7, Windows8 and Windows8.1 system.In this several operating system, USB device is with as follows
Five kinds of user ports are linked into wireless network:
The first:Modem (Modem) port.Applied to the above-mentioned all systems of Windows.Need manufacturer to provide to match somebody with somebody
The Host drivings of set, coupled system carries dial-up program or equipment carries dial-up program and completes function of surfing the Net.
Second:RNDIS ports.Applied to the above-mentioned all systems of Windows.It does not need manufacturer to provide supporting Host
Driving, driving is carried using operating system, coordinates WebUI to realize function of surfing the Net.
The third:NDIS5.1 ports.Applied to the above-mentioned all systems of Windows.Need manufacturer to provide supporting Host to drive
Dynamic, the supporting application program that cooperating equipment carries realizes function of surfing the Net.
4th kind:NDIS6.20 ports.Applied to Windows7 and above edition system.Manufacturer is needed to provide supporting
Host drives, and what coupled system carried the MBN api interfaces exploitation that application program realizes function of surfing the Net or cooperating equipment carries should
The functions such as online, short message, phone directory are realized with program.
5th kind:MBIM ports.Applied to Windows8 and above edition system.Manufacturer is not needed to provide supporting Host
Driving, driven using system itself, coupled system carries the application journey for the MBN api interfaces exploitation that application program or equipment carry
Sequence realizes the functions such as online, short message, phone directory.
Selection of the different operators to user port is different, under same operating system, different operators
Different user ports, therefore the user terminal that most operators can report to equipment may be used according to respective demand
Mouth proposes different requirements.In this case, equipment develops different customized version for different operators, meet its to
The different use demands of family port, due to the substantial amounts of operator, it is especially more to cause customized version, considerably increases exploitation
And maintenance workload.In addition, with the application of LTE technologies, high speed Internet access is undoubtedly the subsequently prerequisite ability of USB network card.
NDIS5.1, NDIS6.2 and MBIM are can be seen that due to the ability with the big polymerization bag of transmission from above-mentioned port feature, it will into
For the mainstream development direction of following USB device port.When operator's later stage need from the ports such as RNDIS be changed to NDIS5.1,
During NDIS6.2 or MBIM user port, it has to realized by way of updating apparatus version, and equipment is in escalation process
In be possible to that various failures can be produced, or even there is computer blue screen or equipment deadlock problem.
In summary, the basic reason for these problems occur is that current equipment solidifies operator to the demand of port
In the driving of the plate side of the equipment.Fixed plate side driving version, the user port that the operator can only be reported currently to customize, such as
Fruit will change user port, then must be by upgrading the driving of plate side come the user port that more renews.If plate side driving energy according to
Demand of the different operators on different operating system, adaptively reports the various port requirements of the carrier customization, and such one
The just compatible all customizations requirement of different operators of individual plate side driving version, saves development cost and R&D cycle, and
Operator need not upgrade can free switching between different user ports the later stage, so bring driving version and upgrading
The reduction of frequency, greatly reduce the development and maintenance cost of device drives.
The content of the invention
It is an object of the invention to provide a kind of autosensing configuration method, management system, drive system and system,
Realize a plate side driving can and meet the requirement of various port customizations, while it also avoid operator and change port mode
The problem of updating apparatus firmware mode must be used, greatly reduce R&D cycle and exploitation maintenance cost.
In order to achieve the above object, the invention provides a kind of method of autosensing configuration, applied to general serial
Bus USB device, method include:
Obtain the information that USB device uses operating system;
According to the information of operating system, the port configuration information that USB device uses operating system is obtained;
According to the information and port configuration information of operating system, the port configuration-direct of operating system is configured, made
USB device is switched to corresponding ports by operating system according to set port configuration-direct.
Wherein, method also includes:
When USB is inserted, instruction of the operating system using USB device as an optical disc memory apparatus is obtained.
Wherein, according to the information and port configuration information of operating system, the port configuration-direct of operating system is set
After the step of putting, method also includes:
The instruction for removing optical disc memory apparatus is sent to operating system, makes operating system according to removal optical disc memory apparatus
Instruction, corresponding ports are switched to by USB device.
Wherein, obtaining the step of USB device uses the information of operating system includes:
The version number of operating system is obtained, version number includes major version number and time version number;
The information of operating system is obtained with time version number according to major version number.
Wherein, obtaining the step of USB device uses the port configuration information of operating system is:
Confidence is matched somebody with somebody with port according to the information of operating system and the operating system being stored in advance in optical disc memory apparatus
The corresponding relation of breath, read port configuration information.
The embodiment of the present invention also includes a kind of management system of the USB device of autosensing configuration, the management of USB device
System includes:
First acquisition module, the information of operating system is used for obtaining USB device;
Second acquisition module, for the information according to operating system, obtain USB device and use the port of operating system to match somebody with somebody
Confidence ceases;
Respond module, for the information and port configuration information according to operating system, the port configuration to operating system refers to
Order is configured, and makes operating system that USB device be switched into corresponding ports according to set port configuration-direct.
Wherein, the management system of USB device also includes the 3rd acquisition module, for when USB is inserted, obtaining operating system
Instruction using USB device as an optical disc memory apparatus.
Wherein, the management system of USB device also includes the first instruction sending module, for being according to operation in respond module
The information and port configuration information of system, rear sent to operating system being configured to the port configuration-direct of operating system remove
The instruction of optical disc memory apparatus, make operating system that USB device be switched into corresponding end according to the instruction for removing optical disc memory apparatus
Mouthful.
Wherein, the first acquisition module includes:
First obtains subelement, and for obtaining the version number of operating system, version number includes major version number and time version number;
Second obtains subelement, for obtaining the information of operating system with time version number according to major version number.
Wherein, the second acquisition module is according to the information of operating system and the operation being stored in advance in optical disc memory apparatus
The corresponding relation of system and port configuration information, read port configuration information.
Embodiments of the invention also include a kind of method of autosensing configuration, applied to the drive system of USB device,
Method includes:
Information and port configuration information of the USB device according to operating system are obtained, to the port configuration-direct of operating system
Port configuration-direct after being configured;
USB device is switched to by corresponding ports according to set port configuration-direct;
Corresponding ports are reported to operating system.
Wherein, method also includes:
When USB device inserts, the request instruction that operating system issues is received;
Judge port configuration-direct whether is carried in request instruction, if carrying port configuration-direct, configured according to port
The selected corresponding ports of instruction;If not carrying port configuration-direct, the port configuration after obtaining USB device setting is performed downwards and is referred to
The step of making.
Wherein, port configuration-direct is carried in request instruction is judged, corresponding ports are selected according to port configuration-direct
After step, method still further comprise to operating system report corresponding ports the step of.
Wherein, after the step of not carrying port configuration-direct in judging request instruction, perform and obtain USB device setting
Before the step of rear port configuration-direct, method still further comprises to send to operating system and reports USB device for one
The step of instruction of optical disc memory apparatus.
Wherein, the step of USB device being switched into corresponding ports according to set port configuration-direct includes:
Information and port configuration information of the USB device according to operating system are obtained, to the port configuration-direct of operating system
After the step of port configuration-direct after being configured, response removes the instruction of optical disc memory apparatus;
According to the instruction of set port configuration-direct and removal optical disc memory apparatus, USB device is switched to correspondingly
Port.
The embodiment of the present invention also includes a kind of drive system of the USB device of autosensing configuration, the driving of USB device
System includes:
4th acquisition module, for obtaining information and port configuration information of the USB device according to operating system, it is to operation
The port configuration-direct of system be configured after port configuration-direct;
Execution module, for USB device to be switched into corresponding ports according to set port configuration-direct;
Reporting module, for reporting corresponding ports to operating system.
Wherein, the drive system of USB device also includes:
Request receiving module, for when USB device inserts, receiving the request instruction that operating system issues;
Judge module, for judging port configuration-direct whether is carried in request instruction,
Decision-making module, for when judge module judges to carry port configuration-direct in request instruction, being configured according to port
The selected corresponding ports of instruction;
When judge module judges not carrying port configuration-direct in request instruction, then sending feedback to the 4th acquisition module refers to
Order, the 4th acquisition module is set to obtain port configuration-direct.
Wherein, after decision-making module selectes corresponding ports according to port configuration-direct, reporting module reports to operating system
Corresponding ports.
Wherein, the drive system of USB device also includes the second instruction sending module, for judging that request refers to when judge module
When not carrying port configuration-direct in order, before the 4th acquisition module obtains the port configuration-direct after USB device is set, to behaviour
Sent as system and report USB device for the instruction of an optical disc memory apparatus.
Wherein, execution module includes:
First subelement, configured for obtaining USB device in the 4th acquisition module according to the information of operating system and port
Information, after the port configuration-direct after being configured to the port configuration-direct of operating system, response removes optical disc storage and set
Standby instruction;
Second subelement, for the instruction according to set port configuration-direct and removal optical disc memory apparatus, by USB
Equipment switches to corresponding ports.
The system that the embodiment of the present invention also includes a kind of configuration of autosensing, include the management system of above-mentioned USB device
The drive system of system and USB device.
The above-mentioned technical proposal of the present invention at least has the advantages that:
In the method for the autosensing configuration of the embodiment of the present invention, when USB device insertion operation system, according to acquisition
Operating system information and port configuration information the configuration-direct of operating system is configured so that operating system is according to institute
USB device is switched to corresponding ports by the port configuration-direct of setting, so as to realize that it is various that a plate side driving can meets
The demand of port customization, while it also avoid operator and change the problem of port mode must use updating apparatus firmware mode,
Greatly reduce R&D cycle and exploitation maintenance cost.
Brief description of the drawings
Fig. 1 is the method that the autosensing applied to general-purpose serial bus USB equipment of the embodiment of the present invention configures
Flow chart of steps;
Fig. 2 is the flow chart of step 11 in Fig. 1 in the embodiment of the present invention;
Fig. 3 is the flow chart of step 112 in Fig. 2 in the embodiment of the present invention;
Fig. 4 is the structural representation of the management system for the USB device that the autosensing of the embodiment of the present invention configures;
Fig. 5 is the step of the method for the autosensing configuration of the drive system applied to USB device of the embodiment of the present invention
Rapid flow chart;
Fig. 6 is the flow chart of step 42 in Fig. 4 in the embodiment of the present invention;
Fig. 7 is the structural representation of the drive system for the USB device that the autosensing of the embodiment of the present invention configures;
Fig. 8 is the structural representation for the system that the autosensing of the embodiment of the present invention configures;And
Fig. 9 is the flow chart for the system that the autosensing of the embodiment of the present invention configures.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
The present invention only reports the user port of the carrier customization for the driving of device board side in the prior art, can not realize
The problem of one plate side driving version adaptively realizes all operator's different user port requirements, there is provided a kind of port is adaptive
Method, management system, drive system and the system that should be configured, when USB device insertion operation system, according to the operation system of acquisition
The information and port configuration information of system are configured to the configuration-direct of operating system so that operating system is according to set end
USB device is switched to corresponding ports by mouth configuration-direct, so as to realize that a plate side driving can meets various ports customizations
Demand, while it also avoid operator and change port mode the problem of must using updating apparatus firmware mode, substantially reduce
R&D cycle and exploitation maintenance cost.
As shown in figure 1, the embodiments of the invention provide a kind of method of autosensing configuration, it is total applied to general serial
Line USB device, including:
Step 11, the information that USB device uses operating system is obtained;
In the specific embodiment of the present invention, operating system is Host operating systems, and the information of operating system refers to operation system
The version of system.
Step 12, according to the information of operating system, the port configuration information that USB device uses operating system is obtained;
In the specific embodiment of the present invention, the configuration file of carrier customization port requirements includes operating system and configuration refers to
Two parts are made, the corresponding relation of the two is as shown in table 1, and information format is fixed in the configuration file, and content sources are in operator
To the demand of user port, therefore the information of the operating system obtained according to step 11 can determine that the configuration-direct of port.
Step 13, according to the information and port configuration information of operating system, the port configuration-direct of operating system is carried out
Set, make operating system that USB device be switched into corresponding ports according to set port configuration-direct.
In the specific embodiment of the present invention, the port of information and step 12 acquisition of the operating system obtained according to step 11
Configuration information is configured to port configuration-direct in an operating system, to meet the requirement of operator.
Table 1
Operating system | XP | Vista | Windows7 | Windows8 | Windows8.1 |
Configuration-direct | 6 | 6 | 8 | 9 | 9 |
Alternatively, in the above embodiment of the present invention, before step 11 is performed, this method also includes:Inserted in USB
When, obtain instruction of the operating system using USB device as an optical disc memory apparatus.
In the specific embodiment of the present invention, optical disc memory apparatus uses read-only optical disc (CDROM), wherein read-only optical disc
(CDROM) integrated user port management module is housed in applies installation procedure, and above-mentioned configuration file is integrated in user terminal
In mouth management module.
Alternatively, in the above embodiment of the present invention, after performing step 13, this method also includes:Sent to operating system
The instruction of optical disc memory apparatus is removed, operating system is switched to USB device pair according to the instruction for removing optical disc memory apparatus
Answer port.
In the specific embodiment of the present invention, after being provided with to the port configuration-direct of operating system, it is necessary to by read-only light
Disk (CDROM) is removed, to there is the user port of carrier customization.
As shown in Fig. 2 in the above embodiment of the present invention, the step of USB device uses the information of operating system is obtained
Including:
Step 111, the version number of operating system is obtained, version number includes major version number and time version number;
In the specific embodiment of the present invention, the version number of system is obtained by Application of WIN 32 API function.
Step 112, the information of operating system is obtained with time version number according to major version number.
In the specific embodiment of the present invention, as shown in figure 3, the flow of step 112 is as follows:
Step 1121, if primary and secondary version number is respectively 5 and 1, it is determined that current operation system is XP, if it is not, then
Continue to judge;
Step 1122, if primary and secondary version number is respectively 6 and 0, it is determined that current operation system is VISTA, if it is not,
Then continue to judge;
Step 1123, if primary and secondary version number is respectively 6 and 1, it is determined that current operation system is Windows7, if not
It is then to continue to judge;
Step 1124, if primary and secondary version number is respectively 6 and 2, it is determined that current operation system is Windows8, if not
It is then to continue to judge;
Step 1125, if primary and secondary version number is respectively 6 and 3, it is determined that current operation system is Windows8.1.
In the above embodiment of the present invention, obtaining the step of USB device uses the port configuration information of operating system is:
Confidence is matched somebody with somebody with port according to the information of operating system and the operating system being stored in advance in optical disc memory apparatus
The corresponding relation of breath, read port configuration information.
In the specific embodiment of the present invention, the configuration file of carrier customization port requirements is integrated in read-only optical disc
(CDROM) in user port management module, therefore can be according to the information read port configuration information of operating system.
In order to preferably realize above-mentioned purpose, as shown in figure 4, the embodiment of the present invention also provides a kind of autosensing configuration
USB device management system 40, including:
First acquisition module 41, the information of operating system is used for obtaining USB device;
Second acquisition module 42, for the information according to operating system, obtain the port that USB device uses operating system
Configuration information;
Respond module 43, for the information and port configuration information according to operating system, the port of operating system is configured
Instruction is configured, and makes operating system that USB device be switched into corresponding ports according to set port configuration-direct.
Alternatively, the management system 40 of USB device of the invention also includes the 3rd acquisition module, for when USB is inserted,
Obtain instruction of the operating system using USB device as an optical disc memory apparatus.
Alternatively, the management system 40 of USB device of the invention also includes the first instruction sending module, in response mould
Root tuber is according to the information and port configuration information of operating system, the backward operation being configured to the port configuration-direct of operating system
System sends the instruction for removing optical disc memory apparatus, makes operating system according to the instruction for removing optical disc memory apparatus, by USB device
Switch to corresponding ports.
Wherein, the first acquisition module 41 includes:
First obtains subelement, and for obtaining the version number of operating system, version number includes major version number and time version number;
Second obtains subelement, for obtaining the information of operating system with time version number according to major version number.
Wherein, the second acquisition module 42 is according to the information of operating system and the behaviour being stored in advance in optical disc memory apparatus
Make the corresponding relation of system and port configuration information, read port configuration information.
In the specific embodiment of the present invention, each module of the management system of above-mentioned USB device can all be integrated in read-only optical disc
(CDROM) in user port management module.
As shown in figure 5, the embodiment of the present invention provides a kind of method of autosensing configuration, the drive applied to USB device
Dynamic system, including:
Step 51, USB device is obtained according to the information and port configuration information of operating system, and the port of operating system is matched somebody with somebody
Put the port configuration-direct after instruction is configured;
Step 52, USB device is switched to by corresponding ports according to set port configuration-direct;
Step 53, corresponding ports are reported to operating system.
In the specific embodiment of the present invention, the port configuration-direct after above-mentioned USB device is set is received, to the end after setting
Mouth configuration-direct is responded, and the port configuration-direct after setting is reported into operating system, so as to successfully cut USB device
The corresponding ports of carrier customization are shifted to, the corresponding relation of its middle port and port configuration-direct is as shown in table 2.
Table 2
Port | It is reserved | Modem | RNDIS | NDIS5.1 | NDIS6.20 | MBIM | It is reserved |
Configuration-direct | 5 | 6 | 7 | 8 | 9 |
Alternatively, in the above embodiment of the present invention, before step 51 is performed, this method also includes:
When USB device inserts, the request instruction that operating system issues is received;
Judge port configuration-direct whether is carried in request instruction, if carrying port configuration-direct, configured according to port
The selected corresponding ports of instruction;If not carrying port configuration-direct, the port configuration after obtaining USB device setting is performed downwards and is referred to
The step of making.
In the specific embodiment of the present invention, when USB device insertion operation system, operating system can issue a request and refer to
Order, if carrying port configuration-direct in this request instruction, the corresponding end of carrier customization is selected according to this port configuration-direct
Mouthful, if port configuration-direct is carried, then step 51 is performed downwards.
Alternatively, in the above embodiment of the present invention, according to port configuration-direct select corresponding ports the step of after, should
Method still further comprise to operating system report corresponding ports the step of, terminate flow.
Alternatively, in the above embodiment of the present invention, the step of obtaining the port configuration-direct after USB device is set is performed
Before, still further comprise to operating system and send the step of USB device is reported into the instruction for optical disc memory apparatus.
In the specific embodiment of the present invention, optical disc memory apparatus uses read-only optical disc (CDROM), this read-only optical disc
(COROM) user port management module is stored in applies installation procedure, reports this optical disc memory apparatus to operating system, just
In installation user port management module.
As shown in fig. 6, in the above embodiment of the present invention, USB device is switched according to set port configuration-direct
Include to the step of corresponding ports:
Step 521, information and port configuration information of the USB device according to operating system are obtained, to the port of operating system
Configuration-direct be configured after port configuration-direct the step of after, response remove optical disc memory apparatus instruction;
Step 522, according to the instruction of set port configuration-direct and removal optical disc memory apparatus, USB device is cut
Shift to corresponding ports.
In the specific embodiment of the present invention, after the port configuration-direct after setting is got, it is necessary to by optical disc storage
Equipment removes, USB device switching so far corresponding ports during the corresponding port of carrier customization occur.
In order to preferably realize above-mentioned purpose, as shown in fig. 7, the embodiment of the present invention also provides a kind of autosensing configuration
USB device drive system 70, including:
4th acquisition module 71, for obtaining information and port configuration information of the USB device according to operating system, to operation
The port configuration-direct of system be configured after port configuration-direct;
Execution module 72, for USB device to be switched into corresponding ports according to set port configuration-direct;
Reporting module 73, for reporting corresponding ports to operating system.
Alternatively, the drive system of USB device of the invention also includes:
Request receiving module, for when USB device inserts, receiving the request instruction that operating system issues;
Judge module, for judging port configuration-direct whether is carried in request instruction,
Decision-making module, for when judge module judges to carry port configuration-direct in request instruction, being configured according to port
The selected corresponding ports of instruction;
When judge module judges not carrying port configuration-direct in request instruction, then sending feedback to the 4th acquisition module refers to
Order, the 4th acquisition module is set to obtain port configuration-direct.
Alternatively, after decision-making module selectes corresponding ports according to port configuration-direct, reporting module is in operating system
Report corresponding ports.
Alternatively, the drive system of USB device of the invention also includes the second instruction sending module, for working as judge module
When judging not carrying port configuration-direct in request instruction, the 4th acquisition module obtains the port configuration after USB device is set and referred to
Before order, sent to operating system and report USB device for the instruction of an optical disc memory apparatus.
Wherein, execution module 72 includes:
First subelement, configured for obtaining USB device in the 4th acquisition module according to the information of operating system and port
Information, after the port configuration-direct after being configured to the port configuration-direct of operating system, response removes optical disc storage and set
Standby instruction;
Second subelement, for the instruction according to set port configuration-direct and removal optical disc memory apparatus, by USB
Equipment switches to corresponding ports.
In order to preferably realize above-mentioned purpose, as shown in figure 8, embodiments of the invention provide a kind of autosensing configuration
System 80, including the management system 40 of above-mentioned USB device and the drive system 70 of USB device.
In the specific embodiment of the present invention, the reality of the management system 40 of above-mentioned USB device and the drive system 70 of USB device
Apply example and beneficial effect and be applied to the system 80, the flow of the system 80 is as shown in Figure 9.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (17)
- A kind of 1. method of autosensing configuration, applied to general-purpose serial bus USB equipment, it is characterised in that methods described Including:In USB insertion operation systems, finger of the operating system using the USB device as an optical disc memory apparatus is obtained Order;The optical disc memory apparatus is read-only optical disc, wherein housing integrated user port management module in the read-only optical disc Using installation procedure;Obtain the information that USB device uses operating system;According to the information of the operating system, the configuration file that USB device uses operating system is obtained;Wherein, the configuration File includes the corresponding relation of operating system and configuration-direct, and the configuration file is integrated in user port management module;According to the information and configuration file of the operating system, the port configuration-direct of the operating system is configured, made USB device is switched to corresponding ports by the operating system according to set port configuration-direct.
- 2. the method as described in claim 1, it is characterised in that the information and configuration file according to the operating system, After the step of being configured to the port configuration-direct of the operating system, methods described also includes:The instruction for removing optical disc memory apparatus is sent to the operating system, the operating system is deposited according to the CD is removed The instruction of equipment is stored up, USB device is switched into the corresponding ports.
- 3. the method as described in claim 1, it is characterised in that the acquisition USB device uses the information of operating system Step includes:The version number of the operating system is obtained, the version number includes major version number and time version number;The information of the operating system is obtained with time version number according to the major version number.
- 4. the method as described in claim 1, it is characterised in that the configuration text for obtaining USB device and using operating system The step of part is:According to the information of the operating system and the operating system being stored in advance in the optical disc memory apparatus and configuration text The corresponding relation of part, read the configuration file.
- A kind of 5. management system of the USB device of autosensing configuration, it is characterised in that the management system of the USB device Including:3rd acquisition module, in USB insertion operation systems, obtaining the operating system using the USB device as one The instruction of individual optical disc memory apparatus;The optical disc memory apparatus is read-only optical disc, wherein being housed in the read-only optical disc integrated User port management module applies installation procedure;First acquisition module, the letter of operating system is used for obtaining USB device Breath;Second acquisition module, for the information according to the operating system, obtain the configuration text that USB device uses operating system Part;Wherein, the configuration file includes the corresponding relation of operating system and configuration-direct, and the configuration file is integrated in user terminal In mouth management module;Respond module, for the information and configuration file according to the operating system, the port configuration to the operating system refers to Order is configured, and makes the operating system that USB device be switched into corresponding ports according to set port configuration-direct.
- 6. the management system of USB device as claimed in claim 5, it is characterised in that the management system of the USB device is also wrapped The first instruction sending module is included, for the information and configuration file in the respond module according to the operating system, to described The rear instruction that removal optical disc memory apparatus is sent to the operating system that the port configuration-direct of operating system is configured, makes USB device is switched to the corresponding ports by the operating system according to the instruction for removing the optical disc memory apparatus.
- 7. the management system of USB device as claimed in claim 5, it is characterised in that first acquisition module includes:First obtains subelement, and for obtaining the version number of the operating system, the version number includes major version number and time version This number;Second obtains subelement, for obtaining the information of the operating system with time version number according to the major version number.
- 8. the management system of USB device as claimed in claim 5, it is characterised in that second acquisition module is according to The information of operating system and the operating system and the corresponding relation of configuration file being stored in advance in the optical disc memory apparatus, Read the configuration file.
- 9. a kind of method of autosensing configuration, the drive system applied to USB device, it is characterised in that methods described bag Include:When USB device inserts, the request instruction that operating system issues is received;Judge port configuration-direct whether is carried in request instruction, if carrying the port configuration-direct, configured according to port The selected corresponding ports of instruction;If not carrying the port configuration-direct, the port after obtaining USB device setting is performed downwards and is matched somebody with somebody The step of putting instruction;Sent to the operating system and report the USB device for the instruction of an optical disc memory apparatus, the optical disc storage Equipment is read-only optical disc, wherein housing the application installation procedure of integrated user port management module in the read-only optical disc;Information and configuration file of the USB device according to operating system are obtained, the port configuration-direct of the operating system is carried out Port configuration-direct after setting;Wherein, the configuration file includes the corresponding relation of operating system and configuration-direct;USB device is switched to by corresponding ports according to set port configuration-direct;The corresponding ports are reported to the operating system.
- 10. method as claimed in claim 9, it is characterised in that the port configuration is carried in the request instruction is judged Instruction, after the step of selecting the corresponding ports according to the port configuration-direct, methods described is still further comprised to institute State the step of operating system reports the corresponding ports.
- 11. method as claimed in claim 9, it is characterised in that do not carry the port in the request instruction is judged and match somebody with somebody After the step of putting instruction, before performing described the step of obtaining the port configuration-direct after USB device is set, methods described is also Further comprise sending the step of USB device is reported into the instruction for optical disc memory apparatus to the operating system.
- 12. method as claimed in claim 11, it is characterised in that the port configuration-direct set by the basis sets USB Standby the step of switching to corresponding ports, includes:Information and the configuration file of the USB device according to the operating system are obtained, the port of the operating system is configured After the step of instructing the port configuration-direct after being configured, response removes the instruction of the optical disc memory apparatus;According to the instruction of set port configuration-direct and the removal optical disc memory apparatus, USB device is switched to described Corresponding ports.
- A kind of 13. drive system of the USB device of autosensing configuration, it is characterised in that the drive system of the USB device Including:Request receiving module, for when USB device inserts, receiving the request instruction that operating system issues;Judge module, for judging port configuration-direct whether is carried in the request instruction,Decision-making module, for when the judge module judges to carry the port configuration-direct in the request instruction, according to The port configuration-direct selectes corresponding ports;When the judge module judges not carrying the port configuration-direct in the request instruction, then execution obtains USB downwards Equipment set after port configuration-direct the step of;4th acquisition module, for obtaining information and configuration file of the USB device according to operating system, to the operating system Port configuration-direct be configured after port configuration-direct;Wherein, the configuration file includes operating system and configuration-direct Corresponding relation;Execution module, for USB device to be switched into corresponding ports according to set port configuration-direct;Reporting module, for reporting the corresponding ports to the operating system.
- 14. the drive system of USB device as claimed in claim 13, it is characterised in that the decision-making module is according to the end After mouth configuration-direct selectes the corresponding ports, the reporting module reports the corresponding ports to the operating system.
- 15. the drive system of USB device as claimed in claim 13, it is characterised in that the drive system of the USB device is also Including the second instruction sending module, for judging that not carrying the port configuration in the request instruction refers to when the judge module When making, before the 4th acquisition module obtains the port configuration-direct after USB device is set, to the operating system send by The USB device is reported as the instruction of an optical disc memory apparatus.
- 16. the drive system of USB device as claimed in claim 15, it is characterised in that the execution module includes:First subelement, for obtaining USB device according to the information of the operating system and described in the 4th acquisition module Configuration file, after the port configuration-direct after being configured to the port configuration-direct of the operating system, response removes institute State the instruction of optical disc memory apparatus;Second subelement, for the instruction according to set port configuration-direct and the removal optical disc memory apparatus, by USB Equipment switches to the corresponding ports.
- 17. a kind of system of autosensing configuration, it is characterised in that including any one of such as claim 5 to 8 claim institute The drive system of the management system for the USB device stated and the USB device as described in any one of claim 13 to 16 claim.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410431688.9A CN104199789B (en) | 2014-08-28 | 2014-08-28 | Method, management system, drive system and the system of autosensing configuration |
PCT/CN2014/089063 WO2015117378A1 (en) | 2014-08-28 | 2014-10-21 | Method and related system for adaptively configuring port, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410431688.9A CN104199789B (en) | 2014-08-28 | 2014-08-28 | Method, management system, drive system and the system of autosensing configuration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104199789A CN104199789A (en) | 2014-12-10 |
CN104199789B true CN104199789B (en) | 2018-01-16 |
Family
ID=52085085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410431688.9A Active CN104199789B (en) | 2014-08-28 | 2014-08-28 | Method, management system, drive system and the system of autosensing configuration |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104199789B (en) |
WO (1) | WO2015117378A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106170778B (en) * | 2015-02-13 | 2019-04-19 | 华为技术有限公司 | A kind of method and USB device of switching USB driving version |
CN106301860A (en) * | 2015-06-08 | 2017-01-04 | 西安中兴新软件有限责任公司 | A kind of support the method for heterogeneous networks interface, USB device and system |
CN105573934B (en) * | 2015-12-11 | 2019-11-12 | 北京元心科技有限公司 | Method and device for operating multi-system slave device to access master device through USB connection |
CN113032297B (en) * | 2021-02-23 | 2023-12-29 | 西安广和通无线软件有限公司 | Configuration method and device of USB network card equipment, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101609408A (en) * | 2009-06-19 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of method and system that realize self-start of terminal equipment |
CN101714925A (en) * | 2009-11-09 | 2010-05-26 | 深圳华为通信技术有限公司 | Method and system for managing ports of communication equipment, management equipment and communication equipment |
EP2770440A1 (en) * | 2011-10-18 | 2014-08-27 | ZTE Corporation | Method and system enabling usb device to automatically recognize operating system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1471007A (en) * | 2002-07-26 | 2004-01-28 | 赫扬科技股份有限公司 | USB direct on-line display switching apparatus and method |
-
2014
- 2014-08-28 CN CN201410431688.9A patent/CN104199789B/en active Active
- 2014-10-21 WO PCT/CN2014/089063 patent/WO2015117378A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101609408A (en) * | 2009-06-19 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of method and system that realize self-start of terminal equipment |
CN101714925A (en) * | 2009-11-09 | 2010-05-26 | 深圳华为通信技术有限公司 | Method and system for managing ports of communication equipment, management equipment and communication equipment |
EP2770440A1 (en) * | 2011-10-18 | 2014-08-27 | ZTE Corporation | Method and system enabling usb device to automatically recognize operating system |
Also Published As
Publication number | Publication date |
---|---|
WO2015117378A1 (en) | 2015-08-13 |
CN104199789A (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104199789B (en) | Method, management system, drive system and the system of autosensing configuration | |
US10412207B2 (en) | Mobile terminal, power adapter, and upgrade method thereof | |
CN102164363B (en) | Base station version updating realization method and base station | |
CN104281542A (en) | Method, device and system for adaptation of multifunctional USB (universal serial bus) terminal equipment | |
CN103970578A (en) | Method for upgrading master and slave MCUs (micro control units) | |
US8799546B2 (en) | Method and apparatus for monitoring single board running state | |
CN104915306A (en) | Data operation control method and device manager | |
CN105354043A (en) | Terminal upgrading method and apparatus | |
CN109032635A (en) | Method for upgrading software, device and the network equipment | |
CN110209619B (en) | Method for automatically matching multi-model drivers and related device | |
CN106897100A (en) | The method and terminal of a kind of firmware upgrade | |
CN101764696B (en) | Distributed routing exchange equipment and implementation method thereof | |
CN100589413C (en) | Automatically discovering method of variable mode veneer | |
EP2387287A1 (en) | Wireless data card, method and system for communicationg between wireless data card and computer side | |
CN102841801B (en) | Method and device for upgrading firmware of driving-free terminal | |
CN103428305A (en) | Network equipment batch upgrading method | |
CN106020915A (en) | driver installation method and device | |
CN110687910A (en) | Equipment control method and device, storage medium and lower computer | |
CN115469964A (en) | Method and device for determining mapping relation between block device and virtual machine disk character | |
CN102591839B (en) | USB (universal serial bus) multiprotocol self-adaptive method | |
CN106294237A (en) | A kind of multiplexing functions method and device of communication interface | |
CN100401681C (en) | Method for realizing configuration of service frame data | |
CN102810067A (en) | Virtual machine template updating system and method | |
CN107623578A (en) | One kind virtualization network function instantiation method and device | |
CN106020911A (en) | Microcontroller burning interface and circuit board connection multiplexing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |