Multi-device collaborative management and optimization system based on soft bus

Through a multi-device collaborative management and optimization system based on soft bus, the limitations of equipment compatibility and resource management are solved, and the wide compatibility of equipment and resource utilization efficiency are improved, while enhancing system security and user experience.

CN119766809AActive Publication Date: 2025-04-04NO 15 INST OF CHINA ELECTRONICS TECH GRP

Patent Information

Application Number
CN202411846708.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-04-04
Estimated Expiration
2044-12-16

AI Technical Summary

Technical Problem

The existing multi-device collaboration technology has limitations in equipment compatibility and resource management, resulting in the inability to access the equipment correctly or the functions are limited, the resource evaluation is not comprehensive and accurate, the resource scheduling flexibility is insufficient, and the resource utilization rate between different devices has not been effectively optimized.

Method used

A multi-device collaborative management and optimization system based on soft bus is adopted, including device access identification module, collaborative task scheduling module, resource management optimization module, security protection module and user experience enhancement module. Device access is realized through soft bus and multiple communication protocols, and real-time monitoring and optimization of resource allocation are provided to provide security protection and user experience improvement.

Benefits of technology

It achieves extensive compatibility with various types and brands of equipment, improves resource utilization efficiency, enhances system security, and provides a unified and convenient user operation experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766809A_ABST
    Figure CN119766809A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-device collaborative management and optimization system based on a soft bus, and the system comprises a device access recognition module which is used for scanning known devices and unknown devices through the soft bus and a plurality of communication protocols, and configuring a drive program; the collaborative task scheduling module is used for receiving a task request sent by a user, obtaining a task allocation scheme according to the task request and the comprehensive score of the access equipment, monitoring the execution condition of the task allocation scheme and performing dynamic adjustment; the resource management optimization module is used for endowing a resource attribute value to the access equipment and optimizing a task allocation scheme in combination with the task request; the security protection module is used for verifying identities of the access equipment and the user, performing encryption and integrity verification on transmission data, performing classified storage, and monitoring a security state of the access equipment; and the user experience enhancement module is used for setting a unified operation interface and dynamically adjusting the operation interface to realize synchronous execution of equipment tasks and unified display of prompt information. And the multi-device cooperation capability and the user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multi-device collaborative management, and more specifically to a multi-device collaborative management and optimization system based on a soft bus. Background Art

[0002] Multi-device collaboration technology aims to achieve seamless collaboration between different types of smart devices, providing users with a more convenient and efficient experience. In the field of smart homes, through multi-device collaboration, users can achieve functions such as automatically adjusting the brightness of lights according to different times or scenes, or controlling the opening and closing of curtains while playing specific content on the TV through voice commands; in a smart office environment, the collaborative work of devices such as smartphones, tablets, laptops and smart projectors can make file sharing, presentations and real-time editing of documents by multiple people more efficient and convenient.

[0003] However, although the existing distributed collaboration framework has met some collaboration needs to a certain extent, it still has certain limitations in terms of device compatibility and resource management:

[0004] Device compatibility: The framework may not be able to correctly identify or parse the relevant protocols, resulting in the device being unable to access or its functions being restricted; due to differences in operating systems, the running effects of applications on different devices may also be significantly different; and communication capabilities are difficult to cross domains or network environments.

[0005] Resource management: The evaluation of equipment resources lacks comprehensiveness and accuracy; resource scheduling is not flexible enough; and resource utilization among different devices has not been effectively optimized.

[0006] Therefore, how to make up for the deficiencies in device compatibility and resource management, and thereby improve the multi-device collaboration capabilities and user experience is an issue that technical personnel in this field urgently need to solve. Summary of the invention

[0007] In view of this, the present invention provides a multi-device collaborative management and optimization system based on a soft bus, which makes up for the deficiencies in device compatibility and resource management, thereby improving the multi-device collaborative capabilities and user experience.

[0008] In order to achieve the above object, the present invention adopts the following technical solution:

[0009] A multi-device collaborative management and optimization system based on a soft bus, comprising: a device access identification module, a collaborative task scheduling module, a resource management optimization module, a security protection module and a user experience enhancement module;

[0010] The device access identification module is used to scan known devices and unknown devices through the soft bus and multiple communication protocols, and configure the driver program accordingly to achieve device access;

[0011] The collaborative task scheduling module is used to receive task requests sent by users, obtain a task allocation plan based on the task request and the comprehensive score of the access device, monitor the execution of the task allocation plan and make dynamic adjustments;

[0012] The resource management optimization module is used to assign resource attribute values ​​to the access device, and optimize the task allocation scheme and adjust and allocate resources based on the task request and resource attribute values;

[0013] The security protection module is used to verify the identity of the access device and the user, encrypt and verify the integrity of the transmission data between the access devices, classify and store the transmission data, monitor the security status of the access device and issue abnormal warnings;

[0014] The user experience enhancement module is used to set a unified operation interface and adjust the operation interface based on device characteristics, realize synchronous execution of tasks and unified display of prompt information between the access devices, and provide online support.

[0015] Preferably, the device access identification module includes: a communication protocol processing unit, a device information extraction unit, a dynamic identification unit, an intelligent connection unit and a drive management unit;

[0016] The communication protocol processing unit is used to scan and identify signals of the various known devices and the unknown devices in different network environments based on the integrated multiple communication protocols and soft buses;

[0017] The device information extraction unit is used to classify the signal type based on the communication protocol characteristics corresponding to the identified known device signal, and extract the corresponding known device information based on the classified known device signal;

[0018] The dynamic identification unit is used to classify the unknown devices based on the common features of the identified unknown devices, perform interactive testing based on the classified unknown devices, and obtain functional characteristics of the unknown devices as unknown device information;

[0019] The intelligent connection unit is used to dynamically select corresponding communication protocols and connection parameters based on the known device information and the unknown device information to achieve device access;

[0020] The driver management unit is used to match the corresponding driver for the access device based on the built-in device driver library. If there is no matching driver, a temporary driver is generated based on the interface specification and functional description of the access device and optimized and adjusted until the access device runs stably.

[0021] Preferably, the collaborative task scheduling module includes: a task parsing unit, a task template matching unit, a device selection and task allocation unit, and a task execution monitoring and adjustment unit;

[0022] The task parsing unit is used to receive the task request of the user and parse it to obtain task information;

[0023] The task template matching unit is used to compare the task information with the attributes of the task template to obtain a matching task template, and select the corresponding access device based on the task template;

[0024] A device selection and task allocation unit, configured to obtain a matching score, a resource idle score, a communication efficiency score, and a historical evaluation score based on the selected access device to obtain the comprehensive score, select a corresponding access device for task allocation based on the comprehensive score, and obtain the task allocation plan;

[0025] The task execution monitoring and adjustment unit is used to monitor the execution status of the task allocation plan in real time, adjust the corresponding task execution status based on the task progress, and dynamically adjust the task allocation plan based on the abnormal situation of the access device.

[0026] Preferably, the device selection and task allocation unit includes: a function matching evaluation subunit, a resource idleness evaluation subunit, a communication efficiency evaluation subunit, a historical task performance evaluation subunit and a multi-factor task allocation subunit;

[0027] The functional matching evaluation subunit is used to determine the functional attributes of the device based on the access device, obtain the functional vector based on the functional attributes, obtain the requirement vector based on the task information, and perform a dot product operation with the functional vector to obtain the matching score;

[0028] The resource idleness evaluation subunit is used to obtain the real-time resource information of each of the access devices and convert it into a resource idle vector, determine the corresponding demand weight based on the task information, and obtain the resource idle score based on the demand weight and the resource idle vector;

[0029] The communication efficiency evaluation subunit is used to establish a communication efficiency matrix based on measuring the network delay and packet loss rate between each access device, and obtain a communication efficiency score based on the communication efficiency matrix;

[0030] The historical task performance evaluation subunit is used to obtain the historical evaluation score based on the completion status of the access device in the same type of tasks;

[0031] The multi-factor task allocation subunit is used to obtain the comprehensive score based on the matching score, the resource idle score, the communication efficiency score and the historical evaluation score, select the access device with the comprehensive score greater than the threshold for task allocation, and obtain the task allocation plan.

[0032] Preferably, the task execution monitoring and adjustment unit comprises: a task execution adjustment subunit and an abnormality adjustment subunit;

[0033] The task execution adjustment subunit is used to monitor the execution status of the task allocation scheme in real time, obtain the corresponding task progress report, and dynamically update the overall execution status of the task based on the task progress report;

[0034] The abnormal adjustment subunit is used to obtain an abnormal report when an abnormal situation occurs in the access device executing the task allocation plan, update the evaluation task situation based on the abnormal report, and dynamically adjust the task allocation plan based on the remaining available access devices and the task execution progress.

[0035] Preferably, the resource management optimization module includes: a resource attribute confirmation unit, a collaborative task allocation unit and a resource status monitoring unit;

[0036] The resource attribute confirmation unit is used to collect resource status data of the access device in real time, evaluate the hardware parameters of the access device based on the resource status data, and assign the corresponding resource attribute value to the access device based on the evaluation result;

