CN116303150A - Data driving method and device based on virtual USB - Google Patents
Data driving method and device based on virtual USB Download PDFInfo
- Publication number
- CN116303150A CN116303150A CN202310598048.6A CN202310598048A CN116303150A CN 116303150 A CN116303150 A CN 116303150A CN 202310598048 A CN202310598048 A CN 202310598048A CN 116303150 A CN116303150 A CN 116303150A
- Authority
- CN
- China
- Prior art keywords
- data
- interface
- data transmission
- transmission path
- virtual usb
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000005540 biological transmission Effects 0.000 claims abstract description 367
- 238000013507 mapping Methods 0.000 claims abstract description 78
- 238000005457 optimization Methods 0.000 claims abstract description 14
- 238000004806 packaging method and process Methods 0.000 claims abstract description 12
- 238000004422 calculation algorithm Methods 0.000 claims description 41
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000010276 construction Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 8
- 238000005538 encapsulation Methods 0.000 description 6
- 238000013473 artificial intelligence Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000011156 evaluation Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 229940004975 interceptor Drugs 0.000 description 2
- 238000004451 qualitative analysis Methods 0.000 description 2
- 238000004445 quantitative analysis Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/105—Program control for peripheral devices where the programme performs an input/output emulation function
-
- 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/42—Bus transfer protocol, e.g. handshake; Synchronisation
-
- 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/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
Abstract
The invention relates to the technical field of data processing, and discloses a data driving method and device based on virtual USB, comprising the following steps: generating a virtual USB interface corresponding to the entity USB interface, and adding the virtual USB interface into a file mapping table; creating a USB topological structure of the virtual USB interface according to the file mapping table, and carrying out interface association on the virtual USB interface and the application interface according to the USB topological structure; constructing a data transmission path according to the associated interface and the associated factors, and calculating the data packet loss rate and the data error rate of the data transmission path; generating a data transmission factor according to the data packet loss rate and the data error rate, and carrying out path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path; and packaging the optimized data transmission path and the virtual USB interface to obtain a data driving program, and performing data driving on the target data by using the data driving program. The invention can improve the efficiency of data driving.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data driving method and device based on virtual USB.
Background
The USB has the advantages of low cost, high speed, strong universality, plug and play support and the like, so that more and more devices adopt USB interfaces, but in order to ensure that the USB has high efficiency when transmitting a large amount of data, the efficiency when transmitting the data is improved, and a virtual USB interface needs to be established so as to meet the requirement of the large amount of data transmission.
The existing data driving technology collects massive data through the mobile internet or other related hardware as a means to finish data driving. In practical application, a large amount of data exists when data transmission is performed, and a limited entity virtual USB interface cannot meet the requirement of massive data transmission, so that the data transmission efficiency is possibly low, and the efficiency of data driving is low.
Disclosure of Invention
The invention provides a data driving method and device based on virtual USB (universal serial bus), which mainly aims to solve the problem of low efficiency in data driving.
In order to achieve the above object, the present invention provides a data driving method based on virtual USB, including:
s1, acquiring an entity USB interface, generating a virtual USB interface corresponding to the entity USB interface by using a preset interface mapping algorithm, and adding the virtual USB interface into a preset file mapping table;
S2, creating a USB topological structure of the virtual USB interface according to the file mapping table, and carrying out interface association on the virtual USB interface and an application interface of a preset target application according to the USB topological structure to obtain an associated interface;
s3, constructing a data transmission path according to the association interface and a preset association factor, calculating the data packet loss rate of the data transmission path by using a preset data transmission algorithm, and calculating the data error rate of the data transmission path by using a preset double data error algorithm, wherein the calculating the data error rate of the data transmission path by using the preset double data error algorithm comprises the following steps:
s31, determining the number of forward sending bits and the number of forward receiving error bits according to forward transmission in the data transmission path;
s32, determining the reverse sending bit number and the reverse receiving error bit number according to the reverse transmission in the data transmission path;
s33, calculating the data error rate of the data transmission path according to the forward transmission bit number, the forward receiving error bit number, the reverse transmission bit number and the reverse receiving error bit number by using a double data error algorithm as follows:
Wherein,,for said data error rate,/a->For the data transmission path +.>Forward reception error bit number of parallel transmission path,/-for each parallel transmission path>For the data transmission path +.>Forward transmission bit number of parallel transmission path, and a bit number of parallel transmission path>For the data transmission path +.>Reverse reception error bit number of parallel transmission path,/-for each parallel transmission path>For the data transmission path +.>Reverse transmission bit number of parallel transmission path, < >>The number of paths is the number of parallel transmission paths in the data transmission paths;
s4, generating a data transmission factor according to the data packet loss rate and the data error rate, and carrying out path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path;
and S5, packaging the optimized data transmission path and the virtual USB interface to obtain a data driving program, and performing data driving on preset target data by using the data driving program.
Optionally, the generating, by using a preset interface mapping algorithm, a virtual USB interface corresponding to the physical USB interface includes:
acquiring entity interface attributes of the entity USB interface;
calculating a virtual interface attribute according to the entity interface attribute by using the interface mapping algorithm, wherein the interface mapping algorithm is as follows:
Wherein,,for interface mapping function, ++>For the entity interface attribute, < >>For the virtual interface attribute,/->For the +.>Interface attribute value,/">For the +.>Interface attribute value,/">The number of interface attribute values;
and packaging the virtual interface attribute to obtain the virtual USB interface.
Optionally, the creating the USB topology of the virtual USB interface according to the file mapping table includes:
extracting the mapping position of the virtual USB interface in the file mapping table;
performing coordinate conversion on the mapping position to obtain mapping coordinates;
calculating the mapping distances between the mapping coordinates one by one, and selecting a virtual USB interface with the minimum mapping distance to generate a USB topology edge;
and generating a USB topological structure of the virtual USB interface according to the virtual USB interface and the USB topological edge.
Optionally, the performing interface association between the virtual USB interface and an application interface of a preset target application according to the USB topology structure to obtain an associated interface includes:
acquiring application request parameters of the application interface;
determining an associated virtual USB interface in the USB topological structure according to the application request parameters;
And carrying out interface association on the associated virtual USB interface and the application interface according to a preset association attribute to obtain an association interface.
Optionally, the constructing a data transmission path according to the association interface and a preset association factor includes:
determining an interface transmission channel according to the number of the interfaces of the associated interfaces;
sorting the association factors according to the arrangement sequence from big to small to obtain an association factor sequence;
selecting the association factors in the association factor sequence according to the interface transmission channel to obtain an association factor set, and extracting association interfaces in the association factor set;
and carrying out parallel transmission on the associated interfaces to obtain parallel transmission paths, and collecting the parallel transmission paths as the data transmission paths.
Optionally, the calculating the data packet loss rate of the data transmission path by using a preset data transmission algorithm includes:
determining a data receiving end and a data transmitting end according to the data transmission path;
acquiring the number of transmitted data packets of the data transmitting end and the number of received data packets of the receiving end;
calculating the data packet loss rate of the data transmission path according to the number of the sent data packets and the number of the received data packets by using the data transmission algorithm:
Wherein,,for the data packet loss rate, +.>For the data transmission path +.>The number of said transmitted data packets of the parallel transmission paths, and (2)>For the data transmission path +.>The number of said received data packets of a parallel transmission path, is #>A path which is a parallel transmission path of the data transmission pathsNumber of parts.
Optionally, the generating a data transmission factor according to the data packet loss rate and the data error rate includes:
determining path weights of the data transmission paths by using a preset analytic hierarchy process;
calculating the data transmission factor according to the data packet loss rate, the data error rate and the path weight, wherein the data transmission factor calculation formula is as follows:
wherein,,for the data transmission factor, < >>For the path weight, +.>For the data packet loss rate, +.>And the error rate of the data is the error rate of the data.
Optionally, the performing path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path includes:
when the data transmission factor is larger than a preset transmission factor threshold, overlapping the data transmission factor with the association factor in the data transmission path to obtain an optimized association factor;
And generating the optimized data transmission path according to the optimized association factor and the association interface.
Optionally, the data driving method for performing data driving on the preset target data by using the data driving program includes:
creating a target virtual USB interface corresponding to the target data;
matching the target virtual USB interface with a virtual USB interface in the data driver to obtain a matched virtual USB interface;
and driving the target data according to the data transmission path in the matched virtual USB interface and the data driving program.
In order to solve the above-mentioned problem, the present invention further provides a data driving apparatus based on virtual USB, the apparatus comprising:
the virtual USB interface generation module is used for acquiring an entity USB interface, generating a virtual USB interface corresponding to the entity USB interface by using a preset interface mapping algorithm, and adding the virtual USB interface into a preset file mapping table;
the interface association module is used for creating a USB topological structure of the virtual USB interface according to the file mapping table, and carrying out interface association on the virtual USB interface and an application interface of a preset target application according to the USB topological structure to obtain an association interface;
The data transmission path construction module is used for constructing a data transmission path according to the association interface and a preset association factor, calculating the data packet loss rate of the data transmission path by using a preset data transmission algorithm, and calculating the data error rate of the data transmission path by using a preset double data error algorithm;
the data transmission path optimization module is used for generating a data transmission factor according to the data packet loss rate and the data error rate, and performing path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path;
and the data driving module is used for packaging the optimized data transmission path and the virtual USB interface to obtain a data driving program, and the data driving program is used for carrying out data driving on preset target data.
According to the embodiment of the invention, the physical USB interface is mapped to the virtual USB interface, so that the data transmission capacity is improved when the data volume is large; creating a USB topological structure of the virtual USB interface, associating the virtual USB interface with an application interface of a target application according to the USB topological interface to obtain an associated interface, constructing a data transmission path according to the associated interface and an association factor, calculating a data packet loss rate and a data error rate of the data transmission path, and being beneficial to judging the integrity of data transmission of the data transmission path, and further improving the data integrity in the data transmission process; generating a data transmission factor according to the data packet loss rate and the data error rate, and further optimizing a data transmission path according to the data transmission factor to obtain an optimized data transmission path with better data transmission effect, thereby improving the accuracy in the data transmission process; and packaging the optimized data transmission path and the virtual USB interface to obtain a data driving program, and further performing data driving on target data according to the data driving program to realize high efficiency in data driving. Therefore, the data driving method and device based on the virtual USB can solve the problem of low efficiency in data driving.
Drawings
FIG. 1 is a flow chart of a virtual USB-based data driving method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for generating a virtual USB interface according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for creating a USB topology according to an embodiment of the present invention;
FIG. 4 is a functional block diagram of a virtual USB-based data driving device according to an embodiment of the present invention;
the achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the application provides a data driving method based on virtual USB. The execution subject of the virtual USB-based data driving method includes, but is not limited to, at least one of a server, a terminal, and the like, which can be configured to execute the method provided in the embodiments of the present application. In other words, the virtual USB-based data driving method may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Referring to fig. 1, a flow chart of a data driving method based on virtual USB according to an embodiment of the invention is shown. In this embodiment, the data driving method based on virtual USB includes:
s1, acquiring an entity USB interface, generating a virtual USB interface corresponding to the entity USB interface by using a preset interface mapping algorithm, and adding the virtual USB interface into a preset file mapping table;
in the embodiment of the invention, USB is an abbreviation of english Universal Serial Bus (universal serial bus), which is an external bus standard for standardizing connection and communication between a computer and an external device, and the physical USB interface is an interface applied to the field of PC (personal computer) and used for data transmission, wherein the physical USB interface can be obtained through the configuration of a host.
Further, the USB interfaces of the host are limited, and when a plurality of USB interfaces are required for data transmission, only the USB interfaces cannot meet the data transmission, so in order to increase the USB interfaces to realize data transmission, virtual USB interfaces need to be created to realize multi-device data transmission.
In the embodiment of the invention, the virtual USB interface is used for finally transmitting the data generated in the physical USB interface to the virtual operating system through methods such as interface calling, and the data transmission of the USB interface is realized only through interface calling instead of the actually existing USB interface.
In the embodiment of the present invention, referring to fig. 2, the generating, by using a preset interface mapping algorithm, a virtual USB interface corresponding to the physical USB interface includes:
s21, acquiring the entity interface attribute of the entity USB interface;
s22, calculating virtual interface attributes according to the entity interface attributes by using the interface mapping algorithm, wherein the interface mapping algorithm is as follows:
wherein,,for interface mapping function, ++>For the entity interface attribute, < >>For the virtual interface attribute,/->For the +.>Interface attribute value,/">For the +.>Interface attribute value,/">The number of interface attribute values;
s23, packaging the virtual interface attribute to obtain the virtual USB interface.
In detail, the entity interface attribute refers to an interface name, an interface type and an interface driver of the USB interface, wherein the entity interface attribute of the entity USB interface may be obtained from a predetermined storage area by using a computer sentence (e.g., java sentence, python sentence, etc.) having a data grabbing function.
Specifically, the virtual interface attribute is an interface attribute corresponding to the entity interface attribute, such as an interface name, an interface type and an interface driver, and the entity interface attribute and the virtual interface attribute are mapped one by one according to an interface mapping relationship, that is, the interface name in the entity interface attribute is mapped to the virtual interface name in the virtual interface attribute correspondingly, the interface type in the entity interface attribute is mapped to the virtual interface type in the virtual interface attribute correspondingly, and then the interface mapping algorithm is used for mapping the interface name in the entity interface attribute to the virtual interface type in the virtual interface attribute correspondingly For interface attribute->Is of interface type->Is an interface driver.
Further, the virtual USB interface is obtained by performing attribute encapsulation on the interface name, the interface type and the interface driver in the virtual interface attribute, wherein the virtual interface attribute can be encapsulated by using a springboot encapsulation tool.
In the embodiment of the invention, the created virtual interface attribute is added into the preset file mapping table, so that the virtual USB interface in the file mapping table can be directly called when the virtual USB interface attribute is used later, and the efficiency when the USB interface is used for transmitting data is improved, wherein the file mapping table comprises the storage positions of the virtual USB interfaces, the number of the interfaces of the virtual USB interfaces and the mapping relation between the entity USB interface and the virtual USB interface.
Further, in order to realize data transmission between the virtual USB interface and the target application, the target application needs to establish an association between the virtual USB interfaces to ensure accurate data transmission.
S2, creating a USB topological structure of the virtual USB interface according to the file mapping table, and carrying out interface association on the virtual USB interface and an application interface of a preset target application according to the USB topological structure to obtain an associated interface;
In the embodiment of the invention, the USB topological structure refers to the physical layout for connecting the virtual USB interfaces with each other by using a transmission medium, and refers to the geometric shape formed in the interconnection process, and the geometric shape can represent the connection of the virtual USB interfaces with each other. USB topologies may be categorized by shape, including star, ring, bus, tree, bus/star, and mesh topologies.
In the embodiment of the present invention, the creating the USB topology structure of the virtual USB interface according to the file mapping table includes:
extracting the mapping position of the virtual USB interface in the file mapping table;
performing coordinate conversion on the mapping position to obtain mapping coordinates;
calculating the mapping distances between the mapping coordinates one by one, and selecting a virtual USB interface with the minimum mapping distance to generate a USB topology edge;
and generating a USB topological structure of the virtual USB interface according to the virtual USB interface and the USB topological edge.
In detail, the mapping position refers to a position of a virtual USB interface stored in the file mapping table, that is, a storage path, for example, a storage path of the virtual USB interface 1 is C: users\file\desktop\virtual USB interface 1, a storage path of the virtual USB interface 2 is C: users\file\desktop\virtual USB interface 2, mapping positions corresponding to each virtual USB interface are converted into mapping coordinates in a coordinate system one by one, and according to creation time of the mapping position of each virtual USB interface as the mapping coordinates, for example, creation time of the mapping position of the virtual USB interface 1 is 7:06, the mapping coordinates of the virtual USB interface are (7, 6), and the creation time of the mapping position of the virtual USB interface 2 is 10:08, the mapping coordinates of the virtual USB interface are (10, 8).
Specifically, the mapping distances between the mapping coordinates of different virtual USB interfaces are calculated one by one, if the mapping distance between the virtual USB interface 1 and the virtual USB interface 2 is 5, if the mapping distance between the virtual USB interface 1 and the virtual USB interface 3 is 8, if the mapping distance between the virtual USB interface 2 and the virtual USB interface 3 is 3, the virtual USB interface 1 selects the virtual interface with the smallest mapping distance to connect to a topology edge, that is, the virtual USB interface 1 selects the virtual USB interface 2 to connect to a topology edge, and so on until all the virtual USB interfaces determine the corresponding USB topology edges, and then the topology edges corresponding to the virtual USB interfaces and the virtual USB interfaces are generated into the USB topology structure of the virtual USB interface.
Further, in order to realize data transmission between the virtual USB interface and the target application, the target application needs to establish an association between the virtual USB interfaces to ensure accurate data transmission.
In the embodiment of the present invention, the association interface refers to an association interface between a virtual USB interface and a target application, for example, the virtual USB interface 1 performs interface association with the application interface 1 to obtain the association interface 1.
In the embodiment of the present invention, the interface association between the virtual USB interface and an application interface of a preset target application according to the USB topology structure, to obtain an associated interface, includes:
Acquiring application request parameters of the application interface;
determining an associated virtual USB interface in the USB topological structure according to the application request parameters;
and carrying out interface association on the associated virtual USB interface and the application interface according to a preset association attribute to obtain an association interface.
In detail, the application request parameter refers to data acquired by an application program from a data source, and is used to perform an operation, acquire information, or provide a service for a user, where the application request parameter of the application interface may be acquired through an Interceptor (such as an Interceptor).
Specifically, a virtual USB interface similar to the port number of the application request parameter is selected from the virtual USB interfaces in the USB topology structure according to the parameter attribute of the application request parameter, and is used as an associated virtual USB interface, and then the virtual USB interface is associated with the application interface of the target application according to the associated attribute, so as to obtain an associated interface, wherein the associated attribute refers to the association between the port number of the target application and the port number of the virtual USB interface, that is, the closer the port number is, the stronger the association is.
Further, a data transmission path is created according to the relevance of the target application and the virtual USB interface, and data transmission is further carried out between the virtual USB interface and the target application according to the data transmission path.
S3, constructing a data transmission path according to the association interface and a preset association factor, calculating the data packet loss rate of the data transmission path by using a preset data transmission algorithm, and calculating the data error rate of the data transmission path by using a preset double data error algorithm;
in the embodiment of the invention, the data transmission path refers to a path of data transmission between the virtual USB interface and the target application, so as to ensure safe transmission of data.
In the embodiment of the present invention, the constructing a data transmission path according to the association interface and a preset association factor includes:
determining an interface transmission channel according to the number of the interfaces of the associated interfaces;
sorting the association factors according to the arrangement sequence from big to small to obtain an association factor sequence;
selecting the association factors in the association factor sequence according to the interface transmission channel to obtain an association factor set, and extracting association interfaces in the association factor set;
and carrying out parallel transmission on the associated interfaces to obtain parallel transmission paths, and collecting the parallel transmission paths as the data transmission paths.
In detail, the interface transmission channels are determined according to the number of interfaces of the associated interfaces, if the number of interfaces is 4, the number of the interface transmission channels is 4, and the associated factors corresponding to each associated interface are ordered according to the order from big to small, so as to obtain an associated factor sequence, namely the associated factor sequence after the ordering is Selecting 4 association factors from the association factor sequence according to the number of interface transmission channels, namely selecting the association factor set as +.>,The data of the same association factor set is transmitted in parallel to obtain a parallel transmission path, namely the association factor set +.>Corresponding to parallel transmission path 1, association factor set +.>Corresponding to the parallel transmission paths 2, collecting all the parallel transmission paths as data transmission paths, wherein the association factors are values which are set by self for each association interface, the association factors of each association interface can be determined through a preset analytic hierarchy process, and the association factors of each association interface are determined through evaluation indexes such as data transmission rate, data receiving rate, data loss rate and the like of the association interfaces.
Further, in order to improve the data transmission accuracy and the data transmission efficiency of the data transmission path, the data packet loss rate and the data error rate of the data transmission path need to be calculated to optimize the data transmission path, so as to obtain a data transmission path with higher data transmission accuracy.
In the embodiment of the present invention, the generation of the data packet loss rate in a scenario where one end transmits data and the other end receives data refers to a ratio of the number of lost data packets to the number of transmitted data packets in the whole transmission process, and then the calculation of the data packet loss rate involves two parameters, namely, the number of transmitted packets and the number of received packets.
In the embodiment of the present invention, the calculating the data packet loss rate of the data transmission path by using a preset data transmission algorithm includes:
determining a data receiving end and a data transmitting end according to the data transmission path;
acquiring the number of transmitted data packets of the data transmitting end and the number of received data packets of the receiving end;
calculating the data packet loss rate of the data transmission path according to the number of the sent data packets and the number of the received data packets by using the data transmission algorithm:
wherein,,for the data packet loss rate, +.>For the data transmission path +.>The number of said transmitted data packets of the parallel transmission paths, and (2)>For the data transmission path +.>The number of said received data packets of a parallel transmission path, is #>Is the number of paths of the parallel transmission paths in the data transmission paths.
In detail, the data receiving end in the data transmission path refers to an application interface of the target application, the data transmitting end refers to a virtual USB interface, the number of the transmitting packets is recorded and counted by the data transmitting end, and the number of the receiving packets is recorded and counted by the data receiving end. In addition, there are two cases when calculating the packet loss rate, the packet loss and the packet information are wrong, and the packet loss needs to compare the packet counting cases of the sending end and the receiving end, which is expressed as the lack of the packet counting of the receiving end; the data packet information errors comprise the conditions of information missing, information inconsistent and the like, and can be obtained by checking data verification information in the data packet of the receiving end, or can be obtained by comparing the data of the data packet of the transmitting end with the data packet of the receiving end, from the application point of view, the integrity of the data information is destroyed no matter the data packet is lost or the data packet is wrong, and the data packet with the information error is also marked as lost and the quantity of the data packet is deducted from the number of the received packets during the test.
Specifically, the number of the sending packets and the number of the receiving packets of the parallel transmission paths in each data transmission path are added to obtain the total number of the sending packets and the total number of the receiving packets on the data transmission paths, and then the data packet loss rate of the data transmission paths is calculated according to the total number of the sending packets and the total number of the receiving packets.
Further, in order to improve the transmission accuracy of the data transmission path, not only the packet loss rate of the data transmission path but also the data error rate of the data transmission path are calculated.
In the embodiment of the invention, the data error rate is the bit error rate in the data transmission process, namely the ratio of the number of bits with errors in the digital signal received in a certain time to the total number of bits of the digital signal received at the same time.
In the embodiment of the present invention, referring to fig. 3, the calculating the data error rate of the data transmission path by using a preset double data error algorithm includes:
s31, determining the number of forward sending bits and the number of forward receiving error bits according to forward transmission in the data transmission path;
s32, determining the reverse sending bit number and the reverse receiving error bit number according to the reverse transmission in the data transmission path;
S33, calculating the data error rate of the data transmission path according to the forward transmission bit number, the forward receiving error bit number, the reverse transmission bit number and the reverse receiving error bit number by using a double data error algorithm as follows:
wherein,,for the data errorCode rate,/->For the data transmission path +.>Forward reception error bit number of parallel transmission path,/-for each parallel transmission path>For the data transmission path +.>Forward transmission bit number of parallel transmission path, and a bit number of parallel transmission path>For the data transmission path +.>Reverse reception error bit number of parallel transmission path,/-for each parallel transmission path>For the data transmission path +.>Reverse transmission bit number of parallel transmission path, < >>Is the number of paths of the parallel transmission paths in the data transmission paths.
In detail, the forward transmission in the data transmission path refers to using an application interface of the target application as a data receiving end and using a virtual USB interface as a data transmitting end, and the reverse transmission in the data transmission path refers to using an application interface of the target application as a data transmitting end and using a virtual USB interface as a data receiving end, wherein the number of forward transmission bits and the number of reverse transmission bits are counted by the data transmitting end in a recording manner, and the number of forward reception error bits and the number of reverse reception error bits are counted by the data receiving end in a recording manner.
Specifically, the data error rate of the data transmission path is calculated by using the dual data error algorithm according to the sum of the forward transmission bit numbers, the forward reception error bit numbers, the reverse transmission bit numbers and the reverse reception error bit numbers of all parallel transmission paths.
Further, the data transmission accuracy and the transmission efficiency of the data transmission path are evaluated according to the data packet loss rate and the data error rate.
S4, generating a data transmission factor according to the data packet loss rate and the data error rate, and carrying out path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path;
in the embodiment of the invention, the data transmission factor is a standard for judging the data transmission path, so that the data transmission path is optimized according to the data transmission factor, and the data transmission accuracy and efficiency in the data transmission process are improved.
In the embodiment of the present invention, the generating a data transmission factor according to the data packet loss rate and the data error rate includes:
determining path weights of the data transmission paths by using a preset analytic hierarchy process;
calculating the data transmission factor according to the data packet loss rate, the data error rate and the path weight, wherein the data transmission factor calculation formula is as follows:
Wherein,,for the data transmission factor, < >>For the path weight, +.>Is saidPacket loss rate of data->And the error rate of the data is the error rate of the data.
In detail, the path weight is an evaluation criterion for importance of the data transmission path, and the path weight of the data transmission path can be determined according to evaluation indexes such as a data transmission rate, a data receiving rate, a data loss rate and the like by using an analytic hierarchy process, wherein the analytic hierarchy process is a research method for calculating decision weights by combining qualitative and quantitative analysis for solving the multi-objective complex problem. The method combines quantitative analysis and qualitative analysis, judges the relative importance degree between the standards which can be realized between the measurement targets by using the experience of a decision maker, reasonably gives the weight of each standard of each decision scheme, and utilizes the weight to calculate the priority order of each scheme.
Further, a data transmission factor of the data transmission path is calculated according to the data packet loss rate, the data error rate and the path weight, and whether the data transmission path needs to be optimized or not is determined according to the data transmission factor, so that accuracy and efficiency in a data transmission process are improved.
In the embodiment of the invention, the optimized data transmission path refers to a data transmission path with better transmission effect by readjusting and planning paths in the data transmission path.
In an embodiment of the present invention, the performing path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path includes:
when the data transmission factor is larger than a preset transmission factor threshold, overlapping the data transmission factor with the association factor in the data transmission path to obtain an optimized association factor;
and generating the optimized data transmission path according to the optimized association factor and the association interface.
In detail, when the data transmission factor is smaller than a preset transmission factor threshold, the data packet loss rate and the data error rate of the data transmission path are smaller, the data transmission path is not required to be optimized, and the data transmission accuracy of the current data transmission path meets the requirement of data transmission; and when the data transmission factor is greater than a preset transmission factor threshold, superposing the data transmission factor and the correlation factor of the parallel transmission paths in the data transmission path to obtain an optimized correlation factor, and further optimizing the data transmission path according to the optimized correlation factor to obtain an optimized data transmission path, wherein the maximum value of the data transmission factor is 2, and the transmission factor threshold can be set to be 1.5.
Specifically, the step of generating the optimized data transmission path according to the optimized association factor and the association interface is consistent with the step of constructing the data transmission path according to the association interface and the preset association factor in S3, which is not described herein.
Further, data transmission is performed according to the optimized data transmission path, so that information attenuation can be reduced, and accuracy of data transmission is improved.
And S5, packaging the optimized data transmission path and the virtual USB interface to obtain a data driving program, and performing data driving on preset target data by using the data driving program.
In the embodiment of the invention, the data driver is in a triggering form, and when data transmission is needed, the data driver is required to be triggered to carry out data high-efficiency transmission.
In the embodiment of the present invention, the encapsulating the optimized data transmission path and the virtual USB interface to obtain a data driver includes:
generating data driving parameters according to the optimized data transmission path and the virtual USB interface;
and packaging the data driving parameters to obtain the data driving program.
In detail, the optimized data transmission path and the virtual USB interface are used as data driving parameters, and the data driving parameters are further encapsulated to obtain a data driving program, wherein the data driving parameters can be encapsulated by using a preset encapsulation plug-in, and the encapsulation plug-in includes but is not limited to a Javascript encapsulation plug-in and a jQuery encapsulation plug-in.
Further, according to the data driver, data driving can be performed on the target data, so that efficient transmission of the data can be completed.
In an embodiment of the present invention, the data driving of the preset target data by using the data driving program includes:
creating a target virtual USB interface corresponding to the target data;
matching the target virtual USB interface with a virtual USB interface in the data driver to obtain a matched virtual USB interface;
and driving the target data according to the data transmission path in the matched virtual USB interface and the data driving program.
In detail, a corresponding target virtual USB interface is created for the target data, a computer sentence (such as Python) can be used for creating the target virtual USB interface, and then the target virtual USB interface is called into a data driver to complete data driving of the target data, namely, the target virtual USB interface is matched with the USB interface in the data driver to obtain a matched virtual USB interface, and data transmission is performed on the target data according to the matched virtual USB interface and a data transmission path in the data driver, namely, data driving is implemented on the target data.
Further, a data driver is called by utilizing a target virtual USB interface corresponding to the target data, so that data driving of the target data is realized.
According to the embodiment of the invention, the physical USB interface is mapped to the virtual USB interface, so that the data transmission capacity is improved when the data volume is large; creating a USB topological structure of the virtual USB interface, associating the virtual USB interface with an application interface of a target application according to the USB topological interface to obtain an associated interface, constructing a data transmission path according to the associated interface and an association factor, calculating a data packet loss rate and a data error rate of the data transmission path, and being beneficial to judging the integrity of data transmission of the data transmission path, and further improving the data integrity in the data transmission process; generating a data transmission factor according to the data packet loss rate and the data error rate, and further optimizing a data transmission path according to the data transmission factor to obtain an optimized data transmission path with better data transmission effect, thereby improving the accuracy in the data transmission process; and packaging the optimized data transmission path and the virtual USB interface to obtain a data driving program, and further performing data driving on target data according to the data driving program to realize high efficiency in data driving. Therefore, the data driving method and device based on the virtual USB can solve the problem of low efficiency in data driving.
Fig. 4 is a functional block diagram of a data driving device based on virtual USB according to an embodiment of the present invention.
The data driving apparatus 100 based on virtual USB according to the present invention may be installed in an electronic device. The virtual USB-based data driving apparatus 100 may include a virtual USB interface generation module 101, an interface association module 102, a data transmission path construction module 103, a data transmission path optimization module 104, and a data driving module 105 according to the implemented functions. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the present embodiment, the functions concerning the respective modules/units are as follows:
the virtual USB interface generating module 101 is configured to obtain an entity USB interface, generate a virtual USB interface corresponding to the entity USB interface using a preset interface mapping algorithm, and add the virtual USB interface to a preset file mapping table;
the interface association module 102 is configured to create a USB topology structure of the virtual USB interface according to the file mapping table, and perform interface association between the virtual USB interface and an application interface of a preset target application according to the USB topology structure, so as to obtain an associated interface;
The data transmission path construction module 103 is configured to construct a data transmission path according to the association interface and a preset association factor, calculate a data packet loss rate of the data transmission path by using a preset data transmission algorithm, and calculate a data error rate of the data transmission path by using a preset double data error algorithm;
the data transmission path optimization module 104 is configured to generate a data transmission factor according to the data packet loss rate and the data error rate, and perform path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path;
the data driving module 105 is configured to encapsulate the optimized data transmission path and the virtual USB interface to obtain a data driving program, and perform data driving on preset target data by using the data driving program.
In detail, each module in the data driving device 100 based on virtual USB in the embodiment of the present invention adopts the same technical means as the data driving method based on virtual USB described in fig. 1 to 3, and can generate the same technical effects, which is not described herein.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. Multiple units or means as set forth in the system embodiments may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. A virtual USB-based data driving method, the method comprising:
S1, acquiring an entity USB interface, generating a virtual USB interface corresponding to the entity USB interface by using a preset interface mapping algorithm, and adding the virtual USB interface into a preset file mapping table;
s2, creating a USB topological structure of the virtual USB interface according to the file mapping table, and carrying out interface association on the virtual USB interface and an application interface of a preset target application according to the USB topological structure to obtain an associated interface;
s3, constructing a data transmission path according to the association interface and a preset association factor, calculating the data packet loss rate of the data transmission path by using a preset data transmission algorithm, and calculating the data error rate of the data transmission path by using a preset double data error algorithm, wherein the calculating the data error rate of the data transmission path by using the preset double data error algorithm comprises the following steps:
s31, determining the number of forward sending bits and the number of forward receiving error bits according to forward transmission in the data transmission path;
s32, determining the reverse sending bit number and the reverse receiving error bit number according to the reverse transmission in the data transmission path;
s33, calculating the data error rate of the data transmission path according to the forward transmission bit number, the forward receiving error bit number, the reverse transmission bit number and the reverse receiving error bit number by using a double data error algorithm as follows:
Wherein,,for said data error rate,/a->For the data transmission path +.>Forward received error bit number for parallel transmission paths,/>For the data transmission path +.>Forward transmission bit number of parallel transmission path, and a bit number of parallel transmission path>For the data transmission path +.>Reverse reception error bit number of parallel transmission path,/-for each parallel transmission path>For the data transmission path +.>Reverse transmission bit number of parallel transmission path, < >>The number of paths is the number of parallel transmission paths in the data transmission paths;
s4, generating a data transmission factor according to the data packet loss rate and the data error rate, and carrying out path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path;
and S5, packaging the optimized data transmission path and the virtual USB interface to obtain a data driving program, and performing data driving on preset target data by using the data driving program.
2. The virtual USB-based data driving method of claim 1, wherein the generating the virtual USB interface corresponding to the physical USB interface using a preset interface mapping algorithm includes:
acquiring entity interface attributes of the entity USB interface;
Calculating a virtual interface attribute according to the entity interface attribute by using the interface mapping algorithm, wherein the interface mapping algorithm is as follows:
wherein,,for interface mapping function, ++>For the entity interface attribute, < >>For the virtual interface attribute,/->For the +.>Interface attribute value,/">For the +.>Interface attribute value,/">The number of interface attribute values;
and packaging the virtual interface attribute to obtain the virtual USB interface.
3. The virtual USB-based data driving method of claim 1, wherein creating a USB topology of the virtual USB interface from the file map comprises:
extracting the mapping position of the virtual USB interface in the file mapping table;
performing coordinate conversion on the mapping position to obtain mapping coordinates;
calculating the mapping distances between the mapping coordinates one by one, and selecting a virtual USB interface with the minimum mapping distance to generate a USB topology edge;
and generating a USB topological structure of the virtual USB interface according to the virtual USB interface and the USB topological edge.
4. The virtual USB-based data driving method according to claim 1, wherein the interfacing the virtual USB interface with an application interface of a preset target application according to the USB topology, to obtain an associated interface, includes:
Acquiring application request parameters of the application interface;
determining an associated virtual USB interface in the USB topological structure according to the application request parameters;
and carrying out interface association on the associated virtual USB interface and the application interface according to a preset association attribute to obtain an association interface.
5. The virtual USB-based data driving method of claim 1, wherein the constructing a data transmission path according to the association interface and a preset association factor includes:
determining an interface transmission channel according to the number of the interfaces of the associated interfaces;
sorting the association factors according to the arrangement sequence from big to small to obtain an association factor sequence;
selecting the association factors in the association factor sequence according to the interface transmission channel to obtain an association factor set, and extracting association interfaces in the association factor set;
and carrying out parallel transmission on the associated interfaces to obtain parallel transmission paths, and collecting the parallel transmission paths as the data transmission paths.
6. The virtual USB-based data driving method of claim 1, wherein the calculating the data packet loss rate of the data transmission path using a preset data transmission algorithm includes:
Determining a data receiving end and a data transmitting end according to the data transmission path;
acquiring the number of transmitted data packets of the data transmitting end and the number of received data packets of the receiving end;
calculating the data packet loss rate of the data transmission path according to the number of the sent data packets and the number of the received data packets by using the data transmission algorithm:
wherein,,for the data packet loss rate, +.>For the data transmission path +.>The number of said transmitted data packets of the parallel transmission paths, and (2)>For the data transmission path +.>The number of said received data packets of a parallel transmission path, is #>Is the number of paths of the parallel transmission paths in the data transmission paths.
7. The virtual USB-based data driving method of claim 1, wherein the generating the data transmission factor according to the data packet loss rate and the data bit error rate comprises:
determining path weights of the data transmission paths by using a preset analytic hierarchy process;
calculating the data transmission factor according to the data packet loss rate, the data error rate and the path weight, wherein the data transmission factor calculation formula is as follows:
8. A virtual USB-based data driving method according to any one of claims 1 to 4, wherein the performing path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path includes:
when the data transmission factor is larger than a preset transmission factor threshold, overlapping the data transmission factor with the association factor in the data transmission path to obtain an optimized association factor;
and generating the optimized data transmission path according to the optimized association factor and the association interface.
9. The virtual USB-based data driving method of claim 1, wherein the data driving of the preset target data using the data driver includes:
creating a target virtual USB interface corresponding to the target data;
matching the target virtual USB interface with a virtual USB interface in the data driver to obtain a matched virtual USB interface;
and driving the target data according to the data transmission path in the matched virtual USB interface and the data driving program.
10. A virtual USB-based data driving apparatus, the apparatus comprising:
the virtual USB interface generation module is used for acquiring an entity USB interface, generating a virtual USB interface corresponding to the entity USB interface by using a preset interface mapping algorithm, and adding the virtual USB interface into a preset file mapping table;
the interface association module is used for creating a USB topological structure of the virtual USB interface according to the file mapping table, and carrying out interface association on the virtual USB interface and an application interface of a preset target application according to the USB topological structure to obtain an association interface;
the data transmission path construction module is used for constructing a data transmission path according to the association interface and a preset association factor, calculating the data packet loss rate of the data transmission path by using a preset data transmission algorithm, and calculating the data error rate of the data transmission path by using a preset double data error algorithm;
the data transmission path optimization module is used for generating a data transmission factor according to the data packet loss rate and the data error rate, and performing path optimization on the data transmission path according to the data transmission factor to obtain an optimized data transmission path;
And the data driving module is used for packaging the optimized data transmission path and the virtual USB interface to obtain a data driving program, and the data driving program is used for carrying out data driving on preset target data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310598048.6A CN116303150B (en) | 2023-05-25 | 2023-05-25 | Data driving method and device based on virtual USB |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310598048.6A CN116303150B (en) | 2023-05-25 | 2023-05-25 | Data driving method and device based on virtual USB |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116303150A true CN116303150A (en) | 2023-06-23 |
CN116303150B CN116303150B (en) | 2023-07-21 |
Family
ID=86832727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310598048.6A Active CN116303150B (en) | 2023-05-25 | 2023-05-25 | Data driving method and device based on virtual USB |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116303150B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561490A (en) * | 2001-09-30 | 2005-01-05 | 英特尔公司 | Enhanced general input/output architecture and related methods for establishing virtual channels therein |
CN101035039A (en) * | 2007-04-20 | 2007-09-12 | 福建升腾资讯有限公司 | USB mapping method |
KR20110023245A (en) * | 2009-08-31 | 2011-03-08 | (주)코아임베디드 | Usb dongle system and method that support wireless networking between terminal through host function |
CN102882871A (en) * | 2012-09-28 | 2013-01-16 | 深圳市赛蓝科技有限公司 | Mobile terminal USB (universal serial bus) virtualized mapping method |
CN103312781A (en) * | 2013-05-15 | 2013-09-18 | 山东超越数控电子有限公司 | Implementation method of virtual USB (Universal Serial Bus) |
CN105183674A (en) * | 2015-08-26 | 2015-12-23 | 深圳市深信服电子科技有限公司 | USB virtualization network mapping method, USB virtualization network mapping device and USB hub |
CN111581128A (en) * | 2019-02-15 | 2020-08-25 | 英特尔公司 | Method for dynamically providing virtualization function in USB device through virtual USB center |
CN113138946A (en) * | 2021-04-20 | 2021-07-20 | 北京安盟信息技术股份有限公司 | USB data mapping filtering method and device based on embedded Linux |
CN113220247A (en) * | 2021-05-27 | 2021-08-06 | 深圳市链科网络科技有限公司 | Method for supporting mobile phone end to control printing of USB port printer |
CN115065601A (en) * | 2022-05-19 | 2022-09-16 | 重庆邮电大学 | Virtual network mapping method for node link simultaneous mapping |
-
2023
- 2023-05-25 CN CN202310598048.6A patent/CN116303150B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561490A (en) * | 2001-09-30 | 2005-01-05 | 英特尔公司 | Enhanced general input/output architecture and related methods for establishing virtual channels therein |
CN101035039A (en) * | 2007-04-20 | 2007-09-12 | 福建升腾资讯有限公司 | USB mapping method |
KR20110023245A (en) * | 2009-08-31 | 2011-03-08 | (주)코아임베디드 | Usb dongle system and method that support wireless networking between terminal through host function |
CN102882871A (en) * | 2012-09-28 | 2013-01-16 | 深圳市赛蓝科技有限公司 | Mobile terminal USB (universal serial bus) virtualized mapping method |
CN103312781A (en) * | 2013-05-15 | 2013-09-18 | 山东超越数控电子有限公司 | Implementation method of virtual USB (Universal Serial Bus) |
CN105183674A (en) * | 2015-08-26 | 2015-12-23 | 深圳市深信服电子科技有限公司 | USB virtualization network mapping method, USB virtualization network mapping device and USB hub |
CN111581128A (en) * | 2019-02-15 | 2020-08-25 | 英特尔公司 | Method for dynamically providing virtualization function in USB device through virtual USB center |
CN113138946A (en) * | 2021-04-20 | 2021-07-20 | 北京安盟信息技术股份有限公司 | USB data mapping filtering method and device based on embedded Linux |
CN113220247A (en) * | 2021-05-27 | 2021-08-06 | 深圳市链科网络科技有限公司 | Method for supporting mobile phone end to control printing of USB port printer |
CN115065601A (en) * | 2022-05-19 | 2022-09-16 | 重庆邮电大学 | Virtual network mapping method for node link simultaneous mapping |
Also Published As
Publication number | Publication date |
---|---|
CN116303150B (en) | 2023-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109491905A (en) | Head end test method, apparatus and electronic equipment | |
CN104253723B (en) | The method and device for the interchanger validation test realized based on software-hardware synergism | |
US11876909B2 (en) | Verification system and method for chaining data | |
CN109561106A (en) | A kind of marine communication message real time parsing filter method | |
CN112380046B (en) | Calculation result verification method, system, device, equipment and storage medium | |
CN117459188B (en) | Electric Beidou communication system and communication method based on Beidou communication technology | |
CN116482713A (en) | Navigation data verification method for Beidou navigation receiver | |
CN116303150B (en) | Data driving method and device based on virtual USB | |
CN110515758A (en) | A kind of Fault Locating Method, device, computer equipment and storage medium | |
CN112333291B (en) | File retransmission prevention method | |
CN116910824B (en) | Safety big data analysis method and system based on distributed multi-source measure | |
CN106993027B (en) | Remote data storage location verification method | |
CN117112288A (en) | Disk array verification method and device, storage medium and electronic equipment | |
CN107864199A (en) | The realization device of Internet of Things communication means, device and Internet of Things Network Communication | |
CN106649798A (en) | Beidou high precision-based structure monitoring data comparison and correlation analysis method | |
CN108833156B (en) | Evaluation method and system for simulation performance index of power communication network | |
CN113868813B (en) | Performance evaluation method of power information system, electronic device and storage medium | |
CN107248903B (en) | A kind of TCP/IP stem calibration equipment and method based on FPGA | |
CN114827951A (en) | Vehicle network quality analysis method and system based on vehicle terminal and storage medium | |
CN116166640A (en) | Real-time acquisition and management method and system for global navigation satellite observation data | |
CN113722728A (en) | Intelligent government affair information management method based on block chain | |
CN112463405A (en) | Big data processing method based on edge computing and central cloud server | |
CN116261150B (en) | Wireless network bridge data transmission interference resistance method, device, equipment and medium | |
US9727655B2 (en) | Searching system, method and P2P device for P2P device community | |
US11743066B2 (en) | Reachability verification method and apparatus |
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 |