CN107846466A - Mapping method, server, cloud terminal and the system of cloud peripheral equipment of terminal - Google Patents

Mapping method, server, cloud terminal and the system of cloud peripheral equipment of terminal Download PDF

Info

Publication number
CN107846466A
CN107846466A CN201711127762.8A CN201711127762A CN107846466A CN 107846466 A CN107846466 A CN 107846466A CN 201711127762 A CN201711127762 A CN 201711127762A CN 107846466 A CN107846466 A CN 107846466A
Authority
CN
China
Prior art keywords
target device
cloud terminal
server
equipment
virtual unit
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.)
Granted
Application number
CN201711127762.8A
Other languages
Chinese (zh)
Other versions
CN107846466B (en
Inventor
黄珂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201711127762.8A priority Critical patent/CN107846466B/en
Publication of CN107846466A publication Critical patent/CN107846466A/en
Application granted granted Critical
Publication of CN107846466B publication Critical patent/CN107846466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application, which provides a kind of mapping method of cloud peripheral equipment of terminal, server, cloud terminal and system, this method, to be included:Receive the equipment list for the external equipment being connected with cloud terminal that cloud terminal is sent;According to equipment list, the device type of each external equipment is determined;According to the device type of each external equipment, it is determined that needing the device type of the target device and target device carried out data transmission using video flowing;Mapping request is generated according to the device type of target device;Device type identical virtual unit with target device is created according to mapping request;The mathematical logic link established between virtual unit and target device, so as to carry out data transmission between virtual unit and target device.The function of cloud terminal video peripheral hardware is effectively realized, improves the transfer rate and real-time of video stream data, improves the efficiency of virtual unit and the degree of accuracy corresponding to the device type for determining peripheral hardware and foundation.

Description

Mapping method, server, cloud terminal and the system of cloud peripheral equipment of terminal
Technical field
The application is related to cloud field, more particularly to a kind of mapping method of cloud peripheral equipment of terminal, server, cloud end End and system.
Background technology
With the development of cloud computing technology, cloud desktop technology is by more and more extensive use.Cloud desktop technology is a kind of remote Journey desktop virtual technology, under desktop virtual environment, cloud terminal uses the desktop of server by network connection, and user is to cloud The various operation transmissions of terminal carry out computing to server, and return the result to cloud terminal, therefore are connected to the outer of cloud terminal Portion's equipment needs to transfer data to server end ability normal use by certain mapping mode.
In the prior art, the mapping of the specific external equipment in part, such as USB flash disk, printer equipment are realized, and cloud terminal exists After connection camera, high photographing instrument etc. need the video peripheral hardware that video stream data transmits, it can not be mapped in virtual desktop, cause this A little external equipment functions can not realize that the poor operability and video stream data streaming efficiency of video peripheral hardware are low.Therefore, how Effectively realize the mapping of the video peripheral hardware of cloud terminal as the technical problem of urgent need to resolve.
The content of the invention
The application provides a kind of mapping method of cloud peripheral equipment of terminal, server, cloud terminal and system, existing to solve The problem of video peripheral hardware of technology cloud terminal connection can not be mapped to virtual desktop.
The application provides a kind of mapping method of cloud peripheral equipment of terminal on one side, including:
The equipment list for the external equipment being connected with the cloud terminal that cloud terminal is sent is received, the equipment list includes Device type corresponding to each external equipment identifies;
According to the equipment list, the device type of each external equipment is determined;
According to the device type of each external equipment, it is determined that needing the target device carried out data transmission using video flowing And the device type of the target device;
Mapping request is generated according to the device type of the target device;
Device type identical virtual unit with the target device is created according to the mapping request;
The mathematical logic link established between the virtual unit and the target device, so that the virtual unit and institute State and carry out data transmission between target device.
Further aspect of the application provides a kind of mapping method of cloud peripheral equipment of terminal, including:
The facility information for each external equipment being connected with cloud terminal is obtained, the facility information identifies including device type;
Equipment list is generated according to the facility information;
The equipment list is sent to server, so that the server determines each described according to the equipment list The device type of external equipment, determine to need to carry out data transmission using video flowing according to the device type of each external equipment Target device and the target device device type, according to the device type of the target device generate mapping request, According to the mapping request create with the device type identical virtual unit of the target device, establish the virtual unit with Mathematical logic link between the target device, make to carry out data transmission between the virtual unit and the target device.
The another aspect of the application provides a kind of server, including:
First receiving module is clear for receiving the equipment for the external equipment being connected with the cloud terminal of cloud terminal transmission Single, the equipment list includes device type corresponding to each external equipment and identified;
First determining module, for according to the equipment list, determining the device type of each external equipment;
First determining module, the device type according to each external equipment is additionally operable to, it is determined that needing to use video The target device and the device type of the target device that stream carries out data transmission;
First generation module, for generating mapping request according to the device type of the target device;
Lower floor's virtual unit bus driver, for creating the device type with the target device according to the mapping request Identical virtual unit;
Upper layer communication component, for establishing the mathematical logic link between the virtual unit and the target device, with Make to carry out data transmission between the virtual unit and the target device.
Another aspect of the application provides a kind of cloud terminal, including:
Second acquisition module, for obtaining the facility information for each external equipment being connected with cloud terminal, the facility information Identified including device type;
Second generation module, for generating equipment list according to the facility information;
Second sending module, for the equipment list to be sent into server, so that the server is set according to Standby inventory, the device type of each external equipment is determined, determine to need to use according to the device type of each external equipment The target device and the device type of the target device that video flowing carries out data transmission, according to the equipment of the target device Type generates mapping request, and the device type identical virtual unit with the target device is created according to the mapping request, The mathematical logic link established between the virtual unit and the target device, makes the virtual unit and the target device Between carry out data transmission.
The another aspect of the application provides a kind of mapped system of cloud peripheral equipment of terminal, including:
Server as described above and cloud terminal as described above.
Mapping method, server, cloud terminal and the system for the cloud peripheral equipment of terminal that the application provides, pass through acquisition and cloud The device type of all external equipments of terminal connection, wherein judge whether in need using video flowing to carry out data transmission Target device, and according to the device type of target device, generate mapping request, so that lower floor's virtual unit bus driver is according to reflecting Penetrate request establishment and the device type identical virtual unit of target device.Specific USB device pair need not be obtained by realizing The USB port number answered, signalling number is reduced, improve the effect of virtual unit corresponding to the device type for determining peripheral hardware and foundation Rate and the degree of accuracy.Meanwhile the mathematical logic link between virtual unit and target device, so that behaviour of the server to virtual unit Make to be sent to cloud terminal physical device by mathematical logic link, the data that physical device returns also can be via mathematical logic link Virtual unit is returned, effectively realizes the function of cloud terminal video peripheral hardware, improves the transfer rate and real-time of video stream data.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this Shens Some embodiments please, for those of ordinary skill in the art, without having to pay creative labor, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the mapping method for the cloud peripheral equipment of terminal that the embodiment of the application one provides;
Fig. 2 is the schematic flow sheet of the mapping method for the cloud peripheral equipment of terminal that another embodiment of the application provides;
Fig. 3 is the structural representation for the server that the embodiment of the application one provides;
Fig. 4 is the structural representation for the server that another embodiment of the application provides;
Fig. 5 is the structural representation for the cloud terminal that the embodiment of the application one provides;
Fig. 6 is the structural representation for the cloud terminal that another embodiment of the application provides;
Fig. 7 is the structural representation of the mapped system for the cloud peripheral equipment of terminal that the embodiment of the application one provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belong to the scope of the application protection.
Embodiment one
The present embodiment provides a kind of mapping method of cloud peripheral equipment of terminal, the mapping for cloud terminal video peripheral hardware.This The executive agent of embodiment is server.
As shown in figure 1, the schematic flow sheet of the mapping method of the cloud peripheral equipment of terminal provided for the present embodiment, this method Including:
Step 101, the equipment list for the external equipment being connected with cloud terminal that cloud terminal is sent is received, equipment list includes Device type corresponding to each external equipment identifies.
Step 102, according to equipment list, the device type of each external equipment is determined.
Step 103, according to the device type of each external equipment, it is determined that needing the target carried out data transmission using video flowing The device type of equipment and target device.
Step 104, mapping request is generated according to the device type of target device.
Step 105, the device type identical virtual unit with target device is created according to mapping request.
Step 106, the mathematical logic link established between virtual unit and target device, so that virtual unit is set with target Carry out data transmission between standby.
Specifically, when there is external equipment to be connected with cloud terminal, cloud terminal can obtain connected all outsides and set Standby equipment list, the equipment list can include device type corresponding to each external equipment and identify, and cloud terminal will then give equipment Inventory is sent to server.
After server receives equipment list, the device type of each external equipment according to equipment list, can be determined, specifically Device type it can be identified according to corresponding to each external equipment to determine.After the device type of each external equipment is determined, Can be according to the device type of each external equipment, it is determined that wherein needing the external equipment carried out data transmission using video flowing, i.e., Target device, by the upper device type that can determine the target device.Server then can be according to the equipment of target device Type generation mapping request is sent to lower floor's virtual unit bus driver, makes lower floor's virtual unit bus driver according to mapping request The device type identical virtual unit with target device is created on virtual desktop.And it can be established by upper layer communication component Mathematical logic link between virtual unit and target device, so as to carry out data transmission between virtual unit and target device. It is achieved thereby that the virtualization of the video peripheral hardware of cloud terminal connection is mapped in virtual desktop so that video peripheral functionality can be real It is existing, improve the operability of video peripheral hardware and the efficiency of transmission of video stream data.
The mapping method for the cloud peripheral equipment of terminal that the present embodiment provides, by obtaining all outsides being connected with cloud terminal The device type of equipment, judge whether the target device in need carried out data transmission using video flowing wherein, and according to mesh The device type of marking device, mapping request is generated, so that lower floor's virtual unit bus driver is created according to mapping request and target The device type identical virtual unit of equipment.USB port number corresponding to need not obtaining specific USB device is realized, is subtracted Few signalling number, improve the efficiency of virtual unit and the degree of accuracy corresponding to the device type for determining peripheral hardware and foundation.Meanwhile Mathematical logic link between virtual unit and target device, so that operation of the server to virtual unit passes through mathematical logic chain Road is sent to cloud terminal physical device, and the data that physical device returns also can return to virtual unit via mathematical logic link, have Effect realizes the function of cloud terminal video peripheral hardware, improves the transfer rate and real-time of video stream data.
Embodiment two
The mapping method for the cloud peripheral equipment of terminal that the present embodiment is provided embodiment one does further supplementary notes.
On the basis of above-described embodiment one, alternatively, after step 106, this method can also include:
Step 107, user operation instruction is obtained.
Step 108, user operation instruction is converted into the director data bag that mathematical logic link can transmit.
Step 109, by mathematical logic link, director data bag is sent to cloud terminal, so that cloud terminal is according to instruction Packet, operational order corresponding to acquisition, target device is sent to, and receives the video stream data of target device return, will regarded Frequency flow data feeds back to server.
Step 110, the video stream data of cloud terminal feedback is received, to be shown to user by virtual unit.
The device type identical virtual unit with target device is created in virtual desktop specifically, working as, and is established After mathematical logic link between the virtual unit and the target device of reality, between the target device of virtual unit and reality It can then carry out data transmission.
When user is operated by virtual desktop to virtual unit, server can then obtain user operation instruction, User operation instruction is converted into the director data bag that mathematical logic link can transmit, then can pass through mathematical logic link will Director data bag is sent to cloud terminal.
After cloud terminal receives the director data bag of server transmission, it can be grasped according to corresponding to obtaining director data bag Make instruction and be sent to actual target device, performed with control targe equipment and operate and return video stream data, cloud terminal receives Video stream data is then fed back into server after the video stream data returned to target device.
, then can be corresponding by target device on virtual desktop after server receives the video stream data of cloud terminal feedback Virtual unit be shown to user, for example play the video of shooting, either show video record preview or preview effect of taking pictures Deng.
It should be noted that because the shooting of video has time interval, therefore, server can identify that user's operation refers to Order is specifically any operation, can be that video record or photographing instruction or video record terminate or taken pictures END instruction Deng, server when monitoring that user sends video record or photographing instruction, by said process video peripheral hardware can be controlled to open Begin to record or shoot, when monitoring END instruction, video peripheral hardware can be controlled to stop recording or shooting, recording or shooting In journey or after end, video stream data is returned into cloud terminal, video stream data can be then sent to server and entered by cloud terminal Row display plays.
On the basis of above-described embodiment one, alternatively, before step 101, this method can also include:
Step 201, the prompting message for the external equipment access cloud terminal that cloud terminal is sent is received.
Step 202, inquiry request is generated according to prompting message.
Step 203, inquiry request is sent to cloud terminal, be connected so that cloud terminal obtains according to inquiry request with cloud terminal Each external equipment facility information, and according to facility information generate equipment list be sent to server.
Specifically, when there is external equipment to access cloud terminal, cloud terminal can monitor, then can generate prompting message hair Give server.
After server receives the prompting message of cloud terminal transmission, inquiry request can be generated according to prompting message and be sent to Cloud terminal.
After cloud terminal receives inquiry request, the equipment that connected all external equipments are obtained according to inquiry request is believed Breath, the facility information can include device type corresponding to each equipment and identify, and cloud terminal can generate equipment according to facility information Inventory is sent to server.
Server can then perform above-mentioned steps 101-110 after receiving equipment list.
The mapping method for the cloud peripheral equipment of terminal that the present embodiment provides, by obtaining all outsides being connected with cloud terminal The device type of equipment, judge whether the target device in need carried out data transmission using video flowing wherein, and according to mesh The device type of marking device, mapping request is generated, so that lower floor's virtual unit bus driver is created according to mapping request and target The device type identical virtual unit of equipment.USB port number corresponding to need not obtaining specific USB device is realized, is subtracted Few signalling number, improve the efficiency of virtual unit and the degree of accuracy corresponding to the device type for determining peripheral hardware and foundation.Meanwhile Mathematical logic link between virtual unit and target device, so that operation of the server to virtual unit passes through mathematical logic chain Road is sent to cloud terminal physical device, and the data that physical device returns also can return to virtual unit via mathematical logic link, have Effect realizes the function of cloud terminal video peripheral hardware, improves the transfer rate and real-time of video stream data.
Embodiment three
The present embodiment provides a kind of mapping method of cloud peripheral equipment of terminal, the mapping for cloud terminal video peripheral hardware.This The executive agent of embodiment is cloud terminal.
As shown in Fig. 2 the schematic flow sheet of the mapping method of the cloud peripheral equipment of terminal provided for the present embodiment, this method Including:
Step 301, the facility information for each external equipment being connected with cloud terminal is obtained, facility information includes device type mark Know.
Step 302, equipment list is generated according to facility information.
Step 303, equipment list is sent to server.
Equipment list is sent to server, so that server according to equipment list, determines the equipment class of each external equipment Type, set according to the target device and target that the device type of each external equipment determines to need to carry out data transmission using video flowing Standby device type, mapping request is generated according to the device type of target device, created and target device according to mapping request Device type identical virtual unit, the mathematical logic link established between virtual unit and target device, make virtual unit with Carry out data transmission between target device.
It should be noted that step 301-303 concrete operations are described in detail in the above-described embodiments, herein Repeat no more.
The mapping method for the cloud peripheral equipment of terminal that the present embodiment provides, by obtaining all outsides being connected with cloud terminal The device type of equipment, judge whether the target device in need carried out data transmission using video flowing wherein, and according to mesh The device type of marking device, mapping request is generated, so that lower floor's virtual unit bus driver is created according to mapping request and target The device type identical virtual unit of equipment.USB port number corresponding to need not obtaining specific USB device is realized, is subtracted Few signalling number, improve the efficiency of virtual unit and the degree of accuracy corresponding to the device type for determining peripheral hardware and foundation.Meanwhile Mathematical logic link between virtual unit and target device, so that operation of the server to virtual unit passes through mathematical logic chain Road is sent to cloud terminal physical device, and the data that physical device returns also can return to virtual unit via mathematical logic link, have Effect realizes the function of cloud terminal video peripheral hardware, improves the transfer rate and real-time of video stream data.
Example IV
The mapping method for the cloud peripheral equipment of terminal that the present embodiment is provided embodiment three does further supplementary notes.
On the basis of above-described embodiment three, alternatively, after step 303, it can also include:
Step 304, the director data bag that the reception server is sent by mathematical logic link.
Step 305, according to director data bag, operational order corresponding to acquisition.
Step 306, operational order is sent to target device, is performed with control targe equipment and operate and return video fluxion According to.
Step 307, the video stream data that target device returns is received.
Step 308, video stream data is fed back into server, so that server shows video stream data by virtual unit Show to user.
Alternatively, step 305, can specifically include:
Step 3051, the Transfer that director data bag being converted into bottom layer driving interface can be handled transmits instruction.
Step 3052, instruction calls bottom layer driving interface, operational order corresponding to acquisition are transmitted by Transfer.
Specifically, after cloud terminal receives the director data bag that server is sent by mathematical logic link, will instruct Packet is converted into the Transfer transmission instructions that bottom layer driving interface can be handled, and instruction calls bottom is transmitted by Transfer Layer driving interface, operational order corresponding to acquisition are interacted by bottom layer driving with target device, and operational order is sent into target sets It is standby, operation is performed with control targe equipment.
Alternatively, after cloud terminal receives the director data bag that server is sent by mathematical logic link, Ke Yigen Packet header according to director data bag determines whether director data, if director data, then director data bag is converted into bottom and driven The Transfer transmission instructions that mobile interface can be handled, and subsequent step.
On the basis of above-described embodiment three, alternatively, step 301 can specifically include:
Step 3011, when there is external equipment to access cloud terminal, prompting message is generated.
Step 3012, it will be prompted to message and be sent to server, sent out so that server generates inquiry request according to prompting message Give cloud terminal.
Step 3013, the inquiry request that the reception server is sent.
Step 3014, the facility information for each external equipment being connected with cloud terminal is obtained according to inquiry request.
It should be noted that step 304-308 and step 3011-3014 concrete operations are entered in the above-described embodiments Detailed description is gone, will not be repeated here.
The mapping method for the cloud peripheral equipment of terminal that the present embodiment provides, by obtaining all outsides being connected with cloud terminal The device type of equipment, judge whether the target device in need carried out data transmission using video flowing wherein, and according to mesh The device type of marking device, mapping request is generated, so that lower floor's virtual unit bus driver is created according to mapping request and target The device type identical virtual unit of equipment.USB port number corresponding to need not obtaining specific USB device is realized, is subtracted Few signalling number, improve the efficiency of virtual unit and the degree of accuracy corresponding to the device type for determining peripheral hardware and foundation.Meanwhile Mathematical logic link between virtual unit and target device, so that operation of the server to virtual unit passes through mathematical logic chain Road is sent to cloud terminal physical device, and the data that physical device returns also can return to virtual unit via mathematical logic link, have Effect realizes the function of cloud terminal video peripheral hardware, improves the transfer rate and real-time of video stream data.
Embodiment five
The present embodiment provides a kind of server, the mapping of the cloud peripheral equipment of terminal for performing the offer of above-described embodiment one Method.
As shown in figure 3, the structural representation of the server provided for the present embodiment.The server 50 includes first and receives mould Block 51, the first determining module 52, the first generation module 53, lower floor's virtual unit bus driver 54 and upper layer communication component 55.
Wherein, the equipment of the external equipment that with cloud terminal is connected of first receiving module 51 for receiving the transmission of cloud terminal is clear Single, equipment list includes device type corresponding to each external equipment and identified;First determining module 52 is used for according to equipment list, really The device type of fixed each external equipment;First determining module 52 is additionally operable to the device type according to each external equipment, it is determined that needing The target device and the device type of target device carried out data transmission using video flowing;First generation module 53 is used for basis The device type generation mapping request of target device;Lower floor's virtual unit bus driver 54 is used to be created according to mapping request and mesh The device type identical virtual unit of marking device;Upper layer communication component 55 is used to establish between virtual unit and target device Mathematical logic link, so as to carry out data transmission between virtual unit and target device.
On the server in the present embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The server provided according to the present embodiment, by the equipment class for obtaining all external equipments being connected with cloud terminal Type, judge whether the target device in need carried out data transmission using video flowing wherein, and according to the equipment of target device Type, mapping request is generated, so that lower floor's virtual unit bus driver creates the equipment class with target device according to mapping request Type identical virtual unit.USB port number corresponding to specific USB device need not be obtained by realizing, and reduce signalling Number, improve the efficiency of virtual unit and the degree of accuracy corresponding to the device type for determining peripheral hardware and foundation.Meanwhile virtual unit and mesh Mathematical logic link between marking device, so that operation of the server to virtual unit is sent to cloud end by mathematical logic link Physical device is held, the data that physical device returns also can return to virtual unit via mathematical logic link, effectively realize cloud end The function of video peripheral hardware is held, improves the transfer rate and real-time of video stream data.
Embodiment six
The server that the present embodiment is provided above-described embodiment five does further supplementary notes.
As shown in figure 4, the structural representation of the server provided for the present embodiment.On the basis of above-described embodiment five, Alternatively, the server 50 can also include:First acquisition module 56, the first modular converter 57 and the first sending module 58.
Alternatively, the first acquisition module 56 is used to obtain user operation instruction;First modular converter 57 is used to grasp user Make instruction and be converted to the director data bag that mathematical logic link can transmit;First sending module 58 is used to pass through mathematical logic chain Road, director data bag is sent to cloud terminal, so that cloud terminal according to director data bag, operational order corresponding to acquisition, is sent To target device, and the video stream data of target device return is received, video stream data is fed back into server;First receives mould Block 51 is additionally operable to receive the video stream data of cloud terminal feedback, to be shown to user by virtual unit.
Alternatively, the first receiving module 51 is additionally operable to receive the prompting of the external equipment access cloud terminal that cloud terminal is sent and disappeared Breath;First generation module 53 is additionally operable to generate inquiry request according to prompting message;First sending module 58 is additionally operable to please by inquiry Ask and be sent to cloud terminal, so that cloud terminal obtains the facility information for each external equipment being connected with cloud terminal according to inquiry request, And equipment list is generated according to facility information and is sent to server.
On the server in the present embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
According to the server of the present embodiment, the device type for all external equipments being connected by acquisition with cloud terminal, Wherein judge whether the target device in need carried out data transmission using video flowing, and according to the device type of target device, Mapping request is generated, so that lower floor's virtual unit bus driver is identical with the device type of target device according to mapping request establishment Virtual unit.USB port number corresponding to specific USB device need not be obtained by realizing, and reduce signalling number, be improved Determine peripheral hardware device type and foundation corresponding to virtual unit efficiency and the degree of accuracy.Meanwhile virtual unit and target device Between mathematical logic link so that operation of the server to virtual unit by mathematical logic link be sent to cloud terminal reality Equipment, the data that physical device returns also can return to virtual unit via mathematical logic link, effectively realize cloud terminal video The function of peripheral hardware, improve the transfer rate and real-time of video stream data.
Embodiment seven
The present embodiment provides a kind of cloud terminal, the mapping of the cloud peripheral equipment of terminal for performing the offer of above-described embodiment three Method.
As shown in figure 5, the structural representation of the cloud terminal provided for the present embodiment.The cloud terminal 70 includes second and obtains mould Block 71, the second generation module 72 and the second sending module 73.
Wherein, the second acquisition module 71 is used for the facility information for obtaining each external equipment being connected with cloud terminal, equipment letter Breath includes device type mark;Second generation module 72 is used to generate equipment list according to facility information;Second sending module 73 For equipment list to be sent into server, so that server according to equipment list, determines the device type of each external equipment, root Determine to need the target device that carries out data transmission using video flowing and target device according to the device type of each external equipment Device type, mapping request is generated according to the device type of target device, and the equipment with target device is created according to mapping request Type identical virtual unit, the mathematical logic link established between virtual unit and target device, makes virtual unit and target Carry out data transmission between equipment.
On the cloud terminal in the present embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The cloud terminal provided according to the present embodiment, by the equipment class for obtaining all external equipments being connected with cloud terminal Type, judge whether the target device in need carried out data transmission using video flowing wherein, and according to the equipment of target device Type, mapping request is generated, so that lower floor's virtual unit bus driver creates the equipment class with target device according to mapping request Type identical virtual unit.USB port number corresponding to specific USB device need not be obtained by realizing, and reduce signalling Number, improve the efficiency of virtual unit and the degree of accuracy corresponding to the device type for determining peripheral hardware and foundation.Meanwhile virtual unit and mesh Mathematical logic link between marking device, so that operation of the server to virtual unit is sent to cloud end by mathematical logic link Physical device is held, the data that physical device returns also can return to virtual unit via mathematical logic link, effectively realize cloud end The function of video peripheral hardware is held, improves the transfer rate and real-time of video stream data.
Embodiment eight
The cloud terminal that the present embodiment is provided above-described embodiment seven does further supplementary notes.
As shown in fig. 6, the structural representation of the cloud terminal provided for the present embodiment.On the basis of above-described embodiment seven, Alternatively, the cloud terminal 70 can also include the second receiving module 74, the second determining module 75 and bottom layer driving 76.
Alternatively, the second receiving module 74 is used for the director data bag that the reception server is sent by mathematical logic link; Second determining module 75 is used for according to director data bag, operational order corresponding to acquisition;Bottom layer driving 76 is used for operational order Target device is sent to, is performed with control targe equipment and operates and return video stream data;Second receiving module 74 is additionally operable to connect Receive the video stream data that target device returns;Second sending module 73 is additionally operable to video stream data feeding back to server, so that Video stream data is shown to user by server by virtual unit.
Alternatively, the second generation module 72 is additionally operable to, when there is external equipment to access cloud terminal, generate prompting message;Second Sending module 73 is additionally operable to will be prompted to message to be sent to server, is sent so that server generates inquiry request according to prompting message Give cloud terminal;Second receiving module 74 is additionally operable to the inquiry request of the reception server transmission;Second acquisition module 71 is additionally operable to root It is investigated that ask the facility information for each external equipment that acquisition request is connected with cloud terminal.
Alternatively, the second determining module 75 can specifically include transform subblock and processing submodule.
Wherein, transform subblock is used for the Transfer biographies that director data bag is converted into bottom layer driving interface and can handled Defeated instruction;Submodule is handled to be used to transmit instruction calls bottom layer driving interface, operational order corresponding to acquisition by Transfer.
On the cloud terminal in the present embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
According to the cloud terminal of the present embodiment, the device type for all external equipments being connected by acquisition with cloud terminal, Wherein judge whether the target device in need carried out data transmission using video flowing, and according to the device type of target device, Mapping request is generated, so that lower floor's virtual unit bus driver is identical with the device type of target device according to mapping request establishment Virtual unit.USB port number corresponding to specific USB device need not be obtained by realizing, and reduce signalling number, be improved Determine peripheral hardware device type and foundation corresponding to virtual unit efficiency and the degree of accuracy.Meanwhile virtual unit and target device Between mathematical logic link so that operation of the server to virtual unit by mathematical logic link be sent to cloud terminal reality Equipment, the data that physical device returns also can return to virtual unit via mathematical logic link, effectively realize cloud terminal video The function of peripheral hardware, improve the transfer rate and real-time of video stream data.
Embodiment nine
The present embodiment provides a kind of mapped system of cloud peripheral equipment of terminal, and the cloud for performing above-described embodiment offer is whole Hold the mapping method of external equipment.
As shown in fig. 7, the structural representation of the mapped system of the cloud peripheral equipment of terminal provided for the present embodiment.The cloud is whole Hold what server 50 and any of the above-described embodiment of the mapped system 90 of external equipment including the offer of any of the above-described embodiment provided Cloud terminal 70.It is to be appreciated that cloud terminal passes through network connection with server.
Alternatively, the system 90 can also include each external equipment being connected with cloud terminal.
On the system in the present embodiment, wherein the concrete mode that each module of each part performs operation exists It is described in detail in embodiment about this method, explanation will be not set forth in detail herein.
The mapped system of the cloud peripheral equipment of terminal provided according to the present embodiment, obtained by server and be connected with cloud terminal All external equipments device type, judge whether that the target in need carried out data transmission using video flowing is set wherein It is standby, and according to the device type of target device, mapping request is generated, so that lower floor's virtual unit bus driver is according to mapping request Create the device type identical virtual unit with target device.USB corresponding to specific USB device need not be obtained by realizing Port numbers, signalling number is reduced, improve the efficiency and standard of virtual unit corresponding to the device type for determining peripheral hardware and foundation Exactness.Meanwhile the mathematical logic link between virtual unit and target device, so that operation of the server to virtual unit passes through Mathematical logic link is sent to cloud terminal physical device, and the data that physical device returns can also return empty via mathematical logic link Propose standby, effectively realize the function of cloud terminal video peripheral hardware, improve the transfer rate and real-time of video stream data.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
Finally it should be noted that:Above example is only to illustrate the technical scheme of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modifications or replacement, the essence of appropriate technical solution is departed from the scope of each embodiment technical scheme of the application.

Claims (15)

  1. A kind of 1. mapping method of cloud peripheral equipment of terminal, it is characterised in that including:
    The equipment list for the external equipment being connected with the cloud terminal that cloud terminal is sent is received, the equipment list includes each institute Device type corresponding to external equipment is stated to identify;
    According to the equipment list, the device type of each external equipment is determined;
    According to the device type of each external equipment, it is determined that need the target device that is carried out data transmission using video flowing and The device type of the target device;
    Mapping request is generated according to the device type of the target device;
    Device type identical virtual unit with the target device is created according to the mapping request;
    The mathematical logic link established between the virtual unit and the target device, so that the virtual unit and the mesh Carry out data transmission between marking device.
  2. 2. according to the method for claim 1, it is characterised in that establishing between the virtual unit and the target device Mathematical logic link so that after carrying out data transmission between the virtual unit and the target device, methods described is also Including:
    Obtain user operation instruction;
    The user operation instruction is converted into the director data bag that the mathematical logic link can transmit;
    By the mathematical logic link, the director data bag is sent to the cloud terminal so that the cloud terminal according to The director data bag, operational order corresponding to acquisition, is sent to the target device, and receives what the target device returned Video stream data, the video stream data is fed back into server;
    The video stream data of the cloud terminal feedback is received, to be shown to user by the virtual unit.
  3. 3. according to the method for claim 2, it is characterised in that be connected receive that cloud terminal sends with the cloud terminal Before the equipment list of external equipment, methods described also includes:
    Receive the prompting message that the external equipment that the cloud terminal is sent accesses the cloud terminal;
    Inquiry request is generated according to the prompting message;
    The inquiry request is sent to the cloud terminal, so that the cloud terminal obtains and the cloud according to the inquiry request The facility information of each external equipment of terminal connection, and the equipment list is generated according to the facility information and is sent to service Device.
  4. A kind of 4. mapping method of cloud peripheral equipment of terminal, it is characterised in that including:
    The facility information for each external equipment being connected with cloud terminal is obtained, the facility information identifies including device type;
    Equipment list is generated according to the facility information;
    The equipment list is sent to server, so that the server determines each outside according to the equipment list The device type of equipment, determined to need the mesh carried out data transmission using video flowing according to the device type of each external equipment The device type of marking device and the target device, mapping request is generated according to the device type of the target device, according to The mapping request creates the device type identical virtual unit with the target device, establish the virtual unit with it is described Mathematical logic link between target device, make to carry out data transmission between the virtual unit and the target device.
  5. 5. according to the method for claim 4, it is characterised in that after the equipment list is sent into server, institute Stating method also includes:
    Receive the director data bag that the server is sent by mathematical logic link;
    According to the director data bag, operational order corresponding to acquisition, the target device is sent to, to control the target to set Standby perform operates and returned video stream data;
    The video stream data that the target device returns is received, and the video stream data is fed back into the server, so that The video stream data is shown to user by the server by the virtual unit.
  6. 6. according to the method for claim 5, it is characterised in that each external equipment that the acquisition is connected with cloud terminal is set Standby information, including:
    When there is external equipment to access cloud terminal, generation prompting message is sent to server, so that the server is according to Prompting message generation inquiry request is sent to cloud terminal;
    The inquiry request that the reception server is sent;
    The facility information for each external equipment being connected with the cloud terminal is obtained according to the inquiry request.
  7. 7. according to the method for claim 5, it is characterised in that it is described according to the director data bag, obtain corresponding grasp Instruct, including:
    The Transfer that the director data bag is converted into bottom layer driving interface to be handled transmits instruction;
    Instruction calls bottom layer driving interface, operational order corresponding to acquisition are transmitted by the Transfer.
  8. A kind of 8. server, it is characterised in that including:
    First receiving module, the equipment list of the external equipment being connected with the cloud terminal for receiving the transmission of cloud terminal, institute Stating equipment list includes device type mark corresponding to each external equipment;
    First determining module, for according to the equipment list, determining the device type of each external equipment;
    First determining module, the device type according to each external equipment is additionally operable to, it is determined that needing to flow into using video The device type of the target device of row data transfer and the target device;
    First generation module, for generating mapping request according to the device type of the target device;
    Lower floor's virtual unit bus driver is identical with the device type of the target device for being created according to the mapping request Virtual unit;
    Upper layer communication component, for establishing the mathematical logic link between the virtual unit and the target device, so that institute State and carry out data transmission between virtual unit and the target device.
  9. 9. server according to claim 8, it is characterised in that also include:
    First acquisition module, for obtaining user operation instruction;
    First modular converter, for the user operation instruction to be converted into the instruction number that the mathematical logic link can transmit According to bag;
    First sending module, for by the mathematical logic link, the director data bag to be sent into the cloud terminal, with The cloud terminal is set operational order corresponding to acquisition, to be sent to the target device, and receive institute according to the director data bag The video stream data of target device return is stated, the video stream data is fed back into server;
    First receiving module, it is additionally operable to receive the video stream data of the cloud terminal feedback, to pass through the virtual unit It is shown to user.
  10. 10. server according to claim 9, it is characterised in that first receiving module, be additionally operable to receive the cloud The external equipment that terminal is sent accesses the prompting message of the cloud terminal;
    First generation module, it is additionally operable to generate inquiry request according to the prompting message;
    First sending module, be additionally operable to the inquiry request being sent to the cloud terminal so that the cloud terminal according to The inquiry request obtains the facility information for each external equipment being connected with the cloud terminal, and is generated according to the facility information The equipment list is sent to server.
  11. A kind of 11. cloud terminal, it is characterised in that including:
    Second acquisition module, for obtaining the facility information for each external equipment being connected with cloud terminal, the facility information includes Device type identifies;
    Second generation module, for generating equipment list according to the facility information;
    Second sending module, for the equipment list to be sent into server, so that the server is clear according to the equipment It is single, the device type of each external equipment is determined, determines to need to use video according to the device type of each external equipment The target device and the device type of the target device that stream carries out data transmission, according to the device type of the target device Mapping request is generated, the device type identical virtual unit with the target device is created according to the mapping request, established Mathematical logic link between the virtual unit and the target device, makes between the virtual unit and the target device Carry out data transmission.
  12. 12. cloud terminal according to claim 11, it is characterised in that also include:
    Second receiving module, the director data bag sent for receiving the server by mathematical logic link;
    Second determining module, for according to the director data bag, operational order corresponding to acquisition;
    Bottom layer driving, for operational order to be sent into the target device, operate and return to control the target device to perform Return video stream data;
    Second receiving module, it is additionally operable to receive the video stream data that the target device returns;
    Second sending module, it is additionally operable to the video stream data feeding back to the server, so that the server will The video stream data is shown to user by the virtual unit.
  13. 13. cloud terminal according to claim 12, it is characterised in that second generation module, being additionally operable to work as has outside When equipment accesses cloud terminal, prompting message is generated;
    Second sending module, it is additionally operable to the prompting message being sent to server, so that the server is according to Prompting message generation inquiry request is sent to cloud terminal;
    Second receiving module, it is additionally operable to the inquiry request of the reception server transmission;
    Second acquisition module, it is additionally operable to obtain each external equipment being connected with the cloud terminal according to the inquiry request Facility information.
  14. 14. cloud terminal according to claim 12, it is characterised in that second determining module, including:
    Transform subblock, the Transfer transmission that can be handled for the director data bag to be converted into bottom layer driving interface refer to Order;
    Submodule is handled, for transmitting instruction calls bottom layer driving interface by the Transfer, corresponding operation is obtained and refers to Order.
  15. A kind of 15. mapped system of cloud peripheral equipment of terminal, it is characterised in that including:
    Server as described in claim any one of 8-10 and the cloud terminal as described in claim any one of 11-14.
CN201711127762.8A 2017-11-15 2017-11-15 Mapping method of cloud terminal external equipment, server, cloud terminal and system Active CN107846466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711127762.8A CN107846466B (en) 2017-11-15 2017-11-15 Mapping method of cloud terminal external equipment, server, cloud terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711127762.8A CN107846466B (en) 2017-11-15 2017-11-15 Mapping method of cloud terminal external equipment, server, cloud terminal and system

Publications (2)

Publication Number Publication Date
CN107846466A true CN107846466A (en) 2018-03-27
CN107846466B CN107846466B (en) 2020-04-07

Family

ID=61678923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711127762.8A Active CN107846466B (en) 2017-11-15 2017-11-15 Mapping method of cloud terminal external equipment, server, cloud terminal and system

Country Status (1)

Country Link
CN (1) CN107846466B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810583A (en) * 2018-06-26 2018-11-13 中国联合网络通信集团有限公司 The method, apparatus of video steaming transfer, equipment and medium under desktop virtual environment
CN108965768A (en) * 2018-08-08 2018-12-07 西安万像电子科技有限公司 The transmission method and system of multi-medium data
CN109395372A (en) * 2018-12-07 2019-03-01 上海达龙信息科技有限公司 Realize method, system and the electronic equipment of game paddle remote control computer game
CN111405059A (en) * 2020-03-26 2020-07-10 北京自如信息科技有限公司 Data transmission method of cloud equipment, electronic equipment and Internet of things system
CN112131146A (en) * 2019-06-24 2020-12-25 维塔科技(北京)有限公司 Method and device for acquiring equipment information, storage medium and electronic equipment
CN113407044A (en) * 2021-07-16 2021-09-17 北京百度网讯科技有限公司 Method, device, equipment and storage medium for simulating terminal handle input
CN113691465A (en) * 2020-05-19 2021-11-23 阿里巴巴集团控股有限公司 Data transmission method, intelligent network card, computing device and storage medium
CN113805952A (en) * 2021-09-17 2021-12-17 中国联合网络通信集团有限公司 Peripheral virtualization management method, server and system
CN114938384A (en) * 2022-04-25 2022-08-23 惠州华阳通用电子有限公司 Virtualization device and method based on area EEA architecture
CN115253284A (en) * 2022-07-20 2022-11-01 天翼安全科技有限公司 Game control method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980143A (en) * 2010-10-26 2011-02-23 南开大学 Method for simultaneously displaying multiple computer desktops on single physical projector
CN102571764A (en) * 2010-12-14 2012-07-11 微软公司 Real-time media optimization over remoted sessions
US8433873B2 (en) * 2010-03-04 2013-04-30 Apple Inc. Disposition instructions for extended access commands
CN103677711A (en) * 2012-09-10 2014-03-26 三星电子株式会社 Method for connecting mobile terminal and external display and apparatus implementing the same
CN104994077A (en) * 2015-06-08 2015-10-21 北京奇虎科技有限公司 Wireless local area network access equipment identity marking method and device
CN105100157A (en) * 2014-05-15 2015-11-25 中兴通讯股份有限公司 USB equipment mapping and interaction methods, apparatuses, cloud terminal, and cloud server
CN105263175A (en) * 2015-10-29 2016-01-20 华为技术有限公司 Networking method for intelligent equipment, intelligent equipment and mobile terminal
CN107239272A (en) * 2017-04-10 2017-10-10 成都长天信息技术有限公司 A kind of video capture device reorientation method and device
CN107277163A (en) * 2017-07-21 2017-10-20 北京奇安信科技有限公司 A kind of long-range mapping method of equipment and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8433873B2 (en) * 2010-03-04 2013-04-30 Apple Inc. Disposition instructions for extended access commands
CN101980143A (en) * 2010-10-26 2011-02-23 南开大学 Method for simultaneously displaying multiple computer desktops on single physical projector
CN102571764A (en) * 2010-12-14 2012-07-11 微软公司 Real-time media optimization over remoted sessions
CN103677711A (en) * 2012-09-10 2014-03-26 三星电子株式会社 Method for connecting mobile terminal and external display and apparatus implementing the same
CN105100157A (en) * 2014-05-15 2015-11-25 中兴通讯股份有限公司 USB equipment mapping and interaction methods, apparatuses, cloud terminal, and cloud server
CN104994077A (en) * 2015-06-08 2015-10-21 北京奇虎科技有限公司 Wireless local area network access equipment identity marking method and device
CN105263175A (en) * 2015-10-29 2016-01-20 华为技术有限公司 Networking method for intelligent equipment, intelligent equipment and mobile terminal
CN107239272A (en) * 2017-04-10 2017-10-10 成都长天信息技术有限公司 A kind of video capture device reorientation method and device
CN107277163A (en) * 2017-07-21 2017-10-20 北京奇安信科技有限公司 A kind of long-range mapping method of equipment and device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810583A (en) * 2018-06-26 2018-11-13 中国联合网络通信集团有限公司 The method, apparatus of video steaming transfer, equipment and medium under desktop virtual environment
CN108965768A (en) * 2018-08-08 2018-12-07 西安万像电子科技有限公司 The transmission method and system of multi-medium data
CN108965768B (en) * 2018-08-08 2021-03-02 西安万像电子科技有限公司 Method and system for transmitting multimedia data
CN109395372A (en) * 2018-12-07 2019-03-01 上海达龙信息科技有限公司 Realize method, system and the electronic equipment of game paddle remote control computer game
CN112131146B (en) * 2019-06-24 2022-07-12 维塔科技(北京)有限公司 Method and device for acquiring equipment information, storage medium and electronic equipment
CN112131146A (en) * 2019-06-24 2020-12-25 维塔科技(北京)有限公司 Method and device for acquiring equipment information, storage medium and electronic equipment
CN111405059A (en) * 2020-03-26 2020-07-10 北京自如信息科技有限公司 Data transmission method of cloud equipment, electronic equipment and Internet of things system
CN111405059B (en) * 2020-03-26 2023-07-11 北京自如信息科技有限公司 Cloud device data transmission method, electronic device and Internet of things system
CN113691465A (en) * 2020-05-19 2021-11-23 阿里巴巴集团控股有限公司 Data transmission method, intelligent network card, computing device and storage medium
CN113407044A (en) * 2021-07-16 2021-09-17 北京百度网讯科技有限公司 Method, device, equipment and storage medium for simulating terminal handle input
CN113805952A (en) * 2021-09-17 2021-12-17 中国联合网络通信集团有限公司 Peripheral virtualization management method, server and system
CN113805952B (en) * 2021-09-17 2023-10-31 中国联合网络通信集团有限公司 Peripheral virtualization management method, server and system
CN114938384A (en) * 2022-04-25 2022-08-23 惠州华阳通用电子有限公司 Virtualization device and method based on area EEA architecture
CN114938384B (en) * 2022-04-25 2024-09-13 惠州华阳通用电子有限公司 Virtualization device and method based on regional EEA architecture
CN115253284A (en) * 2022-07-20 2022-11-01 天翼安全科技有限公司 Game control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107846466B (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN107846466A (en) Mapping method, server, cloud terminal and the system of cloud peripheral equipment of terminal
CN108322530A (en) Transmission method, device, gateway and the storage medium of context information
CN105847108B (en) Communication means and device between container
CN104994022B (en) A kind of method and business board of message transmissions
CN106713495B (en) The method for uploading and access method in IP geographical position, device and access system
US11831763B2 (en) Methods, systems, and computer readable media for utilizing predetermined encryption keys in a test simulation environment
CN104639555B (en) request processing method, system and device
CN101714926B (en) Method, device and system for managing network equipment
CN106557288A (en) A kind of method and device for obtaining print data
CN108667817A (en) Message converting system and message forwarding method
CN115348126A (en) Network target range entity equipment access method, device and implementation system
CN103503413A (en) Method and device for transmitting network information
CN102546225B (en) Video resource sharing method and management platform
CN101567890A (en) Metadata transmission method, client device and server device
CN101355483B (en) Method and equipment for transmitting data packet by multiple network ports
CN109067861A (en) Communication means, device, equipment and medium based on Internet of Things
CN104333515B (en) A kind of SWIFT message processing methods and device
CN102165484B (en) Role-independent context exchange
CN104363269B (en) It is a kind of to pass through FC link transmissions, the method and device of reception NAS data
KR100773778B1 (en) Method for controlling server with multicast transmitting and System thereof
CN114301880B (en) Three-dimensional data transmission method, electronic equipment and signaling server
CN112187536B (en) Information interaction method and device based on TMS configuration data, storage medium and electronic device
CN101510901B (en) Communication method, communication apparatus and system between distributed equipment
CN103581142A (en) Data service experience assessment method and device and network equipment
CN101296117B (en) Network management system of node equipment based on E1

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant