A Multi-Device Collaborative Management and Optimization System Based on a Soft Bus

By using a multi-device collaborative management system based on a soft bus, the problems of insufficient device compatibility and resource management are solved, achieving broad device compatibility, efficient resource utilization, and a user-friendly operating experience, thereby improving the overall performance and security of the multi-device collaborative system.

CN119766809BActive Publication Date: 2026-01-30NO 15 INST OF CHINA ELECTRONICS TECH GRP
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing multi-device collaboration systems have limitations in device compatibility and resource management, resulting in devices failing to connect correctly, limited functionality, low resource utilization, and poor user experience.

Method used

The system employs 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. Through rich communication protocol processing, dynamic identification, and resource scheduling algorithms, it achieves broad device compatibility, accurate resource management, security protection, and a unified operating experience.

Benefits of technology

It achieves broad compatibility with various types and brands of smart devices, optimizes resource utilization efficiency, improves device utilization and user experience, and ensures data security and ease of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766809B_ABST
    Figure CN119766809B_ABST
Patent Text Reader

Abstract

This invention discloses a multi-device collaborative management and optimization system based on a soft bus, comprising: a device access identification module for scanning known and unknown devices via the soft bus and various communication protocols, and configuring drivers; a collaborative task scheduling module for receiving task requests sent by users and obtaining a task allocation scheme based on the comprehensive scores of the access devices, monitoring the execution of the task allocation scheme and making dynamic adjustments; a resource management optimization module for assigning resource attribute values ​​to access devices and optimizing the task allocation scheme in conjunction with task requests; a security protection module for verifying the identities of access devices and users, encrypting and verifying the integrity of transmitted data and storing it in categories, and monitoring the security status of access devices; and a user experience enhancement module for setting a unified operation interface and dynamically adjusting the operation interface to achieve synchronous execution of device tasks and unified display of prompt information. This improves the multi-device collaborative capability and user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of multi-device collaborative management technology, and more specifically to a multi-device collaborative management and optimization system based on a soft bus. Background Technology

[0002] Multi-device collaboration technology aims to achieve seamless collaboration between different types of smart devices, providing users with a more convenient and efficient user experience. In the smart home field, through multi-device collaboration, users can achieve functions such as automatically adjusting the brightness of lights according to different times or scenarios, or controlling the opening and closing of curtains while playing specific content on the TV via voice commands. In a smart office environment, the collaborative work of devices such as smartphones, tablets, laptops, and smart projectors makes operations such as file sharing, presentation display, and real-time multi-person document editing more efficient and convenient.

[0003] However, although existing distributed collaboration frameworks have met some collaboration needs to a certain extent, they still have 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 devices being unable to connect or having limited functionality; due to differences in operating systems, the performance of applications on different devices may also vary significantly; communication capabilities are difficult to achieve across domains or network environments.

[0005] Resource management: The assessment of equipment resources lacks comprehensiveness and accuracy; the flexibility of resource scheduling is insufficient; and the resource utilization rate among different equipment has not been effectively optimized.

[0006] Therefore, how to overcome the deficiencies in device compatibility and resource management, and thus improve the ability of multi-device collaboration and user experience, is a problem that urgently needs to be solved by those skilled in the art. 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 ability of multi-device collaboration and user experience.

[0008] To achieve the above objectives, the present invention adopts the following technical solution:

[0009] A multi-device collaborative management and optimization system based on a soft bus includes: 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 and unknown devices through a soft bus and various communication protocols, and configure the corresponding drivers to enable device access.

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

[0012] The resource management optimization module is used to assign resource attribute values ​​to the access device, and optimize and adjust the resource allocation scheme 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 data transmitted between the access devices, classify and store the transmitted data, monitor the security status of the access devices and issue abnormal warnings.

[0014] The user experience enhancement module is used to set up a unified operation interface and adjust the operation interface based on device characteristics, so as to realize the synchronous execution of tasks and the unified display of prompt information among 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 various known and unknown devices in different network environments based on integrated multiple communication protocols and a soft bus.

[0017] The device information extraction unit is used to classify signal types based on the communication protocol features corresponding to the identified known device signals, and extract the corresponding known device information based on the classified known device signals.

[0018] The dynamic identification unit is used to classify the unknown devices based on their general features, perform interactive tests on the classified unknown devices, and obtain the functional characteristics of the unknown devices as unknown device information.

[0019] The intelligent connection unit is used to dynamically select the corresponding communication protocol and connection parameters based on the known device information and the unknown device information to realize 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 is running 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 user's task request 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] The device selection and task allocation unit is used to obtain a comprehensive score based on the selected access device, including a matching score, a resource idle score, a communication efficiency score, and a historical evaluation score. Based on the comprehensive score, the unit selects the corresponding access device for task allocation to obtain the task allocation scheme.

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

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

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

[0028] The resource idleness assessment subunit is used to acquire real-time resource information of each access device and convert it into a resource idle vector, determine the corresponding demand weight based on the task information, and obtain the resource idle score by weighting the demand weight and the resource idle vector.

[0029] The communication efficiency evaluation subunit is used to establish a communication efficiency matrix based on the network latency and packet loss rate between each access device, and to 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 task.

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

[0032] Preferably, the task execution monitoring and adjustment unit includes: a task execution adjustment subunit and an anomaly 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 anomaly adjustment subunit is used to obtain an anomaly report when an anomaly occurs in the access device executing the task allocation scheme, update the task status based on the anomaly report, and dynamically adjust the task allocation scheme 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 the 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 based on the task information and the resource attribute values ​​using a resource scheduling algorithm;

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

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

[0040] Based on the task information, obtain the task's resource requirement vector;

[0041] The resource idle rate of the access device is obtained based on the resource attribute values.

[0042] Based on the resource idle rate, a resource idle vector is obtained and its similarity is calculated with the demand vector.

[0043] The access device that best matches the task resources is selected based on the similarity.

[0044] The resource utilization efficiency of the access device in processing specific types of tasks is determined based on the historical task execution data of the access device;

[0045] Determine the degree to which a task depends on resources based on task information;

[0046] Based on the degree of dependency, assign corresponding resource weight vectors to different types of tasks;

[0047] The resource status vector of the access device is obtained based on the resource status data;

[0048] The expected resource utilization rate of the task executed on the access device is obtained based on the resource weight vector and the resource state vector.

[0049] Predict resource changes within a preset timeframe based on historical resource data from access devices;

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