[0037] The collaborative task allocation unit is used to optimize the task allocation scheme by using a resource scheduling algorithm based on the task information and the resource attribute value;

[0038] The resource status monitoring unit is used to adjust resources for the task allocation scheme based on the resource status data during task execution, determine task priority based on the task information, and allocate resources for the task allocation scheme based on the task priority.

[0039] Preferably, the resource scheduling algorithm specifically includes:

[0040] Acquire a resource demand vector of the task based on the task information;

[0041] Acquire a resource idle rate of the access device based on the resource attribute value;

[0042] Obtaining a resource idle vector based on the resource idle rate and calculating similarity with the demand vector;

[0043] Selecting the access device that best matches the task resources based on the similarity;

[0044] Determining resource utilization efficiency of the access device in processing a specific type of task based on historical task execution data of the access device;

[0045] Determine the degree of resource dependency of the task based on the task information;

[0046] Setting corresponding resource weight vectors for different types of tasks based on the degree of dependency;

[0047] Acquire a resource state vector of the access device based on the resource state data;

[0048] Obtaining an expected resource utilization rate of the task executed on the access device based on the resource weight vector and the resource state vector;

[0049] Predict resource changes within a preset time period based on historical resource data of access devices;

[0050] The task allocation scheme is optimized based on the similarity, resource utilization efficiency, expected resource utilization rate and resource change.

[0051] Preferably, the security protection module includes: a security authentication unit, a user authentication unit, a transmission encryption unit, a data storage unit, a data integrity verification unit and a device status monitoring unit;

[0052] The security authentication unit is used to obtain the unique identifier of the access device and compare it with the stored list of legal devices, issue a corresponding digital certificate to the legal device, and verify the validity of the corresponding digital certificate when the device is connected;

[0053] The user authentication unit is used to set multiple authentication methods to verify the identity of the user;

[0054] The transmission encryption unit is used to select a corresponding encryption algorithm to encrypt the transmission data according to the sensitivity of the transmission data and the transmission environment, and store and manage the encryption key;

[0055] The data storage unit is used to set corresponding security levels based on different types of the transmission data, and classify and store the transmission data based on the security level and the device storage capacity;

[0056] The data integrity verification unit is used to generate a first hash value based on the transmission data at the data sending end and send or store it together with the transmission data, and generate a second hash value when the receiving end reads the transmission data and compare it with the first hash value, and issue an early warning if they are inconsistent;

[0057] The device status monitoring unit is used to monitor the security status of the access device in real time, and take corresponding protective measures and issue early warning prompts when an abnormality occurs.

[0058] Preferably, the device status monitoring unit includes: an operation process monitoring subunit, a network flow monitoring subunit and an exception handling subunit;

[0059] The running process monitoring subunit is used to establish a process black and white list, monitor the running status of the access device and compare it with the black and white list to obtain a process comparison result;

[0060] The network traffic monitoring subunit is used to monitor the network traffic of the access device and identify the network traffic based on the established network traffic model and anomaly detection algorithm to obtain an abnormal network traffic pattern;

[0061] The exception handling subunit is used to take corresponding protection measures and issue early warning prompts based on the process comparison result and the abnormal network traffic pattern.

[0062] Preferably, the user experience enhancement module includes: a general interface unit, a synchronous operation unit, an adaptive unit, a feedback prompt unit and an interface optimization unit;

[0063] The universal interface unit is used to set unified interface elements and operation buttons, and optimize the interface elements based on the characteristics of the access device;

[0064] The synchronization operation unit is used to propagate the execution operation on the access device to other collaborative devices for synchronous execution;

[0065] The self-adaptation unit is used to adaptively adjust the interface elements and operation methods based on the screen size, resolution and input method of the access device;

[0066] The feedback prompt unit is used to display prompt information in a unified manner on all collaborative devices in the collaborative task, and provide corresponding help feedback and online support;

[0067] The interface optimization unit is used to evaluate the user behavior based on the prompt information, and optimize the interface elements and the operation buttons based on the evaluation results.

[0068] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a multi-device collaborative management and optimization system based on a soft bus, which has the following beneficial effects:

[0069] 1. The system of the present invention has excellent device compatibility: with the help of the system's rich communication protocol processing units and dynamic identification mechanisms, the system is compatible with various types and brands of smart devices, whether they are devices that follow standard communication protocols (such as Bluetooth, Wi-Fi, Zigbee, etc.) or special devices that use custom protocols. This wide compatibility breaks through the limitations of existing distributed collaborative frameworks on devices, eliminates user concerns about device incompatibility, and enables users to freely build personalized multi-device collaborative environments. For example, users can easily connect smart speakers, smart TVs, smart sensors and other devices from different manufacturers to achieve unified collaborative control and functional interaction, greatly improving the utilization efficiency of equipment and user convenience.

[0070] 2. The system of the present invention can accurately evaluate the resource status of each device by collecting and analyzing device resource information in real time and building a sophisticated resource model. In the collaborative task allocation stage, the system uses advanced resource scheduling algorithms to comprehensively consider the idleness, utilization efficiency, task dependence on resources, and dynamic change trends of device resources, and reasonably allocates tasks to each device to maximize resource utilization efficiency. During task execution, the system continuously monitors resource changes. If resources are tight or utilization efficiency is low, the resource adjustment mechanism can be activated in time to ensure smooth completion of the task and avoid task failure or jamming due to insufficient resources. This optimization strategy not only improves the execution efficiency of collaborative tasks, but also extends the battery life of mobile devices and reduces the problem of device heating caused by excessive use of resources, thereby further improving the overall performance and service life of the device.

[0071] 3. Security protection is one of the core advantages of this system. From the multi-level security authentication mechanism for device access (including device identity authentication and digital certificate technology), to the various methods of user identity authentication (such as passwords, fingerprints, facial recognition, iris recognition, etc.) and the support of multi-factor authentication mode, the system effectively prevents access by illegal devices and unauthorized users; during data transmission, the system selects appropriate high-intensity encryption algorithms (such as AES, RSA, etc.) according to the sensitivity of the data, and strictly manages encryption keys to ensure the confidentiality and integrity of data during transmission. For data storage, the system sets up hierarchical security protection strategies for different types of data, and reasonably allocates them according to the storage security capabilities of the device, while preventing data from being tampered with through data integrity verification technology (such as hash functions and digital signatures). This comprehensive security protection mechanism effectively protects the security of user privacy data (such as personal health information, bank account information, etc.), allowing users to feel at ease when using the system.

[0072] 4. The user experience enhancement module provides a unified, convenient and comfortable operating experience for the collaborative system. The universal user interface design framework ensures consistent visual effects and operating logic on different types of devices, reduces user learning costs, and improves operating efficiency. The operation synchronization mechanism enables the user's operations performed on one device to be synchronized to other devices participating in the collaboration, achieving a seamless operating experience. For example, when multiple devices play multimedia content, users do not need to operate each device one by one to achieve functions such as synchronized playback and pause. The device adaptation technology adaptively adjusts the user interface and operation mode according to the device's screen size, resolution, input method and other characteristics to ensure an excellent user experience on various devices. In addition, the unified feedback and prompt information processing mechanism enables users to understand the task execution status and operation results in a timely manner, and obtain clear and intuitive information feedback regardless of whether the task is running normally or abnormal. Coupled with the complete user help documentation and online support functions, user satisfaction and ease of use of the system are further improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0074] Figure 1 A schematic diagram of the structure of a multi-device collaborative management and optimization system based on a soft bus provided by the present invention.

[0075] Figure 2This is a schematic diagram of the structure of the device access identification module provided by the present invention.

[0076] Figure 3 This is a schematic diagram of the structure of the collaborative task scheduling module provided by the present invention.

[0077] Figure 4 This is a schematic diagram of the structure of the equipment selection and task allocation unit provided by the present invention.

[0078] Figure 5 This is a schematic diagram of the structure of the safety protection module provided by the present invention.

[0079] Figure 6 This is a schematic diagram of the structure of the user experience enhancement module provided by the present invention. DETAILED DESCRIPTION

[0080] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0081] Example 1

[0082] like Figure 1 As shown, the embodiment of the present invention discloses a multi-device collaborative management and optimization system based on a soft bus, including: a device access identification module, a collaborative task scheduling module, a resource management optimization module, a security protection module and a user experience enhancement module;

[0083] The device access identification module is used to scan known and unknown devices through the soft bus and multiple communication protocols, and configure the driver program accordingly to achieve device access;

[0084] The collaborative task scheduling module is used to receive task requests sent by users, obtain task allocation plans based on task requests and the comprehensive scores of access devices, monitor the execution of task allocation plans and make dynamic adjustments;

[0085] The resource management optimization module is used to assign resource attribute values ​​to access devices, and optimize task allocation schemes and adjust resource allocation based on task requests and resource attribute values;

[0086] Security protection module, used to verify the identity of access devices and users, encrypt and verify the integrity of data transmitted between access devices, store transmission data by category, monitor the security status of access devices and issue abnormal warnings;

[0087] The user experience enhancement module is used to set up a unified operation interface and adjust the operation interface based on device characteristics, realize synchronous execution of tasks and unified display of prompt information between access devices, and provide online support.

