Detection method and system for keep-alive between management center and trusted equipment, equipment and medium
By setting resource detection threads and heartbeat threads between the management center and trusted devices, real-time monitoring of resource usage and online status of terminal devices, the problem of inflexible detection and inflexible alarm mechanisms in the prior art is solved, and the stability and reliability of the system are improved.
Patent Information
- Application Number
- CN202510141620.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-05-27
AI Technical Summary
In the prior art, terminal equipment maintenance detection methods are difficult to comprehensively monitor key performance indicators in real time, and lack a flexible and efficient alarm mechanism, which affects system stability and reliability.
By realizing the interaction between resource detection threads and heartbeat threads between the management center and trusted devices, obtaining resource information and online status of the terminal device, determining whether the resource exceeds the limit, and generating alarm information and adjusting strategies when the limit exceeds the limit.
Real-time keep-alive status monitoring between the management center and trusted equipment is realized, the stability and reliability of the system are improved, and the normal operation of the terminal equipment is ensured.
Smart Images

Figure CN120046159A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of automatic detection, and relates to a detection method, system, device and medium for keeping alive between a management center and a trusted device. Background Art
[0002] A trusted and complete system usually consists of the following core components: a trusted bottom layer, a trusted agent, and a management platform. In this system architecture, various terminal devices are registered on the trusted management platform, which is uniformly managed by the platform. Each device is configured with a trusted protection policy and a trusted enhancement policy to ensure the security and integrity of various operations. Among them, the trusted bottom layer is responsible for the hardware and software infrastructure of the device to ensure that the technologies used meet certain security standards; the trusted agent acts as a bridge between the terminal device and the management platform, and is responsible for data collection, processing and transmission; the management platform is the core of the system, and undertakes functions such as monitoring the device status, summarizing and analyzing data, and executing policies. In this context, it is particularly important to ensure effective communication between the management center and trusted devices in various countries.
[0003] The existing detection methods for keeping alive of terminal devices are difficult to comprehensively and real-time monitor all key performance indicators, lack a flexible and efficient alarm mechanism, or are unable to take effective response measures in a timely manner when a failure occurs, thus affecting the stability and reliability of the entire system. Summary of the Invention
[0004] The purpose of this application is to overcome the above-mentioned disadvantages of the prior art, and provides a detection method, system, device and medium for keeping alive between a management center and a trusted device, which can improve the stability and reliability between the management platform and the terminal device.
[0005] To achieve the above object, in the first aspect, this application discloses a detection method for keeping alive between a management center and a trusted device, including:
[0006] Start a resource detection thread, obtain the resource information of the terminal device through the trusted agent, and send the resource information of the terminal device to the management platform;
[0007] Judge whether the resource information of the terminal device exceeds the limit through the management platform;
[0008] When the resource information of the terminal device does not exceed the limit, the management platform confirms that the state of keeping alive with the terminal device is normal; otherwise, the management platform generates an alarm message and sends the alarm message to the terminal device.
[0009] Optionally, the step of judging whether the resource information of the terminal device exceeds the limit through the management platform includes:
[0010] The management platform determines the usage status of any resource in the resource information; wherein, the resource information of the terminal device includes the CPU information, memory information, and storage information of the terminal device;
[0011] When the resource information of the terminal device is not exceeded, the management platform confirms that the keep-alive status with the terminal device is normal, including:
[0012] When any resource in the resource information does not exceed its corresponding upper limit, the management platform confirms that the keep-alive status with the terminal device is normal.
[0013] Optionally, the method further includes:
[0014] The terminal device starts a heartbeat thread and periodically sends a heartbeat packet to the management platform through a trusted proxy;
[0015] The management platform receives the heartbeat packet;
[0016] Detect the online status of the terminal device based on the heartbeat packet, and / or, the management platform determines the online operation status of the terminal device based on the heartbeat status information in the heartbeat packet.
[0017] Optionally, the method further includes:
[0018] When starting a resource detection thread and in the case of the first startup of the terminal device, the trusted proxy obtains the configuration information, hardware parameters, and software version information of the terminal device;
[0019] The trusted proxy sends the configuration information, hardware parameters, and software version information of the terminal device to the management platform for filing.
[0020] Optionally, the method further includes:
[0021] During the process of monitoring the keep-alive status between the management platform and the terminal device, if the management platform discovers an abnormal situation, it determines an adjustment strategy according to the preset priority of the terminal device;
[0022] The management platform sends the adjustment strategy to the terminal device;
[0023] The terminal device executes the adjustment strategy;
[0024] Wherein, the adjustment strategy includes any one or more of restarting the terminal device, notifying the terminal device to perform a failover, and switching the operating state of the terminal device.
[0025] Optionally, when any resource in the resource information does not exceed its corresponding upper limit, the management platform confirms that the keep-alive with the terminal device is normal, including:
[0026] Adjust the usage threshold of each resource in the resource information according to the application scenario information and historical data of the terminal device;
[0027] When any resource in the resource information does not exceed the corresponding usage threshold, the management platform confirms that the keep-alive with the terminal device is normal.
[0028] In a second aspect, the present application also discloses a detection system for keep-alive between a management center and a trusted device, including:
[0029] An acquisition module, configured to start a resource detection thread, obtain the resource information of the terminal device through a trusted proxy, and send the resource information of the terminal device to the management platform;
[0030] A judgment module, configured to judge whether the resource information of the terminal device exceeds the limit through the management platform;
[0031] A processing module, configured to when the resource information of the terminal device does not exceed the limit, the management platform confirms that the keep-alive with the terminal device is normal; otherwise, the management platform generates an alarm message and sends the alarm message to the terminal device.
[0032] In a third aspect, the present application discloses a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the detection method for keep-alive between the management center and the trusted device are implemented.
[0033] In a fourth aspect, the present application discloses a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the detection method for keep-alive between the management center and the trusted device are implemented.
[0034] The present application has the following beneficial effects:
[0035] In the specific operation of the detection method, system, device and medium for keep-alive between the management center and the trusted device of the present application, it is judged whether the resource information of the terminal device exceeds the limit through the management platform. When the resource information of the terminal device does not exceed the limit, it is considered that the keep-alive between the management center and the trusted device is normal; otherwise, an alarm message is generated to judge whether the terminal device can operate normally, ensuring the keep-alive mechanism of the terminal device and improving the stability and reliability between the management platform and the terminal device. Description of the Drawings
[0036] The accompanying drawings of the specification, which form a part of this application, are used to provide a further understanding of this application. The schematic embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation to this application. In the drawings:
[0037] Figure 1 It is one of the schematic flowcharts of a detection method for keep-alive between a management center and a trusted device in an embodiment of this application;
[0038] Figure 2 It is another schematic flowchart of a detection method for keep-alive between a management center and a trusted device in an embodiment of this application. Detailed implementation manners
[0039] Next, the technical solutions in the embodiments of this application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without making creative efforts shall fall within the scope of protection of this application.
[0040] In the description of this application, it should be understood that the terms "including" and "comprising" indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0041] It should also be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in the specification of this application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.
[0042] It should be further understood that the term " / and" used in the specification of this application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations. For example, A and / or B can represent three cases: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this application generally represents an "or" relationship between the preceding and following related objects.
[0043] It should be understood that although terms such as first, second, and third may be used in the embodiments of the present application to describe preset ranges, etc., these preset ranges should not be limited to these terms. These terms are only used to distinguish the preset ranges from each other. For example, without departing from the scope of the embodiments of the present application, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.
[0044] Depending on the context, the word "if" as used herein can be interpreted as "when" or "while" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "if determined" or "if detected (stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)".
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Usually, the components of the present application described and shown in the accompanying drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but merely represents selected embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the scope of protection of the present application.
[0046] Schematic diagrams of various structures according to the disclosed embodiments of the present application are shown in the drawings. These figures are not drawn to scale, where for the purpose of clear expression, some details are enlarged and some details may be omitted. The shapes of various regions and layers shown in the figures and their relative sizes and positional relationships are merely exemplary, and may actually deviate due to manufacturing tolerances or technical limitations, and those skilled in the art can design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0047] As Figure 1 shown, a detection method for keeping alive between a management center and a trusted device in the embodiments of the present application specifically includes the following steps:
[0048] Step 101, start a resource detection thread, obtain resource information of a terminal device through a trusted proxy, and send the resource information of the terminal device to a management platform;
[0049] Step 102: Determine whether the resource information of the terminal device exceeds the limit through the management platform;
[0050] Step 103: When the resource information of the terminal device does not exceed the limit, the management platform confirms that the keep-alive status with the terminal device is normal; otherwise, the management platform generates an alarm message and sends the alarm message to the terminal device.
[0051] The embodiments of the present application can be applied to online inspection of terminal devices, resource detection of terminal devices, system log analysis, etc., to ensure the keep-alive mechanism of terminal devices. The application scenarios of the embodiments of the present application are only exemplified here and are not limited.
[0052] Specifically, the keep-alive mechanism includes:
[0053] 1) The network status of the device, which is divided into online and offline; the network delay and packet loss rate can be detected, and an alarm notification can be sent in time if the network quality does not meet the standard. Detection of the resources of the terminal device: The resources of the terminal device include CPU, memory, and storage information. In management, the dynamic threshold of the resources of the terminal can be set through the page. When the resource usage exceeds the preset threshold, an alarm can be triggered to prompt the administrator of the running status of the terminal device.
[0054] 2) System log analysis: Collect and analyze the system logs of the terminal device, and detect abnormal situations of the terminal device through artificial intelligence big data to detect abnormalities or errors, so as to ensure the running status of the terminal device, thereby achieving the keep-alive mechanism between the terminal device and the management terminal. Regular automatic scanning: Add a timing task function to automatically perform a complete health check, including resource usage, network status, system logs, etc.
[0055] 3) Comprehensive report generation: Regularly generate a comprehensive operation status report and automatically send it to the administrator to assist in decision-making and improving management strategies.
[0056] As Figure 2 shown, the detection method for keep-alive between the trusted management center and the trusted device described in the present application includes the following steps:
[0057] 1) When the terminal device is started for the first time, collect the information of the terminal device and send the information of the terminal device to the management center.
[0058] 2) Start the heartbeat thread, and the trusted agent regularly sends heartbeat packets to the management platform.
[0059] 3) Start the resource detection thread, and the trusted agent sends the CPU, memory, and storage information of the terminal device to the management platform.
[0060] 4) The management platform receives the heartbeat packet to update the interface and regularly checks whether it is online.
[0061] 5) The management platform receives the CPU, memory, and storage information of the terminal device, and determines whether the CPU, memory, and storage information of the terminal device is abnormal. When the CPU, memory, and storage information of the terminal device is abnormal, an alarm message is generated.
[0062] Among them, when the CPU is too high, the storage occupancy is too high, or the space is insufficient, an alarm message is generated. Multiple intelligent solutions are adopted, and multi-channel alarm notifications are sent: Consider sending alarm messages to the administrator through different channels (such as email, SMS, APP push, etc.) to ensure that important notifications can be received in a timely manner. Automatic response mechanism: After receiving a specific type of alarm, some response measures can be automatically triggered, such as restarting the service, releasing some resources, or switching to a standby device to ensure the normal operation of the terminal device.
[0063] 6) Store the alarm message in the database.
[0064] Optionally, the management platform determines whether the resource information of the terminal device is over-limit, including:
[0065] The management platform determines the usage of any one of the resources according to the resource information; among them, the resource information of the terminal device includes the CPU information, memory information, and storage information of the terminal device;
[0066] When the resource information of the terminal device is not over-limit, the management platform confirms that the keep-alive state with the terminal device is normal, including:
[0067] When any one of the resources does not exceed its corresponding upper limit, the management platform confirms that the keep-alive state with the terminal device is normal.
[0068] Optionally, the method further includes:
[0069] The terminal device starts a heartbeat thread and regularly sends a heartbeat packet to the management platform through a trusted proxy;
[0070] The management platform receives the heartbeat packet;
[0071] Detect the online status of the terminal device based on the heartbeat packet, and / or the management platform determines the online operation status of the terminal device based on the heartbeat status information in the heartbeat packet.
[0072] In some embodiments, starting a heartbeat thread is a key measure. The trusted agent periodically sends heartbeat packets to the management platform. The heartbeat packet contains the online status information of the device. The management platform receives these heartbeat packets in real time and uses the status information therein to detect whether the terminal device is in a good online state. When an abnormality appears in the heartbeat information, the system will take corresponding countermeasures.
[0073] Optionally, the method further includes:
[0074] When starting a resource detection thread and in the case where the terminal device is started for the first time, the trusted agent obtains the configuration information, hardware parameters, and software version information of the terminal device;
[0075] The trusted agent sends the configuration information, hardware parameters, and software version information of the terminal device to the management platform for filing.
[0076] Specifically, when the terminal device is started for the first time, the trusted agent automatically collects the configuration information, hardware parameters, and software version information of the device and sends this information to the management platform for filing. This lays a foundation for subsequent management and monitoring.
[0077] Optionally, the method further includes:
[0078] During the process of monitoring the keep-alive state between the management platform and the terminal device, if the management platform discovers an abnormal situation, it determines an adjustment strategy according to the preset priority of the terminal device;
[0079] The management platform sends the adjustment strategy to the terminal device;
[0080] The terminal device executes the adjustment strategy;
[0081] Wherein, the adjustment strategy includes any one or more of restarting the terminal device, notifying the terminal device to perform a failover, and switching the operating state of the terminal device.
[0082] Optionally, when any one of the resource information does not exceed its corresponding upper limit, the management platform confirms that the keep-alive with the terminal device is normal, including:
[0083] According to the application scenario information and historical data of the terminal device, adjust the usage threshold of each resource in the resource information;
[0084] When any one of the resource information does not exceed the corresponding usage threshold, the management platform confirms that the keep-alive with the terminal device is normal.
[0085] In some other embodiments, during the monitoring process, if the management platform detects an abnormal situation (such as the resource utilization rate exceeding the limit or the device not responding), it will formulate corresponding adjustment strategies according to the preset priorities. For example, it may restart the device, notify for failover, or switch the operating mode, etc. These adjustment strategies can be sent to the terminal device immediately by the management platform to ensure a quick response and reduce the downtime caused by device failures.
[0086] Furthermore, to manage resource usage more flexibly, the management platform can also dynamically adjust the usage threshold of each resource according to the application scenario and historical data of the terminal device. When the usage of a certain resource does not exceed the dynamically adjusted threshold, the normal keep-alive state with the terminal device is still maintained. This mechanism enhances the adaptability of the system, enabling it to actively adjust the operation strategy according to environmental changes.
[0087] In a specific embodiment of the present application, after the terminal device goes online, it starts a resource detection thread, obtains the current resource information, and sends it to the management platform. It starts a heartbeat thread and sends a heartbeat packet to the management platform every set time to confirm the online state of the device. After receiving the resource information of the component, the management platform compares it with the set usage threshold. If the utilization rate of all resources is normal, the keep-alive state is confirmed to be normal. If there is an abnormality, an alarm message is generated. If an abnormality is found, the management platform immediately takes adjustment measures according to the preset priority classification and issues the instruction to the terminal device to ensure the timeliness and effectiveness of the adjustment method. According to the operation feedback and actual usage situation, the usage threshold of the resource is dynamically modified to optimize the device management strategy.
[0088] The embodiments of the present application realize the comprehensive monitoring and optimized management of terminal devices by comprehensively utilizing resource information, heartbeat detection, and an intelligent emergency response mechanism, improving the stability and security of the devices. This mechanism is not only applicable to the management of a single device but also provides a feasible solution for the device management in a large-scale IoT environment.
[0089] Embodiment 2
[0090] The present application discloses a keep-alive detection system between a management center and a trusted device, including:
[0091] An acquisition module, configured to start a resource detection thread, obtain the resource information of the terminal device through a trusted proxy, and send the resource information of the terminal device to the management platform;
[0092] A judgment module, configured to judge whether the resource information of the terminal device exceeds the limit through the management platform;
[0093] A processing module, configured to, when the resource information of the terminal device does not exceed the limit, the management platform confirms that the keep-alive status with the terminal device is normal; otherwise, the management platform generates an alarm message and sends the alarm message to the terminal device.
[0094] Optionally, the judging module includes:
[0095] A first judging unit, configured to the management platform judges the usage situation of any resource in the resource information according to the resource information; wherein, the resource information of the terminal device includes the CPU information, memory information and storage information of the terminal device;
[0096] The processing module includes:
[0097] A second judging unit, configured to when any resource in the resource information does not exceed its corresponding upper limit, the management platform confirms that the keep-alive status with the terminal device is normal.
[0098] Optionally, the method further includes:
[0099] The terminal device starts a heartbeat thread and periodically sends a heartbeat packet to the management platform through a trusted proxy;
[0100] The management platform receives the heartbeat packet;
[0101] Based on the heartbeat packet, detect the online status of the terminal device, and / or, the management platform determines the online running status of the terminal device based on the heartbeat status information in the heartbeat packet.
[0102] Optionally, the keep-alive detection system between the management center and the trusted device is further configured to:
[0103] When starting a resource detection thread and in the case of the first startup of the terminal device, the trusted proxy obtains the configuration information, hardware parameters and software version information of the terminal device;
[0104] The trusted proxy sends the configuration information, hardware parameters and software version information of the terminal device to the management platform for filing together.
[0105] Optionally, the keep-alive detection system between the management center and the trusted device is further configured to:
[0106] During the process of monitoring the keep-alive status between the management platform and the terminal device, if the management platform discovers an abnormal situation, determine an adjustment strategy according to the preset priority of the terminal device;
[0107] The management platform sends the adjustment strategy to the terminal device;
[0108] The terminal device executes the adjustment policy;
[0109] Wherein, the adjustment policy includes any one or more of restarting the terminal device, notifying the terminal device to perform a failover, and switching the operating state of the terminal device.
[0110] Optionally, the second determination unit is configured to:
[0111] Adjust the usage threshold of each resource in the resource information according to the application scenario information and historical data of the terminal device;
[0112] When any resource in the resource information does not exceed the corresponding usage threshold, the management platform confirms that the keep-alive state with the terminal device is normal.
[0113] In the embodiments of the present application, the division of modules is illustrative, only a logical function division. In actual implementation, there may be other division methods. In addition, in each embodiment of the present application, each functional module may be integrated in one processor, or may exist separately physically, or two or more modules may be integrated in one module. The above integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0114] Embodiment III
[0115] An embodiment of the present application further includes a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the detection method for keeping the management center and the trusted device alive are implemented. For example, it includes: starting a resource detection thread, obtaining resource information of a terminal device through a trusted proxy, and sending the resource information of the terminal device to a management platform; judging by the management platform whether the resource information of the terminal device exceeds the limit; when the resource information of the terminal device does not exceed the limit, it is considered that the keep-alive between the management center and the trusted device is normal, otherwise, an alarm message is generated; storing the alarm message in a database; starting a heartbeat thread, and sending the heartbeat thread to the management platform through the trusted proxy; receiving the heartbeat packet by the management platform, and detecting whether the terminal device is online according to the heartbeat packet. Among them, the memory may include a memory, such as a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk memory, etc.; the processor, the network interface, and the memory are interconnected through an internal bus, and the internal bus may be an Industry Standard Architecture bus, a Peripheral Component Interconnect standard bus, an Extended Industry Standard Architecture bus, etc., and the bus may be divided into an address bus, a data bus, a control bus, etc. The memory is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include a memory and a non-volatile memory, and provide instructions and data to the processor.
[0116] Embodiment 4
[0117] An embodiment of the present application further discloses a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the detection method for keeping the management center and the trusted device alive are implemented. For example, it includes: starting a resource detection thread, obtaining resource information of a terminal device through a trusted proxy, and sending the resource information of the terminal device to a management platform; judging by the management platform whether the resource information of the terminal device exceeds the limit; when the resource information of the terminal device does not exceed the limit, it is considered that the keep-alive between the management center and the trusted device is normal, otherwise, an alarm message is generated; storing the alarm message in a database; starting a heartbeat thread, and sending the heartbeat thread to the management platform through the trusted proxy; receiving the heartbeat packet by the management platform, and detecting whether the terminal device is online according to the heartbeat packet. Specifically, the computer-readable storage medium includes, but is not limited to, for example, a volatile memory and / or a non-volatile memory. The volatile memory may include a random access memory (RAM) and / or a cache memory, etc. The non-volatile memory may include a read-only memory (ROM), a hard disk, a flash memory, an optical disc, a magnetic disk, etc.
[0118] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) that contain computer-usable program code.
[0119] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the flows and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or blocks.
[0120] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in Figure 1 one or more of the flows Figure 1 or blocks.
[0121] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or blocks.
[0122] After considering the specification and the disclosure of the application, those skilled in the art will readily think of other embodiments of the present application. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include common general knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and the embodiments are only regarded as exemplary, and the true scope and spirit of the present application are pointed out by the following claims.
[0123] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.
[0124] As described above, the above are only the preferred embodiments of the present application, and do not impose any restrictions on the present application. Any simple modifications, changes, and equivalent structural changes made to the above embodiments according to the technical essence of the present application still fall within the protection scope of the technical solution of the present application.
Claims
1. A method for detecting keep-alive between a management center and a trusted device, characterized in that: include: Start a resource detection thread, obtain resource information of the terminal device through a trusted agent, and send the resource information of the terminal device to the management platform; Determining, by the management platform, whether the resource information of the terminal device exceeds the limit; When the resource information of the terminal device does not exceed the limit, the management platform confirms that the connection with the terminal device is in a normal keep-alive state; otherwise, the management platform generates an alarm message and sends the alarm message to the terminal device.
2. The method for detecting keep-alive between a management center and a trusted device according to claim 1, characterized in that: The determining, by the management platform, whether the resource information of the terminal device exceeds the limit includes: The management platform determines the usage of any resource in the resource information according to the resource information; wherein the resource information of the terminal device includes CPU information, memory information and storage information of the terminal device; When the resource information of the terminal device does not exceed the limit, the management platform confirms that the relationship with the terminal device is in a normal state of keeping alive, wherein when any resource in the resource information does not exceed its corresponding upper limit, the management platform confirms that the relationship with the terminal device is in a normal state of keeping alive.
3. The method for detecting keep-alive between a management center and a trusted device according to claim 1, characterized in that: Also includes: The terminal device starts a heartbeat thread and periodically sends a heartbeat packet to the management platform through a trusted agent; The management platform receives the heartbeat packet; The online status of the terminal device is detected based on the heartbeat packet, and / or the management platform determines the online operation status of the terminal device based on the heartbeat status information in the heartbeat packet.
4. The method for detecting keep-alive between a management center and a trusted device according to claim 1, characterized in that: Also includes: When starting the resource detection thread and when the terminal device is started for the first time, the trusted agent obtains the configuration information, hardware parameters and software version information of the terminal device; The trusted agent sends the configuration information, hardware parameters and software version information of the terminal device to the management platform for filing.
5. The method for detecting keep-alive between a management center and a trusted device according to claim 1, characterized in that: Also includes: In the process of monitoring the keep-alive status between the management platform and the terminal device, if the management platform finds an abnormal situation, an adjustment strategy is determined according to a preset priority of the terminal device; The management platform sends the adjustment policy to the terminal device; The terminal device executes the adjustment strategy; The adjustment strategy includes any one or more of restarting the terminal device, notifying the terminal device to perform a failover, and switching the operating state of the terminal device.
6. The method for detecting keep-alive between a management center and a trusted device according to claim 2, characterized in that: When any resource in the resource information does not exceed its corresponding upper limit, the management platform confirms that the connection with the terminal device is in a normal keep-alive state, including: Adjusting the usage threshold of each resource in the resource information according to the application scenario information and historical data of the terminal device; When any resource in the resource information does not exceed the corresponding usage threshold, the management platform confirms that the keep-alive state between the management platform and the terminal device is normal.
7. A detection system for keeping alive between a management center and a trusted device, characterized in that: include: An acquisition module is used to start a resource detection thread, obtain resource information of a terminal device through a trusted agent, and send the resource information of the terminal device to a management platform; A judgment module, used to judge whether the resource information of the terminal device exceeds the limit through the management platform; The processing module is used to confirm that the management platform is in a normal keep-alive state with the terminal device when the resource information of the terminal device does not exceed the limit; otherwise, the management platform generates an alarm message and sends the alarm message to the terminal device.
8. The detection system for keeping alive between the management center and the trusted device according to claim 7, characterized in that: The determining, by the management platform, whether the resource information of the terminal device exceeds the limit includes: The management platform determines the usage of any resource in the resource information according to the resource information; wherein the resource information of the terminal device includes CPU information, memory information and storage information of the terminal device; When the resource information of the terminal device does not exceed the limit, the management platform confirms that the relationship with the terminal device is in a normal state of keeping alive, wherein when any resource in the resource information does not exceed its corresponding upper limit, the management platform confirms that the relationship with the terminal device is in a normal state of keeping alive.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for detecting keep-alive between the management center and the trusted device as described in any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the detection method for keeping alive between a management center and a trusted device as described in any one of claims 1 to 6 are implemented.