[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 legitimate devices, issue corresponding digital certificates for legitimate devices, and verify the validity of the corresponding digital certificates when the device connects.

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

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

[0055] The data storage unit is used to set corresponding security levels based on different types of transmitted data, and to classify and store the transmitted data based on the security levels and the device's storage capacity.

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

[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 warnings when abnormalities occur.

[0058] Preferably, the device status monitoring unit includes: a running process monitoring subunit, a network traffic monitoring subunit, and an anomaly handling subunit;

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

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

[0061] The anomaly handling subunit is used to take corresponding protective measures and issue early warnings based on the process comparison results and the abnormal network traffic patterns.

[0062] Preferably, 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;

[0063] The general interface unit is used to set unified interface elements and operation buttons, and to 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 cooperating devices for synchronous execution;

[0065] The self-adaptive 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 prompting unit is used to display prompt information in a unified manner on all collaborative devices in the collaborative task, and to provide corresponding help feedback and online support;

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

[0068] As can be seen from the above technical solution, 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 this invention possesses excellent device compatibility: Leveraging its rich communication protocol processing units and dynamic identification mechanism, the system is compatible with various types and brands of smart devices, whether they follow standard communication protocols (such as Bluetooth, Wi-Fi, Zigbee, etc.) or use custom protocols. This broad compatibility overcomes the limitations imposed on devices by existing distributed collaborative frameworks, eliminating user concerns about device incompatibility and allowing 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, significantly improving device utilization efficiency and user convenience.

[0070] 2. This invention's system collects and analyzes device resource information in real time and constructs a refined resource model, enabling accurate assessment of the resource status of each device. During the collaborative task allocation phase, the system employs advanced resource scheduling algorithms, comprehensively considering the idle level of device resources, utilization efficiency, task dependence on resources, and dynamic trends of resource changes, to rationally allocate tasks to various devices, maximizing resource utilization efficiency. During task execution, the system continuously monitors resource changes. If resource shortages or low utilization efficiency are detected, a resource adjustment mechanism can be promptly activated to ensure smooth task completion and avoid task failures or lag 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 device overheating caused by excessive resource usage, thereby further improving the overall performance and lifespan of the devices.

[0071] 3. Security is one of the core advantages of this system. From multi-level security authentication mechanisms for device access (including device authentication and digital certificate technology) to multiple methods of user authentication (such as password, fingerprint, facial recognition, iris recognition, etc.) and support for multi-factor authentication modes, the system effectively prevents unauthorized devices and users from accessing the system. During data transmission, the system selects appropriate high-strength encryption algorithms (such as AES, RSA, etc.) based on 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 allocates them reasonably according to the storage security capabilities of the devices. At the same time, it prevents data tampering through data integrity verification technologies (such as hash functions and digital signatures). This comprehensive security protection mechanism effectively safeguards the security of user privacy data (such as personal health information, bank account information, etc.), allowing users to use the system with peace of mind.

[0072] 4. The enhanced user experience module provides a unified, convenient, and comfortable operating experience for the collaborative system. A universal user interface design framework ensures consistent visual effects and operational logic across different types of devices, reducing user learning costs and improving operational efficiency. The operation synchronization mechanism allows operations performed on one device to be synchronized to other participating devices, achieving a seamless operating experience. For example, when playing multimedia content on multiple devices, users do not need to operate each device individually to achieve synchronized playback, pause, and other functions. Device adaptation technology adaptively adjusts the user interface and operation methods based on the device's screen size, resolution, input method, and other characteristics, ensuring an excellent user experience across various devices. Furthermore, a unified feedback and prompt information processing mechanism allows users to promptly understand task execution status and operation results, receiving clear and intuitive feedback regardless of whether the task is running normally or encounters an error. Combined with comprehensive user help documentation and online support, this further enhances user satisfaction and ease of use. Attached Figure Description

[0073] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0074] Figure 1 This invention provides a schematic diagram of a multi-device collaborative management and optimization system structure based on a soft bus.

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

[0076] Figure 3 A schematic diagram of the collaborative task scheduling module provided by the present invention.

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

[0078] Figure 5 A schematic diagram of the security protection module structure provided by the present invention.

[0079] Figure 6 A schematic diagram of the user experience enhancement module structure provided by the present invention. Detailed Implementation

[0080] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0081] Example 1

[0082] like Figure 1 As shown in the figure, this 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 a soft bus and various communication protocols, and configure the corresponding drivers to enable device access.

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

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

[0086] The security protection module is used to verify the identity of access devices and users, encrypt and verify the integrity of data transmitted between access devices, classify and store the transmitted data, 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, so as to realize the synchronous execution of tasks and the unified display of prompt information among connected devices, and provide online support.

[0088] Example 2

[0089] This 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 and unknown devices through a soft bus and various communication protocols, and configure the corresponding drivers to enable device access.

[0091] Preferably, existing distributed collaboration frameworks often have limitations in terms of device compatibility. Different brands and types of devices often use different communication protocols, data formats, and operating systems. When these devices attempt to connect to a common distributed collaboration framework, the framework may fail to correctly identify or parse the relevant protocols, resulting in device inability to connect or functional limitations. Even if a device successfully connects to the collaboration system, the performance of applications on different devices may vary significantly due to differences in operating systems. New devices have entirely new functions and features, and collaboration frameworks often struggle to update in a timely manner to support them; users need to wait for system upgrades or device manufacturers to provide adaptation drivers to achieve full compatibility. Software buses are primarily designed for local area network environments, and their communication capabilities are difficult to extend across domains or networks. This limitation restricts the expansion of distributed collaboration systems into a wider range of application scenarios, especially in cross-regional device collaboration and remote operation.

[0092] Preferably, based on the above-mentioned problems, the present invention provides the following: 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] The communication protocol processing unit is used to scan and identify signals from various known and unknown devices in different network environments based on integrated multiple communication protocols and a soft bus.

[0094] The device information extraction unit is used to classify signal types based on the communication protocol features corresponding to the identified known device signals, and extract the corresponding known device information based on the classified known device signals.

[0095] The dynamic identification unit is used to classify unknown devices based on their general characteristics, perform interactive tests on the classified unknown devices, and obtain the functional characteristics of the unknown devices as unknown device information.

[0096] The intelligent connection unit is used to dynamically select the appropriate communication protocol and connection parameters based on known and unknown device information to enable 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 is running stably.

[0098] Preferably, 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 are integrated within the communication protocol processing unit and run simultaneously. For example, the Bluetooth protocol stack searches for Bluetooth device signals in a specified frequency band, the Wi-Fi driver and protocol processing subunit scans for surrounding Wi-Fi networks and devices, and the Zigbee protocol parsing subunit searches for devices in the Zigbee network frequency band.

