Method and device for assisting processing of multi-device hierarchical resource tasks

Through the idle resource assistance between devices, the multi-tasking processing of embedded devices is shared, and the problems of small CPU resource consumption and storage space are solved, achieving efficient and smooth user experience and disaster recovery backup.

CN120029761APending Publication Date: 2025-05-23上海贝尔企业通信有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510013363.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

When embedded devices handle multitasking, CPU resource consumption is severe, resulting in delays in high-priority tasks, poor user experience, and small storage space, making it difficult to effectively handle multitasking priority and file storage.

Method used

Through the resource idle capability between devices, we share the tasks of handling multiple devices. Using PNP SUBSCRIBE and SSH protocols, we realize assisted processing between devices, classify task priorities, and transfer tasks to idle devices when needed, reducing CPU load and improving storage capabilities.

Benefits of technology

It realizes the equipment's delay-free processing of high-priority user tasks, improves the efficiency of multi-task completion, solves the problem of small storage space for embedded devices, and provides a disaster recovery backup solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029761A_ABST
    Figure CN120029761A_ABST
Patent Text Reader

Abstract

The invention provides an assistant processing method and device for multi-device hierarchical resource tasks, and the method comprises the steps: enabling all devices to allow the capability levels of remote priority processing of tasks by an administrator, carrying out the cross capability exchange of all devices, and carrying out the assistant device application when the assistant processing is needed; if the first equipment finds that the processing capacity of the first equipment reaches a threshold value, the first equipment seeks idle resource assistance tasks of other equipment through network multicast; the other equipment calculates the resource utilization rate of the equipment after receiving the resource idle condition, and replies the calculated resource idle condition to the first equipment; and after receiving the response of other equipment, the first equipment allocates tasks needing assistance according to the received idle resource condition, is connected with assisted equipment, and sends the tasks to corresponding equipment for processing. In this way, the resource idle capacity between the devices is utilized, tasks of multiple devices are shared and processed, and therefore it is guaranteed that the tasks directly felt by the devices for high-priority users are not delayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention generally relate to the technical field of embedded low-performance devices, and more particularly to a method and apparatus for assisting in processing hierarchical resource tasks of multiple devices. Background Art

[0002] There are many embedded devices at present, such as POS machines, VOIP communication equipment, etc. These devices are independent transaction processing. Although they rely on network protocol exchange in network communication such as call negotiation and transaction negotiation, many tasks require internal resources to process, such as log collection and diagnosis, file compression processing. These all need to rely on independent devices to complete themselves, and the resource consumption of multi-task processing equipment is also very huge.

[0003] At present, embedded devices still use the method of independent devices to handle transactions independently. When the tasks are multi-level and intensive, the consumption of device performance is huge. Many low-priority backend tasks sometimes consume a lot of CPU and other resources of the device. First, the device operation load is increased. Second, due to the lack of CPU and other resources, other processes are delayed in processing transactions, which directly affects the user experience. For example, when the device heats up, users feel serious device freezes, voice and video delays, frame drops, and other problems. However, these backend execution tasks cannot be abandoned, and sometimes it is not convenient to switch to idle time for execution, because idle time execution directly causes response delays for some businesses that need real-time processing feedback. Summary of the invention

[0004] To solve the above problems, the present invention utilizes the idle capacity of resources between devices to share the tasks of processing multiple devices, thereby ensuring that the devices have no delays in tasks directly felt by high-priority users, the experience is smooth, and user services are not affected; it solves the problems of multi-task priority and serious CPU resource consumption of back-end resources, and improves the efficiency of multi-task completion after task assistance; it solves the problem of small storage space of embedded devices, and improves file storage capacity by allocating temporary storage space by assisting devices; it can be used as a backup link when some modules that do not affect operation are abnormal, by setting the tasks of the abnormal modules to a task level that allows remote assistance, and then transferring this part of the business processing to the assisting device, which is equivalent to a disaster recovery backup solution.

[0005] According to an embodiment of the present invention, a method and apparatus for assisting processing of multi-device hierarchical resource tasks are provided.

[0006] In a first aspect of the present invention, a method for assisting processing of multi-device hierarchical resource tasks is provided. The method comprises:

[0007] S01: The administrator enables the capability level of all devices to allow remote priority processing of tasks. All devices exchange cross-capabilities through PNP SUBSCRIBE, and when assistance is needed, the device broadcasts PNP SUBSCRIBE to apply for assistance.