[0088] Example 2

[0089] The embodiment of the present invention discloses a multi-device collaborative management and optimization system based on a soft bus, comprising: a device access identification module, a collaborative task scheduling module, a resource management optimization module, a security protection module and a user experience enhancement module.

[0090] The device access identification module is used to scan known devices and unknown devices through the soft bus and multiple communication protocols, and configure the driver program accordingly to achieve device access.

[0091] Preferably, existing distributed collaborative frameworks usually have limitations in device compatibility. Devices of different brands and types often use different communication protocols, data formats, and operating systems. When these devices try to access a general distributed collaborative framework, the framework may not be able to correctly identify or parse the relevant protocols, resulting in the device being unable to access or its functions being limited. Even if the device successfully accesses the collaborative system, due to differences in operating systems, there may be significant differences in the running results of applications on different devices. New devices have new functions and features, and the collaborative framework is often difficult to update in a timely manner to support them. Users need to wait for system upgrades or device manufacturers to provide adapter drivers to achieve full compatibility. The design of the soft bus is mainly for local area network environments, and its communication capabilities are difficult to cross domains or network environments. This limitation limits the expansion of application scenarios of distributed collaborative systems in a wider range, especially in cross-regional device collaboration and remote operations.

[0092] Preferably, based on the above problem, the present invention is arranged as follows: Figure 2 As shown, the device access identification module includes: a communication protocol processing unit, a device information extraction unit, a dynamic identification unit, an intelligent connection unit and a drive management unit;

[0093] A communication protocol processing unit, used to scan and identify signals of various known devices and unknown devices in different network environments based on integrated multiple communication protocols and soft buses;

[0094] A device information extraction unit, configured to classify the signal type based on the communication protocol features corresponding to the identified known device signal, and extract corresponding known device information based on the classified known device signal;

[0095] A dynamic identification unit, used for classifying the unknown devices based on the common features identified, performing interactive testing on the classified unknown devices, and obtaining functional characteristics of the unknown devices as the unknown device information;

[0096] An intelligent connection unit is used to dynamically select corresponding communication protocols and connection parameters based on known device information and unknown device information to achieve device access;

[0097] The driver management unit is used to match the corresponding driver for the access device based on the built-in device driver library. If there is no matching driver, a temporary driver is generated based on the interface specification and functional description of the access device and optimized and adjusted until the access device runs stably.

[0098] Preferably, the multiple communication protocols include, but are not limited to: Bluetooth protocol stack, Wi-Fi driver protocol, Zigbee protocol, and other common and custom communication protocols.

[0099] Multiple communication protocols integrated inside the communication protocol processing unit run simultaneously. For example, the Bluetooth protocol stack searches for Bluetooth device signals in the specified frequency band, the Wi-Fi driver and protocol processing subunit scans the surrounding Wi-Fi networks and devices, and the Zigbee protocol parsing subunit searches for devices in the Zigbee network frequency band.

[0100] Preferably, for the implementation of the Bluetooth protocol stack, based on the Bluetooth standard specification, the existing Bluetooth chipset and related software development kit (SDK) are utilized. In the device scanning phase, the surrounding Bluetooth devices are searched by configuring the scanning parameters of the Bluetooth chip (such as scanning frequency, scanning mode: active scanning or passive scanning). After receiving the broadcast data packet of the Bluetooth device, the various fields of the data packet are parsed, including device name, MAC address, service UUID and other information. By analyzing these fields, the basic information of the device and the types of Bluetooth services it supports are obtained. At the same time, according to the connection establishment process of the Bluetooth protocol, pairing and connection with the target device are achieved. In this process, the security mechanism of Bluetooth is involved, including the exchange and verification of pairing keys to ensure the security of the connection.

[0101] Preferably, the Wi-Fi driver and protocol processing subunit rely on the Wi-Fi chip of the device and the Wi-Fi driver provided by the operating system. When scanning Wi-Fi networks and devices, network and device information is obtained by sending a probe request frame and receiving a Wi-Fi beacon frame. Parse the SSID, BSSID, signal strength, frequency band, and supported rate fields in the beacon frame to determine the status of the surrounding Wi-Fi network. For devices that support Wi-Fi Direct, connection is achieved through a specific Wi-Fi Direct protocol. During this process, the module handles various connection parameter settings, such as IP address allocation (via DHCP protocol or static IP configuration) and negotiation of network encryption methods (such as WPA2, WPA3) to establish a stable Wi-Fi connection.

[0102] Preferably, the Zigbee protocol parsing subunit is developed based on the Zigbee protocol stack. Devices in the Zigbee network communicate by sending and receiving signals in a specific frequency band (such as the 2.4GHz global universal frequency band). The subunit first scans the frequency band, searches for node devices in the Zigbee network, and distinguishes different Zigbee networks by identifying the network identifier (PAN ID) in the Zigbee beacon frame. For each device in the network, the module parses its device type, endpoint information, and supported Zigbee clusters. Endpoint information is used to determine the functional role of the device in the network. For example, a certain endpoint may be dedicated to temperature sensor data transmission, and another endpoint is used to control the switch state of the device. By analyzing the Zigbee cluster, the specific application functions supported by the device can be further understood, such as lighting control clusters, sensor data acquisition clusters, etc. When establishing a connection with a Zigbee device, the module follows the topology of the Zigbee network (such as star, tree or mesh type) and communication rules to ensure that data is accurately transmitted between devices.

[0103] Preferably, the communication protocol processing unit also integrates long-distance and low-power communication protocols such as LoRa and NB-IoT, as well as protocols such as Modbus and CAN bus suitable for industrial scenarios, so that it can access more types of devices, such as remote monitoring equipment, environmental sensors and industrial controllers, to achieve seamless access to diversified application scenarios.

[0104] Preferably, the newly added cross-domain communication capability of the soft bus provides greater flexibility for device access. Traditional device access is usually limited to the local area network environment, but the cross-domain communication characteristics of the soft bus break through this limitation. The system supports the access and collaboration of remote devices by introducing distributed network services. For example, users can connect home devices through the public network, and even if they are in different geographical locations, the devices can still be efficiently discovered and accessed. The system uses a secure gateway to authenticate remote devices and encrypt communications to ensure the security of cross-domain communications.

[0105] Preferably, the device information extraction unit adopts intelligent signal analysis technology in the device discovery stage to accurately distinguish different types of device signals by analyzing the characteristics of different protocol signals, such as the frequency band and modulation mode of Bluetooth signals, the frame structure and service set identifier (SSID) of Wi-Fi signals, the network identifier and node information of Zigbee signals, etc., and extracts the corresponding known device information based on the classified known device signals. The known device information includes: the unique identifier of the device, the device type (such as smart home appliances, smart wearable devices, mobile devices, etc.), a list of functions supported by the device, and the communication protocol version it uses.

[0106] Preferably, in intelligent signal analysis, a dedicated signal processing algorithm is used to demodulate and decode the Bluetooth signal. By identifying the frequency band characteristics of the Bluetooth signal (such as 79 channels of Bluetooth Basic Rate / Enhanced Data Rate (BR / EDR) in the 2.402-2.480GHz frequency band), the received RF signal is converted into a digital signal, and demodulated according to the Bluetooth modulation method (such as GFSK modulation) to extract the data packet. When parsing the data packet, according to the format of the Bluetooth protocol, the packet header, device address, data payload and other parts are analyzed to extract the device name, MAC address and supported service information.

[0107] For Wi-Fi signals, the built-in signal processing function and software algorithm of the Wi-Fi chip are used to parse the received Wi-Fi beacon frames and data frames. By analyzing the frame control field, duration field, address field and other information in the frame header, the type of frame (such as beacon frame, data frame or management frame) and the source are determined. Combined with the analysis of fields such as SSID, frequency band and signal strength, the status of Wi-Fi devices and networks can be fully understood.

[0108] For Zigbee signals, the signal is processed according to the physical layer and MAC layer protocols of Zigbee. By identifying the unique preamble and synchronization word of the Zigbee signal, it is converted into a processable digital signal. Subsequently, the frame control field, sequence number, destination address, source address and other information in the MAC layer frame are parsed, and combined with the network identifier and endpoint information, the location and function of the device in the Zigbee network are clarified.

[0109] Preferably, the dynamic identification unit is used to classify the unknown devices based on their common features. For example, if the signal contains a radio frequency signal of a specific frequency band and a data packet header of a specific format, the module can preliminarily determine that the device belongs to a certain type of communication protocol, and perform interactive tests based on the classified unknown devices (such as sending query instructions and analyzing responses) to obtain the functional characteristics of the unknown devices as unknown device information; the dynamic identification mechanism adopted by the dynamic identification unit does not rely on the pre-stored device database and can effectively adapt to newly emerging device types. In addition, the device access identification module introduces the cross-domain communication capability of the soft bus, so that even if the devices are distributed in different network environments, device discovery and communication can still be achieved through a unified soft bus interface, effectively expanding the coverage of the collaborative system.

[0110] Preferably, when an unknown device is encountered, the dynamic identification mechanism first starts with the basic characteristics of the signal. For example, if the signal frequency band is within the Bluetooth range, but the device information is not in the known Bluetooth device database, the system will further analyze the special patterns in the signal. For example, when the signal contains certain custom data formats or specific communication parameter combinations, it can be preliminarily determined that the device may be a specially customized Bluetooth device. Subsequently, the system sends a series of general query instructions to the device, which are based on the Bluetooth standard query process but are extended for unknown devices. For example, when sending an instruction to query the device function list, the device may return a data block containing a function code. By analyzing these function codes, combined with experience with similar devices and predefined function classification rules, the possible functions of the device can be inferred.

[0111] For unknown devices of other protocols (such as unknown Zigbee devices), the system uses the general query mechanism in the Zigbee protocol to obtain the endpoint information and supported cluster types of the device. By analyzing the number of endpoints and the type of cluster (such as whether it is related to common sensors or controllers), the function of the device is inferred. In this process, the system continuously accumulates information about new devices and feeds it back to the device identification knowledge base so that similar devices can be identified more quickly and accurately in the future.

[0112] Preferably, the intelligent connection unit is used to dynamically select the most appropriate communication protocol and connection parameters according to the distance, signal strength, device type and user's personalized settings of the device based on the known device information and unknown device information using an intelligent connection strategy to achieve device access. For example, for devices with short distances and low data transmission rate requirements (such as the connection between a smart watch and a smart phone), Bluetooth low energy (BLE) connection is preferred, and the Bluetooth transmission power and connection interval are automatically adjusted according to the signal reception situation to optimize battery life and connection stability. For devices that require high-speed and stable data transmission (such as the connection between a smart TV and a media server), Wi-Fi is preferred, and the frequency band (2.4GHz or 5GHz) and Wi-Fi standards (such as 802.11n, 802.11ac, etc.) are dynamically adjusted according to the congestion level of the surrounding Wi-Fi network and the performance of the device.

[0113] Preferably, in the implementation of the intelligent connection strategy, the device distance is judged based on the signal strength information. For example, in a Bluetooth connection, the device distance is estimated by the received signal strength indicator (RSSI) value of the Bluetooth signal, and a mapping model of RSSI value and distance is established in combination with experimental and calibration data. When the RSSI value is high, it indicates that the device distance is close, and low-power Bluetooth connection is preferred, and the Bluetooth transmission power and connection interval are dynamically adjusted according to the RSSI value. If the RSSI value fluctuates greatly, it indicates that the device is moving or there is interference in the environment, increase the monitoring frequency of signal quality, and optimize the connection parameters in a timely manner.

[0114] For Wi-Fi connections, in addition to the device distance, you also need to evaluate the congestion of the surrounding Wi-Fi networks. By scanning the Wi-Fi channel utilization and signal interference of each frequency band, select the optimal frequency band and channel to connect. If the 2.4GHz band is severely congested, and the device supports the 5GHz band and the signal strength meets the requirements, the 5GHz band is preferred. In terms of the selection of Wi-Fi standards, match them according to the device's Wi-Fi chip capabilities and network support. For new devices that support high-speed transmission, give priority to 802.11ac or higher standards to ensure high speed and stability of data transmission.

[0115] For Zigbee devices, the connection strategy needs to be combined with the topology of the Zigbee network and the role of the device in the network. In a mesh Zigbee network, if the device is a routing node, it is necessary to ensure the stability of its connection with multiple adjacent nodes. By optimizing the routing algorithm and signal transmission parameters, the system can effectively reduce data transmission delay and packet loss rate, thereby improving the overall network performance.

[0116] Preferably, the driver management unit is used to match the corresponding driver program for the access device based on the built-in device driver library. If a matching driver program is found, it is automatically loaded and configured so that the access device can communicate normally. If there is no matching driver program, a temporary driver is generated based on the interface specification, functional description and general driver template of the access device and optimized and adjusted (through continuous interaction with the device, such as sending test data and analyzing feedback) until the access device runs stably.

[0117] Preferably, a large number of official drivers for common devices are collected and optimized and integrated, and rigorously tested to ensure compatibility and stability with the system, thereby obtaining a device driver library.

[0118] Preferably, the general driver template is designed based on the general functions and interface specifications of the device type. For example, for sensor devices, the template defines basic functions such as data acquisition interface, data format conversion function and device initialization function.

[0119] The collaborative task scheduling module is used to receive task requests sent by users, obtain task allocation plans based on task requests and the comprehensive scores of access devices, monitor the execution of task allocation plans and make dynamic adjustments.

[0120] Preferably, Figure 3 As shown, the collaborative task scheduling module includes: a task parsing unit, a task template matching unit, a device selection and task allocation unit, and a task execution monitoring and adjustment unit;

[0121] A task parsing unit, used to receive and parse a user's task request to obtain task information;

[0122] A task template matching unit, used to compare the task information with the attributes of the task template to obtain a matching task template, and select a corresponding access device based on the task template;

[0123] The device selection and task allocation unit is used to obtain a matching score, a resource idle score, a communication efficiency score and a historical evaluation score based on the selected access device to obtain a comprehensive score, select a corresponding access device for task allocation based on the comprehensive score, and obtain a task allocation plan;

[0124] The task execution monitoring and adjustment unit is used to monitor the execution of the task allocation plan in real time, adjust the corresponding task execution status based on the task progress, and dynamically adjust the task allocation plan based on the abnormal situation of the access device.

[0125] Preferably, the task parsing unit is used to receive and parse the user's task request. If the task request is initiated through an application program interface, for example, the user selects a song in a multimedia playback application and specifies a playback device, the application will send the relevant information to the task parsing unit in a specific format (such as JSON format). The task parsing unit parses the JSON data and extracts key information, including the song file path, format, target playback device list, and playback mode (such as synchronous playback, sequential playback, etc.). For task requests initiated through voice commands, voice recognition technology is used to convert the voice into text, and the text content is analyzed based on natural language processing (NLP) technology. For example, the user says "play music on the speakers and TV in the living room". After the voice recognition system converts the voice into text, the NLP module parses the task type as multimedia playback, the target device is the speakers and TV in the living room, and the task content is to play music.

[0126] Preferably, the task templates are stored in a structured form in the task knowledge base. Taking the multimedia playback task template as an example, the template includes a task type identifier (such as "multimedia_play"), participating device type requirements (such as "audio_device" for audio playback device, "video_device" for video playback device), device function requirements (such as audio devices must support specific audio formats, video devices must have specific resolutions and video decoding capabilities), task execution procedures (such as connecting the device first, then transmitting media data, and finally starting playback) and possible interaction methods (such as playback control operations).

[0127] Preferably, the task template matching unit is used to compare the attributes of the task template based on the task information. If the task type in the task information matches the task type identifier of a task template, and the type and function of the target device meet the template requirements, the match is successful.

[0128] Preferably, Figure 4 As shown, the device selection and task allocation unit includes: a function matching evaluation subunit, a resource idleness evaluation subunit, a communication efficiency evaluation subunit, a historical task performance evaluation subunit and a multi-factor task allocation subunit;

[0129] The functional matching evaluation subunit is used to determine the functional attributes of the device based on the access device, such as audio output function, video decoding function, network connection function, etc. Each attribute is represented by a Boolean value or a numerical value. For example, for a smart speaker, the attribute value of the audio output function is 1 (indicating that the function is available), and the attribute value of the video decoding function is 0 (indicating that the function is not available). Based on the functional attributes, a functional vector is obtained, and based on the task information, a demand vector is obtained and a dot product operation is performed with the functional vector to obtain a matching score. The higher the score, the more the device meets the task requirements in terms of function.

[0130] The resource idleness evaluation subunit is used to obtain the real-time resource information of each access device and convert it into a resource idleness vector. For example, for CPU resources, the complement of the current CPU usage (1-CPU usage) is calculated as the CPU resource idleness value. For memory resources, the ratio of remaining memory to total memory is calculated as the memory resource idleness value, and these resource idleness values ​​are combined into a resource idleness vector. The corresponding demand weight is determined based on the task information, and the resource idleness score is obtained based on the demand weight and the resource idleness vector. For example, for computing-intensive tasks, the CPU resource weight is higher; for data storage tasks, the memory and storage resources have higher weights.

[0131] The communication efficiency evaluation subunit is used to establish a communication efficiency matrix based on measuring the network delay and packet loss rate between each access device, and obtain the communication efficiency score based on the communication efficiency matrix. If the devices are connected through a high-speed and stable Wi-Fi connection with low network delay and close to zero packet loss rate, the communication efficiency score is high, and the adaptability of the communication protocol between the devices is also considered. If all devices support high-speed Bluetooth protocol or other efficient communication protocols, the communication efficiency will also be improved.

[0132] The historical task performance evaluation subunit is used to obtain historical evaluation scores based on statistics of the completion of the access device in the same type of tasks; for example, it records the number of times the device freezes in multimedia playback tasks, audio quality evaluation and other data, and combines these historical data into a comprehensive evaluation score.

[0133] The multi-factor task allocation subunit is used to obtain a comprehensive score based on the matching score, resource idle score, communication efficiency score and historical evaluation score, select access devices with a comprehensive score greater than a threshold for task allocation, and obtain a task allocation plan to ensure the efficiency and stability of task execution.