[0100] Preferably, the Bluetooth protocol stack implementation is based on the Bluetooth standard specification, utilizing existing Bluetooth chipsets and related software development kits (SDKs). During the device scanning phase, the scanning parameters of the Bluetooth chip (such as scanning frequency and scanning mode: active or passive scanning) are configured to search for nearby Bluetooth devices. Upon receiving broadcast data packets from Bluetooth devices, the various fields of the data packets are parsed, including device name, MAC address, and service UUID. Analysis of these fields yields basic device information and the types of Bluetooth services it supports. Simultaneously, according to the Bluetooth protocol's connection establishment process, pairing and connection with the target device are achieved. This process involves Bluetooth security mechanisms, including the exchange and verification of pairing keys, to ensure connection security.

[0101] Preferably, the Wi-Fi driver and protocol processing subunit relies on the device's Wi-Fi chip and the Wi-Fi driver provided by the operating system. When scanning for Wi-Fi networks and devices, it obtains network and device information by sending probe request frames and receiving Wi-Fi beacon frames. It parses fields such as SSID, BSSID, signal strength, frequency band, and supported data rates in the beacon frames to determine the status of the surrounding Wi-Fi network. For devices supporting Wi-Fi Direct, connection is established through a specific Wi-Fi Direct protocol. During this process, the module handles various connection parameter settings, such as IP address allocation (via DHCP or static IP configuration) and negotiation of network encryption methods (such as WPA2 and 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 a Zigbee network communicate by transmitting and receiving signals in a specific frequency band (such as the globally universal 2.4 GHz band). The subunit first scans this frequency band, searching 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 device's functional role in the network; for example, one endpoint might be dedicated to temperature sensor data transmission, while another endpoint might be used to control the device's on / off state. Analysis of Zigbee clusters further reveals the specific application functions supported by the device, such as lighting control clusters, sensor data acquisition clusters, etc. When establishing a connection with a Zigbee device, the module follows the Zigbee network topology (such as star, tree, or mesh) and communication rules to ensure accurate data transmission between devices.

[0103] Preferably, the communication protocol processing unit also integrates long-distance low-power communication protocols such as LoRa and NB-IoT, as well as protocols such as Modbus and CAN bus suitable for industrial scenarios, thereby enabling access to more types of devices, such as remote monitoring equipment, environmental sensors and industrial controllers, to achieve seamless access to diverse 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 a local area network environment, while the cross-domain communication feature of the soft bus breaks 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 a public network, and even if they are in different geographical locations, the devices can still be efficiently discovered and accessed. The system uses a security gateway to authenticate remote devices and encrypt communication, ensuring the security of cross-domain communication.

[0105] Preferably, during the device discovery phase, the device information extraction unit employs intelligent signal analysis technology. By analyzing the characteristics of different protocol signals, such as the frequency band and modulation method of Bluetooth signals, the frame structure and service set identifier (SSID) of Wi-Fi signals, and the network identifier and node information of Zigbee signals, it accurately distinguishes different types of device signals and extracts the corresponding known device information based on the classified known device signals. The known device information includes: the device's unique identifier, 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 for demodulation and decoding of Bluetooth signals. By identifying the frequency band characteristics of the Bluetooth signal (such as the 79 channels of Bluetooth Basic Rate / Enhanced Data Rate (BR / EDR) in the 2.402-2.480 GHz band), the received radio frequency signal is converted into a digital signal, demodulated according to the Bluetooth modulation method (such as GFSK modulation), and data packets are extracted. When parsing the data packets, according to the format of the Bluetooth protocol, the header, device address, and data payload are analyzed to extract the device name, MAC address, and supported service information.

[0107] For Wi-Fi signals, the signal processing functions and software algorithms built into the Wi-Fi chip are used to parse the received Wi-Fi beacon frames and data frames. By analyzing information such as the frame control field, duration field, and address field in the frame header, the frame type (such as beacon frame, data frame, or management frame) and source are determined. Combined with the parsing of fields such as SSID, frequency band, and signal strength, a comprehensive understanding of the Wi-Fi device and network status is obtained.

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

[0109] Preferably, the dynamic identification unit is used to classify unknown devices based on their general characteristics. For example, if the signal contains radio frequency signals of a specific frequency band and a data packet header of a specific format, the module can initially determine that the device belongs to a certain type of communication protocol. Based on the classified unknown devices, interactive tests are performed (such as sending query commands 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 a 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, enabling device discovery and communication through a unified soft bus interface even if devices are distributed in different network environments, effectively expanding the coverage of the collaborative system.

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

[0111] For unknown devices using other protocols (such as unknown Zigbee devices), the system utilizes the general query mechanism in the Zigbee protocol to obtain the device's endpoint information and supported cluster types. By analyzing the number of endpoints and the type of clusters (e.g., whether they are related to common sensors or controllers), the system infers the device's functionality. During this process, the system continuously accumulates information on new devices and feeds it back into the device identification knowledge base, enabling faster and more accurate identification when encountering similar devices in the future.

[0112] Preferably, the intelligent connection unit is used to dynamically select the most suitable communication protocol and connection parameters based on known and unknown device information, taking into account factors such as device distance, signal strength, device type, and user-defined settings, to enable device access. For example, for devices with short-range connectivity and low data transmission rate requirements (such as the connection between a smartwatch and a smartphone), Bluetooth Low Energy (BLE) connection is prioritized, and the Bluetooth transmission power and connection interval are automatically adjusted according to signal reception to optimize battery life and connection stability. For devices requiring high-speed and stable data transmission (such as the connection between a smart TV and a media server), Wi-Fi is prioritized, and the frequency band (2.4GHz or 5GHz) and Wi-Fi standard (such as 802.11n, 802.11ac, etc.) are dynamically adjusted according to the congestion level of the surrounding Wi-Fi network and device performance.

[0113] Preferably, in the implementation of the intelligent connection strategy, device distance is determined based on signal strength information. For example, in Bluetooth connections, the device distance is estimated using the Received Signal Strength Indication (RSSI) value of the Bluetooth signal. Combined with experimental and calibration data, a mapping model between RSSI value and distance is established. When the RSSI value is high, it indicates that the device is close, and a low-power Bluetooth connection is prioritized. The Bluetooth transmit power and connection interval are dynamically adjusted based on the RSSI value. If the RSSI value fluctuates significantly, it indicates that the device is moving or there is environmental interference. The frequency of signal quality monitoring is increased, and connection parameters are optimized as needed.

[0114] For Wi-Fi connections, in addition to device distance, the congestion of the surrounding Wi-Fi network must be assessed. By scanning the Wi-Fi channel utilization and signal interference of each frequency band, the optimal frequency band and channel connection can be selected. If the 2.4GHz band is severely congested, but the device supports the 5GHz band and the signal strength meets requirements, the 5GHz band should be prioritized. When choosing a Wi-Fi standard, it should be matched to the device's Wi-Fi chip capabilities and network support. For new devices that support high-speed transmission, 802.11ac or a higher standard should be prioritized to ensure high-speed and stable data transmission.

[0115] For Zigbee devices, connection strategies must consider the Zigbee network topology and the device's role within the network. In a mesh Zigbee network, if a device acts as a routing node, the stability of its connections with multiple neighboring nodes must be guaranteed. By optimizing routing algorithms and signal transmission parameters, the system can effectively reduce data transmission latency and packet loss rate, thereby improving overall network performance.

[0116] Preferably, the driver management unit is used to match the corresponding driver for the access device based on the built-in device driver library. If a matching driver is found, it is automatically loaded and configured so that the access device can communicate normally. If no matching driver is found, 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 is running stably.

[0117] Preferably, the device driver library is obtained by collecting, optimizing, and integrating official drivers for a large number of common devices. Rigorous testing is then conducted to ensure compatibility and stability with the system.

[0118] Preferably, the generic driver template is designed based on the common 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 receives task requests sent by users, obtains a task allocation scheme based on the task request and the comprehensive score of the accessed devices, monitors the execution of the task allocation scheme, and makes dynamic adjustments.

[0120] Preferred, such as 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] The task parsing unit is used to receive and parse user task requests to obtain task information.

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

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

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