[0008] S02: If the first device finds that its processing capacity has reached the threshold, the first device performs network multicast through PNPSUBSCRIBE to seek idle resources of other devices to assist in the task, and at the same time, the first device inserts the current time information and the task level that needs to be coordinated in PNPSUBSCRIBE;

[0009] S03: After receiving the PNP SUBSCRIBE message, the other device calculates its own resource utilization rate and replies the calculated resource idle situation to the first device via 200OK;

[0010] S04: After receiving the responses from other devices, the first device allocates the tasks that need assistance according to the received resource availability, connects to the assisting device via SSH, and sends the task resources and operation instructions to the corresponding device for processing.

[0011] Furthermore, there are two levels of capability levels described in S01. The first level is data assistance processing tasks, which require high CPU and low storage tasks, allow remote assistance compression, and the main tasks are: log file compression, image file compression, and configuration file compression operations; the second level is data storage processing tasks, which require high storage and low CPU, allow storage, and the main tasks are: log storage, acting as a syslog server to store logs.

[0012] Furthermore, the specific steps of S04 are:

[0013] After the first device receives the response from other devices, if it determines that the task that needs assistance is a data assistance processing task, it selects a device with high CPU and low space storage as the device for assisting in processing low-priority tasks. The first device connects to the device for assisting in processing low-priority tasks through SSH and sends task resources and operation instructions to the device for assisting in processing low-priority tasks for processing. For the real-time interactive encrypted and decrypted data stream, after the first device and the device for assisting in processing low-priority tasks establish a channel, the first device updates the channel with the device for assisting in processing low-priority tasks, so that its channel is inserted into the device for assisting in processing low-priority tasks for forwarding. The device for assisting in processing low-priority tasks processes part of the data encryption and decryption, and the first device and the device for assisting in processing low-priority tasks exchange final data through the tunnel, thereby reducing the CPU resources of the first device's CPU for processing encryption and decryption. After the device for assisting in processing low-priority tasks completes processing of the task initiated by the first device, it transmits the processed data to the first device through SSH.

[0014] If the task that requires assistance is a data storage processing task, a low-CPU, high-space storage device is selected as the assisting storage device, and a connection is established with the assisting storage device through SSH, and the resource files and operation instructions that need to be stored are sent. After receiving the storage assistance task from the first device, the assisting storage device stores the data. The first device can retrieve the data after the resources are idle. At the same time, the assisting storage device clears the stored data after the first device retrieves it.

[0015] Furthermore, if an abnormality occurs in the device assisting in processing low-priority tasks or the device assisting in storage, the first device will be notified to terminate the assisting task connection; if there are storage resources, the first device will retrieve the stored data, and at the same time, the first device will search for a new assisting device through PNP SUBSCRIBE. If the first device has previously stored multiple other available devices, then one is directly selected from the list of available devices for assistance request.

[0016] Furthermore, as described in S01, when assistance is needed, the device applies for assistance by broadcasting PNP SUBSCRIBE. When other devices receive the assistance task request, they can only inform the level of the task that can be assisted based on their current processing capabilities; if their own resources are saturated, when they receive the PNP SUBSCRIBE assistance task request, they will directly discard the task request.

[0017] Furthermore, the resource utilization of the device itself described in S03 is obtained by the device calculating the device utilization of the previous day once a day; at the same time, the device records busy hours and idle hours based on the user's usage habits or device configuration to maximize resource utilization during off-peak usage.

[0018] In a second aspect of the present invention, a device for assisting processing of multi-device hierarchical resource tasks is provided. The device comprises:

[0019] Level enable module: used by the administrator to enable the capability level of all devices to allow remote priority processing of tasks. All devices exchange cross-capabilities through PNP SUBSCRIBE, and when assistance is needed, the device broadcasts PNP SUBSCRIBE to apply for assistance.

[0020] Assistance request module: used for, if the first device finds that its processing capacity has reached the threshold, the first device performs network multicast through PNP SUBSCRIBE to seek idle resources of other devices for assistance tasks, and at the same time, the first device inserts the current time information and the task level that needs to be coordinated in PNP SUBSCRIBE;

[0021] Request reply module: used for other devices to calculate their own resource utilization after receiving the PNP SUBSCRIBE message, and reply the calculated resource idle situation to the first device through 200OK;

