Method and device for counting use information of terminal equipment

By transmitting usage information between terminal devices and cloud devices, the problem of low accuracy of terminal device usage information statistics in the prior art is solved, and more accurate user usage statistics and a healthier terminal device usage experience are achieved.

CN119892817APending Publication Date: 2025-04-25HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411992935.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-02-02
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The prior art is low when stating user usage information on multiple terminal devices, which affects the user's healthy use of terminal devices.

Method used

The use information is acquired through the first terminal device and sent to the cloud device. The cloud device determines information for describing the situation where the user uses multiple terminal devices based on the received information, thereby improving the accuracy of statistics.

Benefits of technology

Improve the accuracy of terminal device usage information and ensure that users can use terminal devices healthily and effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892817A_ABST
    Figure CN119892817A_ABST
Patent Text Reader

Abstract

The invention provides a method and a device for counting use information of terminal equipment, which can improve the accuracy of the use information of the terminal equipment obtained by counting so as to ensure the effect of healthily using the terminal equipment by a user. The method comprises the following steps: first terminal equipment acquires first terminal equipment use information, wherein the first terminal equipment use information is used for describing the condition that a first user uses the first terminal equipment; the first terminal device sends first terminal device use information to the cloud device, the first terminal device use information is used for the cloud device to determine the first use information, the first use information is used for describing the situation that the first user uses multiple terminal devices in the terminal device group, and the multiple terminal devices comprise the first terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202110145006.8, and the original application date is February 2, 2021. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of communications, and in particular to a method and device for collecting statistics on usage information of terminal equipment. Background Art

[0003] At present, many terminal devices can support screen time management functions. Users can use the screen time management function supported by the terminal device to reasonably set the usable time of the terminal device, the usable time of the applications installed on the terminal device, and the sleep time of the terminal device. However, before realizing the healthy use of the terminal device by the user through the pre-set usable time of the terminal device, the usable time of the applications installed on the terminal device, and the sleep time of the terminal device, it is necessary to first count the user's use information of the terminal device. However, the user's use information of the terminal device counted by the existing technology may have large errors and low accuracy, thereby affecting the effect of the user's healthy use of the terminal device. Summary of the invention

[0004] In the prior art, the screen time management settings on a certain terminal device are only effective on the terminal device. Therefore, generally only the user's use of a certain terminal device is counted. If the user uses multiple terminal devices, the accuracy of the user's terminal device usage information obtained through the statistics of the prior art is low, which may affect the user's healthy use of the terminal device. The embodiment of the present application provides a method and device for counting the usage information of a terminal device, which can count the situations of multiple terminal devices used by the user, improve the accuracy of the terminal device usage information obtained by statistics, and thus ensure the user's healthy use of the terminal device.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, a method for collecting usage information of terminal devices is provided. The method for collecting usage information of terminal devices includes: a first terminal device obtains first terminal device usage information for describing a situation in which a first user uses the first terminal device. Subsequently, the first terminal device sends the first terminal device usage information to a cloud device. The first terminal device usage information can be used by the cloud device to determine first usage information for describing a situation in which the first user uses multiple terminal devices in a terminal device group, wherein the multiple terminal devices include the first terminal device.

[0007] In the above process, the first terminal device usage information received by the cloud device can be used to determine the first usage information, that is, information used to describe the situation of the first user using multiple terminal devices in the terminal device group. In other words, when the cloud device counts the situation of the first user using the terminal device, it not only takes into account the situation of the first user using the first terminal device, but also takes into account the situation of the first user using other terminal devices. Therefore, compared with the prior art, in the scenario where the same user can use multiple terminal devices, the present application can better improve the accuracy of the terminal device usage information obtained by statistics, thereby ensuring the effect of users using the terminal devices in a healthy way.

[0008] In a possible design, multiple terminal devices in a terminal device group are associated through a group identifier. In this way, the cloud device can establish an association between multiple terminal devices based on the group identifier, making it easier to count the user's usage of multiple terminal devices based on the group identifier, thereby improving the accuracy of the terminal device usage information of the same user.

[0009] In a possible design solution, the group identifier is a user account or an identifier of a wireless local area network (WLAN).

[0010] Optionally, before the first terminal device sends the first terminal device usage information to the cloud device, the method also includes: the first terminal device sends the first terminal device information to the cloud device; the first terminal device information includes the device identifier of the first terminal device and the group identifier of the terminal device group; the first terminal device information is used by the cloud device to add the first terminal device to the terminal device group.

[0011] Optionally, the method also includes: the first terminal device sends terminal device information of at least one terminal device to the cloud device; the terminal device information of the at least one terminal device includes the device identification of the at least one terminal device and the group identification of the terminal device group; the terminal device information of the at least one terminal device is used by the cloud device to add the at least one terminal device to the terminal device group, and the at least one terminal device includes a second terminal device.

[0012] In this way, the terminal device can send corresponding terminal device information to the cloud device according to user needs, and the cloud device will add the required terminal device to the terminal device group according to the terminal device information, thereby obtaining a terminal device group established according to user needs, ensuring the accuracy of statistical information on user use of terminal devices, and ensuring the effect of users' healthy use of multiple terminal devices.

[0013] In a possible design scheme, the first terminal device usage information includes a device identifier of the first terminal device and an identifier of the first user; the first terminal device usage information also includes a duration during which the first user uses the first terminal device within a preset time period, and / or a duration during which the first user uses the first terminal device.

[0014] In a possible design scheme, the first usage information includes an identifier of the first user, and the first usage information also includes a total time the first user uses multiple terminal devices in the terminal device group, and / or the time the first user uses multiple terminal devices in the terminal device group.

[0015] In a possible design scheme, the first terminal device usage information includes a device identifier of the first terminal device, an identifier of the first user, and an identifier of the first application. The first terminal device usage information also includes a duration during which the first user uses the first application on the first terminal device within a preset time period, and / or a duration during which the first user uses the first application on the first terminal device.

[0016] In a possible design scheme, the first usage information includes the identifier of the first user and the identifier of the first application; the first usage information also includes the total time during which the first user uses the first application on multiple terminal devices of the terminal device group within a preset time period, and / or the time during which the first user uses the first application on multiple terminal devices of the terminal device group, and / or the total time during which the first user uses a preset application group on multiple terminal devices of the terminal device group within a preset time period; the preset application group includes a first application whose application type is a preset application type.

[0017] In a possible design scheme, the first terminal device usage information also includes an application type of the first application.

[0018] Optionally, the method further includes: the first terminal device receiving the first usage information sent by the cloud device.

[0019] Optionally, after the first terminal device receives the first usage information sent by the cloud device, the method further includes: if the total duration of the first user using the multiple terminal devices in the terminal device group within a preset time period exceeds the first preset duration, the first terminal device displays the first prompt information and / or the second prompt information;

[0020] The first preset duration is the preset total duration that the first user can use multiple terminal devices in the terminal device group within the preset time period, the first prompt information is used to prompt that the total duration that the first user can use multiple terminal devices in the terminal device group within the preset time period has reached an upper limit, and the second prompt information is used to prompt to extend the total duration that the first user can use multiple terminal devices in the terminal device group within the preset time period.

[0021] Optionally, the method further includes: if the total duration of use of the first application by the first user on multiple terminal devices of the terminal device group within a preset time period exceeds a second preset duration, the first terminal device displaying a third prompt message and / or a fourth prompt message;

[0022] The second preset duration is the preset total duration that the first user can use the first application on multiple terminal devices of the terminal device group within the preset time period. The third prompt information is used to prompt that the total duration that the first user can use the first application on multiple terminal devices of the terminal device group within the preset time period has reached an upper limit. The fourth prompt information is used to extend the total duration that the first user can use the first application on multiple terminal devices of the terminal device group within the preset time period.

[0023] Optionally, the method further includes: if the total duration of the use of the preset application group by the first user on the multiple terminal devices of the terminal device group within the preset time period exceeds a third preset duration, the first terminal device displays a fifth prompt message and / or a sixth prompt message;

[0024] The third preset duration is the preset total duration that the first user can use the preset application group on multiple terminal devices of the terminal device group within the preset time period, the fifth prompt information is used to prompt that the total duration that the first user can use the preset application group on multiple terminal devices of the terminal device group within the preset time period has reached an upper limit, and the sixth prompt information is used to extend the total duration that the first user can use the preset application group on multiple terminal devices of the terminal device group within the preset time period.

[0025] Through the above-mentioned first preset time, second preset time, and third preset time, the total time that the user uses multiple terminal devices in the terminal device group within the preset time period can be controlled, so that the time that the user uses the terminal device or an application on the terminal device is within a more reasonable range, thereby ensuring the user's healthy use of the terminal device.

[0026] In a possible design scheme, the first preset time length, the second preset time length and / or the third preset time length are set for the first terminal device; or, the first preset time length, the second preset time length and / or the third preset time length are obtained by the first terminal device from the cloud device.

[0027] Optionally, the method further includes: the first terminal device displays the first usage information.

[0028] In a possible design scheme, the first terminal device usage information is also used by the cloud device to determine second usage information, and the second usage information is used to describe the usage of each terminal device in the terminal device group.

[0029] Optionally, the method further includes: the first terminal device receiving the second usage information sent by the cloud device.

[0030] In a possible design, the second usage information includes the total usage time of each terminal device in the terminal device group and / or the usage time of each terminal device in the terminal device group within a preset time period. In this way, the cloud device can also control the usage time of each terminal device within the preset time period, reduce the situation where multiple users use the same terminal device for a long time, and ensure the healthy use of the terminal device.

[0031] Optionally, the method further includes: the first terminal device displays the second usage information.

[0032] In a second aspect, a method for counting usage information of terminal devices is provided. The method for counting usage information of terminal devices includes: a cloud device receives first terminal device usage information sent by a first terminal device and second terminal device usage information sent by a second terminal device, wherein the first terminal device usage information is used to describe a situation where a first user uses the first terminal device, and the second terminal device usage information is used to describe a situation where the first user uses the second terminal device;

[0033] The cloud device determines first usage information based on the first terminal device usage information and the second terminal device usage information, where the first usage information is used to describe the first user's use of multiple terminal devices in the terminal device group, where the multiple terminal devices include the first terminal device and the second terminal device.

[0034] Optionally, the method further includes: the cloud device sending the first usage information to at least one of the plurality of terminal devices in the terminal device group.

[0035] In a possible design solution, multiple terminal devices in the terminal device group are associated with each other via a group identifier.

[0036] In a possible design solution, the group identifier is a user account or an identifier of a wireless local area network WLAN.

[0037] Optionally, the method further includes: the cloud device receives first terminal device information and second terminal device information, the first terminal device information includes a device identifier of the first terminal device and a group identifier of the terminal device group, and the second terminal device information includes a device identifier of the second terminal device and a group identifier of the terminal device group;

[0038] The cloud device adds the first terminal device and the second terminal device to the terminal device group according to the first terminal device information and the second terminal device information.

[0039] In a possible design solution, the first terminal device information is received by the cloud device from the first terminal device, and the second terminal device information is received by the cloud device from the second terminal device;

[0040] Alternatively, the first terminal device information and the second terminal device information are both received by the cloud device from the same terminal device.

[0041] In a possible design scheme, the first terminal device usage information includes the device identification of the first terminal device and the identification of the first user; the first terminal device usage information also includes the duration of the first user using the first terminal device within a preset time period, and / or the time the first user uses the first terminal device; the second terminal device usage information includes the device identification of the second terminal device and the identification of the first user; the second terminal device usage information also includes the duration of the first user using the second terminal device within a preset time period, and / or the time the first user uses the second terminal device.

[0042] In a possible design scheme, the first usage information includes an identifier of the first user, and the first usage information also includes a total time duration during which the first user uses multiple terminal devices in the terminal device group within a preset time period, and / or a time duration during which the first user uses multiple terminal devices in the terminal device group.

[0043] In a possible design scheme, the first terminal device usage information includes the device identification of the first terminal device, the identification of the first user, and the identification of the first application. The first terminal device usage information also includes the duration of use of the first application by the first user on the first terminal device within a preset time period, and / or the time the first user uses the first application on the first terminal device; the second terminal device usage information includes the device identification of the second terminal device, the identification of the first user, and the identification of the first application. The second terminal device usage information also includes the duration of use of the first application by the first user on the second terminal device within a preset time period, and / or the time the first user uses the first application on the second terminal device.

[0044] In a possible design scheme, the first usage information includes the identifier of the first user and the identifier of the first application; the first usage information also includes the total time during which the first user uses the first application on multiple terminal devices of the terminal device group within a preset time period, and / or the time during which the first user uses the first application on multiple terminal devices of the terminal device group, and / or the total time during which the first user uses a preset application group on multiple terminal devices of the terminal device group within a preset time period; the preset application group includes a first application whose application type is a preset application type.

[0045] In a possible design scheme, the first terminal device usage information also includes an application type of the first application.

[0046] Optionally, the method further includes: the cloud device sending the first preset duration, the second preset duration and / or the third preset duration to at least one of the plurality of terminal devices in the terminal device group;

[0047] The first preset duration is the preset total duration that the first user can use multiple terminal devices in the terminal device group within a preset time period, the second preset duration is the preset total duration that the first user can use the first application on multiple terminal devices in the terminal device group within a preset time period, and the third preset duration is the preset total duration that the first user can use the preset application group on multiple terminal devices in the terminal device group within a preset time period.

[0048] Optionally, the method further includes: the cloud device determines second usage information based on the first terminal device usage information and the second terminal device usage information, where the second usage information is used to describe the usage of each terminal device in the terminal device group.

[0049] Optionally, the method further includes: the cloud device sending the second usage information to at least one of the plurality of terminal devices of the terminal device.

[0050] In a possible design scheme, the second usage information includes a total usage time of each terminal device in the terminal device group within a preset time period and / or a usage time of each terminal device in the terminal device group.

[0051] In a third aspect, a device for collecting usage information of a terminal device is provided. The device may be a first terminal device, and the device includes a unit for executing a method for collecting usage information of a terminal device in the first aspect or any possible implementation of the first aspect, such as an acquisition unit and a sending unit.

[0052] In addition, the technical effects of the apparatus for collecting usage information of terminal devices described in the third aspect can refer to the technical effects of the method for collecting usage information of terminal devices described in any one of the implementations of the first aspect, and will not be repeated here.

[0053] In a fourth aspect, a device for collecting usage information of terminal devices is provided. The device may be a cloud device, and includes a unit for executing the method for collecting usage information of terminal devices in the second aspect or any possible implementation of the second aspect, such as a receiving unit and a processing unit.

[0054] In addition, the technical effects of the apparatus for collecting usage information of terminal devices described in the fourth aspect can refer to the technical effects of the method for collecting usage information of terminal devices described in any one of the implementations of the second aspect, and will not be repeated here.

[0055] In a fifth aspect, a device for collecting usage information of terminal devices is provided, the device for collecting usage information of terminal devices comprising: a processor coupled to a memory. The memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the device for collecting usage information of terminal devices executes the method for collecting usage information of terminal devices described in any possible implementation of the first aspect or the second aspect.

[0056] In a sixth aspect, a communication system is provided, which includes multiple terminal devices and a cloud device.

[0057] In a seventh aspect, a computer-readable storage medium is provided, which includes a computer program or instructions. When the computer program or instructions are executed on a computer, the computer executes a method in any possible implementation of the first aspect or the second aspect.

[0058] In an eighth aspect, a computer program product comprises: a computer program or instructions, which, when executed on a computer, causes the computer to execute a method in any possible implementation of the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;

[0060] Figure 2 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0061] Figure 3 A schematic diagram of the architecture of an operating system in a terminal device provided in an embodiment of the present application;

[0062] Figure 4 Schematic diagram of the process of the method for collecting usage information of terminal devices provided in the embodiment of the present application Figure 1 ;

[0063] Figure 5 Schematic diagram of the display interface of the terminal device provided in the embodiment of the present application Figure 1 ;

[0064] Figure 6 A schematic diagram of a process for a terminal device to enter a healthy use terminal mode provided in an embodiment of the present application;

[0065] Figure 7 Schematic diagram of the display interface of the terminal device provided in the embodiment of the present application Figure 2 ;

[0066] Figure 8 Schematic diagram of the display interface of the terminal device provided in the embodiment of the present application Figure 3 ;

[0067] Fig. 9 Schematic diagram of the display interface of the terminal device provided in the embodiment of the present application Figure 4 ;

[0068] Fig.10 Schematic diagram of the display interface of the terminal device provided in the embodiment of the present application Figure 5 ;

[0069] Fig.11 Schematic diagram of the process of the method for collecting usage information of terminal devices provided in the embodiment of the present application Figure 2 ;

[0070] Fig.12 Schematic diagram of the display interface of the terminal device provided in the embodiment of the present application Figure 6 ;

[0071] Fig.13 Schematic diagram of the display interface of the terminal device provided in the embodiment of the present application Figure 7 ;

[0072] Fig.14 Schematic diagram of the display interface of the terminal device provided in the embodiment of the present application Figure 8 ;

[0073] Fig.15 A schematic diagram of a process of switching networks of a terminal device provided in an embodiment of the present application;

[0074] Fig.16 A schematic diagram of a process for reconnecting a terminal device to a cloud device after disconnection from the network provided in an embodiment of the present application;

[0075] Fig.17 A schematic diagram of the structure of a device for collecting statistics on usage information of a terminal device (corresponding to a first terminal device) provided in an embodiment of the present application;

[0076] Fig.18 A schematic diagram of the structure of another apparatus for collecting statistics on usage information of terminal devices (corresponding to a cloud device) provided in an embodiment of the present application. DETAILED DESCRIPTION

[0077] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0078] In addition, in the embodiments of the present application, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0079] In the embodiments of the present application, the terms “of”, “corresponding”, “relevant” and “corresponding” may sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings they intend to express are consistent.

[0080] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0081] Figure 1 A schematic diagram of the architecture of a communication system applicable to the method for counting usage information of terminal devices provided in the embodiment of the present application. Figure 1The communication system shown in FIG. 1 is used as an example to explain in detail the communication system applicable to the embodiment of the present application. It should be noted that the solution in the embodiment of the present application can also be applied to other mobile communication systems, and the corresponding names can also be replaced by the names of corresponding functions in other mobile communication systems.

[0082] like Figure 1 As shown, the communication system includes a cloud device 101 (e.g., a cloud server) and multiple terminal devices. The multiple terminal devices include a first terminal device (e.g., a terminal device 102) and a second terminal device (e.g., a terminal device 103). The cloud device 101 can communicate with the terminal devices 102 and 103. Of course, the communication system may also include other devices. Figure 1 The number and types of devices shown are exemplary only.

[0083] Exemplarily, the cloud device 101 can be connected to the terminal device 102 or the terminal device 103 (for example, wired or wireless) through one or more communication networks 104, and the terminal device 102 can also be connected to the terminal device 103 (for example, wired or wireless) through one or more communication networks 104. The above-mentioned communication network 104 can be a local area network (LAN) or a wide area network (WAN), such as the Internet. The communication network 104 can be implemented using any known network communication protocol, which can be various wired or wireless communication protocols, such as Ethernet, universal serial bus (USB), FIREWIRE, global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), Bluetooth, wireless fidelity (Wi-Fi), NFC, voice over Internet protocol (VoIP), communication protocols supporting network slicing architecture, or any other suitable communication protocols. For example, in some embodiments, the cloud device 101 can establish a Wi-Fi connection with the terminal device 102 or the terminal device 103 through the Wi-Fi protocol.

[0084] Exemplarily, the terminal device in the embodiments of the present application can be a portable computer (such as a mobile phone), a laptop computer, a personal computer (PC), a tablet computer, a wearable electronic device (such as a smart watch), a smart home device, an artificial intelligence (AI) terminal (such as an intelligent robot), an augmented reality (AR) / virtual reality (VR) device, a car computer, etc. The following embodiments do not impose any special restrictions on the specific form of the terminal device.

[0085] For example, please refer to Figure 2 , which shows a schematic structural diagram of a terminal device 200 provided in this embodiment.

[0086] The terminal device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.

[0087] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal device 200. In other embodiments, the terminal device 200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0088] The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0089] The DSP can monitor user usage data in real time, and the user usage data includes data such as the length of time the user uses the terminal device. The controller can be the nerve center and command center of the terminal device 200. The controller can generate an operation control signal based on the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory can also be set in the processor 210 to store instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory can save instructions or data that the processor 210 has just used or circulated. If the processor 210 needs to use the instruction or data again, it can be directly called from the memory to avoid repeated access and reduce the waiting time of the processor 210, thereby improving the efficiency of the system.

[0090] In some embodiments, the processor 210 may include one or more interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0091] The USB interface 230 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a MicroUSB interface, a USB Type C interface, etc. The USB interface 230 can be used to transmit data between the terminal device 200 and peripheral devices, can also be used to connect headphones to play audio through the headphones, and can also be used to connect other terminal devices, such as AR devices, etc.

[0092] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger through the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive wireless charging input through a wireless charging coil of the terminal device 200. While the charging management module 240 is charging the battery 242, it may also power the terminal device through the power management module 241.

[0093] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the external memory, the display screen 294, the camera 293, and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 241 can also be set in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.

[0094] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.

[0095] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.

[0096] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0097] In some embodiments, the antenna 1 of the terminal device 200 is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the terminal device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, BT, GNSS, WLAN, NFC, FM, and / or IR technology. GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation systems (SBAS).

[0098] The terminal device 200 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.

[0099] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. In some embodiments, the terminal device 200 may include 1 or N display screens 294, where N is a positive integer greater than 1.

[0100] The terminal device 200 can realize the shooting function through ISP, camera 293, video codec, GPU, display screen 294 and application processor.

[0101] The ISP is used to process the data fed back by the camera 293 and convert it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 293.

[0102] The camera 293 is used to capture static images or videos. In some embodiments, the terminal device 200 may include 1 or N cameras 293, where N is a positive integer greater than 1.

[0103] In addition to processing digital image signals, DSP can also be used to process other digital signals. For example, when the terminal device 200 is selecting a frequency point, DSP is used to perform Fourier transform on the frequency point energy.

[0104] Video codecs are used to compress or decompress digital videos. The terminal device 200 may support one or more video codecs. Thus, the terminal device 200 may play or record videos in multiple coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0105] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the terminal device 200 can be realized, such as image recognition, face recognition, voice recognition, and text understanding.

[0106] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos are stored in the external memory card.

[0107] The internal memory 221 can be used to store computer executable program codes, which include instructions. The processor 210 executes various functional applications and data processing of the terminal device 200 by running the instructions stored in the internal memory 221. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, a program required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the terminal device 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0108] The terminal device 200 can implement audio functions through the audio module 270 and the application processor, such as music playing, recording, etc. The audio module 270 includes a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, etc.

[0109] The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 270 can also be used to encode and decode audio signals. In some embodiments, some or all functional modules of the audio module 270 are arranged in the processor 210.

[0110] The speaker 270A is used to convert the audio electrical signal into a sound signal. The terminal device 200 can listen to music or listen to hands-free calls through the speaker 270A.

[0111] The receiver 270B is used to convert the audio electrical signal into a sound signal. When the terminal device 200 receives a call or a voice message, the voice can be received by placing the receiver 270B close to the human ear.

[0112] Microphone 270C is used to convert sound signals into electrical signals. When making a call or sending a voice message or triggering the terminal device 200 to perform certain functions through a voice assistant, the user can speak by approaching the microphone 270C with his mouth to input the sound signal into the microphone 270C. The terminal device 200 can be provided with at least one microphone 270C for collecting sound signals, noise reduction, identifying sound sources, directional recording, etc. The headphone interface 270D is used to connect wired headphones.

[0113] The earphone interface 270D may be a USB interface 230, or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0114] The sensor module 280 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0115] The key 290 includes a power key, a volume key, etc. The key 290 may be a mechanical key or a touch key. The terminal device 200 may receive key input and generate key signal input related to user settings and function control of the terminal device 200.

[0116] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 294, motor 291 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0117] Indicator 292 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0118] The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to and separated from the terminal device 200 by inserting the SIM card interface 295 or pulling it out from the SIM card interface 295. The terminal device 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The terminal device 200 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the terminal device 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 200 and cannot be separated from the terminal device 200.

[0119] The software system of the terminal device 200 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. This embodiment takes the Android system of the layered architecture as an example to exemplify the software structure of the terminal device 200.

[0120] Please refer to Figure 3 , which is a software structure block diagram of a terminal device 200 provided in this embodiment.

[0121] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0122] The application layer can include a series of application packages.

[0123] like Figure 3 As shown, the application package may include applications (application, APP) such as contacts (also called address book or phone book), camera, mail, gallery, calendar, call (also called phone or dial), map, navigation, Bluetooth, music, video, short message, etc.

[0124] In some embodiments, an APP with a video call function (which may be referred to as a video call APP) may be installed in the application layer. This type of APP may be pre-set when the terminal device 200 leaves the factory, or it may be a third-party application that can make video calls and is provided in the application market. For example, the video call APP may be the above-mentioned call APP, SMS APP, or WeChat APP. When a user uses the video call APP to make a video call with a contact, the video call APP can send the voice collected by the microphone to the contact in real time, and can also send the image collected by the camera 293 to the contact in real time.

[0125] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0126] like Figure 3 As shown, the application framework layer may include a window manager, a content provider, a view system, an audio manager, a resource manager, a notification manager, a camera service, and the like.

[0127] The camera service is a system service provided by the application framework layer to each APP in the application layer. The APP in the application layer can call various interfaces provided by the camera service to implement camera-related functions, such as turning on the camera 293, turning off the camera 293, taking photos or recording videos, etc.

[0128] The above system services may also include power management service (PMS), window management service (WMS), Bluetooth service (Bluetooth service), network management service (NMS) and input method management service (IMS). These system services may run in the background of the terminal device 200, and the APP in the application layer may call the relevant system services to implement the corresponding application functions during operation.

[0129] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0130] Content providers are used to store and retrieve data and make it accessible to applications. This data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0131] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0132] The audio manager is used to access and control the volume and audio mode of electronic devices (such as mobile phones). For example, the audio manager can adjust the volume of the terminal device 200. For another example, the audio manager can adjust the sound type (streamType) of the electronic device. The sound type may include an alarm (STREAM_ALARM), music (STREAM_MUSIC), a telephone ringtone (STREAM_RING), etc. For another example, the audio manager can also be used to manage and set the audio mode of the terminal device 200. Exemplarily, the above audio modes may include the following: ringtone mode (MODE_RINGTONE), telephone mode (MODE_IN_CALL), normal mode (MODE_NORMAL) and call mode (MODE_IN_COMMUNICATION).

[0133] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0134] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal device vibrates, the indicator light flashes, etc.

[0135] In addition, Figure 3As shown, the application framework layer can also include an activity manager. The activity manager can be used to manage the life cycle of each application. Applications usually run in the operating system in the form of activities. For each activity, there is a corresponding application record in the activity manager, and this activity record saves the status of the activity of the application. The activity manager can use this activity record as an identifier to schedule the activity process of the application.

[0136] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0137] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0138] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0139] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES (open graphics library for embedded systems)), 2D graphics engine (such as SGL), etc.

[0140] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0141] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0142] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing, etc.

[0143] A 2D graphics engine is a drawing engine for 2D drawings.

[0144] The kernel layer is a layer between hardware and software. The kernel layer at least includes display driver, camera driver, audio driver, sensor driver, etc., and the present application embodiment does not impose any restrictions on this.

[0145] Exemplarily, the technical solutions involved in the following embodiments can all be implemented in a terminal device 200 having the above-mentioned hardware architecture and software architecture. For ease of understanding, the following is a detailed introduction to the method for counting usage information of terminal devices provided in the embodiments of the present application, taking the first terminal device and the second terminal device as examples, in combination with the accompanying drawings and application scenarios.

[0146] First, the usage modes of the first terminal device and the second terminal device are set to a mode of healthy terminal usage.

[0147] For example, taking the first terminal device as an example, the display interface of the first terminal device after the screen is turned on may be as follows: Figure 5 As shown in (a). Figure 5 In (a), the display interface of the first terminal device displays icons of applications installed on the first terminal device, such as icons of applications such as gallery, QQ, music, settings, weather, and text messages. Figure 5 In (a), if the user clicks the icon of the "settings" application, the display interface of the first terminal device switches to the following Figure 5 (b) shows the setting interface. Figure 5 In (b), the setting interface of the first terminal device displays the setting items of the first terminal device, and the setting items of the first terminal device include, for example, privacy, healthy use of the terminal, smart assistant, auxiliary functions, users and accounts, system and updates, and about the phone. Figure 5 In (b), if the first terminal device has logged in to the user account, the setting interface of the first terminal device also includes information of the user account logged in to the first terminal device as shown in 502, such as user avatar, account name and other information. The user can view the detailed information of the user account by clicking on the row where the user avatar is located; if the first terminal device has not logged in to the user account, the user avatar shown in 502 in the setting interface of the first terminal device is displayed as a default picture, and the "account name" is switched to, for example, "Not logged in". If the user clicks on the row where the default picture is located, the operation of logging in to the user account on the first terminal device can be performed. Figure 5 In the interface shown in (b), the user can browse all the setting items by swiping down the display interface to find the "Healthy Use Terminal" setting item. At this time, if the user clicks the "Healthy Use Terminal" setting item, the display interface of the first terminal device is switched to Figure 5 Alternatively, refer to Figure 5As shown in (b), the user can click the search bar shown in 501 and enter the name of the setting item to be set in the search bar, such as "healthy use terminal". At this time, the first terminal device displays Figure 5 The interface shown in (c). Figure 5 In the display interface shown in (c), if the user clicks "×", the name of the setting item to be queried can be re-entered. If the user clicks the arrow on the left side of the display interface, the first terminal device returns to its previous display interface, that is, Figure 5 (b) shows the display interface. Figure 5 In the display interface shown in (c), if the user clicks the setting item "Healthy use terminal", the first terminal device will display the following Figure 5 Refer to the interface shown in (d). Figure 5 In the interface shown in (d), the function of "Healthy terminal use" is, for example, "Help you balance terminal use time..." as shown in 503. If the user clicks "Open", the first terminal device displays the following Figure 5 The interface shown in (f) is shown in Figure 5 In the interface shown in (f), if the user selects "I use" and clicks "OK", the current user using the first terminal device is "I"; if the user selects "Child uses" and clicks "OK", the current user using the first terminal device is "Child"; if the user selects "User a uses" and clicks "OK", the current user using the first terminal device is "User a". Subsequently, the usage mode of the first terminal device is switched to the healthy use terminal mode. Figure 5 In the interface shown in (f) of FIG. 1 , if the user clicks “Cancel”, the first terminal device returns to the previous interface, such as the above Figure 5 (d).

[0148] For example, taking the first terminal device as an example, when the first terminal device is used for the first time, the first terminal device can guide the user to set up the terminal device by, for example Figure 5 The interface shown in (e) of FIG. 1 is used to prompt the user whether the use status of the first terminal device needs to be set to the healthy use terminal mode. Figure 5 In the interface shown in (e), the introduction of 503 can be found in the above example. If the user clicks "Open", the first terminal device displays the following Figure 5 After the user selects the user who uses the first terminal device and clicks "OK", the usage mode of the first terminal device is set to the healthy terminal mode. If it is not necessary to set the usage mode of the first terminal device to the healthy terminal mode, the user can also skip this step by clicking "Skip" and make other settings. Figure 5In the display interface shown in (f) of FIG. 1 , if the user clicks “Cancel”, the first terminal device returns to the previous display interface, such as the above Figure 5 (e). Other Figure 5 For a detailed introduction to (f), please refer to the above content and will not be repeated here.

[0149] By repeating the above process, the usage mode of the second terminal device can also be set to the mode of healthy terminal usage.

[0150] Optionally, the user account logged in to the first terminal device (described as the first user account in the embodiment of the present application) and the user account logged in to the second terminal device (described as the second user account in the embodiment of the present application) may be the same or different, and is not limited here.

[0151] The user account may be an account for logging into a terminal device, such as a Huawei account. It is understandable that the user account may also be an application account, i.e., an account for logging into an application installed on the terminal device, such as a social application account, a video application account, etc.

[0152] It should be noted that the above-mentioned application can be an application (APP) installed in the terminal device. The application can be an embedded application in the terminal device (i.e., a system application of the terminal device) or a downloadable application. Among them, an embedded application is an application provided as a part of the implementation of a terminal device (such as a mobile phone). For example, an embedded application can be a "settings" application, a "short message" application, and a "camera" application, etc. A downloadable application is an application that can provide its own Internet protocol multimedia subsystem (IMS) connection. The downloadable application can be an application pre-installed in the terminal device, or it can be a third-party application downloaded and installed in the terminal device by the user. For example, the downloadable application can be a "WeChat" application, an "Alipay" application, and a "Mail" application, etc.

[0153] For user accounts, the same user account can be used to log in to multiple terminal devices. In other words, the multiple terminal devices are terminal devices in the same terminal device group, and the multiple terminal devices are associated through the group identifier of the terminal device group (for example, the aforementioned same user account). In the following content, the technical solution of the present application is introduced by taking the example that the user account logged in to the first terminal device is the same as the user account logged in to the second terminal device, that is, the first user account is the same as the second user account. At this time, the first terminal device and the second terminal device are located in the same terminal device group, that is, the multiple terminal devices in the terminal device group include the first terminal device and the second terminal device, and the first terminal device and the second terminal device are associated through the group identifier of the terminal device group to which the two are located (that is, the first user account or the second user account). Figure 4 As shown, the method for collecting usage information of terminal devices provided in the present application includes the following steps S401-S403:

[0154] S401: The first terminal device sends the first terminal device information to the cloud device. Similarly, the second terminal device sends the second terminal device information to the cloud device.

[0155] Correspondingly, the cloud device receives the first terminal device information and the second terminal device information.

[0156] Optionally, after receiving the first terminal device information and the second terminal device information, the management device adds the first terminal device and the second terminal device to the terminal device group according to the received first terminal device information and the second terminal device information, that is, establishes an association between the first terminal device and the group identifier, and an association between the second terminal device and the group identifier.

[0157] Optionally, after logging into the user account, the first terminal device sends the first terminal device information to the cloud device. Optionally, after logging into the user account, the second terminal device sends the second terminal device information to the cloud device.

[0158] Optionally, the first terminal device information includes information such as the device identification of the first terminal device, the user account logged in to the first terminal device (i.e., the first user account, which is also the group identification of the terminal device group), etc. Optionally, the second terminal device information includes information such as the device identification of the second terminal device, the device type of the second terminal device, the user account logged in to the second terminal device (i.e., the second user account, which is also the group identification of the terminal device group), etc.

[0159] In a possible implementation, after the cloud device receives the first terminal device information and the second terminal device information, it can establish an association between the first terminal device and the first user account, and an association between the second terminal device and the second user account based on the first terminal device information and the second terminal device information. In this embodiment, the first user account is the same as the second user account, that is, the first terminal device and the second terminal device are both associated with the first user account, that is, the first terminal device and the second terminal device are both associated with the second user account. Therefore, the first terminal device and the second terminal device can also be associated through the first (or second) user account. In other words, terminal devices can be associated through user accounts, and terminal devices associated through user accounts are located in the same terminal device group, and the group identifier of the same terminal device group is used to associate the user accounts of terminal devices in the terminal device group.

[0160] Exemplarily, taking the association between the first terminal device, the second terminal device and the user account as an example, the association between the first terminal device, the second terminal device and the user account is shown in Table 1 below.

[0161] Table 1

[0162] Device identification of the terminal device Device type of the terminal device User Account A cell phone account1 B flat account2

[0163] Among them, the device type of the first terminal device is a mobile phone, the device type of the second terminal device is a tablet, the device identifier of the first terminal device is A, the device identifier of the second terminal device is B, the user account associated with the first terminal device, that is, the first user account, is account1, and the user account associated with the second terminal device, that is, the second user account, is account2. Optionally, account1 and account2 can be the same user account. In this case, the first terminal device and the second terminal device are associated through account1 (or account2), and the first terminal device and the second terminal device are terminal devices in the terminal device group with the group identifier account1 (or account2).

[0164] In a possible implementation, if the first terminal device or the second terminal device is not logged into the user account, the first terminal device or the second terminal device may remind the user to log into the user account.

[0165] In a possible implementation, when the first terminal device or the second terminal device is used for the first time, the user completes the operation of logging in or registering and logging in to the user account according to the pre-set user instructions, etc. Subsequently, during the subsequent use of the first terminal device and the second terminal device, the user account logged in to the first terminal device and the second terminal device by default is still the user account, or the user can switch the user account logged in to the first terminal device or the user account logged in to the second terminal device according to his / her usage needs.

[0166] Specifically, taking the first terminal device as an example, the process of the first terminal device logging into the first user account and entering the healthy use terminal mode is as follows: Figure 6 As shown. Figure 6 In the example, if the first terminal device supports the healthy use terminal mode and the network to which the first terminal device is connected (such as a wireless fidelity (WIFI) network or a data network) is available, the user enters authentication information, such as the user name and password of the user account. Subsequently, the first terminal device performs authentication by calling an application or cloud service. If the authentication is successful, the first user account is successfully logged in to the first terminal device. At this time, a communication channel is established between the first terminal device and the cloud device, and the first terminal device can communicate with the cloud device through the communication channel, and the message sent by the application on the first terminal device can be reported to the cloud device through the communication channel. Optionally, after establishing the communication channel between the first terminal device and the cloud device, the interface of the first terminal device may display that the first terminal device has entered the healthy use terminal mode.

[0167] It should be noted that the process of the second terminal device logging into the second user account and entering the healthy use terminal mode can refer to the example of the process of the first terminal device logging into the first user account and entering the healthy use terminal mode, which will not be repeated here.

[0168] Optionally, the first terminal device information also includes an identifier of a user using the first terminal device (e.g., an identifier of the first user). Optionally, the second terminal device information also includes an identifier of a user using the second terminal device (e.g., an identifier of the second user). The first user and the second user may be the same or different, which is not limited here.

[0169] There is at least one user using the first terminal device, and at least one user using the second terminal device. The user using the first terminal device and the user using the second terminal device may be the same or different, which is not limited here.

[0170] In a possible implementation, the cloud device can establish an association between a user using the first terminal device (i.e., the first user) and the first user account, and an association between a user using the second terminal device (i.e., the second user) and the second user account based on the first terminal device information and the second terminal device information it receives. Among them, the first terminal device information includes the user information of the first user, and the second terminal device information includes the user information of the second user. In this embodiment, the first user account is the same as the second user account, that is, the user using the first terminal device and the user using the second terminal device are both associated with the first user account, that is, the user using the first terminal device and the user using the second terminal device are both associated with the second user account. Therefore, the user using the first terminal device and the user using the second terminal device can be associated through the first (or second) user account. In other words, users using terminal devices can be associated through user accounts. Similar to the terminal device group, users associated through user accounts are in the same user group, and the group identifier of the same user group is used to associate the user accounts of users in the user group.

[0171] Exemplarily, taking the association between a user using a first terminal device, a user using a second terminal device, and a user account as an example, the association between a user using the first terminal device, a user using the second terminal device, and a user account is shown in Table 2 below.

[0172] Table 2

[0173] Device identification of the terminal device Device type of the terminal device User Account User ID A cell phone account1 a B flat account2 b

[0174] Among them, the device type of the first terminal device is a mobile phone, the device type of the second terminal device is a tablet, the device identifier of the first terminal device is A, the device identifier of the second terminal device is B, the user account associated with the first terminal device, that is, the first user account, is account1, the user account associated with the second terminal device, that is, the second user account, is account2, the user account associated with the user using the first terminal device is account1, and the user account associated with the user using the second terminal device is account2. The identifier of the user using the first terminal device is a, and the identifier of the user using the second terminal device is b. Optionally, account1 and account2 can be the same user account. Optionally, the user using the first terminal device and the user using the second terminal device can be the same user. In this case, user a and user b are associated through account1 (or account2), and user a and user b are users in the user group with group identifier account1 (or account2).

[0175] Optionally, after switching the user account logged in to the first terminal device, the first terminal device sends the first terminal device information to the cloud device. Optionally, after switching the user account logged in to the second terminal device, the second terminal device sends the second terminal device information to the cloud device.

[0176] Optionally, the first terminal device sends the first terminal device information to the cloud device when any user starts to use the first terminal device. Optionally, the second terminal device sends the second terminal device information to the cloud device when any user starts to use the second terminal device.

[0177] Optionally, the cloud device pre-stores the association between the user and the user account. Optionally, the cloud device pre-stores the association between the terminal device and the user account.

[0178] Optionally, the cloud device pre-stores the association between the user and the user account. After the first terminal device and the second terminal device send the first terminal device information and the second terminal device information to the cloud device, the cloud device updates the association between the user and the user account stored in it according to the received first terminal device information and the second terminal device information.

[0179] Exemplarily, the cloud device pre-stores associations between users and user accounts, for example, user a and user b are both associated with user account account1, and user c is associated with user account account2. After receiving the first terminal device information and the second terminal device information, the cloud device establishes associations between user a and user d and user account account1, and between user e and user account account2. At this point, the cloud device can update the stored associations between users and user accounts to: user a, user b, and user d are associated with user account account1, and user c and user e are associated with user account account2, that is, user c and user e are users in the user group with group identifier account2.

[0180] Optionally, the cloud device pre-stores the association between the terminal device and the user account. After the first terminal device and the second terminal device send the first terminal device information and the second terminal device information to the cloud device, the cloud device updates the association between the terminal device and the user account stored in it according to the received first terminal device information and the second terminal device information.

[0181] Exemplarily, the cloud device pre-stores the association between the terminal device and the user account, for example, the first terminal device and the second terminal device are both associated with the user account account1. After the cloud device receives the first terminal device information and the second terminal device information, it establishes an association between the first terminal device and the user account account2. At this time, the cloud device can update the stored association between the terminal device and the user account as follows: the second terminal device is associated with the user account account1, that is, the second terminal device is a terminal device in the terminal device group with the group identifier account1, and the first terminal device is associated with the user account account2, that is, the first terminal device is a terminal device in the terminal device group with the group identifier account2.

[0182] It should be noted that, in the embodiments of the present application, the technical solution of the present application is introduced by taking the first user and the second user as an example.

[0183] In addition, in a possible implementation, the first terminal device usage information and the second terminal device usage information may be received by the cloud device from the same terminal device. The same terminal device may be the first terminal device, the second terminal device, or another terminal device. The other terminal device is a terminal device in the terminal device group joined by the first terminal device (or the second terminal device), that is, the other terminal device will join the same terminal device group together with the first terminal device (or the second terminal device).

[0184] S402: The first terminal device sends the first terminal device usage information to the cloud device. Similarly, the second terminal device sends the second terminal device usage information to the cloud device.

[0185] Correspondingly, the cloud device collects the first usage information based on the received first terminal device usage information and the second terminal device usage information, and the first usage information is used to describe the situation of the first user using multiple terminal devices in the terminal device group, and the terminal device group is the terminal device group where the first terminal device is located, and the terminal device group also includes the second terminal device. It should be noted that the terminal device group may also include other terminal devices, but for the sake of simplicity of description, the embodiment of the present application takes the terminal device group that only includes the first terminal device and the second terminal device as an example to introduce the technical solution of the present application.

[0186] Optionally, the cloud device sends the first usage information obtained by statistics to at least one of the multiple terminal devices in the terminal device group. In an embodiment of the present application, the cloud device sends the first usage information to the first terminal device and / or the second terminal device. Alternatively, if the terminal device group also includes other terminal devices, the cloud device may send the first usage information to the first terminal device and / or the second terminal device and / or at least one of the other terminal devices.

[0187] Optionally, the first terminal device usage information includes the device identification of the first terminal device, the identification of the first user, and also includes the duration of the first user using the first terminal device within a preset time period and / or the time the first user used the first terminal device. Similarly, the second terminal device usage information includes the device identification of the second terminal device, the identification of the second user (i.e., the first user), and also includes the duration of the first user using the second terminal device within a preset time period and / or the time the first user used the second terminal device. At this time, after the management device receives the first terminal device usage information and the second terminal device usage information, it determines that the first terminal device and the second terminal device are terminal devices in the terminal device group associated with the first user account based on the identification of the first terminal device and the identification of the second terminal device, as well as the relevant information of the terminal device group stored by the management device itself, and then determines the first usage information, which includes the identification of the first user, and also includes the total duration of the first user using multiple terminal devices in the terminal device group within the preset time period and / or the time the first user used multiple terminal devices in the terminal device group.

[0188] In a possible implementation, the preset time period is predetermined, and illustratively, the preset time period may be one day, that is, 0:00am-24:00pm. The preset time period may also be seven days, and so on.

[0189] In a possible implementation, the first terminal device information also includes the duration of the first user using the first terminal device within a preset time period, and similarly, the second terminal device information also includes the duration of the first user using the second terminal device within the preset time period. In this case, the first usage information also includes the total duration of the first user using multiple terminal devices in the terminal device group within the preset time period.

[0190] Exemplarily, the first terminal device usage information includes the identifier a of the first terminal device, the identifier A of the first user, and the duration t1 of the first user using the first terminal device within a preset time period. Similarly, the second terminal device usage information includes the identifier b of the second terminal device, the identifier A of the first user, and the duration t2 of the first user using the second terminal device within a preset time period. At this time, the cloud device determines the first usage information based on the first terminal device usage information and the second terminal device usage information, and the first usage information includes the identifier A of the first user, and the total duration t1+t2 of the first user using multiple terminal devices in the terminal device group within the preset time period.

[0191] In a possible implementation, the first terminal device information also includes the time when the first user used the first terminal device, and similarly, the second terminal device information also includes the time when the first user used the second terminal device. In this case, the first usage information also includes the time when the first user used multiple terminal devices in the terminal device group and / or the total time when the first user used multiple terminal devices in the terminal device group within a preset time period.

[0192] Exemplarily, the first terminal device usage information also includes that the time when the first user used the first terminal device is 11:40am-11:55am, and the second terminal device usage information also includes that the time when the first user used the second terminal device is 11:10am-11:35am. At this time, the first usage information also includes that the time when the first user used multiple terminal devices in the terminal device group is 11:10am-11:35am and 11:40am-11:55am, and / or, the first usage information includes that the time when the first user used multiple terminal devices in the terminal device group within a preset time period is 40 minutes.

[0193] Exemplarily, the first terminal device usage information also includes that the time when the first user used the first terminal device is 11:15am-11:55am, and the second terminal device usage information also includes that the time when the first user used the second terminal device is 11:10am-11:35am. At this time, the first usage information also includes that the time when the first user used multiple terminal devices in the terminal device group is 11:10am-11:55am, and / or the first usage information includes that the time when the first user used multiple terminal devices in the terminal device group within a preset time period is 45 minutes.

[0194] In a possible implementation, the first terminal device information also includes the duration of time the first user uses the first terminal device and the time the first user uses the first terminal device within a preset time period. Similarly, the second terminal device information also includes the time the first user uses the second terminal device and the duration of time the first user uses the second terminal device within a preset time period. At this time, the first usage information also includes the time the first user uses multiple terminal devices in the terminal device group and / or the total duration of time the first user uses multiple terminal devices in the terminal device group within the preset time period.

[0195] Optionally, the first terminal device usage information includes the device identification of the first terminal device, the identification of the first user, the identification of the first application, and also includes the duration of the first user using the first application on the first terminal device within a preset time period, and / or the time the first user used the first application on the first terminal device. Similarly, the second terminal device usage information includes the device identification of the second terminal device, the identification of the first user, the identification of the first application, and also includes the duration of the first user using the first application on the second terminal device within the preset time period, and / or the time the first user used the first application on the second terminal device. At this time, the first usage information includes the identification of the first user, the identification of the first application, and also includes the total duration of the first user using the first application on multiple terminal devices of the terminal device group within the preset time period, and / or the time the first user used the first application on multiple terminal devices of the terminal device group, and / or the total duration of the first user using the preset application group on multiple terminal devices of the terminal device group within the preset time period. Among them, the preset application group includes the first application whose application type is the preset application type.

[0196] In a possible implementation, the first terminal device usage information also includes the duration of the first user using the first application on the first terminal device within a preset time period. Similarly, the second terminal device usage information also includes the duration of the first user using the first application on the second terminal device within a preset time period. At this time, the first usage information also includes the total duration of the first user using the first application on multiple terminal devices of the terminal device group within the preset time period and / or the total duration of the first user using the preset application group on multiple terminal devices of the terminal device group within the preset time period.

[0197] In a possible implementation, the first terminal device usage information also includes the time the first user used the first application on the first terminal device. Similarly, the second terminal device usage information also includes the time the first user used the first application on the second terminal device. At this time, the first usage information also includes the total time the first user used the first application on multiple terminal devices of the terminal device group within a preset time period, and / or, the time the first user used the first application on multiple terminal devices of the terminal device group, and / or, the total time the first user used the preset application group on multiple terminal devices of the terminal device group within a preset time period.

[0198] In a possible implementation, the first terminal device usage information also includes the duration of the first user using the first application on the first terminal device within a preset time period, and the time the first user used the first application on the first terminal device. Similarly, the second terminal device usage information also includes the duration of the first user using the first application on the second terminal device within the preset time period, and the time the first user used the first application on the second terminal device. At this time, the first usage information also includes the total duration of the first user using the first application on multiple terminal devices of the terminal device group within the preset time period, and / or the time the first user used the first application on multiple terminal devices of the terminal device group, and / or the total duration of the first user using the preset application group on multiple terminal devices of the terminal device group within the preset time period.

[0199] Exemplarily, the first application may be, for example, “WeChat” or “SMS”, or may be, for example, application 1 or application 2, etc.

[0200] Exemplarily, the first terminal device usage information includes the first user's identifier, the first application's identifier, the duration of the first user's use of the first application on the first terminal device within a preset time period, the time the first user uses the first application on the first terminal device, the first user account, and the duration of the user's use of the first terminal device within the preset time period. The first terminal device usage information includes the first user's identifier a, the first application is, for example, application A and application B, the identifiers of the two first applications are a1 and b1 respectively, the duration of the first user's use of application A within the preset time period is 30 minutes, the duration of the user's use of application B within the preset time period is 20 minutes, the name of the first user account is abc, the first user's use of the first terminal device is 11:00am-11:50am, the first user's use of application A is 11:00am-11:30am, and the first user's use of application B is 11:30am-11:50am.

[0201] Similarly, exemplarily, the second terminal device usage information includes the identifier of the first user, the identifier of the first application, the length of time the first user uses the first application on the second terminal device within a preset time period, the time the first user uses the first application on the second terminal device, the second user account (the same as the first user account), and the time the first user uses the second terminal device.

[0202] Exemplarily, the usage information of the second terminal device includes the identifier of the first user being b, the identifiers of the first applications, namely application C and application D, are c1 and d1 respectively, the duration of the first user using application C within the preset time period is 10 minutes, the duration of the first user using application D within the preset time period is 20 minutes, the name of the first user account is def, the time the first user used the second terminal device is 10:30am-11:00am, the time the first user used application C on the second terminal device is 10:30am-10:40am, and the time the first user used application D on the second terminal device is 10:40am-11:00am.

[0203] In a possible implementation, the first terminal device usage information further includes the application type of the first application, and / or the second terminal device further includes the application type of the first application.

[0204] In a possible implementation, the first terminal device usage information also includes the duration of the first user using the first terminal device and / or the time the first user used the first terminal device within a preset time period. Similarly, the second terminal device usage information also includes the duration of the first user using the second terminal device and / or the time the first user used the second terminal device within a preset time period. The first usage information also includes the total duration of the first user using multiple terminal devices in the terminal device group within the preset time period and / or the time the first user used multiple terminal devices in the terminal device group.

[0205] In a possible implementation, the preset application group may be determined by the cloud device according to the application type of the first application, or may be determined by any terminal device according to the application type of the application.

[0206] In a possible implementation manner, the first application may be an application used by the first user, or may be any application.

[0207] Optionally, after receiving the first terminal device usage information and the second terminal device usage information, the cloud device can determine whether the user account logged in to the first terminal device is the same as the user account logged in to the second terminal device based on the first terminal device usage information and the second terminal device usage information, that is, determine whether the first terminal device and the second terminal device are terminal devices in the same terminal device group. If the user account logged in to the first terminal device is the same as the user account logged in to the second terminal device, the cloud device further counts the usage of each terminal device (i.e., the second usage information) and / or the usage of the terminal device by each user (i.e., the first usage information) based on whether the user using the first terminal device is the same as the user using the second terminal device.

[0208] That is, after receiving the first terminal device usage information and the second terminal device usage information, the cloud device can determine at least one of the first usage information and the second usage information according to the first terminal device information and the second terminal device usage information. The second usage information includes the total usage time of each terminal device in the terminal device group within a preset time period and / or the usage time of each terminal device in the terminal device group.

[0209] The usage of each terminal device refers to the usage duration of each terminal device and / or the usage time of each terminal device obtained by statistics without distinguishing between users within a preset time period. The usage of the terminal device by each user refers to the usage duration of each user and / or the time each user uses the terminal device within a preset time period without distinguishing between terminal devices. Optionally, the usage of the terminal device by each user refers to the usage duration of each application on the terminal device by each user and / or the time each user uses each application on the terminal device within a preset time period.

[0210] Exemplarily, the cloud device receives the usage information of the first terminal device and the usage information of the second terminal device. Among them, the user account logged in to the first terminal device is the same as the user account logged in to the second terminal device, and the name of the user account can be abc, that is, the first terminal device and the second terminal device are in the same terminal device group. The application (i.e., the first application) used by the first user (i.e., the user using the first terminal device) includes application A and application B, and the application used by the second user (i.e., the user using the second terminal device) includes application A. The first user uses application A for 10 minutes within the preset time period, the first user uses application B for 15 minutes within the preset time period, and the second user uses application A for 20 minutes within the preset time period. The first user uses the first terminal device from 9:00am to 9:10am and 9:15 to 9:30am, and the second user uses the second terminal device from 9:40am to 10:00am. Taking the first user and the second user as the same user as an example, the cloud device can determine the total duration of the first user (i.e., the second user) using multiple terminal devices in the terminal device group within the preset time period based on the first terminal device usage information and the second terminal device usage information it receives, that is, the total usage duration of the first terminal device and the second terminal device is 45 minutes, and the time when the first user uses multiple terminal devices in the terminal device group (including the first terminal device and the second terminal device) is 9:00am-9:10am, 9:15-9:30am, and 9:40am-10:00am. Among them, the duration of the first user using application A on multiple terminal devices in the terminal device group within the preset time period is 30 minutes, the duration of the first user using application B on multiple terminal devices in the terminal device group within the preset time period is 15 minutes, the usage time of the first terminal device is 9:00am-9:10am and 9:15-9:30am, and the usage time of the second terminal device is 9:40am-10:00am. The total usage time of the first terminal device within the preset time period is 25 minutes, and the total usage time of the second terminal device within the preset time period is 20 minutes.

[0211] In the above example, if the first user and the second user are different users, the cloud device can determine the duration of the first user's use of multiple terminal devices in the terminal device group within the preset time period, that is, the duration of the first terminal device's use within the preset time period is 25 minutes, and the time the first user uses multiple terminal devices in the terminal device group, that is, the time the first user uses the first terminal device from 9:00am to 9:10am and 9:15 to 9:30am, based on the first terminal device's use information and the second terminal device's use information it receives. The duration of the second user's use of multiple terminal devices in the terminal device group within the preset time period, that is, the duration of the second terminal device's use within the preset time period is 20 minutes, and the time the second user uses multiple terminal devices in the terminal device group, that is, the time the second user uses the second terminal device from 9:40am to 10:00am.

[0212] Optionally, the first terminal device periodically sends first terminal device usage information to the cloud device.

[0213] Exemplarily, when a user uses the first terminal device, the first terminal device sends first terminal device usage information to the cloud device at a period of 10 seconds.

[0214] Exemplarily, taking the example of a 5-minute period for the first terminal device to send the first terminal device usage information to the cloud device, if the first terminal device is always in use during the time period of 18:00-18:15, the first terminal device sends the first terminal device usage information to the cloud device at 18:00, 18:05, 18:10 and 18:15 respectively.

[0215] Optionally, the first terminal device sends first terminal device usage information to the cloud device non-periodically.

[0216] In a possible implementation, when the first terminal device switches from a screen-on state to a screen-off state, the first terminal device sends first terminal device usage information to the cloud device.

[0217] In a possible implementation, when the first terminal device switches from a screen-off state to a screen-on state, the first terminal device sends the first terminal device usage information to the cloud device. And when the first terminal device switches from a screen-on state to a screen-off state, the first terminal device sends the first terminal device usage information to the cloud device.

[0218] In a possible implementation, when an application on the first terminal device is switched from a use state to a stop use state, the first terminal device sends first terminal device use information to the cloud device.

[0219] In a possible implementation manner, when a user using the first terminal device changes, the first terminal device sends first terminal device usage information to the cloud device.

[0220] Similarly, for the introduction of the second terminal device sending the second terminal device usage information to the cloud device, please refer to the above introduction of the first terminal device sending the first terminal device usage information to the cloud device, which will not be repeated here.

[0221] Optionally, the first terminal device usage information further includes information such as the number of unlocking times and unlocking time of the first terminal device, and / or the second terminal device usage information further includes information such as the number of unlocking times and unlocking time of the second terminal device.

[0222] S403: The first terminal device displays the usage of each terminal device or the usage of each user. Similarly, the second terminal device displays the usage of each terminal device or the usage of each user.

[0223] Among them, for the specific introduction of the usage of the above-mentioned terminal devices (the second usage situation) or the usage of the terminal devices by each user (the second usage situation), please refer to the content in the above-mentioned step S402, which will not be repeated here.

[0224] Optionally, the cloud device sends the usage of each terminal device or the usage of each user to the first terminal device and the second terminal device. Subsequently, the first terminal device or the second terminal device displays the usage of each terminal device or the usage of each user according to user needs.

[0225] In a possible implementation, in the absence of user instructions, the first terminal device may display all terminal devices by default, that is, the total usage time of each application on the first terminal device and the second terminal device within a preset time period, etc. Among them, all terminal devices refer to all terminal devices associated with the user account logged in to the first terminal device. Subsequently, the first terminal device displays the total usage time of each application on any terminal device within the preset time period, or the usage time of all terminal devices within the preset time period, according to the user's instructions.

[0226] For example, all terminal devices include a first terminal device and a second terminal device. The user account logged in to the first terminal device is the same as the user account logged in to the second terminal device. The first terminal device displays the total usage time of each application on all terminal devices within a preset time period by default, such as Figure 7 As shown in (a). Figure 7As shown in (a), the applications on the first terminal device and the second terminal device include "Game Tips", "Gallery", "Recorder", etc. Among them, the total usage time of all applications in the preset time period is 33 minutes, the total usage time of the application "Game Tips" on the first terminal device and the second terminal device in the preset time period is 10 minutes, the total usage time of the application "Recorder" on the first terminal device and the second terminal device in the preset time period is 7 minutes, the total usage time of the application "Gallery" on the first terminal device and the second terminal device in the preset time period is 5 minutes, and the total usage time of other applications on the first terminal device and the second terminal device in the preset time period is 10 minutes. Figure 7 In (a), the switch button 701 of "Screen Time Management" is in the off state, that is, the "Screen Time Management" function is not enabled, and the "Screen Time Management" is used to set the available time of the terminal device, the available applications on the terminal device, the sleep time of the terminal device, etc. within a preset time period. The switch button 702 of "Screen Time Management Password" is in the off state, that is, the "Screen Time Management Password" function is not enabled, and the "Screen Time Management Password" is used to set a password, which is used to request more usage time, or change the settings of the above-mentioned healthy use of the terminal, that is, change the relevant settings in "Screen Time Management".

[0227] In a possible implementation, in the absence of a user instruction, the first terminal device displays the total usage time of each terminal device within a preset time period by default.

[0228] For example, all terminal devices include a first terminal device and a second terminal device. The user account logged in to the first terminal device is the same as the user account logged in to the second terminal device. The first terminal device displays the total usage time of each terminal device in a preset time period by default, such as Figure 7 As shown in (b). Figure 7 As shown in (b), the terminal devices with the same user account as the one currently logged in to the first terminal device include "mobile phone", "tablet" and other terminal devices, and the first terminal device is any one of the "mobile phone", "tablet" or other terminal devices. Among them, the total usage time of all terminal devices within the preset time period is 33 minutes, the total usage time of the first terminal device such as "mobile phone" within the preset time period is 10 minutes, the total usage time of the second terminal device such as "tablet" within the preset time period is 5 minutes, and the total usage time of other terminal devices within the preset time period is 15 minutes. About Figure 7 The description of “Screen time management” and “Screen time management password” in (b) can be found in the previous example and will not be repeated here.

[0229] In a possible implementation, the first terminal device may display, according to a user instruction, the duration for which each user uses each application within a preset time period, or the total duration for which all users use each application within a preset time period.

[0230] For example, Figure 7 For example, if the user clicks Figure 7 The prompt text in (a) is, for example, "more", then the display interface of the first terminal device is as follows Figure 8 As shown in (a). Figure 8 In (a), if the user selects "Select User" and clicks "OK", the display interface of the first terminal device is as follows: Figure 8 As shown in (b). Figure 8 In (b), if the user selects "My Usage Time" and clicks "OK", the first terminal device only displays the usage of each application on all terminal devices by "me", i.e., the owner, for example. Figure 8 If the user selects "Child's Usage Time" and clicks "OK", the first terminal device only displays the usage of each application on all terminal devices by the "child". If the user selects "All Device Usage Time" and clicks "OK", the first terminal device displays the usage of each application on all terminal devices by all users. If the user clicks "Cancel", the first terminal device displays the previous interface, such as Figure 8 In this example, all users are "me" and "child", and all terminal devices are the first terminal device and the second terminal device. Figure 8 In (c), "<1 minute" under "Usage time" indicates the total duration that the user "I" uses all applications on all terminal devices between "0 o'clock" and "24 o'clock" (i.e. today). "Application usage ranking" is the ranking of applications used by "I" based on the duration that the user "I" uses all applications on all terminal devices between "0 o'clock" and "24 o'clock". "Unlock statistics" are statistics on the number of unlocks when the user "I" uses the terminal device between "0 o'clock" and "24 o'clock" and the average unlocking time, such as "once every 2 hours and 54 minutes". Delay statistics are information such as the total duration of delayed use of the terminal device (the applications on it) by the user "I" when using the terminal device between "0 o'clock" and "24 o'clock". Among them, "no delayed use" is used to indicate that between "0 o'clock" and "24 o'clock", the user "I" did not use the terminal device (any application on it) with delay. Figure 8 In (c), if the user clicks "Past Seven Days", the first terminal device will display the usage of all terminal devices by the user "I" in the past seven days. For details, please refer to the above content in this example.

[0231] In another possible implementation, the first terminal device may display the usage status of any terminal device or the usage status of all terminal devices according to user instructions.

[0232] For example, Figure 7 For example, if the user clicks Figure 7 If the prompt text in (a) is, for example, "more", then the display interface of the terminal device is as follows: Fig. 9 As shown in (a). Fig. 9 In (a), if the user selects "Select Device" and clicks "OK", the display interface of the first terminal device is as follows: Fig. 9 As shown in (b). Fig. 9 In (b), if the user selects "Tablet usage time" and clicks "OK", the first terminal device only displays the usage of the "tablet", that is, the usage of each application installed on the "tablet". If the user selects "Mobile phone usage time" and clicks "OK", the first terminal device only displays the usage of the "mobile phone", that is, the usage of each application installed on the "mobile phone". If the user selects "All device usage time" and clicks "OK", the first terminal device displays the usage of all terminal devices, for example Fig. 9 If the user clicks "Cancel", the first terminal device displays the previous interface, such as Fig. 9 In this example, all terminal devices are "mobile phones" and "tablets" that log in to the same user account, that is, the first terminal device is a "mobile phone" or a "tablet". Fig. 9 In (c), "<1 minute" under "Usage time" indicates the total usage time of mobile phones and tablets between "0 o'clock" and "24 o'clock", and "Device usage ranking" is the ranking of devices based on the usage time of mobile phones and tablets between "0 o'clock" and "24 o'clock". Among them, the "<1 minute" corresponding to the rows of "tablet" and "mobile phone" are the usage time of "tablet" between "0 o'clock" and "24 o'clock" and the usage time of "mobile phone" between "0 o'clock" and "24 o'clock", respectively. "Unlock statistics" are statistics on the number of unlocks, unlock time and average unlock time of "tablet" and "mobile phone" between "0 o'clock" and "24 o'clock" (that is, today), such as "once every 2 hours and 54 minutes". Delay statistics are information such as the total delayed usage time of applications on "tablet" and "mobile phone" between "0 o'clock" and "24 o'clock". "No delayed use" means that between "0:00" and "24:00", no application on the "tablet" or "mobile phone" is used with any delay. Fig. 9 In (c), if the user clicks "Past Seven Days", the first terminal device will display the usage of the "tablet" and "mobile phone" in the past seven days. For detailed introduction, please refer to the above content in this example.

[0233] It should be noted that for a detailed introduction on the second terminal device displaying the usage of each terminal device or the usage of each terminal device by each user, please refer to the above introduction on the first terminal device displaying the usage of each terminal device or the usage of each terminal device by each user, which will not be repeated here.

[0234] In the above process, the first terminal device usage information received by the cloud device can be used to determine the first usage information, that is, information used to describe the situation of the first user using multiple terminal devices in the terminal device group. In other words, when the cloud device counts the situation of the first user using the terminal device, it not only takes into account the situation of the first user using the first terminal device, but also takes into account the situation of the first user using other terminal devices. Therefore, compared with the prior art, in the scenario where the same user can use multiple terminal devices, the present application can better improve the accuracy of the terminal device usage information obtained by statistics, thereby ensuring the effect of users using the terminal devices in a healthy way.

[0235] After setting the usage mode of the first terminal device and the second terminal device to the healthy terminal usage mode, if the user needs to use the first terminal device and the second terminal device, the first terminal device and the second terminal device need to identify the user to determine the situation of each user using the first terminal device or the second terminal device, so that the cloud device can count the situation of each user using the terminal device based on the received first terminal device usage information and the second terminal device usage information.

[0236] Optionally, the first terminal device may automatically identify the user according to user information input by the user, wherein the user information may be fingerprint information, facial image information, etc.

[0237] In a possible implementation, the user can unlock the first terminal device by inputting fingerprint information or facial image information into the first terminal device. At this time, the first terminal device can identify the user based on the fingerprint information or facial image information input by the user.

[0238] Exemplarily, fingerprint 1, fingerprint 2 and facial image 1 are user information corresponding to the first user, and fingerprint 3 and facial image 2 are user information corresponding to the second user. If the user uses fingerprint 1, fingerprint 2 or facial image 1 to unlock the first terminal device, the first terminal device can automatically identify that the user currently using the first terminal device is the first user. If the user uses fingerprint 3 or facial image 2 to unlock the first terminal device, the first terminal device can automatically identify that the user currently using the first terminal device is the second user.

[0239] In a possible implementation, in order to ensure that the first terminal device is in a healthy terminal use mode, the cloud device can more accurately summarize the usage of multiple terminal devices, and the first terminal device switches from a screen-off state to a screen-on state (unlocked), and is unlocked through face recognition or fingerprint recognition. If the first terminal device successfully recognizes the face or fingerprint, the first terminal device is unlocked, and the user can use the first terminal device normally. If the first terminal device fails to successfully recognize the face or fingerprint, the first terminal device fails to unlock, and the user cannot use the first terminal device.

[0240] In a possible implementation, when the first terminal device is in a screen-on state, it periodically obtains facial image information of a user currently using the first terminal device (i.e., facial image information of a user in front of the screen of the first terminal device). The first terminal device automatically identifies the user based on the facial image information it periodically obtains.

[0241] Exemplarily, facial image 1 corresponds to the first user, facial image 2 corresponds to the second user, the period for the first terminal device to obtain facial image information is 5 minutes, and the first terminal device is in a light-screen state. If the facial image information obtained by the first terminal device at 10:00am is facial image 1, at this time, the first terminal device can automatically identify that the user currently using the first terminal device is the first user. Subsequently, if the facial image information obtained by the first terminal device at 10:05am is facial image 2, at this time, the first terminal device can automatically identify that the user currently using the first terminal device is the second user. In addition, if the facial image information obtained by the first terminal device at 10:15am includes facial image 1 and facial image 2, at this time, the first terminal device can automatically identify that the users currently using the first terminal device include the first user and the second user.

[0242] In a possible implementation manner, the first terminal device may determine the user currently using the first terminal device according to a manual selection of the user.

[0243] For example, if the first terminal device is unlocked and the user currently using the first terminal device cannot be identified through face recognition or fingerprint recognition, the display interface of the first terminal device may be as follows: Fig.10 As shown. Fig.10In the first terminal device, the user can select the user currently using the first terminal device. If the user selects "I use" and clicks "OK", the user currently using the first terminal device is "I". If the user selects "Child uses" and clicks "OK", the user currently using the first terminal device is "Child". If the user selects "User a uses" and clicks "OK", the user currently using the first terminal device is "User a". If the user clicks "Cancel", the first terminal device re-enters the lock screen state.

[0244] In one possible implementation, if the first terminal device fails to automatically identify the user currently using the first terminal device, or the user does not make the above-mentioned manual selection, the first terminal device defaults to the user currently using the first terminal device as another user, that is, a user other than the user corresponding to the user account currently logged in to the first terminal device.

[0245] Optionally, the first terminal device may determine the user currently using the first terminal device according to the type of application used by the user.

[0246] Exemplarily, the applications on the first terminal device can be divided into children's applications and adult applications. For example, payment applications (such as Alipay, etc.) and work applications (such as WPS, etc.) are determined as adult applications, and children's song applications (such as baby songs, etc.) are determined as children's applications. At this time, if the application on the first terminal device used by the user includes a payment application, i.e., an adult application, the first terminal device can determine that the user using the first terminal device is an adult. If the application on the first terminal device used by the user is a children's song application, i.e., a children's application, the first terminal device can determine that the user using the first terminal device is a child.

[0247] Optionally, the first terminal device may determine the user currently using the first terminal device according to the browsing content of the user.

[0248] For example, if the browsing content of the user is children's songs, children's cartoons, etc., the first terminal device can determine that the user currently using the first terminal device is a child.

[0249] Optionally, the first terminal device may identify the user currently using the terminal device according to the application account logged in to the first terminal device, etc. For the introduction of the application account, please refer to the above content, which will not be repeated here.

[0250] It should be noted that, for the introduction of the second terminal device identifying the user, reference can be made to the description of the first terminal device identifying the user, which will not be repeated here.

[0251] Optionally, the present application also provides a method for collecting statistics of usage information of terminal devices, such as Fig.11 As shown, the method further includes step S404:

[0252] S404: The first terminal device determines whether the user can continue to use the terminal device or the application on the terminal device. Similarly, the second terminal device determines whether the user can continue to use the terminal device or the application on the terminal device.

[0253] Optionally, the first terminal device determines whether the user can continue to use the terminal device or the application on the terminal device according to one or more of the duration that the user (i.e., the first user) can use the terminal device within a preset time period (i.e., the first preset duration, the preset total duration that the first user can use multiple terminal devices in the terminal device group within the preset time period), the preset duration that the user uses the application that can be used by the user (i.e., the second preset duration, the preset total duration that the first user can use the first application on multiple terminal devices in the terminal device group within the preset time period), the third preset duration (i.e., the duration that the first user can use the preset application group on multiple terminal devices in the terminal device group within the preset time period), the application that can be used by the user, the sleep time of the terminal device, and the usage of the terminal device received by the first terminal device and the user's use of the terminal device. The user may be the user who currently uses the first terminal device, or may be another user associated with the user account logged in to the first terminal device. In this embodiment, the user is taken as the user of the first terminal device, i.e., the first user, as an example.

[0254] Optionally, the second terminal device determines whether the user can continue to use the terminal device or the application on the terminal device according to one or more of the duration during which the user can use the terminal device within a preset time period, the preset duration during which the user uses the application available to the user within the preset time period, the application available to the user, the third preset duration, the sleep time of the terminal device, and the usage of the terminal device received by the second terminal device and the usage of the terminal device by the user. The user may be the user currently using the second terminal device, or may be another user associated with the user account logged in to the second terminal device. In this embodiment, the user is taken as the user of the second terminal device, that is, the first user, as an example.

[0255] Optionally, after setting the usage mode of the first terminal device or the second terminal device to a healthy terminal usage mode, the first terminal device or the second terminal device may further set the applications available to the user, the length of time the user can use the terminal device within a preset time period, the preset length of time the user uses the applications available to the user within a preset time period, the sleep time of the terminal device, etc., to ensure the accuracy of the statistical usage information of the terminal devices.

[0256] In a possible implementation, there may be multiple users using the first terminal device or the second terminal device, but the applications available to the above users, the duration of time that the users can use the terminal device within a preset time period, the preset duration of time that the users can use the available applications within the preset time period, the sleep time of the terminal device, and other information are set by the target user (e.g., a parent). And the applications available to the above users, the duration of time that the users can use the terminal device within the preset time period, the sleep time of the terminal device, and the preset duration of time that the users can use the available applications within the preset time period correspond to the users. Therefore, if the user currently using the first terminal device or the second terminal device is the target user, the above information can be set. If the user currently using the first terminal device or the second terminal device is not the target user, the above information cannot be set.

[0257] In order to ensure better results in healthy use of terminal devices by users, in one possible implementation method, the target user can set a screen time management password, which is used by the target user to request more usage time, or to change the applications available to the above-mentioned user, the length of time the user can use the terminal device within a preset time period, the length of time the user can use the applications available to him within a preset time period, the sleep time of the terminal device and other information.

[0258] For example, taking the first terminal device as an example, if the user currently using the first terminal device is not the target user, the "screen time management" function and the "screen time management password" function are turned off, and the display interface of the first terminal device can be as follows: Figure 7 As shown in (a). Figure 7 In (a), if the user clicks the switch button 701 of "Screen Time Management" or the switch button 702 of "Screen Time Management Password", the first terminal device verifies the identity of the user currently using the first terminal device. If the user is verified to be the target user, the switch button 701 and the switch button 702 are switched to the on state, and the "Screen Time Management" and "Screen Time Management Password" functions are enabled. At this time, the display interface of the first terminal device is as follows Fig.12 It should be noted that after the "Screen Time Management Password" function is turned on, the target user can set a corresponding password to manage the screen usage of the first terminal device, for example, setting the screen time management password to 123456. If it is verified that the user is not the target user, the display interface of the first terminal device remains unchanged. Fig.12, after the target user clicks the column where "Password Settings" is located and enters the correct screen time management password 123456, the screen time management password 123456 can be modified. After the target user clicks the column where "Available Time" is located and enters the correct screen time management password 123456, the target user can set the duration of the target user's use of the terminal device every day, for example, the target user uses the terminal device for 6 hours a day. Optionally, after the target user clicks the column where "Available Time" is located and enters the correct screen time management password 123456, the target user can also set the duration of other users' use of the terminal device every day. After the target user clicks the column where "App Limits" is located and enters the correct screen time management password 123456, the target user can set the applications that the target user can use and the duration that the target user can use the application (or the time when the target user can use the application, for example, the time when the target user can use the application is 10:00am-11:30am). Optionally, after the target user clicks the "App Limit" column and enters the correct screen time management password 123456, the target user can also set the applications that other users can use and the length of time the other users can use the applications. After the target user clicks the "Sleep Time" column and enters the correct screen time management password 123456, the target user can set the sleep time of the first terminal device when the target user uses the first terminal device. For example, the target user sets the sleep time of the first terminal device when the target user uses the first terminal device to 0:00am-6:30am. Therefore, the target user cannot use the first terminal device during the time period of 0:00am-6:30am. Optionally, after the target user clicks the "Sleep Time" column and enters the correct screen time management password 123456, the target user can also set the sleep time of other terminal devices when the target user uses other terminal devices, wherein other terminal devices refer to terminal devices associated with the first terminal device through user accounts. Optionally, after the target user clicks the "Sleep Time" column and enters the correct screen time management password 123456, he can also set the sleep time of the first terminal device when other users use the first terminal device. Optionally, after the target user clicks the "Sleep Time" column and enters the correct screen time management password 123456, he can also set the sleep time of other terminal devices when other users use other terminal devices.

[0259] It should be noted that after the target user enters one or more of the above-mentioned target user screen time management password, the applications available to the user, the time the user can use the terminal device within a preset time period, the time the user can use the applications available to the user within a preset time period, the sleep time of the terminal device, etc. on any terminal device (such as the first terminal device), the first terminal device sends the one or more pieces of information to the cloud device, and the cloud device sends the information to other terminal devices (such as the second terminal device). Among them, the other terminal devices and the first terminal device are associated with the same user account. Optionally, only the target user can modify the above-mentioned one or more pieces of information.

[0260] Optionally, taking the first terminal device as an example, after the first terminal device receives the usage of each terminal device obtained by the cloud device statistics or the usage of each user, if the total time that the user uses the terminal device within the preset time period (the total time that the first user uses multiple terminal devices in the terminal device group within the preset time period) exceeds the time that the user can use the terminal device within the preset time period (i.e., the first preset time), the first terminal device displays a first prompt message. At this time, the first terminal device can determine that the user cannot continue to use the terminal device. The first prompt message is used to prompt that the total time that the first user can use multiple terminal devices in the terminal device group within the preset time period has reached the upper limit. Alternatively, the first terminal device displays a second prompt message, which is used to prompt to extend the total time that the first user can use multiple terminal devices in the terminal device group within the preset time period.

[0261] If the duration of a user's use of an application within a preset time period (i.e., the total duration of the first user's use of the first application on multiple terminal devices in a terminal device group within a preset time period) exceeds the preset duration of time that the user can use the application (i.e., the second preset duration), the first terminal device displays a third prompt message, which is used to prompt that the user's use of the application within the preset time period has reached the upper limit (i.e., the total duration of the first user's use of the first application on multiple terminal devices in a terminal device group within the preset time period has reached the upper limit). At this point, the user cannot continue to use the application. Alternatively, the first terminal device displays a fourth prompt message, which is used to prompt to extend the total duration of the first user's use of the first application on multiple terminal devices in a terminal device group within the preset time period.

[0262] If the total time duration during which the first user uses the preset application group on multiple terminal devices in the terminal device group exceeds the third preset time duration within the preset time period, the first terminal device displays the fifth prompt information and / or the sixth prompt information. The fifth prompt information is used to prompt that the total time duration during which the first user can use the preset application group on multiple terminal devices in the terminal device group within the preset time period has reached the upper limit, and the sixth prompt information is used to extend the total time duration during which the first user can use the preset application group on multiple terminal devices in the terminal device group within the preset time period.

[0263] It should be noted that the above-mentioned extended available time is temporary. In addition, the first preset time, the second preset time and / or the third preset time are set for the first terminal device, or can be obtained by the first terminal device from the cloud device. The first preset time, the second preset time, and the third preset time can also be determined by the cloud device, or obtained by the cloud device from other terminal devices (such as the second terminal device) in the terminal device group where the first terminal device is located.

[0264] In one possible implementation, when a user uses an application on any terminal, if the time the user uses the application within a preset time period exceeds the time the user can use the application within the preset time period, the application is automatically stopped and the above-mentioned third prompt information is displayed when the user opens the application again.

[0265] In a possible implementation, if the total duration of a user's use of a terminal device within a preset time period exceeds the duration that the user can use the terminal device within the preset time period, the first terminal device may further display a second prompt message. The second prompt message is used to prompt the user to extend the duration that the user can use the terminal device within the preset time period. If the duration that a user uses an application within the preset time period exceeds the duration that the user can use the application within the preset time period, the first terminal device displays a fourth prompt message, and the fourth prompt message is used to prompt the user to extend the duration that the user can use the application within the preset time period.

[0266] It should be noted that only the target user can extend the usage time of the terminal device. The specific operation of extending the usable time of the terminal device within a preset time period or the usable time of a certain application within a preset time period can be referred to the prior art and will not be repeated here.

[0267] In addition, about Fig.11 The introduction of steps S401-S403 involved in the above process can be found in the above content and will not be repeated here.

[0268] It should be noted that the preset application group may be the type of application that can be used by other users (eg, children) according to the settings of the target user (eg, parent).

[0269] Through this process, the use of multiple terminal devices in the terminal device group by the user can be controlled by preset duration or preset application group, thereby ensuring the effect of healthy use of the terminal devices by the user.

[0270] Optionally, before the first terminal device or the second terminal device displays the usage of the terminal device, the first terminal device can add a terminal device associated with the user account currently logged in to the first terminal device. Similarly, the second terminal device can add a terminal device associated with the user account currently logged in to the second terminal device.

[0271] For example, Fig.14 As shown in (a), if the user selects "Add device" and clicks "OK", the real interface of the first terminal device switches to Fig.14 As shown in (b). Fig.14 In (b), the first terminal device displays the device type, device identification, and device icon of the terminal device that the user may add. The device type includes, for example, "computer", "mobile phone", and "TV". The device identification of the terminal device with the device type of "computer" includes, for example, "device 1", "device 2", and "device 3", the device identification of the terminal device with the device type of "mobile phone" includes, for example, "device 4", "device 5", and "device 6", and the device identification of the terminal device with the device type of "TV" includes, for example, "device 7" and "device 8". If the user clicks "mobile phone", the display interface of the first terminal device is as follows: Fig.14 As shown in (c). Fig.14 In (c), the first terminal device displays information about the terminal devices that the user may add starting from the device type of "mobile phone", and does not display information about the terminal devices of the device type "computer" that precede "mobile phone". If the user selects "Device 6" (i.e. clicks the icon corresponding to "Device 6") and clicks the arrow on the left side of the display interface, the display interface of the first terminal device is as follows: Fig.14 As shown in (d). Fig.14 In (d), 1401 is used to remind the user whether to add "device 6". If the user clicks "yes", "device 6" is added as a terminal device associated with the user account. If the user clicks "no", "device 6" is not added as a terminal device associated with the user account. Subsequently, regardless of whether "device 6" is added, the first terminal device returns to its previous display interface, such as Fig.14 (c). Optional, Fig.14 In (d), the user can search for the terminal device that the user needs to add by entering, for example, "device 6" in the search bar. At this time, the display interface of the terminal device is as follows: Fig.14 As shown in (e). Fig.14In (e), if the user clicks the icon of "device 6" and clicks the arrow on the left side of the display interface, the display interface of the first terminal device may be as follows: Fig.14 As shown in (d). Fig.14 The introduction of (d) can be found in the above content of this example and will not be repeated here.

[0272] In a possible implementation, the first terminal device sends terminal device information of at least one terminal device to the cloud device. The terminal device information of the at least one terminal device includes the device identification of the at least one terminal device and the group identification of the terminal device group (i.e., the first user account). Subsequently, the cloud device adds the at least one terminal device to the terminal device group corresponding to the group identification based on the device information of the at least one terminal device, that is, establishes an association between the at least one terminal device and the group identification. The at least one terminal device includes a second terminal device. The terminal device information of the at least one terminal device may include the first terminal device information, or may not include the first terminal device information.

[0273] It should be noted that, according to the process of adding terminal devices given in the above example, the first terminal device can obtain the terminal device information of the terminal device that needs to be added to the terminal device group, that is, the terminal device information of at least one terminal device sent to the cloud device.

[0274] Optionally, before the first terminal device or the second terminal device displays the usage of the terminal device, the first terminal device can add a user associated with the user account currently logged in to the first terminal device. Similarly, the second terminal device can add a user associated with the user account currently logged in to the second terminal device.

[0275] For example, Fig.13 As shown in (a), if the user selects "Add User" and clicks "OK", the display interface of the first terminal device or the second terminal device is switched to Fig.13 As shown in (b). Fig.13 As shown in (b), the user enters the "nickname", "face data", "fingerprint data" and other information of the newly added user, and clicks "Add", and the new user, ie, the user, can be successfully added.

[0276] In a possible implementation, the first terminal device sends user information of at least one user to the cloud device. The user information of the at least one user includes the user identification of the at least one user (e.g., facial image, fingerprint, etc.) and the group identification of the user group (e.g., the first user account). Subsequently, the cloud device adds the at least one user to the user group corresponding to the group identification based on the user information of the at least one user, that is, establishes an association between the at least one user and the group identification. The user information of the at least one user may include the user information of the first user, or may not include the user information of the first user.

[0277] It should be noted that, according to the process of adding users given in the above example, the first terminal device can obtain the user information of the user who needs to join the user group, that is, the user information of at least one user sent to the cloud device.

[0278] Optionally, the cloud device adds a terminal device or user associated with the user account.

[0279] In a possible implementation, the cloud device may establish an association between the terminal device and the user account and an association between the user and the user account according to the first terminal device information and the second terminal device information etc. received by it. Subsequently, the cloud device sends the terminal device list and the user list associated with the user account logged in to the first terminal device to the first terminal device, so that the first terminal device updates the terminal device list and the user list associated with the user account logged in to the first terminal device. Among them, the terminal device list received by the first terminal device includes the identifier of the terminal device associated with the user account logged in to the first terminal device, and the user list received by the first terminal device includes the identifier of the user associated with the user account logged in to the first terminal device. Similarly, the cloud device sends the terminal device list and the user list associated with the user account logged in to the second terminal device. Among them, the terminal device list received by the second terminal device includes the identifier of the terminal device associated with the user account logged in to the second terminal device, and the user list received by the second terminal device includes the identifier of the user associated with the user account logged in to the second terminal device.

[0280] In one possible implementation, taking the first terminal device as an example, after the cloud device sends the terminal device list and user list associated with the user account logged in to the first terminal device to the first terminal device, the first terminal device can display the first usage information (and / or the second usage information) based on the received first usage information (and / or the second usage information) and the terminal device list and user list.

[0281] In one possible implementation, Fig.15As shown, the first terminal device or the second terminal device can perform an intelligent network selection process according to the network it searches, and detect the network quality of the network connected after receiving the intelligent network selection process. If the network quality of the network currently connected to the first terminal device or the second terminal device is poor, the first terminal device or the second terminal device switches the wireless network to which it is connected to a data network and re-initiates a connection request to the cloud device. In response to the connection request, the cloud device establishes a communication channel between the cloud device and the first terminal device or the second terminal device. Subsequently, the first terminal device and the second terminal device periodically report the usage of the terminal device (i.e., the first terminal device or the second terminal device) through the communication channel. If the network quality of the network currently connected to the first terminal device or the second terminal device is good, the first terminal device or the second terminal device periodically performs an intelligent network selection process so that the first terminal device or the second terminal device accesses a network with better network quality, thereby ensuring the security and accuracy of data transmission between the first terminal device and the second terminal device and the cloud device.

[0282] In one possible implementation, Fig.16 As shown, the network connection of the first terminal device or the second terminal device is disconnected. At this time, the application installed on the first terminal device or the second terminal device may not be able to access the network normally, thereby causing the application in the running process to interrupt its running process. The first terminal device or the second terminal device executes the heartbeat scheme, that is, periodically sends data packets to the cloud device. If it fails, that is, the first terminal device or the second terminal device has never successfully sent the data packet to the cloud device, or has not received a response from the cloud device, the first terminal device or the second terminal device resends the connection request to the cloud device. If successful, the application on the first terminal device or the second terminal device is used normally, that is, the first terminal device or the second terminal device communicates normally with the cloud device. Subsequently, if the network connection of the first terminal device or the second terminal device is disconnected, the first terminal device or the second terminal device executes the above process again. After the first terminal device or the second terminal device resends the connection request to the cloud device, if the connection fails, the information displayed on the display interface of the first terminal device or the second terminal device (that is, the usage of the terminal device or the user's use of the terminal device) remains unchanged. The first terminal device or the second terminal device resends the connection request again after a preset time period until the first terminal device or the second terminal device successfully connects to the cloud device. Subsequently, if the network connection of the first terminal device or the second terminal device is disconnected, the first terminal device or the second terminal device executes the above process again.

[0283] Optionally, in addition to establishing the association between the first terminal device and the second terminal device by logging into the user account of the first terminal device and the user account of the second terminal device, the cloud device can also group the first terminal device and the second terminal device according to whether the WLAN to which the first terminal device and the second terminal device are connected is the same, that is, using the WLAN identifier as the group identifier to establish the above-mentioned terminal device group (or user group, etc.), establish an association between the first terminal device and the WLAN, and establish an association between the second terminal device and the WLAN.

[0284] In a possible implementation, if the first terminal device and the second terminal device access the same WLAN, the cloud device establishes an association between the first terminal device and the WLAN, and an association between the second terminal device and the WLAN, that is, the first terminal device and the second terminal device are in the same terminal device group. If the first terminal device and the second terminal device access different WLANs, the cloud device determines that the first terminal device and the second terminal device are not in the same terminal device group.

[0285] In a possible implementation, the first terminal device information includes the identifier of the WLAN to which the first terminal device is connected and the identifier of the first terminal device, and the second terminal device information includes the identifier of the WLAN to which the second terminal device is connected and the identifier of the first terminal device. At this time, the cloud device can add the first terminal device and the second terminal device to the same terminal device group based on the identifier of the WLAN, and the identifier of the WLAN is the group identifier of the same terminal device group. It should be noted that the first usage information and the second usage information obtained by using the identifier of the WLAN as the group identifier of the terminal device group to collect statistics on the user's use of the terminal device are similar to the process of realizing the healthy use of the terminal device by the user, and will not be repeated here.

[0286] The embodiment of the present application can divide the functional modules of the above-mentioned terminal device or cloud device according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0287] In the case of an integrated unit, Fig.17 A possible structural diagram of a device for collecting statistics of usage information of terminal devices involved in the above embodiments is shown. The device may be a first terminal device, and includes: an acquiring unit 1701 and a sending unit 1702 .

[0288] The acquisition unit 1701 is used to acquire first terminal device usage information for describing the first user using the first terminal device. The sending unit 1702 is used to send the first terminal device usage information to the cloud device. The first terminal device usage information can be used by the cloud device to determine the first usage information for describing the first user using multiple terminal devices in the terminal device group, including the first terminal device.

[0289] In a possible design solution, multiple terminal devices in a terminal device group are associated with each other via a group identifier.

[0290] In a possible design solution, the group identifier is a user account or an identifier of a wireless local area network (WLAN).

[0291] In a possible design scheme, the sending unit 1702 is also used to send the first terminal device information to the cloud device; the first terminal device information includes the device identifier of the first terminal device and the group identifier of the terminal device group; the first terminal device information is used by the cloud device to add the first terminal device to the terminal device group.

[0292] In a possible design scheme, the sending unit 1702 is also used to send terminal device information of at least one terminal device to the cloud device; the terminal device information of the at least one terminal device includes the device identification of the at least one terminal device and the group identification of the terminal device group; the terminal device information of the at least one terminal device is used by the cloud device to add the at least one terminal device to the terminal device group, and the at least one terminal device includes a second terminal device.

[0293] In a possible design scheme, the receiving unit 1703 is used to receive the first usage information sent by the cloud device.

[0294] In a possible design, the display unit 1704 is used to display a first prompt message and / or a second prompt message if the total duration of the use of the plurality of terminal devices in the terminal device group by the first user within a preset time period exceeds the first preset duration. The first preset duration is the preset total duration of the use of the plurality of terminal devices in the terminal device group by the first user within the preset time period, the first prompt message is used to prompt that the total duration of the use of the plurality of terminal devices in the terminal device group by the first user within the preset time period has reached an upper limit, and the second prompt message is used to prompt that the total duration of the use of the plurality of terminal devices in the terminal device group by the first user within the preset time period is extended.

[0295] In a possible design scheme, the display unit 1704 is also used to display a third prompt message and / or a fourth prompt message if the total duration of use of the first application by the first user on multiple terminal devices of the terminal device group within a preset time period exceeds a second preset duration. The second preset duration is the preset total duration that the first user can use the first application on multiple terminal devices of the terminal device group within the preset time period, the third prompt message is used to prompt that the total duration that the first user can use the first application on multiple terminal devices of the terminal device group within the preset time period has reached an upper limit, and the fourth prompt message is used to extend the total duration that the first user can use the first application on multiple terminal devices of the terminal device group within the preset time period.

[0296] In a possible design scheme, the display unit 1704 is also used to display the fifth prompt information and / or the sixth prompt information if the total time duration that the first user uses the preset application group on multiple terminal devices of the terminal device group within the preset time period exceeds the third preset time duration. The third preset time duration is the preset total time duration that the first user can use the preset application group on multiple terminal devices of the terminal device group within the preset time period, the fifth prompt information is used to prompt that the total time duration that the first user can use the preset application group on multiple terminal devices of the terminal device group within the preset time period has reached the upper limit, and the sixth prompt information is used to extend the total time duration that the first user can use the preset application group on multiple terminal devices of the terminal device group within the preset time period.

[0297] In a possible design solution, the display unit 1704 is also used to display the first usage information.

[0298] In a possible design scheme, the receiving unit 1703 is further used to receive the second usage information sent by the cloud device.

[0299] In a possible design solution, the display unit 1704 is further configured to display the second usage information.

[0300] In the case of an integrated unit, Fig.18 A possible structural diagram of another device for collecting statistics of usage information of terminal devices involved in the above embodiments is shown. The device may be a cloud device, including: a receiving unit 1801 and a processing unit 1802.

[0301] Optionally, the receiving unit 1801 is used to receive first terminal device usage information sent by a first terminal device and second terminal device usage information sent by a second terminal device, wherein the first terminal device usage information is used to describe a situation in which a first user uses the first terminal device, and the second terminal device usage information is used to describe a situation in which the first user uses the second terminal device. The processing unit 1802 is used to determine first usage information based on the first terminal device usage information and the second terminal device usage information, wherein the first usage information is used to describe a situation in which the first user uses multiple terminal devices in the terminal device group, and the multiple terminal devices include the first terminal device and the second terminal device.

[0302] In a possible design scheme, the sending unit 1803 is used to send the first usage information to at least one of the multiple terminal devices in the terminal device group.

[0303] In a possible design scheme, the receiving unit 1801 is further configured to receive first terminal device information and second terminal device information, wherein the first terminal device information includes a device identifier of the first terminal device and a group identifier of the terminal device group, and the second terminal device information includes a device identifier of the second terminal device and a group identifier of the terminal device group. The processing unit 1802 is further configured to add the first terminal device and the second terminal device to the terminal device group according to the first terminal device information and the second terminal device information.

[0304] In a possible design scheme, the sending unit 1803 is further configured to send a first preset duration, a second preset duration, and / or a third preset duration to at least one of the multiple terminal devices in the terminal device group. The first preset duration is a preset total duration during which the first user can use the multiple terminal devices in the terminal device group within a preset time period, the second preset duration is a preset total duration during which the first user can use the first application on the multiple terminal devices in the terminal device group within a preset time period, and the third preset duration is a preset total duration during which the first user can use a preset application group on the multiple terminal devices in the terminal device group within a preset time period.

[0305] In a possible design scheme, the processing unit 1802 is further used to determine second usage information based on the first terminal device usage information and the second terminal device usage information, where the second usage information is used to describe the usage of each terminal device in the terminal device group.

[0306] In a possible design scheme, the sending unit 1803 is further configured to send the second usage information to at least one of the multiple terminal devices of the terminal device.

[0307] An embodiment of the present application also provides a computer-readable storage medium, which may include a computer program or instruction; when the computer program or instruction is run on a computer, the computer executes the method of counting the usage information of terminal devices described in the above method embodiment.

[0308] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed on a computer, the computer executes the method for collecting usage information of terminal devices described in the above method embodiment.

[0309] The terminal device, cloud device, computer storage medium or computer program product provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0310] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0311] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, the above embodiments may appear in whole or in part in the form of a computer program product, which includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiments of the present application is generated in whole or in part.

[0312] Wherein, the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer-readable storage media may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0313] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0314] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0315] The units described as separate components may be physically separated or not, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. In the application process, some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0316] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0317] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a device (which can be a personal computer, server, network equipment, single-chip microcomputer or chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0318] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A method for collecting statistics of terminal device usage information, characterized in that: The method comprises: The first terminal device acquires first device usage information, wherein the first device usage information includes time when the first user uses the first application on the first terminal device; The first terminal device sends the first device usage information, the first device usage information is used to determine first usage information, the first usage information is used to describe the situation of using multiple terminal devices, the multiple terminal devices include the first terminal device, the multiple terminal devices are devices logged in to the same user account, or the multiple terminal devices are connected to the same WLAN.

2. The method for collecting usage information of terminal equipment according to claim 1, characterized in that: The multiple terminal devices are associated via a group identifier of the terminal device group.

3. The method for collecting usage information of terminal equipment according to claim 2, characterized in that: The group identifier is a user account or an identifier of a wireless local area network WLAN.

4. The method for collecting usage information of terminal equipment according to claim 2 or 3, characterized in that: Before the first terminal device sends the first device usage information, the method further includes: The first terminal device sends the first terminal device information to the cloud device; the first terminal device information includes the device identifier of the first terminal device and the group identifier of the terminal device group; the first terminal device information is used by the cloud device to add the first terminal device to the terminal device group.

5. The method for collecting usage information of terminal equipment according to claim 2 or 3, characterized in that: The method further comprises: The first terminal device sends terminal device information of at least one terminal device to the cloud device; the terminal device information of the at least one terminal device includes the device identification of the at least one terminal device and the group identification of the terminal device group; the terminal device information of the at least one terminal device is used by the cloud device to add the at least one terminal device to the terminal device group, and the at least one terminal device includes a second terminal device.

6. The method for collecting usage information of terminal equipment according to any one of claims 1 to 3, characterized in that: The first device usage information also includes the duration of the first user using the first application on the first terminal device within a preset time period; or The first device usage information further includes unlocking statistics, wherein the unlocking statistics are the number of unlocking times and the average unlocking time when the first user uses the terminal device within a preset time period; or The first device usage information also includes delay statistics, wherein the delay statistics are the total duration of the first terminal device being used by the first user with delay when using the first terminal device.

7. The method for collecting usage information of terminal equipment according to claim 6, characterized in that: The first usage information includes an identifier of the first user, and the first usage information also includes a total duration of use of the multiple terminal devices by the first user within a preset time period, and / or a time for use of the multiple terminal devices by the first user.

8. The method for collecting usage information of terminal equipment according to any one of claims 1 to 3 and 7, characterized in that: The first device usage information includes the device identification of the first terminal device, the identification of the first user, and the identification of the first application. The first device usage information also includes the length of time the first user uses the first application on the first terminal device within a preset time period, and / or the time the first user uses the first application on the first terminal device.

9. The method for collecting usage information of terminal equipment according to claim 8, characterized in that: The first usage information includes the identifier of the first user and the identifier of the first application; the first usage information also includes the total duration of use of the first application by the first user on the multiple terminal devices within a preset time period, and / or the time the first user uses the first application on the multiple terminal devices, and / or the total duration of use of a preset application group by the first user on the multiple terminal devices within the preset time period; the preset application group includes applications of a preset application type.

10. The method for collecting usage information of terminal equipment according to claim 8, characterized in that: The first device usage information also includes an application type of the first application.

11. The method for collecting usage information of terminal equipment according to claim 9 or 10, characterized in that: The method further comprises: The first terminal device receives the first usage information.

12. The method for collecting usage information of terminal equipment according to claim 11, characterized in that: After the first terminal device receives the first usage information, the method further includes: If the total duration of the first user using the multiple terminal devices within the preset time period exceeds a first preset duration, the first terminal device displays a first prompt message and / or a second prompt message; The first preset duration is the preset total duration that the first user can use the multiple terminal devices within the preset time period, the first prompt information is used to prompt that the total duration that the first user can use the multiple terminal devices within the preset time period has reached an upper limit, and the second prompt information is used to prompt to extend the total duration that the first user can use the multiple terminal devices within the preset time period.

13. The method for collecting usage information of terminal equipment according to claim 11, characterized in that: The method further comprises: If the total duration of use of the first application by the first user on the multiple terminal devices within the preset time period exceeds a second preset duration, the first terminal device displays a third prompt message and / or a fourth prompt message; The second preset duration is the preset total duration that the first user can use the first application on the multiple terminal devices within the preset time period. The third prompt information is used to prompt that the total duration that the first user can use the first application on the multiple terminal devices within the preset time period has reached an upper limit. The fourth prompt information is used to extend the total duration that the first user can use the first application on the multiple terminal devices within the preset time period.

14. The method for collecting usage information of terminal equipment according to claim 11, characterized in that: The method further comprises: If the total duration of the use of the preset application group by the first user on the multiple terminal devices within the preset time period exceeds a third preset duration, the first terminal device displays the fifth prompt information and / or the sixth prompt information; The third preset duration is the preset total duration that the first user can use the preset application group on the multiple terminal devices within the preset time period, the fifth prompt information is used to prompt that the total duration that the first user can use the preset application group on the multiple terminal devices within the preset time period has reached an upper limit, and the sixth prompt information is used to extend the total duration that the first user can use the preset application group on the multiple terminal devices within the preset time period.

15. The method for collecting usage information of terminal equipment according to any one of claims 12 to 14, characterized in that: The method further comprises: The first terminal device displays the first usage information.

16. The method for counting usage information of terminal equipment according to any one of claims 1-3, 7, 9, 12-14, characterized in that: The first device usage information is further used to determine second usage information, where the second usage information is used to describe the usage of each terminal device among the multiple terminal devices.

17. The method for collecting usage information of terminal equipment according to claim 16, characterized in that: The method further comprises: The first terminal device receives the second usage information.

18. The method for collecting usage information of terminal equipment according to claim 17, characterized in that: The second usage information includes a total usage duration of each of the multiple terminal devices and / or a usage time of each of the multiple terminal devices within a preset time period.

19. The method for collecting usage information of terminal equipment according to claim 17 or 18, characterized in that: The method further comprises: The first terminal device displays the second usage information.

20. The method for collecting usage information of terminal equipment according to claim 1, characterized in that: The first terminal device displays a first display interface, where the first display interface includes one or more users using the first terminal device; In response to a first operation on the first display interface, the first terminal device displays the first device usage information, wherein the one or more users include a first user, and the first device usage information is device usage information of the first user of the first terminal device; or In response to a second operation on the first display interface, the first terminal device displays second device usage information, wherein the one or more users include a second user, and the second device usage information is device usage information of the second user of the first terminal device; or In response to a third operation on the first display interface, the first terminal device displays third device usage information, wherein the one or more users include all users, and the third device usage information is device usage information of all users of the first terminal device.

21. The method for collecting usage information of terminal equipment according to claim 1, characterized in that: The first terminal device displays a first display interface, and the first display interface includes one or more terminal devices; In response to a first operation on the first display interface, the first terminal device displays first device usage information, wherein the one or more terminal devices include the first terminal device, and the first device usage information is device usage of the first terminal device; or In response to a second operation on the first display interface, the first terminal device displays second device usage information, wherein the one or more terminal devices include a second terminal device, and the second device usage information is device usage of the second terminal device; or In response to a third operation on the first display interface, the first terminal device displays third device usage information, wherein the one or more terminal devices include all terminal devices, and the third device usage information is device usage status of all the terminal devices.

22. The method for collecting usage information of terminal equipment according to claim 21, characterized in that: The first device usage information includes at least one of a device identification of the first terminal device, a duration during which the first user uses the first application on the first terminal device within a preset time period, or a time during which the first user uses the first application on the first terminal device.

23. A method for collecting statistics on usage information of terminal equipment, characterized in that: The method comprises: The first terminal device displays a first display interface, where the first display interface includes first device usage information of the first terminal device, wherein the first device usage information is device usage information of a first user of the first terminal device; In response to a first operation of a user on the first display interface, the first terminal device displays second device usage information of the first terminal device, where the second device usage information is device usage information of a second user of the first terminal device; or In response to a second operation of the user on the first display interface, the first terminal device displays third device usage information of the second terminal device, where the third device usage information is device usage information of the second terminal device.

24. The method for collecting usage information of terminal equipment according to claim 23, characterized in that: The first terminal device and the second terminal device are devices for logging into the same user account; or The first terminal device and the second terminal device access the same WLAN.

25. The method for collecting usage information of terminal equipment according to claim 23, characterized in that: The first device usage information includes the duration of time the first user uses the first terminal device within a preset time period, and / or the time the first user uses the first terminal device.

26. The method for collecting usage information of terminal equipment according to claim 23, characterized in that: The first device usage information includes the duration for which the first user uses the first application on the first terminal device within a preset time period, and / or the time for which the first user uses the first application on the first terminal device.

27. The method for collecting usage information of terminal equipment according to any one of claims 23 to 26, characterized in that: The first device usage information includes unlocking statistics, wherein the unlocking statistics are the number of unlocking times and the average unlocking time when the first user uses the terminal device within a preset time period.

28. The method for collecting usage information of terminal equipment according to any one of claims 23 to 26, characterized in that: The first device usage information includes delay statistics, wherein the delay statistics are the total duration of the first terminal device being used by the first user with delay when using the first terminal device.

29. The method for collecting usage information of terminal equipment according to any one of claims 23 to 26, characterized in that: Before the first terminal device displays the first display interface, the first terminal device is in a first mode, and the first terminal device sets at least one of the daily usage time of the first terminal device, the available applications and the usage time of the available applications, and the sleep time of the first terminal device when the first terminal device is used.

30. The method for collecting usage information of terminal equipment according to claim 29, characterized in that: Before the first terminal device sets at least one of the daily usage time of the first terminal device, the available applications and the usage time of the available applications, and the sleep time of the first terminal device when the first terminal device is used, the first password is entered.

31. The method for collecting usage information of terminal equipment according to any one of claims 23 to 26, characterized in that: In response to a third operation of the user on the first display interface, the first terminal device displays fourth device usage information of the first terminal device, where the fourth device usage information includes the first device usage information and the second device usage information.

32. The method for collecting usage information of terminal equipment according to any one of claims 23 to 26, characterized in that: In response to a fourth operation of the user on the first display interface, the first terminal device displays fifth device usage information, where the fifth device usage information includes the first device usage information, the second device usage information, and the third device usage information.

33. The method for collecting usage information of terminal equipment according to any one of claims 23 to 26, characterized in that: In response to the user's fifth operation on the first display interface, the first terminal device displays sixth device usage information, and the sixth device usage information includes device usage information of multiple terminal devices, the multiple terminal devices are devices logged in to the same user account, and the multiple terminal devices include the first terminal device.

34. The method for collecting usage information of terminal equipment according to any one of claims 23 to 26, characterized in that: The first terminal device sends the first device usage information, the first device usage information is used to determine first usage information, the first usage information is used to describe the situation of using multiple terminal devices, the multiple terminal devices include the first terminal device, the multiple terminal devices are devices logged in to the same user account, or the multiple terminal devices are connected to the same WLAN.

35. The method for collecting usage information of terminal equipment according to claim 34, characterized in that: The multiple terminal devices are associated via a group identifier of the terminal device group.

36. The method for collecting usage information of terminal equipment according to claim 35, characterized in that: The group identifier is a user account or an identifier of a wireless local area network WLAN.

37. The method for collecting usage information of terminal equipment according to claim 35 or 36, characterized in that: Before the first terminal device sends the first device usage information, the method further includes: The first terminal device sends the first terminal device information to the cloud device; the first terminal device information includes the device identifier of the first terminal device and the group identifier of the terminal device group; the first terminal device information is used by the cloud device to add the first terminal device to the terminal device group.

38. The method for collecting usage information of terminal equipment according to claim 35 or 36, characterized in that: The method further comprises: The first terminal device sends terminal device information of at least one terminal device to a cloud device; the terminal device information of the at least one terminal device includes a device identifier of the at least one terminal device and a group identifier of the terminal device group; the terminal device information of the at least one terminal device is used by the cloud device to add the at least one terminal device to a terminal device group, and the at least one terminal device includes the second terminal device.

39. A first terminal device, characterized in that: The first terminal device comprises: one or more processors; one or more memories; The one or more memories store one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the one or more processors, the first terminal device executes the method for counting terminal device usage information as described in any one of claims 1-22 or claims 23-38.

40. A cloud device, characterized in that: The cloud device includes a receiving unit and a processing unit; The receiving unit is used to receive first device usage information sent by a first terminal device and second device usage information sent by a second terminal device, wherein the first device usage information is used to describe a situation where a first user uses the first terminal device, and the second device usage information is used to describe a situation where the first user uses the second terminal device; The processing unit is used to determine first usage information based on the first device usage information and the second device usage information, where the first usage information is used to describe a situation where the first user uses multiple terminal devices, where the multiple terminal devices include the first terminal device and the second terminal device, and where the multiple terminal devices are devices that log in to the same user account, or where the multiple terminal devices are connected to the same WLAN.

41. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a computer program or an instruction. When the computer program or the instruction is executed on a computer, the computer is caused to execute the method for counting usage information of terminal devices according to any one of claims 1 to 22 or claims 23 to 38.

42. A computer program product, characterized in that The computer program product comprises: a computer program or instructions, which, when executed on a computer, enables the computer to execute the method for counting usage information of terminal devices according to any one of claims 1 to 22 or claims 23 to 38.