[0125] Preferably, the task parsing unit receives and parses user task requests. If the task request is initiated through an application interface, such as when a user selects a song and specifies a playback device in a multimedia playback application, the application sends the relevant information to the task parsing unit in a specific format (e.g., JSON). 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 (e.g., synchronous playback, sequential playback). For task requests initiated via voice commands, speech recognition technology is used to convert speech into text, and natural language processing (NLP) technology is used to analyze the text content. For example, if a user says, "Play music on the speakers and TV in the living room," the speech recognition system converts the speech into text, and the NLP module parses the task type as multimedia playback, the target devices as the speakers and TV in the living room, and the task content as playing music.

[0126] Preferably, the task template is 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 devices and "video_device" for video playback devices), device function requirements (such as audio devices need to support specific audio formats and video devices need to have specific resolution and video decoding capabilities), task execution flow (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 information with those of the task template. If the task type in the task information matches the task type identifier of a certain task template, and the type and function of the target device meet the template requirements, then the matching is successful.

[0128] Preferred, such as 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 audio output function is 1 (indicating that the function is available), and the attribute value of 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 requirement vector is obtained. The requirement vector and the requirement vector are then multiplied by the functional vector to obtain a matching score. The higher the score, the more the device is functionally compatible with the task requirements.

[0130] The resource idleness assessment subunit acquires real-time resource information for each access device and converts it into a resource idleness vector. For example, for CPU resources, it calculates the complement of the current CPU utilization (1-CPU utilization) as the CPU resource idleness value; for memory resources, it calculates the ratio of remaining memory to total memory as the memory resource idleness value. These resource idleness values ​​are combined into a resource idleness vector. Based on task information, corresponding demand weights are determined. A resource idleness score is obtained by weighting the demand weights and the resource idleness vector. For example, for computationally intensive tasks, CPU resources have a higher weight; for data storage tasks, memory and storage resources have higher weights.

[0131] The communication efficiency evaluation subunit is used to establish a communication efficiency matrix based on measurements of network latency and packet loss rate between various access devices. A communication efficiency score is obtained based on this matrix. A higher score is achieved if devices connect via high-speed, stable Wi-Fi with low network latency and a near-zero packet loss rate. The compatibility of communication protocols between devices is also considered. Communication efficiency will also improve if all devices support high-speed Bluetooth or other efficient communication protocols.

[0132] The historical task performance evaluation subunit is used to obtain historical evaluation scores based on the performance of access devices in the same type of tasks. For example, it records data such as the number of times the device stutters and audio quality evaluation in multimedia playback tasks, and combines these historical data to form a comprehensive evaluation score.

[0133] The multi-factor task allocation subunit is used to obtain a comprehensive score based on matching degree 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 scheme to ensure the efficiency and stability of task execution.

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

[0135] The task execution adjustment subunit is used to monitor the execution status 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 anomaly adjustment subunit is used to obtain an anomaly report when an access device executing the task allocation scheme encounters an anomaly, update the task status based on the anomaly report, and dynamically adjust the task allocation scheme based on the remaining available access devices and the task execution progress.

[0137] Preferably, the task execution adjustment subunit continuously monitors the task execution status through the communication interface with the device. It periodically obtains task progress reports sent by each device when executing sub-tasks. For example, in a multimedia playback task, the smart speaker will report the current playback timestamp and audio playback status (such as whether it is playing normally or whether there is any stuttering) at fixed time intervals (such as every second); the smart TV will report information such as video playback progress and picture quality.

[0138] Preferably, the task execution adjustment subunit is also used to synchronously transmit user interaction operations (such as pausing playback on a smartphone) to all participating access devices. Through the operation synchronization mechanism and device communication interface, it ensures that all devices execute the pause operation synchronously, achieving seamless task collaboration.

[0139] Preferably, the anomaly adjustment subunit immediately detects problems through anomaly reports or communication interruptions and reassesses the task status. It adjusts task allocation based on the remaining available devices and task execution progress. For example, if the smart speaker disconnects, the anomaly adjustment subunit searches for other available audio playback devices (if any) and reassigns the audio playback subtask to the new device. Simultaneously, it adjusts the playback control logic to ensure the new device can correctly respond to play, pause, and other operation commands. If no other available audio playback device is available, video playback is paused (in the case of synchronized audio and video playback tasks), and a device connection anomaly is sent to the user.

[0140] The resource management optimization module is used to assign resource attribute values ​​to access devices and optimize the task allocation scheme 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] 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 corresponding resource attribute values ​​to the access device based on the evaluation results.

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

[0144] The resource status monitoring unit is used to adjust the task allocation scheme based on resource status data during task execution, determine the task priority based on task information, and allocate resources 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 utilization, the device's operating system kernel periodically counts the usage time of each CPU core, calculates the current utilization, 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 memory blocks allocated to applications and the amount of remaining available memory, thereby gaining a comprehensive understanding of the device's memory status and assessing potential memory shortage risks.

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

[0147] CPU utilization monitoring utilizes performance monitoring tools provided by the operating system kernel. In Linux systems, CPU time statistics, including user-mode time, kernel-mode time, and idle time, can be obtained by reading the " / proc / stat" file. The CPU utilization is calculated by determining the proportion of these times. Simultaneously, the CPU usage time of each process can be obtained through the " / proc / [pid] / stat" file, allowing analysis of which processes are consuming CPU resources.

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

[0149] For storage resources, monitoring is performed at the operating system's file system layer and storage device driver layer. By reading storage device attribute information (such as hard drive capacity and RPM obtained via SCSI commands) and file system metadata (such as inode information, file size, read / write time, etc.), parameters such as storage capacity, remaining capacity, and read / write speed are obtained. Simultaneously, by tracking file system I / O operations, hotspot areas for data storage are identified.

[0150] Preferably, for monitoring network bandwidth usage, the functionality provided by the network driver can be utilized at the device's network interface layer. In Linux systems, the `ifconfig` or `ip` command can be used to obtain basic information about the network interface, such as IP address, MAC address, and network connection status. Network traffic monitoring tools (such as `iftop` and `nethogs`) can be used to monitor real-time metrics such as upload and download speeds, network latency, and packet loss rate.

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

[0152] For some temperature-sensitive devices, temperature data of critical internal components is acquired through hardware temperature sensors. These temperature sensors convert the temperature values ​​into digital signals, which are then transmitted to the operating system via the device's hardware interface (such as I2C, SPI, or other bus interfaces), and finally to the resource management and optimization module.

[0153] Preferably, resource attribute values ​​include performance level, current status, and network connection quality. For example, for CPU resources, the performance level is determined by combining hardware parameters such as model, number of cores, and clock speed, and its current status is assessed by combining real-time CPU utilization. For network bandwidth resources, network connection quality and available bandwidth are assessed by monitoring indicators such as upload and download speeds, network latency, and packet loss rate of the device's network interface. For CPU resources, the CPU performance level is determined based on the CPU's hardware parameters (such as model, number of cores, and clock speed). For example, benchmark software is used to perform performance tests on different CPU models, and the CPUs are divided into different performance levels (such as high performance, medium performance, and low performance) based on the test results. A quantitative representation of the CPU resource status is established by combining real-time CPU utilization data. For example, if the CPU is at the high performance level and the utilization is low, it indicates that CPU resources are sufficient; if the utilization is high, it indicates that resources are scarce.

[0154] For memory resources, the scale of memory resources is determined based on the device's memory capacity. Simultaneously, considering memory usage, the proportion of idle memory resources is calculated. The scale of memory resources and the proportion of idle memory resources are combined to form a quantitative representation of the memory resources.

[0155] For storage resources, their characteristics are determined based on parameters such as total capacity and read / write speed. For example, the read / write speed of a storage device is compared with industry standards or the average read / write speed of similar devices to categorize them as high-speed, medium-speed, and low-speed. A quantitative representation of storage resources is established by combining storage capacity and remaining capacity. For network bandwidth resources, the quality of network resources is determined based on the connection type of the network interface and measured indicators such as network bandwidth, latency, and packet loss rate. For example, Wi-Fi networks are categorized into different levels (e.g., high-quality Wi-Fi, standard Wi-Fi, poor Wi-Fi) based on their bandwidth and stability.

[0156] For device battery level, a quantitative representation is established based on the current battery percentage and charging status. For example, a battery level above 80% and charging indicates sufficient power with potential for further increases; a battery level below 20% and not charging indicates low power. For the heat dissipation status of temperature-sensitive devices, temperature data obtained from temperature sensors is compared with the device's safe temperature range. If the temperature is close to or exceeds the upper limit of the safe temperature, it indicates poor heat dissipation, requiring measures (such as reducing device performance to decrease heat generation).

[0157] Preferably, during the collaborative task allocation phase, the resource management optimization module uses advanced algorithms to intelligently allocate resources based on the task's resource requirements and the equipment's resource model, taking into account the following factors:

[0158] 1. Resource Idle Rate: This analyzes the proportion of currently unused resources on a device. For example, for computationally intensive tasks, prioritize devices with low CPU utilization to fully utilize their idle resources.

[0159] 2. Resource Utilization Efficiency: Evaluate the efficiency of the device when performing similar tasks. For example, some devices may still be preferred even if their resource utilization is high, due to their high efficiency (such as devices with dedicated GPUs handling video decoding tasks).

[0160] 3. Task Resource Dependency: Adjust the allocation strategy based on the task's resource dependency. For example, data storage tasks should prioritize devices with large storage capacity and fast read / write speeds; real-time communication tasks should prioritize devices with high network bandwidth and low latency.

[0161] IV. Dynamic Trends in Resource Changes: By analyzing and predicting historical data, we can estimate future changes in equipment resources. For example, the power resources of devices charging will gradually increase, allowing us to allocate more power-dependent sub-tasks; devices with decreasing power will need to reduce their task load, transferring high-consumption tasks to devices with sufficient power.

[0162] During task execution, the resource management and optimization module continuously monitors changes in equipment resources to ensure stable task progress. If resource shortages or low utilization efficiency are detected, the module immediately activates the adjustment mechanism.

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

[0164] 2. Insufficient memory: Release cached data, pause non-critical background tasks to free up memory, or assign memory-intensive tasks to devices with abundant memory resources.

[0165] 3. Insufficient battery power: Adjust the device's operating mode (such as reducing screen brightness, reducing background services, and reducing CPU frequency) to save power, and transfer high-energy-consuming tasks to devices with sufficient battery power.

[0166] 4. Inefficient network transmission: When network congestion leads to slow transmission speed or frequent packet loss, reassess 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 task information;

[0170] Obtain the resource idle rate of the access device based on resource attribute values;

[0171] The resource idle rate is used to obtain a resource idle vector, and its similarity is calculated with the demand vector.

[0172] The access device that best matches the task resources is selected based on similarity.

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

[0174] Determine the degree to which a task depends on resources based on task information;

[0175] Based on the degree of dependency, assign corresponding resource weight vectors to different types of tasks;

[0176] Obtain the resource status vector of the access device based on resource status data;

[0177] The expected resource utilization rate of the task executed on the access device is obtained based on the resource weight vector and the resource state vector.

[0178] Predict resource changes within a preset timeframe based on historical resource data from access devices;

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

[0180] Preferably, during task execution, when a device experiences resource strain (e.g., high CPU utilization, insufficient memory, low battery) or inefficient resource utilization, the resource scheduling algorithm initiates a corresponding adjustment mechanism. For high CPU utilization, the algorithm first analyzes the CPU resource requirements of the subtasks currently executing on that device. By examining the subtask type (e.g., computationally intensive, I / O-intensive) and historical CPU resource usage data, it determines which subtasks can be transferred. Then, it searches for other devices with sufficient idle CPU resources and selects a suitable device for subtask transfer based on communication efficiency between devices and the migration cost of subtasks (e.g., data transfer volume, re-initialization cost). When memory is insufficient, the algorithm evaluates the usage frequency and importance of each data block in memory. For cached data, it can release some cache space based on cache eviction policies (e.g., Least Recently Used (LRU) algorithm). In the case of low battery, the algorithm determines the subtasks that need adjustment based on the device's power consumption model and the power consumption of the currently executing subtasks. When a device is found to be underutilizing its resources during a task, such as when a device is processing network data transmission tasks and the transmission speed is slow and packets are frequently lost due to network congestion, the algorithm will reassess the network resource status of that device.

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