[0022] Request processing module: used for the first device to allocate tasks that require assistance based on the resource availability after receiving responses from other devices, and to connect to the assisting device through SSH to send task resources and operation instructions to the corresponding device for processing.

[0023] Furthermore, there are two levels of capability levels described in the level activation module. The first level is data assistance processing tasks, which require high CPU and low storage tasks, allow remote assistance compression, and the main tasks are: log file compression, image file compression, and configuration file compression operations; the second level is data storage processing tasks, which require high storage and low CPU, allow storage, and the main tasks are: log storage, acting as a syslog server to store logs.

[0024] Furthermore, the specific steps of the request processing module are:

[0025] After the first device receives the response from other devices, if it determines that the task that needs assistance is a data assistance processing task, it selects a device with high CPU and low space storage as the device for assisting in processing low-priority tasks. The first device connects to the device for assisting in processing low-priority tasks through SSH and sends task resources and operation instructions to the device for assisting in processing low-priority tasks for processing. For the real-time interactive encrypted and decrypted data stream, after the first device and the device for assisting in processing low-priority tasks establish a channel, the first device updates the channel with the device for assisting in processing low-priority tasks, so that its channel is inserted into the device for assisting in processing low-priority tasks for forwarding. The device for assisting in processing low-priority tasks processes part of the data encryption and decryption, and the first device and the device for assisting in processing low-priority tasks exchange final data through the tunnel, thereby reducing the CPU resources of the first device's CPU for processing encryption and decryption. After the device for assisting in processing low-priority tasks completes processing of the task initiated by the first device, it transmits the processed data to the first device through SSH.

[0026] If the task that requires assistance is a data storage processing task, a low-CPU, high-space storage device is selected as the assisting storage device, and a connection is established with the assisting storage device through SSH, and the resource files and operation instructions that need to be stored are sent. After receiving the storage assistance task from the first device, the assisting storage device stores the data. The first device can retrieve the data after the resources are idle. At the same time, the assisting storage device clears the stored data after the first device retrieves it.

[0027] Furthermore, if an abnormality occurs in the device assisting in processing low-priority tasks or the device assisting in storage, the first device will be notified to terminate the assisting task connection; if there are storage resources, the first device will retrieve the stored data, and at the same time, the first device will search for a new assisting device through PNP SUBSCRIBE. If the first device has previously stored multiple other available devices, then one is directly selected from the list of available devices for assistance request.

[0028] Furthermore, as described in the level activation module, when assistance is needed, the device applies for assistance by broadcasting PNPSUBSCRIBE. When other devices receive the assistance task request, they can only inform the level of the task that can be assisted based on their current processing capabilities; if their own resources are saturated, then when they receive the PNPSUBSCRIBE assistance task request, they will directly discard the task request.

[0029] Furthermore, the resource utilization of the device itself described in the request reply module is obtained by the device calculating the device utilization of the previous day once a day; at the same time, the device records busy and idle times based on the user's usage habits or device configuration to maximize resource utilization during off-peak usage.

[0030] The meanings of the above mentioned English abbreviations:

[0031] SSH: Secure Shell, a protocol used for secure remote login and other secure network services over an insecure network

[0032] CPU: Central Processing Unit, central processing unit

[0033] PNP SUBSCRIBE: Plug and Play automatic deployment mode, dynamically discovering servers by sending multicast messages to the network

[0034] VOIP: Voice over Internet Protocol, voice transmission based on IP

[0035] The present invention utilizes the idle capacity of resources between devices to share the tasks of processing multiple devices, thereby ensuring that the devices have no delays in tasks directly felt by high-priority users, the experience is smooth, and user services are not affected; it solves the problems of multi-task priority and serious CPU resource consumption of back-end resources, and improves the efficiency of multi-task completion after task assistance; it solves the problem of small storage space of embedded devices, and improves file storage capacity by allocating temporary storage space by assisting devices; it can be used as a backup link when some modules that do not affect operation are abnormal, and after setting the tasks of the abnormal modules to task levels that allow remote assistance, this part of the business processing is transferred to the assisting device, which is equivalent to a disaster recovery backup solution.

[0036] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The above and other features, advantages and aspects of the embodiments of the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings.

