CN113382110B - Method and terminal for avoiding repeated reminding of notification message - Google Patents

Method and terminal for avoiding repeated reminding of notification message Download PDF

Info

Publication number
CN113382110B
CN113382110B CN202010588375.XA CN202010588375A CN113382110B CN 113382110 B CN113382110 B CN 113382110B CN 202010588375 A CN202010588375 A CN 202010588375A CN 113382110 B CN113382110 B CN 113382110B
Authority
CN
China
Prior art keywords
terminal
use state
state
condition
notification message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010588375.XA
Other languages
Chinese (zh)
Other versions
CN113382110A (en
Inventor
龚阿世
相超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2020/138620 priority Critical patent/WO2021169538A1/en
Publication of CN113382110A publication Critical patent/CN113382110A/en
Application granted granted Critical
Publication of CN113382110B publication Critical patent/CN113382110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The application provides a method and a terminal for avoiding repeated reminding of notification messages, which can avoid resource waste and disturbance to users caused by the fact that a plurality of terminals execute the notification messages. The method comprises the following steps: the first terminal acquires a notification message; the first terminal determines an execution terminal for executing the notification message from the first terminal and the second terminal according to the using state of the terminal and/or the performance state of the terminal, wherein the first terminal and the second terminal are associated; the service state of the terminal comprises the service state of the first terminal and the service state of the second terminal, and the performance state of the terminal comprises the performance state of the first terminal and the performance state of the second terminal; the execution terminal executes the notification message.

Description

Method and terminal for avoiding repeated reminding of notification message
The present application claims priority from chinese patent office, application No. 202010117643.x, application name "a method and terminal for avoiding repeated notification of notification messages" filed 25 months 02 in 2020, the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of terminals, and more particularly, to a method and terminal for avoiding repeated notification of notification messages.
Background
In recent years, the wearable device has a rapid market growth, supplements with the smart phone, is increasingly popular with consumers, and can provide high-quality, convenient and efficient services by matching the wearable device and the smart phone of the same manufacturer. However, the wearable device and the smart phone are close-fitting devices of users, and have some similar service capabilities, for example, in some scenes, the wearable device and the smart phone can provide services, such as incoming calls, receiving information, reminding an alarm clock, and the like, and at the moment, the wearable device and the smart phone can ring or vibrate at the same time. The repeated reminding synchronous pushing of the message not only affects the daily life of the user, but also causes resource waste. Therefore, how to avoid repeated reminding of notification messages is a urgent problem to be solved.
Disclosure of Invention
The application provides a method and a terminal for avoiding repeated reminding of notification messages, which avoid the problem that in the prior art, the first terminal directly pushes the notification messages to the second terminal without any judgment, so that the first terminal and the second terminal execute the notification messages to cause resource waste and disturbance to users.
In a first aspect, a method for avoiding repeated reminding of a notification message is provided, including: the first terminal acquires a notification message;
the first terminal determines an execution terminal for executing the notification message from the first terminal and the second terminal according to the using state of the terminal and/or the performance state of the terminal, wherein the first terminal and the second terminal are associated; the service state of the terminal comprises the service state of the first terminal and the service state of the second terminal, and the performance state of the terminal comprises the performance state of the first terminal and the performance state of the second terminal; the execution terminal executes the notification message.
Therefore, after the first terminal acquires the notification message, one terminal that executes the notification message is determined from the first terminal and the second terminal according to the use state of the terminal and the service persistence of the terminal. Therefore, in the prior art, the notification message is directly pushed to the second terminal without any judgment, so that the resource waste and the disturbance to the user caused by the fact that the first terminal and the second terminal execute the notification message are avoided.
With reference to the first aspect, in some implementations of the first aspect, the first terminal obtaining the notification message includes the first terminal receiving a notification message sent by the network device, or a notification message triggered by a local functionality of the first terminal. Taking the mobile phone as an example, the notification message may be a phone call incoming to the mobile phone, a short message, or an alarm clock and other service messages set on the mobile phone.
With reference to the first aspect, in some implementation manners of the first aspect, the determining, by the first terminal, an execution terminal that executes the notification message from the first terminal and the second terminal according to a usage state of the terminal includes: when the use state of the first terminal meets a first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal meets the first condition and the use state of the second terminal meets the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal meets the first condition, determining that the second terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message.
With reference to the first aspect, in some implementation manners of the first aspect, the determining, by the first terminal, an execution terminal that executes the notification message from the first terminal and the second terminal according to a performance state of the terminal includes: when the performance state of the first terminal meets a second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal meets the second condition and the performance state of the second terminal meets the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal meets the second condition, determining that the second terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message.
With reference to the first aspect, in some implementations of the first aspect, the determining, by the first terminal, one terminal that executes the notification message from the first terminal and the second terminal according to a usage state of the terminal and a performance state of the terminal includes: when the use state of the first terminal does not meet the first condition and the use state of the second terminal does not meet the first condition, the first terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal; or when the use state of the first terminal meets the first condition, the use state of the second terminal meets the first condition, and the first terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal.
With reference to the first aspect, in some implementation manners of the first aspect, when the usage state of the first terminal does not meet the first condition, the usage state of the second terminal does not meet the first condition; or when the usage state of the first terminal meets the first condition, the usage state of the second terminal meets the first condition, and the first terminal determines one terminal executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal, including: when the performance state of the first terminal meets a second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal meets the second condition and the performance state of the second terminal meets the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal meets the second condition, determining that the second terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message.
With reference to the first aspect, in certain implementation manners of the first aspect, the executing terminal executes the notification message, including: when the executing terminal is the first terminal, the first terminal executes the notification message; or when the executing terminal is the second terminal, the first terminal sends the notification message to the second terminal, and the second terminal executes the notification message.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first terminal obtains a use state of the second terminal and a performance state of the second terminal.
With reference to the first aspect, in some implementations of the first aspect, the first terminal obtaining a usage state of the second terminal and service persistence of the second terminal includes: the first terminal sends a first message to the second terminal, wherein the first message is used for indicating the second terminal to send the using state of the second terminal and the performance state of the second terminal to the first terminal; the first terminal receives a second message sent by the second terminal, wherein the second message comprises the use state of the second terminal and the performance state of the second terminal.
With reference to the first aspect, in some implementations of the first aspect, the first terminal obtains a usage state of the second terminal, including: the first terminal reads the use state of the second terminal and the performance state of the second terminal in the local memory, wherein when the use state of the second terminal changes and/or the performance state of the second terminal changes, an update message is sent to the first terminal, the update message comprises the use state of the second terminal and the performance state of the second terminal, and when the first terminal receives the update message sent by the second terminal, the use state of the second terminal and the performance state of the second terminal are updated.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first terminal determines the use state of the first terminal according to the terminal use state parameter.
With reference to the first aspect, in certain implementation manners of the first aspect, the terminal usage status parameter includes at least one of the following parameters: whether the screen of the terminal is lit up, whether the terminal is gazed at, whether the terminal is held, whether the terminal is touched, whether the terminal is worn, and whether the terminal is moving.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first terminal and the second terminal exchange service capability information.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first terminal determines a terminal executing a first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously and repeatedly executed under the first terminal and the second terminal, wherein the first service is currently executed on the first terminal.
With reference to the first aspect, in some implementations of the first aspect, the determining, by the first terminal, a terminal that performs the first service according to a usage state of the first terminal and a usage state of the second terminal includes: when the use state of the first terminal meets the first condition and the use state of the second terminal does not meet the first condition, the first terminal executes the first service; or when the first terminal usage state does not meet the first condition and the second terminal usage state meets the first condition, the first terminal sends a first trigger message to the second terminal, wherein the first trigger message is used for notifying the second terminal to execute the task, and the first trigger message comprises a first result of the first terminal executing the first task; or when the use state of the first terminal meets the first condition and the use state of the second terminal meets the first condition, the first terminal determines the terminal for executing the first task according to the performance state of the terminal.
When the usage state of the first terminal does not satisfy the first condition and the usage state of the second terminal does not satisfy the first condition, the first task pauses execution.
With reference to the first aspect, in certain implementation manners of the first aspect, the determining, by the first terminal, a terminal that performs the first task according to a performance state of the terminal includes: when the performance state of the first terminal meets a third condition and the performance state of the second terminal does not meet the third condition, the first terminal executes the first task; or when the performance state of the first terminal does not meet the three conditions and the performance state of the second terminal meets the execution condition of the first task, the first terminal sends the first trigger message to the second terminal.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first terminal receives a second trigger message sent by the second terminal, wherein the second trigger message is used for notifying the first terminal to execute the first task, the second trigger message comprises a second result of the second terminal to execute the first task, the second result is accumulated on the first result, and the using state of the second terminal does not meet the first condition.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: the first terminal acquires a use state of the second terminal and service persistence of the second terminal.
In a second aspect, a method for reporting a usage state and a performance state of a terminal is provided, including: the second terminal determines the use state of the second terminal according to the use state parameters of the terminal; the second terminal determines the performance state of the second terminal; the second terminal sends an update message to the first terminal, the update message including the second terminal usage state and the second terminal capability state.
With reference to the second aspect, in some implementations of the second aspect, the method further includes the second terminal receiving a notification message sent by the first terminal, the second terminal being in a use state; the second terminal executes the notification message.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: the second terminal receives a first trigger message sent by the first terminal, wherein the first trigger message is used for notifying the second terminal to execute the first task, and the first trigger message comprises a result of the first terminal executing the first task; the second terminal performs the first task.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: when the second terminal stops using, the second terminal sends a second trigger message to the first terminal, wherein the second trigger message is used for notifying the first terminal to execute the first task, and the second trigger message comprises a result of the second terminal executing the first task.
With reference to the second aspect, in certain implementations of the second aspect, the terminal usage status parameter includes at least one of the following parameters: whether the screen of the terminal is lit up, whether the terminal is gazed at, whether the terminal is held, whether the terminal is touched, whether the terminal is worn, and whether the terminal is moving.
In a third aspect, a method for avoiding service repetition is provided, including: the first terminal determines a terminal for executing a first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously executed under the first terminal and the second terminal.
With reference to the third aspect, in some implementations of the third aspect, the determining, by the first terminal, a terminal that performs the first service according to a usage state of the first terminal and a usage state of the second terminal includes: the first terminal performing the first service when the first terminal is in use and when the second terminal is not in use; or when the first terminal is not used and the second terminal is in use, the first terminal sends a first trigger message to the second terminal, wherein the first trigger message is used for notifying the second terminal to execute the task, and the first trigger message comprises a result of the first terminal executing the first task; or when the first terminal and the second terminal are both in use, the first terminal determines the terminal performing the first task according to the service persistence of the terminal.
With reference to the third aspect, in some implementations of the third aspect, the determining, by the first terminal, a terminal that performs the first task according to service persistence of the terminal includes: when the service persistence of the first terminal meets the execution condition of the first task, the first terminal executes the first task; or when the service persistence of the first terminal does not meet the execution condition of the first task, and the service persistence of the second terminal meets the execution condition of the first task, the first terminal sends the first trigger message to the second terminal.
With reference to the third aspect, in certain implementations of the third aspect, the method further includes: the first terminal receives a second trigger message sent by the second terminal, wherein the second trigger message is used for notifying the first terminal to execute the first task, and the second trigger message comprises a result of the second terminal executing the first task; and the first terminal executes the first task according to the second trigger message.
With reference to the third aspect, in certain implementations of the third aspect, the method includes: the first terminal acquires a notification message;
the first terminal determines a terminal for executing the notification message from the first terminal and the second terminal according to the use state of the terminal and the service persistence of the terminal, wherein the use state of the terminal comprises the use state of the first terminal and the use state of the second terminal, the service persistence of the terminal comprises the service persistence of the first terminal and the service persistence of the second terminal, the first terminal and the second terminal are associated, and the first terminal and the second terminal can realize the service indicated by the notification message; and processing the notification message according to the determined terminal executing the notification message.
With reference to the third aspect, in some implementations of the third aspect, the determining, by the first terminal, one terminal that performs the notification message from the first terminal and the second terminal according to a usage state of the terminal and a service persistence of the terminal includes: when the service persistence of the first terminal does not meet the service triggered by the notification message, determining that the second terminal executes the notification message; or alternatively, the first and second heat exchangers may be,
when the service persistence of the first terminal meets the service triggered by the notification message, determining that the first terminal executes the notification message when the service persistence of the second terminal does not meet the service triggered by the notification message; or alternatively, the first and second heat exchangers may be,
when the service persistence of the first terminal does not meet the service triggered by the notification message, determining that the first terminal executes the notification message; or alternatively, the first and second heat exchangers may be,
when the service persistence of the first terminal meets the service triggered by the notification message and the service persistence of the second terminal meets the service triggered by the notification message, the first terminal determines one terminal executing the notification message from the first terminal and the second terminal according to the use state of the first terminal and the use state of the second terminal.
With reference to the third aspect, in some implementations of the third aspect, the determining, by the first terminal, one terminal that performs the notification message from the first terminal and the second terminal according to a usage state of the first terminal and a usage state of the second terminal includes: determining that the first terminal performs the notification message when the first terminal is in use and when the second terminal is not in use; or, determining that the first terminal performs the notification message when the first terminal is in use and when the second terminal is in use; or, when the first terminal is not in use and the second terminal is in use, determining that the second terminal performs the notification message; or, when the first terminal is not used and when the second terminal is not used, determining that the first terminal performs the notification message.
With reference to the third aspect, in some implementations of the third aspect, processing the notification message according to the determined one terminal executing the notification message includes: the first terminal executes the notification message; or, sending the notification message to the second terminal.
With reference to the third aspect, in certain implementations of the third aspect, the method further includes: the first terminal acquires a use state of the second terminal and service persistence of the second terminal.
With reference to the third aspect, in some implementations of the third aspect, the first terminal obtaining a usage state of the second terminal and service persistence of the second terminal includes: the first terminal sends a first message to the second terminal, wherein the first message is used for indicating the second terminal to send the using state of the second terminal and the service persistence of the second terminal to the first terminal; the first terminal receives a second message sent by the second terminal, wherein the second message comprises the use state of the second terminal and the service persistence of the second terminal.
With reference to the third aspect, in some implementations of the third aspect, the first terminal obtains a usage state of the second terminal, including: the first terminal reads the use state of the second terminal and the service persistence of the second terminal in the local memory, wherein when the use state of the second terminal changes and the service persistence of the second terminal changes, an update message is sent to the first terminal, the update message comprises the use state of the second terminal and the service persistence of the second terminal, and when the first terminal receives the update message sent by the second terminal, the update message comprises the use state of the second terminal and the service persistence of the second terminal.
With reference to the third aspect, in some implementations of the third aspect, the first terminal determines a usage state of the first terminal according to a terminal usage state parameter.
With reference to the third aspect, in certain implementations of the third aspect, the terminal usage status parameter includes at least one of the following parameters: whether the screen of the terminal is lit up, whether the terminal is gazed at, whether the terminal is held, whether the terminal is touched, whether the terminal is worn, and whether the terminal is moving.
With reference to the third aspect, in certain implementations of the third aspect, the method further includes: the first terminal and the second terminal exchange service capability information.
In a fourth aspect, there is provided a terminal comprising: a transceiver for acquiring a notification message; a processor, configured to determine an execution terminal for executing the notification message from the first terminal and the second terminal according to a usage state of the terminal and/or a performance state of the terminal, where the first terminal and the second terminal are associated; the service state of the terminal comprises the service state of the first terminal and the service state of the second terminal, and the performance state of the terminal comprises the performance state of the first terminal and the performance state of the second terminal.
With reference to the fourth aspect, in some implementations of the fourth aspect, the processor is specifically configured to: when the use state of the first terminal meets a first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal meets the first condition and the use state of the second terminal meets the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal meets the first condition, determining that the second terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message.
With reference to the fourth aspect, in some implementations of the fourth aspect, the processor is specifically configured to: when the performance state of the first terminal meets a second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal meets the second condition and the performance state of the second terminal meets the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal meets the second condition, determining that the second terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message.
With reference to the fourth aspect, in some implementations of the fourth aspect, the processor is specifically configured to: when the use state of the first terminal does not meet the first condition and the use state of the second terminal does not meet the first condition, the first terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal; or when the use state of the first terminal meets the first condition, the use state of the second terminal meets the first condition, and the first terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal.
With reference to the fourth aspect, in some implementations of the fourth aspect, the processor is specifically configured to: when the performance state of the first terminal meets a second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal meets the second condition and the performance state of the second terminal meets the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal meets the second condition, determining that the second terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message.
With reference to the fourth aspect, in certain implementations of the fourth aspect, the processor is specifically configured to execute the notification message; or when the executing terminal is the second terminal, the transceiver sends the notification message to the second terminal, and the second terminal executes the notification message.
With reference to the fourth aspect, in some implementations of the fourth aspect, a usage state of the second terminal and a performance state of the second terminal are obtained.
With reference to the fourth aspect, in some implementations of the fourth aspect, the transceiver is specifically configured to: sending a first message to the second terminal, wherein the first message is used for indicating the second terminal to send the use state of the second terminal and the performance state of the second terminal to the first terminal; and receiving a second message sent by the second terminal, wherein the second message comprises the use state of the second terminal and the performance state of the second terminal.
With reference to the fourth aspect, in some implementations of the fourth aspect, the processor is specifically configured to: and reading the use state of the second terminal and the performance state of the second terminal on a memory of the first terminal, wherein when the use state of the second terminal is changed and/or the performance state of the second terminal is changed, an update message is sent to the first terminal, the update message comprises the use state of the second terminal and the performance state of the second terminal, and when the first terminal receives the update message sent by the second terminal, the use state of the second terminal and the performance state of the second terminal are updated.
With reference to the fourth aspect, in certain implementations of the fourth aspect, the processor is further configured to: and determining the use state of the first terminal according to the terminal use state parameter.
With reference to the fourth aspect, in some implementations of the fourth aspect, the terminal usage status parameter includes at least one of the following parameters: whether the screen of the terminal is lit up, whether the terminal is gazed at, whether the terminal is held, whether the terminal is touched, whether the terminal is worn, and whether the terminal is moving.
With reference to the fourth aspect, in some implementations of the fourth aspect, the transceiver sends service capability information of the first terminal to the second terminal; and/or the transceiver receives the service capability information sent by the second terminal.
With reference to the fourth aspect, in certain implementations of the fourth aspect, the processor is further configured to: the first terminal determines a terminal executing a first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously and repeatedly executed under the first terminal and the second terminal, wherein the first service is currently executed on the first terminal.
With reference to the fourth aspect, in some implementations of the fourth aspect, the processor is specifically configured to: when the use state of the first terminal meets the first condition and the use state of the second terminal does not meet the first condition, the first terminal executes the first service; or when the first terminal usage state does not meet the first condition and the second terminal usage state meets the first condition, the first terminal sends a first trigger message to the second terminal, wherein the first trigger message is used for notifying the second terminal to execute the task, and the first trigger message comprises a first result of the first terminal executing the first task; or when the use state of the first terminal meets the first condition and the use state of the second terminal meets the first condition, the first terminal determines the terminal for executing the first task according to the performance state of the terminal.
When the usage state of the first terminal does not satisfy the first condition and the usage state of the second terminal does not satisfy the first condition, the first task pauses execution.
With reference to the fourth aspect, in some implementations of the fourth aspect, the processor is specifically configured to: when the performance state of the first terminal meets a third condition and the performance state of the second terminal does not meet the third condition, the first terminal executes the first task; or when the performance state of the first terminal does not meet the three conditions and the performance state of the second terminal meets the execution condition of the first task, the first terminal sends the first trigger message to the second terminal.
With reference to the fourth aspect, in some implementations of the fourth aspect, the transceiver is specifically configured to: the first terminal receives a second trigger message sent by the second terminal, wherein the second trigger message is used for notifying the first terminal to execute the first task, the second trigger message comprises a second result of the second terminal to execute the first task, the second result is accumulated on the first result, and the using state of the second terminal does not meet the first condition.
In a fifth aspect, there is provided a terminal comprising: the processor is used for determining the using state of the second terminal according to the terminal using state parameter; the processor is configured to determine a performance state of the second terminal; and a transceiver for transmitting an update message to the first terminal, the update message including the second terminal usage state and the second terminal performance state.
With reference to the fifth aspect, in certain implementation manners of the fifth aspect, the transceiver receives a notification message sent by the first terminal, and the second terminal is in a use state; the processor executes the notification message.
With reference to the fifth aspect, in certain implementation manners of the fifth aspect, the transceiver receives a first trigger message sent by the first terminal, where the first trigger message is used to notify the second terminal to execute the first task, and the first trigger message includes a result of the first terminal executing the first task; the processor performs the first task.
With reference to the fifth aspect, in certain implementations of the fifth aspect, the terminal further includes: when the second terminal stops using, the transceiver sends a second trigger message to the first terminal, the second trigger message is used for notifying the first terminal to execute the first task, and the second trigger message comprises a result of the second terminal executing the first task.
With reference to the fifth aspect, in certain implementations of the fifth aspect, the terminal usage status parameter includes at least one of the following parameters: whether the screen of the terminal is lit up, whether the terminal is gazed at, whether the terminal is held, whether the terminal is touched, whether the terminal is worn, and whether the terminal is moving.
In a sixth aspect, there is provided a terminal device comprising at least one processor and a memory, the memory being for storing instructions, the processor being for executing the memory-stored instructions, and the at least one processor being for executing the method of the first aspect above or any possible implementation of the first aspect or the method of the second aspect or any possible implementation of the second aspect when the processor executes the memory-stored instructions.
In a seventh aspect, a terminal device is provided, the device comprising at least one processor and interface circuitry, the at least one processor being configured to perform the method of the first aspect above or any possible implementation of the first aspect, or to perform the method of the second aspect or any possible implementation of the second aspect.
In an eighth aspect, a computer program product is provided, the computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect or any possible implementation of the first aspect, or to perform the method of the second aspect or any possible implementation of the second aspect.
A ninth aspect provides a computer readable storage medium having stored therein a computer program for performing the method of the first aspect or any possible implementation of the first aspect or performing the method of the second aspect or any possible implementation of the second aspect when the computer program is executed.
In a tenth aspect, a chip is provided, comprising a processor and a communication interface, the processor being configured to invoke and execute instructions from the communication interface, the processor, when executing the instructions, implementing the method of the first aspect or any possible implementation of the first aspect, or the method of the second aspect or any possible implementation of the second aspect.
Optionally, the chip may further include a memory having instructions stored therein, the processor being configured to execute the instructions stored in the memory or derived from other instructions. The processor, when executed, is adapted to carry out the method of the first aspect or any possible implementation of the first aspect or the method of the second aspect or any possible implementation of the second aspect.
In an eleventh aspect, a system is provided, the system comprising means for carrying out the methods and the various possible designs of the first aspect described above, and means for carrying out the methods and the various possible designs of the second aspect described above.
Drawings
FIG. 1 is a schematic diagram of a system suitable for use in the method of avoiding duplicate alerts of notification messages of the present application;
FIG. 2 is a schematic flow chart of a method of the present application for avoiding duplicate alerts of notification messages;
fig. 3 is a schematic diagram of a UI interface and a notification message notification interface for use states of two terminals;
fig. 4 is a schematic diagram of a UI interface and a notification message notification interface for the performance states of two terminals;
FIG. 5 is a schematic flow chart of a method of updating a terminal usage state and a performance state of the present application;
FIG. 6 is a schematic flow chart of a method of avoiding duplicate services of the present application;
FIG. 7 shows a schematic block diagram of an apparatus provided by the present application;
FIG. 8 shows a schematic block diagram of an apparatus provided by the present application;
fig. 9 is a schematic structural diagram of a terminal device provided by the present application.
Detailed Description
The technical scheme of the application will be described below with reference to the accompanying drawings.
The terminal in the present application may be referred to as: a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment, etc.
The terminal device may be a device providing voice/data connectivity to a user, e.g., a handheld device with wireless connectivity, an in-vehicle device, etc. Currently, some examples of terminals are: a mobile phone, tablet, laptop, palmtop, mobile internet device (mobile internet device, MID), wearable device, virtual Reality (VR) device, augmented reality (augmented reality, AR) device, wireless terminal in industrial control (industrial control), wireless terminal in unmanned (self driving), wireless terminal in teleoperation (remote medical surgery), wireless terminal in smart grid (smart grid), wireless terminal in transportation security (transportation safety), wireless terminal in smart city (smart city), wireless terminal in smart home (smart home), cellular phone, cordless phone, session initiation protocol (session initiation protocol, SIP) phone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication function, computing device or other processing device connected to wireless modem, vehicle-mounted device, wearable device, terminal device in future communication land-based network (public land mobile network), and the like, without limiting the application thereto.
By way of example and not limitation, in the present disclosure, a wearable device may also be referred to as a wearable smart device, which is a generic term for the intelligent design of daily wear by applying wearable technology, and the development of wearable devices, such as glasses, gloves, watches, apparel, shoes, and the like. The wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize powerful functions through software support, data interaction and end cloud interaction. The generalized wearable intelligent device includes full functionality, large size, and may not rely on the smart phone to implement complete or partial functionality, such as: smart watches or smart glasses, etc., and focus on only certain types of application functions, and need to be used in combination with other devices, such as smart phones, for example, various smart bracelets, smart jewelry, etc. for physical sign monitoring.
In addition, in the application, the terminal equipment can also be terminal equipment in an internet of things (internet of things, ioT) system, and the IoT is an important component of the development of future information technology, and the main technical characteristics of the terminal equipment are that the object is connected with the network through a communication technology, so that the man-machine interconnection and the intelligent network of the internet of things are realized.
While the various terminal devices described above, if located on a vehicle (e.g., placed in or mounted in the vehicle), may be considered as in-vehicle terminal devices, such as a center console, also referred to as an on-board unit (OBU).
In the present application, the terminal device may further include a relay (relay). Or it is understood that all that is capable of data communication with a base station can be seen as a terminal device. The terminal device in the present application may also be referred to as a terminal.
In the application, the terminal equipment comprises a hardware layer, an operating system layer running on the hardware layer and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (central processing unit, CPU), a memory management unit (memory management unit, MMU), and a memory (also referred to as a main memory). The operating system may be any one or more computer operating systems that implement business processes through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system, a distributed system (distributed system) built on the internet, and the like. The application layer comprises applications such as a browser, an address book, word processing software, instant messaging software and the like. The present application is not limited to the specific configuration of the execution body of the method provided by the present application, and the execution body of the method provided by the present application may be, for example, a terminal device or a network device, or a functional module capable of calling and executing a program in the terminal device or the network device, or an operating system, or the like, as long as the program in which the code of the method provided by the present application is recorded can be executed to perform communication according to the method provided by the present application.
Furthermore, various aspects or features of the application may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques. The term "article of manufacture" as used herein encompasses a computer program accessible from any computer-readable device, carrier, or media. For example, computer-readable media can include, but are not limited to, magnetic storage devices (e.g., hard disk, floppy disk, or magnetic strips, etc.), optical disks (e.g., compact disk, CD, digital versatile disk, digital versatile disc, DVD, etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory, EPROM), cards, sticks, or key drives, etc. Additionally, various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" can include, without being limited to, wireless channels and various other media capable of storing, containing, and/or carrying instruction(s) and/or data.
In recent years, the wearable equipment is small in size, convenient to wear, high in function, more and more popular with users and rapid in market growth. The wearable device and the smart phone complement each other, and the wearable device and the smart phone of the same manufacturer are matched, so that better, more convenient and efficient service can be provided for users. For example, a phone call, message, and alert message from a mobile phone may be pushed to a wearable device via a bluetooth, wiFi, etc. network to alert the user. However, the wearable device and the smart phone have some similar service capabilities, and in some situations, the wearable device and the smart phone can provide services, such as incoming calls, receiving information, reminding an alarm clock, and the like, at the moment, the wearable device and the smart phone can ring or vibrate at the same time. The repeated reminding synchronous pushing of the message not only affects the daily life of the user, but also causes resource waste.
In view of this, the present application provides a method for avoiding repeated reminding of a notification message, in which a first terminal determines a terminal executing the notification message from among the first terminal and a second terminal according to a usage state of the terminal and/or a performance state of the terminal after the first terminal acquires the notification message. Therefore, in the prior art, the notification message is directly pushed to the second terminal without any judgment, so that the resource waste and the disturbance to the user caused by the fact that the first terminal and the second terminal execute the notification message are avoided.
To facilitate an understanding of the present application, a system suitable for use with the present application will first be briefly described in connection with FIG. 1.
Fig. 1 is a schematic diagram of a system 100 suitable for use in the method of avoiding duplicate alerts of notification messages of the present application. As shown in fig. 1, the system 100 includes two communication devices, e.g., a first terminal 110 and a second terminal 120. The first terminal and the second terminal can perform data transmission through Bluetooth, wiFi and other communication modes.
It should be understood that the first terminal 110 shown in fig. 1 is a smart phone, and the second terminal 120 is a smart band, which is used as an example only, and does not limit the present application. More terminals, such as smart watches, smart furniture, car computers, etc., may also be included in the system. The terminal devices included in the system shown in fig. 1 may be the various forms of terminal devices described above. The application is not shown one by one in the figures.
The method for avoiding repeated reminding of notification messages provided by the present application is described in detail below with reference to fig. 2, fig. 2 is a schematic flowchart of a method 200 for avoiding repeated reminding of notification messages according to an embodiment of the present application, where the method 200 may be applied to the scenario shown in fig. 1, and of course, may also be applied to other communication scenarios, and the present application is not limited herein.
It should also be understood that in the present application, the method will be described taking the first terminal and the second terminal as an execution body of the execution method. By way of example, and not limitation, the execution subject of the execution method may also be a chip, a chip system, a processor, or the like applied to the first terminal and the second terminal.
As shown in fig. 2, the method 200 shown in fig. 2 may include S210 to S230. The various steps in method 200 are described in detail below in conjunction with fig. 2.
S210, the first terminal acquires the notification message.
S220, the first terminal determines an execution terminal for executing the notification message from the first terminal and the second terminal according to the use state of the terminal and/or the performance state of the terminal, wherein the first terminal and the second terminal are associated.
The service state of the terminal comprises the service state of the first terminal and the service state of the second terminal, and the performance state of the terminal comprises the performance state of the first terminal and the performance state of the second terminal.
S230, the execution terminal executes the notification message.
In the application, after a first terminal acquires a notification message, an execution terminal for executing the notification message is determined from the first terminal and a second terminal according to the use state of the terminal and the performance state of the terminal. Therefore, in the prior art, the notification message is directly pushed to the second terminal without any judgment, so that the resource waste and the disturbance to the user caused by the fact that the first terminal and the second terminal execute the notification message are avoided.
For a better understanding of the present application, the terms in the present application are explained below.
The notification message in the application comprises the notification message sent by the first terminal receiving the network equipment or the notification message generated by the first terminal. Taking the mobile phone as an example, the notification message may be an incoming call reminder, an information prompt, or an alarm reminder set on the mobile phone, and other service messages, which may be notification messages triggered by context intelligence, such as weather forecast pushing information, etc.
The first terminal and the second terminal in the embodiment of the application are associated. The first terminal and the second terminal are associated with each other by connecting the first terminal and the second terminal through Bluetooth BT or WiFi, and logging in by using the same account number. The first terminal and the second terminal may log in by using different accounts, but the different accounts are related to each other, for example, the different accounts are all the identity information of a user, or the different accounts all belong to the same shared family.
The use state of the terminal in the embodiment of the application is whether the terminal is currently used by a user or not.
The performance state of the terminal in the embodiment of the application is the self performance state of the equipment such as the electric quantity of the terminal or the occupation condition of storage resources of the terminal.
The execution terminal in the embodiment of the application executes the notification message to trigger different execution operations according to the notification message, for example, the notification message can be a bell, a voice broadcast, a message reminding vibration, a prompt message display and the like. If the terminal calls in the telephone information, the operation is performed to remind the user of the incoming call and ring. The terminal pushes messages such as weather forecast, and the operation can be to display weather prompt information and vibrate. The terminal reminds the timing service, and the execution operation can be voice broadcasting and the like.
In step S220, the first terminal may determine an execution terminal for executing the notification message from the first terminal and the second terminal according to the use state of the terminal and/or the performance state of the terminal, that is, the first terminal may determine an execution terminal for executing the notification message from the first terminal and the second terminal according to the use state of the terminal; the first terminal can also determine an execution terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the terminal; the first terminal may further determine an execution terminal for executing the notification message from the first terminal and the second terminal according to a usage state of the terminal and a performance state of the terminal, and these three cases will be described below respectively.
Optionally, the first terminal determines an execution terminal for executing the notification message from the first terminal and the second terminal according to the use state of the terminal, including: when the use state of the first terminal meets a first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal meets the first condition and the use state of the second terminal meets the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal meets the first condition, determining that the second terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message.
Specifically, the first condition is that the terminal is being used by the user, the use state of the terminal satisfies the first condition if the terminal is being used by the user, and the use state of the terminal does not satisfy the first condition if the terminal is not currently being used by the user. The first terminal receives the notification message, and the first terminal determines that the notification message is executed by a terminal being used by a user according to the use state of the first terminal and the use state of the second terminal. Determining that the first terminal performs the notification message when the first terminal is in use and the second terminal is not in use; or, when the first terminal is in use and when the second terminal is in use, determining that the first terminal executes the notification message; or, when the first terminal is not in use and when the second terminal is in use, determining that the second terminal executes the notification message; or, when the first terminal is not used and when the second terminal is not used, determining that the first terminal executes the notification message.
For example, the first terminal is a mobile phone, and the second terminal is a smart bracelet. A phone calls in the mobile phone, and the mobile phone determines a ringing terminal according to the use states of the mobile phone and the intelligent bracelet. When the mobile phone is in use and the intelligent bracelet is not in use, the mobile phone is determined to ring, and the mobile phone interface displays information of an incoming call; or, when the mobile phone is in use and the intelligent bracelet is in use, determining that the mobile phone rings; or when the mobile phone is not used and the intelligent bracelet is in use, determining that the intelligent bracelet rings, and sending a message of calling the incoming call to the intelligent bracelet by the mobile phone, wherein the intelligent bracelet rings to remind a user; or when the mobile phone is not used and the intelligent bracelet is not used, determining that the mobile phone rings. For example, fig. 3 is a schematic diagram of UI interfaces and notification message notification interfaces of usage states of two terminals. The first terminal is a mobile phone, the user is using, the second terminal is an intelligent bracelet, the user is not wearing the mobile phone at the moment, the first terminal is not used, the first terminal interface displays information of an incoming call, and the user is notified by ringing.
In the embodiment of the application, the first terminal determines the execution terminal according to the use state of the terminal, so that the resource waste and the disturbance of message repeated reminding to the user caused by repeated execution of the notification message can be avoided.
Optionally, the first terminal determines an execution terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the terminal, including: when the performance state of the first terminal meets a second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal meets the second condition and the performance state of the second terminal meets the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal meets the second condition, determining that the second terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message.
Specifically, the second condition is a condition of a performance state of the terminal, and if the performance state of the terminal is an electric quantity, the second condition may be a threshold value of a set electric quantity, for example, the electric quantity of the terminal is set to be greater than or equal to 30%, and when the electric quantity of the first terminal is greater than or equal to 30% and the electric quantity of the second terminal is less than 30%, it is determined that the first terminal executes the notification message; or when the electric quantity of the first terminal is greater than or equal to 30% and the electric quantity of the second terminal is greater than or equal to 30%, determining that the first terminal executes the notification message; or when the electric quantity of the first terminal is less than 30% and the electric quantity of the second terminal is greater than or equal to 30%, determining that the second terminal executes the notification message; or when the electric quantity of the first terminal is less than 30% and the electric quantity of the second terminal is less than 30%, determining that the first terminal executes the notification message. Fig. 4 is a diagram of UI interfaces and notification message notification interfaces of performance states of two terminals. In fig. 4, the performance state is an electric quantity, the first terminal is a mobile phone, the second terminal is an intelligent bracelet, the current electric quantity of the first terminal is 40%, the current electric quantity of the second terminal is 10%, and when the electric quantity of the first terminal is greater than or equal to 30% and the electric quantity of the second terminal is less than 30%, the first terminal is determined to ring to notify the user.
It should be understood that the above-mentioned second condition is exemplified by an electric quantity, and the second condition may also be a condition of a performance state of other terminals, such as a storage resource occupation situation of the terminal, for example. It should also be appreciated that the second condition may also include a plurality of performance states of the terminal, e.g. the second condition may be determined based on the power and the memory resource occupancy of the terminal together. For example, if the service persistence of the terminal has a plurality of parameters, the service persistence of the terminal may be determined by averaging the plurality of parameters, and weights of different parameters may be set to calculate the service persistence of the terminal. The application is not limited in any way as to how to determine the serviceability of the terminal.
It should be understood that the second condition is a condition of a performance state of the terminal, and the second conditions of the first terminal and the second terminal may be the same condition or different conditions. Taking the performance state of the terminal as the electric quantity as an example, the second condition corresponding to the first terminal may be that the electric quantity of the terminal is greater than or equal to 30%, and the second condition corresponding to the second terminal may be that the electric quantity of the terminal is greater than or equal to 40%. Different terminals can also correspond to different performances, namely, the performances of the second conditions corresponding to different terminals are different, for example, the first terminal runs more programs and consumes more power, the second conditions corresponding to the first terminal can be that the terminal electric quantity is more than or equal to 30%, the memory of the second terminal is smaller, the functions are less and the power is saved, and the second conditions corresponding to the second terminal can be that the memory space of the terminal is more than or equal to 30%.
It should be further understood that, for the notification messages of different contents, unified second conditions may be set, where, as the standard of the second conditions (for example, electric quantity) corresponding to the messages of incoming calls, voice broadcasts, etc., the electric quantity is greater than or equal to 30%, that is, the second conditions are satisfied; the notification message may also be configured with different second conditions, for example, the second condition (for example, the power) of the incoming call is that the power is greater than or equal to 10%, and the second condition (for example, the power) of the voice broadcast is that the power is greater than or equal to 20%. The present application is not limited in any way as to how to set the different second condition according to the content of the notification message.
In the embodiment of the application, the first terminal determines the execution terminal according to the performance state of the terminal, so that the resource waste and the disturbance of message repeated reminding to the user caused by repeated execution of the notification message can be avoided.
Optionally, the first terminal determines an execution terminal for executing the notification message from the first terminal and the second terminal according to the use state of the terminal and the performance state of the terminal. When the first terminal determines to execute the terminal from the first terminal and the second terminal according to the use state of the terminal and the performance state of the terminal, the first terminal can judge the use state of the terminal first and then judge the performance state of the terminal, and the first terminal can also judge the performance state of the terminal first and then judge the use state of the terminal.
Optionally, the first terminal first determines a performance state of the terminal, and then determines a usage state of the terminal to determine an execution terminal of the notification message, including: when the performance state of the first terminal does not meet the second condition, determining that the second terminal executes the notification message; or the performance state of the first terminal meets the second condition, the performance state of the second terminal does not meet the second condition, and the first terminal is determined to execute the notification message; or when the performance state of the first terminal does not meet the second condition, determining that the first terminal executes the notification message; or, the performance state of the first terminal meets the second condition, the performance state of the second terminal meets the second condition, the first terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the use state of the first terminal and the use state of the second terminal, and when the use state of the first terminal meets the first condition and the use state of the second terminal does not meet the first condition, the first terminal is determined to execute the notification message; or when the use state of the first terminal meets the first condition and the use state of the second terminal meets the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal meets the first condition, determining that the second terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message.
Taking the performance state of the terminal as an example of the electric quantity, the method simply illustrates that the first terminal determines the execution terminal from the first terminal and the second terminal according to the use state of the terminal and the performance state of the terminal. If the electric quantity of the terminal is greater than or equal to 30% and is set as a second condition, the first terminal receives the notification message, the first terminal determines to execute the terminal according to the electric quantity of the first terminal and the electric quantity of the second terminal, and when the electric quantity of the first terminal is greater than or equal to 30% and the electric quantity of the second terminal is less than 30%, the first terminal is determined to execute the notification message; or when the electric quantity of the first terminal is less than 30% and the electric quantity of the second terminal is greater than or equal to 30%, determining that the second terminal executes the notification message; or when the electric quantity of the first terminal is less than 30% and the electric quantity of the second terminal is less than 30%, determining that the first terminal executes the notification message or the notification message; when the electric quantity of the first terminal is greater than or equal to 30% and the electric quantity of the second terminal is greater than or equal to 30%, determining an execution terminal according to the use state of the terminal, and when the first terminal is in use and the second terminal is not in use, determining the first terminal to execute the notification message; or, when the first terminal is in use and when the second terminal is in use, determining that the first terminal executes the notification message; or, when the first terminal is not in use and when the second terminal is in use, determining that the second terminal executes the notification message; or, when the first terminal is not used and when the second terminal is not used, determining that the first terminal executes the notification message.
Specifically, for example, the first terminal is a mobile phone, and the second terminal is a smart bracelet. The mobile phone calls a telephone, and the mobile phone determines which terminal rings to inform the user according to the electric quantity of the mobile phone and the intelligent bracelet. When the electric quantity of the mobile phone is more than or equal to 30% and the electric quantity of the intelligent bracelet is less than 30%, determining that the mobile phone rings; or when the electric quantity of the mobile phone is less than 30% and the electric quantity of the intelligent bracelet is greater than or equal to 30%, determining that the intelligent bracelet rings; or when the electric quantity of the mobile phone is less than 30% and the electric quantity of the intelligent bracelet is less than 30%, determining that the mobile phone rings; when the electric quantity of the mobile phone is greater than or equal to 30% and the electric quantity of the intelligent bracelet is greater than or equal to 30%, the ringing terminal can be further determined according to the use states of the mobile phone and the intelligent bracelet, and when the mobile phone is being used by a user and the intelligent bracelet is not being used by the user, the ringing of the mobile phone is determined; or determining that the mobile phone rings when the mobile phone is being used by a user and the intelligent bracelet is being used by the user; or when the mobile phone is not used by the user and the intelligent bracelet is being used by the user, determining that the intelligent bracelet rings, and sending a message of calling the incoming call to the intelligent bracelet by the mobile phone, wherein the intelligent bracelet rings to remind the user; or when the mobile phone and the intelligent bracelet are not used by the user, determining that the mobile phone rings.
In the embodiment of the application, the first terminal determines the execution terminal of the notification message from the first terminal and the second terminal according to the performance states of the terminals, and when the performance states of the first terminal and the second terminal can execute the notification message, the first terminal further determines the execution terminal according to the use state of the terminal, so that the repeated execution of the notification message can be avoided, the resource waste is caused, the user is influenced, the insufficient performance of the currently used terminal can be effectively avoided, and the execution of the notification message is delayed.
Optionally, the first terminal first determines a use state of the terminal, and then determines a performance state of the terminal to determine an execution terminal of the notification message, including: when the use state of the first terminal does not meet the first condition, determining that the second terminal executes the notification message; or when the use state of the first terminal meets the first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal does not meet the first condition, and the use state of the second terminal does not meet the first condition; or when the use state of the first terminal meets the first condition, the use state of the second terminal meets the first condition, the first terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal, and when the performance state of the first terminal meets the second condition and the performance state of the second terminal does not meet the second condition, the first terminal is determined to execute the notification message; or when the performance state of the first terminal meets the second condition and the performance state of the second terminal meets the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal meets the second condition, determining that the second terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message.
In the embodiment of the application, the first terminal determines the execution terminal of the notification message from the first terminal and the second terminal according to the use state of the terminal, and when the use states of the first terminal and the second terminal can execute the notification message, the first terminal further determines the execution terminal according to the performance state of the terminal, so that the notification message can be prevented from being repeatedly executed, resource waste is caused, a user is influenced, and the fact that the notification message is executed by an unused terminal is effectively avoided, so that the user does not notice the notification message, and the plan of the user is influenced.
Optionally, the executing terminal executes the notification message, including: when the executing terminal is the first terminal, the first terminal executes the notification message; or when the executing terminal is the second terminal, the first terminal sends the notification message to the second terminal, and the second terminal executes the notification message.
Optionally, the method further comprises: the first terminal obtains a use state of the second terminal and a performance state of the second terminal.
Optionally, the first terminal obtains a use state of the second terminal and service persistence of the second terminal, including:
The first terminal sends a first message to the second terminal, wherein the first message is used for indicating the second terminal to send the using state of the second terminal and the performance state of the second terminal to the first terminal; the first terminal receives a second message sent by the second terminal, wherein the second message comprises the use state of the second terminal and the performance state of the second terminal.
Specifically, after the first terminal obtains the notification message, the first terminal does not have the use state of the second terminal and the performance state information of the second terminal locally, and the first terminal needs to send a first message to the second terminal, where the first message is used to instruct the second terminal to send the use state of the second terminal and the performance state of the second terminal to the first terminal, and after the second terminal receives the first message, the second terminal sends a second message to the first terminal, where the second message includes the use state of the second terminal and the performance state of the second terminal. In this embodiment, the first terminal does not store the usage state of the second terminal and the service persistence of the second terminal, which are associated with the first terminal, so that the storage resource of the first terminal can be saved.
Optionally, the first terminal obtains a use state of the second terminal, including: the first terminal reads the use state of the second terminal and the performance state of the second terminal in the local memory, wherein when the use state of the second terminal changes and/or the performance state of the second terminal changes, an update message is sent to the first terminal, the update message comprises the use state of the second terminal and the performance state of the second terminal, and when the first terminal receives the update message sent by the second terminal, the use state of the second terminal and the performance state of the second terminal are updated.
Specifically, the first terminal stores the usage state of the second terminal and the performance state of the second terminal, and reads the usage state of the second terminal and the performance state of the second terminal in the local memory after acquiring the notification message. The second terminal can periodically report the use state of the second terminal and the performance state of the second terminal to the first terminal; or the second terminal may report the usage state of the second terminal and the performance state of the second terminal to the first terminal based on event triggering, for example, when the usage state of the second terminal changes, i.e. changes from the usage state to the non-usage state, or changes from the non-usage state to the usage state, the second terminal sends a status update message to the first terminal, for the first terminal to update the locally stored usage state of the second terminal; for another example, when the performance state of the second terminal reaches a preset threshold, the second terminal sends a performance state update message to the first terminal for the first terminal to update the locally stored performance state of the second terminal. In this embodiment, the use state of the second terminal and the performance state of the second terminal associated with the first terminal are stored on the first terminal, and after the notification message is not required to be acquired each time, the first terminal sends a message to the second terminal to determine the use state of the second terminal and the performance state of the second terminal, so that signaling overhead is reduced, and execution speed of the notification message is improved.
Specifically, the performance state of the terminal will be described by taking the power as an example. The storage of the first terminal can store the electric quantity of the first terminal and the second terminal, for example, the first terminal periodically inquires the electric quantity of the self equipment and sends a message for inquiring the electric quantity of the terminal to the second terminal, and the second terminal feeds back the current electric quantity to the first terminal according to the message for inquiring the electric quantity; in order to save storage resources, the first terminal may not store the electric quantity of the first terminal and the second terminal, and after the first terminal acquires the notification message, the first terminal sends a message for inquiring the electric quantity of the terminal to the second terminal, and the second terminal feeds back the current electric quantity to the first terminal according to the message for inquiring the electric quantity.
Optionally, the method further comprises: the first terminal determines the use state of the first terminal according to the terminal use state parameter.
Optionally, the terminal usage status parameter includes at least one of the following parameters: whether the terminal is gazed at, whether the screen of the terminal is lit up, whether the terminal is held, whether the terminal is touched, whether the terminal is worn, and whether the terminal is moving.
In particular, the first terminal may determine the usage status according to "whether it is gazed at". For example, a camera of the first terminal is used for extracting a face image of a user, human eye action recognition of the NPU is used for judging whether the user gazes at the screen of the first terminal for more than a preset time through artificial intelligence analysis, if the user gazes at the screen for more than the preset time, the first terminal is considered to be gazed, in the gazed state, the first terminal is considered to be in a use state, and in the non-gazed state, the first terminal is considered to be in a non-use state. The use state of the first terminal by the user can be determined according to the 'holding operation' of the first terminal, for example, a system of the first terminal detects that a screen of the first terminal is lightened, or the first terminal detects that the first terminal is held through a gyroscope, or the first terminal judges that the user is in an operation device through AI analysis, in the cases, the first terminal can be considered to be in the use state, otherwise, the first terminal is in the non-use state; the use state can also be determined according to the wearing state change of the first terminal, for example, the first terminal is close to the body of the user, and whether the first terminal is close to the body of the user is detected by a close light sensor on the first terminal; if the continuous approach exceeding the preset threshold is detected, the first terminal is considered to be in a use state; the use state of the first terminal can also be determined according to whether the first terminal is stationary or not, for example, the first terminal is detected through acceleration sensing, and whether the first terminal continuously moves to exceed a preset threshold or not; if the threshold is exceeded, the first terminal is considered to be in use.
It should be understood that, in order to avoid misjudging the usage state of the first terminal, the usage state of the first terminal may be judged in combination with a plurality of usage state parameters. When judging whether the first terminal is gazed, the first terminal can also detect whether the first terminal is held and/or operated at the same time, for example, the first terminal detects that a screen is lightened, the first terminal detects that the first terminal is held through a gyroscope, and the user is detected to be in operation equipment through a touch screen, so that the current use state of the first terminal is comprehensively analyzed and judged.
Optionally, the method further comprises: the first terminal and the second terminal exchange service capability information.
Specifically, when the first terminal and the second terminal initially establish a connection, the first terminal and the second terminal exchange service capability information. The service capability information is the service capability that the device can provide, such as setting up an alarm, answering a call, counting steps in sports, monitoring heart rate, and other functional information.
In the prior art, because the first terminal and the second terminal can execute the same service in some scenes, both terminals execute a certain service at the same time, which not only causes waste of power consumption, but also causes inaccuracy of service data due to difference of terminal devices. For example, the watch and the mobile phone are provided with similar sensing devices, the motion health data of the user can be recorded in a motion scene, when the user wears the watch and carries the mobile phone, the watch and the mobile phone are both in step counting at the same time, so that not only is the power consumption wasted, but also the error is caused to the user due to the fact that the precision of the sensing devices is different and service coordination is lacked between the two devices, and the displayed step number is in error. Secondly, the step counting service between the two devices lacks cooperative relay, for example, after a user gets up in the morning, the user wears the watch to prepare breakfast, after the breakfast is eaten, the watch is charged, the user carries the mobile phone to drive to work, and after the user works, the user wears the watch to conduct office work, and because the watch and the mobile phone have an un-carried neutral period, the movement data of the user cannot be accurately recorded. Therefore, the mobile phone and the watch are required to perform cooperative service, and the terminal for executing the step counting function is determined according to the use states of the mobile phone and the watch, so that the step number is continuously recorded on the mobile phone watch without interruption.
Optionally, the method further comprises: the first terminal determines a terminal executing a first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously and repeatedly executed under the first terminal and the second terminal, wherein the first service is currently executed on the first terminal.
In the embodiment of the application, the first terminal determines the terminal for executing the first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously and repeatedly executed under the first terminal and the second terminal, and errors caused by the fact that the first terminal and the second terminal simultaneously execute the first service and errors caused by the fact that the first terminal and the second terminal do not execute the cooperative service are effectively avoided.
Alternatively, the first service may be a dynamic service provided by the terminal, such as a sports step counting, heart rate monitoring, etc.
Optionally, the first terminal determines a terminal for executing the first service according to the use state of the first terminal and the use state of the second terminal, including: when the use state of the first terminal meets the third condition and the use state of the second terminal does not meet the third condition, the first terminal executes the first service; or when the use state of the first terminal does not meet the third condition and the use state of the second terminal meets the third condition, the first terminal sends a first trigger message to the second terminal, wherein the first trigger message is used for notifying the second terminal to execute the task, and the first trigger message comprises a first result of the first terminal executing the first task; or when the use state of the first terminal meets the third condition and the use state of the second terminal meets the third condition, the first terminal determines a terminal for executing the first task according to the performance state of the terminal; or when the usage state of the first terminal does not meet the third condition and the usage state of the second terminal does not meet the third condition, the first task pauses execution.
In order to understand the present application more clearly, the present application will be described in detail below with the first terminal as a mobile phone and the second terminal as a smart watch. For example, the first service is a sports step. The user carries the cell-phone and is listening the music, and the intelligent wrist-watch is not worn by the user, and the cell-phone carries out the step function of calculating this moment, and the intelligent wrist-watch does not carry out the step function, and when the user closed the music app on the cell-phone, when placing the cell-phone at the desktop, the cell-phone is in non-use state, and the cell-phone is calculated the step and is suspended. After the intelligent watch is worn, the intelligent watch sends a message of a use state to the mobile phone, after the mobile phone receives the message, the mobile phone sends a first trigger message to the intelligent watch, the first trigger message is used for notifying the intelligent watch to execute the step counting task, the first trigger message comprises the step number counted by the mobile phone, and after the intelligent watch receives the first trigger message, the step number is updated to execute the step counting. When the intelligent watch is taken down by a user and a desktop is placed, the intelligent watch sends a second trigger message to the mobile phone, the second trigger message is used for notifying the mobile phone to execute the exercise step counting, the second trigger message comprises the step number counted by the intelligent watch, the mobile phone receives the second trigger message, and the step number is updated to execute the step counting. If the user continues to use the mobile phone, the mobile phone performs step counting, if the user does not use the mobile phone, but continues to use the intelligent watch after a period of time passes, the mobile phone sends a first trigger message to the intelligent watch after receiving a message that the intelligent watch is in use, the first trigger message is used for notifying the intelligent watch to execute the task, and the first trigger message comprises the accumulated step number on the mobile phone. The mobile phone and the intelligent watch can cooperate in real time to count steps and synchronously accumulate the steps, and the user can see the naturally fused data no matter how the user looks at the step counting data on any one device. .
Optionally, when the usage state of the first terminal meets the first condition and the usage state of the second terminal meets the first condition, the first terminal determines, according to the performance state of the terminal, a terminal that performs the first task, including: when the performance state of the first terminal meets a fourth condition and the performance state of the second terminal does not meet the fourth condition, the first terminal executes the first task; or when the performance state of the first terminal does not meet the three conditions and the performance state of the second terminal meets the execution condition of the first task, the first terminal sends the first trigger message to the second terminal. Optionally, the method further comprises: the first terminal receives a second trigger message sent by the second terminal, wherein the second trigger message is used for notifying the first terminal to execute the first task, the second trigger message comprises a second result of the second terminal to execute the first task, the second result is accumulated on the first result, and the using state of the second terminal does not meet the first condition.
As described above, the first terminal is a mobile phone, and the second terminal is a smart watch, which describes the present application in detail. For example, the first service is a sports step. When the user is using the mobile phone and the user also wears the smart watch, the step counting terminal can be determined according to the performance states of the mobile phone and the smart watch, the step counting terminal can be described by taking the equipment service power consumption as the performance state, for example, the mobile phone is counting steps, the mobile phone acquires the unit power consumption of the mobile phone and the smart watch when receiving the information of the using state of the smart watch, the mobile phone counts steps when the unit service power consumption of the mobile phone is smaller than the unit service power consumption of the smart watch, the smart watch counts steps when the unit service power consumption of the mobile phone is greater than or equal to the electric quantity of the smart watch, the mobile phone can send a step counting triggering message to the smart watch to instruct the smart watch to count steps, the triggering message comprises the accumulated steps of the mobile phone, and the mobile phone pauses step counting to save the electric quantity.
It should be appreciated that the method for determining the usage status of the first terminal and the second terminal may refer to the foregoing description, and is not described herein.
The method for updating the terminal usage status and the performance status provided by the present application will be described in detail below with reference to fig. 5, where fig. 5 is a schematic flowchart of a method 300 for updating the terminal usage status and the performance status according to an embodiment of the present application, and the method 300 may be applied to the scenario shown in fig. 1, and may of course also be applied to other communication scenarios, and the present application is not limited thereto.
It should also be understood that in the present application, the method will be described taking the first terminal and the second terminal as an execution body of the execution method. By way of example, and not limitation, the execution subject of the execution method may also be a chip, a chip system, a processor, or the like applied to the first terminal and the second terminal.
As shown in fig. 5, the method 300 shown in fig. 5 may include S310 to S330. The various steps in method 300 are described in detail below in conjunction with FIG. 5.
S310, the second terminal determines the use state of the second terminal according to the use state parameters of the terminal.
S320, the second terminal determines a performance state of the second terminal.
And S330, the second terminal sends an update message to the first terminal, wherein the update message comprises the use state of the second terminal and the performance state of the second terminal.
In the application, the second terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the use state of the terminal and the performance state of the terminal after acquiring the notification message by determining the use state and the performance state of the terminal and sending an update message comprising the use state of the second terminal and the performance state of the second terminal to the first terminal. Therefore, in the prior art, the notification message is directly pushed to the second terminal without any judgment, so that the resource waste and the disturbance to the user caused by the fact that the first terminal and the second terminal execute the notification message are avoided.
Optionally, the method further comprises: the second terminal receives a first message sent by the first terminal, wherein the first message is used for indicating the second terminal to send the using state of the second terminal and the performance state of the second terminal to the first terminal; after the second terminal receives the first message, the second terminal sends a second message to the first terminal, wherein the second message comprises the use state of the second terminal and the performance state of the second terminal.
Optionally, the second terminal sends an update message to the first terminal, including: the second terminal periodically sends the update message to the first terminal; or the second terminal sends the update message to the first terminal based on event triggering.
Specifically, the second terminal may periodically report the usage state of the second terminal and the performance state of the second terminal to the first terminal; or the second terminal may report the usage state of the second terminal and the performance state of the second terminal to the first terminal based on event triggering, for example, when the usage state of the second terminal changes, i.e. changes from the usage state to the non-usage state, or changes from the non-usage state to the usage state, the second terminal sends a status update message to the first terminal, for the first terminal to update the locally stored usage state of the second terminal; for another example, when the performance state of the second terminal reaches a preset threshold, the second terminal sends a performance state update message to the first terminal for the first terminal to update the locally stored performance state of the second terminal.
Optionally, the method further comprises: the second terminal receives the notification message sent by the first terminal, and the second terminal is in a use state; the second terminal executes the notification message.
Optionally, the method further comprises: the second terminal receives a first trigger message sent by the first terminal, wherein the first trigger message is used for notifying the second terminal to execute the first task, and the first trigger message comprises a result of the first terminal executing the first task; the second terminal performs the first task.
Optionally, the method further comprises: when the second terminal stops using, the second terminal sends a second trigger message to the first terminal, wherein the second trigger message is used for notifying the first terminal to execute the first task, and the second trigger message comprises a result of the second terminal executing the first task.
Optionally, the terminal usage status parameter includes at least one of the following parameters: whether the screen of the terminal is lit up, gazed at, whether the terminal is held, whether the terminal is touched, whether the terminal is worn, and whether the terminal is moving.
It should be understood that, the method for determining the usage status of the second terminal according to the terminal usage status parameter may refer to the foregoing embodiment of the method for determining the usage status of the first terminal according to the terminal usage status parameter by the first terminal, which is not applied herein for avoiding repetition.
The method for avoiding duplicate services provided by the present application is described in detail below with reference to fig. 6, and fig. 6 is a schematic flowchart of a method 400 for avoiding duplicate services according to an embodiment of the present application, where the method 400 may be applied to the scenario shown in fig. 1, and of course, may also be applied to other communication scenarios, and the present application is not limited thereto.
It should also be understood that in the present application, the method will be described taking the first terminal and the second terminal as an execution body of the execution method. By way of example, and not limitation, the execution subject of the execution method may also be a chip, a chip system, a processor, or the like applied to the first terminal and the second terminal.
As shown in fig. 6, the method 400 shown in fig. 6 may include S410 to S420. The various steps in method 400 are described in detail below in conjunction with FIG. 6.
S410, the first terminal obtains the use state of the first terminal and the use state of the second terminal.
And S420, the first terminal determines a terminal for executing the first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously and repeatedly executed under the first terminal and the second terminal, wherein the first service is currently executed on the first terminal.
In the embodiment of the application, the first terminal determines the terminal for executing the first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously and repeatedly executed under the first terminal and the second terminal, and errors caused by the fact that the first terminal and the second terminal simultaneously execute the first service and errors caused by the fact that the first terminal and the second terminal do not execute the cooperative service are effectively avoided.
Optionally, the method further comprises: the first terminal and the second terminal exchange service capability information.
Specifically, when the first terminal and the second terminal initially establish a connection, the first terminal and the second terminal exchange service capability information. The service capability information is the service capability that the device can provide, such as setting up an alarm, answering a call, counting steps in sports, monitoring heart rate, and other functional information.
Alternatively, the first service may be a dynamic service provided by the terminal, such as a sports step counting, heart rate monitoring, etc.
Optionally, the first terminal determines a terminal for executing the first service according to the use state of the first terminal and the use state of the second terminal, including: when the use state of the first terminal meets the third condition and the use state of the second terminal does not meet the third condition, the first terminal executes the first service; or when the use state of the first terminal does not meet the third condition and the use state of the second terminal meets the third condition, the first terminal sends a first trigger message to the second terminal, wherein the first trigger message is used for notifying the second terminal to execute the task, and the first trigger message comprises a first result of the first terminal executing the first task; or when the use state of the first terminal meets the third condition and the use state of the second terminal meets the third condition, the first terminal determines a terminal for executing the first task according to the performance state of the terminal; or when the usage state of the first terminal does not meet the third condition and the usage state of the second terminal does not meet the third condition, the first task pauses execution.
In order to understand the present application more clearly, the present application will be described in detail below with the first terminal as a mobile phone and the second terminal as a smart watch. For example, the first service is a sports step. The user carries the cell-phone and is listening the music, and the intelligent wrist-watch is not worn by the user, and the cell-phone carries out the step function of calculating this moment, and the intelligent wrist-watch does not carry out the step function, and when the user closed the music app on the cell-phone, when placing the cell-phone at the desktop, the cell-phone is in non-use state, and the cell-phone is calculated the step and is suspended. After the intelligent watch is worn, the intelligent watch sends a message of a use state to the mobile phone, after the mobile phone receives the message, the mobile phone sends a first trigger message to the intelligent watch, the first trigger message is used for notifying the intelligent watch to execute the step counting task, the first trigger message comprises the step number counted by the mobile phone, and after the intelligent watch receives the first trigger message, the step number is updated to execute the step counting. When the intelligent watch is taken down by a user and a desktop is placed, the intelligent watch sends a second trigger message to the mobile phone, the second trigger message is used for notifying the mobile phone to execute the exercise step counting, the second trigger message comprises the step number counted by the intelligent watch, the mobile phone receives the second trigger message, and the step number is updated to execute the step counting. If the user continues to use the mobile phone, the mobile phone performs step counting, if the user does not use the mobile phone, but continues to use the intelligent watch after a period of time passes, the mobile phone sends a first trigger message to the intelligent watch after receiving a message that the intelligent watch is in use, the first trigger message is used for notifying the intelligent watch to execute the task, and the first trigger message comprises the accumulated step number on the mobile phone. The mobile phone and the intelligent watch can cooperate in real time to count steps and synchronously accumulate the steps, and the user can see the naturally fused data no matter how the user looks at the step counting data on any one device. .
Optionally, when the usage state of the first terminal meets the first condition and the usage state of the second terminal meets the first condition, the first terminal determines, according to the performance state of the terminal, a terminal that performs the first task, including: when the performance state of the first terminal meets a fourth condition and the performance state of the second terminal does not meet the fourth condition, the first terminal executes the first task; or when the performance state of the first terminal does not meet the three conditions and the performance state of the second terminal meets the execution condition of the first task, the first terminal sends the first trigger message to the second terminal. Optionally, the method further comprises: the first terminal receives a second trigger message sent by the second terminal, wherein the second trigger message is used for notifying the first terminal to execute the first task, the second trigger message comprises a second result of the second terminal to execute the first task, the second result is accumulated on the first result, and the using state of the second terminal does not meet the first condition.
As described above, the first terminal is a mobile phone, and the second terminal is a smart watch, which describes the present application in detail. For example, the first service is a sports step. When the user is using the mobile phone and the user also wears the smart watch, the step counting terminal can be determined according to the performance states of the mobile phone and the smart watch, the step counting terminal can be described by taking the equipment service power consumption as the performance state, for example, the mobile phone is counting steps, the mobile phone acquires the unit power consumption of the mobile phone and the smart watch when receiving the information of the using state of the smart watch, the mobile phone counts steps when the unit service power consumption of the mobile phone is smaller than the unit service power consumption of the smart watch, the smart watch counts steps when the unit service power consumption of the mobile phone is greater than or equal to the electric quantity of the smart watch, the mobile phone can send a step counting triggering message to the smart watch to instruct the smart watch to count steps, the triggering message comprises the accumulated steps of the mobile phone, and the mobile phone pauses step counting to save the electric quantity.
It should be appreciated that the method for determining the usage status of the first terminal and the second terminal may refer to the foregoing description, and is not described herein.
It should also be appreciated that the method 400 may also incorporate the steps of the method 200, and in particular, may be described with reference to the method 200, and will not be described in detail herein.
The communication parameter measuring method of the multi-card terminal device of the present application is described in detail above with reference to fig. 1 to 6. The device of the present application will be described in detail with reference to fig. 7 to 9.
Fig. 7 shows a schematic block diagram of an apparatus 500 of the present application.
In some embodiments, the apparatus 500 may be an apparatus, which may be the first terminal or the second terminal described above, or may be a chip or a circuit, for example, may be provided in a terminal device.
In one possible approach, the apparatus 500 may include a processing unit 510 (i.e., an example of a processor) and a transceiver unit 530. In some possible implementations, the processing unit 510 may also be referred to as a determination unit. In some possible implementations, the transceiver unit 530 may include a receiving unit and a transmitting unit.
Alternatively, the transceiver unit 530 may be implemented by a transceiver or transceiver related circuits or interface circuits.
Optionally, the apparatus may further comprise a storage unit 520. In one possible implementation, the memory unit 520 is configured to store instructions. Alternatively, the storage unit may be used for storing data or information. The storage unit 520 may be implemented by a memory.
In some possible designs, the processing unit 510 is configured to execute the instructions stored in the storage unit 520, so that the apparatus 500 implements the steps performed by the terminal device in the above method. Alternatively, the processing unit 510 may be configured to invoke the data of the storage unit 520, so that the apparatus 500 implements the steps performed by the terminal device in the method described above.
For example, the processing unit 510, the storage unit 520, and the transceiver unit 530 may communicate with each other via internal communication paths to transfer control and/or data signals. For example, the storage unit 520 is configured to store a computer program, and the processing unit 510 may be configured to invoke and run the computer program from the storage unit 520 to control the transceiver unit 530 to receive signals and/or transmit signals, so as to perform the steps of the terminal in the above method. The memory unit 520 may be integrated into the processing unit 510 or may be provided separately from the processing unit 510.
Alternatively, if the apparatus 500 is a terminal device, the transceiver 530 includes a receiver and a transmitter. Wherein the receiver and the transmitter may be the same or different physical entities. Which are the same physical entities, may be collectively referred to as transceivers.
Alternatively, if the apparatus 500 is a chip or a circuit, the transceiver unit 530 includes an input interface and an output interface.
As an implementation, the function of the transceiving unit 530 may be considered to be implemented by a transceiving circuit or a dedicated chip for transceiving. The processing unit 510 may be considered to be implemented by a dedicated processing chip, a processing circuit, a processing unit, or a general-purpose chip.
As another implementation manner, a manner of using a general-purpose computer may be considered to implement the terminal device provided by the present application. I.e., program codes realizing the functions of the processing unit 510 and the transceiving unit 530 are stored in the storage unit 520, and the general-purpose processing unit realizes the functions of the processing unit 510 and the transceiving unit 530 by executing the codes in the storage unit 520.
In some embodiments, the apparatus 500 may be a terminal device, or a chip or a circuit provided in the terminal device.
When the apparatus 500 is a first terminal device, or a chip or a circuit disposed in the first terminal device, the processing unit 510 is configured to obtain a notification message; a processing unit 510, configured to determine an execution terminal for executing the notification message from the first terminal and the second terminal according to a usage state of the terminal and/or a performance state of the terminal, where the first terminal and the second terminal are associated; the use state of the terminal comprises the use state of the first terminal and the use state of the second terminal, and the performance state of the terminal comprises the performance state of the first terminal and the performance state of the second terminal.
Optionally, the processing unit 510 is specifically configured to: when the use state of the first terminal meets a first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal meets the first condition and the use state of the second terminal meets the first condition, determining that the first terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal meets the first condition, determining that the second terminal executes the notification message; or when the use state of the first terminal does not meet the first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message. .
Optionally, the processing unit 510 is specifically configured to: when the performance state of the first terminal meets a second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal meets the second condition and the performance state of the second terminal meets the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal meets the second condition, determining that the second terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message.
Optionally, the processing unit 510 is specifically configured to: when the use state of the first terminal does not meet the first condition and the use state of the second terminal does not meet the first condition, the first terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal; or when the use state of the first terminal meets the first condition, the use state of the second terminal meets the first condition, and the first terminal determines one terminal executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal.
Optionally, the processing unit 510 is specifically configured to: when the performance state of the first terminal meets a second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal meets the second condition and the performance state of the second terminal meets the second condition, determining that the first terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal meets the second condition, determining that the second terminal executes the notification message; or when the performance state of the first terminal does not meet the second condition and the performance state of the second terminal does not meet the second condition, determining that the first terminal executes the notification message.
Optionally, the processing unit 510 is specifically configured to: the processor is specifically configured to execute the notification message; or alternatively, the first and second heat exchangers may be,
and when the execution terminal is the second terminal, the transceiver sends the notification message to the second terminal, and the second terminal executes the notification message.
Optionally, the transceiver unit 530 is specifically configured to: sending a first message to the second terminal, wherein the first message is used for indicating the second terminal to send the use state of the second terminal and the performance state of the second terminal to the first terminal; and receiving a second message sent by the second terminal, wherein the second message comprises the use state of the second terminal and the performance state of the second terminal.
Optionally, the processing unit 510 is specifically configured to: reading the use state of the second terminal and the performance state of the second terminal on a memory of the first terminal, wherein when the use state of the second terminal changes and/or the performance state of the second terminal changes, an update message is sent to the first terminal, the update message comprises the use state of the second terminal and the performance state of the second terminal, and when the first terminal receives the update message sent by the second terminal, the use state of the second terminal and the performance state of the second terminal are updated.
Optionally, the processing unit 510 is specifically configured to: and determining the use state of the first terminal according to the terminal use state parameter.
Optionally, the transceiver unit 530 is specifically configured to: sending service capability information of the first terminal to the second terminal; and/or the transceiver receives the service capability information sent by the second terminal.
Optionally, the processing unit 510 is specifically configured to: and the first terminal determines a terminal for executing the first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously and repeatedly executed under the first terminal and the second terminal, wherein the first service is currently executed on the first terminal.
Optionally, the processing unit 510 is specifically configured to: when the use state of the first terminal meets the first condition and the use state of the second terminal does not meet the first condition, the first terminal executes the first service; or when the first terminal usage state does not meet the first condition and the second terminal usage state meets the first condition, the first terminal sends a first trigger message to the second terminal, wherein the first trigger message is used for notifying the second terminal to execute the task, and the first trigger message comprises a first result of the first terminal executing the first task; or when the use state of the first terminal meets the first condition and the use state of the second terminal meets the first condition, the first terminal determines the terminal for executing the first task according to the performance state of the terminal. And when the use state of the first terminal does not meet the first condition and the use state of the second terminal does not meet the first condition, the first task pauses to execute.
Optionally, the processing unit 510 is specifically configured to: when the performance state of the first terminal meets a third condition and the performance state of the second terminal does not meet the third condition, the first terminal executes the first task; or alternatively, the first and second heat exchangers may be,
and when the performance state of the first terminal does not meet the three conditions and the performance state of the second terminal meets the execution condition of the first task, the first terminal sends the first trigger message to the second terminal.
Optionally, the processing unit 510 is specifically configured to: the first terminal receives a second trigger message sent by the second terminal, wherein the second trigger message is used for notifying the first terminal to execute the first task, the second trigger message comprises a second result of the second terminal to execute the first task, the second result is accumulated on the first result, and the use state of the second terminal does not meet the first condition.
When the apparatus 500 is a second terminal device, or a chip or a circuit disposed in the second terminal device, the processing unit 510 is configured to determine a usage state of the second terminal according to a terminal usage state parameter; the processing unit 510 is configured to determine a performance state of the second terminal; and a transceiver unit 530 for transmitting an update message to the first terminal, wherein the update message includes the second terminal usage state and the second terminal performance state.
Optionally, the transceiver 530 receives a notification message sent by the first terminal, and the second terminal is in a use state; the processing unit 510 executes the notification message.
Optionally, the transceiver unit 530 receives a first trigger message sent by the first terminal, where the first trigger message is used to notify the second terminal to execute the first task, and the first trigger message includes a result of the first terminal executing the first task; the processing unit 510 performs the first task.
Optionally, when the second terminal stops using, the transceiver 530 sends a second trigger message to the first terminal, where the second trigger message is used to notify the second terminal to execute the first task, and the second trigger message includes a result of the second terminal executing the first task.
When the apparatus 500 is configured in or is a terminal device, each module or unit in the apparatus 500 may be used to execute each action or process performed by the terminal device in the above method, and detailed descriptions thereof are omitted herein for avoiding redundancy.
Fig. 8 shows a schematic block diagram of an apparatus 500 of the present application. The apparatus 500 may be a first terminal or a second terminal. The device 500 supports image processing, sensor detection, networking, service negotiation, memory and display screen functions; the device 500 includes communication chips, memory devices, cameras, display screens, etc. Wherein the application processor (Application Processor, AP): also called the host processor, runs an Operating System (OS) and related application software, and can perform usage state detection, service negotiation and scheduling. Short-range processors, i.e. short-range baseband communication processing units: running short-distance communication protocol software, such as realizing interconnection networking of human intelligent equipment based on Bluetooth and WiFi protocols; graphics processor (Graphics Processing Unit, GPU): the image data is characterized and calculated, and live images are recorded, which may include 2-dimensional (D) and/or 3D processing, such as overlaying position location information, etc. Image signal processing (Image Signal Processor, ISP): image processing (feature extraction, comparison analysis) is performed on the acquired images to generate image feature data, which may include a processor core or a pure hardware implementation that performs the necessary software processing. And a display subsystem: a docking display for performing display processing on an image to be displayed generated by a central processing unit (Central Processing Unit, CPU) or GPU; storage support: and the external storage is used for realizing the storage interface function and carrying out necessary internal storage and caching on the received data. NPU: an artificial intelligence processor (AI processor), which is usually a device for performing convolutional neural network (Convolutional Neural Networks, CNN) processing, may be dedicated to performing artificial intelligence operations, such as performing a large amount of information identification and screening processing by using a CNN model, or may implement a training function of a part of the CNN model in a targeted manner, and may implement modeling and analysis, recognition processing, etc. on a service scenario, which may be used to detect whether the device is gazed. SE: the system is responsible for processing privacy information, and an independent memory and a processor are arranged in the system to ensure the safety of the system; radio frequency front end (Radio Frequency Front End, RFFE): the wireless communication device mainly comprises a radio frequency switch, a duplexer, a filter, a power amplifier and the like which are required by wireless communication; a wireless transceiver (Wireless Transceiver, WTR) mainly comprising a mixer, a transformer, a variable gain amplifier, etc.; the RFFE and WTR work cooperatively with a communication module in the SoC for performing various cellular wireless communications, including 2G/3G/4G/5G communications. Short-range communication chip: such as WiFi, bluetooth, radio, global positioning (Global Positioning System, GPS), etc. Codec chip: processing the speech signal, converting the original speech signal from nature into a digital speech signal (analog-to-digital converter) and pulse code modulating (Pulse Code Modulation, PCM), outputting the speech/audio signal (64 kbps or higher) for further processing by the main SOC (such as the previously mentioned AMR or MP3 encoding); sensor subsystem: the sensor data acquisition device mainly comprises a processor for processing the sensor data, and is used for acquiring, classifying, identifying and processing the sensor data, wherein the sensor can optionally comprise a touch screen, a sound sensor, a light sensor, an accelerometer, a gyroscope, 3D face recognition, fingerprint identification and the like, and is used for detecting whether the device is held or worn. Power Management unit (PMIC): also called (Power Management Unit, PMU) for generating voltages and clocks for other chips required for operation, enabling power management.
Fig. 9 is a schematic structural diagram of a terminal device 600 according to the present application. The terminal device 600 may perform the actions performed by the terminal device in the above-described method embodiments.
For convenience of explanation, fig. 9 shows only major components of the terminal device. As shown in fig. 9, the terminal device 600 includes a processor, a memory, a control circuit, an antenna, and an input-output means.
The processor is mainly configured to process the communication protocol and the communication data, control the entire terminal device, execute a software program, and process the data of the software program, for example, to support the terminal device to execute the actions described in the above embodiment of the method for indicating the transmission precoding matrix. The memory is mainly used for storing software programs and data, for example, for storing the codebook described in the above embodiments. The control circuit is mainly used for converting baseband signals and radio frequency signals and processing the radio frequency signals. The control circuit together with the antenna, which may also be called a transceiver, is mainly used for receiving and transmitting radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, keyboards, etc., are mainly used for receiving data input by a user and outputting data to the user.
When the terminal device is started, the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program. When data is required to be transmitted wirelessly, the processor carries out baseband processing on the data to be transmitted and then outputs a baseband signal to the radio frequency circuit, and the radio frequency circuit carries out radio frequency processing on the baseband signal and then transmits the radio frequency signal outwards in the form of electromagnetic waves through the antenna. When data is sent to the terminal equipment, the radio frequency circuit receives a radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, and the processor converts the baseband signal into data and processes the data.
Those skilled in the art will appreciate that fig. 9 shows only one memory and processor for ease of illustration. In an actual terminal device, there may be multiple processors and memories. The memory may also be referred to as a storage medium or storage device, etc., and the application is not limited in this regard.
For example, the processor may include a baseband processor, which is mainly used to process the communication protocol and the communication data, and a central processor, which is mainly used to control the entire terminal device, execute a software program, and process the data of the software program. The processor in fig. 9 integrates the functions of a baseband processor and a central processing unit, and those skilled in the art will appreciate that the baseband processor and the central processing unit may be separate processors, interconnected by bus technology, etc. Those skilled in the art will appreciate that the terminal device may include multiple baseband processors to accommodate different network formats, and that the terminal device may include multiple central processors to enhance its processing capabilities, and that the various components of the terminal device may be connected by various buses. The baseband processor may also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit may also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and the communication data may be built in the processor, or may be stored in the storage unit in the form of a software program, which is executed by the processor to realize the baseband processing function.
For example, in the embodiment of the present application, the antenna and the control circuit having the transceiving function may be regarded as the transceiving unit 610 of the terminal device 600, and the processor having the processing function may be regarded as the processing unit 620 of the terminal device 600. As shown in fig. 9, the terminal device 600 includes a transceiving unit 610 and a processing unit 620. The transceiver unit may also be referred to as a transceiver, transceiver device, etc. Alternatively, the device for implementing the receiving function in the transceiver unit 610 may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit 610 may be regarded as a transmitting unit, i.e. the transceiver unit includes a receiving unit and a transmitting unit. For example, the receiving unit may also be referred to as a receiver, a receiving circuit, etc., and the transmitting unit may be referred to as a transmitter, a transmitting circuit, etc.
It should be appreciated that in embodiments of the present application, the processor may be a central processing unit (central processing unit, CPU), the processor may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), off-the-shelf programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should also be appreciated that the memory of embodiments of the present application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example but not limitation, many forms of random access memory (random access memory, RAM) are available, such as Static RAM (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM), synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the process or function according to the present application is wholly or partly created. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The 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, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more sets of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
The present application also provides a computer readable medium having stored thereon a computer program which, when executed by a computer, performs the steps performed by the terminal device in any of the above embodiments.
The application also provides a computer program product which when executed by a computer implements the steps performed by the terminal device in any of the embodiments described above.
The application also provides a system chip, which comprises: a communication unit and a processing unit. The processing unit may be, for example, a processor. The communication unit may be, for example, a communication interface, an input/output interface, pins or circuitry, etc. The processing unit may execute computer instructions to cause a chip within the communication device to perform the steps performed by the terminal device provided by the present application as described above.
Optionally, the computer instructions are stored in a storage unit.
According to the method provided by the application, the application also provides a system which comprises the first terminal and the second terminal.
It should be understood that the system provided by the application can also comprise other terminal devices, the second terminal can also be a plurality of terminal devices, such as a mobile phone, a bracelet, an intelligent air conditioner interconnection, a mobile phone, a bracelet and a device for determining ringing according to the use states and service sustainability of the mobile phone, the bracelet and the intelligent air conditioner when the mobile phone acquires the alarm reminding. Specific methods may be referred to as method examples and are not described herein.
It should also be appreciated that the present application may be applied between a mobile phone and a wearable device, between a mobile phone and an internet of things device (Internet of Things, IOT), and between internet of things devices.
The embodiments of the present application may be used independently or in combination, and are not limited in this regard.
Furthermore, various aspects or features of the application may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques. The term "article of manufacture" as used herein encompasses a computer program accessible from any computer-readable device, carrier, or media. For example, computer-readable media can include, but are not limited to, magnetic storage devices (e.g., hard disk, floppy disk, or magnetic strips, etc.), optical disks (e.g., compact disk, CD, digital versatile disk, digital versatile disc, DVD, etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory, EPROM), cards, sticks, or key drives, etc. Additionally, various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" can include, without being limited to, wireless channels and various other media capable of storing, containing, and/or carrying instruction(s) and/or data.
It should be understood that an "and/or" describes an association relationship of an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one" means one or more; "at least one of a and B", similar to "a and/or B", describes an association relationship of an association object, meaning that there may be three relationships, for example, at least one of a and B may represent: a exists alone, A and B exist together, and B exists alone.
Various objects such as various messages, information, devices, systems, devices, actions, operations, processes, concepts and the like may be named according to the present application, and it should be understood that these specific names do not constitute limitations on related objects, and that the named names may be changed according to the scene, the context, or the usage habit, and that understanding of the technical meaning of technical terms in the present application should be mainly determined from the functions and technical effects that are embodied/performed in the technical solution.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A method for avoiding repeated alerting of a notification message, comprising:
the first terminal acquires a notification message;
the first terminal determines an execution terminal for executing the notification message from the first terminal and the second terminal according to the using state of the terminal and/or the performance state of the terminal, wherein the first terminal and the second terminal are associated;
the use state of the terminal comprises the use state of the first terminal and the use state of the second terminal, and the performance state of the terminal comprises the performance state of the first terminal and the performance state of the second terminal;
the execution terminal executes the notification message;
the first terminal acquires the use state of the second terminal and the performance state of the second terminal;
the first terminal reads the use state of the second terminal and the performance state of the second terminal in a local memory, wherein when the use state of the second terminal changes and/or the performance state of the second terminal changes, an update message is sent to the first terminal, the update message comprises the use state of the second terminal and the performance state of the second terminal, and when the first terminal receives the update message sent by the second terminal, the use state of the second terminal and the performance state of the second terminal are updated;
The first terminal determines a terminal for executing a first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously and repeatedly executed under the first terminal and the second terminal,
wherein the first service is currently executing on the first terminal.
2. The method of claim 1, wherein the first terminal determines an execution terminal to execute the notification message from the first terminal and the second terminal according to a usage state of the terminals, comprising:
when the use state of the first terminal meets a first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message; or alternatively, the first and second heat exchangers may be,
when the use state of the first terminal meets a first condition and the use state of the second terminal meets the first condition, determining that the first terminal executes the notification message; or alternatively, the first and second heat exchangers may be,
when the use state of the first terminal does not meet a first condition and the use state of the second terminal meets the first condition, determining that the second terminal executes the notification message; or alternatively, the first and second heat exchangers may be,
And when the use state of the first terminal does not meet a first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message.
3. The method of claim 1, wherein the first terminal determines one terminal performing the notification message from among the first terminal and the second terminal according to a usage state of the terminal and a performance state of the terminal, comprising:
when the use state of the first terminal does not meet a first condition, and the use state of the second terminal does not meet the first condition, the first terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal; or alternatively, the first and second heat exchangers may be,
when the use state of the first terminal meets a first condition, the use state of the second terminal meets the first condition, and the first terminal determines one terminal executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal.
4. A method according to any one of claims 1 to 3, wherein the execution terminal executing the notification message comprises:
When the executing terminal is the first terminal, the first terminal executes the notification message; or alternatively, the first and second heat exchangers may be,
and when the executing terminal is the second terminal, the first terminal sends the notification message to the second terminal, and the second terminal executes the notification message.
5. The method of claim 1, wherein the first terminal obtaining the usage status of the second terminal and the performance status of the second terminal comprises:
the first terminal sends a first message to the second terminal, wherein the first message is used for indicating the second terminal to send the using state of the second terminal and the performance state of the second terminal to the first terminal;
the first terminal receives a second message sent by the second terminal, wherein the second message comprises the use state of the second terminal and the performance state of the second terminal.
6. The method according to any one of claims 1 to 3, 5, further comprising: and the first terminal determines the use state of the first terminal according to the terminal use state parameter.
7. The method of claim 6, wherein the terminal usage status parameters include at least one of the following parameters:
Whether the screen of the terminal is lit up, whether the terminal is gazed at, whether the terminal is held, whether the terminal is touched, whether the terminal is worn, and whether the terminal is moving.
8. The method of claim 1, wherein the first terminal determines a terminal performing the first service based on the usage status of the first terminal and the usage status of the second terminal, comprising:
when the use state of the first terminal meets a first condition and the use state of the second terminal does not meet the first condition, the first terminal executes the first service; or alternatively, the first and second heat exchangers may be,
when the first terminal use state does not meet a first condition and the second terminal use state meets the first condition, the first terminal sends a first trigger message to the second terminal, wherein the first trigger message is used for notifying the second terminal to execute a task, and the first trigger message comprises a first result of executing the first task by the first terminal; or (b)
When the use state of the first terminal meets a first condition and the use state of the second terminal meets the first condition, the first terminal determines a terminal for executing the first task according to the performance state of the terminal;
And when the use state of the first terminal does not meet a first condition and the use state of the second terminal does not meet the first condition, the first task pauses execution.
9. A terminal, the terminal being a first terminal, comprising:
a transceiver for acquiring a notification message;
a processor, configured to determine an execution terminal for executing the notification message from the first terminal and the second terminal according to a usage state of the terminal and/or a performance state of the terminal, where the first terminal and the second terminal are associated;
the use state of the terminal comprises the use state of the first terminal and the use state of the second terminal, and the performance state of the terminal comprises the performance state of the first terminal and the performance state of the second terminal;
acquiring a use state of the second terminal and a performance state of the second terminal;
the processor is specifically configured to:
reading the use state of the second terminal and the performance state of the second terminal on a memory of the first terminal, wherein when the use state of the second terminal changes and/or the performance state of the second terminal changes, an update message is sent to the first terminal, the update message comprises the use state of the second terminal and the performance state of the second terminal, and when the first terminal receives the update message sent by the second terminal, the use state of the second terminal and the performance state of the second terminal are updated;
The processor is further configured to:
the first terminal determines a terminal for executing a first service according to the use state of the first terminal and the use state of the second terminal, so that the first service is continuously and repeatedly executed under the first terminal and the second terminal,
wherein the first service is currently executing on the first terminal.
10. The terminal of claim 9, wherein the processor is specifically configured to:
when the use state of the first terminal meets a first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message; or alternatively, the first and second heat exchangers may be,
when the use state of the first terminal meets a first condition and the use state of the second terminal meets the first condition, determining that the first terminal executes the notification message; or alternatively, the first and second heat exchangers may be,
when the use state of the first terminal does not meet a first condition and the use state of the second terminal meets the first condition, determining that the second terminal executes the notification message; or alternatively, the first and second heat exchangers may be,
and when the use state of the first terminal does not meet a first condition and the use state of the second terminal does not meet the first condition, determining that the first terminal executes the notification message.
11. The terminal of claim 9, wherein the processor is specifically configured to:
when the use state of the first terminal does not meet a first condition, and the use state of the second terminal does not meet the first condition, the first terminal determines one terminal for executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal; or alternatively, the first and second heat exchangers may be,
when the use state of the first terminal meets a first condition, the use state of the second terminal meets the first condition, and the first terminal determines one terminal executing the notification message from the first terminal and the second terminal according to the performance state of the first terminal and the performance state of the second terminal.
12. The terminal according to any of the claims 9 to 11, characterized in that the processor is specifically configured to execute the notification message; or alternatively, the first and second heat exchangers may be,
and when the execution terminal is the second terminal, the transceiver sends the notification message to the second terminal, and the second terminal executes the notification message.
13. The terminal according to claim 11, wherein the transceiver is specifically configured to:
Sending a first message to the second terminal, wherein the first message is used for indicating the second terminal to send the use state of the second terminal and the performance state of the second terminal to the first terminal;
and receiving a second message sent by the second terminal, wherein the second message comprises the use state of the second terminal and the performance state of the second terminal.
14. The terminal according to any of claims 9 to 11, 13, wherein the processor is further configured to: and determining the use state of the first terminal according to the terminal use state parameter.
15. The terminal of claim 14, wherein the terminal usage status parameters include at least one of the following parameters:
whether the screen of the terminal is lit up, whether the terminal is gazed at, whether the terminal is held, whether the terminal is touched, whether the terminal is worn, and whether the terminal is moving.
16. The terminal of claim 9, wherein the processor is specifically configured to:
when the use state of the first terminal meets a first condition and the use state of the second terminal does not meet the first condition, the first terminal executes the first service; or alternatively, the first and second heat exchangers may be,
When the first terminal use state does not meet a first condition and the second terminal use state meets the first condition, the first terminal sends a first trigger message to the second terminal, wherein the first trigger message is used for notifying the second terminal to execute a task, and the first trigger message comprises a first result of executing the first task by the first terminal; or (b)
When the use state of the first terminal meets a first condition and the use state of the second terminal meets the first condition, the first terminal determines a terminal for executing the first task according to the performance state of the terminal;
and when the use state of the first terminal does not meet a first condition and the use state of the second terminal does not meet the first condition, the first task pauses execution.
CN202010588375.XA 2020-02-25 2020-06-24 Method and terminal for avoiding repeated reminding of notification message Active CN113382110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/138620 WO2021169538A1 (en) 2020-02-25 2020-12-23 Method for avoiding repeated prompt about notification message, and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010117643X 2020-02-25
CN202010117643 2020-02-25