[0182] Preferred, such as 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. It issues corresponding digital certificates to legitimate devices and verifies the validity of the digital certificates when a device connects. When a new device attempts to access the network, its identifier is precisely matched against information in the database. If the match fails, the device will be denied access and can obtain permission through an additional authorization process (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 containing key information such as the device's public key, device digest, and the certificate authority's signature. During device connection, the system performs a comprehensive verification of the certificate, including checking the signature's validity (using the certificate authority's public key to verify signature consistency and ensure the certificate has not been tampered with), the certificate's validity period, and whether the device information in the certificate (such as device type and model) matches the actual connected device, preventing certificate misuse.

[0185] The user authentication unit is used to set up multiple authentication methods to verify the user's identity;

[0186] The transmission encryption unit is used to select an appropriate encryption algorithm to encrypt the transmitted data based on the sensitivity of the transmitted data and the transmission environment, and to store and manage the encryption key.

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

[0188] The data integrity verification unit is used to generate a first hash value based on the transmitted data at the data sending end and send or store it together with the transmitted data. When reading the transmitted data at the receiving end, it generates a second hash value and compares it with the first hash value. If they are inconsistent, it indicates that the data has been tampered with, and an early warning is issued and corresponding measures are taken, such as requesting retransmission or attempting data repair.

[0189] The device status monitoring unit is used to monitor the security status of connected devices in real time, and to take corresponding protective measures and issue early warnings when abnormalities occur.

[0190] Preferably, the user authentication unit selects an appropriate authentication method based on the user's device functions and settings. For example, on smartphones that support both password input and fingerprint recognition, the user can choose one of these authentication methods or use multi-factor authentication (such as a combination of password and fingerprint) as required by the system. For highly sensitive operations (such as financial transfers, viewing health privacy data, etc.), the system will enforce the use of multiple authentication methods. For example, in password and fingerprint authentication, the system processes the user's input password using a hash algorithm to generate a fixed-length hash value. The generated hash value is then compared with a pre-stored value in a protected storage area (such as the device's encryption chip or secure memory). Simultaneously, the fingerprint sensor collects the user's fingerprint, extracts feature points using a fingerprint recognition algorithm, and matches them with a registration template. Only when both methods are verified can the user gain access.

[0191] Preferably, for general collaborative task data (such as device configuration parameter synchronization and ordinary text messages), the system employs a symmetric encryption algorithm (such as AES). This type of encryption uses a shared key to encrypt and decrypt data, offering high efficiency and suitability for rapid processing of large datasets. 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 its private key to decrypt it, ensuring that even if the encrypted data is intercepted, it cannot be decrypted without the private key. Symmetric keys are allocated through a secure protocol in key management to avoid direct key transmission and reduce the risk of leakage; the private key for the asymmetric key is stored in a high-security area of ​​the device (such as a hardware encryption module), allowing only authorized access.

[0192] Preferably, during data transmission, the transmission encryption unit generates a secure symmetric key based on a cryptographically secure pseudo-random number generator (PRNG), ensuring the randomness and unpredictability of the key. The key length is selected according to the required security level (e.g., 128 bits, 256 bits, etc.). Between the devices participating in data transmission, the key is transmitted via a secure key exchange protocol (e.g., the Diffie-Hellman key exchange protocol). In the Diffie-Hellman protocol, the two devices, in an insecure network environment, calculate a shared symmetric key by exchanging some publicly available parameters (based on the mathematical discrete logarithm problem). During this process, the key itself is not directly transmitted over the network, thus avoiding the risk of theft.

[0193] When a sender wants to transmit data, it encrypts the data using a generated symmetric key. The AES algorithm converts plaintext data into ciphertext data through multiple rounds of substitution, permutation, and obfuscation operations. The encrypted ciphertext data is then transmitted to the receiver over the network. The receiver uses the same symmetric key and follows the AES decryption process to restore the ciphertext data back to plaintext. 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 kept strictly confidential. When a sender wants to transmit highly sensitive data (such as a user's bank account information), it encrypts the data using the receiver's public key. The encryption process is based on the mathematical principles of the RSA algorithm, converting the data into ciphertext through exponentiation and modular arithmetic. After receiving the ciphertext, the receiver decrypts it using its own private key and restores the data through the corresponding inverse mathematical operations.

[0194] Preferably, data storage units are categorized into security levels based on data type. Highly sensitive data (such as user privacy information) is stored only in high-level protected devices, such as devices equipped with hardware encryption chips or secure isolation zones. These chips encrypt data when it is written and decrypt it when it is read, ensuring that the data cannot be accessed even if the storage device is stolen. General user data (such as personalized settings and application cache) is encrypted and stored using the device's operating system's encryption functions to prevent data leakage due to loss or malicious attacks.

[0195] Preferably, the device status monitoring unit monitors running processes, network traffic, and file access behavior through security software or the device's built-in protection mechanisms. For example, it identifies abnormal process startups, unauthorized applications accessing sensitive data, or abnormal network traffic (such as large-scale data transmission or suspected network attacks). When an anomaly is detected, the module immediately takes measures, such as isolating the device, disconnecting 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: a running process monitoring subunit, a network traffic monitoring subunit, and an anomaly handling subunit;

[0197] The process monitoring subunit is used to establish process blacklists and whitelists. Processes on the whitelist are authorized and legitimate processes, such as core system processes and processes of legitimate applications installed by the user. Processes on the blacklist are known malicious processes, such as viruses and Trojans. The unit monitors the running status of connected devices and compares it with the blacklists and whitelists to obtain the process comparison results.

[0198] The network traffic monitoring subunit monitors the network traffic of access devices and identifies abnormal network traffic patterns based on an established network traffic model and anomaly detection algorithm. For example, if a device suddenly experiences a large number of connections to unfamiliar external IP addresses with abnormally high data transmission volumes, it may indicate that the device has been subjected to a network attack or controlled by malware. In this case, the system can take measures such as cutting off suspicious network connections, enabling firewall rules to restrict this type of network traffic, and performing virus scans on the device. Simultaneously, the monitoring software tracks file read and write operations on the device's file system. It obtains relevant information about file access through the operating system's file system monitoring interface, including file path, access type (read, write, execute), and access process. If abnormal file access behavior is detected, such as an unauthorized process attempting to access sensitive files (e.g., system configuration files, user privacy data files), the system will block the access and record relevant information for subsequent analysis.

[0199] The anomaly handling subunit is used to take appropriate protective measures and issue early warnings based on process comparison results and abnormal network traffic patterns. If a process is in 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 a process is in the whitelist, it will be further analyzed, such as observing its access to system resources and network communication behavior through behavioral analysis techniques to determine whether there is any malicious intent.

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

[0201] Preferred, such as 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] A general interface unit is used to set up unified interface elements and operation buttons, and to optimize the interface elements based on the characteristics of the access devices.

[0203] The synchronization operation unit is used to propagate the execution operations on the access device to other cooperating devices for synchronous execution.

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

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

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

[0207] Preferably, the universal interface units employ standardized color schemes, icon designs, and font styles to present a consistent visual style across various devices. For example, regardless of whether it's a small smartphone screen or a large smart TV screen, the play button always uses a uniform right-pointing triangle pattern, and the pause button uses two vertical lines. The size and visual effect of the icons are kept as consistent as possible across different devices for easy user identification. Standardized operation processes are adopted. For example, in multimedia playback scenarios, users follow the same process to perform playback operations on any device: select a media file -> select a playback device (if multiple devices are available) -> execute playback. On touchscreen devices, the main operation buttons (play, pause, fast forward / rewind, volume adjustment, etc.) are placed in easily accessible areas such as the screen edges or bottom. On devices operated with a remote control (such as smart TVs), the functions of the operation buttons are mapped to the corresponding buttons on the remote control, maintaining functional consistency. For example, the play / pause button on the remote control has the same function as the corresponding button on the touchscreen, achieving a consistent user experience across devices.

[0208] Preferably, the synchronization operation unit is used to rapidly propagate the operations performed on the access device to other collaborating devices for synchronized execution via a high-efficiency messaging network. This network, based on reliable communication protocols and optimized mechanisms, ensures that instructions reach the target device accurately and quickly. For example, in a multi-device playback scenario, when a user clicks the pause button on their smartphone, the instruction is sent to the smart speaker and smart TV with extremely low latency. Upon receiving the instruction, these devices pause playback almost simultaneously, achieving seamless operation synchronization. To further optimize the synchronization effect, the system employs time synchronization technology (such as Network Time Protocol NTP) to ensure that the time base of different devices is consistent, making operation execution more accurate.

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

[0210] For time synchronization, the system employs Network Time Protocol (NTP) or other similar high-precision time synchronization methods. Each device has a local time synchronized with a standard time server within the network. Time calibration with the time server is performed periodically to ensure that time errors between devices are within a very small range (e.g., a few milliseconds). When operation commands are transmitted between devices, the operation timestamp is used to precisely control the execution time of the operation. For example, when a user taps the pause button on a smartphone at a certain moment, the timestamp of this operation is sent to other devices along with the message. Upon receiving the message, other devices compare the timestamp with their local time and execute the pause operation at almost the same time, thus achieving seamless operation synchronization. Simultaneously, to handle issues 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 experiences a slight delay in operation execution due to network congestion or low performance, but this is within the time tolerance range, the operation synchronization is still considered successful.

[0211] Preferably, the self-adaptive unit automatically adjusts the user interface layout for devices with different screen sizes and resolutions. On small-screen devices (such as smartwatches), only key information and operation buttons are displayed, such as song titles, play / pause buttons, and volume sliders, and the layout is optimized according to the screen shape to avoid overcrowding. On large-screen devices (such as smart TVs), space is fully utilized to display more rich content, such as lyrics, album art, and playlists. The system is specifically 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 user commands such as "play next song" or "pause playback"; for button-operated devices (such as control panels), the size, spacing, and tactile feel of the buttons are designed reasonably to ensure comfortable operation and reduce the risk of accidental touches.

[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 execution is abnormal (such as device connection interruption or task lag due to insufficient resources), the system will display a concise prompt message on the screen 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," accompanied by a visually intuitive icon with a red cross covering the device icon. The system responds promptly to user operation feedback. For example, when a user successfully adjusts the volume, each device briefly displays "Volume adjusted"; if the operation is invalid (such as clicking "Next" but no more songs are available), the system will display "No more songs available." Corresponding help feedback and online support are also provided. Users can access local help documentation through the device's help menu to obtain system usage methods, frequently asked questions, 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 resolve complex problems encountered during use.

[0213] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0214] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those 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 invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A soft bus based multi-device collaborative management and optimization system, characterized in that, The application relates to a device access identification module, a cooperative task scheduling module, a resource management optimization module, a security protection module and a user experience enhancement module. The device access identification module is used for scanning known devices and unknown devices through a soft bus and multiple communication protocols, and a driving program is configured accordingly to realize device access. The cooperative task scheduling module is used for receiving a task request sent by a user, obtaining a task allocation scheme based on the task request and a comprehensive score of accessed devices, monitoring execution of the task allocation scheme and dynamically adjusting the task allocation scheme. The resource management optimization module is used for assigning resource attribute values to the accessed devices, and optimizing and resource-adjusting the task allocation scheme based on the task request and the resource attribute values. The resource management optimization module comprises a resource attribute confirmation unit, a cooperative task allocation unit and a resource state monitoring unit. The resource attribute confirmation unit is used for collecting resource state data of the accessed devices in real time, evaluating hardware parameters of the accessed devices based on the resource state data, and assigning corresponding resource attribute values to the accessed devices based on evaluation results. The cooperative task allocation unit is used for optimizing the task allocation scheme based on the task information and the resource attribute values by using a resource scheduling algorithm. The resource state monitoring unit is used for resource-adjusting the task allocation scheme based on the resource state data during task execution, determining a task priority based on the task information, and resource-allocating the task allocation scheme based on the task priority. The resource scheduling algorithm specifically comprises the following steps: a demand vector of a task for resources is obtained based on the task information; a resource idle rate of the accessed devices is obtained based on the resource attribute values; a resource idle vector is obtained based on the resource idle rate, and similarity is calculated with the demand vector; the accessed device most matched with the task resources is selected based on the similarity; a resource utilization efficiency of the accessed device for processing a specific type of task is determined based on historical task execution data of the accessed device; a dependence degree of the task for resources is determined based on the task information; a resource weight vector corresponding to different types of tasks is set based on the dependence degree; a resource state vector of the accessed device is obtained based on the resource state data; an expected resource utilization rate of the task on the accessed device is obtained based on the resource weight vector and the resource state vector; a resource change situation in a future preset time is predicted based on historical data of the accessed device; the task allocation scheme is optimized based on the similarity, the resource utilization efficiency, the expected resource utilization rate and the resource change situation. The security protection module is used for verifying identities of the accessed devices and the user, encrypting and integrity- verifying transmission data between the accessed devices, classifying and storing the transmission data, monitoring a security state of the accessed devices and giving an abnormality warning. ​ The user experience enhancement module is configured to set a unified operation interface, adjust the operation interface based on device characteristics, realize synchronized execution of tasks and unified display of prompt information among the access devices, and provide online support.

2. The soft bus based multi-device cooperative management and optimization system according to claim 1, wherein, The device access identification module comprises a communication protocol processing unit, a device information extraction unit, a dynamic identification unit, an intelligent connection unit, and a driver management unit. The communication protocol processing unit is configured to scan and identify signals of a plurality of known devices and unknown devices in different network environments based on integrated multiple communication protocols and a soft bus. The device information extraction unit is configured to classify signal types based on communication protocol characteristics corresponding to the known device signals, and extract corresponding known device information based on the classified known device signals. The dynamic identification unit is configured to classify unknown devices based on general characteristics of the unknown devices, and perform interactive testing on the classified unknown devices to obtain functional characteristics of the unknown devices as unknown device information. The intelligent connection unit is configured to dynamically select corresponding communication protocols and connection parameters based on the known device information and the unknown device information, and realize device access. The driver management unit is configured to match corresponding drivers for the access devices based on a built-in device driver library, and if there is no matching driver, generate a temporary driver based on an interface specification and a functional description of the access device and perform optimization adjustment until the access device operates stably.

3. The soft bus based multi-device cooperative management and optimization system according to claim 1, wherein, The collaborative task scheduling module comprises a task analysis unit, a task template matching unit, a device selection and task allocation unit, and a task execution monitoring and adjustment unit. The task analysis unit is configured to receive and analyze the task request of the user to obtain task information. The task template matching unit is configured to compare the task information with attributes of task templates to obtain a matching task template, and select corresponding access devices based on the task template. The device selection and task allocation unit is configured to obtain a comprehensive score based on a matching degree score, a resource idle degree score, a communication efficiency score, and a historical evaluation score of the selected access devices, select corresponding access devices based on the comprehensive score to allocate tasks, and obtain a task allocation scheme. The task execution monitoring and adjustment unit is configured to monitor execution of the task allocation scheme in real time, adjust a corresponding task execution state based on a task progress, and dynamically adjust the task allocation scheme based on abnormal conditions of the access devices.

4. The soft bus based multi-device cooperative management and optimization system according to claim 3, wherein, The device selection and task allocation unit comprises a function matching degree evaluation subunit, a resource idle degree evaluation subunit, a communication efficiency evaluation subunit, a historical task performance evaluation subunit, and a multi-factor task allocation subunit. The function matching degree evaluation subunit is configured to determine a functional attribute of a device based on the access device, obtain a function vector based on the functional attribute, obtain a demand vector based on the task information, and perform dot product operation on the function vector and the demand vector to obtain the matching degree score. The resource idle degree evaluation subunit is configured to acquire real-time resource information of each access device and convert the information into a resource idle vector, determine a corresponding demand weight based on the task information, and obtain the resource idle score by weighting the demand weight and the resource idle vector; The communication efficiency evaluation subunit is configured to establish a communication efficiency matrix based on 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 configured to obtain the historical evaluation score based on completion of the same type of task by the access device; The multi-factor task allocation subunit is configured to obtain the comprehensive score based on the matching degree score, the resource idle score, the communication efficiency score, and the historical evaluation score, select the access device with the comprehensive score greater than a threshold value for task allocation, and obtain the task allocation scheme.

5. The soft bus based multi-device collaborative management and optimization system according to claim 3, wherein, The task execution monitoring and adjustment unit includes a task execution adjustment subunit and an abnormality adjustment subunit; The task execution adjustment subunit is configured to monitor execution of the task allocation scheme in real time, acquire a corresponding task progress report, and dynamically update the overall execution state of the task based on the task progress report; The abnormality adjustment subunit is configured to acquire an abnormality report when the access device executing the task allocation scheme has an abnormality, update the evaluation task based on the abnormality report, and dynamically adjust the task allocation scheme based on the remaining available access devices and the task execution progress.

6. The soft bus based multi-device collaborative management and optimization system according to claim 1, wherein, 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 state monitoring unit; The security authentication unit is configured to acquire a unique identifier of the access device and compare the unique identifier with a stored list of legal devices, issue a corresponding digital certificate for a legal device, and verify validity of the corresponding digital certificate when the device is connected; The user authentication unit is configured to set multiple authentication methods to verify the identity of a user; The transmission encryption unit is configured to select a corresponding encryption algorithm to encrypt transmission data according to sensitivity of the transmission data and a transmission environment, and store and manage an encryption key; The data storage unit is configured to set a corresponding security level based on different types of transmission data, and classify and store the transmission data based on the security level and device storage capacity; The data integrity verification unit is configured to generate a first hash value based on the transmission data at a data sending end and send or store the first hash value together with the transmission data, generate a second hash value when the transmission data is read at a receiving end, and compare the second hash value with the first hash value; if the two hash values are inconsistent, a warning is given; The device state monitoring unit is configured to monitor a security state of the access device in real time, and take corresponding protection measures and give a warning prompt when an abnormality occurs.

7. The soft bus based multi-device collaborative management and optimization system according to claim 6, wherein, The device state monitoring unit includes a running process monitoring subunit, a network traffic monitoring subunit, and an abnormality processing subunit; The running process monitoring subunit is configured to establish a process black and white list, monitor a running state of the access device, and compare the running state with the black and white list to obtain a process comparison result; The network flow monitoring subunit is configured to monitor network flow of the access device, identify the network flow based on an established network flow model and an anomaly detection algorithm, and obtain an abnormal network flow mode; The anomaly processing subunit is configured to take corresponding protection measures and provide a warning prompt based on the process comparison result and the abnormal network flow mode.

8. The soft bus based multi-device collaborative management and optimization system according to claim 7, wherein, 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; The general interface unit is configured to set uniform interface elements and operation buttons, and optimize the interface elements based on characteristics of the access device; The synchronous operation unit is configured to propagate an execution operation on the access device to other collaborative devices for synchronous execution; The adaptive unit is configured to adaptively adjust the interface elements and operation modes based on a screen size, a resolution, and an input mode of the access device; The feedback prompt unit is configured to display prompt information in a uniform manner on all collaborative devices in a collaborative task, and provide corresponding help feedback and online support; The interface optimization unit is configured to evaluate user behavior based on the prompt information, and optimize the interface elements and the operation buttons based on an evaluation result.

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