[0038] Figure 1 A flowchart of a method for assisting processing of multi-device hierarchical resource tasks according to an embodiment of the present invention is shown;

[0039] Figure 2 A block diagram of an apparatus for assisting processing of multi-device hierarchical resource tasks according to an embodiment of the present invention is shown;

[0040] Figure 3 A schematic diagram of the assistance processing flow according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] According to the implementation mode of the present invention, a method and apparatus for assisting in the processing of hierarchical resource tasks of multiple devices are proposed, which utilizes the idle capacity of resources between devices to share the processing tasks of multiple devices, thereby ensuring that the devices have no delays in performing high-priority tasks directly felt by users, and the experience is smooth, and user services are not affected; the problems of multi-task priority and serious CPU resource consumption of back-end resources are solved, and the efficiency of multi-task completion is improved after task assistance; the problem of small storage space of embedded devices is solved, and file storage capacity is improved by assisting devices in allocating temporary storage space; it can be used as a backup link when some modules that do not affect operation are abnormal, and by setting the tasks of the abnormal modules to a task level that allows remote assistance, this part of the business processing can be transferred to the assisting device, which is equivalent to a disaster recovery backup solution.

[0043] The principle and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.

[0044] Figure 1 The present invention is a flowchart of a method for assisting in processing multi-device hierarchical resource tasks according to an embodiment of the present invention. The method includes:

[0045] S01: The administrator enables the capability level of all devices to allow remote priority processing of tasks. All devices exchange cross-capabilities through PNP SUBSCRIBE, and when assistance is needed, the device broadcasts PNP SUBSCRIBE to apply for assistance.

[0046] S02: If the first device finds that its processing capacity has reached the threshold, the first device performs network multicast through PNPSUBSCRIBE to seek idle resources of other devices to assist in the task, and at the same time, the first device inserts the current time information and the task level that needs to be coordinated in PNPSUBSCRIBE;

[0047] S03: After receiving the PNP SUBSCRIBE message, the other device calculates its own resource utilization rate and replies the calculated resource idle situation to the first device via 200OK;

[0048] S04: After receiving the responses from other devices, the first device allocates the tasks that need assistance according to the received resource availability, connects to the assisting device via SSH, and sends the task resources and operation instructions to the corresponding device for processing.

[0049] It should be noted that, although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0050] In order to explain the method of assisting the processing of the above-mentioned multi-device hierarchical resource tasks more clearly, a specific embodiment is described below. However, it should be noted that this embodiment is only for better illustrating the present invention and does not constitute an improper limitation to the present invention.

[0051] The following is a specific example to further illustrate the method of assisting in processing multi-device hierarchical resource tasks in more detail:

[0052] like Figure 3 As shown in the figure, the administrator enables the remote priority processing capability level of devices A, B, and C. The first level indicates non-core business in the background, which requires high CPU and low storage tasks, and allows remote assistance compression, mainly log file compression, image file compression, and configuration file compression operations. The second level is enabled, which indicates non-core business in the background but allows storage, which requires high storage and low CPU. The main businesses are: log storage, and acting as a syslog server to store logs.

[0053] Device A, device B, and device C exchange cross capabilities through PNP SUBSCRIBE, and when assistance is needed, the devices apply for assistance by broadcasting PNP SUBSCRIBE.

[0054] At the same time, when all devices receive assistance task requests, based on their current processing capabilities, they can only inform that they can only assist in processing the first or second level. If their own resources are saturated, then when they receive the PNP SUBSCRIBE assistance task request, they will not respond but discard it.

[0055] The user uses device A to perform a call task, and device A finds that its processing capacity has reached a threshold.

[0056] Device A uses PNP SUBSCRIBE to perform network multicast to seek idle resources from other devices to assist in the task. At the same time, device A inserts the current time information and the task level that needs to be coordinated in PNP SUBSCRIBE.

[0057] After receiving the PNP SUBSCRIBE message, device B and device C calculate their own resource utilization. The received PNP SUBSCRIBE message is calculated by the time when the PNP SUBSCRIBE packet is received and the insertion time of device A recorded in the PNP SUBSCRIBE. The calculation results are as follows:

[0058] Device B: CPU: average utilization 20%, peak 35%, peak duration 2 minutes; free storage space: 100MB; message delay: 2s

[0059] Device C: CPU: average utilization 40%, peak 80%, peak duration 60 minutes; free storage space: 300MB; message delay: 12s

[0060] Specifically, the message delay is the time from when the device receives the PNP SUBSCRIBE to when device A inserts it into the PNP data packet.

[0061] If device B has a high idle CPU and little shared space, it will be used to assist in data processing of the first level of processing tasks. If device C has a low idle CPU and a large available space, it will be used to store and process data of the second level of processing tasks.

[0062] Specifically, the equipment resource utilization rate is calculated by calculating the equipment utilization rate of the previous day once a day and using it as the allocation standard. The equipment records the busy hours (working hours) and idle hours (off-get off work hours) based on the user's usage habits or equipment configuration, which is conducive to maximizing the utilization of resources during off-peak usage (off-peak: such as some personnel taking leave, working overtime, and working in shifts).

[0063] Device B and device C respond to device A with a 200OK message, notifying them of the calculated resource availability.

[0064] After device A receives the responses from devices B and C, if the task that needs assistance requires high CPU but not high space storage, the least busy device B is selected as the device to assist in processing low-priority tasks. If the task that device A needs assistance requires high space storage, device C is selected as the assisting storage device.

[0065] Device A connects to device B via SSH, and sends the first-level task resources and operation instructions to device B, which is processed by device B. For the real-time interactive encrypted and decrypted data stream, after device A and device B establish a channel, device A updates the channel with the other party, inserts its channel into device B for forwarding, and device B processes part of the data encryption and decryption, while devices A and B exchange final data through the tunnel, reducing the CPU resources of device A's CPU processing encryption and decryption. After device B processes the task initiated by device A, it passes the processed data to device A via SSH.

[0066] For device A that needs to assist in the second-level task, remote assistance and coordination of resource storage are allowed. Similarly, a connection is established with device C through SSH, and the resource files and operation instructions that need to be stored are sent.

[0067] After receiving the storage assistance task from device A, device C stores the data. Device A can retrieve the data after the resources are free. At the same time, device C clears the stored data after device A retrieves it, thereby maintaining the availability of the storage space.

[0068] If an exception occurs in device B or device C, device A needs to be notified to terminate the assistance task connection, and if there are any stored resources, they need to be taken away together. At the same time, device A searches for a new assisting device through PNP SUBSCRIBE. If device A has previously recorded multiple available devices, it directly selects one from the device list and makes an assistance request (for example, if an exception occurs in device B, device A ends the assistance task with device B, takes away the relevant data, and establishes a new round of collaborative task processing with device C).

[0069] Based on the same inventive concept, the present invention also proposes a device for assisting in processing multi-device hierarchical resource tasks. The implementation of the device can refer to the implementation of the above method, and the repeated parts will not be repeated. Figure 2 As shown, the device 100 includes:

[0070] Level enable module 101: used by the administrator to enable the capability level of all devices to allow remote priority processing of tasks. All devices exchange cross capabilities through PNP SUBSCRIBE, and when assistance is needed, the device applies for assistance by broadcasting PNP SUBSCRIBE.

[0071] Assistance request module 102: used for, if the first device finds that its processing capacity has reached a threshold, the first device performs network multicast to seek idle resources of other devices for assistance tasks through PNP SUBSCRIBE, and the first device inserts current time information and the task level that needs to be coordinated in PNP SUBSCRIBE;

[0072] Request reply module 103: used for the other device to calculate the resource utilization of the device itself after receiving the PNP SUBSCRIBE message, and reply the calculated resource idle situation to the first device through 200OK;

[0073] Request processing module 104: used for the first device to allocate tasks requiring assistance according to the received resource availability after receiving responses from other devices, and to connect to the assisting device via SSH to send task resources and operation instructions to the corresponding device for processing.

[0074] The present invention proposes a device for assisting the processing of hierarchical resource tasks of multiple devices, which utilizes the idle capacity of resources between devices to share the tasks of multiple devices, thereby ensuring that the devices have no delays in tasks directly felt by high-priority users, the experience is smooth, and the user business is not affected; it solves the problems of multi-task priority and serious CPU resource consumption of back-end resources, and improves the efficiency of multi-task completion after task assistance; it solves the problem of small storage space of embedded devices, and improves file storage capacity by allocating temporary storage space by assisting devices; it can be used as a backup link when some modules that do not affect operation are abnormal, and after setting the tasks of the abnormal modules to a task level that allows remote assistance, this part of the business processing is transferred to the assisting device, which is equivalent to a disaster recovery backup solution.

[0075] Although the spirit and principle of the present invention have been described with reference to several specific embodiments, it should be understood that the present invention is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present invention is intended to cover various modifications and equivalent arrangements contained in the spirit and scope of the attached claims.

[0076] Regarding the limitation of the protection scope of the present invention, those skilled in the art should understand that, based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative work are still within the protection scope of the present invention.

Claims

1. A method for assisting processing of multi-device hierarchical resource tasks, characterized in that: The method includes: S01: The administrator enables the capability level of all devices to allow remote priority processing of tasks. All devices exchange cross-capabilities through PNP SUBSCRIBE, and when assistance is needed, the device broadcasts PNP SUBSCRIBE to apply for assistance. S02: If the first device finds that its processing capacity has reached the threshold, the first device performs network multicast through PNP SUBSCRIBE to seek idle resources of other devices to assist in the task, and the first device inserts the current time information and the task level that needs to be coordinated in the PNP SUBSCRIBE; S03: After receiving the PNP SUBSCRIBE message, the other device calculates its own resource utilization rate and replies the calculated resource idle situation to the first device via 200OK; S04: After receiving the responses from other devices, the first device allocates the tasks that need assistance according to the received resource availability, connects to the assisting device via SSH, and sends the task resources and operation instructions to the corresponding device for processing.

2. The method for assisting processing of multi-device hierarchical resource tasks according to claim 1, characterized in that: There are two levels of capability described in S01. The first level is data assistance processing tasks, which require high CPU and low storage tasks, allow remote assistance compression, and the main tasks are: log file compression, image file compression, and configuration file compression operations; the second level is data storage processing tasks, which require high storage and low CPU, allow storage, and the main tasks are: log storage and acting as a syslog server to store logs.

3. The method for assisting processing of multi-device hierarchical resource tasks according to claim 2, characterized in that: S04 The specific steps are: After the first device receives the response from other devices, if it determines that the task that needs assistance is a data assistance processing task, it selects a device with high CPU and low space storage as the device for assisting in processing low-priority tasks. The first device connects to the device for assisting in processing low-priority tasks through SSH and sends task resources and operation instructions to the device for assisting in processing low-priority tasks for processing. For the real-time interactive encrypted and decrypted data stream, after the first device and the device for assisting in processing low-priority tasks establish a channel, the first device updates the channel with the device for assisting in processing low-priority tasks, so that its channel is inserted into the device for assisting in processing low-priority tasks for forwarding. The device for assisting in processing low-priority tasks processes part of the data encryption and decryption, and the first device and the device for assisting in processing low-priority tasks exchange final data through the tunnel, thereby reducing the CPU resources of the first device's CPU for processing encryption and decryption. After the device for assisting in processing low-priority tasks completes processing of the task initiated by the first device, it transmits the processed data to the first device through SSH. If the task that requires assistance is a data storage processing task, a low-CPU, high-space storage device is selected as the assisting storage device, and a connection is established with the assisting storage device through SSH, and the resource files and operation instructions that need to be stored are sent. After receiving the storage assistance task from the first device, the assisting storage device stores the data. The first device can retrieve the data after the resources are idle. At the same time, the assisting storage device clears the stored data after the first device retrieves it.

4. The method for assisting processing of multi-device hierarchical resource tasks according to claim 3, characterized in that: If an exception occurs in the device assisting in processing low-priority tasks or the device assisting in storage, the first device will be notified to terminate the assisting task connection; if there are storage resources, the first device will retrieve the stored data, and at the same time, the first device will search for a new assisting device through PNP SUBSCRIBE. If the first device has previously stored multiple other available devices, then one is directly selected from the list of available devices for assistance request.

5. The method for assisting processing of multi-device hierarchical resource tasks according to claim 1, characterized in that: When assistance processing is needed as described in S01, the device applies for assistance device by broadcasting PNP SUBSCRIBE. When other devices receive the assistance task request, based on their own current processing capabilities, they can only inform the level of the task that can only be assisted; if their own resources are saturated, when they receive the PNP SUBSCRIBE assistance task request, they directly discard the task request.

6. The method for assisting processing of multi-device hierarchical resource tasks according to claim 1, characterized in that: The resource utilization rate of the device itself described in S03 is obtained by the device calculating the device utilization rate of the previous day once a day; at the same time, the device records busy hours and idle hours based on the user's usage habits or device configuration to maximize resource utilization during off-peak usage.

7. A device for assisting processing of multi-device hierarchical resource tasks, characterized in that: The device includes: Level enable module: used by administrators to enable the capability level of all devices to allow remote priority processing of tasks. All devices exchange cross-capabilities through PNP SUBSCRIBE, and when assistance is needed, the device broadcasts PNP SUBSCRIBE to apply for assistance. Assistance request module: used for, if the first device finds that its processing capacity has reached the threshold, the first device performs network multicast through PNP SUBSCRIBE to seek idle resources of other devices for assistance tasks, and at the same time, the first device inserts the current time information and the task level that needs to be coordinated in PNP SUBSCRIBE; Request reply module: used for other devices to calculate their own resource utilization after receiving the PNP SUBSCRIBE message, and reply the calculated resource idle situation to the first device through 200OK; Request processing module: used for the first device to allocate tasks that require assistance based on the resource availability after receiving responses from other devices, and to connect to the assisting device through SSH to send task resources and operation instructions to the corresponding device for processing.

8. The device for assisting processing of multi-device hierarchical resource tasks according to claim 7, characterized in that: There are two levels of capability described in the level-enabling module. The first level is data assisting processing tasks, which require high CPU and low storage tasks, allow remote assisting compression, and the main tasks are: log file compression, image file compression, and configuration file compression operations; the second level is data storage processing tasks, which require high storage and low CPU, allow storage, and the main tasks are: log storage, and acting as a syslog server to store logs.

9. The device for assisting processing of multi-device hierarchical resource tasks according to claim 8, characterized in that: The specific steps of the request processing module are: After the first device receives the response from other devices, if it determines that the task that needs assistance is a data assistance processing task, it selects a device with high CPU and low space storage as the device for assisting in processing low-priority tasks. The first device connects to the device for assisting in processing low-priority tasks through SSH and sends task resources and operation instructions to the device for assisting in processing low-priority tasks for processing. For the real-time interactive encrypted and decrypted data stream, after the first device and the device for assisting in processing low-priority tasks establish a channel, the first device updates the channel with the device for assisting in processing low-priority tasks, so that its channel is inserted into the device for assisting in processing low-priority tasks for forwarding. The device for assisting in processing low-priority tasks processes part of the data encryption and decryption, and the first device and the device for assisting in processing low-priority tasks exchange final data through the tunnel, thereby reducing the CPU resources of the first device's CPU for processing encryption and decryption. After the device for assisting in processing low-priority tasks completes processing of the task initiated by the first device, it transmits the processed data to the first device through SSH. If the task that requires assistance is a data storage processing task, a low-CPU, high-space storage device is selected as the assisting storage device, and a connection is established with the assisting storage device through SSH, and the resource files and operation instructions that need to be stored are sent. After receiving the storage assistance task from the first device, the assisting storage device stores the data. The first device can retrieve the data after the resources are idle. At the same time, the assisting storage device clears the stored data after the first device retrieves it.

10. The device for assisting processing of multi-device hierarchical resource tasks according to claim 9, characterized in that: If an exception occurs in the device assisting in processing low-priority tasks or the device assisting in storage, the first device will be notified to terminate the assisting task connection; if there are storage resources, the first device will retrieve the stored data, and at the same time, the first device will search for a new assisting device through PNP SUBSCRIBE. If the first device has previously stored multiple other available devices, then one is directly selected from the list of available devices for assistance request.

11. The device for assisting processing of multi-device hierarchical resource tasks according to claim 7, characterized in that: As described in the level-enabling module, when assistance is needed, the device applies for assistance by broadcasting PNP SUBSCRIBE. When other devices receive the assistance task request, based on their current processing capabilities, they can only inform the level of the task that can only be assisted; if their own resources are saturated, when they receive the PNP SUBSCRIBE assistance task request, they directly discard the task request.

12. The device for assisting processing of multi-device hierarchical resource tasks according to claim 7, characterized in that: The resource utilization of the device itself described in the request reply module is obtained by the device calculating the device utilization of the previous day once a day; at the same time, the device records busy and idle times based on the user's usage habits or device configuration to maximize resource utilization during off-peak usage.