[0134] Preferably, the task execution monitoring and adjustment unit comprises: a task execution adjustment subunit and an abnormality adjustment subunit;

[0135] The task execution adjustment subunit is used to monitor the execution of the task allocation plan in real time, obtain the corresponding task progress report, and dynamically update the overall execution status of the task based on the task progress report;

[0136] The abnormal adjustment subunit is used to obtain an abnormal report when an abnormal situation occurs in the access device executing the task allocation plan, update the evaluation task situation based on the abnormal report, and dynamically adjust the task allocation plan based on the remaining available access devices and the task execution progress.

[0137] Preferably, the task execution adjustment subunit continuously monitors the execution of the task through the communication interface with the device. The task progress report sent by each device when executing the subtask is regularly obtained. For example, in a multimedia playback task, the smart speaker will report the timestamp of the current playback and the audio playback status (such as whether it is playing normally or whether there is any freeze) at a fixed time interval (such as every second); the smart TV will report the video playback progress, picture quality and other information.

[0138] Preferably, the task execution adjustment subunit is also used to synchronously transmit to all access devices participating in the task based on the user's interactive operation (such as the user pausing the playback on the smart phone). Through the operation synchronization mechanism and the device communication interface, it is ensured that all devices synchronously execute the pause operation to achieve seamless task coordination.

[0139] Preferably, the abnormal adjustment subunit immediately perceives the problem through abnormal reports or communication interruptions, and re-evaluates the task situation. Adjust the task allocation according to the currently remaining available devices and the progress of task execution. For example, if the smart speaker is disconnected, the abnormal adjustment subunit will look for other available audio playback devices (if any), and reallocate the audio playback subtask to the new device, while adjusting the playback control logic to ensure that the new device can correctly respond to operation instructions such as play and pause. If there are no other available audio playback devices, the video playback is paused (in the case of audio and video synchronous playback tasks), and a prompt of device connection abnormality is sent to the user.

[0140] The resource management optimization module is used to assign resource attribute values ​​to access devices, and optimize task allocation plans and adjust resource allocation based on task requests and resource attribute values.

[0141] Preferably, the resource management optimization module includes: a resource attribute confirmation unit, a collaborative task allocation unit and a resource status monitoring unit;

[0142] A resource attribute confirmation unit is used to collect resource status data of access devices in real time, evaluate hardware parameters of access devices based on the resource status data, and assign corresponding resource attribute values ​​to access devices based on the evaluation results;

[0143] A collaborative task allocation unit, used to optimize the task allocation scheme by using a resource scheduling algorithm based on task information and resource attribute values;

[0144] The resource status monitoring unit is used to adjust the resources of the task allocation plan based on the resource status data during the task execution process, determine the task priority based on the task information, and allocate resources to the task allocation plan based on the task priority.

[0145] Preferably, the resource attribute confirmation unit is used to collect resource status data of the access device in real time. For example, for CPU usage, the device operating system kernel regularly counts the usage time of each CPU core, calculates the current usage rate, and records the CPU usage of each process to analyze which applications or tasks are consuming resources. For memory usage, the system tracks memory allocation in real time, including the size and address of the memory block allocated to the application, and the amount of remaining available memory, so as to fully understand the memory status of the device and evaluate the potential risk of insufficient memory.

[0146] Preferably, the resource attributes include: CPU usage, memory usage, network bandwidth usage, device power and heat dissipation capability level.

[0147] To monitor the CPU usage, use the performance monitoring tool provided by the operating system kernel. In the Linux system, you can obtain CPU time statistics by reading the " / proc / stat" file, including user state time, kernel state time, idle time, etc. By calculating the ratio of these times, you can get the CPU usage rate. At the same time, you can obtain the CPU usage time of each process through the " / proc / [pid] / stat" file, so as to analyze which processes are consuming CPU resources.

[0148] Preferably, for monitoring the memory usage, in the Linux system, the overall information of the memory is obtained by reading the " / proc / meminfo" file, such as total memory, available memory, cache memory, etc. At the same time, by analyzing the memory mapping information in the memory management system, the size and address of the memory block occupied by each process can be determined.

[0149] For storage resources, monitoring is performed at the file system layer of the operating system and the storage device driver layer. By reading the attribute information of the storage device (such as obtaining the capacity and rotation speed of the hard disk through SCSI commands) and the metadata of the file system (such as inode information, file size, read and write time, etc.), parameters such as storage capacity, remaining capacity, and read and write speed are obtained. At the same time, by tracking the I / O operations of the file system, the hot spots of data storage are determined.

[0150] Preferably, for monitoring the network bandwidth usage, the network interface layer of the device uses the functions provided by the network driver. In the Linux system, the "ifconfig" or "ip" command can be used to obtain basic information of the network interface, such as IP address, MAC address, network connection status, etc. The upload and download speed, network delay, packet loss rate and other indicators of the network interface can be monitored in real time through network traffic monitoring tools (such as "iftop", "nethogs", etc.).

[0151] For device power monitoring, collaborate with the device's power management system. In mobile devices such as smartphones, the power management chip reports battery power, charging status and other information to the operating system in real time.

[0152] For some temperature-sensitive devices, the temperature data of key components inside the device are obtained through hardware temperature sensors. These temperature sensors convert temperature values ​​into digital signals, which are passed to the operating system through the device's hardware interface (such as I2C, SPI and other bus interfaces), and then passed to the resource management optimization module by the operating system.

[0153] Preferably, the resource attribute values ​​include performance level, current status and network connection quality: for example, for CPU resources, the performance level is determined in combination with hardware parameters such as model, number of cores, main frequency, and then the current status is evaluated in combination with real-time CPU usage. For network bandwidth resources, the network connection quality and available bandwidth are evaluated by monitoring indicators such as upload and download speeds, network delays and packet loss rates of the device network interface. For CPU resources, the performance level of the CPU is determined based on the hardware parameters of the CPU (such as model, number of cores, main frequency, etc.). For example, performance tests are performed on CPUs of different models using benchmark software, and the CPUs are divided into different performance levels (such as high performance, medium performance, and low performance) based on the test results. Combined with real-time CPU usage data, a quantitative representation of the CPU resource status is established. For example, if the CPU is of high performance level and has a low usage rate, it means that the CPU resources are sufficient; if the usage rate is high, it means that the resources are tight.

[0154] For memory resources, the size of the memory resources is determined based on the memory capacity of the device. At the same time, the idle ratio of the memory resources is calculated based on the memory usage. The size of the memory resources and the idle ratio are combined into a quantitative representation of the memory resources.

[0155] For storage resources, the characteristics of storage resources are determined based on parameters such as the total capacity and read and write speed of the storage device. For example, the read and write speed of the storage device is compared with the industry standard or the average read and write speed of similar devices, and classified into high-speed, medium-speed, and low-speed storage devices. Combine storage capacity and remaining capacity to establish a quantitative representation of storage resources. For network bandwidth resources, the quality of network resources is determined based on the connection type of the network interface and the measured network bandwidth, latency, packet loss rate and other indicators. For example, Wi-Fi networks are divided into different levels (such as high-quality Wi-Fi, ordinary Wi-Fi, and poor Wi-Fi) based on their bandwidth and stability.

[0156] For device power, a quantitative representation is established based on the current battery power percentage and charging status. For example, a battery power level above 80% and being charged indicates that the power is sufficient and can continue to increase; a battery power level below 20% and not being charged indicates that the power is low. For the heat dissipation status of temperature-sensitive devices, the temperature data obtained by the temperature sensor is compared with the safe temperature range of the device. If the temperature approaches or exceeds the upper limit of the safe temperature, it indicates that the heat dissipation status is poor and measures need to be taken (such as reducing device performance to reduce heat generation).

[0157] Preferably, in the collaborative task allocation stage, the resource management optimization module uses advanced algorithms to perform intelligent allocation based on the resource requirements of the task and the resource model of the device, taking into account the following factors:

[0158] 1. Resource Idle Rate: Analyze the proportion of resources that are not currently occupied by the device. For example, for computing-intensive tasks, give priority to devices with low CPU usage to make full use of their idle resources.

[0159] 2. Resource utilization efficiency: Evaluate the efficiency of the device when performing similar tasks. For example, some devices may be preferred even if they have high resource utilization, but because of their high efficiency (such as devices with dedicated GPUs processing video decoding tasks).

[0160] 3. Task resource dependency: Adjust the allocation strategy according to the task's dependency on resources. For example, data storage tasks give priority to devices with large storage capacity and fast read and write speeds; real-time communication tasks give priority to devices with high network bandwidth and low latency.

[0161] 4. Dynamic change trend of resources: Through historical data analysis and prediction, the future changes of device resources are estimated. For example, the power resources of a device being charged will gradually increase, and more power-dependent subtasks can be assigned; devices with declining power need to reduce task loads and transfer high-consumption tasks to devices with sufficient power.

[0162] During the task execution, the resource management optimization module continuously monitors the changes in equipment resources to ensure the stable progress of the task. If it finds that resources are tight or inefficient, the module immediately starts the adjustment mechanism:

[0163] 1. CPU overload: Analyze the subtasks running on the device and transfer the computationally intensive tasks to devices with lower CPU usage.

[0164] 2. Insufficient memory: Release cached data, suspend non-critical background tasks to free up memory, or assign tasks that occupy larger amounts of memory to devices with abundant memory resources.

[0165] 3. Low battery: Adjust the device working mode (such as lowering screen brightness, reducing background services, and lowering CPU frequency) to save power, and transfer high-energy consumption tasks to devices with sufficient power.

[0166] 4. Inefficient network transmission: When network congestion causes slow transmission speed or frequent packet loss, re-evaluate task allocation and transfer some data transmission tasks to devices with better network conditions.

[0167] Through the above measures, the resource management optimization module ensures the efficient use of device resources, supports the smooth operation of collaborative tasks, and improves the overall system performance and user experience.

[0168] Preferably, the resource scheduling algorithm specifically includes:

[0169] Obtain the resource demand vector of the task based on the task information;

[0170] Obtaining resource idle rate of access device based on resource attribute value;

[0171] Based on the resource idle rate, a resource idle vector is obtained and the similarity is calculated with the demand vector;

[0172] Select the access device that best matches the task resources based on similarity;

[0173] Determine resource utilization efficiency of access devices for processing specific types of tasks based on historical task execution data of access devices;

[0174] Determine the degree of resource dependency of the task based on the task information;

[0175] Set corresponding resource weight vectors for different types of tasks based on the degree of dependency;

[0176] Acquire a resource state vector of the access device based on the resource state data;

[0177] Obtaining expected resource utilization of the task executed on the access device based on the resource weight vector and the resource state vector;

[0178] Predict resource changes within a preset time period based on historical resource data of access devices;

[0179] The task allocation scheme is optimized based on similarity, resource utilization efficiency, expected resource utilization and resource changes.

[0180] Preferably, during the task execution process, when it is found that the resources of a certain device are in a tight situation (such as excessive CPU usage, insufficient memory, low power, etc.) or the resource utilization efficiency is low, the resource scheduling algorithm will start the corresponding adjustment mechanism. For the case of excessive CPU usage, the algorithm first analyzes the demand for CPU resources of the subtasks being executed on the device. By checking the type of subtasks (such as computing-intensive subtasks, I / O-intensive subtasks) and historical CPU resource occupancy data, determine which subtasks can be transferred. Then, search for other devices with sufficient CPU idle resources, and select appropriate devices for subtask transfer based on the communication efficiency between devices and the migration cost of subtasks (such as data transmission volume, reinitialization cost, etc.). When the memory is insufficient, the algorithm will evaluate the usage frequency and importance of each data block in the memory. For cached data, part of the cache space can be released according to the cache elimination strategy (such as the least recently used algorithm LRU). In the case of low power, the algorithm will determine the subtasks that need to be adjusted based on the power consumption model of the device and the power consumption of the currently executed subtasks. When it is found that a device is using resources inefficiently while executing a task, for example, when a device is processing a network data transmission task, the transmission speed is slow and packet loss is frequent due to network congestion, the algorithm will re-evaluate the network resource status of the device.

[0181] The security protection module is used to verify the identity of access devices and users, encrypt and verify the integrity of transmission data between access devices, classify and store transmission data, monitor the security status of access devices and issue abnormal warnings.

[0182] Preferably, Figure 5 As shown, the security protection module includes: a security authentication unit, a user authentication unit, a transmission encryption unit, a data storage unit, a data integrity verification unit and a device status monitoring unit;

[0183] The security authentication unit is used to obtain the unique identifier of the access device and compare it with the stored list of legitimate devices, issue the corresponding digital certificate to the legitimate device, and verify the validity of the corresponding digital certificate when the device is connected; when a new device attempts to access, its identifier will be accurately matched with the information in the database. If the match fails, the device will be denied access and can be authorized through additional authorization processes (such as manual addition by the administrator or advanced authentication methods).

[0184] Digital certificate technology further enhances the security of device authentication. Each legitimate device is issued a unique digital certificate, which contains key content such as the device's public key, device information summary, and the signature of the certificate authority. When the device is connected, the system fully verifies the certificate, including checking whether the signature is legitimate (using the public key of the certificate authority to verify the consistency of the signature to ensure that the certificate has not been tampered with), whether the certificate is within the validity period, and whether the device information in the certificate (such as device type and model) is consistent with the actual access device, to prevent the certificate from being misused.

[0185] User authentication unit, used to set up multiple authentication methods to verify the identity of the user;

[0186] The transmission encryption unit is used to select the corresponding encryption algorithm to encrypt the transmission data according to the sensitivity of the transmission data and the transmission environment, and store and manage the encryption key;

[0187] A data storage unit, used to set corresponding security levels based on different types of transmission data, and to classify and store the transmission data based on the security level and the storage capacity of the device;

[0188] The data integrity verification unit is used to generate a first hash value based on the transmission data at the data sending end and send or store it together with the transmission data. When the transmission data is read at the receiving end, a second hash value is generated and compared with the first hash value. If there is inconsistency, it indicates that the data has been tampered with. An early warning is issued and corresponding measures are taken, such as requesting retransmission or attempting data repair.

[0189] The equipment status monitoring unit is used to monitor the safety status of access equipment in real time, take corresponding protective measures and issue early warning prompts when an abnormality occurs.

[0190] Preferably, the user authentication unit selects a suitable authentication method according to the functions and settings of the user device. For example, on a smartphone that supports password input and fingerprint recognition, the user can choose one of the authentication methods, or use multi-factor authentication (such as password and fingerprint combination) according to system requirements. For highly sensitive operations (such as financial transfers, viewing health privacy data, etc.), the system will force the use of multiple authentication methods. For example, in password and fingerprint combined authentication, the system processes the password entered by the user through a hash algorithm to generate a hash value of a fixed length. Subsequently, the generated hash value is compared with the pre-stored value stored in a protected storage area (such as the device's encryption chip or secure memory). At the same time, the fingerprint sensor collects the user's fingerprint, extracts feature points through the fingerprint recognition algorithm, and matches them with the registered template. Only when both methods are verified can the user obtain access rights.

[0191] Preferably, the transmission encryption unit adopts a symmetric encryption algorithm (such as AES) for general collaborative task data (such as device configuration parameter synchronization and ordinary text messages). This type of encryption method realizes data encryption and decryption through a shared key, which is highly efficient and suitable for rapid processing of large amounts of data. For highly sensitive data (such as bank account information and health data), an asymmetric encryption algorithm (such as RSA) is used. The sender uses the receiver's public key to encrypt the data, and the receiver uses the private key to decrypt it, ensuring that even if the encrypted data is intercepted, it cannot be decrypted without the private key. In key management, symmetric keys are distributed through security protocols to avoid direct transmission of keys and reduce the risk of leakage; the private key of the asymmetric key is stored in a high-security area of ​​the device (such as a hardware encryption module), and only legal access is allowed.

[0192] Preferably, during the data transmission process, the transmission encryption unit generates a secure symmetric key based on a cryptographically secure pseudo-random number generator (PRNG) to ensure the randomness and unpredictability of the key. The length of the key is selected according to the required security level (such as 128 bits, 256 bits, etc.). The key is transferred between the devices involved in the data transmission through a secure key exchange protocol (such as the Diffie-Hellman key exchange protocol). In the Diffie-Hellman protocol, both devices calculate a shared symmetric key by exchanging some public parameters (based on the mathematical discrete logarithm problem) in an insecure network environment. In this process, the key itself will not be directly transmitted in the network, thereby avoiding the risk of being stolen.

[0193] When the sender wants to transmit data, the generated symmetric key is used to encrypt the data. The AES algorithm converts plaintext data into ciphertext data by performing multiple rounds of substitution, replacement, obfuscation and other operations on the data. The encrypted ciphertext data is transmitted to the receiver through the network. The receiver uses the same symmetric key to restore the ciphertext data to plaintext data according to the decryption process of the AES algorithm. For asymmetric encryption algorithms (such as RSA), each device has its own public and private key pair. The public key is public and can be obtained by other devices, while the private key is strictly confidential. When the sender wants to transmit highly sensitive data (such as a user's bank account information), the receiver's public key is used to encrypt the data. The encryption process is based on the mathematical principles of the RSA algorithm, which converts the data into ciphertext by performing power operations and modular operations on the data. After receiving the ciphertext, the receiver uses its own private key to decrypt it and restore the data through the corresponding mathematical inverse operation.

[0194] Preferably, the data storage unit is divided into security levels according to the data type. Highly sensitive data (such as user privacy information) is only stored in high-level protection devices, such as devices equipped with hardware encryption chips or secure isolation areas. These chips can encrypt data when writing and decrypt it when reading, so that even if the storage device is stolen, the data cannot be accessed. General user data (such as personalized settings, application cache) is encrypted and stored through the encryption function of the device operating system to prevent data leakage caused by loss or malicious attacks.

[0195] Preferably, the device status monitoring unit monitors running processes, network traffic, and file access behaviors through security software or the device's own protection mechanism, for example, identifying abnormal process startup, unauthorized application access to sensitive data, or abnormal network traffic (such as large-scale data transmission or suspected network attacks). When an abnormality is found, the module immediately takes measures, such as isolating the device, cutting off the network connection, notifying the user and providing solutions to ensure the security and stability of the collaborative system.

[0196] Preferably, the device status monitoring unit includes: an operation process monitoring subunit, a network flow monitoring subunit and an exception handling subunit;

[0197] Run the process monitoring subunit to establish a blacklist and whitelist of processes. The processes in the whitelist are authorized legal processes, such as system core processes, processes of regular applications installed by users, etc. The processes in the blacklist are known malicious processes, such as viruses and Trojans. Monitor the running status of the access device and compare it with the blacklist and whitelist to obtain the process comparison results.

[0198] The network traffic monitoring subunit is used to monitor the network traffic of the access device, and identify the network traffic based on the established network traffic model and anomaly detection algorithm to obtain abnormal network traffic patterns; for example, if the device suddenly has a large number of connections to external unfamiliar IP addresses, and the data transmission volume is abnormally large, it may indicate that the device has been attacked by the network or controlled by malware. At this time, the system can take measures, such as cutting off suspicious network connections, starting firewall rules to limit this type of network traffic, and scanning the device for viruses. At the same time, for the file access of the device, the monitoring software tracks the read and write operations of the file. Through the file system monitoring interface of the operating system, the relevant information of file access is obtained, including file path, access type (read, write, execute), access process, etc. If abnormal file access behavior is found, such as unauthorized processes attempting to access sensitive files (such as system configuration files, user privacy data files, etc.), the system will block the access behavior and record the relevant information for subsequent analysis.

[0199] The exception handling subunit is used to take corresponding protective measures and issue early warnings based on the process comparison results and abnormal network traffic patterns; if the process is on the blacklist, the system will immediately take measures, such as terminating the process, isolating related files and network connections, and notifying users and administrators. If the process is on the whitelist, it will be further analyzed, such as observing its access to system resources and network communication behavior through behavioral analysis technology to determine whether there is a malicious tendency.

[0200] The user experience enhancement module is used to set up a unified operation interface and adjust the operation interface based on device characteristics, realize synchronous execution of tasks and unified display of prompt information between access devices, and provide online support.

[0201] Preferably, Figure 6 As shown, the user experience enhancement module includes: a general interface unit, a synchronous operation unit, a self-adaptation unit, a feedback prompt unit and an interface optimization unit;

[0202] The general interface unit is used to set unified interface elements and operation buttons, and optimize the interface elements based on the characteristics of the access device;

[0203] A synchronization operation unit, used to propagate the execution operation on the access device to other collaborative devices for synchronous execution;

[0204] An adaptive unit, used to adaptively adjust interface elements and operation methods based on the screen size, resolution and input method of the access device;

[0205] Feedback prompt unit, used to display prompt information in a unified manner on all collaborative devices in a collaborative task, and provide corresponding help feedback and online support;

[0206] The interface optimization unit is used to evaluate user behavior based on prompt information, and optimize interface elements and operation buttons based on the evaluation results.

[0207] Preferably, the universal interface unit adopts standardized color matching, icon design and font style to present a consistent visual style on various devices. For example, whether the playback control icon is on the small screen of a smartphone or the large screen of a smart TV, the play button always adopts a unified right-pointing triangle pattern, and the pause button is two vertical lines. The size ratio and visual effect of the icon are kept consistent as much as possible on different devices to facilitate users to quickly identify. A standardized operation process is adopted. For example, in a multimedia playback scenario, users follow the same process when performing playback operations on any device: select a media file->select a playback device (if there are multiple optional devices)->execute playback. On a touch screen device, the main operation buttons (play, pause, fast forward / rewind, volume adjustment, etc.) are arranged on the edge or bottom area of ​​the screen that is easy for users to reach. On devices operated by a remote control (such as a smart TV), the functions of the operation buttons are mapped to the corresponding buttons on the remote control to maintain functional consistency. For example, the play / pause button of the remote control has the same function as the corresponding button on the touch screen, achieving a consistent user experience across devices.

[0208] Preferably, the synchronous operation unit is used to quickly propagate the execution operation on the access device to other collaborative devices for synchronous execution through an efficient message passing network. The network is based on a reliable communication protocol and an optimized mechanism to ensure that the instructions reach the target device accurately and quickly. For example, in a multi-device playback scenario, the user clicks the pause button on the smartphone, and the instruction is sent to the smart speaker and smart TV with extremely low latency. After receiving the instruction, these devices pause the playback almost at the same time to achieve seamless operation synchronization. To further optimize the synchronization effect, the system uses time synchronization technology (such as the Network Time Protocol NTP) to ensure that the time bases of different devices are consistent, making the operation execution more accurate.

[0209] Preferably, the implementation of the operation synchronization mechanism relies on efficient network communication and accurate time synchronization technology. In terms of network communication, the synchronous operation unit establishes a message transmission network based on a reliable transmission protocol. For device collaboration within a local area network, a custom message protocol based on the TCP / IP protocol can be used. When a user performs an operation on a device, the operation instruction is first encapsulated into a message in a specific format. This message contains information such as the operation type (such as play, pause), the operation object (such as a specific multimedia file or device), and the operation timestamp. Then, the message is sent to the network through the network interface of the device. The message is transmitted to other devices participating in the collaboration through network devices such as routers in the network. In order to ensure the reliable delivery of messages, the retransmission mechanism and confirmation mechanism of the TCP protocol are adopted. If the receiving device does not receive the message or an error occurs during the transmission of the message, the sender will resend the message until the receiving device successfully receives and confirms it.

[0210] In terms of time synchronization, the system uses the Network Time Protocol (NTP) or other similar high-precision time synchronization methods. Each device in the network has a local time that is synchronized with a standard time server. By regularly calibrating the time with the time server, the time error between devices is ensured to be within a very small range (such as a few milliseconds). When operation instructions are transmitted between devices, the operation timestamp is used to accurately control the execution time of the operation. For example, when a user clicks the pause button on a smartphone at a certain moment, the timestamp of this operation will be sent to other devices along with the message. After receiving the message, other devices perform the pause operation at almost the same time based on the comparison between the timestamp and the local time, thereby achieving seamless operation synchronization. At the same time, in order to deal with problems such as network latency and differences in device processing speed, the system sets a certain time tolerance in the operation synchronization mechanism. For example, if a device has a slight delay in executing an operation due to network congestion or low performance, but within the time tolerance range, the operation synchronization is still considered successful.

[0211] Preferably, the user interface of the adaptive unit automatically adjusts the layout for devices with different screen sizes and resolutions. On small-screen devices (such as smart watches), only key information and operation buttons, such as song names, play / pause buttons, and volume sliders, are displayed, and they are reasonably laid out according to the shape of the screen to avoid crowding. On large-screen devices (such as smart TVs), the space is fully utilized to display more rich content, such as lyrics, album covers, and playlists. The system is optimized for different input methods. For example, on touch devices, the accuracy of touch response is improved by adjusting the size of the touch hot zone; on voice-controlled devices, voice recognition technology is used to improve command recognition rate and natural language understanding capabilities, such as correctly executing the "play next song" or "pause playback" commands issued by the user; for key-operated devices (such as control panels), the size, spacing, and touch of the buttons are reasonably designed to ensure comfortable operation and not easy to touch by mistake.

[0212] Preferably, the feedback prompt unit is used to display prompt information in a unified manner on all collaborative devices in the collaborative task. When the task is executed abnormally (such as device connection interruption, insufficient resources causing task jamming), the system will display concise prompt information on the screens of all participating devices. For example, if the device connection is interrupted, the prompt message may be "Device X has been disconnected, please check the network or device status", with an intuitive diagram of a red cross covering the device icon. The system responds promptly to user operation feedback. For example, when the user successfully adjusts the volume, "Volume adjusted" is briefly displayed on each device; if the operation is invalid (such as clicking "Next" but there are no more songs), the prompt "No more songs" is displayed. And provide corresponding help feedback and online support. Users can access local help documents through the device's help menu to obtain system usage methods, FAQs and task operation guides. The online support function allows users to connect to the manufacturer's server to obtain the latest technical support and software update information, and communicate with customer service to solve complex problems in use.

[0213] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0214] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A multi-device collaborative management and optimization system based on a soft bus, characterized in that: include: Device access identification module, collaborative task scheduling module, resource management optimization module, security protection module and user experience enhancement module; The device access identification module is used to scan known devices and unknown devices through the soft bus and multiple communication protocols, and configure the driver program accordingly to achieve device access; The collaborative task scheduling module is used to receive task requests sent by users, obtain a task allocation plan based on the task request and the comprehensive score of the access device, monitor the execution of the task allocation plan and make dynamic adjustments; The resource management optimization module is used to assign resource attribute values ​​to the access device, and optimize the task allocation scheme and adjust and allocate resources based on the task request and resource attribute values; The security protection module is used to verify the identity of the access device and the user, encrypt and verify the integrity of the transmission data between the access devices, classify and store the transmission data, monitor the security status of the access device and issue abnormal warnings; The user experience enhancement module is used to set a unified operation interface and adjust the operation interface based on device characteristics, realize synchronous execution of tasks and unified display of prompt information between the access devices, and provide online support.

2. According to the soft bus-based multi-device collaborative management and optimization system of claim 1, it is characterized in that: The device access identification module includes: a communication protocol processing unit, a device information extraction unit, a dynamic identification unit, an intelligent connection unit and a drive management unit; The communication protocol processing unit is used to scan and identify signals of the various known devices and the unknown devices in different network environments based on the integrated multiple communication protocols and soft buses; The device information extraction unit is used to classify the signal type based on the communication protocol characteristics corresponding to the identified known device signal, and extract the corresponding known device information based on the classified known device signal; The dynamic identification unit is used to classify the unknown devices based on the common features of the identified unknown devices, perform interactive testing based on the classified unknown devices, and obtain functional characteristics of the unknown devices as unknown device information; The intelligent connection unit is used to dynamically select corresponding communication protocols and connection parameters based on the known device information and the unknown device information to achieve device access; The driver management unit is used to match the corresponding driver for the access device based on the built-in device driver library. If there is no matching driver, a temporary driver is generated based on the interface specification and functional description of the access device and optimized and adjusted until the access device runs stably.

3. The multi-device collaborative management and optimization system based on soft bus according to claim 1 is characterized in that: The collaborative task scheduling module includes: a task parsing unit, a task template matching unit, a device selection and task allocation unit, and a task execution monitoring and adjustment unit; The task parsing unit is used to receive the task request of the user and parse it to obtain task information; The task template matching unit is used to compare the task information with the attributes of the task template to obtain a matching task template, and select the corresponding access device based on the task template; A device selection and task allocation unit, configured to obtain a matching score, a resource idle score, a communication efficiency score, and a historical evaluation score based on the selected access device to obtain the comprehensive score, select a corresponding access device for task allocation based on the comprehensive score, and obtain the task allocation plan; The task execution monitoring and adjustment unit is used to monitor the execution status of the task allocation plan in real time, adjust the corresponding task execution status based on the task progress, and dynamically adjust the task allocation plan based on the abnormal situation of the access device.

4. The multi-device collaborative management and optimization system based on soft bus according to claim 3 is characterized in that: The device selection and task allocation unit includes: a function matching evaluation subunit, a resource idleness evaluation subunit, a communication efficiency evaluation subunit, a historical task performance evaluation subunit and a multi-factor task allocation subunit; The functional matching evaluation subunit is used to determine the functional attributes of the device based on the access device, obtain the functional vector based on the functional attributes, obtain the requirement vector based on the task information, and perform a dot product operation with the functional vector to obtain the matching score; The resource idleness evaluation subunit is used to obtain the real-time resource information of each of the access devices and convert it into a resource idle vector, determine the corresponding demand weight based on the task information, and obtain the resource idle score based on the demand weight and the resource idle vector; The communication efficiency evaluation subunit is used to establish a communication efficiency matrix based on measuring the network delay and packet loss rate between each access device, and obtain a communication efficiency score based on the communication efficiency matrix; The historical task performance evaluation subunit is used to obtain the historical evaluation score based on the completion status of the access device in the same type of tasks; The multi-factor task allocation subunit is used to obtain the comprehensive score based on the matching score, the resource idle score, the communication efficiency score and the historical evaluation score, select the access device with the comprehensive score greater than the threshold for task allocation, and obtain the task allocation plan.

5. The multi-device collaborative management and optimization system based on soft bus according to claim 3 is characterized in that: The task execution monitoring and adjustment unit includes: a task execution adjustment subunit and an abnormality adjustment subunit; The task execution adjustment subunit is used to monitor the execution of the task allocation scheme in real time, obtain the corresponding task progress report, and dynamically update the overall execution status of the task based on the task progress report; The abnormal adjustment subunit is used to obtain an abnormal report when an abnormal situation occurs in the access device executing the task allocation plan, update the evaluation task situation based on the abnormal report, and dynamically adjust the task allocation plan based on the remaining available access devices and the task execution progress.

6. The multi-device collaborative management and optimization system based on soft bus according to claim 1 is characterized in that: The resource management optimization module includes: a resource attribute confirmation unit, a collaborative task allocation unit and a resource status monitoring unit; The resource attribute confirmation unit is used to collect resource status data of the access device in real time, evaluate the hardware parameters of the access device based on the resource status data, and assign the corresponding resource attribute value to the access device based on the evaluation result; The collaborative task allocation unit is used to optimize the task allocation scheme by using a resource scheduling algorithm based on the task information and the resource attribute value; The resource status monitoring unit is used to adjust resources for the task allocation scheme based on the resource status data during task execution, determine task priority based on the task information, and allocate resources for the task allocation scheme based on the task priority.

7. The multi-device collaborative management and optimization system based on soft bus according to claim 6 is characterized in that: The resource scheduling algorithm specifically includes: Acquire a resource demand vector of the task based on the task information; Acquire a resource idle rate of the access device based on the resource attribute value; Obtaining a resource idle vector based on the resource idle rate and calculating similarity with the demand vector; Selecting the access device that best matches the task resources based on the similarity; Determining resource utilization efficiency of the access device in processing a specific type of task based on historical task execution data of the access device; Determine the degree of resource dependency of the task based on the task information; Setting corresponding resource weight vectors for different types of tasks based on the degree of dependency; Acquire a resource state vector of the access device based on the resource state data; Obtaining an expected resource utilization rate of the task executed on the access device based on the resource weight vector and the resource state vector; Predict resource changes within a preset time period based on historical resource data of access devices; The task allocation scheme is optimized based on the similarity, resource utilization efficiency, expected resource utilization rate and resource change.

8. The multi-device collaborative management and optimization system based on soft bus according to claim 7 is characterized in that: The security protection module includes: a security authentication unit, a user authentication unit, a transmission encryption unit, a data storage unit, a data integrity verification unit and a device status monitoring unit; The security authentication unit is used to obtain the unique identifier of the access device and compare it with the stored list of legal devices, issue a corresponding digital certificate to the legal device, and verify the validity of the corresponding digital certificate when the device is connected; The user authentication unit is used to set multiple authentication methods to verify the identity of the user; The transmission encryption unit is used to select a corresponding encryption algorithm to encrypt the transmission data according to the sensitivity of the transmission data and the transmission environment, and store and manage the encryption key; The data storage unit is used to set corresponding security levels based on different types of the transmission data, and classify and store the transmission data based on the security level and the device storage capacity; The data integrity verification unit is used to generate a first hash value based on the transmission data at the data sending end and send or store it together with the transmission data, and generate a second hash value when the receiving end reads the transmission data and compare it with the first hash value, and issue an early warning if they are inconsistent; The device status monitoring unit is used to monitor the security status of the access device in real time, and take corresponding protective measures and issue early warning prompts when an abnormality occurs.

9. The multi-device collaborative management and optimization system based on soft bus according to claim 8, characterized in that: The device status monitoring unit includes: an operation process monitoring subunit, a network flow monitoring subunit and an exception handling subunit; The running process monitoring subunit is used to establish a process black and white list, monitor the running status of the access device and compare it with the black and white list to obtain a process comparison result; The network traffic monitoring subunit is used to monitor the network traffic of the access device and identify the network traffic based on the established network traffic model and anomaly detection algorithm to obtain an abnormal network traffic pattern; The exception handling subunit is used to take corresponding protection measures and issue early warning prompts based on the process comparison result and the abnormal network traffic pattern.

10. The multi-device collaborative management and optimization system based on soft bus according to claim 9, characterized in that: The user experience enhancement module includes: a general interface unit, a synchronous operation unit, a self-adaptation unit, a feedback prompt unit and an interface optimization unit; The universal interface unit is used to set unified interface elements and operation buttons, and optimize the interface elements based on the characteristics of the access device; The synchronization operation unit is used to propagate the execution operation on the access device to other collaborative devices for synchronous execution; The self-adaptation unit is used to adaptively adjust the interface elements and operation methods based on the screen size, resolution and input method of the access device; The feedback prompt unit is used to display prompt information in a unified manner on all collaborative devices in the collaborative task, and provide corresponding help feedback and online support; The interface optimization unit is used to evaluate the user behavior based on the prompt information, and optimize the interface elements and the operation buttons based on the evaluation results.

Citation Information

Patent Citations

  • Cloud-edge collaborative fusion storage and calculation management method and system

    CN117527535A

  • Equipment resource intensive management system and method based on key multiple dimensions

    CN117729233A

  • Drug information storage method based on distributed edge calculation and multi-modal data

    CN118152481A

  • Multitask parallel processing system for digital business hall equipment terminal

    CN118409847A

  • Method and system for improving computing power efficiency

    CN118550711A

Cited By

  • System for adjusting execution scene based on multi-level matching mechanism

    CN120631726A

  • A system for adjusting execution scenarios based on a multi-level matching mechanism

    CN120631726B

  • Cross-system trusted identity authentication and secure communication method based on distributed soft bus

    CN121418183A

  • Broadcasting and television equipment intelligent management system and method based on multi-dimensional resource scheduling

    CN121616029A