Publications (2)

Publication Number Publication Date
CN113382110A CN113382110A (en) 2021-09-10
CN113382110B true CN113382110B (en) 2023-11-03

Family

ID=77568941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010588375.XA Active CN113382110B (en) 2020-02-25 2020-06-24 Method and terminal for avoiding repeated reminding of notification message

Country Status (1)

Country Link
CN (1) CN113382110B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2241054A1 (en) * 1997-08-22 1999-02-22 Andrew Stirling Inglis Method and apparatus for applying volatile substances to materials
CN106020611A (en) * 2016-05-26 2016-10-12 深圳市金立通信设备有限公司 Method for displaying notification information and terminal
CN106100663A (en) * 2016-06-29 2016-11-09 努比亚技术有限公司 A kind of intelligent watch and the interactive device of mobile terminal and method
CN107888641A (en) * 2016-09-30 2018-04-06 阿里巴巴集团控股有限公司 A kind of information push method and device
CN108512998A (en) * 2018-03-07 2018-09-07 优酷网络技术(北京)有限公司 Notification message reminding method and device
CN108924364A (en) * 2018-07-20 2018-11-30 努比亚技术有限公司 Message prompt method, mobile terminal and computer readable storage medium
CN108933992A (en) * 2018-06-27 2018-12-04 维沃移动通信有限公司 A kind of communication event processing method and equipment
CN109889651A (en) * 2018-11-29 2019-06-14 努比亚技术有限公司 A kind of notification message processing method, terminal and computer readable storage medium
CN110169091A (en) * 2017-12-01 2019-08-23 华为技术有限公司 A kind of method of communication, wearable device, mobile terminal and system
CN110401767A (en) * 2019-05-30 2019-11-01 华为技术有限公司 Information processing method and equipment
CN110476404A (en) * 2017-04-11 2019-11-19 华为技术有限公司 Message acquisition method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2241054A1 (en) * 1997-08-22 1999-02-22 Andrew Stirling Inglis Method and apparatus for applying volatile substances to materials
CN106020611A (en) * 2016-05-26 2016-10-12 深圳市金立通信设备有限公司 Method for displaying notification information and terminal
CN106100663A (en) * 2016-06-29 2016-11-09 努比亚技术有限公司 A kind of intelligent watch and the interactive device of mobile terminal and method
CN107888641A (en) * 2016-09-30 2018-04-06 阿里巴巴集团控股有限公司 A kind of information push method and device
CN110476404A (en) * 2017-04-11 2019-11-19 华为技术有限公司 Message acquisition method and device
CN110169091A (en) * 2017-12-01 2019-08-23 华为技术有限公司 A kind of method of communication, wearable device, mobile terminal and system
CN108512998A (en) * 2018-03-07 2018-09-07 优酷网络技术(北京)有限公司 Notification message reminding method and device
CN108933992A (en) * 2018-06-27 2018-12-04 维沃移动通信有限公司 A kind of communication event processing method and equipment
CN108924364A (en) * 2018-07-20 2018-11-30 努比亚技术有限公司 Message prompt method, mobile terminal and computer readable storage medium
CN109889651A (en) * 2018-11-29 2019-06-14 努比亚技术有限公司 A kind of notification message processing method, terminal and computer readable storage medium
CN110401767A (en) * 2019-05-30 2019-11-01 华为技术有限公司 Information processing method and equipment

