Equipment monitoring method, storage medium, electronic device and computer program product

By establishing a connection between the master and slave devices through distributed technology, sending monitoring policy messages and receiving monitoring data under timed or preset conditions, the problem of users being unable to conveniently manage multiple terminal products is solved, enabling real-time monitoring and timely processing, and improving management convenience and system efficiency.

CN121240123APending Publication Date: 2025-12-30ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410849870.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2025-12-30

AI Technical Summary

Technical Problem

In existing technologies, when a user owns multiple terminal products, it is not convenient to manage the usage of each terminal product, nor is it possible to achieve real-time monitoring and timely processing of operations on the devices.

Method used

Employing distributed technology, the master device establishes a connection with the slave device. By sending monitoring policy messages and receiving monitoring data under timed or preset conditions, real-time monitoring and management of the slave device can be achieved, including setting different policy levels to facilitate the management of terminal product usage.

Benefits of technology

By using distributed technology, system costs are reduced, real-time processing capabilities are enhanced, the usage status of devices can be monitored in a timely manner, economic losses are avoided, and the convenience of managing multiple terminal products for users is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121240123A_ABST
    Figure CN121240123A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a device monitoring method, a storage medium, an electronic device and a computer program product, and the method is applied to a master device and comprises the following steps: establishing connection with one or more slave devices as a distributed data center; sending a monitoring strategy message to the slave device; monitoring data sent by the slave device at regular time according to the monitoring strategy message or sent when a preset condition is detected are received, and the monitoring data comprise the use condition of the slave device, so that the problem that in the related technology, when one user owns a plurality of terminal products, the user cannot use the terminal products can be solved; and the problem of how to conveniently manage the use condition of each terminal product is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and more specifically, to a device monitoring method, storage medium, electronic device, and computer program product. Background Technology

[0002] With the development of terminal technology, more and more smart electronic products are emerging in the market. Terminal manufacturers are committed to creating interconnectivity among various terminal devices, so as to leverage the advantages of each device to better serve users. When a user owns multiple terminal products, how to conveniently manage the usage of each device becomes an urgent problem to be solved. Summary of the Invention

[0003] This invention provides a device monitoring method, storage medium, electronic device, and computer program product to address the problem of how to conveniently manage the usage of each terminal product when a user owns multiple terminal products, as addressed in at least related technologies.

[0004] According to an embodiment of the present invention, a device monitoring method is provided, applied to a main device, the method comprising:

[0005] As a distributed data center, it establishes connections with slave devices, wherein the slave devices include one or more slave devices;

[0006] Send monitoring policy messages to the slave device;

[0007] The system receives monitoring data sent periodically by the slave device according to the monitoring policy message or when a preset condition is detected, wherein the monitoring data includes the usage status of the slave device.

[0008] According to another embodiment of the present invention, a device monitoring method is provided, applied to a slave device, the method comprising:

[0009] Establish a connection with a master device in the distributed data, wherein the master device includes one or more master devices;

[0010] Receive monitoring policy messages sent by the master device;

[0011] According to the monitoring policy message, monitoring data is sent to the master device, wherein the monitoring data includes the usage status of the slave device.

[0012] According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0013] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0014] According to yet another embodiment of the present invention, a computer program product is also provided, comprising a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0015] In this embodiment of the invention, a master device acts as a distributed data center and establishes a connection with slave devices, wherein the slave devices include one or more slave devices; a monitoring policy message is sent to the slave devices; and monitoring data is received from the slave devices according to the monitoring policy message at regular intervals or when a preset condition is detected. The monitoring data includes the usage status of the slave devices. This invention can solve the problem in related technologies of how to conveniently manage the usage status of each terminal product when a user has multiple terminal products. Attached Figure Description

[0016] Figure 1 This is a hardware structure block diagram of a mobile terminal for a device monitoring method according to an embodiment of the present invention.

[0017] Figure 2 This is a flowchart of the device monitoring method on the main device side according to an embodiment of the present invention;

[0018] Figure 3 This is a schematic diagram of a distributed network for a device monitoring method according to an embodiment of the present invention;

[0019] Figure 4 This is a schematic diagram illustrating the use of a Wi-Fi connection in a device monitoring method according to an embodiment of the present invention;

[0020] Figure 5 This is a schematic diagram of task allocation for a device monitoring method according to an embodiment of the present invention;

[0021] Figure 6 This is a flowchart illustrating the sending of monitoring policy messages to slave devices according to an embodiment of the present invention;

[0022] Figure 7 This is a flowchart illustrating the sending of monitoring data from a device according to an embodiment of the present invention;

[0023] Figure 8 This is a schematic diagram of the interface of the device monitoring method according to an embodiment of the present invention;

[0024] Figure 9 This is a flowchart of a device monitoring method according to an embodiment of the present invention from the device side. Detailed Implementation

[0025] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.

[0026] It should be noted that the terms "target," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0027] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for the device monitoring method according to an embodiment of the present invention. For example... Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0028] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the device monitoring method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0029] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0030] To monitor multiple devices, related technologies typically upload all monitoring data from the devices to a cloud server. Users then log into the cloud server from their monitoring devices to download the data and obtain information about the device's usage. However, because uploading all operational information from the monitored devices results in a large data volume and time required for both uploading and downloading, real-time monitoring of the devices becomes impossible, and consequently, timely responses to operations performed on the monitored devices cannot be made.

[0031] In one scenario, a user distributes multiple terminal devices to other users for learning. However, these devices can also be used for gaming, requiring the user to understand and monitor the usage of these multiple devices. The aforementioned technologies upload the usage data of multiple devices to a cloud server, where users then log in to view this information. However, this approach suffers from limitations in real-time monitoring of the monitored devices and timely processing of operations on those devices, making it inconvenient for users to manage the usage of multiple terminal products.

[0032] Figure 2 This is a flowchart of the device monitoring method according to an embodiment of the present invention on the main device side, as shown below. Figure 2 As shown, this method is applied to the master device and includes:

[0033] Step S202: Establish a connection with the slave devices as a distributed data center, wherein the slave devices include one or more slave devices;

[0034] In this embodiment, the master device can establish a connection with one or more slave devices. Figure 3 This is a schematic diagram of a distributed network for a device monitoring method according to an embodiment of the present invention, as shown below. Figure 3 As shown, the distributed network includes one or more master devices ( Figure 3 The diagram shows two master devices, namely master device 1 and master device 2, and one or more slave devices. Figure 3The diagram shows four slave devices (slave device 1, slave device 2, slave device 3, and slave device 4). Master device 1 is connected to slave devices 1, 2, and 3, and master device 2 is connected to slave devices 2, 3, and 4. In this embodiment, the master device can be referred to as a monitoring device, and the slave devices can be referred to as monitored devices. Master device 1 and master device 2 may include a control unit, a storage unit, and a display unit.

[0035] In this embodiment, the connection between the master device and the slave device can be one-to-one, one-to-many, many-to-one, or many-to-many. When a new master device joins the monitoring network, it can join through distributed technology, or the master device can hand over monitoring rights to the newly joined master device, and the original master device can exit the monitoring program, thus realizing the decentralization of distributed technology.

[0036] In one embodiment, the slave device includes a slave device connected to other master devices that serve as a distributed data center.

[0037] For example, through distributed technology, slave device 3 can connect to master device 1 and master device 2 at the same time, so that slave devices can be monitored by multiple master devices at the same time, providing users with a variety of flexible monitoring options.

[0038] The master device and slave device use distributed technology to pair and connect with one or more slave devices. For different slave devices, different socket channels are created to enable different slave devices to communicate with the master device. Pairing and connection can be carried out using mobile hotspot Wi-Fi or Bluetooth. Figure 4 This is a schematic diagram illustrating the use of a Wi-Fi connection in a device monitoring method according to an embodiment of the present invention. The master device can act as the transmitter, and the slave device as the receiver, such as... Figure 4 As shown, the sending end sends data, which arrives at the sending end's Wi-Fi driver via a distributed bus. The data is then wirelessly transmitted to the receiving end's Wi-Fi driver, and finally arrives at the receiving end via the distributed bus, where it is received. Similarly, the receiving end can use the same process to send data back to the sending end, thus enabling information exchange between the sending and receiving ends via the distributed bus. Through this information exchange, functions such as file transfer and screen mirroring can be implemented between the sending and receiving ends.

[0039] Figure 5 This is a task allocation diagram of the device monitoring method according to an embodiment of the present invention, such as... Figure 5As shown, the master service receives the task and divides it into multiple subtasks (including subtask 1, subtask 2, and subtask 3) and distributes them to multiple slave services (including slave service 1, slave service 2, and slave service 3). The core components of the distributed service architecture project include a distributed bus, various service capabilities, and various application software. The distributed bus is responsible for communication and data transmission between devices, ensuring smooth collaboration among the services. These services include screen mirroring, relay services, and file collaboration services, providing different capabilities that, through collaboration, enable more complex tasks.

[0040] In this embodiment, distributed technology is employed, allowing users to easily manage the usage of multiple terminal products. Furthermore, compared to cloud server technology, distributed technology eliminates the need for additional server equipment, significantly reducing system costs. Moreover, unlike cloud servers which require centralized processing of large amounts of data, distributed systems handle smaller data volumes, greatly enhancing the system's real-time processing capabilities.

[0041] Step S204: Send a monitoring policy message to the slave device;

[0042] In one embodiment, Figure 6 This is a flowchart illustrating the sending of monitoring policy messages to slave devices according to an embodiment of the present invention, such as... Figure 6 As shown, step S204 above may specifically include:

[0043] Step S602: Determine the policy level information of the slave device, wherein the policy level information includes at least: a first-level policy and a second-level policy;

[0044] Different policy levels can be set for different slave devices. For example, master device 1 sets different monitoring policies for slave devices 1, 2, and 3, namely monitoring policy 1, monitoring policy 2, and monitoring policy 3, respectively; master device 2 sets different monitoring policies for slave devices 2, 3, and 4, namely monitoring policy 1, monitoring policy 2, and monitoring policy 3, respectively.

[0045] Step S604: Send the monitoring policy message to the slave device, wherein the monitoring policy message carries the policy level information.

[0046] For example, master device 1 sends monitoring policy 1, monitoring policy 2, and monitoring policy 3 to slave device 1, slave device 2, and slave device 3, respectively.

[0047] In one embodiment, the primary strategy is used for the slave device to periodically send the monitoring data to the master device.

[0048] In one embodiment, when the policy message includes the first-level policy, the monitoring data includes at least one of the following: the name of the running application and the duration of the running application.

[0049] Among them, the first-level policy is a conventional policy. When the slave device receives a monitoring policy message that includes the first-level policy, it will periodically send monitoring data to the master device. At this time, the monitoring data includes the application name and the duration of application use, so that the master device user can understand the usage of the slave device. The master device user can check the usage of the slave device from time to time.

[0050] In one embodiment, the secondary strategy is used by the slave device to send the monitoring data to the master device when a preset condition is detected. In this embodiment, the preset condition includes at least one of the following: downloading an application, running a game, or making a payment.

[0051] In this embodiment, the preset situation represents a situation that the main device user needs to pay attention to. When the slave device downloads an application, runs a game, or makes a payment, it indicates that the slave device user is not currently using the slave device for learning and the main device user needs to take further action. At the same time, the payment operation on the slave device will further cause financial loss to the user, thus reminding the main device user to pay special attention.

[0052] In one embodiment, when the policy message includes a secondary policy, and the preset condition is downloading an application, the monitoring data includes the name of the downloaded application.

[0053] When the slave device receives a policy message including a secondary policy, and detects an application being downloaded, it sends the name of the downloaded application to the master device. Upon learning that the slave device user is downloading an application, the master device user can determine whether to take action to intervene based on the application's name.

[0054] In one embodiment, when the strategy message is a secondary strategy, and the preset condition is running a game, the monitoring data includes at least one of the following: the name of the game being run, and the duration of the game being run.

[0055] When the slave device receives a policy message including a secondary policy, and detects that a game is being played, it sends the name of the game and the duration of the game to the master device. Upon learning that the slave device user is playing a game, the master device user can determine whether to take action to intervene in the slave device's usage based on the game name and duration.

[0056] In one embodiment, when the policy message is a secondary policy, and the preset condition is a payment operation, the monitoring data includes at least one of the following: the name of the payment application, and a screenshot of the payment application.

[0057] Step S206: Receive monitoring data sent periodically by the slave device according to the monitoring strategy message or when a preset condition is detected, wherein the monitoring data includes the usage status of the slave device.

[0058] Through steps S202-S206 above, users can conveniently manage the usage of multiple terminal products. Utilizing distributed technology eliminates the need for additional server equipment, saving system costs. The distributed system processes less data, enhancing the system's real-time processing capabilities. Furthermore, by sending data periodically from slave devices or monitoring data under preset conditions using different monitoring strategy messages, the amount of data processed by the master device is reduced. Periodically receiving monitoring data allows for a general understanding of slave device usage, while receiving monitoring data from slave devices under preset conditions enables the master device user to grasp important information about the slave devices. This avoids the need for users to analyze and summarize monitoring data after acquisition, as required by cloud server technology, further improving the convenience of managing multiple terminal products.

[0059] Figure 7 This is a flowchart illustrating the sending of monitoring data from a device according to an embodiment of the present invention, such as... Figure 7 As shown, the process includes: establishing a connection between the slave device and the master device; the slave device receiving a monitoring policy message sent by the master device; when the monitoring policy message includes a first-level policy message, the slave device periodically transmits monitoring data according to the first-level policy message; at the same time, the slave device detects whether the monitoring policy message includes a second-level policy message; if so, under a preset condition, it transmits monitoring data back to the master device, and the master device receives the monitoring data transmitted back by the slave device.

[0060] In this embodiment, after step S206 above, the method further includes: in response to the operation instruction to interrupt payment, sending an interrupt payment instruction to the slave device to cause the slave device to interrupt the payment operation initiated locally.

[0061] When the policy message received from the slave device includes a secondary policy, and the slave device detects that the slave device user is currently performing a payment operation, it sends the name of the payment application and a screenshot of the payment application to the master device. It also notifies the master device user of the initiation of a payment operation via voice and a pop-up window. Upon receiving the notification, the master device user clicks the "Abort Payment" button. In response, the master device sends an "Abort Payment" command to the slave device, which then interrupts its current payment operation. The payment operation can be interrupted by killing the payment process, locking the screen, or other methods.

[0062] In this embodiment, the master device user can react quickly upon learning of a preset situation occurring on the slave device. The slave device sends a small amount of monitoring data after detecting the preset situation, allowing for timely upload to the master device. Upon understanding the situation, the master device user can immediately send instructions to the slave device, thus promptly stopping the slave device user's inappropriate behavior. Since payment operations can be completed in a very short time, it is necessary to promptly notify the master device user and issue instructions to the slave device. However, in related technologies, the process of downloading monitoring data from a cloud server, analyzing usage from the monitoring data, and then the user issuing instructions to the cloud server takes a significant amount of time. By the time the instruction reaches the monitored device, the payment operation on the monitored device may have already been completed. This embodiment employs distributed technology and receives monitoring data and sends instructions when a preset situation occurs, enabling timely intervention to stop the slave device's operation and thus preventing financial losses for the user.

[0063] Figure 8 This is a schematic diagram of the interface of the device monitoring method according to an embodiment of the present invention, such as... Figure 8 As shown, when the slave device detects the payment interface, it sends a payment reminder message to the master device. The master device displays the reminder message on its screen and provides a voice announcement. Upon receiving the reminder message, the user on the master device recognizes that an abnormal operation is occurring on the slave device and clicks the "OK" button to send a termination payment command to the slave device, causing the slave device to stop the payment operation.

[0064] By interrupting payment operations from device users, financial losses caused by inadequate supervision can be effectively avoided.

[0065] Figure 9 This is a flowchart of a device monitoring method according to an embodiment of the present invention on the slave device side, applied to a slave device, such as... Figure 9 As shown, the process includes:

[0066] Step S902: Establish a connection with a master device in the distributed data, wherein the master device includes one or more master devices;

[0067] Step S904: Receive the monitoring policy message sent by the master device;

[0068] Step S906: According to the monitoring strategy message, monitoring data is sent to the master device periodically or when a preset condition is detected, wherein the monitoring data includes the usage status of the slave device.

[0069] In one embodiment, step S906 may specifically include:

[0070] When the monitoring policy message includes a first-level policy, the monitoring data is sent to the main device periodically, wherein the monitoring data includes at least one of the following: the name of the running application and the duration of the running application.

[0071] When the monitoring policy message includes a secondary policy, if a downloaded application is detected, the monitoring data is sent to the main device, wherein the monitoring data includes the name of the downloaded application;

[0072] When the monitoring policy message includes a secondary policy, if a game is detected running, the monitoring data is sent to the main device, wherein the monitoring data includes at least one of the following: the name of the game running, and the duration of the game running;

[0073] When the monitoring policy message includes a secondary policy, upon detecting a payment operation, the monitoring data is sent to the main device, wherein the monitoring data includes at least one of the following: the name of the payment application, or a screenshot of the payment application.

[0074] In one embodiment, the method further includes: receiving an interrupt payment instruction sent by the master device to interrupt the locally initiated payment operation.

[0075] Through steps S902 to S906, users can conveniently manage the usage of multiple terminal products. Utilizing distributed technology eliminates the need for additional server equipment, saving system costs. The distributed system processes less data, enhancing the system's real-time processing capabilities. Furthermore, by sending data periodically from slave devices or monitoring data under preset conditions using different monitoring strategy messages, the amount of data processed by the master device is reduced. Periodically receiving monitoring data allows for a general understanding of slave device usage, while receiving monitoring data from slave devices under preset conditions enables the master device user to grasp important information about the slave devices. This avoids the drawbacks of cloud server technology, where users still need to analyze and summarize monitoring data after acquisition, further improving the convenience of managing multiple terminal products.

[0076] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as a magnetic disk or optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0077] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0078] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0079] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0080] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0081] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0082] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0083] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0084] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A monitoring method of a device, characterized by, The method is applied to a master device, and comprises the following steps: establishing a connection with a slave device as a distributed data center, wherein the slave device comprises one or more slave devices; sending a monitoring policy message to the slave device; receiving monitoring data sent by the slave device according to the monitoring policy message or sent by the slave device when a preset condition is detected, wherein the monitoring data comprises usage of the slave device.

2. The method of claim 1, wherein, The slave device comprises slave devices connected with other master devices as distributed data centers.

3. The method of claim 1, wherein, The step of sending the monitoring policy message to the slave device comprises the following steps: determining policy level information of the slave device, wherein the policy level information at least comprises a first policy and a second policy; and sending the monitoring policy message to the slave device, wherein the monitoring policy message carries the policy level information.

4. The method of claim 3, wherein: the first policy is used for the slave device to send the monitoring data to the master device at a regular time; and the second policy is used for the slave device to send the monitoring data to the master device when the preset condition is detected.

5. The method of claim 4, wherein, The preset condition comprises at least one of the following: downloading an application, running a game, and payment operation.

6. The method of claim 5, wherein, When the policy message is the first policy, the monitoring data comprises at least one of the following: name of a running application and duration of running the application.

7. The method of claim 5, wherein, When the policy message is the second policy, and the preset condition is downloading an application, the monitoring data comprises name of the downloaded application.

8. The method of claim 5, wherein, When the policy message is the second policy, and the preset condition is running a game, the monitoring data comprises at least one of the following: name of the running game and duration of running the game.

9. The method of claim 5, wherein, When the policy message is the second policy, and the preset condition is payment operation, the monitoring data comprises at least one of the following: name of a payment application and screenshot of the payment application.

10. The method of claim 9, wherein, After receiving the monitoring data sent by the slave device at a regular time or sent by the slave device when the preset condition is detected, the method further comprises the following steps: in response to an operation instruction for interrupting payment, sending an interrupt payment instruction to the slave device to interrupt the locally initiated payment operation.

11. A monitoring method of a device, characterized by, The method is applied to a slave device, and comprises the following steps: establishing a connection with a master device as a distributed data center, wherein the master device comprises one or more master devices; receiving a monitoring policy message sent by the master device; sending monitoring data to the master device according to the monitoring policy message or sending the monitoring data to the master device when a preset condition is detected, wherein the monitoring data comprises usage of the slave device.

12. The method of claim 11, wherein, According to the monitoring policy message, sending the monitoring data to the master device comprises the following steps: when the monitoring policy message comprises a first policy, sending the monitoring data to the master device at a regular time, wherein the monitoring data comprises at least one of the following: name of a running application and duration of running the application; or when the monitoring policy message comprises a second policy, sending the monitoring data to the master device when downloading an application is detected, wherein the monitoring data comprises name of the downloaded application; or when the monitoring policy message comprises the second policy, sending the monitoring data to the master device when running a game is detected, wherein the monitoring data comprises at least one of the following: name of the running game and duration of running the game; or when the monitoring policy message comprises the second policy, sending the monitoring data to the master device when payment operation is detected, wherein the monitoring data comprises at least one of the following: name of a payment application and screenshot of the payment application. In a case where the monitoring policy message comprises a secondary policy, in a case where a game is detected, sending the monitoring data to the host device, wherein the monitoring data comprises at least one of: a name of the game, a duration of the game; or, In a case where the monitoring policy message comprises a secondary policy, in a case where a payment operation is detected, sending the monitoring data to the host device, wherein the monitoring data comprises at least one of: a name of the payment application, a screenshot of the payment application.

13. The method of claim 12, wherein, The method further comprises: receiving an interrupt payment instruction sent by the host device, and interrupting the locally initiated payment operation.

14. A computer readable storage medium, characterized in that, The storage medium has a computer program stored therein, and the computer program is run by the processor to perform the method in any one of claims 1 to 13. 15.An electronic device comprising a memory and a processor, the electronic device characterized by, The storage medium has a computer program stored therein, and the processor is configured to run the computer program to perform the method in any one of claims 1 to 13.

16. A computer program product comprising a computer program, characterized in that, The computer program is run by the processor to implement the steps of the method in any one of claims 1 to 13.