CN109388598A - A kind of information processing method and general-purpose serial bus USB cluster server - Google Patents
A kind of information processing method and general-purpose serial bus USB cluster server Download PDFInfo
- Publication number
- CN109388598A CN109388598A CN201710686236.9A CN201710686236A CN109388598A CN 109388598 A CN109388598 A CN 109388598A CN 201710686236 A CN201710686236 A CN 201710686236A CN 109388598 A CN109388598 A CN 109388598A
- Authority
- CN
- China
- Prior art keywords
- usb
- set group
- usb device
- port
- group server
- 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
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/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/38—Universal adapter
- G06F2213/3812—USB port controller
Abstract
The embodiment of the present invention provides a kind of information processing method and general-purpose serial bus USB cluster server, the technical problem of the use process complexity to solve USB device existing in the prior art.Wherein, USB set group's server includes multiple USB port modules, USB set group server can be attached by multiple USB port modules with USB device, information processing method includes the solicited message for receiving the terminal device being communicatively coupled with the USB set group server and sending, and the solicited message includes the port information of the corresponding first USB port module of target USB device of the premises equipment requests access;Based on the solicited message, from and at least one USB device for connecting of the multiple USB port module in determine the first USB device corresponding with the port information of the first USB port module;Establish the communication connection between the terminal device and first USB device.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of information processing methods and general-purpose serial bus USB collection
Group's server.
Background technique
With the development of science and technology and social progress, electronic equipment have also obtained development at full speed, electronic product
Type is also more and more, and electronic equipment such as computer, mobile phone, TV have become in people's life and work indispensable one
Point.People have also enjoyed the various conveniences of scientific development bring, and present people can be enjoyed by various types of electronic equipments
It is comfortably lived by with development in science and technology bring, for example to can use the external UKEY of electronic equipment, encrypted U disk etc. general by people
Universal serial bus (Universal Serial Bus, USB) equipment stores information or progress information sharing etc..
And in daily life, people be usually all be inserted into UKEY, USB flash disk, the USB devices such as printer at work, and
Work transfers to these USB devices after completing, for example when people are needed using the data stored in USB flash disk, needs first to be inserted into USB flash disk
Then electronic equipment carries out the calling of data again, and when not needing USB flash disk, extract USB flash disk.Obviously, people use in the prior art
The process of USB device is relatively complicated, and frequently insertion transfers to the operation of USB device to waste a large amount of energy and time of people,
So that the working efficiency of USB device is lower.
In conclusion the technical problem of the use process complexity of USB device exists in the prior art.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and general-purpose serial bus USB cluster server, to solve
The technical problem of the use process complexity of existing USB device in the prior art.
First aspect
The embodiment of the present invention provides a kind of information processing method, is applied to general-purpose serial bus USB cluster server, described
USB set group's server includes multiple USB port modules, the USB set group server by the multiple USB port module with
USB device connection, which comprises
Receive the solicited message that the terminal device being communicatively coupled with the USB set group server is sent, the request
Information includes the port information of the corresponding first USB port module of target USB device of the premises equipment requests access;It is based on
The solicited message, determining and the first USB from least one USB device being connect with the multiple USB port module
Corresponding first USB device of the port information of port module;It establishes logical between the terminal device and first USB device
Letter connection.
Optionally, the request sent in the reception with the terminal device that the USB set group server is communicatively coupled
Before information, which comprises when detecting that at least one USB device is inserted into the USB set group server, described in foundation
The corresponding relationship of multiple USB port modules of at least one USB device and the USB set group server generates corresponding relationship column
Table;The corresponding relationship list is sent to the terminal device.
Optionally, described when detecting that at least one USB device is inserted into the USB set group server, foundation is described extremely
The corresponding relationship of multiple USB port modules of a few USB device and the USB set group server, comprising: obtain at least one
The characteristic parameter of each USB device in USB device, the characteristic parameter include the device identification of USB device;Based on the feature
Parameter establishes the device identification and multiple USB port modules of the USB set group server of at least one USB device
One-to-one relationship between port information.
Optionally, in the solicited message for receiving the terminal device transmission being communicatively coupled with the USB set group server
Later, which comprises whether there is and institute at least one USB device that judgement is connect with the USB set group server
State corresponding first USB device of solicited message;If having corresponding with the solicited message at least one described USB device
One USB device then determines and the first end USB from least one USB device connecting with the multiple USB port module
Corresponding first USB device of the port information of mouth mold block;Otherwise, the transmission of Xiang Suoshu terminal device be used to indicate it is described at least one
The prompt information of the first USB device corresponding with the solicited message is not present in USB device.
Second aspect
The embodiment of the present invention provides a kind of general-purpose serial bus USB cluster server, comprising:
Multiple USB port modules, for connecting the USB set group server and USB device;
Receiving module, the request sent for receiving the terminal device being communicatively coupled with the USB set group server
Information, the solicited message include the corresponding first USB port module of target USB device of the premises equipment requests access
Port information;
Determining module, for being based on the solicited message, from least one being connect with the multiple USB port module
The first USB device corresponding with the port information of the first USB port module is determined in USB device;
Module is established, the communication connection between the terminal device and first USB device is established.
Optionally, the USB set group server includes:
Detection module is asked in the reception with what the terminal device that the USB set group server is communicatively coupled was sent
Before seeking information, for establishing described at least one when detecting that at least one USB device is inserted into the USB set group server
The corresponding relationship of multiple USB port modules of a USB device and the USB set group server generates corresponding relationship list;
Sending module, for sending the corresponding relationship list to the terminal device.
Optionally, the detection module is used for:
The characteristic parameter of each USB device at least one USB device is obtained, the characteristic parameter includes USB device
Device identification;
Based on the characteristic parameter, the device identification of foundation at least one USB device and the USB set group server
Multiple USB port modules port information between one-to-one relationship.
Optionally, the USB set group server further include:
Judgment module, at least one USB device for judging to connect with the USB set group server with the presence or absence of with
Corresponding first USB device of the solicited message;
If at least one described USB device exist the first USB device corresponding with the solicited message, from it is described
Determination is corresponding with the port information of the first USB port module at least one USB device of multiple USB port module connections
The first USB device;Otherwise, the transmission of Xiang Suoshu terminal device is used to indicate at least one described USB device and is not present and institute
State the prompt information of corresponding first USB device of solicited message.
The third aspect
The embodiment of the present invention provides a kind of computer installation, and the computer installation includes processor, and the processor is used
Method as described in relation to the first aspect is realized when executing the computer program stored in memory.
Fourth aspect
The embodiment of the present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has meter
Calculation machine instruction, when described instruction is run on computers, so that computer executes method as described in relation to the first aspect.
One or more technical solutions in above-mentioned technical proposal, at least have the following technical effects or advantages:
The first, the embodiment of the present invention provides a kind of information processing method, is applied to general-purpose serial bus USB cluster service
Device, USB set group's server include multiple USB port modules, and USB set group server is set by multiple USB port modules with USB
Standby connection;Firstly, USB set group's server, which receives, is in communication with the solicited message that the terminal device of connection is sent, the request
Information includes the port information of the corresponding first USB port module of target USB device of premises equipment requests access, then USB
Cluster server determines and first from least one USB device connecting with multiple USB port modules according to solicited message
Corresponding first USB device of the port information of USB port module, and then establish logical between terminal device and the first USB device
Letter connection.The information processing method provided in the embodiment of the present invention, USB set group server can manage at least one concentratedly
USB device, terminal device can be remotely accessed directly corresponding at least one USB device when needing using USB device
USB device simplifies the operating process that people use USB device so that people do not need frequently to plug USB device, thus
It improves work efficiency.
The second, since in the embodiment of the present invention, USB set group server is detecting at least one USB device insertion USB
When cluster server, the corresponding relationship of multiple USB port modules of at least one USB device and USB set group server is established, and
Corresponding relationship list is generated, then USB set group server sends corresponding relationship list to terminal device, and user passes through terminal device
Corresponding relationship list determine required USB device, to realize the far call of USB device, improve user and set using USB
Standby convenience.
Third, USB set group server obtain at least one USB first and set when detecting the insertion of at least one USB device
The characteristic parameter of each USB device in standby, this feature parameter includes the device identification of USB device, then USB set group server root
According to characteristic parameter, the end of the device identification of at least one USB device and multiple USB port modules of USB set group server is established
One-to-one relationship between message breath, it may include asking that user, which passes through in the solicited message that terminal device is sent to USB device,
The port information of the corresponding first USB port module of the target USB device of access is sought, USB set group server can be according to extremely
One between the port information of multiple USB port modules of the device identification and USB set group's server of a few USB device is a pair of
Should be related to, determine corresponding with the port information of the first USB port module the first USB device, and establish the terminal device and
Communication connection between first USB device, working efficiency are higher.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention
Attached drawing is briefly described, it should be apparent that, attached drawing described below is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the hardware structural diagram of USB set group's server in the embodiment of the present invention;
Fig. 2 is the flow diagram of information processing method in the embodiment of the present invention;
Fig. 3 is the module diagram of USB set group's server in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of computer installation in the embodiment of the present invention.
Specific embodiment
In order to keep the purposes, technical schemes and advantages of the embodiment of the present invention clearer, implement below in conjunction with the present invention
Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described.
The embodiment of the present invention can be described in terms of hardware and software two.
In terms of hardware aspect, as shown in Figure 1, USB set group server 10 may include central processing module 11, USB device
AM access module 12 and network access module 13, central processing module 11 can use the system using embedded microprocessor as core
Grade chip (System on Chip, SoC), can be responsible for logic control and the data processing function of entire USB set group server;
USB device AM access module 12 can be responsible for accessing multiple USB devices, be realized by Multistage U SB HUB cascade system to up to several
The support of the USB device on ten tunnels can expand a large amount of USB device interface;Network access module 13 can be Ethernet, wireless
The communication modules such as fidelity (WIreless FIdelity, WIFI), can be used for completing USB set group server 10 with terminal device
Between Data Communication in Computer Networks function.
It is described from software aspects, USB set group server can be based on Embedded Linux System, including linux kernel
USBIP driver, USB device management program, USB device binding procedure and network monitoring demons etc.;Corresponding to USB set
Group's server end, terminal device can be based on personal computer (Personal Computer, PC), windows, linux etc.
System, including USBIP driver and USB device mapping, network communication application program.Terminal equipment side also has dedicated driving journey
Sequence, can be used for completing network communication to virtual USB device mappings work.There is also USBIP driver in terminal device,
USBIP driver can create a virtual server client end-rack structure VHCI controller, the driving of USB set group's server and terminal
After device drives establish socket communication, the USB controller of the VHCI controller meeting analog physical of terminal device goes to complete virtual
The work such as the enumerating of USB device, data transmission.
The software sections such as the driver of USB set group server and terminal device, management program can in the embodiment of the present invention
To be carried on the hardware operation of USB set group server and terminal device, so as to realize USB set group server and terminal device
Between information exchange.
In the embodiment of the present invention, after Embedded Linux System starting, the kernel USBIP of USB set group's server drives journey
Sequence, USB device management program, USB device binding procedure and network monitoring demons etc. start and enter working condition.
USB set group's server waits the insertion of USB device and the solicited message of terminal equipment side, and USB set group server is detecting
When USB device is inserted into, network monitoring demons automatically can be set the USB of insertion by Virtual File System sysfs mode
It is standby with kernel USBIP driver, when the network monitoring demons of USB set group's server listen to the request of terminal equipment side
When information, the terminal device target USB device to be accessed is determined according to solicited message, then establishes terminal device and target USB
Communication connection between equipment, so that the accessible target USB device of terminal device.The USB device of USB set group's server can be with
Complete map is to terminal device, and allowing terminal device to need, the driver of USB device to be used goes to identify and certification target USB is set
Standby, USB set group server can be completed to enumerate and transparent transmission function.
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing.
Embodiment one
Fig. 2 is referred to, the embodiment of the present invention provides a kind of information processing method, is applied to general-purpose serial bus USB cluster
Server, USB set group's server include multiple USB port modules, and USB set group server can pass through multiple USB port moulds
Block is connect with USB device.
The process of information processing method in the embodiment of the present invention can be described as follows:
S100: the solicited message that the terminal device being communicatively coupled with USB set group server is sent, solicited message are received
The port information of the corresponding first USB port module of target USB device including premises equipment requests access;
S200: being based on solicited message, determines from least one USB device connect with multiple USB port modules and the
Corresponding first USB device of the port information of one USB port module;
S300: the communication connection between terminal device and the first USB device is established.
In S100, USB set group's server, which can receive, is in communication with the solicited message that the terminal device of connection is sent,
It may include the port of the corresponding first USB port module of target USB device of premises equipment requests access in the solicited message
Information, the port information can be the corresponding physical port number of port module of USB set group's server of target USB device insertion
Etc. information.
Optionally, before the solicited message that USB device receiving terminal apparatus is sent, USB set group server can be real-time
Detect whether that there are USB devices to be inserted into USB set group server, wherein multiple USB port moulds are provided on USB set group's server
Block.It is described from hardware, these USB port modules can be to be arranged on USB set group's server and be used to connect USB device
The physical receptacle of USB device can be inserted in USB AM access module, such as USB set group's server;And described from software, these
USB port module can be the interface for being used to connect USB device program module of kernel USBIP driver.
When having detected that at least one USB device is inserted into USB set group server, USB device can establish at least one
The corresponding relationship of multiple USB port modules of USB device and USB set group server, and generate corresponding relationship list.
Assuming that USB set group's server has detected 3 USB devices insertion USB set group servers, respectively USB device A,
USB device B and USB device C, then this 3 USB devices can be occupied respectively in multiple physical receptacles of USB set group's server
3 physical receptacles, therefore, multiple physics of USB set group's server person of can establish 3 USB devices and USB set group server
The corresponding relationship between 3 physical receptacles in jack, even USB set group server determine one in these three physical receptacles
A physical receptacle, so that it may which its corresponding USB device is determined according to the physical receptacle.
In practical applications, the sequence that USB set group server can be inserted into according to USB device, it is corresponding to be followed successively by USB device
Port module row number, can be convenient subsequent terminal equipment in this way to the calling of target USB device.For example, if 3 USB devices
The sequence for being inserted into USB set group server is USB device A, USB device B and USB device C, then this corresponding port of 3 USB devices
The sequence of module is port module 1, port module 2 and port module 3.
Alternatively, if the sequence of 3 USB device insertion USB set group servers is USB device B, USB device A and USB device
C, then the sequence of this corresponding port module of 3 USB devices is port module 1, port module 2 and port module 3, i.e. USB is set
Standby B corresponding ports module 1, USB device A corresponding ports module 2 etc..It should be noted that the USB of insertion USB set group server
Maximum number of the number of equipment no more than the USB device that USB device driving can identify simultaneously in Linux system.
In this way, multiple USB ports at least one USB device and USB set group server that USB set group's server generates
It may include the USB device of insertion USB set group server in the relevant corresponding relationship list of corresponding relationship between module, and
The actual physics port address of port module corresponding with USB device.It is inserted on USB set group's server when user needs to call
When target USB device at least one USB device, a kind of mode is that user corresponding can close for what is shown on terminal device
Target USB device in series of tables carries out selection operation, and USB set group server can respond the selection operation, and pass through USB set
The network access module of group's server establishes the communication connection between terminal device and target USB device, so that terminal is set
It is standby can be with invocation target USB device.
Due in the embodiment of the present invention, when user is when needing using USB device, user is not needed frequently to USB device
The operation of insertion extraction is carried out, user can be freed from the operation of frequent plug USB device, and can be very easily
Realization USB device uses instant linkage function immediately, improves working efficiency, also avoids USB interface due to existing using secondary
The phenomenon that number excessively damages.
Another way can be user and send solicited message to USB set group's server, then can enter S200, i.e.,
USB set group server can be determined from least one USB device connecting with multiple USB port modules according to solicited message
The first USB device corresponding with the port information of the first USB port module.
For example, target USB device can be carried in the solicited message that terminal device is sent to USB set group's server
The actual physics port address of corresponding port module, such as physical port number, USB set group server can be believed according to the request
Breath determines the first end USB corresponding with target USB device from least one USB device that multiple USB port modules connect
Corresponding first USB device of the physical port number of mouth mold block, and then establish the communication link between terminal device and the first USB device
It connects.
Optionally, when detecting that at least one USB device is inserted into USB set group server, at least one USB device is established
It can also be carried out in the following manner with the corresponding relationship of multiple USB port modules of the USB set group server:
USB set group server can obtain at least one USB device when detecting the insertion of at least one USB device
The characteristic parameter of each USB device, wherein characteristic parameter may include the device identification of USB device, the equipment mark of USB device
Know the factory number in the factory information that can be USB device, which is that USB device is arranged when producing by producers
Or the serial number of USB device that production equipment automatically generates, since the factory number of USB device is usually unique, USB
Cluster server can distinguish at least one USB device of insertion by obtaining the characteristic parameter of USB device.
Then, USB set group server can establish at least one USB device according to the characteristic parameter of the USB device of acquisition
Device identification and USB set group's server multiple USB port modules port information between one-to-one relationship, here
Port information, which can be, to be arranged by USB set group server according to the port module that the insertion sequence of USB device is USB device insertion
Port numbers.I.e. terminal equipment side it is only necessary to know that target USB device factory number, then the factory number is sent to
USB set group's server, USB set group server can determine its corresponding port numbers according to the factory number, and then determine
The first USB device being inserted at least one USB device of USB set group server realizes terminal device to target USB device
It calls.
I.e. in the embodiment of the present invention, when user is when needing using USB device, it is only necessary to by terminal device to terminal
USB set group's server that equipment is communicatively coupled sends solicited message, then at least one to the connection of USB set group's server
USB device, which carries out far call, can realize the use to target USB device, realize that terminal unit remote accesses USB device
With terminal device, locally insertion USB device is had the same effect.
Optionally, after the solicited message that USB set group's server receives terminal device transmission, USB set group's server
It can also judge at least one USB device of its connection with the presence or absence of the first USB device corresponding with solicited message.
Assuming that including the physical port number of the corresponding first port module of target USB device, USB set group in solicited message
Server can be set at least one USB device that local search is inserted into the presence or absence of USB corresponding with the physical port number
It is standby, if including the factory number of target USB device in solicited message, USB set group server can be in local search
It is no to there is port information corresponding with the factory number, to judge whether there is port module institute corresponding with the factory number
Corresponding first USB device etc..
If USB set group's server, which determines, has first USB corresponding with solicited message at least one USB device of insertion
Equipment then determines the port with the first USB port module from least one USB device connecting with multiple USB port modules
Corresponding first USB device of information;Then, the communication connection of the first USB device and terminal device is established, so that terminal is set
It is standby first USB device to be called by network connection.
If USB set group's server, which determines, is not present corresponding with solicited message first at least one USB device of insertion
USB device, then USB set group server can send prompt information to terminal device, can be with user's sheet of prompt terminal equipment side
Secondary request failure, to remind the user of terminal equipment side to check the reason of this request failure, such as target USB device pair
Port information error for the port module answered etc., takes timely measure user, improves the service efficiency of USB device.
In practical application, the central processing module of USB set group's server can be used for letter described in above-described embodiment
Cease logic control, the data processing etc. in process method step.Due in the embodiment of the present invention, when user is needing using USB
When equipment, it is only necessary to connect at least one with USB set group's server that terminal device is communicatively coupled by terminal device pair
USB device, which carries out far call, can realize the use to target USB device, realize that terminal unit remote accesses USB device
With terminal device, locally insertion USB device is had the same effect, and carries out insertion extraction without the frequent USB device of user
Operation, user is freed from the operation of frequent plug USB device, but can very easily realize USB device i.e.
When use instant linkage function, improve working efficiency, also avoid USB interface due to excessive there are access times and that damages show
As.
Embodiment two
Based on the same inventive concept, Fig. 3 is referred to, the embodiment of the present invention provides a kind of general-purpose serial bus USB cluster clothes
It is engaged in device 30, comprising: multiple USB port modules 31, receiving module 32, determining module 33 and establish module 34.
Wherein, multiple USB port modules 31, for connecting the USB set group server 30 and USB device;
Receiving module 32, for receiving the terminal device being communicatively coupled with the USB set group server 31 transmission
Solicited message, the solicited message include the corresponding first USB port mould of target USB device of the premises equipment requests access
The port information of block;
Determining module 33, for being based on the solicited message, from least one being connect with the multiple USB port module
The first USB device corresponding with the port information of the first USB port module is determined in USB device;
Module 34 is established, the communication connection between the terminal device and first USB device is established.
Optionally, the USB set group server 30 includes:
Detection module is sent in the reception with the terminal device that the USB set group server 30 is communicatively coupled
Before solicited message, for when detecting that at least one USB device is inserted into the USB set group server 30, foundation to be described extremely
The corresponding relationship of multiple USB port modules 31 of a few USB device and the USB set group server 30 generates corresponding relationship
List;
Sending module, for sending the corresponding relationship list to the terminal device.
Optionally, the detection module is used for:
The characteristic parameter of each USB device at least one USB device is obtained, the characteristic parameter includes USB device
Device identification;
Based on the characteristic parameter, the device identification of foundation at least one USB device and the USB set group server
Multiple USB port modules 31 port information between one-to-one relationship.
Optionally, the USB set group server 30 further include:
Judgment module whether there is at least one USB device connecting with the USB set group server 30 for judging
The first USB device corresponding with the solicited message;
If at least one described USB device exist the first USB device corresponding with the solicited message, from it is described
The determining port information with the first USB port module 31 at least one USB device that multiple USB port modules 31 connect
Corresponding first USB device;Otherwise, the transmission of Xiang Suoshu terminal device is used to indicate at least one described USB device and is not present
The prompt information of the first USB device corresponding with the solicited message.
Embodiment three
A kind of computer installation is also provided in the embodiment of the present invention, is please referred to shown in Fig. 4, which includes processing
Device 41 and memory 42, wherein realize that the present invention is real when processor 41 is for executing the computer program stored in memory 42
The step of information processing method provided in example is provided.
Optionally, processor 41 specifically can be central processing unit, application-specific integrated circuit (Application
Specific Integrated Circuit, ASIC), it can be one or more integrated circuits executed for controlling program,
It can be the hardware circuit of use site programmable gate array (Field Programmable Gate Array, FPGA) exploitation,
It can be baseband processor.
Optionally, processor 41 may include at least one processing core.
Optionally, electronic equipment further includes memory 42, and memory 42 may include read-only memory (Read Only
Memory, ROM), random access memory (Random Access Memory, RAM) and magnetic disk storage.Memory 42 is used for
The data required when running of storage processor 41.The quantity of memory 42 is one or more.
Example IV
A kind of computer readable storage medium is also provided in the embodiment of the present invention, which has
Computer instruction may be implemented when computer instruction instruction is run on computers as at information provided in an embodiment of the present invention
The step of reason method.
In embodiments of the present invention, it should be understood that disclosed information processing method and general-purpose serial bus USB cluster clothes
Business device, may be implemented in other ways.For example, apparatus embodiments described above are only illustrative, for example, unit
Division, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or group
Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown
Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, equipment or unit it is indirect
Coupling or communication connection can be electrical or other forms.
Each functional unit in embodiments of the present invention can integrate in one processing unit or each unit can also
To be independent physical module.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product
To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present invention is complete
Portion or part can be embodied in the form of software products, which is stored in a storage medium, packet
It includes some instructions to use so that a computer equipment, such as can be personal computer, server or the network equipment etc.,
Or processor (Processor) executes all or part of the steps of the method for each embodiment of the present invention.And storage above-mentioned is situated between
Matter includes: mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access
Memory, RAM), the various media that can store program code such as magnetic or disk.
Above embodiments are only used for that technical solution of the present invention is described in detail, but the explanation of above embodiments is only
It is the method for being used to help understand the embodiment of the present invention, should not be construed as the limitation to the embodiment of the present invention.The art
Any changes or substitutions that can be easily thought of by technical staff, should all cover within the protection scope of the embodiment of the present invention.
Claims (10)
1. a kind of information processing method is applied to general-purpose serial bus USB cluster server, which is characterized in that the USB set group
Server includes multiple USB port modules, and the USB set group server is connected by the multiple USB port module and USB device
It connects, which comprises
Receive the solicited message that the terminal device being communicatively coupled with the USB set group server is sent, the solicited message
The port information of the corresponding first USB port module of target USB device including premises equipment requests access;
Based on the solicited message, determined from least one USB device being connect with the multiple USB port module with it is described
Corresponding first USB device of the port information of first USB port module;
Establish the communication connection between the terminal device and first USB device.
2. the method as described in claim 1, which is characterized in that communicated in the reception with the USB set group server
Before the solicited message that the terminal device of connection is sent, which comprises
When detecting that at least one USB device is inserted into the USB set group server, establish at least one described USB device with
The corresponding relationship of multiple USB port modules of the USB set group server generates corresponding relationship list;
The corresponding relationship list is sent to the terminal device.
3. method according to claim 2, which is characterized in that described to detect at least one USB device insertion USB
When cluster server, pair of multiple USB port modules of at least one described USB device and the USB set group server is established
It should be related to, comprising:
The characteristic parameter of each USB device at least one USB device is obtained, the characteristic parameter includes the equipment of USB device
Mark;
Based on the characteristic parameter, establish at least one USB device device identification and the USB set group server it is more
One-to-one relationship between the port information of a USB port module.
4. method as claimed in claim 2 or claim 3, which is characterized in that carry out communication link with the USB set group server receiving
After the solicited message that the terminal device connect is sent, which comprises
Judgement at least one USB device that the USB set group server connects whether there is with the solicited message it is corresponding
The first USB device;
If at least one described USB device exist the first USB device corresponding with the solicited message, from it is the multiple
Corresponding with the port information of the first USB port module the is determined at least one USB device of USB port module connection
One USB device;Otherwise, the transmission of Xiang Suoshu terminal device is used to indicate to be not present at least one described USB device and ask with described
Seek the prompt information of corresponding first USB device of information.
5. a kind of general-purpose serial bus USB cluster server, which is characterized in that the USB set group server includes:
Multiple USB port modules, for connecting the USB set group server and USB device;
Receiving module, the solicited message sent for receiving the terminal device being communicatively coupled with the USB set group server,
The solicited message includes the port of the corresponding first USB port module of target USB device of the premises equipment requests access
Information;
Determining module is set for being based on the solicited message from least one USB connecting with the multiple USB port module
Standby middle determination the first USB device corresponding with the port information of the first USB port module;
Module is established, the communication connection between the terminal device and first USB device is established.
6. USB set group server as claimed in claim 5, which is characterized in that the USB set group server includes:
Detection module is believed in the request that the reception is sent with the terminal device that the USB set group server is communicatively coupled
Before breath, for when detecting that at least one USB device is inserted into the USB set group server, establishing at least one described USB
The corresponding relationship of equipment and multiple USB port modules of the USB set group server generates corresponding relationship list;
Sending module, for sending the corresponding relationship list to the terminal device.
7. USB set group server as claimed in claim 6, which is characterized in that the detection module is used for:
The characteristic parameter of each USB device at least one USB device is obtained, the characteristic parameter includes the equipment of USB device
Mark;
Based on the characteristic parameter, establish at least one USB device device identification and the USB set group server it is more
One-to-one relationship between the port information of a USB port module.
8. USB set group's server as claimed in claims 6 or 7, which is characterized in that the USB set group server further include:
Judgment module, at least one USB device for judging to connect with the USB set group server with the presence or absence of with it is described
Corresponding first USB device of solicited message;
If at least one described USB device exist the first USB device corresponding with the solicited message, from it is the multiple
Corresponding with the port information of the first USB port module the is determined at least one USB device of USB port module connection
One USB device;Otherwise, the transmission of Xiang Suoshu terminal device is used to indicate to be not present at least one described USB device and ask with described
Seek the prompt information of corresponding first USB device of information.
9. a kind of computer installation, which is characterized in that the computer installation includes processor, and the processor is deposited for executing
It realizes when the computer program stored in reservoir such as any one of claim 1-4 the method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to
It enables, when the computer instruction is run on computers, so that computer is executed as of any of claims 1-4
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710686236.9A CN109388598A (en) | 2017-08-11 | 2017-08-11 | A kind of information processing method and general-purpose serial bus USB cluster server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710686236.9A CN109388598A (en) | 2017-08-11 | 2017-08-11 | A kind of information processing method and general-purpose serial bus USB cluster server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109388598A true CN109388598A (en) | 2019-02-26 |
Family
ID=65414763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710686236.9A Pending CN109388598A (en) | 2017-08-11 | 2017-08-11 | A kind of information processing method and general-purpose serial bus USB cluster server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109388598A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543340A (en) * | 2019-08-09 | 2019-12-06 | 北京信安世纪科技股份有限公司 | Method, device, equipment and medium for determining password equipment corresponding to interface library |
CN112215668A (en) * | 2020-08-31 | 2021-01-12 | 航天信息股份有限公司 | Method and system for realizing automatic tax copying and reporting of remote escrow tax control equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100454283C (en) * | 2006-04-21 | 2009-01-21 | 英业达股份有限公司 | Dummy general serial bus apparatus system and its data transmission method |
CN101667934A (en) * | 2009-08-25 | 2010-03-10 | 中国工程物理研究院电子工程研究所 | Centralized supervision device and supervision method of USB interface equipment networking |
CN101529401B (en) * | 2006-07-28 | 2013-09-18 | 伊克隆技术公司 | Method and apparatus for distributing USB hub functions across a network |
CN104216840A (en) * | 2014-09-11 | 2014-12-17 | 青岛海信移动通信技术股份有限公司 | USB (universal serial bus) setting and method and device for operating external equipment |
CN104281542A (en) * | 2014-09-26 | 2015-01-14 | 中兴通讯股份有限公司 | Method, device and system for adaptation of multifunctional USB (universal serial bus) terminal equipment |
CN204719748U (en) * | 2015-06-24 | 2015-10-21 | 北京众合天下管理咨询有限公司 | The intelligent management system of extensive USB device |
CN106919525A (en) * | 2015-12-28 | 2017-07-04 | 航天信息股份有限公司 | A kind of USB device clustered control apparatus and system |
-
2017
- 2017-08-11 CN CN201710686236.9A patent/CN109388598A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100454283C (en) * | 2006-04-21 | 2009-01-21 | 英业达股份有限公司 | Dummy general serial bus apparatus system and its data transmission method |
CN101529401B (en) * | 2006-07-28 | 2013-09-18 | 伊克隆技术公司 | Method and apparatus for distributing USB hub functions across a network |
CN101667934A (en) * | 2009-08-25 | 2010-03-10 | 中国工程物理研究院电子工程研究所 | Centralized supervision device and supervision method of USB interface equipment networking |
CN104216840A (en) * | 2014-09-11 | 2014-12-17 | 青岛海信移动通信技术股份有限公司 | USB (universal serial bus) setting and method and device for operating external equipment |
CN104281542A (en) * | 2014-09-26 | 2015-01-14 | 中兴通讯股份有限公司 | Method, device and system for adaptation of multifunctional USB (universal serial bus) terminal equipment |
CN204719748U (en) * | 2015-06-24 | 2015-10-21 | 北京众合天下管理咨询有限公司 | The intelligent management system of extensive USB device |
CN106919525A (en) * | 2015-12-28 | 2017-07-04 | 航天信息股份有限公司 | A kind of USB device clustered control apparatus and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543340A (en) * | 2019-08-09 | 2019-12-06 | 北京信安世纪科技股份有限公司 | Method, device, equipment and medium for determining password equipment corresponding to interface library |
CN112215668A (en) * | 2020-08-31 | 2021-01-12 | 航天信息股份有限公司 | Method and system for realizing automatic tax copying and reporting of remote escrow tax control equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9219644B2 (en) | Automated configuration of new racks and other computing assets in a data center | |
CN105305418B (en) | A kind of distribution terminal self-described method based on IEC61850 standards | |
US11063835B2 (en) | IoT cloud to cloud architecture | |
CN104123324B (en) | Positioning and obtaining method and device for unread messages | |
CN109981360B (en) | Internet of things equipment site opening method, device and system and storage medium | |
CN106547634A (en) | A kind of method and device of striding course communication | |
CN109962953A (en) | Client communication method for building up and device | |
CN103441935A (en) | Method and device capable of automatically recognizing adjacency relation between server and access switch | |
CN107070752B (en) | Testing method and testing system for long connection capacity | |
CN102098309A (en) | Device and method for realizing multiuser access to USB equipment | |
CN106681799B (en) | It is inserted into the methods, devices and systems of disk | |
CN110191204A (en) | A kind of Intranet communication between devices method, system, device and computer storage medium | |
CN101599970A (en) | Home gateway is shared storage implementation method and device | |
CN104883277B (en) | A kind of information interacting method and system based on BMC | |
CN112463661A (en) | USB device management system and management method | |
CN109388598A (en) | A kind of information processing method and general-purpose serial bus USB cluster server | |
CN110730244A (en) | Networking method and system of DHT (distributed hash table) system, network equipment and storage medium | |
CN104536926B (en) | The control method and device of serial equipment | |
CN107360295A (en) | A kind of test main frame and method | |
CN104951417A (en) | Method for achieving USB combined device suitable for high-capacity USIM | |
CN110401561A (en) | A kind of server selection method, system, equipment and computer readable storage medium | |
CN110650546A (en) | File transmission method, device, storage medium and terminal | |
CN108390912A (en) | A kind of method and apparatus of multiport test data acquisition | |
CN1609819B (en) | Test method for computer external equipment interface | |
CN101917307A (en) | System, method and test device for testing maximum number of PPP connection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190226 |
|
RJ01 | Rejection of invention patent application after publication |