Also Published As

Publication number Publication date
CN113382110A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
WO2021169538A1 (en) Method for avoiding repeated prompt about notification message, and terminal
CN106851555B (en) Apparatus and method for geo-fencing operations
US9715815B2 (en) Wirelessly tethered device tracking
RU2564247C2 (en) System, method and device for providing adaptive user notifications
JP4466661B2 (en) Portable terminal device and program
WO2020259649A1 (en) Bluetooth-based object searching method and electronic device
CN111554069B (en) Intelligent alarm method and device
CN105575052A (en) Security early warning system and method
CN114666694A (en) Bluetooth headset loss prevention method and electronic equipment
WO2021057537A1 (en) Jamming prediction method, data processing method, and related apparatus
CN113645715B (en) Method and terminal device for monitoring link
US9907050B2 (en) System and method for managing mobile device alerts based on user activity
CN108476537A (en) A kind of configuration method and equipment of functional resources
EP3097495A1 (en) Apparatus and method for correlating context data
CN107608720A (en) Using the display methods of footmark, device, mobile terminal and storage medium
EP4135359A1 (en) Device tracking detection method and electronic device
CN113382110B (en) Method and terminal for avoiding repeated reminding of notification message
CN116546132B (en) Network identification method, device, mobile terminal and computer readable storage medium
CN107613115A (en) Event-prompting method, device, mobile terminal and readable storage medium storing program for executing
CN116709180B (en) Geofence generation method and server
CN113473378A (en) Movement track reporting method and device, storage medium and electronic equipment
CN106133799A (en) A kind of information prompting method and Intelligent bracelet
CN116738033B (en) Method and device for recommending service
CN115297530B (en) Network connection method and device
CN116707851B (en) Data reporting method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant