USB multifunctional combined application method and system
By combining and allocating interfaces with multiple functions, the problem of single and compatibility limitations of traditional USB applications is solved, and the coordinated stability and user experience improvements between USB devices are achieved.
Patent Information
- Application Number
- CN202411638578.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-03-11
AI Technical Summary
Traditional USB applications are relatively single, and there are limitations on compatibility and collaborative work between different devices, making it difficult to meet the diverse functional needs of users.
By combining USB devices with multiple different functions and assigning corresponding interfaces according to the functional attributes of different USB devices, different USB devices can operate business through corresponding interfaces during operation, avoiding mutual restrictions and influence. At the same time, the application request is analyzed, the application requirements are determined, and the USB devices with different functions are coordinated to work together according to the requirements.
It realizes collaborative stability between different USB devices, improves user experience, simplifies control steps, and improves the functional compatibility and collaborative working ability of USB devices.
Smart Images

Figure CN119597698A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of device control, and in particular to a method and system for USB multi-function combination application. Background Art
[0002] At present, with the continuous development and popularization of electronic devices, the USB (Universal Serial Bus) interface has become a widely used standard interface. Various devices such as computers, mobile phones, tablets, and peripherals rely on USB for data transmission, charging, and other operations;
[0003] However, in practical applications, people's functional requirements for USB interfaces are becoming increasingly diverse. Traditional USB applications are relatively single, and compatibility and collaboration between different devices are also an important issue, which limits the full play of its functions.
[0004] Therefore, in order to overcome the above defects, the present invention provides a method and system for USB multi-function combination application. Summary of the invention
[0005] The present invention provides a method and system for USB multi-function combination application, which is used to combine multiple USB devices with different functions and allocate corresponding interfaces according to the functional attributes of different USB devices, so that different USB devices can perform business operations through corresponding interfaces when working, avoiding mutual restrictions and influences. Secondly, application requests are parsed to accurately and effectively determine application requirements, so as to facilitate controlling the USB multi-function combination to perform corresponding operations. Finally, USB devices with different functions are controlled to work in coordination according to the determined application requirements, thereby ensuring the collaborative stability between the USB devices and improving the user experience.
[0006] The present invention provides a method for USB multi-function combination application, comprising:
[0007] Step 1: combining and connecting USB devices with different functions based on a preset combination mode, and assigning interfaces to USB devices with different functions according to functional attributes of the USB devices based on the combined connection result;
[0008] Step 2: Determine application requirements based on application requests;
[0009] Step 3: Coordinate and manage the target programs corresponding to USB devices with different functions based on the interface allocation results based on application requirements.
[0010] Preferably, a method for USB multi-function combination application, in step 1, combining and connecting USB devices with different functions based on a preset combination method, includes:
[0011] Obtaining the operating requirements of USB devices with different functions, and determining the operating protocol of each USB device based on the operating requirements;
[0012] Build a device connection parameter library based on the running protocol, and perform parameter compatibility adaptation for USB devices with different functions based on the device connection parameter library;
[0013] Based on the parameter compatibility adaptation results, USB devices with different functions are combined and connected.
[0014] Preferably, a method for USB multi-function combination application, in step 1, based on the connection result and according to the functional attributes of the USB device, interfaces are allocated to USB devices with different functions, including:
[0015] Acquire the functional attributes of each USB device, and determine the service scope of each USB device based on the functional attributes;
[0016] Based on the business scope, an independent business interface is allocated to each USB device. At the same time, based on the allocation result, a unified communication address of a combination of USB devices with different functions is retrieved from the management terminal, and a device address of each USB device is attached based on the unified communication address.
[0017] Complete the connection configuration of each USB device based on the attached tag result and the service interface allocation result.
[0018] Preferably, a method for USB multi-function combination application, completing the connection configuration of each USB device based on the attached tag result and the service interface allocation result, includes:
[0019] Based on the functional attributes and the connection configuration result, the corresponding driver is retrieved from the application driver library, and the corresponding application space is allocated to the USB devices with different functions in the current application environment;
[0020] Install and deploy the drivers corresponding to each USB device in the corresponding application space;
[0021] Based on the installation and deployment results, the operating parameters of each USB device are debugged to obtain a USB multi-function combination, and a simulation control instruction is sent to the USB multi-function combination;
[0022] The USB multi-function combination is subjected to application simulation control based on the simulation control instruction, and the connection configuration parameters of the USB multi-function combination are iteratively optimized based on the application simulation control result.
[0023] Preferably, in a method for USB multi-function combination application, in step 2, determining application requirements based on application requests includes:
[0024] Obtain key events sent by the management terminal, and determine corresponding application requests based on the key events;
[0025] Parse the application request based on the preset USB multi-function combination control system and extract key information from the application request;
[0026] Perform structural analysis on key information based on preset grammar, determine key elements and semantics in key information, and identify and associate the execution logic of key elements and semantics;
[0027] The execution purpose of the management terminal is determined based on the identification and association results, and the application requirements are obtained based on the execution purpose.
[0028] Preferably, in a method for USB multi-function combination application, in step 3, target programs corresponding to USB devices with different functions are coordinated and managed according to the interface allocation result based on application requirements, including:
[0029] Obtain the obtained application requirements, and determine the USB device to be called required by the management terminal based on the application request;
[0030] Extracting the identity tag of the USB device to be called, and determining the target service interface of the USB device to be called based on the identity tag;
[0031] The communication permission of the target service interface is opened, and based on the opening result, a preset key value sequence is sent to the USB device to be called according to the target service interface. At the same time, an authorization dialog box is popped up based on the sending result, and application authorization is performed on the USB device to be called based on the authorization dialog box;
[0032] Building a target communication between the USB device to be called and the host based on the application authorization result, and driving the target program corresponding to the USB device to be called to run based on the building result;
[0033] Acquire the running status of the host based on the running result, and configure the working parameters of the USB device to be called based on the running status of the host;
[0034] Based on the configuration results, independent service application channels are deployed in the host for different USB devices to be called, and a distributed coordination management mechanism is established;
[0035] Based on the distributed coordination management mechanism, the USB devices to be called in different business application channels are coordinated and managed.
[0036] Preferably, a method for USB multi-function combination application coordinates and manages USB devices to be called in different service application channels based on a distributed coordination management mechanism, including:
[0037] Based on the distributed coordination management mechanism, the operating status of the USB device to be called is obtained in real time, and the operating status of the USB device to be called is visualized in a preset visualization chart;
[0038] Determine the change trend of the operation status of each USB device to be called based on the visual display result, and determine the compatibility characteristics between each USB device to be called based on the change trend;
[0039] The coordinated operation stability threshold between the USB devices to be called is determined based on the compatible characteristics, and when the coordinated operation stability threshold is less than a preset threshold, an early warning notification is sent to the management terminal.
[0040] Preferably, a method for USB multi-function combination application coordinates and manages USB devices to be called in different service application channels based on a distributed coordination management mechanism, including:
[0041] Based on the distributed coordination management mechanism, the interaction status between the USB device to be called and the host is monitored in real time, and the interaction process between the host and the USB device to be called is determined based on the interaction status;
[0042] When the interaction is determined to be completed based on the interaction process, the network converter is controlled to start the network conversion function;
[0043] The USB input is switched to the wired network input based on the startup result.
[0044] Preferably, in a method for USB multi-function combination application, in step 3, target programs corresponding to USB devices with different functions are coordinated and managed according to the interface allocation result based on application requirements, including:
[0045] Obtain device parameters of USB devices with different functions, and construct simulation devices of USB devices with different functions in the computer based on the device parameters;
[0046] Based on the connection relationship of USB devices with different functions, the analog device is connected and adapted, and based on the connection adaptation result, the application demand is adjusted in the computer at multiple frequencies;
[0047] Based on the multiple frequency adjustment results, the coordination management configuration parameters between USB devices with different functions are recorded respectively, and the coordination management configuration parameters are used as the first configuration sample;
[0048] Based on big data, system characteristics and compatibility parameters of different hosts are obtained, and based on the system characteristics and compatibility parameters and the operation protocols of USB devices with different functions, simulated docking is performed on the computer to generate drivers corresponding to different hosts, and the drivers are used as the second configuration sample;
[0049] Perform multi-dimensional sample category analysis on the first configuration sample, determine the coordination management difference configuration parameters of USB devices with different functions under different application requirements, extract difference characteristics of the coordination management difference configuration parameters, and determine the dynamic parameter configuration strategy of USB devices with different functions under different application requirements based on the difference characteristics;
[0050] At the same time, a multi-category interface adaptation library is constructed based on the second configuration sample, and the multi-category interface adaptation library and the dynamic parameter configuration strategy are integrated to obtain an adaptive dynamic interaction configuration mechanism;
[0051] Encapsulate the adaptive dynamic interaction configuration mechanism, and deploy the adaptive dynamic interaction configuration in the USB multi-function combination based on the encapsulation result;
[0052] Based on the deployment results, a communication link between the USB multi-function combination and the cloud storage server is established, and based on the establishment results, data backup and sharing areas are allocated to the USB multi-function combination on the cloud storage server, and based on the allocation results, application data of the USB multi-function combination is recorded and archived in real time.
[0053] The present invention provides a USB multi-function combined application system, comprising:
[0054] An interface allocation module, used for combining and connecting USB devices with different functions based on a preset combination mode, and allocating interfaces to USB devices with different functions according to functional attributes of the USB devices based on the combined connection result;
[0055] A demand determination module, used to determine application demand based on application request;
[0056] The coordination management module is used to coordinate and manage the target programs corresponding to USB devices with different functions based on application requirements and interface allocation results.
[0057] Compared with the prior art, the present invention has the following beneficial effects:
[0058] 1. By combining multiple USB devices with different functions and assigning corresponding interfaces according to the functional attributes of different USB devices, it is convenient for different USB devices to perform business operations through corresponding interfaces when working, avoiding mutual restrictions and influences. Secondly, the application request is parsed to accurately and effectively determine the application requirements, so as to facilitate the control of the USB multi-function combination to perform corresponding operations. Finally, according to the determined application requirements, the USB devices with different functions are controlled to coordinate work, ensuring the collaborative stability between the USB devices and improving the user experience.
[0059] 2. By determining the operating requirements of USB devices with different functions, the operating protocols of different USB devices are determined according to the operating requirements, providing reliable data support for combining and connecting USB devices with different functions. Secondly, according to the determined operating protocol, parameter compatibility adaptation of USB devices with different functions is achieved, providing a guarantee for connecting USB devices. Finally, USB devices with different functions are combined and connected, so as to facilitate the coordinated control of USB devices with different functions, simplify the control steps, and enhance the user experience.
[0060] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.
[0061] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0063] Figure 1 A flowchart of a USB multi-function combination application method according to an embodiment of the present invention;
[0064] Figure 2 This is a flowchart of step 1 in a method for USB multi-function combination application in an embodiment of the present invention;
[0065] Figure 3 The structure diagram of a USB multi-function combination application system in an embodiment of the present invention. DETAILED DESCRIPTION
[0066] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0067] Embodiment 1:
[0068] This embodiment provides a method for USB multi-function combination application, such as Figure 1 As shown, including:
[0069] Step 1: combining and connecting USB devices with different functions based on a preset combination mode, and assigning interfaces to USB devices with different functions according to functional attributes of the USB devices based on the combined connection result;
[0070] Step 2: Determine application requirements based on application requests;
[0071] Step 3: Coordinate and manage the target programs corresponding to USB devices with different functions based on the interface allocation results based on application requirements.
[0072] In this embodiment, the preset combination method can be to combine and connect USB devices with different functions through a hub, or to combine and connect USB devices with different functions directly on the main control chip. According to the application requirements and application environment of USB devices with different functions, a suitable method can be adopted for combined connection. Among them, the hub is a network device used to connect multiple devices together, and plays the role of centralized connection and signal amplification in the network.
[0073] In this embodiment, USB devices with different functions include a USB flash drive, a microphone, and a network converter.
[0074] In this embodiment, the functional attributes refer to the functional types corresponding to different USB devices, such as sound playback or text storage.
[0075] In this embodiment, the application request is sent by the management terminal and is used to represent a control request for the USB multi-function combination.
[0076] In this embodiment, the application requirement refers to the USB device to be controlled or the control purpose to be achieved obtained after parsing the application request.
[0077] In this embodiment, the target program refers to an engine or code that USB devices with different functions need to rely on during operation.
[0078] In this embodiment, the coordinated management refers to managing the operation processes of USB devices with different functions to ensure that the operations of the USB devices do not affect each other.
[0079] The working principle and beneficial effects of the above technical solution are: by combining a variety of USB devices with different functions and assigning corresponding interfaces according to the functional attributes of different USB devices, it is convenient for different USB devices to perform business operations through corresponding interfaces when working, avoiding mutual restrictions and influences; secondly, the application request is parsed to accurately and effectively determine the application requirements, so as to facilitate the control of the USB multi-function combination to perform corresponding operations; finally, according to the determined application requirements, the USB devices with different functions are controlled to work in coordination, ensuring the collaborative stability between the USB devices and improving the user experience.
[0080] Embodiment 2:
[0081] Based on Example 1, this embodiment provides a method for USB multi-function combination application, such as Figure 2 As shown, in step 1, USB devices with different functions are combined and connected based on a preset combination method, including:
[0082] Step 101: Obtaining operation requirements of USB devices with different functions, and determining the operation protocol of each USB device based on the operation requirements;
[0083] Step 102: constructing a device connection parameter library based on the operation protocol, and performing parameter compatibility adaptation for USB devices with different functions based on the device connection parameter library;
[0084] Step 103: Combine and connect USB devices with different functions based on the parameter compatibility adaptation result.
[0085] In this embodiment, the operation requirements refer to the environmental requirements and operating condition requirements corresponding to USB devices with different functions when performing corresponding tasks.
[0086] In this embodiment, the operation protocol refers to the system and strategy that needs to be followed during the operation process determined according to the operation requirements.
[0087] In this embodiment, the device connection parameter library refers to a connection parameter library constructed according to the operation protocols of different USB devices, and is used to characterize the limited parameters that different USB devices need to rely on when making connections.
[0088] The working principle and beneficial effects of the above technical solution are: by determining the operating requirements of USB devices with different functions, the operating protocols of different USB devices are determined according to the operating requirements, which provides reliable data support for combining and connecting USB devices with different functions; secondly, according to the determined operating protocol, parameter compatibility adaptation of USB devices with different functions is achieved, which provides a guarantee for connecting USB devices; finally, USB devices with different functions are combined and connected, so as to facilitate the coordinated control of USB devices with different functions, simplify the control steps, and enhance the user experience.
[0089] Embodiment 3:
[0090] On the basis of Embodiment 1, this embodiment provides a method for USB multi-function combination application, in step 1, based on the connection result and according to the functional attributes of the USB device, interfaces are allocated to USB devices with different functions, including:
[0091] Acquire the functional attributes of each USB device, and determine the service scope of each USB device based on the functional attributes;
[0092] Based on the business scope, an independent business interface is allocated to each USB device. At the same time, based on the allocation result, a unified communication address of a combination of USB devices with different functions is retrieved from the management terminal, and a device address of each USB device is attached based on the unified communication address.
[0093] Complete the connection configuration of each USB device based on the attached tag result and the service interface allocation result.
[0094] In this embodiment, the service scope refers to the service types that different USB devices can perform, so that corresponding service interfaces are allocated to different USB devices according to the service scope.
[0095] In this embodiment, the unified communication address refers to a unified communication address information that is obtained by combining and connecting USB devices with different functions and can represent all USB devices.
[0096] In this embodiment, the subsidiary marking refers to marking each USB device, so as to facilitate the determination of the communication addresses corresponding to different USB devices.
[0097] The working principle and beneficial effects of the above technical solution are: by analyzing the functional attributes of USB devices, the business scope of different USB devices can be determined, so as to facilitate accurate and effective allocation of business interfaces corresponding to different USB devices according to the business scope. At the same time, the unified communication address after the combination of USB devices with different functions is determined, and the unified communication address is attached to different USB devices to achieve effective connection configuration of different USB devices, thereby ensuring the effectiveness and reliability of the combination of devices with different USB functions.
[0098] Embodiment 4:
[0099] On the basis of Embodiment 3, this embodiment provides a method for USB multi-function combination application, which completes the connection configuration of each USB device based on the auxiliary marking result and the service interface allocation result, including:
[0100] Based on the functional attributes and the connection configuration result, the corresponding driver is retrieved from the application driver library, and the corresponding application space is allocated to the USB devices with different functions in the current application environment;
[0101] Install and deploy the drivers corresponding to each USB device in the corresponding application space;
[0102] Based on the installation and deployment results, the operating parameters of each USB device are debugged to obtain a USB multi-function combination, and a simulation control instruction is sent to the USB multi-function combination;
[0103] The USB multi-function combination is subjected to application simulation control based on the simulation control instruction, and the connection configuration parameters of the USB multi-function combination are iteratively optimized based on the application simulation control result.
[0104] In this embodiment, the application driver library is pre-set and internally stores driver programs corresponding to a variety of services, wherein the driver program is a software code for driving different USB devices to execute corresponding services.
[0105] In this embodiment, the running parameter debugging refers to running the installed and deployed driver in association with the USB device, in order to ensure that the driver can effectively perform corresponding business operations.
[0106] In this embodiment, iteratively optimizing the connection configuration parameters of the USB multi-function combination based on the application simulation control results means recording each application simulation control result and determining the errors or defects existing each time based on the recorded results, thereby achieving iterative optimization of the connection configuration parameters.
[0107] The working principle and beneficial effect of the above technical solution are: by calling the corresponding driver from the application driver library according to the functional attributes, and installing and deploying the driver in the current application environment, and debugging the operating parameters of each USB device after installation and deployment, it is possible to iteratively optimize the connection configuration parameters of the USB multi-function combination according to the operating parameter debugging results, thereby ensuring the effective combination of each USB device and guaranteeing the combined application effect.
[0108] Embodiment 5:
[0109] Based on Embodiment 1, this embodiment provides a method for USB multi-function combination application. In step 2, determining application requirements based on application requests includes:
[0110] Obtain key events sent by the management terminal, and determine corresponding application requests based on the key events;
[0111] Parse the application request based on the preset USB multi-function combination control system and extract key information from the application request;
[0112] Perform structural analysis on key information based on preset grammar, determine key elements and semantics in key information, and identify and associate the execution logic of key elements and semantics;
[0113] The execution purpose of the management terminal is determined based on the identification and association results, and the application requirements are obtained based on the execution purpose.
[0114] In this embodiment, the key event refers to a combined application request sent by a user at the management terminal, and different key events correspond to different application requests.
[0115] In this embodiment, the preset USB multi-function combination control system is set in advance.
[0116] In this embodiment, the key information refers to a data segment that can determine the application type and application purpose.
[0117] In this embodiment, the preset grammar is known in advance and is used to perform operations such as sentence splitting on key information.
[0118] In this embodiment, the execution logic refers to the execution actions between key elements and semantics and the execution order between actions, etc., wherein the key element is an information element in the key information, such as a certain word.
[0119] In this embodiment, the execution purpose refers to the effect that the application request is ultimately intended to achieve.
[0120] The working principle and beneficial effects of the above technical solution are: by parsing the key events, the application request can be effectively determined according to the analysis results, and secondly, the application request is parsed to effectively determine the execution purpose of the management terminal, and finally the application requirements can be effectively locked according to the execution purpose.
[0121] Embodiment 6:
[0122] Based on Example 1, this embodiment provides a method for USB multi-function combination application. In step 3, target programs corresponding to USB devices with different functions are coordinated and managed according to the interface allocation result based on application requirements, including:
[0123] Obtain the obtained application requirements, and determine the USB device to be called required by the management terminal based on the application request;
[0124] Extracting the identity tag of the USB device to be called, and determining the target service interface of the USB device to be called based on the identity tag;
[0125] The communication permission of the target service interface is opened, and based on the opening result, a preset key value sequence is sent to the USB device to be called according to the target service interface. At the same time, an authorization dialog box is popped up based on the sending result, and application authorization is performed on the USB device to be called based on the authorization dialog box;
[0126] Building a target communication between the USB device to be called and the host based on the application authorization result, and driving the target program corresponding to the USB device to be called to run based on the building result;
[0127] Acquire the running status of the host based on the running result, and configure the working parameters of the USB device to be called based on the running status of the host;
[0128] Based on the configuration results, independent service application channels are deployed in the host for different USB devices to be called, and a distributed coordination management mechanism is established;
[0129] Based on the distributed coordination management mechanism, the USB devices to be called in different business application channels are coordinated and managed.
[0130] In this embodiment, the USB device to be called refers to a required USB device determined under application requirements and is not unique.
[0131] In this embodiment, the identity tag refers to a marking symbol that can represent the identities of different USB devices.
[0132] In this embodiment, the target service interface refers to the service interface corresponding to the USB device to be called.
[0133] In this embodiment, the preset key value sequence is known in advance and is used to request the USB device to be called to pop up an authorization dialog box, thereby implementing application authorization for the USB device to be called.
[0134] In this embodiment, configuring the working parameters of the USB device to be called based on the operating status of the host refers to real-time adjustment of the working parameters of the USB device to be called according to the operating status of the host, for example, the communication mode and service execution mode of the USB device to be called may be configured.
[0135] In this embodiment, the distributed coordination management mechanism is to construct a control method for different USB devices in the host, so as to control different USB devices at the same time without affecting each other.
[0136] The working principle and beneficial effects of the above technical solution are: by parsing the application requirements, the USB device to be called can be effectively determined. At the same time, the identity tag of the USB device to be called is determined, and the target business interface of the device to be called is effectively determined according to the identity tag. Secondly, the communication authority of the target business interface is opened, and a preset key value sequence is sent to the USB device to be called according to the opening result, so as to realize application authorization of the USB device to be called, which is convenient for the USB device to be called to perform corresponding business operations. Finally, after the application authorization, the target communication between the USB device to be called and the host is constructed, and the target program corresponding to the USB device to be called is driven to run according to the construction result, and during the running process, the working parameters of the USB device to be called are configured according to the running state of the host, ensuring the working effect of the USB device to be called. At the same time, independent business application channels are deployed in the host for different USB devices to be called, and a distributed coordination management mechanism is constructed to realize safe and reliable coordination management of the USB devices to be called according to the independent business application channels and the distributed coordination management mechanism.
[0137] Embodiment 7:
[0138] On the basis of Example 6, this embodiment provides a method for USB multi-function combination application, which coordinates and manages USB devices to be called in different service application channels based on a distributed coordination management mechanism, including:
[0139] Based on the distributed coordination management mechanism, the operating status of the USB device to be called is obtained in real time, and the operating status of the USB device to be called is visualized in a preset visualization chart;
[0140] Determine the change trend of the operation status of each USB device to be called based on the visual display result, and determine the compatibility characteristics between each USB device to be called based on the change trend;
[0141] The coordinated operation stability threshold between the USB devices to be called is determined based on the compatible characteristics, and when the coordinated operation stability threshold is less than a preset threshold, an early warning notification is sent to the management terminal.
[0142] In this embodiment, the preset visualization chart is known in advance and is used to visualize the running status of the USB device to be called.
[0143] In this embodiment, the compatibility feature is used to characterize the working stability between the USB devices to be called.
[0144] In this embodiment, the coordinated operation stability threshold refers to the specific stability level of the coordinated operation between the USB devices to be called, and a larger value indicates a more stable operation.
[0145] In this embodiment, the preset threshold is set in advance.
[0146] The working principle and beneficial effects of the above technical solution are: the operating status of the USB device to be called is obtained in real time through a distributed coordination management mechanism, and the obtained operating status is visualized through a preset visualization chart, so as to facilitate effective understanding of the operating status of the USB device to be called, wherein the change trend of the operating status of each USB device to be called is determined according to the visualization result, and the compatibility characteristics between each USB device to be called are determined according to the change trend. Finally, the coordinated operation stability between each USB device to be called is evaluated according to the compatibility characteristics, thereby ensuring the coordinated management between each USB device to be called.
[0147] Embodiment 8:
[0148] On the basis of Example 6, this embodiment provides a method for USB multi-function combination application, which coordinates and manages USB devices to be called in different service application channels based on a distributed coordination management mechanism, including:
[0149] Based on the distributed coordination management mechanism, the interaction status between the USB device to be called and the host is monitored in real time, and the interaction process between the host and the USB device to be called is determined based on the interaction status;
[0150] When the interaction is determined to be completed based on the interaction process, the network converter is controlled to start the network conversion function;
[0151] The USB input is switched to the wired network input based on the startup result.
[0152] In this embodiment, the network converter is preset and used to convert the input mode.
[0153] The working principle and beneficial effect of the above technical solution are: by monitoring the interaction status of the USB device to be called and the host, the interaction process between the host and the USB device to be called can be effectively determined according to the interaction status, so as to facilitate timely control of the network converter to start the network conversion function after the interaction is completed, and realize switching the USB mode input to the wired network input, thereby improving the coordination and management effect between the USB devices to be called.
[0154] Embodiment 9:
[0155] Based on Example 1, this embodiment provides a method for USB multi-function combination application. In step 3, target programs corresponding to USB devices with different functions are coordinated and managed according to the interface allocation result based on application requirements, including:
[0156] Obtain device parameters of USB devices with different functions, and construct simulation devices of USB devices with different functions in the computer based on the device parameters;
[0157] Based on the connection relationship of USB devices with different functions, the analog device is connected and adapted, and based on the connection adaptation result, the application demand is adjusted in the computer at multiple frequencies;
[0158] Based on the multiple frequency adjustment results, the coordination management configuration parameters between USB devices with different functions are recorded respectively, and the coordination management configuration parameters are used as the first configuration sample;
[0159] Based on big data, system characteristics and compatibility parameters of different hosts are obtained, and based on the system characteristics and compatibility parameters and the operation protocols of USB devices with different functions, simulated docking is performed on the computer to generate drivers corresponding to different hosts, and the drivers are used as the second configuration sample;
[0160] Perform multi-dimensional sample category analysis on the first configuration sample, determine the coordination management difference configuration parameters of USB devices with different functions under different application requirements, extract difference characteristics of the coordination management difference configuration parameters, and determine the dynamic parameter configuration strategy of USB devices with different functions under different application requirements based on the difference characteristics;
[0161] At the same time, a multi-category interface adaptation library is constructed based on the second configuration sample, and the multi-category interface adaptation library and the dynamic parameter configuration strategy are integrated to obtain an adaptive dynamic interaction configuration mechanism;
[0162] Encapsulate the adaptive dynamic interaction configuration mechanism, and deploy the adaptive dynamic interaction configuration in the USB multi-function combination based on the encapsulation result;
[0163] Based on the deployment results, a communication link between the USB multi-function combination and the cloud storage server is established, and based on the establishment results, data backup and sharing areas are allocated to the USB multi-function combination on the cloud storage server, and based on the allocation results, application data of the USB multi-function combination is recorded and archived in real time.
[0164] In this embodiment, the device parameters refer to the type of the USB device and the operating conditions that need to be met during operation.
[0165] In this embodiment, the simulated device refers to constructing a virtual model of a USB device with different functions in a computer.
[0166] In this embodiment, the multi-frequency adjustment refers to performing multiple adjustments to the application requirements in the computer according to different requirements.
[0167] In this embodiment, the coordination management configuration parameters refer to configuration parameters corresponding to USB devices with different functions when executing different application requirements.
[0168] In this embodiment, the first configuration sample refers to the coordination management configuration parameters corresponding to different application requirements between USB devices with different functions.
[0169] In this embodiment, system characteristics refer to system features of different hosts, including device working modes and environmental requirements.
[0170] In this embodiment, the operation protocol refers to the standards and conditions that USB devices with different functions need to meet during operation.
[0171] In this embodiment, the second configuration sample refers to the driver programs corresponding to different hosts.
[0172] In this embodiment, multi-dimensional sample category analysis refers to performing different types of parameter analysis on the first configuration sample, that is, performing one-to-one analysis using analysis rules corresponding to parameters of different categories, wherein the analysis rules are known in advance.
[0173] In this embodiment, the coordination management difference configuration parameters refer to the differences in coordination management configuration parameters of USB devices with different functions under different application requirements.
[0174] In this embodiment, the difference feature refers to the specific difference situation of the difference between the coordination management configuration parameters, including the difference size and the difference type.
[0175] In this embodiment, the dynamic parameter configuration strategy refers to determining specific parameter configuration schemes for USB devices with different functions under different application requirements according to difference characteristics, thereby facilitating meeting the requirements of different application requirements and achieving flexible changes in configuration parameters.
[0176] In this embodiment, the adaptive dynamic interactive configuration mechanism refers to a solution that is obtained by integrating a multi-category interface adaptation library and a dynamic parameter configuration strategy and can automatically configure parameters according to application requirements.
[0177] In this embodiment, the cloud storage server is set in advance.
[0178] The working principle and beneficial effects of the above technical solution are: by constructing simulation devices of USB devices with different functions in the computer and adjusting the application requirements at multiple frequencies, the configuration parameters corresponding to the USB devices with different functions when executing different application requirements can be effectively determined. At the same time, according to the system characteristics and compatible parameters of different hosts, the drivers corresponding to different hosts can be effectively determined. Secondly, the first configuration sample is parsed in a multi-dimensional sample category to effectively determine the dynamic parameter configuration strategy of USB devices with different functions under different application requirements. At the same time, a multi-category interface adapter library is constructed according to the second configuration sample, and the multi-category interface adapter library and the dynamic parameter configuration strategy are integrated to effectively determine the adaptive dynamic interaction configuration mechanism. Finally, the adaptive dynamic interaction configuration mechanism is encapsulated and deployed, which provides a guarantee for improving the application effect of USB multi-function combination applications.
[0179] Embodiment 10:
[0180] This embodiment provides a USB multi-function combination application system, such as Figure 3 As shown, including:
[0181] An interface allocation module, used for combining and connecting USB devices with different functions based on a preset combination mode, and allocating interfaces to USB devices with different functions according to functional attributes of the USB devices based on the combined connection result;
[0182] A demand determination module, used to determine application demand based on application request;
[0183] The coordination management module is used to coordinate and manage the target programs corresponding to USB devices with different functions based on application requirements and interface allocation results.
[0184] The working principle and beneficial effects of the above technical solution are: by combining a variety of USB devices with different functions and assigning corresponding interfaces according to the functional attributes of different USB devices, it is convenient for different USB devices to perform business operations through corresponding interfaces when working, avoiding mutual restrictions and influences; secondly, the application request is parsed to accurately and effectively determine the application requirements, so as to facilitate the control of the USB multi-function combination to perform corresponding operations; finally, according to the determined application requirements, the USB devices with different functions are controlled to work in coordination, ensuring the collaborative stability between the USB devices and improving the user experience.
[0185] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for USB multi-function combination application, characterized in that: include: Step 1: combining and connecting USB devices with different functions based on a preset combination mode, and assigning interfaces to USB devices with different functions according to functional attributes of the USB devices based on the combined connection result; Step 2: Determine application requirements based on application requests; Step 3: Coordinate and manage the target programs corresponding to USB devices with different functions based on the interface allocation results based on application requirements.
2. A USB multi-function combination application method according to claim 1, characterized in that: In step 1, USB devices with different functions are combined and connected based on a preset combination method, including: Obtaining the operating requirements of USB devices with different functions, and determining the operating protocol of each USB device based on the operating requirements; Build a device connection parameter library based on the running protocol, and perform parameter compatibility adaptation for USB devices with different functions based on the device connection parameter library; Based on the parameter compatibility adaptation results, USB devices with different functions are combined and connected.
3. The method for USB multi-function combination application according to claim 1, characterized in that: In step 1, based on the connection result and according to the functional attributes of the USB devices, interfaces are allocated to USB devices with different functions, including: Acquire the functional attributes of each USB device, and determine the service scope of each USB device based on the functional attributes; Based on the business scope, an independent business interface is allocated to each USB device. At the same time, based on the allocation result, a unified communication address of a combination of USB devices with different functions is retrieved from the management terminal, and a device address of each USB device is attached based on the unified communication address. Complete the connection configuration of each USB device based on the attached tag result and the service interface allocation result.
4. A USB multi-function combination application method according to claim 3, characterized in that: Complete the connection configuration of each USB device based on the attached tag result and the service interface allocation result, including: Based on the functional attributes and the connection configuration result, the corresponding driver is retrieved from the application driver library, and the corresponding application space is allocated to the USB devices with different functions in the current application environment; Install and deploy the drivers corresponding to each USB device in the corresponding application space; Based on the installation and deployment results, the operating parameters of each USB device are debugged to obtain a USB multi-function combination, and a simulation control instruction is sent to the USB multi-function combination; The USB multi-function combination is subjected to application simulation control based on the simulation control instruction, and the connection configuration parameters of the USB multi-function combination are iteratively optimized based on the application simulation control result.
5. The method for USB multi-function combination application according to claim 1, characterized in that: In step 2, the application requirements are determined based on the application request, including: Obtain key events sent by the management terminal, and determine corresponding application requests based on the key events; Parse the application request based on the preset USB multi-function combination control system and extract key information from the application request; Perform structural analysis on key information based on preset grammar, determine key elements and semantics in key information, and identify and associate the execution logic of key elements and semantics; The execution purpose of the management terminal is determined based on the identification and association results, and the application requirements are obtained based on the execution purpose.
6. The method for USB multi-function combination application according to claim 1, characterized in that: In step 3, target programs corresponding to USB devices with different functions are coordinated and managed according to the interface allocation results based on application requirements, including: Obtain the obtained application requirements, and determine the USB device to be called required by the management terminal based on the application request; Extracting the identity tag of the USB device to be called, and determining the target service interface of the USB device to be called based on the identity tag; The communication permission of the target service interface is opened, and based on the opening result, a preset key value sequence is sent to the USB device to be called according to the target service interface. At the same time, an authorization dialog box is popped up based on the sending result, and application authorization is performed on the USB device to be called based on the authorization dialog box; Building a target communication between the USB device to be called and the host based on the application authorization result, and driving the target program corresponding to the USB device to be called to run based on the building result; Acquire the running status of the host based on the running result, and configure the working parameters of the USB device to be called based on the running status of the host; Based on the configuration results, independent service application channels are deployed in the host for different USB devices to be called, and a distributed coordination management mechanism is established; Based on the distributed coordination management mechanism, the USB devices to be called in different business application channels are coordinated and managed.
7. A USB multi-function combination application method according to claim 6, characterized in that: Based on the distributed coordination management mechanism, the USB devices to be called in different business application channels are coordinated and managed, including: Based on the distributed coordination management mechanism, the operating status of the USB device to be called is obtained in real time, and the operating status of the USB device to be called is visualized in a preset visualization chart; Determine the change trend of the operation status of each USB device to be called based on the visual display result, and determine the compatibility characteristics between each USB device to be called based on the change trend; The coordinated operation stability threshold between the USB devices to be called is determined based on the compatible characteristics, and when the coordinated operation stability threshold is less than a preset threshold, an early warning notification is sent to the management terminal.
8. The USB multi-function combination application method according to claim 6, characterized in that: Based on the distributed coordination management mechanism, the USB devices to be called in different business application channels are coordinated and managed, including: Based on the distributed coordination management mechanism, the interaction status between the USB device to be called and the host is monitored in real time, and the interaction process between the host and the USB device to be called is determined based on the interaction status; When the interaction is determined to be completed based on the interaction process, the network converter is controlled to start the network conversion function; The USB input is switched to the wired network input based on the startup result.
9. The USB multi-function combination application method according to claim 1, characterized in that: In step 3, target programs corresponding to USB devices with different functions are coordinated and managed according to the interface allocation results based on application requirements, including: Obtain device parameters of USB devices with different functions, and construct simulation devices of USB devices with different functions in the computer based on the device parameters; Based on the connection relationship of USB devices with different functions, the analog device is connected and adapted, and based on the connection adaptation result, the application demand is adjusted in the computer at multiple frequencies; Based on the multiple frequency adjustment results, the coordination management configuration parameters between USB devices with different functions are recorded respectively, and the coordination management configuration parameters are used as the first configuration sample; Based on big data, system characteristics and compatibility parameters of different hosts are obtained, and based on the system characteristics and compatibility parameters and the operation protocols of USB devices with different functions, simulated docking is performed on the computer to generate drivers corresponding to different hosts, and the drivers are used as the second configuration sample; Perform multi-dimensional sample category analysis on the first configuration sample, determine the coordination management difference configuration parameters of USB devices with different functions under different application requirements, extract difference characteristics of the coordination management difference configuration parameters, and determine the dynamic parameter configuration strategy of USB devices with different functions under different application requirements based on the difference characteristics; At the same time, a multi-category interface adaptation library is constructed based on the second configuration sample, and the multi-category interface adaptation library and the dynamic parameter configuration strategy are integrated to obtain an adaptive dynamic interaction configuration mechanism; Encapsulate the adaptive dynamic interaction configuration mechanism, and deploy the adaptive dynamic interaction configuration in the USB multi-function combination based on the encapsulation result; Based on the deployment results, a communication link between the USB multi-function combination and the cloud storage server is established, and based on the establishment results, data backup and sharing areas are allocated to the USB multi-function combination on the cloud storage server, and based on the allocation results, application data of the USB multi-function combination is recorded and archived in real time.
10. A USB multi-function combined application system, characterized in that: include: An interface allocation module, used for combining and connecting USB devices with different functions based on a preset combination mode, and allocating interfaces to USB devices with different functions according to functional attributes of the USB devices based on the combined connection result; A demand determination module, used for determining application demand based on application request; The coordination management module is used to coordinate and manage the target programs corresponding to USB devices with different functions based on application requirements and interface allocation results.