Terminal prompt method, system and storage medium
By sending prompt information of pending items to the device connected to the terminal, it ensures that the headset continues to play audio data, solves the problem of audio transmission being interrupted, and improves the audio transmission effect and user experience.
Patent Information
- Application Number
- CN202010679141.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-14
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-07-14
AI Technical Summary
When users listen to audio played by the terminal through headphones, they are easily interrupted by sudden tasks to be processed, resulting in poor audio transmission and affecting the user experience.
Receive prompt information for pending items and send it to the device connected to the terminal to ensure that the device performs the prompt operation and avoids interrupting the audio data transmission of the headset.
It effectively avoids the impact of pending items on audio transmission and improves the audio transmission effect and user experience.
Smart Images

Figure CN111857640B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information prompts, and in particular to a terminal prompt method, system and computer-readable storage medium. Background Art
[0002] With the improvement of audio technology of smart terminals such as mobile phones, tablets and computers, listening to music played by smart terminals by wearing headphones has become an optimal solution for relaxing and isolating from distractions in various application scenarios such as on the way home from get off work, at work or on the road.
[0003] However, when users wear Bluetooth headphones to listen to audio played by a terminal (such as a mobile phone), they are often interrupted by sudden incoming ringtones (especially some harassing calls) or push messages waiting to be processed (such as the sound becomes smaller or blurred), resulting in poor audio transmission effect and affecting user experience. Summary of the invention
[0004] The main purpose of the present invention is to provide a terminal prompt method, a terminal prompt system and a computer-readable storage medium, aiming to solve the problem in the prior art that when a user listens to the audio played by the terminal through headphones, he is easily interrupted by the pending matters of the terminal, resulting in poor audio transmission effect.
[0005] To achieve the above object, the present invention provides a terminal prompt method, which comprises the following steps:
[0006] Receive pending items;
[0007] The reminder information of the pending items is sent to a device connected to the terminal; wherein the device executes the reminder operation of the pending items, and the earphone keeps playing the audio data transmitted by the terminal without being interrupted by the pending items.
[0008] Optionally, the step of sending the reminder information of the pending items to a device connected to the terminal includes:
[0009] Establishing a prompt link with a device connected to the terminal;
[0010] The prompt information of the pending items is sent to the device connected to the terminal through the prompt link.
[0011] Optionally, before the step of sending the prompt information of the pending items to a device connected to the terminal through the prompt link, the step includes:
[0012] Determine whether the terminal has audio data transmission;
[0013] If so, the step of sending the reminder information of the pending items to the device connected to the terminal through the reminder link is executed.
[0014] Optionally, the step of sending the prompt information of the pending items to a device connected to the terminal through the prompt link includes:
[0015] Establish an audio link with the headset;
[0016] The audio data is sent to the headset via the audio link, and the prompt information is sent to a device connected to the terminal via the prompt link.
[0017] Optionally, after the step of sending the audio data to the headset through the audio link and sending the prompt information to a device connected to the terminal through the prompt link, the method further comprises:
[0018] Determining whether a response instruction sent by the device is received within a preset time;
[0019] If received, processing the pending items in response to the response instruction;
[0020] If not received, the audio link established with the headset is disconnected, and a prompt link is established with the headset, and the prompt information is sent to the headset through the prompt link, so as to give a prompt for the pending matters through the headset.
[0021] Optionally, when the prompt information is an incoming call prompt, the step of processing the pending items in response to the response instruction includes:
[0022] If the response instruction is to answer the incoming call, suspending the transmission of audio data in response to the response instruction to answer the incoming call, and establishing a call link with the headset to make a call through the headset;
[0023] If the response instruction is to reject the incoming call, the incoming call to be answered is rejected in response to the response instruction of rejecting the incoming call.
[0024] Optionally, after the step of receiving the pending matters, the method further includes:
[0025] Acquire wearing information of a device connected to the terminal;
[0026] When the acquired wearing information indicates that the device has been worn, executing the step of sending the prompt information of the pending items to a device connected to the terminal;
[0027] When the acquired wearing information indicates that the headset is not worn, the transmission of audio data is suspended, and the prompt information of the pending matters is sent to the headset.
[0028] Optionally, the step of acquiring wearing information of a device connected to the terminal includes:
[0029] Initiating a first request to the device to establish a service-level link;
[0030] If the first request is approved, establishing a service-level link with the device, and sending a second request to the device to obtain wearing information;
[0031] If the second request is approved, the wearing information sent by the device after detection is obtained.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal prompt system, which includes a memory, a processor, and a terminal prompt program stored on the processor and executable on the processor, and when the processor executes the terminal prompt program, the steps of the terminal prompt method as described above are implemented.
[0033] In addition, to achieve the above-mentioned purpose, the present invention further provides a computer-readable storage medium, on which a terminal prompt program is stored, and when the terminal prompt program is executed by a processor, the steps of the terminal prompt method described above are implemented.
[0034] The embodiment of the present invention receives pending items and then sends the prompt information of the pending items to a device connected to a terminal, so that the device performs the prompt operation of the pending items, so that the earphone keeps playing the audio data transmitted by the terminal without being interrupted by the pending items. That is, in the process of transmitting audio data to the earphone, by sending the prompt information of the pending items to the device connected to the terminal, the earphone is prevented from being affected by the pending events when playing the audio data transmitted by the terminal, resulting in poor audio transmission effect and affecting the user experience, thereby improving the audio transmission effect and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of the structure of a terminal prompt system in a hardware operating environment according to an embodiment of the present invention;
[0036] Figure 2 It is a flowchart of the first embodiment of the terminal prompt method of the present invention;
[0037] Figure 3 This is a flow chart of a second embodiment of the terminal prompt method of the present invention;
[0038] Figure 4 It is a flowchart diagram of the third embodiment of the terminal prompt method of the present invention.
[0039] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0041] The main solution of the present invention is: receiving pending items; sending reminder information of the pending items to a device connected to a terminal; wherein the device executes the reminder operation of the pending items, and the earphone keeps playing the audio data transmitted by the terminal without being interrupted by the pending items.
[0042] The current terminal prompting method is to make a prompt on the terminal or on the earphone connected to the terminal, which will affect the audio transmission effect when the terminal transmits audio data to the earphone, so that the earphone cannot maintain the state of playing the audio data transmitted by the terminal without being interrupted by the pending items. Therefore, the present invention proposes a terminal prompting method, a terminal prompting system and a computer-readable storage medium, which receives pending items and sends the prompt information of the pending items to a device connected to the terminal to perform the prompt operation of the pending items on the device, so that the earphone can maintain the state of playing the audio data transmitted by the terminal without being interrupted by the pending items, avoiding the poor audio data transmission effect caused by the pending items, improving the audio transmission effect and enhancing the user experience.
[0043] Reference Figure 1 , Figure 1 The present invention is a schematic diagram of the structure of a terminal prompt system in a hardware operating environment according to an embodiment of the present invention.
[0044] The terminal prompt system can be applied to smart terminals such as mobile phones or computers that can be connected to headphones and output audio data through headphones. The terminal can be connected to wearable devices such as smart bracelets or smart watches or household appliances such as televisions or air conditioners in smart home systems. When the terminal transmits audio data to the headphones, prompt information of pending items can be sent to the device connected to the terminal to prompt the pending items on the device, thereby ensuring that the headphones can keep playing the audio data transmitted by the smart terminal without being interrupted by the pending items, and can also ensure that the pending items can be effectively reminded.
[0045] like Figure 1As shown, the terminal prompt system may include: a communication bus 1002, a processor 1001, such as a CPU, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0046] Those skilled in the art will understand that Figure 1 The terminal prompt system structure shown in the figure does not constitute a limitation on the terminal prompt system, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0047] exist Figure 1 In the terminal prompt system shown, the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication with the client; and the processor 1001 can be used to call the terminal prompt program stored in the memory 1005 and perform the following operations:
[0048] Receive pending items;
[0049] The reminder information of the pending items is sent to a device connected to the terminal; wherein the device executes the reminder operation of the pending items, and the earphone keeps playing the audio data transmitted by the terminal without being interrupted by the pending items.
[0050] Optionally, the processor 1001 may call a terminal prompt program stored in the memory 1005, and further perform the following operations:
[0051] Establishing a prompt link with a device connected to the terminal;
[0052] The prompt information of the pending items is sent to the device connected to the terminal through the prompt link.
[0053] Optionally, before the step of sending the prompt information of the pending items to a device connected to the terminal through the prompt link, the processor 1001 calls a terminal prompt program stored in the memory 1005, and performs the following operations:
[0054] Determine whether the terminal has audio data transmission;
[0055] If so, the step of sending the reminder information of the pending items to the device connected to the terminal through the reminder link is executed.
[0056] Optionally, the processor 1001 may call a terminal prompt program stored in the memory 1005, and further perform the following operations:
[0057] Establish an audio link with the headset;
[0058] The audio data is sent to the headset via the audio link, and the prompt information is sent to a device connected to the terminal via the prompt link.
[0059] Optionally, after the step of sending the audio data to the headset through the audio link and sending the prompt information to a device connected to the terminal through the prompt link, the processor 1001 may call a terminal prompt program stored in the memory 1005, and further perform the following operations:
[0060] Determining whether a response instruction sent by the device is received within a preset time;
[0061] If received, processing the pending items in response to the response instruction;
[0062] If not received, the audio link established with the headset is disconnected, and a prompt link is established with the headset, and the prompt information is sent to the headset through the prompt link, so as to give a prompt for the pending matters through the headset.
[0063] Optionally, the processor 1001 may call a terminal prompt program stored in the memory 1005, and further perform the following operations:
[0064] If the response instruction is to answer the incoming call, suspending the transmission of audio data in response to the response instruction to answer the incoming call, and establishing a call link with the headset to make a call through the headset;
[0065] If the response instruction is to reject the incoming call, the incoming call to be answered is rejected in response to the response instruction of rejecting the incoming call.
[0066] Optionally, after the step of receiving the pending items, the processor 1001 may call a terminal prompt program stored in the memory 1005, and further perform the following operations:
[0067] Acquire wearing information of a device connected to the terminal;
[0068] When the acquired wearing information indicates that the device has been worn, executing the step of sending the prompt information of the pending items to a device connected to the terminal;
[0069] When the acquired wearing information indicates that the headset is not worn, the transmission of audio data is suspended, and the prompt information of the pending matters is sent to the headset.
[0070] Optionally, the processor 1001 may call a terminal prompt program stored in the memory 1005, and further perform the following operations:
[0071] Initiating a first request to the device to establish a service-level link;
[0072] If the first request is approved, establishing a service-level link with the device, and sending a second request to the device to obtain wearing information;
[0073] If the second request is approved, the wearing information sent by the device after detection is obtained.
[0074] Reference Figure 2 , Figure 2 This is a flow chart of a first embodiment of a terminal prompt method of the present invention. In this embodiment, the terminal prompt method includes the following steps:
[0075] Step S10: receiving pending items;
[0076] Step S20: Send the reminder information of the pending items to the device connected to the terminal; wherein the device executes the reminder operation of the pending items, and the earphone keeps playing the audio data transmitted by the terminal without being interrupted by the pending items.
[0077] In this embodiment, the terminal may be a smart terminal such as a mobile phone or a computer that can be connected to a headset to play the audio data transmitted by the terminal through the headset, and the terminal may also be connected to other devices other than the headset to prompt the terminal through the device for pending items received. The device connected to the terminal may be a device such as a mobile phone or a computer that can be used for message prompts. In a specific application environment, such as when applied to a smart home environment, the device may be a household device such as a television or an air conditioner; when applied to an outdoor environment, the device may be a wearable device, such as a wearable watch, wearable glasses, or a wearable smart bracelet. In order to be able to process the pending items received by the terminal in a timely and effective manner, in this embodiment, the device may preferably be a wearable device. In addition, the terminal may be connected to the headset or device in a wireless or wired manner. Among them, the wireless connection method may include infrared, Bluetooth, FM and 2.4G connection methods; and the headphones may be FM wireless headphones, infrared wireless headphones, Bluetooth wireless headphones, 2.4G wireless headphones, bone conduction headphones or wired headphones, etc.; and the wearing method of the headphones may be earplug type, in-ear type, head-mounted or ear-hook type and other wearing methods, which are not limited here.
[0078] In many application scenarios (such as online meetings, listening to music or video chatting, etc.), when the audio data transmitted by the terminal is played through headphones, if the terminal receives pending items, such as: incoming call requests or application notification pushes (such as to-do reminders or advertisement pushes pushed by memos, etc.) and other items that require the user to be prompted to process, if the terminal or the headphones perform prompt operations on the pending items (such as incoming call prompts or notification pushes, etc.), the headphones will not be able to maintain the state of playing the audio data transmitted by the terminal and will be interrupted by the pending items. The interruption includes: intermittent audio playback, sudden decrease in volume, sudden fuzzy sound, and sudden deterioration in sound quality. In this embodiment, a better solution is proposed. After the terminal receives the pending items, the prompt information of the pending items is sent to the device connected to the terminal, and the headset continues to play the audio data transmitted by the terminal. This can not only ensure that the received pending items are prompted, but also ensure that the headset keeps playing the audio data transmitted by the terminal without being interrupted by the pending items. Whether the headset keeps playing the audio data transmitted by the terminal without being interrupted by the pending items can be determined based on the sound quality, loudness, time interval and link connection status of the received audio data.
[0079] Specifically, in this embodiment, the terminal is used as the master device, and the headset connected to the terminal is used as the slave device. After the terminal establishes a connection with the headset, if an audio playback instruction is received, the terminal will transmit the audio data to be played corresponding to the audio playback instruction to the headset, and the headset will play it. In the process of transmitting the audio data to be played to the headset, in order to avoid the prompt information of the pending items affecting the transmission of the audio data, it is first necessary to detect in real time whether the terminal has received the pending items. Then when the terminal receives the pending items, it is necessary to detect whether there is a device connected to the terminal. If there is a device connected to the terminal, the prompt information of the pending items is sent to the device connected to the terminal to perform the prompt operation, and the prompt is not performed on the terminal or the headset, so as to ensure that the prompt of the pending items does not affect the transmission of audio data from the terminal to the headset; if there is no device connected to the terminal, the prompt information of the pending items can be sent to the headset, and the prompt information of the pending items can be output through the headset; or the connection with the headset is disconnected, and the pending items are directly prompted on the terminal. When outputting the reminder information of the pending items through the earphone, one earphone may be in the state of playing the audio data transmitted by the terminal, and the other earphone may be used to output the reminder information of the pending items and process the pending items in time; or the audio data transmitted by the terminal may be used as background sound, and the reminder information of the pending items may be output for prompting, etc. Of course, it is also possible to disconnect the audio transmission with the earphone, directly send the reminder information of the pending items to the earphone, and the earphone may be used for prompting. When the pending items are prompted through the earphone, since the earphone is worn on the ear, the user cannot directly see the reminder information displayed on the earphone, and therefore the reminder information is preferably voice prompt information or voice prompt information combined with other methods for prompting.
[0080] In addition, for specific application requirements, there may be multiple devices connected to the terminal, and prompt information of pending items may be sent to multiple devices connected to the terminal at the same time. For example, when there are multiple different types of pending items, prompt information of each type of pending items may be sent to multiple devices connected to the terminal respectively, so as to distinguish different types of pending items; or, when there are multiple pending items at the same time, prompt information of pending items may be sent to multiple devices connected to the terminal at the same time, so as to prompt multiple pending items on different devices at the same time, and facilitate users to operate multiple devices at the same time to process multiple pending items at the same time; or, in order to avoid users from easily missing processing when there are multiple pending items, prompt information of pending items may be sent to multiple devices at the same time or at preset time intervals.
[0081] This embodiment receives pending items and sends the prompt information of the pending items to a device connected to the terminal, so as to perform the prompt operation of the pending items on the device, so that the headset can keep playing the audio data transmitted by the terminal without being interrupted by the pending items. By sending the prompt information of the pending items to the device connected to the terminal, the pending items are prompted on the device, so as to avoid directly prompting the pending items on the terminal or the headset, resulting in poor audio transmission effect in the process of transmitting audio data to the headset, which affects the user experience, thereby improving the audio transmission effect and enhancing the user experience.
[0082] Reference Figure 3 , Figure 3 The flowchart of the second embodiment of the terminal prompt method of the present invention is as follows. Based on the above first embodiment, the second embodiment of the terminal prompt method of the present invention is proposed. In this embodiment, the terminal prompt method includes the following steps:
[0083] Step S11: receiving pending matters;
[0084] Step S12: Establishing a prompt link with a device connected to the terminal;
[0085] Step S13: Send the prompt information of the pending items to the device connected to the terminal through the prompt link; wherein the device executes the prompt operation of the pending items, and the earphone keeps playing the audio data transmitted by the terminal without being interrupted by the pending items.
[0086] In this embodiment, in order to send the prompt information of the pending items to the device connected to the terminal and prevent the pending items from interrupting the headset playing the audio data transmitted by the terminal, when the terminal receives the pending items and the headset is in the state of playing the audio data transmitted by the terminal, a prompt link can be established through the device connected to the terminal, and then the prompt information of the pending items is sent to the device connected to the terminal through the established prompt link, so that the device performs the prompt operation of the pending items, so that the headset keeps playing the audio data transmitted by the terminal without being interrupted by the pending items. The prompt link can be a service-level link or a combination of a service-level link and a full-duplex voice link, etc.; wherein, the service-level link can be an SLC (Service Level Connection) and the full-duplex voice link can be an SCO (Synchronous Connection Oriented). Specifically, a service-level link (such as SLC) can be established with the device, and prompt information of the pending items can be sent to the device through the established service-level link. After the device receives the prompt information, local ringing information (vibration, ringing or a combination thereof, etc.) is generated to prompt the pending items. It is also possible to establish a service-level link with the device and provide an in-band ringing tone to the device connected to the terminal through a full-duplex voice link (such as SCO), so that the pending items can be prompted on the device through the in-band ringing tone.
[0087] In one embodiment, in order to ensure that the headset can be in a state of playing the audio data transmitted by the terminal without being interrupted by pending items, when receiving pending items, it is necessary to first detect whether the terminal has audio data transmission, that is, whether the terminal is in an audio transmission state. On the one hand, if the terminal has audio data transmission, in order to avoid pending items affecting the audio data transmission of the terminal, the prompt information of the pending items is sent to the device connected to the terminal through the prompt link, that is, as long as the terminal is in an audio transmission state, the prompt information of the pending items is sent to the device connected to the terminal for prompting. On the other hand, if the terminal does not have audio data transmission, it can be determined according to the actual situation to prompt the pending items through the terminal, headset or device. For example, in order to ensure the effectiveness of the prompt, the prompt information of the pending items can be sent to the headset for prompting when the headset is in a worn state; or when the device is a wearable device and is in a worn state, the prompt information of the pending items can be sent to the device for prompting; or when the headset and the device are not worn, the prompt information of the pending items can be directly output on the terminal to prompt the pending items; or a combination of two or more of the above schemes, etc.
[0088] In another embodiment, when the terminal is in an audio transmission state, in order to ensure that the earphone playing the audio data transmitted by the terminal is not interrupted and the pending items can be effectively prompted, the audio data and the prompt information can be preferably sent to different devices through different links respectively to prevent the transmission of the audio data and the transmission of the prompt information from affecting each other. That is, when the pending items are received and the terminal has audio data transmission, an audio link can be established with the earphone, and the audio data can be sent to the earphone through the established audio link, and the prompt information can be sent to the device connected to the terminal through the prompt link, so that the transmission of the audio data and the transmission of the prompt information do not interfere with each other. When the earphone is connected to the terminal via Bluetooth, the audio link can be an ACL (Asynchronous Connection Less) link established based on the A2DP protocol (Advanced Audio Distribution Profile, Bluetooth audio transmission model agreement), etc.
[0089] In one embodiment, after the prompt information of the pending items is sent to the device connected to the terminal, there may be a situation where the user fails to view or learn the prompt information in time, resulting in failure to process the pending items in time. Therefore, after the prompt information of the pending items is sent to the device connected to the terminal, it is also determined whether a response instruction sent by the device is received within a preset time. If a response instruction sent by the device is not received within the preset time, the prompt information of the pending items can be preferably sent to the headset for prompting. Specifically, if a response instruction sent by the device is received within the preset time, the terminal can directly process the pending items in response to the received response instruction; if no response instruction sent by the device is received within the preset time and the terminal has not processed the pending items, it is necessary to first disconnect the audio link connection established with the headset, so that the headset pauses playing the audio data transmitted by the terminal, and then establish a prompt link with the headset, and send the prompt information of the pending items to the headset, so as to prompt the pending items through the headset, and after the prompt, the terminal can be controlled to process the pending items based on the operation instructions triggered by the user. Of course, the user can also perform operations directly on the terminal.
[0090] In one embodiment, the pending items may include multiple types of processing items such as incoming call processing and application notification processing, and when the pending items are different, the prompt information of the pending items will also be different, and then after the prompt information is sent to the device connected to the terminal, the response instruction sent by the device will also be different. Therefore, the process of processing the pending items in response to the received response instruction can be: first determine the instruction type corresponding to the response instruction according to the information type of the prompt information, and then respond to the response instruction according to the determined instruction type to process the pending items. The information type of the prompt information may include: incoming call information (such as the prompt information of the phone received by the mobile phone or the prompt information of the phone received by the software that can make voice calls such as QQ / WeChat), application notification information (such as shopping information pushed by shopping software) and to-do reminder information (such as memo recording schedule information), etc. Correspondingly, when the prompt information is an incoming call information, the instruction type corresponding to the response instruction may be answering the call, rejecting the call or ignoring the call, etc.; when the prompt information is an application notification information, the instruction type corresponding to the response instruction may be viewing the notification, ignoring the notification or blocking the notification, etc.; when the prompt information is a to-do reminder information, the instruction type corresponding to the response instruction may be reminding later, jumping to the application corresponding to the to-do item or modifying the reminder time, etc.
[0091] In a specific embodiment, when the information type of the prompt information is call information, the response instruction may at least include answering the call and rejecting the call. Therefore, if the response instruction sent by the device is received within the preset time, it is determined whether the instruction type corresponding to the response instruction is answering the call. When the instruction type corresponding to the response instruction is answering the call, that is, after the terminal receives the ATA command (answering the call) sent by the device, since the terminal is connected to the headset, a voice call can be made through the headset. At this time, the terminal will first disconnect the audio link connection with the headset to suspend the transmission of audio data to the headset, and then initiate the call link required to establish the voice call to the headset, so as to make a voice call through the headset. Of course, the user can also choose to disconnect the headset and make a voice call directly through the terminal. In addition, if the instruction type corresponding to the response instruction is rejecting the call, that is, the terminal receives the AT+CHUP command sent by the device (indicating hanging up the call that has not been connected), the audio link connection between the terminal and the headset is still maintained, and audio data is continued to be transmitted to the headset without being affected by the call information. If the response instruction sent by the device is not received within the preset time, the audio transmission connection (audio link) with the headset is disconnected, and a prompt link that can transmit the incoming call information is established with the headset, and the incoming call information is sent to the headset through the prompt link. If the user operates the headset or the terminal triggers the answering operation within the preset operation time, the terminal can establish a call link with the headset, and make a voice call on the headset through the call link. The call link can be a service-level link and SCO link required for the call, and the call function of the Bluetooth headset is realized through the service-level link and SCO link; if the user does not trigger the reception of the answering operation within the preset time, or receives an operation instruction to reject the call, the terminal will reject the call and maintain the audio link established with the headset to continue to transmit audio data. Of course, if no operation instruction is received until the incoming call ends, the audio link can be established with the headset based on user selection or automatic recovery to continue to transmit audio data. In addition, when no operation instruction is received within the preset time interval, the incoming call information can be repeatedly sent to the headset until the operation instruction is received or the incoming call request ends.
[0092] In a specific embodiment, the process of sending the prompt information to the headset through the prompt link may be: first, a request for establishing a service-level link is initiated to the headset, and when the headset receives the request for establishing a service-level link or the headset receives the request for establishing a service-level link and the request is verified, a service-level link is established with the headset; then, after the service-level link is established with the headset, a request for establishing a prompt link is initiated to the headset, and when the headset receives the request for establishing a prompt link or the headset receives the request for establishing a prompt link and the request is verified, a prompt link is established with the headset, and the prompt information of the pending matters can be sent to the headset through the prompt link, so as to send a response instruction to the terminal through the headset, so that the terminal processes the pending matters in response to the response instruction; it may also be to directly establish a service-level link with the headset, send the prompt information of the pending matters to the headset, and the headset generates local ringing information according to the received prompt information.
[0093] This embodiment receives pending items, then establishes a prompt link with the device connected to the terminal, and sends the prompt information of the pending items to the device through the prompt link, wherein the device performs the prompt operation of the pending items, and the earphone keeps playing the audio data transmitted by the terminal without being interrupted by the pending items. By establishing a prompt link with the device connected to the terminal, when the terminal transmits audio data to the earphone, the prompt information of the pending items can be sent to the device connected to the terminal, so as to avoid the earphone being interrupted by the pending items when playing the audio data transmitted by the terminal, resulting in poor audio transmission effect and affecting the user experience, thereby improving the audio transmission effect and enhancing the user experience.
[0094] Reference Figure 4 , Figure 4 The third embodiment of the terminal prompt method of the present invention is a flow chart. Based on the first embodiment, the third embodiment of the terminal prompt method of the present invention is proposed. In this embodiment, the terminal prompt method includes the following steps:
[0095] Step S21: receiving pending items;
[0096] Step S22: Acquire wearing information of a device connected to the terminal;
[0097] Step S23: When the acquired wearing information indicates that the wearer has worn the device, executing the step of sending the prompt information of the pending items to a device connected to the terminal;
[0098] Step S24: sending the reminder information of the pending items to the device connected to the terminal; wherein the device performs the reminder operation of the pending items, and the earphone keeps playing the audio data transmitted by the terminal without being interrupted by the pending items;
[0099] Step S25: When the acquired wearing information indicates that the headset is not worn, suspend the transmission of audio data and send the reminder information of the pending matters to the headset.
[0100] In this embodiment, in order to ensure that the user can check the reminder information of the pending items in a timely manner, when the device is a wearable device, if the terminal receives the pending items during the process of transmitting audio data to the headset, in order to prompt the pending items without affecting the headset playing the audio data transmitted by the terminal, the wearing information of the device will first be obtained to determine whether to send the reminder information of the pending items to the device based on the acquired wearing information. Specifically, when the acquired wearing information is that the device is worn, that is, when the device is in a worn state, it means that the prompt information of the pending items can be conveniently and quickly output to the user through the device. At this time, the audio link established with the headset is maintained to continue to transmit audio data to the headset, and the prompt information of the pending items is sent to the device, so that the user can timely check the prompt information of the pending items through the wearable device in a worn state to ensure the validity of the prompt of the pending items; and when the acquired wearing information is that the device is not worn, in order to be able to output the prompt information of the pending items to the user in a timely and effective manner, the transmission of audio data can be suspended to send the prompt information of the pending items to the headset (the headset is in a worn state), and the prompt operation can be performed on the headset; of course, the prompt information of the pending items can also be sent to the device and the headset at the same time. In order to improve the effectiveness of the output of the prompt information of the pending items, the prompt information of the pending items can also be sent to the device first, and it is determined whether the operation instruction sent by the device is received within the preset operation time. If it is received, the pending items are processed in response to the operation instruction; if it is not received, it is necessary to disconnect the audio link with the headset, and send the prompt information of the pending items to the headset by establishing a prompt link with the headset. After the headset outputs the prompt information, if the user receives the prompt information output by the headset, the user can directly operate on the headset to trigger the operation instruction to control the smart terminal to process the pending items, or trigger the operation instruction on the smart terminal to control the smart terminal to process the pending items.
[0101] In one embodiment, the method for acquiring the wearing information of the device may be: first initiate a first request to establish a service-level link to the device, and establish a service-level link with the device when the device receives the first request or when the device receives the first request and the first request is verified. Then, after the terminal establishes a service-level link with the device, send a second request to the wearable device to acquire its wearing information, and acquire the wearing information sent by the device after detection when the device receives the second request or when the device receives the second request and the second request is verified. The wearing information can be sent to the terminal after being detected by the device through capacitive detection or optical detection, and the detected wearing information includes detecting whether the wearable device is worn on the user's wrist or other parts of the body.
[0102] Of course, when the device is not a wearable device, it can be determined whether to send the reminder information of the pending items to the device based on information such as the distance information between the device and the terminal and the distance information between the user and the device to ensure the validity of the reminder of the pending items.
[0103] This embodiment receives pending items and obtains the wearing information of the device connected to the terminal, and then sends the prompt information of the pending items to the device connected to the terminal when the acquired wearing information indicates that the device is worn, so as to perform a prompt operation on the device, so that the headset can keep playing the audio data transmitted by the terminal without being interrupted by the pending items; and when the acquired wearing information indicates that the device is not worn, the transmission of audio data is suspended, and the prompt information of the pending items is sent to the headset to ensure the effectiveness of the prompt of the pending items. By obtaining the wearing information of the device, on the one hand, it can be ensured that the prompt of the pending items will not affect the transmission of audio data from the smart terminal to the headset and thus affect the audio transmission effect, thereby improving the effectiveness of the prompt of the pending items and the audio transmission effect; on the other hand, it can avoid the inability to timely feed back the prompt information to the user when the device is not worn, thereby improving the effectiveness of the prompt of the pending items.
[0104] In addition, an embodiment of the present invention further provides a terminal prompt system, which includes a memory, a processor, and a terminal prompt program stored on the processor and executable on the processor, and when the processor executes the terminal prompt program, the steps of the terminal prompt method described above are implemented.
[0105] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a terminal prompt program is stored. When the terminal prompt program is executed by a processor, the steps of the terminal prompt method described above are implemented.
[0106] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0107] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0108] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, TV, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0109] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A terminal prompt method, characterized in that: The terminal is connected to the headset, and the terminal prompt method comprises the following steps: Receive pending items; Sending the reminder information of the pending items to the device connected to the terminal includes: detecting whether there is a device connected to the terminal, wherein in an outdoor environment, the device is a wearable device; If yes, establish a prompt link with each device connected to the terminal. Determine whether the terminal has audio data transmission; If present, establish an audio link with the headset; sending the audio data to the headset via the audio link, and sending the prompt information of the pending items to each of the devices via the prompt link, wherein when there are multiple different types of pending items, the prompt information of the pending items is sent to multiple devices connected to the terminal respectively; The device performs the prompting operation of the pending items, and the earphone keeps playing the audio data transmitted by the terminal without being interrupted by the pending items; Determining whether a response instruction sent by the device is received within a preset time; If received, processing the pending items in response to the response instruction; If not received, disconnect the audio link established with the headset, establish a prompt link with the headset, send the prompt information to the headset through the prompt link, and give a prompt for the pending matter through the headset; When the prompt information is an incoming call prompt, the step of processing the pending items in response to the response instruction includes: If the response instruction is to answer the incoming call, suspending the transmission of audio data in response to the response instruction to answer the incoming call, and establishing a call link with the headset to make a call through the headset; If the response instruction is to reject the incoming call, the incoming call to be answered is rejected in response to the response instruction of rejecting the incoming call.
2. The terminal prompt method according to claim 1, characterized in that: After the step of receiving the pending items, the process further includes: Acquire wearing information of a device connected to the terminal; When the acquired wearing information indicates that the device has been worn, executing the step of sending the prompt information of the pending items to a device connected to the terminal; When the acquired wearing information indicates that the headset is not worn, the transmission of audio data is suspended, and the prompt information of the pending matters is sent to the headset.
3. The terminal prompt method according to claim 2, characterized in that: The step of acquiring the wearing information of the device connected to the terminal comprises: Initiating a first request to the device to establish a service-level link; If the first request is approved, establishing a service-level link with the device, and sending a second request to the device to obtain wearing information; If the second request is approved, the wearing information sent by the device after detection is obtained.
4. A terminal prompt system, characterized in that: The terminal prompt system includes a memory, a processor, and a terminal prompt program stored in the memory and executable on the processor. When the processor executes the terminal prompt program, the steps of the terminal prompt method described in any one of claims 1 to 3 are implemented.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a terminal prompt program, and when the terminal prompt program is executed by the processor, the steps of the terminal prompt method according to any one of claims 1 to 3 are implemented.
