CN115695653A - Message prompting method and device, electronic equipment and readable storage medium - Google Patents

Message prompting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115695653A
CN115695653A CN202110838070.4A CN202110838070A CN115695653A CN 115695653 A CN115695653 A CN 115695653A CN 202110838070 A CN202110838070 A CN 202110838070A CN 115695653 A CN115695653 A CN 115695653A
Authority
CN
China
Prior art keywords
message
electronic device
prompting
type
electronic equipment
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
CN202110838070.4A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110838070.4A priority Critical patent/CN115695653A/en
Publication of CN115695653A publication Critical patent/CN115695653A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a message prompting method, a message prompting device, an electronic device and a non-volatile computer readable storage medium. The message prompting method comprises the following steps: under the condition that a first electronic device runs an application program, searching a second electronic device within a preset distance range of the first electronic device; the first electronic equipment receives a message; and when the message is matched with one second electronic device, sending the message to the matched second electronic device for prompting. According to the message prompting method, the first electronic device searches for the second electronic device within the preset range, when the first electronic device receives the message and the received message is matched with the second electronic device, the matched second electronic device prompts the message received by the first electronic device, so that a user can concentrate on running an application program when using the first electronic device and is not disturbed by the received message, meanwhile, the user can know the received message in time by means of the second electronic device, and important messages are prevented from being missed.

Description

Message prompting method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of intelligent display technologies, and in particular, to a message prompting method, a message prompting apparatus, an electronic device, and a non-volatile computer-readable storage medium.
Background
With the development of communication technology, more and more applications are provided on electronic devices, and more messages are provided for various applications. In order to enable the user not to be disturbed by the incoming message and to concentrate more on a certain application, the electronic device may be provided with a function of not popping up the message of the application or the system, when the user uses a certain application, the user will not receive the message of other applications or systems, but if the user does not pop up the message of other applications or systems, the user may miss important information.
Disclosure of Invention
The embodiment of the application provides a message prompting method, a message prompting device, electronic equipment and a non-volatile computer readable storage medium.
The message prompting method of the embodiment of the application comprises the following steps: under the condition that a first electronic device runs an application program, searching a second electronic device within a preset distance range of the first electronic device; the first electronic equipment receives a message; and when the message is matched with one second electronic device, sending the message to the matched second electronic device for prompting.
The message prompting device is applied to first electronic equipment and comprises an acquisition module, a control module and a prompting module. The acquisition module is used for searching for second electronic equipment within a preset distance range of the first electronic equipment under the condition that the first electronic equipment runs the application program. The control module is used for controlling the first electronic equipment to receive messages. And the prompting module is used for sending the message to the matched second electronic equipment for prompting when the message is matched with one second electronic equipment.
A first electronic device of an embodiment of the application includes one or more processors, memory, and one or more programs. Wherein one or more of the programs are stored in the memory and executed by one or more of the processors, the programs including instructions for performing the message alert method of embodiments of the present application. The message prompting method comprises the following steps: under the condition that the first electronic equipment runs the application program, the second electronic equipment is searched within a preset distance range of the first electronic equipment. The first electronic device receives a message. And when the message is matched with one second electronic device, sending the message to the matched second electronic device for prompting.
The non-transitory computer-readable storage medium of an embodiment of the present application contains a computer program that, when executed by one or more processors, causes the processors to perform a message alert method that: under the condition that the first electronic equipment runs the application program, the second electronic equipment is searched within a preset distance range of the first electronic equipment. Controlling the first electronic device to receive a message. And when the message is matched with one second electronic device, sending the message to the matched second electronic device for prompting.
According to the message prompting method, the first electronic device searches for the second electronic device within the preset range, when the first electronic device receives the message and the received message is matched with the second electronic device, the matched second electronic device prompts the message received by the first electronic device, so that a user can concentrate on running an application program and is not disturbed by the received message when using the first electronic device, meanwhile, the user can know the received message in time by means of the second electronic device, and the user is prevented from missing important messages.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of embodiments of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram illustrating a message alert method according to some embodiments of the present application;
FIG. 2 is a schematic block diagram of a message prompting device according to some embodiments of the present application;
FIG. 3 is a schematic structural diagram of an electronic device (a first electronic device) and a second electronic device according to some embodiments of the present disclosure;
FIG. 4 is a flow chart diagram illustrating a message alert method according to some embodiments of the present application;
fig. 5-8 are schematic flow charts of message prompting methods according to some embodiments of the present application;
FIG. 9 is a schematic illustration of a scenario of a video call type message in some embodiments of the present application;
FIGS. 10 through 11 are flow diagrams illustrating message prompting methods according to some embodiments of the present application;
FIG. 12 is a schematic diagram of a scene of at least one type of message in text, pictures, articles, animations or emoticons according to some embodiments of the present application;
FIG. 13 is a flow chart illustrating a message alert method according to some embodiments of the present application;
FIG. 14 is a schematic diagram of a scenario of a voice-type message in some embodiments of the present application;
FIG. 15 is a schematic flow chart diagram of a message prompting method according to some embodiments of the present application;
FIG. 16 is a schematic diagram of a connection between a non-volatile computer readable storage medium and a processor according to some embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the embodiments of the present application, and are not construed as limiting the embodiments of the present application.
Referring to fig. 1 to 3, an embodiment of the present application provides a message prompting method, where the message prompting method includes:
01: under the condition that the first electronic device 100 runs the application program, searching for the second electronic device 200 within a preset distance range of the first electronic device 100;
02: the first electronic device 100 receives the message; and
08: when the message is matched with one second electronic device 200, the message is sent to the matched second electronic device 200 for prompting.
Referring to fig. 2, an embodiment of the present application provides a message prompt apparatus 10. The message prompt device 10 includes an acquisition module 11, a control module 12, and a prompt module 13. The message presentation method according to the embodiment of the present application may be applied to the message presentation apparatus 10, and the message presentation apparatus 10 is applied to the first electronic device 100. The obtaining module 11 is configured to execute the method in 01, the control module 12 is configured to execute the method in 02, and the prompting module 13 is configured to execute the method in 08. That is, the obtaining module 11 is configured to find the second electronic device 200 within a predetermined distance range of the first electronic device 100 when the first electronic device 100 runs the application. The control module 12 is used for controlling the first electronic device 100 to receive the message. The prompting module 13 is configured to send the message to a second electronic device 200 that matches the message when the message matches one of the second electronic devices 200 for prompting.
Referring to fig. 3, the present embodiment further provides a first electronic device 100, and specifically, the first electronic device 100 includes one or more processors 30, a memory 20, and one or more programs. Wherein one or more programs are stored in the memory 20 and executed by the one or more processors 30, the programs including instructions for performing the message alert method of embodiments of the present application. That is, when the processor 30 executes the program, the processor 30 may implement the methods in steps 01, 02, and 08. That is, the one or more processors 30 are to: under the condition that the first electronic device 100 runs the application program, searching for the second electronic device 200 within a preset distance range of the first electronic device 100; controlling the first electronic device 100 to receive the message; when the message is matched with one second electronic device 200, the message is sent to the matched second electronic device 200 for prompting.
Specifically, referring to fig. 3, the first electronic device 100 may include, but is not limited to, a terminal device such as a mobile phone, a notebook computer, a smart tv, a tablet computer, a smart watch, or a computer. The message prompting device 10 may be an integration of functional modules integrated in the first electronic device 100. The present application only takes the first electronic device 100 as a mobile phone as an example, and the situation when the first electronic device 100 is another type of device is similar to the mobile phone, and is not described in detail.
The second electronic device 200 is a third-party device, such as a mobile phone, a laptop, an intelligent tv, a tablet computer, an intelligent watch, an intelligent speaker, an intelligent screen, or a computer. The first electronic device 100 and the second electronic device 200 may be the same type of terminal device, or may be different types of terminal devices.
With the development of communication technology, more and more applications are provided on electronic devices, and more messages are provided for various applications. In order to enable the user not to be disturbed by the incoming message and to concentrate more on a certain application, the electronic device may be provided with a function of not popping up the message of the application or the system, when the user uses a certain application, the user will not receive the message of other applications or systems, but if the user does not pop up the message of other applications or systems, the user may miss important information.
In the message prompting method of the application, the first electronic device 100 searches for the second electronic device 200 within the predetermined distance range, and when the first electronic device 100 receives a message and the received message is matched with the second electronic device 200, the matched second electronic device 200 prompts the message received by the first electronic device 100, so that a user can concentrate on running an application program without being disturbed by the received message when using the first electronic device 100, and meanwhile, the user can know the received messages of other application programs or systems in time by means of the second electronic device 200, thereby avoiding the user missing important messages.
Referring to fig. 1 to fig. 3, specifically, in step 01, the application executed by the first electronic device 100 refers to an application that the user is using the first electronic device 100, and the executed application needs to occupy the display screen of the first electronic device 100 and continuously display for a period of time, such as a game application, an audio-visual application, or a navigation application. The applications running in the background in the first electronic device 100 may include multiple applications, and one of the applications is the application that the user is operating. For example, the application that the user is operating and using is a game application, and the application that the user is operating and using through the first electronic device 100 may also be a video application, a communication application, an office application, or the like, and the present application only describes the message prompting method in detail by taking the example that the first electronic device 100 runs the game application, and the application is similar to the running of the game application when the first electronic device 100 runs other types of applications, which is not listed here.
At this time, the first electronic device 100 automatically searches for one or more second electronic devices 200 within a predetermined distance range of the first electronic device 100. The predetermined distance range may be determined according to a search mode of the first electronic device 100 for searching the second electronic device 200. Assuming that the predetermined distance range is within ten meters, the acquisition module 11 or the processor 30 will acquire all the second electronic devices 200 within ten meters of the first electronic device 100. In one embodiment, the obtaining module 11 or the processor 30 may display all the obtained second electronic devices 200 on the display screen of the first electronic device 100 in a visual manner.
Referring to fig. 4, in step 02, when the first electronic device 100 runs the game application, the control module 12 or the processor 30 starts a detection thread, and continuously monitors and receives messages pushed by the application or the system in the first electronic device 100 through the detection thread. Specifically, the message may include a phone call notification, a group message within an application, a personal message within an application, a service message actively sent by the system side, or a system plug-in message, etc.
In step 03, the prompt module 13 or the processor 30 performs matching processing on the received messages and the acquired second electronic device 200 one by one. For example, the second electronic device 200 obtained by the obtaining module 11 or the processor 30 includes three, the detection thread includes five received messages, and the control module 12 or the processor 30 may sort the five received messages according to the arrival time, where for the messages that arrive at the same time, the order may be determined according to the number of times of using the application program from which the messages originate or according to user settings.
The prompting module 13 or the processor 30 first determines whether the first message matches with the acquired plurality of second electronic devices 200, and if the first message matches with the first second electronic device 200, sends the first message to the second electronic device 200 that matches for prompting, so that the user is not interfered during playing the game using the first electronic device 100, and can also know the message received by the first electronic device 100. If the first message does not match the first second electronic device 200, sequentially determining whether the first message matches the remaining two second electronic devices 200 until the first message finds the matching second electronic device 200. And then sequentially judging whether the second message is matched with the three second electronic devices 200, wherein the specific implementation principle is the same as that of the first message, until all messages are judged, so that the first electronic device 100 receives all messages and prompts the messages through the second electronic devices 200.
Referring to fig. 3 and 5, in some embodiments, 01: searching for the second electronic device 200 within a predetermined distance range of the first electronic device 100 may include:
011: the first electronic device 100 searches for the second electronic device 200 within a predetermined distance range of the first electronic device 100 by a wireless search method.
Please refer to fig. 2, the obtaining module 11 is further configured to execute the method in 011. That is, the obtaining module 11 is further configured to control the first electronic device 100 to search for the second electronic device 200 within a predetermined distance range of the first electronic device 100 through a wireless search mode.
The processor 30 is also configured to perform the method of 011. That is, the processor 30 is further configured to control the first electronic device 100 to search for one or more second electronic devices 200 within a predetermined distance range of the first electronic device 100 through a wireless search manner.
In one embodiment, the wireless search mode may include, but is not limited to, bluetooth, wiFi, near Field Communication (NFC), etc., and the predetermined distance range is related to the wireless search mode. For example, when the acquisition module 11 or the processor 30 searches for the second electronic device 200 through bluetooth, the predetermined distance range may be set according to a connection range of bluetooth. If the connection range of the bluetooth is within ten meters, the predetermined distance range may be within one meter, within two meters, within three meters, within four meters, within five meters, within six meters, within seven meters, within eight meters, within nine meters, or within ten meters, and the second electronic device 200 within any one of the above ranges can be found by the obtaining module 11 or the processor 30.
Also for example, when the acquisition module 11 or the processor 30 searches for the second electronic device 200 through WiFi, the predetermined distance range may be set according to a connection range of WiFi. For example, when the WiFi connection range is within four hundred meters outdoors, the predetermined distance range may be within four hundred meters, and all the second electronic devices 200 within four hundred meters from the first electronic device 100 can be found by the obtaining module 11 or the processor 30. When indoors, the connection range of WiFi is within one hundred meters, and the predetermined distance range may be a range within one hundred meters, all second electronic devices 200 within 100 one hundred meters from the first electronic device can be found by the acquisition module 11 or the processor 30.
Also for example, when the acquisition module 11 or the processor 30 searches for the second electronic device 200 through NFC, the predetermined distance range may be set according to a connection range of NFC. If the connection range of NFC is within ten centimeters, the predetermined distance range may be within ten centimeters. All second electronic devices 200 within ten centimeters from the first electronic device 100 can be found by the acquisition module 11 or the processor 30.
The first electronic device 100 may find the second electronic device 200 within the predetermined distance range in a wireless search manner, so that the first electronic device 100 may not be interfered when performing charging processing, and the message received by the first electronic device 100 may be ensured to be sent to the second electronic device 200 matched to prompt without interfering a user to play a game using the first electronic device 100.
Referring to fig. 2 and 6, in some embodiments, the message prompting method may further include:
09: the second electronic device 200 prompts for a message and indicates the source information of the message.
Please refer to fig. 2, the prompt module 13 can also be used to execute the method of 09. That is, the prompt module 13 is further operable to: and controlling the second electronic device 200 to prompt the message and marking the source information of the message.
The processor 30 may also be used to perform the method of 09. That is, the processor 30 may also be configured to: and controlling the second electronic device 200 to prompt the message and marking the source information of the message.
Specifically, when the prompting module 13 or the processor 30 controls the second electronic device 200 to prompt for a message, the source information of the message may also be displayed on the second electronic device 200. The source information may be one or more of a device model of the first electronic device 100, an application program in the first electronic device 100 that receives the message, or originator information of the message, so that the user can know the source information of the message while knowing the content of the message through the second electronic device 200, and the user can refer to the message again.
Referring to fig. 3 and 7, in some embodiments, the message prompting method may further include:
03: acquiring the type of the second electronic device 200;
04: acquiring the type of the message;
05: matching the type of the second electronic device 200 with the type of the message;
06: determining that the message matches the second electronic device 200 when the type of the message matches the type of the second electronic device 200; and
07: when the type of the message does not match the type of the second electronic device 200, it is determined that the message does not match the second electronic device 200.
Please refer to fig. 2, the obtaining module 11 of the message prompting device 10 can be further configured to execute the methods in 03 and 04, the message prompting device 10 can further include a matching module 14, and the matching module 14 is configured to execute the methods in 05, 06, and 07. That is, the obtaining module 11 is further configured to: the type of the second electronic device 200 and the type of the acquisition message are acquired. The matching module 14 is configured to: matching the type of the second electronic device 200 with the type of the message; determining that the message matches the second electronic device 200 when the type of the message matches the type of the second electronic device 200; when the type of the message does not match the type of the second electronic device 200, it is determined that the message does not match the second electronic device 200.
The processor 30 is also used to execute the methods in 03, 04, 05, 06 and 07. That is, the processor 30 is further configured to: acquiring the type of the second electronic device 200; acquiring the type of the message; matching the type of the second electronic device 200 with the type of the message; determining that the message matches the second electronic device 200 when the type of the message matches the type of the second electronic device 200; when the type of the message does not match the type of the second electronic device 200, it is determined that the message does not match the second electronic device 200.
In one embodiment, after the control module 12 or the processor 30 controls the first electronic device 100 to receive the message of the first electronic device 100, the obtaining module 11 or the processor 30 obtains the type of the second electronic device 200 found in step 01 and obtains the type of the message received in step 02, wherein the type division basis of the second electronic device 200 is associated with the type division basis of the message, that is, the type of the second electronic device 200 is a medium having a function of prompting the message so as to prompt a user. For example, when the type of the message is a text type, the second electronic device 200 may be a terminal device having a display screen type; when the type of the message is a voice type, the second electronic device 200 is a terminal device having a speaker or a speaker type; when the type of the message is a video type, the second electronic device 200 is a terminal device having a speaker or a loudspeaker and a display screen type; when the type of the message is voice call, the second electronic equipment is terminal equipment with a loudspeaker or a loudspeaker and a microphone; when the type of the message is a video call, the second electronic device is a terminal device having a display screen, a camera, a speaker or a loudspeaker, and a microphone type.
In another embodiment, when the obtaining module 11 or the processor 30 obtains one or more second electronic devices 200 within a predetermined distance range in step 01, the type corresponding to the found second electronic device 200 may be obtained together, so as to be used as a basis for whether to send a message to the second electronic device 200 for prompting. Likewise, in step 02, when the control module 12 or the processor 30 receives a message in the first electronic device 100, the type of the received message may be obtained together.
In steps 05, 06, and 07, the matching module 14 or the processor 30 determines according to the type of the message and the type of the second electronic device 200, and when the type of the message matches the type of the second electronic device 200, the matching module 14 or the processor 30 outputs a signal for determining that the message matches the second electronic device 200, and sends the message to the second electronic device 200 for prompting. When the type of the message does not match the type of the second electronic device 200, the matching module 14 or the processor 30 outputs a signal determining that the message does not match the second electronic device 200, and then delivers the message normally to prompt in the first electronic device 100.
In some embodiments, upon determining that the message matches the second electronic device 200, the first electronic device 100 hides the message and does not prompt for the message.
Specifically, when a certain message received by the first electronic device 100 is prompted in the matching second electronic device 200, the first electronic device 100 performs a hiding process on the message that has been prompted on the second electronic device 200, that is, the first electronic device 100 receives a non-response (does not pop up) message that has been prompted on the second electronic device 200 but still exists in the memory of the first electronic device 100, so that the user can view the message again in the first electronic device 100. It can be understood that when the types of the messages are voice call and video call, and are both prompted by the second electronic device 200, if the user needs to check the voice call and the video call again, the call information such as the call party, the call duration, and the like of the voice call and the video call may be displayed in the first electronic device 100.
Referring to fig. 3 and 8, in some embodiments, the message type includes a video call, and the second electronic device 200 is of a type having a display screen, a speaker, a microphone, and a camera. 08: the second electronic device 200 that matches prompts for a message, including:
081: the video call is performed using the display screen, speaker, microphone, and camera of the second electronic device 200.
082: the first electronic device 100 calls a display screen, a speaker, a microphone and a camera of the second electronic device 200 to execute a video call, and a picture and voice in the video call are prompted by the second electronic device 200.
Please refer to FIG. 2, the hint module 13 is also used to execute the methods in 081 and 082. That is, the prompt module 13 is further configured to: the video call is performed using the display screen, speaker, microphone, and camera of the second electronic device 200. And controlling the first electronic device 100 to call a display screen, a loudspeaker, a microphone and a camera of the second electronic device 200 to execute the video call, and prompting the picture and voice in the video call through the second electronic device 200.
The processor 30 is also used to perform the methods in 081 and 082. That is, the processor 30 is further configured to: the video call is performed using the display screen, speaker, microphone, and camera of the second electronic device 200. And controlling the first electronic device 100 to call a display screen, a loudspeaker, a microphone and a camera of the second electronic device 200 to execute the video call, and prompting the picture and voice in the video call through the second electronic device 200.
In some embodiments, when the type of the message received by the first electronic device 100 includes a video call, in order to ensure that the video call type message can be prompted at the second electronic device 200, the second electronic device 200 is a terminal device having a display screen, a speaker, a microphone and a camera.
Referring to fig. 9, for example, when a user uses a game-like application in the first electronic device 100, the user receives a video call from a friend in a certain application, and if the user finds a plurality of second electronic devices 200 within a predetermined distance range of the first electronic device 100, the second electronic devices 200 include a smart television, a tablet computer, and a smart speaker. The prompting module 13 or the processor 30 may be connected to and matched with one of the smart tv or the tablet computer, and the first electronic device 100 is connected to and matched with the smart tv as an example. In order to not affect the user to play a normal game using the first electronic device 100 and simultaneously enable a video call with a friend in an application program when the user uses the first electronic device 100 to play the game, the prompting module 13 or the processor 30 calls a display screen, a speaker, a microphone, a camera and the like in the smart television to virtualize the display screen, the speaker, the microphone, the camera and the like in the smart television to be a remote device of the first electronic device 100, notifies the application program receiving the video call to use the remote device (including the display screen, the speaker, the microphone and the camera), and then responds to a video call message, the prompting module 13 or the processor 30 sends data information in the video call to the smart television, so that a picture and voice information in the video call are prompted on the smart television.
Further, when the video call message in the first electronic device 100 is prompted on the second electronic device 200, the source information of the video call message may be displayed on the second electronic device 200, so that the user can find and view the video call message quickly through the first electronic device 100. For example, the device model of the first electronic device 100, the application program that received the video call, the originator information of the video call, and the like, such as "from a friend in an application program in a certain device model", are displayed on the second electronic device 200.
It should be noted that, when the prompting module 13 or the processor 30 processes a video call message, because the account information logged in by the application is associated with the first electronic device 100, and the first electronic device 100 invokes the hardware device on the second electronic device 200 to prompt the message, the application receiving the video call is still executed in the background of the first electronic device 100, and only in the process of performing the video call, the data information such as the picture and the voice in the content of the video call is sent to the second electronic device 200, and the second electronic device 200 processes the data information such as the picture and the voice in the content of the video call to prompt the user.
In some embodiments, when the type of the message received by the first electronic device 100 is a voice call, the second electronic device 200 matched to the voice call is a terminal device having a speaker (or a speaker) and a microphone. Similarly, a user may use a microphone, a speaker, a display screen, and the like of the first electronic device 100 when playing a game using the first electronic device 100, in order not to affect the user to play a normal game using the first electronic device 100, and at the same time, to perform a voice call received by another application, specifically, when there is a second electronic device 200 (such as a tablet computer) matching with a voice call message, the prompting module 13 or the processor 30 calls the speaker and the microphone in the tablet computer to virtualize as a remote device of the first electronic device 100, and notifies an application receiving the voice call to use the remote device (including the speaker and the microphone), and then in response to the voice call message, the prompting module 13 or the processor 30 sends data information in the voice call to the tablet computer, so that the voice information in the voice call is prompted on the tablet computer.
Referring to fig. 3 and 10, in some embodiments, 08: sending the message to the second electronic device 200 matched to prompt, which may further include:
083: acquiring a forwarding method corresponding to the type of the message; and
084: and forwarding the message to the second electronic device 200 for prompting by adopting a forwarding method.
Referring to fig. 2, the prompt module 13 is also used for executing the methods of 083 and 084. That is, the prompt module 13 is further configured to: acquiring a forwarding method corresponding to the type of the message; and forwarding the message to the second electronic device 200 by adopting a forwarding method for prompting.
Processor 30 is also used to perform the methods in 083 and 084. That is, the processor 30 is further configured to: acquiring a forwarding method corresponding to the type of the message; and forwarding the message to the second electronic device 200 by adopting a forwarding method for prompting.
Specifically, for different types of messages, the prompting module 13 or the processor 30 can adopt different message forwarding methods to accurately send the message to the matching second electronic device 200 for prompting.
For example, the prompting module 13 or the processor 30 may package the message into a common file format and forward the compressed message to the second electronic device 200 matching the message type for prompting. Also for example, the prompting module 13 or the processor 30 may package and compress the message into a streaming media file format and forward the message to the second electronic device 200 matching the message type for prompting. When the first electronic device 100 forwards different types of messages to the second electronic device 200 by using different forwarding methods, the integrity and accuracy in the message forwarding process can be ensured, and the phenomenon that part of message data received by the second electronic device 200 is lost is avoided.
Further, when different forwarding methods are used by the first electronic device 100 to forward different types of messages, the first electronic device may further encrypt message data that needs to be forwarded, so as to ensure security of message forwarding.
Referring to fig. 3 and 11, in some embodiments, the type of the message includes at least one of text, picture, article, animation, or emoticon, the second electronic device 200 is of a display screen, and the forwarding method includes forwarding in the form of a file. 084: the forwarding method for forwarding the message to the second electronic device 200 for prompting may include:
0841: the text, the picture, the article, the animation, and the expression are forwarded to the second electronic device 200 having a display screen in the form of a file.
Referring to fig. 2, the prompt module 13 is further configured to execute the method in 0841. That is, the prompt module 13 is further configured to forward the text, the picture, the article, the animation, and the expression to the second electronic device 200 having the display screen in the form of a file.
The processor 30 is also used to execute the method in 0841. That is, the processor 30 is further configured to forward the text, the picture, the article, the animation, and the emoticon to the second electronic device 200 having the display screen in the form of a file.
In one example, the message may include any of a text, a picture, an article, an animation, or an emoticon; or the message can be formed by arranging and combining characters, pictures, articles, animations or expressions. For example, the message includes text and animation; or the message comprises pictures, animations and expressions; or the message comprises articles, pictures, animations and expressions; or the message includes text, pictures, articles, animations and emoticons. This is not to be taken as an example.
Referring to fig. 12, when the user uses the game application program in the first electronic device 100, and the type of the message received by the first electronic device 100 includes at least one of text, picture, article, animation, or expression, in order to ensure that the message with the above type can be prompted on the second electronic device 200, the second electronic device 200 is a terminal device with a display screen type. And, the forwarding method adopted by the prompting module 13 or the processor 30 may include forwarding in the form of a file.
When a user uses a game application program in the first electronic device 100, the first electronic device 100 receives a text message pushed from a certain application program, and finds a plurality of second electronic devices 200 within a predetermined distance range of the first electronic device 100, and the prompting module 13 or the processor 30 packages all data of the text message into a common file format and forwards the common file format to the second electronic devices 200 matched with the type of the text message for prompting. The prompting module 13 or the processor 30 forwards the message of the first electronic device 100 to the second electronic device 200 by using a forwarding method in a file form, so as to avoid a data loss phenomenon in a forwarding process, and ensure that the second electronic device 200 can receive accurate data. When the prompting module 13 or the processor 30 forwards the text message to the second electronic device 200, the processor 30 in the second electronic device 200 may decode the data in the forwarded file to display the text message through the display screen of the second electronic device 200.
It should be noted that, the first electronic device 100 may receive messages pushed by various applications and systems, the first electronic device 100 may start a message detection thread, continuously detect the arrival of a message, determine the type of the message, and perform type determination and prompt processing of the next message after a certain message is prompted on the second electronic device 200.
Referring to fig. 3 and 13, in some embodiments, the type of the message includes voice, the type of the second electronic device 200 is a speaker, and the forwarding method includes forwarding in the form of streaming media; 084: the forwarding method for forwarding the message to the second electronic device 200 for prompting may include:
0842: the speech is forwarded in the form of streaming media to the second electronic device 200 having a speaker.
Referring to fig. 2, the prompt module 13 is further configured to execute the method in 0842. That is, the prompt module 13 is also used to forward the voice in the form of streaming media to the second electronic device 200 having a speaker.
The processor 30 is also used to execute the method in 0842. That is, the processor 30 is also configured to forward the speech in the form of streaming media to the second electronic device 200 having a speaker.
Referring to fig. 14, when a user uses a game application in the first electronic device 100 and knows that the type of a message received in a certain application includes a voice, the prompt module 13 or the processor 30 sequentially determines whether a terminal device with a speaker type exists in the searched second electronic device 200, and when a second electronic device 200 matching the type of the voice message is found, the prompt module 13 or the processor 30 forwards the voice message to the second electronic device 200 in the form of a streaming media file, and the processor in the second electronic device 200 decodes the streaming media file and plays the streaming media file through the speaker of the second electronic device 200, so that the user can know that the voice message is received in time through the second electronic device 200 while playing a game using the first electronic device 100, thereby avoiding missing important messages. The second electronic device 200 may be a smart speaker, a bluetooth headset, or the like.
Further, when the second electronic device 200 plays the voice message of the first electronic device 100, the source of the voice message can be described together after the second electronic device 200 has played the voice message. For example, the device model of the first electronic device 100, the application program that received the voice message, the originator information of the voice message, and the like, such as "from a friend in an application program in a certain device model", are played through the speaker of the second electronic device 200.
In some embodiments, when the message received by the first electronic device 100 is a voice message and none of the acquired second electronic devices 200 has a speaker, it may be further determined whether the acquired second electronic device 200 has a display screen, if the acquired second electronic device 200 has a display screen, the prompting module 13 or the processor 30 may convert the voice message into a text message, at this time, the second electronic device 200 is matched with the text message obtained after the voice message conversion, and the prompting module 13 or the processor 30 forwards the text message obtained after the voice message conversion to the second electronic device 200 for display.
In some embodiments, when the message received by the first electronic device 100 is a text, a picture, an article, an animation, and an emoticon message, and none of the acquired second electronic devices 200 has a display screen, it may be further determined whether the acquired second electronic device 200 has a speaker, and if the acquired second electronic device 200 has a speaker, the prompting module 13 or the processor 30 may convert the text, the picture, the article, the animation, and the emoticon message into a voice message, where the animation message may broadcast a meaning expressed by the animation through voice, and the emoticon message may broadcast an emoticon name through voice, and the like. At this time, the second electronic device 200 matches the voice message obtained by converting the text, the picture, the article, the animation, and the emoticon message, and the prompt module 13 or the processor 30 forwards the voice message obtained by converting the text, the picture, the article, the animation, and the emoticon message to the second electronic device 200 for playing.
Referring to fig. 3 and 15, in some embodiments, the message prompting method may further include:
010: when the message does not match with all the second electronic devices 200, the first electronic device 100 prompts the message.
Please refer to fig. 2, the prompt module 13 is further configured to execute the method in 010. That is, the prompt module 13 is further configured to: when the message does not match with all the second electronic devices 200, the first electronic device 100 prompts the message.
The processor 30 is also arranged to perform the method in 010. That is, the processor 30 is further configured to: when the message does not match with all the second electronic devices 200, the first electronic device 100 prompts the message.
Specifically, within a predetermined distance range, the first electronic device 100 finds the plurality of second electronic devices 200, where if the type of a certain message received by the first electronic device 100 is not matched with the types of the plurality of second electronic devices 200, the first electronic device 100 displays the message.
Further, the matching module 14 or the processor 30 controls the first electronic device 100 to adjust the transparency of the message pop-up box of the first electronic device 100 when determining that the message is not matched with all the second electronic devices 200 and when the first electronic device 100 prompts the message. For example, when a user receives a text message in another application program during a game using the first electronic device 100, the matching module 14 or the processor 30 controls the text message to respond and pop up, and the transparency of the message pop-up box is adjusted to be higher, so that the normal display of the game interface on the display screen of the first electronic device 100 is not affected.
Referring to fig. 16, the present application also provides a non-volatile computer-readable storage medium 300 containing a computer program 301. The computer program 301, when executed by one or more processors 30, causes the processor 30 to execute the message prompting method in 01, 011, 02, 03, 04, 05, 06, 07, 08, 081, 082, 083, 084, 0841, 0842, 09, and 010.
For example, the computer program 301, when executed by the one or more processors 30, causes the processor 30 to perform the method of:
01: under the condition that the first electronic device 100 runs the application program, searching for the second electronic device 200 within a predetermined distance range of the first electronic device 100;
02: the first electronic device 100 receives the message; and
08: when the message is matched with one second electronic device 200, the message is sent to the matched second electronic device 200 for prompting.
As another example, the computer program 201, when executed by the one or more processors 30, causes the processors 30 to perform the method of:
011: the first electronic device 100 searches for the second electronic device 200 within a predetermined distance range of the first electronic device 100 in a wireless searching manner;
02: the first electronic device 100 receives the message;
03: acquiring the type of the second electronic device 200;
04: acquiring the type of the message;
05: matching the type of the second electronic device 200 with the type of the message;
06: determining that the message matches the second electronic device 200 when the type of the message matches the type of the second electronic device 200;
07: determining that the message does not match the second electronic device 200 when the type of the message does not match the type of the second electronic device 200;
08: when the message is matched with one second electronic device 200, the message is sent to the matched second electronic device 200 for prompting.
In the description of the present application, reference to the terms "certain embodiments," "one example," "exemplary" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application and that variations, modifications, substitutions and alterations in the above embodiments may be made by those of ordinary skill in the art within the scope of the present application.

Claims (13)

1. A message prompting method, comprising:
under the condition that a first electronic device runs an application program, searching a second electronic device within a preset distance range of the first electronic device;
the first electronic equipment receives a message; and
and when the message is matched with one second electronic device, sending the message to the matched second electronic device for prompting.
2. The message prompting method of claim 1, wherein the searching for a second electronic device within a predetermined distance range of the first electronic device comprises:
the first electronic equipment searches for second electronic equipment within a preset distance range of the first electronic equipment in a wireless searching mode.
3. The message prompting method according to claim 1, further comprising:
and the second electronic equipment prompts the message and marks the source information of the message.
4. The message prompting method according to claim 1, further comprising:
acquiring the type of the second electronic equipment;
acquiring the type of the message;
matching the type of the second electronic device with the type of the message;
determining that the message matches the second electronic device when the type of the message matches the type of the second electronic device; and
determining that the message does not match the second electronic device when the type of the message does not match the type of the second electronic device.
5. The message prompting method according to claim 4, further comprising:
and when the message is determined not to be matched with all the second electronic devices, the first electronic device prompts the message.
6. The message prompting method according to claim 4, further comprising:
upon determining that the message matches the second electronic device, the first electronic device conceals the message and does not prompt for the message.
7. The message prompting method according to claim 4, wherein the type of the message comprises a video call, and the type of the second electronic device is a type having a display screen, a speaker, a microphone and a camera; the second electronic device that matches prompts the message, including:
executing a video call by adopting a display screen, a loudspeaker, a microphone and a camera of the second electronic equipment; and
the first electronic equipment calls a display screen, a loudspeaker, a microphone and a camera of the second electronic equipment to execute video call, and pictures and voice in the video call are prompted through the second electronic equipment.
8. The message prompting method according to claim 4, wherein the sending the message to the matched second electronic device for prompting comprises:
acquiring a forwarding method corresponding to the type of the message; and
and forwarding the message to the second electronic equipment by adopting the forwarding method for prompting.
9. The message prompt method according to claim 8, wherein the type of the message includes at least one of a text, a picture, an article, an animation, or an expression, the type of the second electronic device is provided with a display screen, and the forwarding method includes forwarding in the form of a file; the forwarding the message to the second electronic device for prompting by using the forwarding method includes:
and transmitting the characters, the pictures, the articles, the animations and the expressions to the second electronic equipment with a display screen for prompting in the form of the file.
10. The message prompting method of claim 9, wherein the type of the message comprises voice, the type of the second electronic device is with a speaker, and the forwarding method comprises forwarding in the form of streaming media; the forwarding the message to the second electronic device for prompting by using the forwarding method includes:
and forwarding the voice to the second electronic equipment with a loudspeaker for prompting in the form of the streaming media.
11. A message prompting device applied to a first electronic device comprises:
the acquisition module is used for searching for second electronic equipment within a preset distance range of the first electronic equipment under the condition that the first electronic equipment runs an application program;
a control module for controlling the first electronic device to receive messages; and
and the prompting module is used for sending the message to the matched second electronic equipment for prompting when the message is matched with one second electronic equipment.
12. A first electronic device, comprising
One or more processors, memory; and
one or more programs, wherein one or more of the programs are stored in the memory and executed by one or more of the processors, the programs comprising instructions for performing the message alert method of any of claims 1 to 10.
13. A non-transitory computer readable storage medium storing a computer program which, when executed by one or more processors, implements the message alert method of any one of claims 1 to 10.
CN202110838070.4A 2021-07-23 2021-07-23 Message prompting method and device, electronic equipment and readable storage medium Pending CN115695653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110838070.4A CN115695653A (en) 2021-07-23 2021-07-23 Message prompting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110838070.4A CN115695653A (en) 2021-07-23 2021-07-23 Message prompting method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115695653A true CN115695653A (en) 2023-02-03

Family

ID=85044318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110838070.4A Pending CN115695653A (en) 2021-07-23 2021-07-23 Message prompting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115695653A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037319A (en) * 2011-09-30 2013-04-10 联想(北京)有限公司 Communication transferring method, mobile terminal and server
CN104811548A (en) * 2015-04-02 2015-07-29 深圳市金立通信设备有限公司 Terminal
CN104822128A (en) * 2015-04-02 2015-08-05 深圳市金立通信设备有限公司 Communication event warning method
CN109088815A (en) * 2018-08-30 2018-12-25 Oppo广东移动通信有限公司 Message prompt method, device, storage medium, mobile terminal and wearable device
CN109814767A (en) * 2018-12-10 2019-05-28 华为技术有限公司 Message treatment method and relevant apparatus
CN111064844A (en) * 2018-10-17 2020-04-24 阿里巴巴集团控股有限公司 Message prompting method and device, electronic equipment and computer readable medium
CN111212180A (en) * 2018-11-22 2020-05-29 奇酷互联网络科技(深圳)有限公司 Electronic equipment and message reminding method thereof, and device with storage function
CN111404802A (en) * 2020-02-19 2020-07-10 华为技术有限公司 Notification processing system and method and electronic equipment
CN112269614A (en) * 2020-10-26 2021-01-26 维沃移动通信有限公司 Message processing method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037319A (en) * 2011-09-30 2013-04-10 联想(北京)有限公司 Communication transferring method, mobile terminal and server
CN104811548A (en) * 2015-04-02 2015-07-29 深圳市金立通信设备有限公司 Terminal
CN104822128A (en) * 2015-04-02 2015-08-05 深圳市金立通信设备有限公司 Communication event warning method
CN109088815A (en) * 2018-08-30 2018-12-25 Oppo广东移动通信有限公司 Message prompt method, device, storage medium, mobile terminal and wearable device
CN111064844A (en) * 2018-10-17 2020-04-24 阿里巴巴集团控股有限公司 Message prompting method and device, electronic equipment and computer readable medium
CN111212180A (en) * 2018-11-22 2020-05-29 奇酷互联网络科技(深圳)有限公司 Electronic equipment and message reminding method thereof, and device with storage function
CN109814767A (en) * 2018-12-10 2019-05-28 华为技术有限公司 Message treatment method and relevant apparatus
CN111404802A (en) * 2020-02-19 2020-07-10 华为技术有限公司 Notification processing system and method and electronic equipment
CN112269614A (en) * 2020-10-26 2021-01-26 维沃移动通信有限公司 Message processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11961521B2 (en) Media system with multiple digital assistants
US11804227B2 (en) Local and cloud speech recognition
US11935537B2 (en) Trigger word detection with multiple digital assistants
US11405678B2 (en) Live streaming interactive method, apparatus, electronic device, server and storage medium
CN108446022B (en) User device and control method thereof
CN106973330B (en) Screen live broadcasting method, device and system
US20140222432A1 (en) Wireless communication channel operation method and system of portable terminal
CN107846516B (en) Call scene prompting method and mobile terminal
CN107835495B (en) Message prompting method and device and mobile terminal
CN109587319B (en) Incoming call processing method, terminal and computer readable storage medium
US10777197B2 (en) Audio responsive device with play/stop and tell me something buttons
CN106791916B (en) Method, device and system for recommending audio data
CN108848267B (en) Audio playing method and mobile terminal
WO2023142389A1 (en) Screen mirroring method and apparatus, and electronic device and storage medium
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
WO2020156112A1 (en) Operation control method for terminal, and terminal
CN110750198A (en) Expression sending method and mobile terminal
CN108307048B (en) Message output method and device and mobile terminal
CN106446042B (en) Information display method and device
CN109040472B (en) Incoming call processing method and device
CN110708494A (en) Video conference display control method, terminal and readable storage medium
CN115695653A (en) Message prompting method and device, electronic equipment and readable storage medium
CN109640000B (en) Rich media communication method, terminal equipment and computer readable storage medium
CN109788129B (en) Message display method and terminal equipment
CN107979700B (en) Method for sending notification information and mobile terminal

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