CN116527806A - Control method and device for application notification - Google Patents

Control method and device for application notification Download PDF

Info

Publication number
CN116527806A
CN116527806A CN202310548851.9A CN202310548851A CN116527806A CN 116527806 A CN116527806 A CN 116527806A CN 202310548851 A CN202310548851 A CN 202310548851A CN 116527806 A CN116527806 A CN 116527806A
Authority
CN
China
Prior art keywords
terminal
application notification
application
notification
moment
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.)
Pending
Application number
CN202310548851.9A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310548851.9A priority Critical patent/CN116527806A/en
Publication of CN116527806A publication Critical patent/CN116527806A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/724092Interfacing with an external cover providing additional functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Abstract

The application discloses a control method and device for application notification, and belongs to the technical field of electronics. The method is applied to a first terminal, and the first terminal and a second terminal comprise the same application data. The method comprises the following steps: acquiring a relative distance between the first terminal and the second terminal at a first moment; and executing target operation of the application notification at a second moment based on the relative distance between the first terminal and the second terminal, wherein the second moment is the moment when the application data triggers the application notification, and the first moment is earlier than the second moment.

Description

Control method and device for application notification
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a control method and device for application notification.
Background
The updating speed of the smart phone is faster and faster, the frequency of replacing the mobile phone by a user is higher and higher, and when the mobile phone is replaced, one-key mobile phone replacement is needed, so that application data in the old mobile phone is migrated to a new mobile phone, and the like. When the one-key change is completed, the same application notification can be triggered in the new mobile phone and the old mobile phone at the same time due to the fact that the same application data (such as an alarm) exist in the new mobile phone and the old mobile phone. In the case that the user has received the application notification of the new mobile phone, the application notification of the old mobile phone is unnecessary information for the user, and the user often needs an additional operation to close the application notification of the old mobile phone, which results in adding an unnecessary operation to the user.
Disclosure of Invention
The embodiment of the application notification control method and device can solve the problem that after a machine is replaced, the old mobile phone application notification forgets to clear, so that a user receives repeated application notifications.
In a first aspect, an embodiment of the present application provides a control method for application notification, which is applied to a first terminal, where the first terminal and a second terminal include the same application data, and the method includes:
acquiring a relative distance between the first terminal and the second terminal at a first moment;
and executing target operation of the application notification at a second moment based on the relative distance between the first terminal and the second terminal, wherein the second moment is the moment when the application data triggers the application notification, and the first moment is earlier than the second moment.
In a second aspect, an embodiment of the present application provides a control device for application notification, which is applied to a first terminal, where the first terminal and a second terminal include the same application data, and the device includes:
the acquisition module is used for acquiring the relative distance between the first terminal and the second terminal at a first moment;
and the execution module is used for executing the target operation of the application notification at a second moment based on the relative distance between the first terminal and the second terminal, wherein the second moment is the moment when the application data trigger the application notification, and the first moment is earlier than the second moment.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the first terminal and the second terminal comprise the same application data, the relative distance between the first terminal and the second terminal is acquired at a first moment before the application data trigger the application notification, so that the target operation of the application notification can be executed at the second moment according to the relative distance between the first terminal and the second terminal, and the target operation can be set according to the actual requirements of a user, thereby realizing effective control of the application notification of the first terminal.
Drawings
FIG. 1 is one of the flow diagrams of a control method for application notification provided in an embodiment of the present application;
fig. 2 is a schematic diagram of terminal positioning of a control method of application notification according to an embodiment of the present application;
fig. 3 is a schematic diagram of bluetooth connection of a control method of application notification according to an embodiment of the present application;
fig. 4 is a schematic diagram of a terminal position scenario of a control method of application notification provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a target message display of a control method for application notification according to an embodiment of the present application;
FIG. 6 is a second flowchart of a method for controlling application notification according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a control device for application notification provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a hardware schematic of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The method, the device, the electronic equipment and the medium for controlling the application notification provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The execution body of the control method of the application notification provided in the embodiment of the present application may be a terminal or a functional module or a functional entity in the terminal capable of implementing the control method of the application notification, where the terminal in the embodiment of the present application includes, but is not limited to, a mobile phone, a tablet computer, a camera, a wearable device, and the like, and the control method of the application notification provided in the embodiment of the present application is described below by taking the terminal as an execution body as an example.
Fig. 1 is a schematic flow chart of a control method of application notification according to an embodiment of the present application. The control method of the application notification is applied to a first terminal, and the first terminal and a second terminal comprise the same application data.
As shown in fig. 1, the control method of the application notification includes: step 110 and step 120.
Step 110, acquiring a relative distance between a first terminal and a second terminal at a first moment;
and step 120, based on the relative distance between the first terminal and the second terminal, executing the target operation of the application notification at a second moment, wherein the second moment is the moment when the application data triggers the application notification, and the first moment is earlier than the second moment.
In actual implementation, the first terminal and the second terminal may complete migration of application data through wireless communication or wired communication, so that the first terminal and the second terminal may include the same application data. Wherein, data migration refers to copying data of one terminal to another terminal.
The application data of the first terminal is migrated to the second terminal, so that the first terminal can be a data sending terminal, and the second terminal can be a data receiving terminal.
For example: the first terminal and the second terminal can perform wireless communication through Bluetooth, near field communication (Near Field Communication, NFC), wireless fidelity (Wireless Fidelity, wi-Fi) or other technologies, and application data of the first terminal can be sent to the second terminal; or the first terminal and the second terminal are connected through a data line, and application data of the first terminal are transmitted to the second terminal; or the application data of the first terminal is backed up in the cloud, and the second terminal can download the application data of the first terminal from the cloud. After the data migration is completed, the first terminal and the second terminal include the same application data.
Wherein the application data may be application data of all or part of the application programs. When data migration is performed, application data to be migrated can be selected according to user use requirements, or when the first terminal and the second terminal are logged in the same system account, the application data can be automatically synchronized. The application program can be an alarm clock application, a schedule notification application, a short message application, a calendar application, a news application, an instant chat application, a short video application or other application program for pushing application notifications regularly or non-regularly.
It will be appreciated that the application data may trigger the application program to push an application notification to the terminal. The application notification can be an alarm clock notification, a schedule notification, a task notification to be handled, a short message notification, a holiday notification or a preset date notification, a news message notification, a chat message notification or a short video update notification, etc. The notification frequency of the application notification may be determined according to the actual requirement of the user, and is not particularly limited herein.
In the application, the second time is a time when the application data triggers the application notification, that is, at the second time, the terminal may receive the application notification triggered by the application data. For example: and if the alarm clock application is provided with an alarm clock of 8 am, the second moment is 8 am, and the terminal can output an alarm clock notice at 8 am.
The first time may be any time before the second time. For example: the second time is 8 a.m., then the first time may be set to 7 at 50 minutes or to 30 seconds before 8, etc. The first time may be set according to the actual requirement of the user, which is not specifically limited herein.
In step 110, in case the first terminal and the second terminal include the same application data, the first terminal may turn on a global positioning system (Global Positioning System, GPS) positioning to acquire its own location information. And the location information of the second terminal may be acquired from the system server or the network information of the second terminal may be acquired from the system server, and the location information of the second terminal may be determined based on the network information. The network information may be base station signal information or wireless network information corresponding to the terminal.
For example: GPS positioning is performed in the first terminal and the second terminal, respectively. As shown in fig. 2, the interface 210 displays a map of the geographic location of the first terminal, where the map includes GPS positioning indicia 230 of the geographic location of the first terminal; the interface 220 displays a map of the geographic location of the second mobile terminal, including a GPS location marker 240 of the geographic location of the second terminal. Based on the GPS positioning mark 230 and the GPS positioning mark 240, the position information of the first terminal and the position information of the second terminal can be determined.
It will be appreciated that the location information of the first terminal and the location information of the second terminal may be acquired in real time or periodically before the second moment arrives, for example: and respectively acquiring the position information of the first terminal and the position information of the second terminal at the first moment.
After the position information of the first terminal and the position information of the second terminal are acquired, the relative distance between the first terminal and the second terminal can be further determined at the first moment.
In step 120, the first terminal may determine whether the first terminal and the second terminal are close to each other (e.g., in the same room) based on the relative distance, and then may perform the target operation of the application notification at the second time according to different determination results. The target operation refers to performing different control on the output mode of the application notification, and a specific control mode will be described in a subsequent embodiment.
It should be noted that, the target operation may include: closing one or more of the application notification, muting the output application notification, and ringing the output application notification. Closing an application notification refers to directly closing the application notification when the application program pushes the application notification; the mute output application notification refers to that when an application program pushes the application notification, the terminal does not play sound, namely is in a mute state; ringing out an application notification refers to the terminal being in a voiced state when the application pushes the application notification, for example, a ring tone, a reminder tone, or a play song, etc.
When the application program pushes the application notification in a mute output or ringing output mode, the terminal can be in a vibration state at the same time, the vibration state can be set according to the actual requirement of a user, and notification information corresponding to the application notification can be displayed on a desktop of the terminal or in a notification column of the terminal, which is not particularly limited.
According to the control method for the application notification, when the first terminal and the second terminal comprise the same application data, the relative distance between the first terminal and the second terminal is acquired at the first moment before the application data trigger the application notification, so that the target operation of the application notification can be executed at the second moment according to the relative distance between the first terminal and the second terminal, and the target operation can be set according to the actual requirements of a user, thereby realizing effective control of the application notification of the first terminal.
In some embodiments, obtaining the relative distance between the first terminal and the second terminal at the first time includes:
and under the condition that the first terminal is detected to carry the first identifier at the first moment, acquiring the relative distance between the first terminal and the second terminal, wherein the first identifier is used for indicating that the application data of the first terminal are synchronized to the second terminal.
It may be appreciated that the first identifier may be automatically generated in the first terminal after the first terminal migrates the application data to the second terminal. The first flag may be any flag bit set in the system, or any flag bit set in the application data, which is not limited herein.
The first identifier may be used to indicate that the application data of the first terminal has been synchronized to the second terminal, i.e. to indicate that the first terminal and the second terminal have the same application data.
In actual execution, an application notification of the first terminal is output at a second time, and at a first time before the second time, the first terminal detects whether the first identifier exists in the system or application data. If the first terminal carries the first identifier, it is determined that the first terminal and the second terminal have the same application data, and then it can be determined that the first terminal and the second terminal output the same application notification at the second moment.
For example: when the first terminal has alarm clock notification to be output, the first terminal reads the first identifier 30 seconds (first moment) before the second moment when the alarm clock rings, and if the first identifier is read in the first terminal, the relative distance between the first terminal and the second terminal is further acquired according to the position information of the first terminal and the position information of the second terminal.
In actual implementation, after detecting that the first terminal carries the first identifier, the first terminal may turn on GPS positioning to obtain its own location information, and may obtain location information of the second terminal from the system server, or obtain network information of the second terminal from the system server, and determine the location information of the second terminal based on the network information. After the position information of the first terminal and the position information of the second terminal are acquired, the relative distance between the first terminal and the second terminal can be further acquired.
According to the control method of the application notification, the first identifier is generated in the first terminal under the condition that the application data of the first terminal is synchronized to the second terminal, so that the first terminal can detect whether the first identifier is carried by the first terminal or not in advance at the first time, and under the condition that the first identifier is carried, the relative distance between the first terminal and the second terminal is quickly obtained, and therefore target operation can be executed on the application notification at the second time according to the relative distance, and the output mode of the application notification can be conveniently and timely controlled.
In some embodiments, prior to step 120, the control method of the application notification further includes:
Determining that the target operation is to close the application notification or mute the output application notification under the condition that the relative distance between the first terminal and the second terminal is less than or equal to a target distance threshold;
in the case where the relative distance between the first terminal and the second terminal is greater than the target distance threshold, a target operation is determined based on the use state of the first terminal.
In actual execution, after the position information of the first terminal and the position information of the second terminal are acquired, the relative distance between the first terminal and the second terminal is compared with the target distance threshold.
If the relative distance between the first terminal and the second terminal is less than or equal to the target distance threshold, the first terminal and the second terminal may be considered to be closer. The target distance threshold may be determined according to practical situations, and is not specifically limited herein. For example: assuming that the target distance threshold is 30 meters and the relative distance between the first terminal and the second terminal is 20 meters, the first terminal and the second terminal are considered to be relatively close because 20 meters are smaller than the target distance threshold of 30 meters; if the relative distance between the first terminal and the second terminal is 40 meters, the first terminal and the second terminal are considered to be far apart because 40 meters is greater than the target distance threshold by 30 meters.
It should be noted that, the first terminal may further confirm whether the first terminal and the second terminal are closer by using a bluetooth device near the bluetooth scan.
As shown in fig. 3, the first terminal 310 may turn on the bluetooth to attempt to scan for the peripheral device, and in the case where the first terminal and the second terminal 320 may perform bluetooth connection, this indicates that the first terminal 310 is closer to the second terminal 320. If the first terminal 310 cannot make bluetooth connection with the second terminal 320, it means that the first terminal 310 is far away from the second terminal 320.
For example: the first terminal and the second terminal are located in the same building. The first terminal is located in the building 1, the second terminal is located in the building 5, and the first terminal can determine whether the second terminal is near the first terminal through Bluetooth scanning under the condition that the positioning of the first terminal and the second terminal is wrong or the positioning cannot be acquired. If the first terminal can scan to the second terminal and the signal is stronger, it indicates that the first terminal and the second terminal are closer, and the relative distance between the first terminal and the second terminal may also be considered to not exceed the target distance threshold.
In the case where the first terminal and the second terminal are closer, the first terminal and the second terminal may have a problem of ringing at the same time, and in order to avoid the above problem, the target operation may be determined to mute output of the application notification or close of the application notification. If the original operation corresponding to the application notification is the mute output application notification, keeping the original operation unchanged, and the target operation is the mute output application notification; and if the original operation of the application notification is the ringing output application notification, adjusting the ringing output application notification to be a target operation, wherein the target operation is the mute output application notification or the closing application notification.
It can be understood that, in the present application, the output mode of the application notification of the first terminal is controlled, and the output mode of the application notification of the second terminal may be adjusted according to the actual requirement of the user, which is not limited herein.
For example: if the same alarm clock of the first terminal and the second terminal notifies that the corresponding original operation is the ringing output, before the alarm clock rings, the distance between the first terminal and the second terminal is determined to be relatively short. At the second moment, the target operation executed by the first terminal is to mute and output the alarm clock notification or close the alarm clock notification, and the alarm clock notification is still output for ringing in the second terminal;
if the same alarm clock of the first terminal and the second terminal notifies that the corresponding original operation is mute output, before the alarm clock rings, the distance between the first terminal and the second terminal is determined to be relatively short. At the second moment, the target operation executed by the first terminal is to keep the mute output of the alarm clock notification unchanged, and the alarm clock notification is still output for the mute in the second terminal;
if the alarm clock of the first terminal notifies that the corresponding original operation is the ringing output, the same alarm clock of the second terminal notifies that the corresponding original operation is the mute output, and before the alarm clock rings, the distance between the first terminal and the second terminal is determined to be relatively short. At the second moment, the target operation executed by the first terminal is to mute and output the alarm clock notification, and the alarm clock notification is still mute and output in the second terminal;
If the alarm clock of the first terminal notifies that the corresponding original operation is mute output, the same alarm clock of the second terminal notifies that the corresponding original operation is ringing output, and before the alarm clock rings, the distance between the first terminal and the second terminal is determined to be relatively short. At the second moment, the target operation executed by the first terminal is to keep the silent output of the alarm clock notification unchanged, and the alarm clock notification is still output for ringing in the second terminal.
It can be seen that when the first terminal is closer to the second terminal, the output mode of the application notification of at most one terminal is the bell output.
According to the control method for the application notification, under the condition that the first terminal and the second terminal are closer, the target operation is determined to be mute output application notification or close application notification, so that the target operation executed by at most one terminal can be ensured to be bell output application notification, the condition that two terminals simultaneously carry out bell output application notification is avoided, a user does not need to close application notification in the two terminals, redundant operation of the user is reduced, convenience in application notification control is improved, and the user is prevented from being disturbed by the same and repeated application notification.
In some embodiments, the first terminal and the second terminal are considered to be farther apart if the relative distance between the first terminal and the second terminal exceeds a target distance threshold.
When the first terminal and the second terminal are far away, and the same application notification is output by ringing at the same time, the problem that the application notifications of the two terminals cannot be closed synchronously exists. If the users corresponding to the first terminal and the second terminal are the same user, and the first terminal and the second terminal are respectively in different positions and far away from each other, if the first terminal and the second terminal ring simultaneously, the user can only control the application notification of the terminal with the closer distance to the user, and the application notification of the other terminal can not control the terminal in time due to the far distance, so that other people can be disturbed; if the users corresponding to the first terminal and the second terminal are different users, and the first terminal and the second terminal are respectively at different positions and far away from each other, if the first terminal and the second terminal ring simultaneously, the user can only control the application notification of the first terminal, and the application notification of the second terminal may affect other users.
For example: when the user changes the mobile phone, the application data of the first terminal (new mobile phone) is migrated to the second terminal (old mobile phone), and the same application data exists in the new mobile phone and the old mobile phone. As shown in fig. 4, when a user goes out, he usually carries a new mobile phone 410 with him, and the old mobile phone 420 is placed in home or office, so that a scene that the new mobile phone and the old mobile phone are at different positions and far away from each other can occur. At this time, when the old and new mobile phones ring simultaneously to output the same application notification, the ring of the old mobile phone may disturb the family or colleagues.
Or the new mobile phone and the old mobile phone are not in one position and are far away under the condition that the same application data is reserved for the new mobile phone and the old mobile phone, and then the old mobile phone is used for other users. At this time, when the old and new mobile phones ring simultaneously to output the same application notification, the ring of the old mobile phone may disturb other users using the old mobile phone.
In order to avoid the above-mentioned problems, in the case where the first terminal and the second terminal are respectively at different locations and are far apart, the target operation performed for the application notification may be determined according to the use state of the first terminal. The use state of the first terminal is used for indicating whether the first terminal is in a state of being used by a person, and different target operations can be executed on the application notification according to different use states so as to realize different control.
In actual implementation, whether the user is using the terminal can be monitored by inputting an event or face recognition through the terminal. The terminal input event may include touch input, voice input, or key input.
According to the control method for the application notification, under the condition that the relative distance between the first terminal and the second terminal exceeds the target distance threshold, the first terminal and the second terminal are determined to be respectively at different positions and far away from each other, the target operation executed by the application notification can be determined based on the use state of the first terminal, and the flexibility of application notification control is improved.
In some embodiments, determining the target operation based on the usage status of the first terminal includes:
determining that the target operation is ringing to output an application notification in the case that the use state is the used state;
in the case where the use state is the unused state, it is determined that the target operation is to close the application notification or mute the output application notification.
In actual implementation, if the first terminal detects the input of the user or the first terminal collects the face information of the user under the condition that the relative distance between the first terminal and the second terminal is determined to be greater than the target distance threshold value, the state of the first terminal is indicated to be the used state. In this state, the user may see the pushing of the application notification, and then the target operation may be determined to ring the output application notification so that the user who is using the first terminal sees or turns off the application notification in time.
And under the condition that the relative distance between the first terminal and the second terminal is determined to be larger than the target distance threshold, if the first terminal does not detect the input of the user or the first terminal does not collect the face information of the user, indicating that the use state of the first terminal is the unused state. In this use state, the user cannot see pushing of the application notification, and then the target operation can be determined to be mute to output the application notification, so that the first terminal cannot disturb other people when outputting the application notification.
According to the control method of the application notification, different target operations are determined based on different use states of the first terminal, the control mode is more humanized, and user requirements can be better met.
In some embodiments, after determining that the target operation is to close the application notification or mute the output of the application notification, the control method of the application notification further includes:
and displaying target information for indicating the existence of the first identifier and the application notification corresponding to the first identifier when the use state of the first terminal is the used state.
In actual execution, the target operation that the first terminal has executed is to mute the output of the over-application notification or to close the over-application notification. In order to facilitate the user to know in time that the same application notification exists in the first terminal and the second terminal when the user uses the first terminal next time, the target information can be displayed when the use state of the first terminal is the used state. The target information is used for indicating that the first identifier exists in the first terminal and the application notification corresponding to the first identifier, so that a user knows that the first terminal and the second terminal comprise the same application data and the corresponding application notification is output.
For example: when the user changes the mobile phone, the old mobile phone (first terminal) transfers the application data to the new mobile phone (second terminal), and when the alarm clock of the old mobile phone is finished, the system detects whether the old mobile phone has the mark bit corresponding to the first mark and outputs alarm application notification. If the old mobile phone has the flag bit corresponding to the first identifier and the output mode of the last alarm application notification is mute output, the system will pop the window to display the target information 510 in the old mobile phone when the user uses the old mobile phone next time, as shown in fig. 5. The target information 510 includes the following prompt contents: "if all alarm clocks of original mobile phone need to be deleted" is that you have a mobile phone switch by one key, so that it is convenient to guide user to delete alarm clock record of old mobile phone, and further to avoid the situation of simultaneous alarm clock of new and old mobile phones.
According to the control method for the application notification, the user can be guided to delete unnecessary application notification by displaying the target information under the condition that the use state of the first terminal is the used state, so that user experience is improved.
Fig. 6 is a second flowchart of a control method of application notification according to an embodiment of the present application.
As shown in fig. 6, the control method of the application notification includes the steps of:
in step 601, after the user purchases the new mobile phone, the user opens a push-to-change machine on the new mobile phone and the old mobile phone, and the system automatically issues a flag bit, i.e. the first identifier, on the old mobile phone.
Step 602, before the old mobile phone starts the alarm, the old mobile phone starts the alarm pre-starting 30 seconds in advance, reads whether the mark bit exists in the system, and when the old mobile phone is about to trigger or alarm after the one-key mobile phone is completed to migrate, the mark bit is identified, and then step 603 is entered.
Step 603, after the old mobile phone reads the mark position in the system, the old mobile phone opens the positioning, and simultaneously requests the position information of the new mobile phone and the old mobile phone from the server, the relative distance between the new mobile phone and the old mobile phone is judged through GPS positioning or Wi-Fi positioning, if the relative distance between the old mobile phone and the new mobile phone exceeds 50 meters, the old mobile phone and the new mobile phone are considered to be far away, and step 604 is entered; if the relative distance between the old mobile phone and the new mobile phone is smaller than 50 meters, the old mobile phone and the new mobile phone are considered to be closer, and step 607 is entered. If the old mobile phone and the new mobile phone cannot determine the relative distance between the old mobile phone and the new mobile phone due to the positioning failure, step 606 is entered.
In step 604, when the old mobile phone is far away from the new mobile phone, the two mobile phones monitor whether the user is using the old mobile phone or not by means of a mobile phone touch event and face recognition before the alarm clock notification is started. If it is detected that the old mobile phone is being used by the user, step 605 is entered; if it is detected that the old mobile phone is not in use, step 607 is entered; if the old mobile phone has no network connection, the old mobile phone is mute to start an alarm clock for reminding.
Step 605, the old mobile phone normally starts an alarm clock reminding and rings.
Step 606, the old mobile phone can turn on bluetooth and scan nearby bluetooth devices, and if the new mobile phone is not scanned, it indicates that the old mobile phone is far from the new mobile phone, and step 604 is entered. If the old mobile phone can scan the new mobile phone and the signal is stronger, the old mobile phone and the new mobile phone can be connected by bluetooth, the system judges that the distance between the old mobile phone and the new mobile phone is closer, and then step 607 is entered.
Step 607, the old mobile phone silently starts the alarm clock to remind or directly turns off the alarm clock.
Step 608, after the alarm clock is finished, the system detects whether the old mobile phone alarm clock uses the mark bit and whether the old mobile phone alarm clock rings, if the old mobile phone has the mark bit and the last alarm clock is a silent alarm clock, the system plays a window prompt in the old mobile phone: "if you need to delete all the alarm clocks of the original mobile phone after the mobile phone is replaced by one key", the user is guided to delete the alarm clocks of the old mobile phone.
According to the embodiment of the application, whether the old mobile phone needs to ring or not after the one-key change is accurately judged through positioning, bluetooth, detection of conditions such as the use state of a user and the like. The problem that the old mobile phone is idle in a house or a company after the user changes the mobile phone by one key, people around the old mobile phone are disturbed is solved, and after the old mobile phone outputs the application notification for 1 time in a mute mode, the system can pop a window to prompt the user to close the corresponding application notification in the old mobile phone, so that the user experience is improved.
The method and the device can also be used for optimizing experience of other functions after one-key machine change, such as application notifications needing to be pushed at fixed time, such as application notifications of medicine taking reminding, water drinking reminding, learning and punching reminding or sleeping time reminding. After the old mobile phone regularly receives the reminding, if the owner is not nearby, the old mobile phone is mute to inform, and when the owner returns to use the old mobile phone next time, the user is guided to close the related application notification; or the old mobile phone further judges whether or not the ringing output of the application notification should be performed through the wearable device of the user, such as a bluetooth watch or augmented reality (Augmented Reality, AR) glasses, etc. If the wearable device is at the user's side, the alarm clock notification is allowed to be output by ringing; if the wearable device is not at the side of the user, the alarm clock notification is output in a mute mode. For example: only when the old mobile phone and the wearable equipment can be connected through Bluetooth, the old mobile phone can carry out ringing output of alarm clock notification; when the old mobile phone cannot be connected with the wearable device through Bluetooth, the old mobile phone performs mute output on the alarm clock notification.
According to the control method for the application notification, the execution main body can be the control device for the application notification. In the embodiment of the present application, a method for executing control of an application notification by a control device of the application notification is taken as an example, and the control device of the application notification provided in the embodiment of the present application is described.
Fig. 7 is a schematic structural diagram of a control device for application notification provided in an embodiment of the present application. The control device of the application notification is applied to a first terminal, and the first terminal and a second terminal comprise the same application data.
As shown in fig. 7, the control device of the application notification includes: an acquisition module 710 and an execution module 720.
An obtaining module 710, configured to obtain, at a first time, a relative distance between the first terminal and the second terminal;
and an execution module 720, configured to execute, based on a relative distance between the first terminal and the second terminal, a target operation for the application notification at a second time, where the second time is a time when the application data triggers the application notification, and the first time is earlier than the second time.
According to the control device for the application notification, under the condition that the first terminal and the second terminal comprise the same application data, the relative distance between the first terminal and the second terminal is acquired at the first moment before the application data trigger the application notification, so that the target operation of the application notification can be executed at the second moment according to the relative distance between the first terminal and the second terminal, and the target operation can be set according to the actual requirements of a user, thereby realizing effective control of the application notification of the first terminal.
In some embodiments, the obtaining module 710 is specifically configured to:
and executing target operation for the application notification at a second moment based on the relative distance between the first terminal and the second terminal, wherein the second moment is the moment when the application data triggers the application notification, and the first moment is earlier than the second moment.
In some embodiments, the apparatus further comprises:
a determining module, configured to determine, before the target operation for the application notification is performed at the second time, that the target operation is to close the application notification or mute to output the application notification if a relative distance between the first terminal and the second terminal is less than or equal to a target distance threshold;
and determining the target operation based on the use state of the first terminal when the relative distance between the first terminal and the second terminal is greater than the target distance threshold.
In some embodiments, the determining module is specifically configured to:
determining that the target operation is ringing to output the application notification in the case that the use state is a used state;
and determining that the target operation is to close the application notification or mute to output the application notification when the use state is an unused state.
In some embodiments, the apparatus further comprises:
and the display module is used for displaying target information when the use state of the first terminal is the used state after the target operation is determined to close the application notification or to mute and output the application notification, wherein the target information is used for indicating the existence of a first identifier and the application notification corresponding to the first identifier.
The control device for application notification in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The control device for application notification in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The control device for application notification provided by the embodiment of the application can implement the method embodiments of fig. 1 to 6.
Optionally, as shown in fig. 8, the embodiment of the present application further provides an electronic device 800, including a processor 801 and a memory 802, where a program or an instruction capable of running on the processor 801 is stored in the memory 802, and the program or the instruction implements each step of the control method embodiment of the application notification when executed by the processor 801, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, and processor 910.
Those skilled in the art will appreciate that the electronic device 900 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 910 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the first terminal and the second terminal comprise the same application data.
A processor 910 configured to obtain, at a first time, a relative distance between the first terminal and the second terminal;
and executing target operation of the application notification at a second moment based on the relative distance between the first terminal and the second terminal, wherein the second moment is the moment when the application data triggers the application notification, and the first moment is earlier than the second moment.
According to the electronic device provided by the embodiment of the application notification method, under the condition that the first terminal and the second terminal comprise the same application data, the relative distance between the first terminal and the second terminal is acquired at the first moment before the application data trigger the application notification, and then the target operation of the application notification can be executed at the second moment according to the relative distance between the first terminal and the second terminal, and the target operation can be set according to the actual requirements of a user, so that effective control of the application notification of the first terminal is realized.
Optionally, the processor 910 is further configured to obtain, when the first moment detects that the first terminal carries a first identifier, a relative distance between the first terminal and the second terminal, where the first identifier is used to indicate that application data of the first terminal is synchronized to the second terminal.
Optionally, the processor 910 is further configured to determine, before the performing, at the second time, the target operation of the application notification, where the relative distance between the first terminal and the second terminal is less than or equal to a target distance threshold, that the target operation is to close the application notification or to mute outputting the application notification;
and determining the target operation based on the use state of the first terminal when the relative distance between the first terminal and the second terminal is greater than the target distance threshold.
Optionally, the processor 910 is further configured to determine that the target operation is ringing to output the application notification when the usage state is a used state;
and determining that the target operation is to close the application notification or mute to output the application notification when the use state is an unused state.
Optionally, the processor 910 is further configured to, after the determining that the target operation is to close the application notification or mute to output the application notification, display target information, where the usage state of the first terminal is a used state, where the target information is used to indicate that there is a first identifier and an application notification corresponding to the first identifier.
It should be appreciated that in embodiments of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, with the graphics processor 9041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. Touch panel 9071, also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 909 may include a volatile memory or a nonvolatile memory, or the memory 909 may include both volatile and nonvolatile memories. 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), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 909 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the control method embodiment of the application notification, and the same technical effects can be achieved, so that repetition is avoided, and no further description is provided herein.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or an instruction, implement each process of the above embodiment of the control method of application notification, and achieve the same technical effect, so that repetition is avoided, and no further description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the control method embodiments of the application notification described above, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A control method of application notification, applied to a first terminal, where the first terminal and a second terminal include the same application data, the method comprising:
acquiring a relative distance between the first terminal and the second terminal at a first moment;
and executing target operation of the application notification at a second moment based on the relative distance between the first terminal and the second terminal, wherein the second moment is the moment when the application data triggers the application notification, and the first moment is earlier than the second moment.
2. The method for controlling application notification according to claim 1, wherein the acquiring the relative distance between the first terminal and the second terminal at the first time includes:
and under the condition that the first terminal carries a first identifier at the first moment, acquiring the relative distance between the first terminal and the second terminal, wherein the first identifier is used for indicating that the application data of the first terminal are synchronized to the second terminal.
3. The method for controlling an application notification according to claim 1, wherein before the target operation for the application notification is performed at the second time, the method further comprises:
Determining that the target operation is to close the application notification or mute to output the application notification under the condition that the relative distance between the first terminal and the second terminal is smaller than or equal to a target distance threshold;
and determining the target operation based on the use state of the first terminal when the relative distance between the first terminal and the second terminal is greater than the target distance threshold.
4. The control method of application notification according to claim 3, wherein the determining the target operation based on the usage state of the first terminal includes:
determining that the target operation is ringing to output the application notification in the case that the use state is a used state;
and determining that the target operation is to close the application notification or mute to output the application notification when the use state is an unused state.
5. The control method of an application notification according to claim 3 or 4, characterized in that after said determining that the target operation is to close the application notification or to mute output of the application notification, the method further comprises:
and displaying target information for indicating the existence of a first identifier and an application notification corresponding to the first identifier when the use state of the first terminal is the used state.
6. A control device for application notification, applied to a first terminal, where the first terminal and a second terminal include the same application data, the device comprising:
the acquisition module is used for acquiring the relative distance between the first terminal and the second terminal at a first moment;
and the execution module is used for executing the target operation of the application notification at a second moment based on the relative distance between the first terminal and the second terminal, wherein the second moment is the moment when the application data trigger the application notification, and the first moment is earlier than the second moment.
7. The control device for application notification according to claim 6, wherein the obtaining module is specifically configured to:
and under the condition that the first terminal carries a first identifier at the first moment, acquiring the relative distance between the first terminal and the second terminal, wherein the first identifier is used for indicating that the application data of the first terminal are synchronized to the second terminal.
8. The control device for application notification according to claim 6, wherein the device further comprises:
a determining module, configured to determine, before the target operation for the application notification is performed at the second time, that the target operation is to close the application notification or mute to output the application notification if a relative distance between the first terminal and the second terminal is less than or equal to a target distance threshold;
And determining the target operation based on the use state of the first terminal when the relative distance between the first terminal and the second terminal is greater than the target distance threshold.
9. The control device for application notification according to claim 8, wherein the determining module is specifically configured to:
determining that the target operation is ringing to output the application notification in the case that the use state is a used state;
and determining that the target operation is to close the application notification or mute to output the application notification when the use state is an unused state.
10. The control device of application notification according to claim 8 or 9, characterized in that the device further comprises:
and the display module is used for displaying target information when the use state of the first terminal is the used state after the target operation is determined to close the application notification or to mute and output the application notification, wherein the target information is used for indicating the existence of a first identifier and the application notification corresponding to the first identifier.
CN202310548851.9A 2023-05-15 2023-05-15 Control method and device for application notification Pending CN116527806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310548851.9A CN116527806A (en) 2023-05-15 2023-05-15 Control method and device for application notification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310548851.9A CN116527806A (en) 2023-05-15 2023-05-15 Control method and device for application notification

Publications (1)

Publication Number Publication Date
CN116527806A true CN116527806A (en) 2023-08-01

Family

ID=87399278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310548851.9A Pending CN116527806A (en) 2023-05-15 2023-05-15 Control method and device for application notification

Country Status (1)

Country Link
CN (1) CN116527806A (en)

Similar Documents

Publication Publication Date Title
US9769634B2 (en) Providing personalized content based on historical interaction with a mobile device
US10264085B2 (en) Method and device for presenting push notifications
RU2629427C1 (en) Method and device for information transmission
US20160343060A1 (en) Information providing system and mobile electronic device
US20150350406A1 (en) Method and device for calendar reminding
KR102257792B1 (en) Off-screen display method and device
JP2018508085A (en) Information distribution method and apparatus
KR101964831B1 (en) Method and device for reminding in shutdown state
KR20170023746A (en) Method and apparatus of displaying ticket information
CN106354571B (en) Message reminding method and device
KR102063901B1 (en) Method for providing activity notification and device thereof
EP3425620A1 (en) Method and apparatus for always-on display, and computer-readable storage medium
RU2640747C2 (en) Method and device for reminder
CN107132908B (en) Image updating method and device
RU2616592C2 (en) Method and apparatus for determining location
WO2022247771A1 (en) Instant messaging method and apparatus and electronic device
JP2009259144A (en) Information processor and schedule management method
CN107426401B (en) Mute reminding method, device and terminal
CN110581922A (en) Alarm clock setting method and terminal equipment
CN116527806A (en) Control method and device for application notification
CN102957741A (en) Method and apparatus for accessing location based service
CN107241439B (en) Message pushing method and device for H5 page
CN110648657A (en) Language model training method, language model construction method and language model construction device
KR102121536B1 (en) Method for providing activity notification and device thereof
CN115278139A (en) Video processing method and device, electronic equipment and storage medium

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