WO2022217590A1 - Voice prompt method, terminal and storage medium - Google Patents
Voice prompt method, terminal and storage medium Download PDFInfo
- Publication number
- WO2022217590A1 WO2022217590A1 PCT/CN2021/087828 CN2021087828W WO2022217590A1 WO 2022217590 A1 WO2022217590 A1 WO 2022217590A1 CN 2021087828 W CN2021087828 W CN 2021087828W WO 2022217590 A1 WO2022217590 A1 WO 2022217590A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- information
- target information
- preset
- trigger condition
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 123
- 238000012544 monitoring process Methods 0.000 claims abstract description 26
- 230000009471 action Effects 0.000 claims description 38
- 238000004590 computer program Methods 0.000 claims description 10
- 230000003993 interaction Effects 0.000 abstract description 9
- 230000006870 function Effects 0.000 description 16
- 230000008569 process Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 230000004044 response Effects 0.000 description 8
- 210000000707 wrist Anatomy 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000001681 protective effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 208000006930 Pseudomyxoma Peritonei Diseases 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 229920000306 polymethylpentene Polymers 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
Definitions
- the present application relates to the field of electronic technologies, and in particular to a voice prompting method, a terminal and a storage medium.
- the existing voice assistant requires the end user to actively wake up and express its purpose to the voice assistant before the voice assistant can provide voice services.
- the assistant is not smart enough, and the interactive experience it brings to the user is not high. For example, the end user needs to wake up the voice assistant to check the weather or plan. If the user forgets to check, it will be easy to encounter bad weather without protection. tools, and the omission of certain key scheduling arrangements, which would be inconvenient to users.
- the present application provides a voice prompt method, a terminal and a storage medium, which can solve the technical problems of poor interaction between the existing terminal and the user and poor user experience.
- a voice prompting method including:
- the method further includes at least one of the following:
- step S11 the method further includes: detecting whether the preset mode is enabled, and if so, perform step S11;
- Step S11 includes: monitoring the target state of the terminal, and the target state of the terminal has one or more types; if the target state of the terminal satisfies the state trigger condition, judging that the terminal meets the preset trigger condition.
- step S11 includes at least one of the following:
- the running state of the terminal is monitored, and if it is monitored that the terminal switches from the screen-off state to the bright-screen state, and/or from the locked state to the unlocked state, and/or from the off state to the activated state, it is judged that the terminal satisfies the predetermined conditions.
- Set trigger conditions
- the user-defined prompt event of the terminal is monitored, and if the current time meets the prompt time of the user-defined prompt event, it is determined that the terminal meets the preset trigger condition.
- step of determining target information in step S12 includes at least one of the following:
- At least one item of weather information, news information, and contact information is determined as the target information.
- step S13 includes:
- Play the target information optionally, turn on the speaker on the terminal to play the target information.
- the method further includes at least one of the following:
- a shutdown selection interface is displayed, and in response to the shutdown selection, the voice prompt is turned off. , when the preset trigger condition is monitored next time, and/or, when the target information is determined next time, stop executing the voice prompt method;
- Receive a voice-off instruction for the voice prompt method and stop executing the voice prompt method when a preset trigger condition is monitored next time, and/or when target information is determined next time.
- the present application also provides a voice prompting method, including:
- the target information includes at least one of weather information, news information, logistics information, custom prompt information, and contact information.
- step S21 includes at least one of the following:
- the latest information of the target information and the historically obtained information are determined, and if the difference between the latest information and the historical information is greater than or equal to a preset threshold, the latest information of the target information is used as the target information.
- step S22 includes at least one of the following:
- the contact of the target information is a preset contact, it is determined that the target information satisfies the preset trigger condition
- the target state of the terminal is monitored, and if the target state of the terminal satisfies the preset trigger condition of the target state, it is determined that the target information satisfies the preset trigger condition.
- the target state of the terminal is monitored, and if the target state of the terminal satisfies the preset trigger condition of the target state, it is determined that the target information satisfies the preset trigger condition, including at least one of the following:
- the user-defined prompt event of the monitoring terminal is monitored, and if the current time meets the prompt time of the user-defined prompt event, it is determined that the target information satisfies the preset trigger condition.
- step S23 includes:
- Play the target information optionally, turn on the speaker on the terminal to play the target information.
- the method further includes at least one of the following:
- a shutdown selection interface is displayed, and in response to the shutdown selection, the voice prompt is turned off. , when the preset trigger condition is monitored next time, and/or, when the target information is determined next time, stop executing the voice prompt method;
- Receive a voice-off instruction for the voice prompt method and stop executing the voice prompt method when a preset trigger condition is monitored next time, and/or when target information is determined next time.
- the present application further provides a terminal, including: a memory and a processor, wherein a voice prompt program is stored in the memory, and the steps of any of the above methods are implemented when the voice prompt program is executed by the processor.
- the present application also provides a computer storage medium, where the computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.
- the voice prompting method provided by the present application can determine the target information after monitoring that the terminal meets the preset trigger condition, and then can give a voice prompt to the target information. This method does not require the user to actively wake up the voice assistant, and does not need to ask the voice assistant
- the voice service is provided only after actively expressing the user's purpose. Compared with the prior art, the voice prompting method provided by the present application can provide better interaction with the user and bring a better user experience to the user.
- FIG. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present application
- FIG. 2 is an architecture diagram of a communication network system provided by an embodiment of the present application.
- FIG. 3 is a schematic flowchart of a first voice prompting method provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of a first interactive interface of the voice prompt method provided by the embodiment of the present application.
- FIG. 5 is a schematic diagram of a second interactive interface of the voice prompting method provided by an embodiment of the present application.
- FIG. 6 is a schematic flowchart of a second voice prompting method provided by an embodiment of the present application.
- FIG. 7 is a schematic flowchart of a third voice prompting method provided by an embodiment of the present application.
- FIG. 8 is a schematic flowchart of a fourth voice prompting method provided by an embodiment of the present application.
- first, second, third, etc. may be used herein to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other.
- first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of this document.
- the word “if” as used herein can be interpreted as “at the time of” or “when” or “in response to determining”, depending on the context.
- the singular forms "a,” “an,” and “the” are intended to include the plural forms as well, unless the context dictates otherwise.
- A, B, C means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C", for example, " A, B or C” or "A, B and/or C” means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C". Exceptions to this definition arise only when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.
- the words “if”, “if” as used herein may be interpreted as “at” or “when” or “in response to determining” or “in response to detecting”.
- the phrases “if determined” or “if detected (the stated condition or event)” can be interpreted as “when determined” or “in response to determining” or “when detected (the stated condition or event),” depending on the context )” or “in response to detection (a stated condition or event)”.
- step codes such as S11, S12, S101, S102 are used, the purpose is to express the corresponding content more clearly and briefly, and does not constitute a substantial restriction on the sequence.
- S12 may be executed first and then S11 may be executed, or S102 may be executed first and then S101, etc., but these should all fall within the protection scope of the present application.
- the terminal may be implemented in various forms.
- the terminals described in this application may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistants, PDAs), portable media players (Portable Media Players, PMPs), navigation devices, Mobile terminals such as wearable devices, smart bracelets, and pedometers, as well as stationary terminals such as digital TVs and desktop computers.
- PDAs Personal Digital Assistants
- PMPs Portable Media Players
- Navigation devices Mobile terminals such as wearable devices, smart bracelets, and pedometers
- Mobile terminals such as wearable devices, smart bracelets, and pedometers
- stationary terminals such as digital TVs and desktop computers.
- a mobile terminal will be used as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present application can also be applied to stationary type terminals.
- FIG. 1 is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present application.
- the mobile terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, a /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components.
- RF Radio Frequency, radio frequency
- the radio frequency unit 101 can be used for receiving and sending signals during transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 110; in addition, the uplink data is sent to the base station.
- the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- the radio frequency unit 101 can also communicate with the network and other devices through wireless communication.
- the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communication), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplexing long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplexing long term evolution) and so on.
- GSM Global System of Mobile communication, Global System for Mobile Communication
- GPRS General Packet Radio Service
- CDMA2000 Code Division Multiple Access 2000
- Code Division Multiple Access 2000 Code Division Multiple Access 2000
- WCDMA Wideband Code Division Multiple Access
- TD-SCDMA Time Division-S
- WiFi is a short-distance wireless transmission technology
- the mobile terminal can help users to send and receive emails, browse web pages, access streaming media, etc. through the WiFi module 102, which provides users with wireless broadband Internet access.
- FIG. 1 shows the WiFi module 102, it can be understood that it is not a necessary component of the mobile terminal, and can be completely omitted as required within the scope of not changing the essence of the invention.
- the audio output unit 103 can store the data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109.
- the audio data is converted into audio signal and output as sound.
- the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (eg, call signal reception sound, message reception sound, etc.).
- the audio output unit 103 may include a speaker, a buzzer, and the like.
- the A/V input unit 104 is used to receive audio or video signals.
- the A/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 responds to still pictures or images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
- the image data of the video is processed.
- the processed image frames may be displayed on the display unit 106 .
- the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102 .
- the microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, etc.
- the processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
- the microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to remove (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
- the mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display when the mobile terminal 100 is moved to the ear. Panel 1061 and/or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary.
- the display unit 106 is used to display information input by the user or information provided to the user.
- the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
- LCD Liquid Crystal Display
- OLED Organic Light-Emitting Diode
- the user input unit 107 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile terminal.
- the user input unit 107 may include a touch panel 1071 and other input devices 1072 .
- the touch panel 1071 also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program.
- the touch panel 1071 may include two parts, a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into contact coordinates , and then send it to the processor 110, and can receive the command sent by the processor 110 and execute it.
- the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the user input unit 107 may also include other input devices 1072 .
- other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, etc., which are not specifically described here. limited.
- the touch panel 1071 may cover the display panel 1061.
- the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch event.
- the type provides corresponding visual output on the display panel 1061.
- the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the mobile terminal, but in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated
- the input and output functions of the mobile terminal are implemented, which is not specifically limited here.
- the interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100 .
- external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more.
- the interface unit 108 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used between the mobile terminal 100 and the external Transfer data between devices.
- the memory 109 may be used to store software programs as well as various data.
- the memory 109 may mainly include a storage program area and a storage data area.
- the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.;
- the storage data area may Stores data (such as audio data, phonebook, etc.) created according to the use of the mobile phone, and the like.
- memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the processor 110 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the memory 109, and calls the data stored in the memory 109. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
- the processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor.
- the demodulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
- the mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components.
- a power supply 111 (such as a battery) for supplying power to various components.
- the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system and other functions.
- the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described herein again.
- FIG. 2 is an architecture diagram of a communication network system provided by an embodiment of the application.
- the communication network system is an LTE system of universal mobile communication technology.
- 201 E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core) 203 and the operator's IP service 204.
- E-UTRAN Evolved UMTS Terrestrial Radio Access Network
- EPC Evolved Packet Core, Evolved Packet Core
- the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
- E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and the like.
- the eNodeB 2021 can be connected with other eNodeB 2022 through a backhaul (eg X2 interface), the eNodeB 2021 is connected to the EPC 203 , and the eNodeB 2021 can provide access from the UE 201 to the EPC 203 .
- a backhaul eg X2 interface
- EPC 203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME 2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and charging functional entity) 2036 and so on.
- MME 2031 is a control node that handles signaling between UE 201 and EPC 203, and provides bearer and connection management.
- the HSS2032 is used to provide some registers to manage functions such as the home location register (not shown in the figure), and to store some user-specific information about service characteristics, data rates, etc.
- PCRF2036 is the policy and charging control policy decision point of service data flow and IP bearer resources, it is the policy and charging execution function A unit (not shown) selects and provides available policy and charging control decisions.
- the IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
- IMS IP Multimedia Subsystem, IP Multimedia Subsystem
- the embodiment of the present application provides a voice prompting method, please refer to FIG. 3 , the method includes:
- the preset trigger condition is preset on the terminal, and can trigger the terminal to execute the next step S12 when the terminal meets the condition.
- the target state here refers to the data generated by the user in the process of using the terminal, which can be the position of the terminal (including the position of GPS positioning and Beidou positioning), and the corresponding position can be away from the first preset location radius when the terminal is monitored.
- the first preset range, and/or, entering the second preset range around the second preset location it is determined that the terminal satisfies the preset trigger condition.
- the target state may also perform actions for the user (including the user's wrist raising action, picking up action, shaking action, etc., which may be monitored based on various sensors on the terminal) and the like.
- the prompt information of the target state corresponding to the preset trigger condition may be determined as the target information, that is, when it is determined that the terminal meets the preset trigger condition, the target of the terminal whose terminal satisfies the preset trigger condition is triggered.
- Status such as the location of the terminal, the user's actions, etc., give voice prompts.
- the terminal when the location of the terminal is within 100 meters of the company, it can voice prompt the user that it has entered the preset work area, and the user who is prompted by the voice can open the work-related application on the terminal to clock in, which can prevent the user from going to work. Forgot to punch at work.
- At least one item of weather information, news information, and contact information can be determined as the target information, which can be set corresponding to different target states.
- the weather information can be , news information, contact information for voice prompts.
- the terminal can timely remind the user of the weather (and/or custom event) of the day by voice, so as to prevent the user from going out in bad weather without protective equipment (and/or or forget important events), which can improve the interaction between the terminal and the user and improve the user experience.
- the terminal may turn on the voice assistant system on the terminal and the speaker on the terminal, so as to play the target information to prompt the user.
- the target information after playing the target information for prompting, if the user feels that the target information does not need to be reminded (or if the user feels that such a voice prompt is inconvenient to him), the target information can be set to not be prompted.
- the setting method can be that the terminal displays a closing selection interface, such as the closing selection pop-up window shown in FIG. 4 , and then receives the closing selection operation for the voice prompt method based on the closing selection interface, or it can also receive the user's voice prompting method. , please refer to FIG. 5 , the terminal can receive and close the voice prompt method. In this example, the terminal will stop executing the voice prompt when the next time the terminal monitors that the terminal meets the preset trigger condition, and/or when the target information is determined next time. method, without voice prompts.
- the embodiment of the present application provides a voice prompting method, which can determine target information after monitoring that the terminal meets a preset trigger condition, and then give voice prompting to the target information.
- This method does not require the user to actively wake up the voice assistant, and also It is not necessary to actively express the user's purpose to the voice assistant before providing the voice service.
- the voice prompting method provided by the present application can provide better interaction with the user and bring a better user experience to the user.
- the method can be applied to a terminal and includes the following steps:
- step S101 Detect whether the preset mode is enabled, and if so, perform step S102.
- a preset mode corresponding to the voice prompting method may be preset on the terminal. If the user wants to obtain a better interactive experience, the preset mode can be enabled. When the preset mode is enabled, the terminal can Execute each step of the voice prompting method provided by this application, and/or, if the user does not want to use the method, the preset mode can be set to close, and the terminal will not execute the voice prompting method provided by the embodiment of this application at this time. of the various steps.
- the target state refers to the data generated by the user in the process of using the terminal, which can be the location of the terminal (including GPS positioning and Beidou positioning), and can perform actions for the user (including the user's status based on various sensors on the terminal. Wrist lift, pick up, shake, etc.), it can also be the terminal running state (including the terminal's screen-off state, bright-screen state, screen-locked state, unlocked state, shutdown state, startup state, etc.), or it can be A custom reminder event set by the user on the terminal.
- the user-defined reminder event is an event preset by the user, and the user can be reminded by means of ringing, vibration, display, etc. at the preset reminder time. It can be the event that the user wants to be reminded. , such as an anniversary, an event arrangement, etc.
- the corresponding state trigger conditions can be set on the terminal. If it is detected that the target state of the terminal corresponds to the state trigger conditions of the target state, it can be determined that the terminal meets the preset trigger conditions, which will trigger the terminal to continue executing. In step S104, the prompt information corresponding to the preset trigger condition is determined as the target information. Optionally, if the target state of the terminal does not satisfy the corresponding state triggering condition, the terminal will stop executing each step of the voice prompting method provided by the embodiment of the present application.
- steps S102 and S103 can be implemented in the following ways:
- the position where the terminal is monitored can leave the first preset range of the first preset location and/or enter the second preset range of the second preset location. Then it is judged that the terminal satisfies the preset trigger condition.
- the target state is that the user performs an action
- the terminal can be switched from the screen-off state to the screen-on state, and/or, the screen-locked state can be switched to the unlocked state, and/or the screen-off state can be switched from the off state after monitoring.
- the startup state it is determined that the terminal meets the preset trigger condition.
- the target state of the terminal is a custom prompt event
- the current time is monitored to meet the prompt time of the custom prompt event, that is, when the terminal is prompting the custom prompt event by ringing, vibrating, displaying, etc. , it is judged that the terminal satisfies the preset trigger condition.
- the target state corresponding to the preset trigger condition may be determined, and the prompt information of the target state may be determined as the target information, that is, when it is determined that the terminal meets the preset trigger condition, the trigger terminal may satisfy the preset trigger condition.
- the target state of the terminal according to the condition (including the position of the terminal, the action performed by the user, the running state of the terminal, the user-defined prompt event on the terminal, etc.) will be voiced. For example, when the location of the terminal is within 100 meters of the company, it can voice prompt the user that it has entered the preset work area, and the user who is prompted by the voice can open the work-related application on the terminal to clock in, which can prevent the user from going to work.
- the custom prompt event can be prompted by voice broadcast instead of the display on the terminal.
- At least one item of weather information, news information, and contact information can be determined as target information, and settings can be made corresponding to different target states.
- Contact information for voice prompts For example, when it is determined by monitoring the location of the terminal that the terminal is about to leave the house, the terminal can timely remind the user of the weather (and/or custom event) of the day by voice, so as to prevent the user from going out in bad weather without protective equipment (and/or or forget important events), which can improve the interaction between the terminal and the user and improve the user experience.
- the wrist-lifting action when a wrist-lifting action of the user is detected, the wrist-lifting action can be identified as the user preparing to use the mobile phone, and the terminal can broadcast the weather information of the day acquired in advance and stored on the terminal to the user by means of voice information. to remind users.
- the contact A sends the meeting arrangement information to the user, the information sent by the contact A will be broadcast again at a preset time before the meeting, such as one hour before the meeting, to remind the user.
- the terminal may turn on the voice assistant system on the terminal and the speaker on the terminal, so as to play the target information to prompt the user.
- the target information can be set to not be prompted.
- a shutdown selection interface may be displayed, as shown in FIG. 4 , a shutdown selection for the voice prompt method is received, and the next time a preset trigger condition is monitored, and/or, the next time the target information is determined, stop Execute the voice prompt method.
- the user can issue a voice-off instruction to the terminal by voice, and the terminal will stop executing the voice prompting method when the terminal detects that the terminal meets the preset trigger condition next time, and/or when the target information is determined next time. No voice prompts are given.
- the voice prompting method provided by the present application does not require the user to actively wake up the voice assistant, nor does it need to actively express the user's purpose to the voice assistant before providing voice services. Compared with the prior art, the voice prompting method provided by the present application can provide better The interaction with the user brings a better user experience to the user.
- the embodiment of the present application also provides a voice prompting method, please refer to FIG. 7 , the method includes:
- the target information includes at least one of weather information, news information, logistics information, custom prompt information, and contact information. It is understandable that the weather information, news information, and logistics information need to be obtained by the terminal in time to give a voice prompt to the user.
- the acquisition method may be to acquire the target information in real time, or to acquire the target information every preset time length, or to obtain the latest information of the target information after obtaining the latest information of the target information and the previously acquired historical information. In contrast, if the difference between the latest information and the historical information is large, the latest information is used as the acquired target information.
- the user-defined prompt information and contact information can give a voice prompt to the user when the terminal receives the corresponding information.
- Determining that the target information satisfies the preset trigger conditions includes various methods, including: if it is determined that the target information has not been subjected to processing operations such as click to view, close, delete, etc. within a preset time period, it can be determined that the target information satisfies the preset trigger conditions. ; if it is determined that the quantity of acquired target information is greater than or equal to the preset threshold, then determine that the target information satisfies the preset trigger condition; if it is determined that the contact of the target information is the preset contact, then determine that the target information satisfies the preset trigger condition; and monitoring The target state of the terminal, if the target state of the terminal satisfies the preset trigger condition of the target state.
- the position where the terminal is monitored can leave the first preset range around the first preset location, and/or enter the second preset range around the second preset location, then determine The terminal meets the preset trigger condition. If the target state is an action performed by the user, it may be determined that the terminal satisfies the preset trigger condition after monitoring that the terminal user performs one or more actions of raising the wrist, picking up the action, and shaking the action.
- the voice prompt for the target information may be to turn on the voice assistant system and the speaker, play the target information to prompt the user, and the content of the prompt may be the occurrence of an event that satisfies the preset trigger conditions for the target information, or the target information.
- the content of the information is prompted by voice.
- the target information can be set not to be prompted.
- the setting method can be by receiving the voice close command to the voice prompt (as shown in Figure 5), or by displaying the close selection interface as shown in Figure 4 on the terminal, the terminal receives the user's close operation of the voice prompt, then When the terminal detects the preset trigger condition next time, and/or when the target information is determined next time, the terminal will not give a voice prompt.
- the voice prompting method provided by the embodiment of the present application can acquire target information and give a voice prompt to the target information when it is judged that the target information satisfies the preset trigger condition.
- the voice service is provided only after the user's purpose is expressed. Compared with the prior art, the voice prompting method provided by the present application can provide better interaction with the user and bring a better user experience to the user.
- the embodiment of the present application also provides a voice prompting method, see FIG. 8 , this method can provide voice prompting for target information on the terminal, optionally, the target information includes weather information, news information, logistics information, custom prompts At least one of information and contact information. It is understandable that weather information, news information, and logistics information need to be obtained by the terminal in time to give voice prompts to users, while custom prompt information and contact information are subject to time.
- the voice prompting method includes:
- the target information in this embodiment of the present application includes at least one of weather information, news information, and logistics information.
- the weather information mainly refers to the weather information of the current area where the terminal is located. Of course, the user can also set the weather information to be different from the current area where the terminal is located.
- the news information is information on a certain topic on the terminal, which may be news information on a certain application, or may be news information on a preset topic on a certain application or various applications.
- the logistics information may be the logistics information on a shopping application on the terminal, or may be all the logistics information on each shopping application on the terminal, and so on.
- the step of acquiring the target information can be as in step S201, that is, the weather information and/or news information is acquired every preset time length. Compared with real-time acquisition of the target information, the acquisition at every preset time length can save the computer resources of the terminal. . It is understandable that the target information may not change within a certain period of time, and the target information obtained by real-time acquisition and every preset time length may be unchanged, and the target information is repeatedly given voice prompts. It will affect the user's experience.
- the way to obtain the target information can also be: determine the latest information of the target information, compare the latest information with the previously obtained historical information, if the latest information is different from the historical information.
- the difference is greater than or equal to the preset threshold
- the latest information of the target information is used as the target information.
- the target information is weather information
- the difference between the latest information and the historical information is greater than or equal to the preset threshold, which may mean that the difference in weather temperature between the two is greater than or equal to the preset temperature difference;
- the target information is news information
- the latest information and the historical information The difference in information being greater than or equal to the preset threshold may mean that the two are news contents of different topics.
- the target information is logistics information
- the difference between the latest information and the historical information is greater than or equal to the preset threshold, which means that the status of the item has changed during the logistics process, such as the area where the item is located has changed, whether the item cannot be delivered due to force majeure, etc. Wait.
- the terminal will prompt the user through non-voice prompts such as display, ringing and/or vibration, and then:
- the processing here includes operations such as clicking, viewing, closing, deleting, etc. on these target information. If the target information is not processed within the preset time length, it can be determined that the user has not obtained the target information, and the target information meets the preset requirements. If the trigger condition is met, it can be prompted by voice.
- the first is that if it is determined that the amount of acquired target information is greater than or equal to the preset threshold, then it is determined that the target information meets the preset trigger condition, that is, there can be multiple acquired target information, such as new news information and logistics information. , fast replacement, you can determine that you meet the preset trigger condition when the amount of acquired target information is greater than or equal to the preset threshold.
- the second is that if the contact of the target information is determined to be a preset contact, it is determined that the target information satisfies the preset trigger condition.
- the target information is information sent by the contact to the user, which may be short message information, incoming calls, voice calls in social applications, and character information such as English and Chinese.
- the user can set the contact as an important contact (preset contact), and voice broadcast prompts for the target information sent by the contact, including prompting for the event of receiving the target information, and also for receiving the target information.
- the content of the target information will be voiced.
- the third is to monitor the target state of the terminal. If the target state of the terminal satisfies the preset trigger condition of the target state, it is determined that the target information satisfies the preset trigger condition. Corresponding to different target states, the corresponding state trigger conditions can be set on the terminal. If it is detected that the target state of the terminal corresponds to the state trigger conditions of the target state, it can be determined that the terminal meets the preset trigger conditions, which will trigger the terminal to continue executing. The step of playing the target information in step S203.
- the target state here refers to the data generated by the user in the process of using the terminal, which can be the location of the terminal (including GPS positioning and Beidou positioning), and can perform actions for the user (including monitoring based on various sensors on the terminal.
- the terminal running state (including the terminal's screen-off state, screen-on state, screen-locking state, unlocking state, shutdown state, startup state, etc.), It can also be a custom reminder event set by the user on the terminal.
- the user-defined reminder event is an event preset by the user, and the user can be reminded by means of ringing, vibration, display, etc. at the preset reminder time. Reminders of events, such as an anniversary, an event arrangement, etc.
- judging that the target information satisfies the preset trigger conditions may include at least one of the following:
- the position where the terminal is monitored can leave the first preset range of the first preset location and/or enter the second preset range of the second preset location, then it is determined that the terminal meets the Preset trigger conditions.
- the target state is an action performed by the user
- the target state is the running state of the terminal, it can be monitored that the terminal switches from the off-screen state to the bright-screen state, and/or from the lock-screen state to the unlocked state, and/or from the off-state to the on-state , judging that the terminal satisfies the preset trigger condition.
- the terminal determines that the current time meets the prompt time of the custom prompt event, that is, when the terminal is prompting the custom prompt event by ringing, vibrating, displaying, etc.
- the preset trigger conditions are met.
- the terminal can turn on the voice assistant system on it and the speaker on it to play the target information to prompt the user. After playing the target information to prompt the user, if the user feels that the target information does not need to be reminded (or if the user feels that such a voice prompt brings him inconvenience), the target information can be set not to be prompted.
- the terminal may receive a voice-off instruction for the voice prompting method, and stop executing the voice prompting method the next time a preset trigger condition is monitored and/or the next time target information is determined.
- the terminal may display a closing selection interface for the voice prompt, for example, as shown in Figure 4, if the user feels that the target information does not need a voice prompt, the terminal can display it on the closing selection interface. If it is turned off, the terminal may stop executing the voice prompting method the next time the preset trigger condition is monitored, and/or the next time the target information is determined.
- the voice prompt method provided by the embodiments of the present application does not require the user to actively wake up the voice assistant, nor does it need to actively express the user's purpose to the voice assistant before providing voice services. Compared with the prior art, the voice prompt method provided by the present application can provide more A good interaction with the user brings a better user experience to the user.
- the present application also provides a mobile terminal device, the terminal device includes a memory and a processor, the memory stores a voice prompt program, and when the voice prompt program is executed by the processor, the steps of the voice prompt method in any of the above embodiments are implemented.
- the present application also provides a computer-readable storage medium on which a voice prompting program is stored, and when the voice prompting program is executed by a processor, implements the steps of the voice prompting method in any of the foregoing embodiments.
- the embodiments of the mobile terminal and the computer-readable storage medium provided in this application include all the technical features of the above-mentioned embodiments of the voice prompting method, and the expansion and explanation contents of the description are basically the same as those of the above-mentioned embodiments of the method. Do repeat.
- Embodiments of the present application also provide a computer program product, where the computer program product includes computer program code, when the computer program code runs on a computer, the computer can execute the methods in the various possible implementation manners above.
- An embodiment of the present application further provides a chip, including a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device with the chip installed executes the various possible implementation manners described above. Methods.
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
A voice prompt method, a terminal and a storage medium. The voice prompt method comprises: monitoring whether a terminal meets a pre-set trigger condition (S11), determining target information if it is determined that the terminal meets the pre-set trigger condition (S12), and then performing voice prompt on the target information (S13). By means of the method, there is no need for a user to actively wake up a voice assistant, and there is also no need to actively express the aim of the user to the voice assistant so as to provide a voice service. Compared with the prior art, the method can provide better interaction with the user and bring better user experience to the user.
Description
本申请涉及电子技术领域,具体涉及一种语音提示方法、终端及存储介质。The present application relates to the field of electronic technologies, and in particular to a voice prompting method, a terminal and a storage medium.
在构思及实现本申请过程中,发明人发现至少存在如下问题:现有的语音助手是需要终端用户主动唤醒,并向语音助手表达其目的之后,语音助手才会提供语音服务的,这样的语音助手不够智能,同时给用户带来的交互体验也不高,例如,终端用户需要自己主动唤醒语音助手查询才知道天气或计划安排,若用户忘记查询,其将容易遇到恶劣天气而没带防护工具,以及遗漏某些关键的计划安排,这将给用户带来不便。In the process of conceiving and realizing this application, the inventor found that there are at least the following problems: the existing voice assistant requires the end user to actively wake up and express its purpose to the voice assistant before the voice assistant can provide voice services. The assistant is not smart enough, and the interactive experience it brings to the user is not high. For example, the end user needs to wake up the voice assistant to check the weather or plan. If the user forgets to check, it will be easy to encounter bad weather without protection. tools, and the omission of certain key scheduling arrangements, which would be inconvenient to users.
前面的叙述在于提供一般的背景信息,并不一定构成现有技术。The preceding statements are intended to provide general background information and may not constitute prior art.
发明内容SUMMARY OF THE INVENTION
针对上述技术问题,本申请提供了一种语音提示方法、终端及存储介质,可以解决现有终端与用户交互性差,用户体验不好的技术问题。In view of the above technical problems, the present application provides a voice prompt method, a terminal and a storage medium, which can solve the technical problems of poor interaction between the existing terminal and the user and poor user experience.
为解决上述技术问题,本申请提供一种语音提示方法,包括:In order to solve the above-mentioned technical problems, the present application provides a voice prompting method, including:
S11、监测终端是否满足预设触发条件;S11. Monitor whether the terminal meets a preset trigger condition;
S12、判断终端满足预设触发条件则确定目标信息;S12, judging that the terminal satisfies the preset trigger condition, then determining the target information;
S13、对目标信息进行语音提示。S13. Perform a voice prompt on the target information.
可选地,所述方法还包括以下至少一项:Optionally, the method further includes at least one of the following:
步骤S11之前还包括:检测是否开启预设模式,若是,才执行步骤S11;Before step S11, the method further includes: detecting whether the preset mode is enabled, and if so, perform step S11;
步骤S11包括:监测终端的目标状态,终端的目标状态具有一种或多种;若终端的目标状态满足状态触发条件,则判断终端满足预设触发条件。Step S11 includes: monitoring the target state of the terminal, and the target state of the terminal has one or more types; if the target state of the terminal satisfies the state trigger condition, judging that the terminal meets the preset trigger condition.
可选地,步骤S11包括以下至少一种:Optionally, step S11 includes at least one of the following:
监测终端的位置,若终端的位置离开第一预设地点方圆第一预设范围,和/或,若终端的位置进入第二预设地点方圆第二预设范围,则判断终端满足预设触发条件;Monitoring the position of the terminal, if the position of the terminal leaves the first preset range of the first preset location, and/or, if the location of the terminal enters the second preset range of the second preset location, it is determined that the terminal satisfies the preset trigger condition;
监测终端的用户执行动作,若监测到终端的用户执行了抬腕动作、拿起动作和/或摇晃动作,则判断终端满足预设触发条件;Monitoring the actions performed by the user of the terminal, and if it is detected that the user of the terminal performs a wrist raising action, a picking action and/or a shaking action, it is determined that the terminal satisfies the preset trigger condition;
监测终端的运行状态,若监测到终端从熄屏状态切换为亮屏状态,和/或,从锁屏状态切换为解锁状态,和/或,从关机状态切换为启动状态,则判断终端满足预设触发条件;The running state of the terminal is monitored, and if it is monitored that the terminal switches from the screen-off state to the bright-screen state, and/or from the locked state to the unlocked state, and/or from the off state to the activated state, it is judged that the terminal satisfies the predetermined conditions. Set trigger conditions;
监测终端的自定义提示事件,若当前时间满足自定义提示事件的提示时间,则判断终端满足预设触发条件。The user-defined prompt event of the terminal is monitored, and if the current time meets the prompt time of the user-defined prompt event, it is determined that the terminal meets the preset trigger condition.
可选地,步骤S12中确定目标信息的步骤包括以下至少一种:Optionally, the step of determining target information in step S12 includes at least one of the following:
将预设触发条件对应的提示信息确定为目标信息;Determine the prompt information corresponding to the preset trigger condition as the target information;
将天气信息、新闻信息、联系人信息中的至少一项确定为目标信息。At least one item of weather information, news information, and contact information is determined as the target information.
可选地,步骤S13包括:Optionally, step S13 includes:
播放目标信息,可选地,开启终端上的扬声器播放目标信息。Play the target information, optionally, turn on the speaker on the terminal to play the target information.
可选地,步骤S13之后,所述方法还包括以下至少一种:Optionally, after step S13, the method further includes at least one of the following:
显示关闭选择界面,响应于关闭选择,关闭语音提示。,在下一次监测到预设触发条件时,和/或,在下一次确定目标信息时,停止执行语音提示方法;A shutdown selection interface is displayed, and in response to the shutdown selection, the voice prompt is turned off. , when the preset trigger condition is monitored next time, and/or, when the target information is determined next time, stop executing the voice prompt method;
接收对语音提示方法的语音关闭指令,在下一次监测到预设触发条件时,和/或,在下一次确定目标信息时,停止执行语音提示方法。Receive a voice-off instruction for the voice prompt method, and stop executing the voice prompt method when a preset trigger condition is monitored next time, and/or when target information is determined next time.
可选地,本申请还提供了一种语音提示方法,包括:Optionally, the present application also provides a voice prompting method, including:
S21、获取目标信息;S21. Obtain target information;
S22、判断目标信息满足预设触发条件;S22, judging that the target information satisfies a preset trigger condition;
S23、对目标信息进行语音提示。S23. Perform a voice prompt on the target information.
可选地,目标信息包括天气信息、新闻信息、物流信息、自定义提示信息、联系人信息中的至少一种。Optionally, the target information includes at least one of weather information, news information, logistics information, custom prompt information, and contact information.
可选地,若目标信息包括天气信息、新闻信息、物流信息中的至少一项,则步骤S21包括以下至少一种:Optionally, if the target information includes at least one of weather information, news information, and logistics information, step S21 includes at least one of the following:
实时获取目标信息;Obtain target information in real time;
每隔预设时间长度获取一次目标信息;Obtain target information every preset time length;
确定目标信息的最新信息以及历史获取信息,若最新信息与历史信息的差异大于或等于预设阈值,则将目标信息的最新信息作为目标信息。The latest information of the target information and the historically obtained information are determined, and if the difference between the latest information and the historical information is greater than or equal to a preset threshold, the latest information of the target information is used as the target information.
可选地,步骤S22包括以下至少一种:Optionally, step S22 includes at least one of the following:
若确定目标信息在预设时间长度内未被处理,则判断目标信息满足预设触发条件;If it is determined that the target information has not been processed within the preset time length, it is determined that the target information satisfies the preset trigger condition;
若确定获取到目标信息的数量大于或等于预设阈值,则判断目标信息满足 预设触发条件;If it is determined that the quantity of acquired target information is greater than or equal to the preset threshold, then it is determined that the target information satisfies the preset trigger condition;
若确定目标信息的联系人为预设联系人,则判断目标信息满足预设触发条件;If it is determined that the contact of the target information is a preset contact, it is determined that the target information satisfies the preset trigger condition;
监测终端的目标状态,若终端的目标状态满足目标状态的预设触发条件,则判断目标信息满足预设触发条件。The target state of the terminal is monitored, and if the target state of the terminal satisfies the preset trigger condition of the target state, it is determined that the target information satisfies the preset trigger condition.
可选地,监测终端的目标状态,若终端的目标状态满足目标状态的预设触发条件,则判断目标信息满足预设触发条件,包括以下至少一种:Optionally, the target state of the terminal is monitored, and if the target state of the terminal satisfies the preset trigger condition of the target state, it is determined that the target information satisfies the preset trigger condition, including at least one of the following:
监测终端的位置,若终端的位置离开第一预设地点方圆第一预设范围,和/或,终端的位置进入第二预设地点方圆第二预设范围,则判断目标信息满足预设触发条件;Monitoring the position of the terminal, if the position of the terminal leaves the first preset range of the first preset location, and/or the location of the terminal enters the second preset range of the second preset location, it is determined that the target information satisfies the preset trigger condition;
监测终端的用户执行动作,若监测到终端的用户执行了抬腕动作、拿起动作和/或摇晃动作,则判断目标信息满足预设触发条件;Monitoring the actions performed by the user of the terminal, if it is detected that the user of the terminal performs a wrist raising action, a picking up action and/or a shaking action, it is determined that the target information satisfies the preset trigger condition;
监测终端的运行状态,若监测到终端从熄屏状态切换为亮屏状态,和/或,从锁屏状态切换为解锁状态,和/或,从关机状态切换为启动状态,则判断目标信息满足预设触发条件;Monitoring the running state of the terminal, if it is monitored that the terminal switches from the off-screen state to the bright-screen state, and/or from the lock-screen state to the unlocked state, and/or from the off-state to the on-state, it is determined that the target information satisfies the Preset trigger conditions;
监测终端的自定义提示事件,若当前时间满足自定义提示事件的提示时间,则判断目标信息满足预设触发条件。The user-defined prompt event of the monitoring terminal is monitored, and if the current time meets the prompt time of the user-defined prompt event, it is determined that the target information satisfies the preset trigger condition.
可选地,步骤S23包括:Optionally, step S23 includes:
播放目标信息,可选地,开启终端上的扬声器播放目标信息。Play the target information, optionally, turn on the speaker on the terminal to play the target information.
可选地,步骤S23之后方法还包括以下至少一种:Optionally, after step S23, the method further includes at least one of the following:
显示关闭选择界面,响应于关闭选择,关闭语音提示。,在下一次监测到预设触发条件时,和/或,在下一次确定目标信息时,停止执行语音提示方法;A shutdown selection interface is displayed, and in response to the shutdown selection, the voice prompt is turned off. , when the preset trigger condition is monitored next time, and/or, when the target information is determined next time, stop executing the voice prompt method;
接收对语音提示方法的语音关闭指令,在下一次监测到预设触发条件时,和/或,在下一次确定目标信息时,停止执行语音提示方法。Receive a voice-off instruction for the voice prompt method, and stop executing the voice prompt method when a preset trigger condition is monitored next time, and/or when target information is determined next time.
本申请还提供一种终端,包括:存储器、处理器,其中,存储器上存储有语音提示程序,语音提示程序被处理器执行时实现如上述任一方法的步骤。The present application further provides a terminal, including: a memory and a processor, wherein a voice prompt program is stored in the memory, and the steps of any of the above methods are implemented when the voice prompt program is executed by the processor.
本申请还提供一种计算机存储介质,计算机存储介质存储有计算机程序,计算机程序被处理器执行时实现如上述任一方法的步骤。The present application also provides a computer storage medium, where the computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.
本申请提供的语音提示方法,可以在监测到终端满足预设触发条件则确定目标信息,之后便可以对目标信息进行语音提示,该方法并不需要用户主动唤醒语音助手,也不需向语音助手主动表达用户目的后才提供语音服务,与现有 技术相比本申请提供的语音提示方法能够提供更好的与用户的交互,给用户来带更佳的用户体验。The voice prompting method provided by the present application can determine the target information after monitoring that the terminal meets the preset trigger condition, and then can give a voice prompt to the target information. This method does not require the user to actively wake up the voice assistant, and does not need to ask the voice assistant The voice service is provided only after actively expressing the user's purpose. Compared with the prior art, the voice prompting method provided by the present application can provide better interaction with the user and bring a better user experience to the user.
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application. In order to illustrate the technical solutions of the embodiments of the present application more clearly, the accompanying drawings required for the description of the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, without creative efforts On the premise, other drawings can also be obtained according to these drawings.
图1为实现本申请各个实施例的一种移动终端的硬件结构示意图;1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present application;
图2为本申请实施例提供的一种通信网络系统架构图;FIG. 2 is an architecture diagram of a communication network system provided by an embodiment of the present application;
图3是本申请实施例提供的第一种语音提示方法的流程示意图;3 is a schematic flowchart of a first voice prompting method provided by an embodiment of the present application;
图4是本申请实施例提供的语音提示方法的第一种交互界面示意图;4 is a schematic diagram of a first interactive interface of the voice prompt method provided by the embodiment of the present application;
图5是本申请实施例提供的语音提示方法的第二种交互界面示意图;5 is a schematic diagram of a second interactive interface of the voice prompting method provided by an embodiment of the present application;
图6是本申请实施例提供的第二种语音提示方法的流程示意图;6 is a schematic flowchart of a second voice prompting method provided by an embodiment of the present application;
图7是本申请实施例提供的第三种语音提示方法的流程示意图;7 is a schematic flowchart of a third voice prompting method provided by an embodiment of the present application;
图8是本申请实施例提供的第四种语音提示方法的流程示意图。FIG. 8 is a schematic flowchart of a fourth voice prompting method provided by an embodiment of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments. Specific embodiments of the present application have been shown by the above-mentioned drawings, and will be described in more detail hereinafter. These drawings and written descriptions are not intended to limit the scope of the concepts of the present application in any way, but to illustrate the concepts of the present application to those skilled in the art by referring to specific embodiments.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为 这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确定。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element defined by the phrase "comprises a..." does not preclude the presence of additional identical elements in the process, method, article, or device that includes the element, and further, different implementations of the present application Components, features and elements with the same names in the examples may have the same meaning or may have different meanings, and their specific meanings need to be determined by their explanations in this specific embodiment or further combined with the context in this specific embodiment.
应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语"如果"可以被解释成为"在……时"或"当……时"或"响应于确定"。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。本申请使用的术语“或”、“和/或”、“包括以下至少一个”等可被解释为包括性的,或意味着任一个或任何组合。例如,“包括以下至少一个:A、B、C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”,再如,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of this document. The word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining", depending on the context. Also, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context dictates otherwise. It should be further understood that the terms "comprising", "comprising" indicate the presence of stated features, steps, operations, elements, components, items, kinds, and/or groups, but do not exclude one or more other features, steps, operations, The existence, appearance or addition of elements, assemblies, items, categories, and/or groups. As used herein, the terms "or", "and/or", "including at least one of the following" and the like may be construed to be inclusive or to mean any one or any combination. For example, "comprising at least one of the following: A, B, C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C", for example, " A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C". Exceptions to this definition arise only when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.
应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the steps in the flowcharts in the embodiments of the present application are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order and may be performed in other orders. Moreover, at least a part of the steps in the figure may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential. Instead, it may be performed in turn or alternately with other steps or at least a portion of sub-steps or stages of other steps.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确 定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if", "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting". Similarly, the phrases "if determined" or "if detected (the stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detected (the stated condition or event)," depending on the context )" or "in response to detection (a stated condition or event)".
需要说明的是,在本文中,采用了诸如S11、S12、S101、S102等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行S12后执行S11,先执行S102后执行S101等,但这些均应在本申请的保护范围之内。It should be noted that, in this article, step codes such as S11, S12, S101, S102 are used, the purpose is to express the corresponding content more clearly and briefly, and does not constitute a substantial restriction on the sequence. During implementation, S12 may be executed first and then S11 may be executed, or S102 may be executed first and then S101, etc., but these should all fall within the protection scope of the present application.
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或者“单元”的后缀仅为了有利于本申请的说明,其本身没有特定的意义。因此,“模块”、“部件”或者“单元”可以混合地使用。In the following description, suffixes such as "module", "component" or "unit" used to represent elements are used only to facilitate the description of the present application, and have no specific meaning per se. Thus, "module", "component" or "unit" may be used interchangeably.
终端可以以各种形式来实施。例如,本申请中描述的终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV、台式计算机等固定终端。The terminal may be implemented in various forms. For example, the terminals described in this application may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistants, PDAs), portable media players (Portable Media Players, PMPs), navigation devices, Mobile terminals such as wearable devices, smart bracelets, and pedometers, as well as stationary terminals such as digital TVs and desktop computers.
后续描述中将以移动终端为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本申请的实施方式的构造也能够应用于固定类型的终端。In the following description, a mobile terminal will be used as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present application can also be applied to stationary type terminals.
请参阅图1,其为实现本申请各个实施例的一种移动终端的硬件结构示意图,该移动终端100可以包括:RF(Radio Frequency,射频)单元101、WiFi模块102、音频输出单元103、A/V(音频/视频)输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 1 , which is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present application. The mobile terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, a /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 1 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than the one shown, or combine some components, or different components layout.
下面结合图1对移动终端的各个部件进行具体的介绍:Below in conjunction with Fig. 1, each component of the mobile terminal is introduced in detail:
射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将基站的下行信息接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦 合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(Code Division Multiple Access 2000,码分多址2000)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous Code Division Multiple Access,时分同步码分多址)、FDD-LTE(Frequency Division Duplexing-Long Term Evolution,频分双工长期演进)和TDD-LTE(Time Division Duplexing-Long Term Evolution,分时双工长期演进)等。The radio frequency unit 101 can be used for receiving and sending signals during transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 110; in addition, the uplink data is sent to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communication), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplexing long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplexing long term evolution) and so on.
WiFi属于短距离无线传输技术,移动终端通过WiFi模块102可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块102,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology, and the mobile terminal can help users to send and receive emails, browse web pages, access streaming media, etc. through the WiFi module 102, which provides users with wireless broadband Internet access. Although FIG. 1 shows the WiFi module 102, it can be understood that it is not a necessary component of the mobile terminal, and can be completely omitted as required within the scope of not changing the essence of the invention.
音频输出单元103可以在移动终端100处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元101或WiFi模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103可以包括扬声器、蜂鸣器等等。When the mobile terminal 100 is in a call signal receiving mode, a talking mode, a recording mode, a voice recognition mode, a broadcast receiving mode, etc., the audio output unit 103 can store the data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109. The audio data is converted into audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
A/V输入单元104用于接收音频或视频信号。A/V输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或WiFi模块102进行发送。麦克风1042可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风1042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。麦克风1042可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 104 is used to receive audio or video signals. The A/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 responds to still pictures or images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The image data of the video is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102 . The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, etc. operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to remove (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及 其他传感器。可选地,光传感器包括环境光传感器及接近传感器,可选地,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display when the mobile terminal 100 is moved to the ear. Panel 1061 and/or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, etc. Other sensors such as thermometers, infrared sensors, etc. will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。可选地,用户输入单元107可包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板1071可包括触摸检测装置和触摸控制器两个部分。可选地,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,并能接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。可选地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The user input unit 107 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Optionally, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into contact coordinates , and then send it to the processor 110, and can receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Optionally, other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, etc., which are not specifically described here. limited.
可选地,触控面板1071可覆盖显示面板1061,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图1中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板 1061集成而实现移动终端的输入和输出功能,具体此处不做限定。Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch event. The type provides corresponding visual output on the display panel 1061. Although in FIG. 1 , the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the mobile terminal, but in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated The input and output functions of the mobile terminal are implemented, which is not specifically limited here.
接口单元108用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used between the mobile terminal 100 and the external Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,可选地,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area. Optionally, the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Stores data (such as audio data, phonebook, etc.) created according to the use of the mobile phone, and the like. Additionally, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,可选地,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the memory 109, and calls the data stored in the memory 109. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. The demodulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
移动终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system and other functions.
尽管图1未示出,移动终端100还可以包括蓝牙模块等,在此不再赘述。Although not shown in FIG. 1 , the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described herein again.
为了便于理解本申请实施例,下面对本申请的移动终端所基于的通信网络系统进行描述。To facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
请参阅图2,图2为本申请实施例提供的一种通信网络系统架构图,该通信网络系统为通用移动通信技术的LTE系统,该LTE系统包括依次通讯连接的UE(User Equipment,用户设备)201,E-UTRAN(Evolved UMTS Terrestrial Radio Access Network,演进式UMTS陆地无线接入网)202,EPC(Evolved Packet Core,演进式分组核心网)203和运营商的IP业务204。Please refer to FIG. 2. FIG. 2 is an architecture diagram of a communication network system provided by an embodiment of the application. The communication network system is an LTE system of universal mobile communication technology. ) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core) 203 and the operator's IP service 204.
可选地,UE201可以是上述终端100,此处不再赘述。Optionally, the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
E-UTRAN202包括eNodeB2021和其它eNodeB2022等。可选地,eNodeB2021可以通过回程(backhaul)(例如X2接口)与其它eNodeB2022连接,eNodeB2021连接到EPC203,eNodeB2021可以提供UE201到EPC203的接入。 E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and the like. Optionally, the eNodeB 2021 can be connected with other eNodeB 2022 through a backhaul (eg X2 interface), the eNodeB 2021 is connected to the EPC 203 , and the eNodeB 2021 can provide access from the UE 201 to the EPC 203 .
EPC203可以包括MME(Mobility Management Entity,移动性管理实体)2031,HSS(Home Subscriber Server,归属用户服务器)2032,其它MME2033,SGW(Serving Gate Way,服务网关)2034,PGW(PDN Gate Way,分组数据网络网关)2035和PCRF(Policy and Charging Rules Function,政策和资费功能实体)2036等。可选地,MME2031是处理UE201和EPC203之间信令的控制节点,提供承载和连接管理。HSS2032用于提供一些寄存器来管理诸如归属位置寄存器(图中未示)之类的功能,并且保存有一些有关服务特征、数据速率等用户专用的信息。所有用户数据都可以通过SGW2034进行发送,PGW2035可以提供UE 201的IP地址分配以及其它功能,PCRF2036是业务数据流和IP承载资源的策略与计费控制策略决策点,它为策略与计费执行功能单元(图中未示)选择及提供可用的策略和计费控制决策。 EPC 203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME 2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and charging functional entity) 2036 and so on. Optionally, MME 2031 is a control node that handles signaling between UE 201 and EPC 203, and provides bearer and connection management. The HSS2032 is used to provide some registers to manage functions such as the home location register (not shown in the figure), and to store some user-specific information about service characteristics, data rates, etc. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions of UE 201, PCRF2036 is the policy and charging control policy decision point of service data flow and IP bearer resources, it is the policy and charging execution function A unit (not shown) selects and provides available policy and charging control decisions.
IP业务204可以包括因特网、内联网、IMS(IP Multimedia Subsystem,IP多媒体子系统)或其它IP业务等。The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
虽然上述以LTE系统为例进行了介绍,但本领域技术人员应当知晓,本申请不仅仅适用于LTE系统,也可以适用于其他无线通信系统,例如GSM、CDMA2000、WCDMA、TD-SCDMA以及未来新的网络系统等,此处不做限定。Although the above takes the LTE system as an example, those skilled in the art should know that this application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new The network system, etc., is not limited here.
基于上述移动终端硬件结构以及通信网络系统,提出本申请各个实施例。Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
本申请实施例提供了一种语音提示方法,请参见图3,该方法包括:The embodiment of the present application provides a voice prompting method, please refer to FIG. 3 , the method includes:
S11、监测终端是否满足预设触发条件。S11. Monitor whether the terminal satisfies a preset trigger condition.
预设触发条件是预先设置在终端上的、在终端满足的情况下可以触发终端执行下一步骤S12,可选地,可以通过检测终端的目标状态,在目标状态满足状态触发条件时判断终端满足预设触发条件。此处的目标状态是指用户在使用终端的过程中所产生数据,可以为终端的位置(包括GPS定位、北斗定位的位置),对应的可以在监测到终端的位置离开第一预设地点方圆第一预设范围,和/或, 进入第二预设地点方圆第二预设范围,则判断终端满足预设触发条件。可选地,目标状态还可以为用户执行动作(包括可以基于终端上各类传感器监测到的用户的抬腕动作、拿起动作、摇晃动作等)等等。The preset trigger condition is preset on the terminal, and can trigger the terminal to execute the next step S12 when the terminal meets the condition. Preset trigger conditions. The target state here refers to the data generated by the user in the process of using the terminal, which can be the position of the terminal (including the position of GPS positioning and Beidou positioning), and the corresponding position can be away from the first preset location radius when the terminal is monitored. The first preset range, and/or, entering the second preset range around the second preset location, it is determined that the terminal satisfies the preset trigger condition. Optionally, the target state may also perform actions for the user (including the user's wrist raising action, picking up action, shaking action, etc., which may be monitored based on various sensors on the terminal) and the like.
S12、判断终端满足预设触发条件则确定目标信息。S12, judging that the terminal satisfies the preset trigger condition, and then determining the target information.
若判断终端满足预设触发条件则需要确定所需要进行语音提示的信息,即目标信息。在一种实施方式中,可以将预设触发条件所对应的目标状态的提示信息确定为目标信息,即可在判断终端满足预设触发条件时,对触发终端满足预设触发条件的终端的目标状态,例如终端的位置、用户执行动作等等,进行语音提示。例如,当终端的定位进入到公司100米范围内时,可以语音提示用户其进入到了预设的工作区域范围,被语音提示的用户可以打开终端上工作相关的应用进行上班打卡,这样可以避免用户上班忘记打卡。If it is determined that the terminal satisfies the preset trigger condition, it is necessary to determine the information required to perform the voice prompt, that is, target information. In one embodiment, the prompt information of the target state corresponding to the preset trigger condition may be determined as the target information, that is, when it is determined that the terminal meets the preset trigger condition, the target of the terminal whose terminal satisfies the preset trigger condition is triggered. Status, such as the location of the terminal, the user's actions, etc., give voice prompts. For example, when the location of the terminal is within 100 meters of the company, it can voice prompt the user that it has entered the preset work area, and the user who is prompted by the voice can open the work-related application on the terminal to clock in, which can prevent the user from going to work. Forgot to punch at work.
在一种实施方式中,可以将天气信息、新闻信息、联系人信息中的至少一项确定为目标信息,可以对应于不同的目标状态进行设置,在目标状态满足状态触发条件则可以对天气信息、新闻信息、联系人信息进行语音提示。例如,通过监测终端的位置判断终端要离开家时,终端可以通过语音的方式及时提醒用户当天的天气(和/或自定义事件),避免用户出门遭遇恶劣的天气而没有带防护设备(和/或忘记重要的事件),这样可以提高终端与用户的交互性,提升用户体验。In one embodiment, at least one item of weather information, news information, and contact information can be determined as the target information, which can be set corresponding to different target states. When the target state meets the state triggering condition, the weather information can be , news information, contact information for voice prompts. For example, when it is determined by monitoring the location of the terminal that the terminal is about to leave the house, the terminal can timely remind the user of the weather (and/or custom event) of the day by voice, so as to prevent the user from going out in bad weather without protective equipment (and/or or forget important events), which can improve the interaction between the terminal and the user and improve the user experience.
S13、对目标信息进行语音提示。S13. Perform a voice prompt on the target information.
在本申请实施例中终端可以开启其上语音助手系统以及其上的扬声器,以对目标信息进行播放而对用户进行提示。In this embodiment of the present application, the terminal may turn on the voice assistant system on the terminal and the speaker on the terminal, so as to play the target information to prompt the user.
在一种实施方式中,播放目标信息进行提示之后,若用户觉得该目标信息不用提醒(或若用户觉得这样的语音提示对其带来不便),则可以设置对该目标信息设置为不提示,设置方式可以是终端显示关闭选择界面,例如图4所示的关闭选择弹窗,然后基于该关闭选择界面接收对语音提示方法的关闭选择操作,也可以是接收用户对语音提示方法的语音关闭指令,请参见图5,终端可以接收对语音提示方法进行关闭,在该示例中终端在下一次监测到终端满足预设触发条件时,和/或,在下一次确定目标信息时,将会停止执行语音提示方法,不进行语音提示。In one embodiment, after playing the target information for prompting, if the user feels that the target information does not need to be reminded (or if the user feels that such a voice prompt is inconvenient to him), the target information can be set to not be prompted, The setting method can be that the terminal displays a closing selection interface, such as the closing selection pop-up window shown in FIG. 4 , and then receives the closing selection operation for the voice prompt method based on the closing selection interface, or it can also receive the user's voice prompting method. , please refer to FIG. 5 , the terminal can receive and close the voice prompt method. In this example, the terminal will stop executing the voice prompt when the next time the terminal monitors that the terminal meets the preset trigger condition, and/or when the target information is determined next time. method, without voice prompts.
本申请实施例提供了一种语音提示方法,该方法可以在监测到终端满足预设触发条件则确定目标信息,之后便对目标信息进行语音提示,该方法并不需 要用户主动唤醒语音助手,也不需向语音助手主动表达用户目的后才提供语音服务,与现有技术相比本申请提供的语音提示方法能够提供更好的与用户的交互,给用户来带更佳的用户体验。The embodiment of the present application provides a voice prompting method, which can determine target information after monitoring that the terminal meets a preset trigger condition, and then give voice prompting to the target information. This method does not require the user to actively wake up the voice assistant, and also It is not necessary to actively express the user's purpose to the voice assistant before providing the voice service. Compared with the prior art, the voice prompting method provided by the present application can provide better interaction with the user and bring a better user experience to the user.
下文将基于上述实施例介绍的语音提示方法,继续介绍本申请提供的语音提示方法的其他可实施方式。The following will continue to introduce other possible implementations of the voice prompt method provided by the present application based on the voice prompt method introduced in the foregoing embodiment.
本申请实施例提供的一种语音提示方法请参见图6,该方法可以应用于终端,包括以下步骤:Refer to FIG. 6 for a voice prompting method provided by an embodiment of the present application. The method can be applied to a terminal and includes the following steps:
S101、检测是否开启预设模式,若是,则执行步骤S102。S101. Detect whether the preset mode is enabled, and if so, perform step S102.
在本申请实施例中终端上可以预先设置有对应该语音提示方法的预设模式,若用户想要获得比较好的交互体验,则可以开启该预设模式,当预设模式开启,终端则可以执行本申请提供的语音提示方法的各个步骤,和/或,若用户不想使用该方法,则可以将该预设模式设置关闭,此时终端则不会执行本申请实施例所提供的语音提示方法的各个步骤。In this embodiment of the present application, a preset mode corresponding to the voice prompting method may be preset on the terminal. If the user wants to obtain a better interactive experience, the preset mode can be enabled. When the preset mode is enabled, the terminal can Execute each step of the voice prompting method provided by this application, and/or, if the user does not want to use the method, the preset mode can be set to close, and the terminal will not execute the voice prompting method provided by the embodiment of this application at this time. of the various steps.
S102、监测终端的目标状态。S102. Monitor the target state of the terminal.
目标状态是指用户在使用终端的过程中所产生数据,可以为终端的位置(包括GPS定位、北斗定位的位置),可以为用户执行动作(包括可以基于终端上各类传感器监测到的用户的抬腕动作、拿起动作、摇晃动作等),也可以为终端运行状态(包括终端的熄屏状态、亮屏状态、锁屏状态、解锁状态、关机状态、启动状态等等),还可以为终端上用户设置的自定义提示事件,自定义提示事件是用户预先设置的、在预设的提示时间可以通过响铃、震动、显示等方式提示用户的事件,可以是用户自己想被提醒的事件,譬如某纪念日,某活动安排等等。The target state refers to the data generated by the user in the process of using the terminal, which can be the location of the terminal (including GPS positioning and Beidou positioning), and can perform actions for the user (including the user's status based on various sensors on the terminal. Wrist lift, pick up, shake, etc.), it can also be the terminal running state (including the terminal's screen-off state, bright-screen state, screen-locked state, unlocked state, shutdown state, startup state, etc.), or it can be A custom reminder event set by the user on the terminal. The user-defined reminder event is an event preset by the user, and the user can be reminded by means of ringing, vibration, display, etc. at the preset reminder time. It can be the event that the user wants to be reminded. , such as an anniversary, an event arrangement, etc.
S103、若终端的目标状态满足状态触发条件,则判断终端满足预设触发条件。S103. If the target state of the terminal satisfies the state trigger condition, determine that the terminal satisfies the preset trigger condition.
对应于不同的目标状态,终端上可以设置对应的状态触发条件,若监测到终端的目标状态对应于该目标状态的状态触发条件,则可以判断终端满足预设触发条件,这将触发终端继续执行步骤S104中将预设触发条件对应的提示信息确定为目标信息的步骤。可选地,若终端的目标状态未满足对应的状态触发条件,则终端将停止执行本申请实施例所提供的语音提示方法的各个步骤。Corresponding to different target states, the corresponding state trigger conditions can be set on the terminal. If it is detected that the target state of the terminal corresponds to the state trigger conditions of the target state, it can be determined that the terminal meets the preset trigger conditions, which will trigger the terminal to continue executing. In step S104, the prompt information corresponding to the preset trigger condition is determined as the target information. Optionally, if the target state of the terminal does not satisfy the corresponding state triggering condition, the terminal will stop executing each step of the voice prompting method provided by the embodiment of the present application.
对应于上述介绍的各个目标状态,步骤S102、步骤S103可实现的方式可以包括:Corresponding to each target state introduced above, steps S102 and S103 can be implemented in the following ways:
可选地,若目标状态为终端的位置,则可以在监测到终端的位置离开第一预设地点方圆第一预设范围,和/或,进入第二预设地点方圆第二预设范围,则判断终端满足预设触发条件。Optionally, if the target state is the position of the terminal, the position where the terminal is monitored can leave the first preset range of the first preset location and/or enter the second preset range of the second preset location. Then it is judged that the terminal satisfies the preset trigger condition.
可选地,若目标状态为用户执行动作,则可以是在监测到终端用户执行了抬腕动作、拿起动作、摇晃动作等动作中的一种或多种之后,判断终端满足预设触发条件。Optionally, if the target state is that the user performs an action, it may be determined that the terminal satisfies the preset trigger condition after monitoring that the terminal user has performed one or more of the actions such as raising the wrist, picking up the action, and shaking the action. .
可选地,若目标状态为终端的运行状态,则可以在监测到终端从熄屏状态切换为亮屏状态,和/或,从锁屏状态切换为解锁状态,和/或,从关机状态切换为启动状态时,判断终端满足预设触发条件。Optionally, if the target state is the running state of the terminal, the terminal can be switched from the screen-off state to the screen-on state, and/or, the screen-locked state can be switched to the unlocked state, and/or the screen-off state can be switched from the off state after monitoring. When it is in the startup state, it is determined that the terminal meets the preset trigger condition.
可选地,若终端的目标状态为自定义提示事件,则在监测到当前时间满足自定义提示事件的提示时间,即终端正通过响铃、震动、显示等方式对自定义提示事件进行提示时,则判断终端满足预设触发条件。Optionally, if the target state of the terminal is a custom prompt event, when the current time is monitored to meet the prompt time of the custom prompt event, that is, when the terminal is prompting the custom prompt event by ringing, vibrating, displaying, etc. , it is judged that the terminal satisfies the preset trigger condition.
S104、将预设触发条件对应的提示信息确定为目标信息。S104. Determine the prompt information corresponding to the preset trigger condition as target information.
在本申请实施例中可以确定预设触发条件所对应的目标状态,将对该目标状态的提示信息确定为目标信息,即可以在判断终端满足预设触发条件时,对触发终端满足预设触发条件的终端的目标状态(包括终端的位置、用户执行动作、终端的运行状态、终端上的自定义提示事件等等)进行语音提示。例如,当终端的定位进入到公司100米范围内时,可以语音提示用户其进入到了预设的工作区域范围,被语音提示的用户可以打开终端上工作相关的应用进行上班打卡,这样可以避免用户上班忘记打卡,同样的,当终端的定位走出预设的工作区域范围,则用户可以进行下班打开,这样可以避免用户下班忘记打卡。又如,在自定义提示事件满足其提示时间时,可以采用语音播报自定义提示事件的方式替代在终端上显示的方式对其进行提示。In this embodiment of the present application, the target state corresponding to the preset trigger condition may be determined, and the prompt information of the target state may be determined as the target information, that is, when it is determined that the terminal meets the preset trigger condition, the trigger terminal may satisfy the preset trigger condition. The target state of the terminal according to the condition (including the position of the terminal, the action performed by the user, the running state of the terminal, the user-defined prompt event on the terminal, etc.) will be voiced. For example, when the location of the terminal is within 100 meters of the company, it can voice prompt the user that it has entered the preset work area, and the user who is prompted by the voice can open the work-related application on the terminal to clock in, which can prevent the user from going to work. If you forget to punch in at work, similarly, when the positioning of the terminal goes out of the preset working area, the user can open it after get off work, which can prevent the user from forgetting to punch in after get off work. For another example, when the custom prompt event meets its prompt time, the custom prompt event can be prompted by voice broadcast instead of the display on the terminal.
可选地,可以将天气信息、新闻信息、联系人信息中的至少一项确定为目标信息,可以对应于不同的目标状态进行设置,在目标状态满足状态触发条件则可以对天气信息、新闻信息、联系人信息进行语音提示。例如,通过监测终端的位置判断终端要离开家时,终端可以通过语音的方式及时提醒用户当天的天气(和/或自定义事件),避免用户出门遭遇恶劣的天气而没有带防护设备(和/或忘记重要的事件),这样可以提高终端与用户的交互性,提升用户体验。又如,在监测到用户有抬腕动作时,可以将该抬腕动作识别为用户准备使用手机,则终端可以将预先获取的、存储在终端上的当天天气信息通过语音信息的方式播 报给用户以对用户进行提醒。再如,联系人A给用户发来了会议安排信息,则在会议开展前的预设时间,例如会议开展的一个小时前再一次播报该联系人A发送的信息以对用户进行提示。Optionally, at least one item of weather information, news information, and contact information can be determined as target information, and settings can be made corresponding to different target states. , Contact information for voice prompts. For example, when it is determined by monitoring the location of the terminal that the terminal is about to leave the house, the terminal can timely remind the user of the weather (and/or custom event) of the day by voice, so as to prevent the user from going out in bad weather without protective equipment (and/or or forget important events), which can improve the interaction between the terminal and the user and improve the user experience. For another example, when a wrist-lifting action of the user is detected, the wrist-lifting action can be identified as the user preparing to use the mobile phone, and the terminal can broadcast the weather information of the day acquired in advance and stored on the terminal to the user by means of voice information. to remind users. For another example, if the contact A sends the meeting arrangement information to the user, the information sent by the contact A will be broadcast again at a preset time before the meeting, such as one hour before the meeting, to remind the user.
S105、播放目标信息。S105. Play target information.
在本申请实施例中终端可以开启其上语音助手系统以及其上的扬声器,以对目标信息进行播放而对用户进行提示。在一种实施方式中,播放目标信息进行提示之后,若用户觉得该目标信息不用提醒(或若用户觉得这样的语音提示对其带来不便),则可以设置对该目标信息设置为不提示。在一种实施方式中,可以显示关闭选择界面,如图4所示,接收对语音提示方法的关闭选择,在下一次监测到预设触发条件时,和/或,在下一次确定目标信息时,停止执行语音提示方法。在本申请实施例中还可以:In this embodiment of the present application, the terminal may turn on the voice assistant system on the terminal and the speaker on the terminal, so as to play the target information to prompt the user. In one embodiment, after playing the target information for prompting, if the user feels that the target information does not need to be reminded (or if the user feels that such a voice prompt is inconvenient to him), the target information can be set to not be prompted. In one embodiment, a shutdown selection interface may be displayed, as shown in FIG. 4 , a shutdown selection for the voice prompt method is received, and the next time a preset trigger condition is monitored, and/or, the next time the target information is determined, stop Execute the voice prompt method. In the embodiments of the present application, it is also possible to:
S106、接收对语音提示方法的语音关闭指令。S106. Receive a voice-off instruction for the voice prompting method.
请参见图5,用户可以通过语音的方式对终端下达语音关闭指令,终端在下一次监测到终端满足预设触发条件时,和/或,在下一次确定目标信息时,将会停止执行语音提示方法,不进行语音提示。Referring to FIG. 5, the user can issue a voice-off instruction to the terminal by voice, and the terminal will stop executing the voice prompting method when the terminal detects that the terminal meets the preset trigger condition next time, and/or when the target information is determined next time. No voice prompts are given.
本申请提供的语音提示方法并不需要用户主动唤醒语音助手,也不需向语音助手主动表达用户目的后才提供语音服务,与现有技术相比本申请提供的语音提示方法能够提供更好的与用户的交互,给用户来带更佳的用户体验。The voice prompting method provided by the present application does not require the user to actively wake up the voice assistant, nor does it need to actively express the user's purpose to the voice assistant before providing voice services. Compared with the prior art, the voice prompting method provided by the present application can provide better The interaction with the user brings a better user experience to the user.
本申请实施例还提供了一种语音提示方法,请参见图7,该方法包括:The embodiment of the present application also provides a voice prompting method, please refer to FIG. 7 , the method includes:
S21、获取目标信息。S21. Obtain target information.
目标信息包括天气信息、新闻信息、物流信息、自定义提示信息、联系人信息中的至少一种,可理解的是,天气信息、新闻信息、物流信息是需要终端及时获取以对用户进行语音提示的,获取方式可以是实时获取目标信息,也可以是每隔预设时间长度便获取一次目标信息,还可以是在获取到目标信息的最新信息后,将该最新信息与之前获取到的历史信息相比,若最新信息与历史信息的差异较大则将最新信息作为获取到的目标信息。自定义提示信息、联系人信息则是在终端接收到对应信息时可以对用户进行语音提示。The target information includes at least one of weather information, news information, logistics information, custom prompt information, and contact information. It is understandable that the weather information, news information, and logistics information need to be obtained by the terminal in time to give a voice prompt to the user. The acquisition method may be to acquire the target information in real time, or to acquire the target information every preset time length, or to obtain the latest information of the target information after obtaining the latest information of the target information and the previously acquired historical information. In contrast, if the difference between the latest information and the historical information is large, the latest information is used as the acquired target information. The user-defined prompt information and contact information can give a voice prompt to the user when the terminal receives the corresponding information.
S22、判断目标信息满足预设触发条件。S22, judging that the target information satisfies a preset trigger condition.
判断目标信息满足预设触发条件包括多种方式,包括:若确定目标信息在预设时间长度内未被执行点击查阅、关闭、删除等等的处理操作,则可以判断目标信息满足预设触发条件;若确定获取到目标信息的数量大于或等于预设阈 值,则判断目标信息满足预设触发条件;若确定目标信息的联系人为预设联系人,则判断目标信息满足预设触发条件;以及监测终端的目标状态,若终端的目标状态满足目标状态的预设触发条件。例如,若目标状态为终端的位置,则可以在监测到终端的位置离开第一预设地点方圆第一预设范围,和/或,进入第二预设地点方圆第二预设范围,则判断终端满足预设触发条件。若目标状态为用户执行动作,则可以是在监测到终端用户执行了抬腕动作、拿起动作、摇晃动作等动作中的一种或多种之后,判断终端满足预设触发条件。Determining that the target information satisfies the preset trigger conditions includes various methods, including: if it is determined that the target information has not been subjected to processing operations such as click to view, close, delete, etc. within a preset time period, it can be determined that the target information satisfies the preset trigger conditions. ; if it is determined that the quantity of acquired target information is greater than or equal to the preset threshold, then determine that the target information satisfies the preset trigger condition; if it is determined that the contact of the target information is the preset contact, then determine that the target information satisfies the preset trigger condition; and monitoring The target state of the terminal, if the target state of the terminal satisfies the preset trigger condition of the target state. For example, if the target state is the position of the terminal, the position where the terminal is monitored can leave the first preset range around the first preset location, and/or enter the second preset range around the second preset location, then determine The terminal meets the preset trigger condition. If the target state is an action performed by the user, it may be determined that the terminal satisfies the preset trigger condition after monitoring that the terminal user performs one or more actions of raising the wrist, picking up the action, and shaking the action.
S23、对目标信息进行语音提示。S23. Perform a voice prompt on the target information.
对目标信息进行语音提示可以是开启语音助手系统以及扬声器,对目标信息进行播放而对用户进行提示,提示的内容可可以是对目标信息满足预设触发条件的事件的发生,也可以是对目标信息的内容以语音的方式进行提示。The voice prompt for the target information may be to turn on the voice assistant system and the speaker, play the target information to prompt the user, and the content of the prompt may be the occurrence of an event that satisfies the preset trigger conditions for the target information, or the target information. The content of the information is prompted by voice.
在播放目标信息以对用户进行提示之后,若用户觉得该目标信息不用提醒(或若用户觉得这样的语音提示对其带来不便),则可以设置不对该目标信息进行提示。设置方式可以是通过接收对语音提示的语音关闭指令(如图5所示),或者是通过在终端上显示如图4所示的关闭选择界面,终端接收用户对该语音提示的关闭操作,则当终端在下一次监测到预设触发条件时,和/或,在下一次确定目标信息时,终端将不进行语音提示。After playing the target information to prompt the user, if the user feels that the target information does not need to be reminded (or if the user feels that such a voice prompt brings him inconvenience), the target information can be set not to be prompted. The setting method can be by receiving the voice close command to the voice prompt (as shown in Figure 5), or by displaying the close selection interface as shown in Figure 4 on the terminal, the terminal receives the user's close operation of the voice prompt, then When the terminal detects the preset trigger condition next time, and/or when the target information is determined next time, the terminal will not give a voice prompt.
本申请实施例提供的语音提示方法,可以获取目标信息并在判断目标信息满足预设触发条件时对目标信息进行语音提示,该方法并不需要用户主动唤醒语音助手,也不需向语音助手主动表达用户目的后才提供语音服务,与现有技术相比本申请提供的语音提示方法能够提供更好的与用户的交互,给用户来带更佳的用户体验。The voice prompting method provided by the embodiment of the present application can acquire target information and give a voice prompt to the target information when it is judged that the target information satisfies the preset trigger condition. The voice service is provided only after the user's purpose is expressed. Compared with the prior art, the voice prompting method provided by the present application can provide better interaction with the user and bring a better user experience to the user.
本申请实施例还提供了一种语音提示方法,请参见图8,该方法可以对终端上的目标信息进行语音提示,可选地,目标信息包括天气信息、新闻信息、物流信息、自定义提示信息、联系人信息中的至少一种,可理解的是,天气信息、新闻信息、物流信息是需要终端及时获取以对用户进行语音提示的,而自定义提示信息、联系人信息则是受时间等的限制,只有在终端被动的“收”到才能对用户进行语音提示的,相比前者少一些获取相关信息的步骤,所以在本申请实施例中主要以天气信息、新闻信息以及物流信息进行例举,以对获取信息的步骤进行介绍,对于自定义提示信息、联系人信息,则在介绍本申请实施例的 时候以示例的方式进行介绍。本申请实施例提供的语音提示方法包括:The embodiment of the present application also provides a voice prompting method, see FIG. 8 , this method can provide voice prompting for target information on the terminal, optionally, the target information includes weather information, news information, logistics information, custom prompts At least one of information and contact information. It is understandable that weather information, news information, and logistics information need to be obtained by the terminal in time to give voice prompts to users, while custom prompt information and contact information are subject to time. Restrictions such as, only when the terminal passively "receives" the voice prompt to the user, compared with the former, there are fewer steps to obtain relevant information, so in the embodiment of this application, weather information, news information and logistics information are mainly used to carry out For example, the steps of acquiring information are introduced, and the custom prompt information and contact information are introduced by way of example when the embodiments of the present application are introduced. The voice prompting method provided by the embodiment of the present application includes:
S201、每隔预设时间长度获取一次目标信息。S201. Acquire target information every preset time length.
本申请实施例中目标信息包括天气信息、新闻信息、物流信息中的至少一种。天气信息主要指终端所在的当前地区的天气信息,当然用户也可以设置为异于终端所在的当前地区的天气信息。新闻信息为终端上某一主题的信息,可以为某一应用上的新闻信息,也可以为某一应用或各类应用上的预设话题的新闻信息。物流信息可以是终端上某一购物应用上的物流信息,也可以是终端上各个购物应用上的所有物流信息等等。The target information in this embodiment of the present application includes at least one of weather information, news information, and logistics information. The weather information mainly refers to the weather information of the current area where the terminal is located. Of course, the user can also set the weather information to be different from the current area where the terminal is located. The news information is information on a certain topic on the terminal, which may be news information on a certain application, or may be news information on a preset topic on a certain application or various applications. The logistics information may be the logistics information on a shopping application on the terminal, or may be all the logistics information on each shopping application on the terminal, and so on.
获取目标信息的步骤可以如步骤S201,即每隔预设时间长度便获取一次天气信息和/或新闻信息,相比于实时获取目标信息,每隔预设时间长度进行获取可以节约终端的计算机资源。可以理解的是,目标信息可能在一定时间内都不会发生变化,则按照实时获取、每隔预设时间长度的方式获取到的目标信息可能是不变的,而重复对目标信息进行语音提示将会影响用户的使用体验,在一些示例中,获取目标信息的方式还可以是:确定目标信息的最新信息,将该最新信息与之前获取到的历史信息相比,若最新信息与历史信息的差异大于或等于预设阈值,则才将目标信息的最新信息作为目标信息。若目标信息为天气信息,则最新信息与历史信息的差异大于或等于预设阈值可以是两者的天气温度差大于或等于预设温度差值;若目标信息为新闻信息,则最新信息与历史信息的差异大于或等于预设阈值可以指两者是不同话题的新闻内容。若目标信息为是物流信息,则最新信息与历史信息的差异大于或等于预设阈值可以指是物流过程中物品状态发生改变,例如物品所在的地区发生改变,物品是否遇到不可抗力不能寄送等等。The step of acquiring the target information can be as in step S201, that is, the weather information and/or news information is acquired every preset time length. Compared with real-time acquisition of the target information, the acquisition at every preset time length can save the computer resources of the terminal. . It is understandable that the target information may not change within a certain period of time, and the target information obtained by real-time acquisition and every preset time length may be unchanged, and the target information is repeatedly given voice prompts. It will affect the user's experience. In some examples, the way to obtain the target information can also be: determine the latest information of the target information, compare the latest information with the previously obtained historical information, if the latest information is different from the historical information. If the difference is greater than or equal to the preset threshold, the latest information of the target information is used as the target information. If the target information is weather information, the difference between the latest information and the historical information is greater than or equal to the preset threshold, which may mean that the difference in weather temperature between the two is greater than or equal to the preset temperature difference; if the target information is news information, the latest information and the historical information The difference in information being greater than or equal to the preset threshold may mean that the two are news contents of different topics. If the target information is logistics information, the difference between the latest information and the historical information is greater than or equal to the preset threshold, which means that the status of the item has changed during the logistics process, such as the area where the item is located has changed, whether the item cannot be delivered due to force majeure, etc. Wait.
在获取到目标信息时,终端将通过显示、响铃和/或震动等的非语音提示方式对用户进行提示,之后:When the target information is obtained, the terminal will prompt the user through non-voice prompts such as display, ringing and/or vibration, and then:
S202、若确定目标信息在预设时间长度内未被处理,则判断目标信息满足预设触发条件。S202. If it is determined that the target information has not been processed within a preset time length, determine that the target information satisfies a preset trigger condition.
此处的处理包括对这些目标信息进行点击查阅、关闭、删除等等的操作,若目标信息未在预设时间长度内被处理,则可以判断用户并未获取到目标信息,目标信息满足预设触发条件,则可以通过语音的方式对其进行提示。The processing here includes operations such as clicking, viewing, closing, deleting, etc. on these target information. If the target information is not processed within the preset time length, it can be determined that the user has not obtained the target information, and the target information meets the preset requirements. If the trigger condition is met, it can be prompted by voice.
在一种实施方式中,判断目标信息满足预设触发条件还可以通过其他方式,至少包括以下三种:In an implementation manner, other methods may be used to determine whether the target information satisfies the preset trigger condition, including at least the following three:
第一种为若确定获取到目标信息的数量大于或等于预设阈值,则判断目标信息满足预设触发条件,即获取到的目标信息可以有多个,例如新增的新闻信息、物流信息多、更替快,则可以在获取到目标信息的数量大于或等于预设阈值时确定你满足预设触发条件。The first is that if it is determined that the amount of acquired target information is greater than or equal to the preset threshold, then it is determined that the target information meets the preset trigger condition, that is, there can be multiple acquired target information, such as new news information and logistics information. , fast replacement, you can determine that you meet the preset trigger condition when the amount of acquired target information is greater than or equal to the preset threshold.
第二种为若确定目标信息的联系人为预设联系人,则判断目标信息满足预设触发条件。在该示例下目标信息为联系人发送给用户的信息,可以为短信信息、来电通话、社交应用中的语音通话,以及例如英文、中文等的字符信息。用户可以将联系人设置为重要联系人(预设联系人),对该联系人所发送的目标信息都进行语音播报提示,包括对接收到目标信息的事件进行提示,也可可以包括对接收到的目标信息的内容进行语音提示。The second is that if the contact of the target information is determined to be a preset contact, it is determined that the target information satisfies the preset trigger condition. In this example, the target information is information sent by the contact to the user, which may be short message information, incoming calls, voice calls in social applications, and character information such as English and Chinese. The user can set the contact as an important contact (preset contact), and voice broadcast prompts for the target information sent by the contact, including prompting for the event of receiving the target information, and also for receiving the target information. The content of the target information will be voiced.
第三种为监测终端的目标状态,若终端的目标状态满足目标状态的预设触发条件,则判断目标信息满足预设触发条件。对应于不同的目标状态,终端上可以设置对应的状态触发条件,若监测到终端的目标状态对应于该目标状态的状态触发条件,则可以判断终端满足预设触发条件,这将触发终端继续执行步骤S203中播放目标信息的步骤。此处的目标状态是指用户在使用终端的过程中所产生数据,可以为终端的位置(包括GPS定位、北斗定位的位置),可以为用户执行动作(包括可以基于终端上各类传感器监测到的用户的抬腕动作、拿起动作、摇晃动作等),也可以为终端运行状态(包括终端的熄屏状态、亮屏状态、锁屏状态、解锁状态、关机状态、启动状态等等),还可以为终端上用户设置的自定义提示事件,自定义提示事件是用户预先设置的、在预设的提示时间可以通过响铃、震动、显示等方式提示用户的事件,可以是用户自己想被提醒的事件,譬如某纪念日,某活动安排等等。对应于不同的目标状态,判断目标信息满足预设触发条件可以包括以下至少一种:The third is to monitor the target state of the terminal. If the target state of the terminal satisfies the preset trigger condition of the target state, it is determined that the target information satisfies the preset trigger condition. Corresponding to different target states, the corresponding state trigger conditions can be set on the terminal. If it is detected that the target state of the terminal corresponds to the state trigger conditions of the target state, it can be determined that the terminal meets the preset trigger conditions, which will trigger the terminal to continue executing. The step of playing the target information in step S203. The target state here refers to the data generated by the user in the process of using the terminal, which can be the location of the terminal (including GPS positioning and Beidou positioning), and can perform actions for the user (including monitoring based on various sensors on the terminal. It can also be the terminal running state (including the terminal's screen-off state, screen-on state, screen-locking state, unlocking state, shutdown state, startup state, etc.), It can also be a custom reminder event set by the user on the terminal. The user-defined reminder event is an event preset by the user, and the user can be reminded by means of ringing, vibration, display, etc. at the preset reminder time. Reminders of events, such as an anniversary, an event arrangement, etc. Corresponding to different target states, judging that the target information satisfies the preset trigger conditions may include at least one of the following:
若目标状态为终端的位置,则可以在监测到终端的位置离开第一预设地点方圆第一预设范围,和/或,进入第二预设地点方圆第二预设范围,则判断终端满足预设触发条件。If the target state is the position of the terminal, the position where the terminal is monitored can leave the first preset range of the first preset location and/or enter the second preset range of the second preset location, then it is determined that the terminal meets the Preset trigger conditions.
若目标状态为用户执行动作,则可以是在监测到终端用户执行了抬腕动作、拿起动作、摇晃动作等动作中的一种或多种之后,判断终端满足预设触发条件。If the target state is an action performed by the user, it may be determined that the terminal satisfies the preset trigger condition after monitoring that the terminal user performs one or more actions of raising the wrist, picking up the action, and shaking the action.
若目标状态为终端的运行状态,则可以在监测到终端从熄屏状态切换为亮屏状态,和/或,从锁屏状态切换为解锁状态,和/或,从关机状态切换为启动状态时,判断终端满足预设触发条件。If the target state is the running state of the terminal, it can be monitored that the terminal switches from the off-screen state to the bright-screen state, and/or from the lock-screen state to the unlocked state, and/or from the off-state to the on-state , judging that the terminal satisfies the preset trigger condition.
若终端的目标状态为自定义提示事件,则在监测到当前时间满足自定义提示事件的提示时间,即终端正通过响铃、震动、显示等方式对自定义提示事件进行提示时,则判断终端满足预设触发条件。If the target state of the terminal is a custom prompt event, the terminal determines that the current time meets the prompt time of the custom prompt event, that is, when the terminal is prompting the custom prompt event by ringing, vibrating, displaying, etc. The preset trigger conditions are met.
S203、播放目标信息。S203. Play target information.
终端可以开启其上语音助手系统以及其上的扬声器,以对目标信息进行播放而对用户进行提示。在播放目标信息以对用户进行提示之后,若用户觉得该目标信息不用提醒(或若用户觉得这样的语音提示对其带来不便),则可以设置不对该目标信息进行提示。在图5所示的示例下,终端可以接收对语音提示方法的语音关闭指令,在下一次监测到预设触发条件时,和/或,在下一次确定目标信息时,停止执行语音提示方法。在本申请实施例中还可以:The terminal can turn on the voice assistant system on it and the speaker on it to play the target information to prompt the user. After playing the target information to prompt the user, if the user feels that the target information does not need to be reminded (or if the user feels that such a voice prompt brings him inconvenience), the target information can be set not to be prompted. In the example shown in FIG. 5 , the terminal may receive a voice-off instruction for the voice prompting method, and stop executing the voice prompting method the next time a preset trigger condition is monitored and/or the next time target information is determined. In the embodiments of the present application, it is also possible to:
S204、显示关闭选择界面。S204, displaying a shutdown selection interface.
S205、响应于关闭选择,关闭语音提示。S205. In response to the closing selection, close the voice prompt.
在对目标信息进行语音提示之后,终端可以在其上显示对该语音提示的关闭选择界面,例如图4,若用户觉得不需要对该目标信息进行语音提示,则可以在关闭选择界面对其进行关闭,则终端可以在下一次监测到预设触发条件时,和/或,在下一次确定目标信息时,停止执行语音提示方法。After the voice prompt is given to the target information, the terminal may display a closing selection interface for the voice prompt, for example, as shown in Figure 4, if the user feels that the target information does not need a voice prompt, the terminal can display it on the closing selection interface. If it is turned off, the terminal may stop executing the voice prompting method the next time the preset trigger condition is monitored, and/or the next time the target information is determined.
本申请实施例提供的语音提示方法并不需要用户主动唤醒语音助手,也不需向语音助手主动表达用户目的后才提供语音服务,与现有技术相比本申请提供的语音提示方法能够提供更好的与用户的交互,给用户来带更佳的用户体验。The voice prompt method provided by the embodiments of the present application does not require the user to actively wake up the voice assistant, nor does it need to actively express the user's purpose to the voice assistant before providing voice services. Compared with the prior art, the voice prompt method provided by the present application can provide more A good interaction with the user brings a better user experience to the user.
本申请还提供一种移动终端设备,终端设备包括存储器、处理器,存储器上存储有语音提示程序,语音提示程序被处理器执行时实现上述任一实施例中的语音提示方法的步骤。The present application also provides a mobile terminal device, the terminal device includes a memory and a processor, the memory stores a voice prompt program, and when the voice prompt program is executed by the processor, the steps of the voice prompt method in any of the above embodiments are implemented.
本申请还提供一种计算机可读存储介质,计算机可读存储介质上存储有语音提示程序,语音提示程序被处理器执行时实现上述任一实施例中的语音提示方法的步骤。The present application also provides a computer-readable storage medium on which a voice prompting program is stored, and when the voice prompting program is executed by a processor, implements the steps of the voice prompting method in any of the foregoing embodiments.
在本申请提供的移动终端和计算机可读存储介质的实施例中,包含了上述语音提示方法各实施例的全部技术特征,说明书拓展和解释内容与上述方法的各实施例基本相同,在此不做再赘述。The embodiments of the mobile terminal and the computer-readable storage medium provided in this application include all the technical features of the above-mentioned embodiments of the voice prompting method, and the expansion and explanation contents of the description are basically the same as those of the above-mentioned embodiments of the method. Do repeat.
本申请实施例还提供一种计算机程序产品,计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行如上各种可能的实施方式中的方法。Embodiments of the present application also provide a computer program product, where the computer program product includes computer program code, when the computer program code runs on a computer, the computer can execute the methods in the various possible implementation manners above.
本申请实施例还提供一种芯片,包括存储器和处理器,存储器用于存储计算机程序,处理器用于从存储器中调用并运行计算机程序,使得安装有芯片的设备执行如上各种可能的实施方式中的方法。An embodiment of the present application further provides a chip, including a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device with the chip installed executes the various possible implementation manners described above. Methods.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
在本申请中,对于相同或相似的术语概念、技术方案和/或应用场景描述,一般只在第一次出现时进行详细描述,后面再重复出现时,为了简洁,一般未再重复阐述,在理解本申请技术方案等内容时,对于在后未详细描述的相同或相似的术语概念、技术方案和/或应用场景描述等,可以参考其之前的相关详细描述。In this application, descriptions of the same or similar term concepts, technical solutions and/or application scenarios are generally only described in detail when they appear for the first time. When understanding the technical solutions and other contents of the present application, for the same or similar term concepts, technical solutions and/or application scenario descriptions, etc. that are not described in detail later, reference may be made to the related detailed descriptions before them.
在本申请中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In this application, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本申请技术方案的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本申请记载的范围。The technical features of the technical solutions of the present application can be combined arbitrarily. In order to simplify the description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all It should be considered as the scope described in this application.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,被控终端,或者网络设备等)执行本申请每个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on such understanding, the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in the above storage medium (such as ROM/RAM, magnetic CD, CD), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields , are similarly included within the scope of patent protection of this application.
Claims (12)
- 一种语音提示方法,其特征在于,所述语音提示方法包括:A voice prompting method, characterized in that the voice prompting method comprises:S11、监测终端是否满足预设触发条件;S11. Monitor whether the terminal meets a preset trigger condition;S12、判断所述终端满足预设触发条件则确定目标信息;S12, judging that the terminal satisfies a preset trigger condition, then determining target information;S13、对所述目标信息进行语音提示。S13. Perform a voice prompt on the target information.
- 如权利要求1所述的方法,其特征在于,包括以下至少一项:The method of claim 1, comprising at least one of the following:所述步骤S11之前还包括:检测是否开启预设模式,若是,才执行所述步骤S11;Before the step S11, the method further includes: detecting whether the preset mode is enabled, and if so, execute the step S11;所述步骤S11包括:监测所述终端的目标状态,所述终端的目标状态具有一种或多种;若所述终端的目标状态满足状态触发条件,则判断所述终端满足预设触发条件。The step S11 includes: monitoring the target state of the terminal, where the target state of the terminal has one or more types; if the target state of the terminal satisfies a state trigger condition, judging that the terminal meets a preset trigger condition.
- 如权利要求2所述的方法,其特征在于,所述步骤S11包括以下至少一种:The method of claim 2, wherein the step S11 comprises at least one of the following:监测所述终端的位置,若所述终端的位置离开第一预设地点方圆第一预设范围,和/或,若所述终端的位置进入第二预设地点方圆第二预设范围,则判断所述终端满足预设触发条件;Monitoring the position of the terminal, if the position of the terminal leaves the first preset range of the first preset location, and/or, if the location of the terminal enters the second preset range of the second preset location, then Judging that the terminal satisfies a preset trigger condition;监测所述终端的用户执行动作,若监测到所述终端的用户执行了抬腕动作、拿起动作和/或摇晃动作,则判断所述终端满足预设触发条件;Monitoring the actions performed by the user of the terminal, and if it is detected that the user of the terminal performs a wrist-raising action, a pick-up action and/or a shaking action, it is determined that the terminal meets a preset trigger condition;监测所述终端的运行状态,若监测到所述终端从熄屏状态切换为亮屏状态,和/或,从锁屏状态切换为解锁状态,和/或,从关机状态切换为启动状态,则判断所述终端满足预设触发条件;Monitoring the running state of the terminal, if it is monitored that the terminal switches from the screen-off state to the bright-screen state, and/or from the lock-screen state to the unlocked state, and/or from the off-state to the on-state, then Judging that the terminal satisfies a preset trigger condition;监测所述终端的自定义提示事件,若当前时间满足所述自定义提示事件的提示时间,则判断所述终端满足预设触发条件。The custom prompt event of the terminal is monitored, and if the current time meets the prompt time of the custom prompt event, it is determined that the terminal meets the preset trigger condition.
- 如权利要求1至3中任一项所述的方法,其特征在于,所述步骤S12中确定目标信息的步骤包括以下至少一种:The method according to any one of claims 1 to 3, wherein the step of determining the target information in the step S12 includes at least one of the following:将所述预设触发条件对应的提示信息确定为目标信息;determining the prompt information corresponding to the preset trigger condition as target information;将天气信息、新闻信息、联系人信息中的至少一项确定为目标信息。At least one item of weather information, news information, and contact information is determined as the target information.
- 如权利要求1至3中任一项所述的方法,其特征在于,所述步骤S13之后,所述方法还包括以下至少一种:The method according to any one of claims 1 to 3, wherein after the step S13, the method further comprises at least one of the following:显示所述语音提示方法的关闭选择界面,基于所述关闭选择界面接收对所述语音提示方法的关闭选择,在下一次监测到所述预设触发条件时,和/或,在下一次确定所述目标信息时,停止执行所述语音提示方法;Displaying a shutdown selection interface for the voice prompt method, receiving a shutdown selection for the voice prompt method based on the shutdown selection interface, when the preset trigger condition is monitored next time, and/or, the next time the target is determined information, stop executing the voice prompting method;接收对所述语音提示方法的语音关闭指令,在下一次监测到所述预设触发条件时,和/或,在下一次确定所述目标信息时,停止执行所述语音提示方法。Receive a voice-off instruction for the voice prompting method, and stop executing the voice prompting method when the preset trigger condition is monitored next time, and/or when the target information is determined next time.
- 一种语音提示方法,其特征在于,所述语音提示方法包括:A voice prompting method, characterized in that the voice prompting method comprises:S21、获取目标信息;S21. Obtain target information;S22、判断所述目标信息满足预设触发条件;S22, judging that the target information satisfies a preset trigger condition;S23、对所述目标信息进行语音提示。S23. Perform a voice prompt on the target information.
- 如权利要求6所述的方法,其特征在于,所述目标信息包括天气信息、新闻信息、物流信息、自定义提示信息、联系人信息中的至少一种;和/或,The method of claim 6, wherein the target information includes at least one of weather information, news information, logistics information, custom prompt information, and contact information; and/or,若所述目标信息包括天气信息、新闻信息、物流信息中的至少一项,则所述步骤S21包括以下至少一种:If the target information includes at least one of weather information, news information, and logistics information, the step S21 includes at least one of the following:实时获取目标信息;Obtain target information in real time;每隔预设时间长度获取一次目标信息;Obtain target information every preset time length;确定目标信息的最新信息以及历史获取信息,若所述最新信息与所述历史信息的差异大于或等于预设阈值,则将所述目标信息的最新信息作为所述目标信息。The latest information of the target information and the historical acquisition information are determined, and if the difference between the latest information and the historical information is greater than or equal to a preset threshold, the latest information of the target information is used as the target information.
- 如权利要求6所述的方法,其特征在于,所述步骤S22包括以下至少一种:The method of claim 6, wherein the step S22 comprises at least one of the following:若确定所述目标信息在预设时间长度内未被处理,则判断所述目标信息满足预设触发条件;If it is determined that the target information has not been processed within a preset time length, it is determined that the target information satisfies a preset trigger condition;若确定获取到目标信息的数量大于或等于预设阈值,则判断所述目标信息满足预设触发条件;If it is determined that the quantity of acquired target information is greater than or equal to a preset threshold, it is determined that the target information meets a preset trigger condition;若确定所述目标信息的联系人为预设联系人,则判断所述目标信息满足预设触发条件;If it is determined that the contact of the target information is a preset contact, it is determined that the target information satisfies a preset trigger condition;监测所述终端的目标状态,若所述终端的目标状态满足所述目标状态的预设触发条件,则判断所述目标信息满足预设触发条件。The target state of the terminal is monitored, and if the target state of the terminal satisfies the preset trigger condition of the target state, it is determined that the target information satisfies the preset trigger condition.
- 如权利要求8所述的方法,其特征在于,所述监测所述终端的目标状态,若所述终端的目标状态满足所述目标状态的预设触发条件,则判断所述目标信息满足预设触发条件,包括以下至少一种:The method according to claim 8, wherein, in the monitoring of the target state of the terminal, if the target state of the terminal satisfies a preset trigger condition of the target state, it is determined that the target information satisfies a preset trigger condition Trigger conditions, including at least one of the following:监测所述终端的位置,若所述终端的位置离开第一预设地点方圆第一预设范围,和/或,所述终端的位置进入第二预设地点方圆第二预设范围,则判断所述目标信息满足预设触发条件;Monitoring the position of the terminal, if the position of the terminal leaves the first preset range of the first preset location, and/or the location of the terminal enters the second preset range of the second preset location, determine The target information satisfies a preset trigger condition;监测所述终端的用户执行动作,若监测到所述终端的用户执行了抬腕动作、拿起动作和/或摇晃动作,则判断所述目标信息满足预设触发条件;Monitoring the actions performed by the user of the terminal, and if it is detected that the user of the terminal performs a wrist-raising action, a lifting action and/or a shaking action, it is determined that the target information satisfies a preset trigger condition;监测所述终端的运行状态,若监测到所述终端从熄屏状态切换为亮屏状态,和/或,从锁屏状态切换为解锁状态,和/或,从关机状态切换为启动状态,则判断所述目标信息满足预设触发条件;Monitoring the running state of the terminal, if it is monitored that the terminal switches from the screen-off state to the bright-screen state, and/or from the lock-screen state to the unlocked state, and/or from the off-state to the on-state, then Judging that the target information satisfies a preset trigger condition;监测所述终端的自定义提示事件,若当前时间满足所述自定义提示事件的提示时间,则判断所述目标信息满足预设触发条件。The custom prompt event of the terminal is monitored, and if the current time meets the prompt time of the custom prompt event, it is determined that the target information satisfies a preset trigger condition.
- 如权利要求6至9中任一项所述的方法,其特征在于,所述步骤S23之后所述方法还包括以下至少一种:The method according to any one of claims 6 to 9, wherein after the step S23, the method further comprises at least one of the following:显示所述语音提示方法的关闭选择界面,基于所述关闭选择界面接收对所述语音提示方法的关闭选择,在下一次监测到所述预设触发条件时,和/或,在下一次确定所述目标信息时,停止执行所述语音提示方法;Displaying a shutdown selection interface for the voice prompt method, receiving a shutdown selection for the voice prompt method based on the shutdown selection interface, when the preset trigger condition is monitored next time, and/or, the next time the target is determined information, stop executing the voice prompting method;接收对所述语音提示方法的语音关闭指令,在下一次监测到所述预设触发条件时,和/或,在下一次确定所述目标信息时,停止执行所述语音提示方法。Receive a voice-off instruction for the voice prompting method, and stop executing the voice prompting method when the preset trigger condition is monitored next time, and/or when the target information is determined next time.
- 一种终端,其特征在于,所述终端包括:存储器、处理器,其中,所述存储器上存储有语音提示程序,所述语音提示程序被所述处理器执行时实现如权利要求1至10中任一项所述的方法的步骤。A terminal, characterized in that the terminal comprises: a memory and a processor, wherein a voice prompting program is stored on the memory, and the voice prompting program is implemented by the processor when executed by the processor as claimed in claims 1 to 10. The steps of any one of the methods.
- 一种可读存储介质,其特征在于,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至10中任一项所述的方法的步骤。A readable storage medium, characterized in that a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/087828 WO2022217590A1 (en) | 2021-04-16 | 2021-04-16 | Voice prompt method, terminal and storage medium |
CN202180095290.0A CN116940982A (en) | 2021-04-16 | 2021-04-16 | Voice prompt method, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/087828 WO2022217590A1 (en) | 2021-04-16 | 2021-04-16 | Voice prompt method, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022217590A1 true WO2022217590A1 (en) | 2022-10-20 |
Family
ID=83640078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/087828 WO2022217590A1 (en) | 2021-04-16 | 2021-04-16 | Voice prompt method, terminal and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116940982A (en) |
WO (1) | WO2022217590A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117316412A (en) * | 2023-11-09 | 2023-12-29 | 中南大学湘雅医院 | Ophthalmic diagnosis guiding control method and system based on voice prompt |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106569932A (en) * | 2016-10-31 | 2017-04-19 | 珠海市魅族科技有限公司 | Method and device for starting application |
CN110175016A (en) * | 2019-05-29 | 2019-08-27 | 英业达科技有限公司 | Start the method for voice assistant and the electronic device with voice assistant |
WO2019234392A1 (en) * | 2018-06-08 | 2019-12-12 | Pure International Limited | An apparatus and method |
CN110825341A (en) * | 2019-11-04 | 2020-02-21 | 深圳传音控股股份有限公司 | Voice assistant broadcasting method, device, terminal and medium |
CN111462428A (en) * | 2020-04-08 | 2020-07-28 | 上海圣哲医疗科技有限公司 | Voice prompt method, device, equipment and storage medium |
CN112489647A (en) * | 2020-11-24 | 2021-03-12 | 上海传英信息技术有限公司 | Voice assistant control method, mobile terminal and storage medium |
-
2021
- 2021-04-16 WO PCT/CN2021/087828 patent/WO2022217590A1/en active Application Filing
- 2021-04-16 CN CN202180095290.0A patent/CN116940982A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106569932A (en) * | 2016-10-31 | 2017-04-19 | 珠海市魅族科技有限公司 | Method and device for starting application |
WO2019234392A1 (en) * | 2018-06-08 | 2019-12-12 | Pure International Limited | An apparatus and method |
CN110175016A (en) * | 2019-05-29 | 2019-08-27 | 英业达科技有限公司 | Start the method for voice assistant and the electronic device with voice assistant |
CN110825341A (en) * | 2019-11-04 | 2020-02-21 | 深圳传音控股股份有限公司 | Voice assistant broadcasting method, device, terminal and medium |
CN111462428A (en) * | 2020-04-08 | 2020-07-28 | 上海圣哲医疗科技有限公司 | Voice prompt method, device, equipment and storage medium |
CN112489647A (en) * | 2020-11-24 | 2021-03-12 | 上海传英信息技术有限公司 | Voice assistant control method, mobile terminal and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117316412A (en) * | 2023-11-09 | 2023-12-29 | 中南大学湘雅医院 | Ophthalmic diagnosis guiding control method and system based on voice prompt |
Also Published As
Publication number | Publication date |
---|---|
CN116940982A (en) | 2023-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021017776A1 (en) | Information processing method and terminal | |
WO2021017763A1 (en) | Transaction processing method, terminal device, and computer-readable storage medium | |
EP3855714B1 (en) | Information processing method and terminal | |
CN108135033B (en) | Bluetooth connection method and mobile terminal | |
CN110837327B (en) | Message viewing method and terminal | |
CN109525710B (en) | Method and device for accessing application program | |
CN107807767B (en) | Communication service processing method, terminal and computer readable storage medium | |
WO2021017737A1 (en) | Message sending method, and terminal apparatus | |
CN112363648A (en) | Shortcut display method, terminal and computer storage medium | |
CN112256183A (en) | Shortcut function display method, terminal and computer storage medium | |
CN110012159A (en) | Double screen terminal screen display methods, terminal and computer readable storage medium | |
WO2022052470A1 (en) | Method for operating widget, terminal and storage medium | |
CN115080166A (en) | Information display method, mobile terminal and storage medium | |
WO2022217590A1 (en) | Voice prompt method, terminal and storage medium | |
CN113254088A (en) | Functional program awakening method, terminal and storage medium | |
CN112199141A (en) | Message processing method, terminal and computer readable storage medium | |
CN111309392A (en) | Equipment control method and electronic equipment | |
CN109976644A (en) | Using the implementation method and device of prompt operation, mobile terminal and storage medium | |
CN114217685A (en) | Application management method, intelligent terminal and storage medium | |
WO2022047620A1 (en) | Interaction method, terminal and storage medium | |
CN114666440A (en) | Application program control method, intelligent terminal and storage medium | |
CN109799943B (en) | Background cleaning method for mobile terminal, mobile terminal and computer readable storage medium | |
CN114064179A (en) | Display mode adaptation method, terminal and storage medium | |
WO2022226700A1 (en) | Control method, mobile terminal, and storage medium | |
WO2022193257A1 (en) | Intelligent interaction method, terminal, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21936465 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180095290.0 Country of ref document: CN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21936465 Country of ref document: EP Kind code of ref document: A1 |