WO2019205399A1 - 用户行为提示方法、装置、计算机设备及存储介质 - Google Patents

用户行为提示方法、装置、计算机设备及存储介质 Download PDF

Info

Publication number
WO2019205399A1
WO2019205399A1 PCT/CN2018/102862 CN2018102862W WO2019205399A1 WO 2019205399 A1 WO2019205399 A1 WO 2019205399A1 CN 2018102862 W CN2018102862 W CN 2018102862W WO 2019205399 A1 WO2019205399 A1 WO 2019205399A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
prompt
information
user terminal
state information
Prior art date
Application number
PCT/CN2018/102862
Other languages
English (en)
French (fr)
Inventor
刘真
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019205399A1 publication Critical patent/WO2019205399A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Definitions

  • the present application relates to the field of intelligent prompting technology. Specifically, the present application relates to a user behavior prompting method, apparatus, computer device, and storage medium.
  • the user terminal usually wakes up the user by ringing within a preset reminding time.
  • the ringing is mechanical, the information is single, and the volume is fixed. Therefore, when the user wakes up the user, the user can easily turn off the alarm, and the reminder task is invalid due to the individual factors of the user, and the reminding effect is not obvious. problem.
  • the cerebral cortex is in a dormant and inhibited state, and various physiological functions maintain a low level of metabolism and low level of operation. It is necessary to have an obvious process to adjust from sleep state to awake state. The user makes the user feel a strong discomfort, and it is difficult to wake up the user effectively if the ringing tone is too small. Therefore, the more gradual the process of waking up the user through the alarm, the more comfortable the human body is, and the easier it is to adjust to a fresh state.
  • the embodiment of the present application provides a user behavior prompting method, device, computer device, and storage medium for prompting a user by prompting a terminal to prompt a task status.
  • the present application provides a user behavior prompting method, device, computer device, and storage medium, including the following steps: acquiring prompt state information, where the prompt state information is state information when the user terminal performs a prompting task; Determining whether the prompt state information meets a preset end condition; when the prompt state information does not satisfy the preset end condition, sending a first control instruction to the terminal, so that the user terminal performs the preset interval.
  • the user behavior prompts and adjusts the prompt volume of the user terminal.
  • the present application further provides a user behavior prompting apparatus, where the user behavior prompting apparatus includes: an obtaining module, configured to acquire prompt state information, where the prompt state information is a state when the user terminal performs a prompting task. And a comparison module, configured to determine whether the prompt state information meets a preset end condition, and an execution module, configured to send, to the user terminal, when the prompt state information does not meet the preset end condition And a first control instruction, so that the user terminal performs a user behavior prompt at a preset interval and adjusts a prompt volume of the user terminal.
  • an obtaining module configured to acquire prompt state information, where the prompt state information is a state when the user terminal performs a prompting task.
  • a comparison module configured to determine whether the prompt state information meets a preset end condition
  • an execution module configured to send, to the user terminal, when the prompt state information does not meet the preset end condition And a first control instruction, so that the user terminal performs a user behavior prompt at a preset interval and adjusts a prompt
  • the present application further provides a computer device including a memory and a processor, wherein the memory stores computer readable instructions, when the computer readable instructions are executed by the processor, causing the processing
  • the user behavior prompting method includes the following steps: acquiring prompt state information, where the prompt state information is state information when the user terminal performs the prompting task; determining whether the prompting state information meets the preset End condition; when the prompt status information does not satisfy the preset end condition, sending a first control instruction to the user terminal, so that the user terminal performs a user behavior prompt at a preset interval and adjusts the The prompt volume of the user terminal.
  • the present application also provides a non-volatile storage medium storing computer readable instructions, when executed by one or more processors, causing one or more processors to execute A user behavior prompting method
  • the user behavior prompting method includes the following steps: acquiring prompt state information, where the prompt state information is state information when the user terminal performs a prompting task; and determining whether the prompting state information meets a preset end a condition, when the prompt state information does not meet the preset end condition, sending a first control instruction to the user terminal, so that the user terminal performs a user behavior prompt at a preset interval and adjusts the user terminal Prompt volume.
  • the present application provides a user behavior prompting method, device, computer device, and storage medium to obtain state information when a user terminal performs a prompting task through a server, and controls the user terminal to perform a task prompt and gradually adjust a prompt volume according to the state information. It solves the problem that the alarm ringing is too strong to stimulate the user and causes the user to have a strong discomfort and the alarm is too flat and difficult to effectively remind the user.
  • FIG. 1 is a schematic diagram of a basic process of a user behavior prompting method according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for performing comparison verification by using voice information according to an embodiment of the present application
  • FIG. 3 is a flowchart of a method for performing comparison verification by moving step information according to an embodiment of the present application
  • FIG. 4 is a flowchart of a method for performing comparison verification by location information according to an embodiment of the present application
  • FIG. 5 is still another schematic flowchart of a user behavior prompting method according to an embodiment of the present disclosure
  • FIG. 6 is a block diagram showing a basic structure of a user behavior prompting device in an embodiment of the present application.
  • FIG. 7 is a block diagram showing the basic structure of a computer device according to an embodiment of the present application.
  • terminal and terminal device used herein include both a wireless signal receiver device, a device having only a wireless signal receiver without a transmitting capability, and a receiving and transmitting hardware.
  • Such devices may include cellular or other communication devices having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data Processing, fax, and/or data communication capabilities; PDA (Personal Digital Assistant), which can include radio frequency receivers, pagers, Internet/Intranet access, web browsers, notepads, calendars, and/or GPS (Global Positioning System (Global Positioning System) receiver; conventional laptop and/or palmtop computer or other device having a conventional laptop and/or palmtop computer or other device that includes and/or includes a radio frequency receiver.
  • PCS Personal Communications Service
  • PDA Personal Digital Assistant
  • terminal may be portable, transportable, installed in a vehicle (aviation, sea and/or land), or adapted and/or configured to operate locally, and/or Run in any other location on the Earth and/or space in a distributed form.
  • the "terminal” and “terminal device” used herein may also be a communication terminal, an internet terminal, a music/video playing terminal, and may be, for example, a PDA, a MID (Mobile Internet Device), and/or have a music/video playback.
  • Functional mobile phones can also be smart TVs, set-top boxes and other devices.
  • the user terminal mentioned in this embodiment is the above terminal.
  • FIG. 1 is a schematic diagram of a basic process of a user behavior prompting method according to an embodiment.
  • the user behavior prompting method includes the following steps:
  • S100 Acquire prompt state information, where the prompt state information is state information when the user terminal performs the prompting task.
  • the user terminal when the user terminal performs the prompting task, the user terminal prompts the user by ringing.
  • the present invention is not limited thereto. According to different application scenarios, in some embodiments, the user terminal can also prompt the user by means of vibration or text prompting.
  • the prompt task includes a set prompt item and a set prompt time, and the timer built in the user terminal is started according to the prompt time to start timing.
  • the current time value is the same as the set prompt time, the user is reminded to execute the content of the prompt item.
  • the prompt item may be reading text information, walking exercise, going to a destination, and the like. It can be understood that, in other embodiments, the user may also set different prompt item content in the user terminal according to different habits and preferences.
  • the timer is used to record and store the cue time, and the current time value of the timer gradually increases over time.
  • the timer acts on the alarm through program control, thereby prompting the ringing.
  • the user needs to close the alarm by executing the content of the prompt item.
  • the user terminal wakes up, the user terminal prompts the user to perform the content of the prompt item, and the auxiliary device that starts the internal setting generates the prompt state information according to the prompt item executed by the user, and then the prompt state is generated.
  • Information is sent to the server side associated with the user terminal.
  • the prompt status information may be voice information, motion information, location information, and the like.
  • the server After obtaining the prompt status information uploaded by the user terminal, the server determines whether the prompt status information meets the preset end condition.
  • the preset end condition may be set according to a specific application scenario.
  • the preset end condition may be: verifying whether the text information read by the user is the same as or similar to the text information of the preset text template, or verifying whether the number of steps the user walks from the ringing reaches the motion task threshold, or verifying the user. Whether the real-time location of the location coincides with the preset destination location.
  • the server sends a first control instruction to the user terminal, thereby controlling the user terminal to perform user behavior according to a preset interval. Prompting and progressively adjusting the prompt volume of the user mobile terminal.
  • the ringing mode is a progressive ringing, that is, the ringing volume may be set with multiple volume levels, for example, from low to high. Level volume, secondary volume, tertiary volume, etc.
  • the prompting volume of the prompting bell is a first-level volume
  • the prompting state information of the first comparison verification does not satisfy the preset ending condition, the server end The user terminal sends the first control command, and the prompting volume level of the prompting ringing is increased to the secondary volume.
  • the server sends a second control instruction to the user terminal, and the alarm is triggered by the alarm ring Up to three levels of volume. And so on, until the server sends an end prompt instruction to the user terminal to end the user behavior prompt task.
  • the adjustment prompt volume can also be achieved by setting the volume value.
  • the data packet including the second volume value is preset in the second control instruction by presetting the data packet including the first volume value in the first control instruction, where the first volume value is smaller than The second volume value is described.
  • the user terminal adjusts the ringing volume according to the data packet containing the volume value in the receiving control instruction (for example, the first control command, the second control command, etc.), so that the ringing mode is progressive when the user terminal performs the prompting task. It can be understood that if the prompt status information of the third comparison verification has not met the preset end condition, the third control instruction or even the fourth control instruction may also be sent.
  • Each control command pre-sets a data packet containing a volume value, and the later the control command sent, the larger the volume value in the data packet.
  • the foregoing embodiment is used to verify the prompt state information uploaded by the user terminal by comparing, and the prompt state information includes specific situation information when the user terminal performs the prompting task.
  • the server After receiving the prompt status information, the server compares the prompt status information with a preset end condition, and when the status information does not meet the preset end condition, the user terminal is controlled by sending a first control instruction. Ringing at preset intervals and gradually increasing the ringing alert volume, which helps the user wake up from deep sleep to light sleep, and then gradually adjust to awake state, which solves the problem that the alarm ringing is too strong to stimulate the user and causes strong discomfort to the user. Feelings and alarms are too flat and difficult to effectively remind users of problems.
  • the prompt status information includes voice information for ending a user behavior prompting task. Please refer to FIG. 2.
  • FIG. 2 is a flowchart of a method for performing comparison verification by using voice information according to an embodiment of the present application.
  • the method further includes the following steps:
  • S311 Acquire voice information in the prompt state information.
  • the server when the user sets the behavior prompting task, the server sends a preset text template to the user terminal and stores it in the specified logical location of the user terminal, the preset text template.
  • the text file consisting of Chinese characters is included, but is not limited thereto, and can be a text file of any language that the user can recognize according to the user's language.
  • the alarm is applied by the program control, thereby calling the alarm to prompt the ringing.
  • the text file stored in the specified logical location of the user terminal is displayed in the display container, and the voice collector built in the user terminal is called to collect the voice information in the user prompt state information. Then, the collected voice information is uploaded to the server by the user terminal, so that the server obtains the voice information.
  • S312 Perform voiceprint recognition on the voice information to obtain text information that represents the voice information.
  • the voice information uploaded by the user terminal is converted by the voice conversion technology live model to obtain the text information corresponding to the voice information.
  • the server side performs text conversion on the voice information through a technology held by the University of Science and Technology or the Microsoft Speech Recognition plug-in.
  • S313 Compare the text information with a preset text template to verify whether the prompt status information satisfies the preset end condition.
  • the converted text information is compared with a preset text template, and the proof state information is verified according to the comparison result to satisfy a preset end condition.
  • the preset end condition is that the text information converted by the user voice information is the same as or similar to the content in the text template.
  • a Hamming distance between the text information and the preset text template is calculated, and a similarity between the text information and the preset text template is compared according to the Hamming distance.
  • the text in the text information is converted into a binary character string according to (not limited to) ASCII code, GB2312 code or BIG5 code, and the character string corresponds to the text content in the text information.
  • the text content of the text template is also converted into a binary string by using (not limited to) ASCII code, GB2312 code or BIG5 code.
  • the Hamming distance between two strings is calculated.
  • the distance between two strings is 0, it means that the two strings are identical.
  • a similar judgment between two strings requires a certain fault tolerance rate, in particular, a similarity threshold of a Hamming distance is set, and the similarity threshold is The setting is inversely proportional to the accuracy requirement according to the specific application scenario. The higher the accuracy requirement, the smaller the similarity threshold, otherwise the similarity threshold is larger.
  • the setting of the similarity threshold is set according to the text content of the text template, and the longer the text content, the larger the similarity threshold, otherwise the similarity threshold is smaller.
  • Step 314 is also included after step 313.
  • Step 314 Send the first control instruction to the user terminal when a Hamming distance between the text information and the preset text template is greater than a preset similarity threshold.
  • comparing the calculated Hamming distance with a preset similarity threshold when the Hamming distance between the text information and the preset text template is greater than a preset similarity threshold And transmitting, by the user terminal, the first control instruction, so that the user terminal performs a user behavior prompt at a preset interval and increases the prompt volume by one level.
  • the prompt status information may further include mobile step number information for ending the user behavior prompting task. Please refer to FIG. 3.
  • FIG. 3 is a flowchart of a method for performing comparison verification by moving step information according to an embodiment of the present application.
  • the method further includes the following steps:
  • the alarm is applied by the program control, thereby calling the alarm to prompt the ringing.
  • the prompting task of the user terminal is closed, the user needs to perform the walking movement after the prompting task is started.
  • the user terminal monitors the built-in pedometer, thereby acquiring the motion state of the user and reading the pedometer from the bell for a predetermined time (for example, 3) Minutes) The number of moving steps recorded.
  • the user terminal uploads the moving step information in the read prompt state information to the server, so that the server acquires the user's moving step information.
  • S322 Compare the number of moving steps with a preset motion task threshold to verify whether the prompt status information satisfies a preset end condition.
  • the mobile step value is compared with a preset motion task threshold, and the prompt status information is verified according to the comparison result.
  • the preset end condition is met.
  • the preset end condition is that the mobile step value received by the server is greater than a motion task threshold preset in the server.
  • Step 323 is also included after step 322.
  • S323 Send the first control instruction to the user terminal when the moving step is less than the preset motion task threshold.
  • the server when the server receives the moving step information in the prompt state information, it compares it with a preset motion threshold (for example, sets the motion threshold to 50 steps), when the user terminal is When the number of moving steps read in the specified time (for example, 3 minutes) is smaller than the preset motion task threshold in the server, the server determines that the user terminal does not meet the preset end condition, and sends the preset end condition to the user terminal.
  • the first control command is such that the user terminal continues to make a ringing prompt and increases the alert volume of the ringing by one level.
  • the prompt status information includes location information for ending a user behavior prompting task. Please refer to FIG. 4.
  • FIG. 4 is a flowchart of a method for performing comparison verification by using location information according to an embodiment of the present application.
  • the method further includes the following steps:
  • S331 Acquire real-time location information in the prompt state information.
  • the user needs to go to the specific location of the preset destination to turn off the prompt ringing.
  • the keyword identifier built in the user terminal identifies and acquires keyword information of the preset destination in the prompting task, and requests the server according to the keyword information.
  • S332 Compare the real-time location information with preset destination location information to verify whether the prompt state information meets a preset end condition.
  • a point path plan is generated.
  • the alarm is applied by the program control, thereby calling the alarm to prompt the ringing.
  • the user terminal prompts the ringing, periodically sends the real-time location information of the location of the user terminal to the server, compares the location information with the preset destination, and verifies the prompt according to the comparison result. Whether the status information meets the preset end condition.
  • the preset end condition is that the real-time location coincides with the preset task location.
  • Step S333 is further included after step S332.
  • S333 Send the first control instruction to the user terminal when the real-time location does not coincide with the preset destination location.
  • the server end receives the real-time location information of the location periodically sent by the user terminal, the real-time location information is compared with the location information of the preset destination, and the comparison result is the real-time location.
  • the server determines that the user terminal does not meet the preset end condition, and sends a first control instruction to the user terminal, so that the user terminal continues to perform the ringing prompt. And increase the volume of the ringing reminder by one level.
  • the user performs the content of the prompt item (for example, reading the text information, walking movement, going to the destination, etc.) to turn off the prompt ringing, and adjusting the closing method of the alarm to help the user quickly activate the cerebral cortex and quickly activate the muscle, and solve the problem.
  • the user is easy to close the alarm and cause the reminder task to be invalid, and the reminder effect is not obvious.
  • FIG. 5 is still another schematic flowchart of a user behavior prompting method according to an embodiment of the present application.
  • the step along with step S300 further includes S400.
  • the server sends a message to the user terminal to stop prompting the ringing
  • the instruction is prompted to cause the user terminal to end the user behavior prompting task.
  • FIG. 6 is a basic structural block diagram of a user behavior prompting apparatus according to an embodiment of the present application.
  • a user behavior prompting apparatus includes: an obtaining module 10, a comparing module 20, and an executing module 30.
  • the obtaining module 10 is configured to obtain prompt state information, where the prompt state information is represented as state information when the user terminal performs the prompting task.
  • the comparison module 20 is configured to determine whether the prompt state information meets a preset end condition.
  • the executing module 30 is configured to send a first control instruction to the user terminal when the prompting state information does not meet the preset ending condition, so that the user terminal performs a user behavior prompt at a preset interval. Adjusting the prompt volume of the user terminal.
  • the user behavior prompting device detects the prompt state information uploaded by the user terminal, and the prompt state information includes specific state information of the user terminal when performing the prompting task.
  • the server compares the prompt status information with a preset end condition, where the status of the user terminal performing the task in the status information does not meet the preset end condition. Sending, by the server end, the first control instruction to the user terminal, so that the user terminal prompts the user behavior at a preset interval and adjusts the prompt volume of the user terminal, thereby further reminding the user.
  • the user can help the user wake up from deep sleep to light sleep, and then gradually adjust to the awake state, which solves the problem that the alarm ringing is too strong to stimulate the user and causes the user to have strong discomfort and the alarm is too flat and difficult to effectively remind the user. problem.
  • the user behavior prompting apparatus further includes: a first obtaining submodule, a first identifying submodule, and a first comparing submodule.
  • the first obtaining sub-module is configured to obtain voice information in the prompting state information;
  • the first identifying sub-module is configured to perform voiceprint recognition on the voice information to obtain text information that represents the voice information;
  • the comparison sub-module is configured to compare the text information with a preset text template to verify whether the prompt status information satisfies a preset end condition.
  • the user behavior prompting apparatus further includes: a first processing submodule and a first execution submodule, wherein the first processing submodule is configured to calculate the text information and the preset a Hamming distance between the text templates, where the first execution sub-module is configured to: when the Hamming distance between the text information and the preset text template is greater than a preset similarity threshold
  • the terminal sends the first control instruction, so that the user terminal performs a user behavior prompt at a preset interval and adjusts the prompt volume thereof, thereby further reminding the user.
  • the user behavior prompting apparatus further includes: a second obtaining submodule and a second comparing submodule.
  • the second obtaining sub-module is configured to acquire the moving step number information in the prompting state information;
  • the second comparing sub-module is configured to compare the moving step number with a preset motion task threshold value, to It is verified whether the prompt status information satisfies a preset end condition.
  • the user behavior prompting apparatus further includes a second execution sub-module, where the second execution sub-module is configured to: when the moving step number is less than the preset motion task threshold, The user terminal sends the first control instruction, so that the user terminal prompts the user behavior at a preset interval and adjusts the prompt volume thereof, thereby further reminding the user.
  • the user behavior prompting apparatus further includes: a third obtaining submodule, a third identifying submodule, and a third comparing submodule.
  • the third obtaining sub-module is configured to acquire real-time location information in the prompt state information
  • the third comparison sub-module is configured to compare the real-time location information with preset destination location information, to It is verified whether the prompt status information satisfies a preset end condition.
  • the user behavior prompting apparatus further includes a third execution sub-module, where the third execution sub-module is configured to: when the real-time location and the preset task location are not coincident, Sending the first control instruction to the user terminal, so that the user terminal prompts the user behavior at a preset interval and adjusts the prompt volume thereof, thereby further reminding the user.
  • the third execution sub-module is configured to: when the real-time location and the preset task location are not coincident, Sending the first control instruction to the user terminal, so that the user terminal prompts the user behavior at a preset interval and adjusts the prompt volume thereof, thereby further reminding the user.
  • FIG. 7 is a basic structural block diagram of a computer device according to an embodiment of the present application.
  • the computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected by a system bus.
  • the non-volatile storage medium of the computer device stores an operating system, a database, and computer readable instructions.
  • the database may store a sequence of control information.
  • the processor may implement a processor.
  • User behavior prompt method The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device.
  • Computer readable instructions may be stored in the memory of the computer device, the computer readable instructions being executable by the processor to cause the processor to perform a user behavior prompting method.
  • the network interface of the computer device is used to communicate with the terminal connection. It will be understood by those skilled in the art that the structure shown in FIG. 7 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • the processor is configured to execute the specific functions of the obtaining module 10, the processing module 20, and the executing module 30 of FIG. 7, and the memory stores program codes and various types of data required to execute the foregoing modules.
  • the network interface is used for data transfer between a user terminal or a server.
  • the memory in this embodiment stores the program code and data required for executing all the sub-modules in the user behavior prompting device, and the server can call the program code and data of the server to execute the functions of all the sub-modules.
  • the computer device detects the prompt status information uploaded by the user terminal, and the prompt status information includes specific information when the user terminal performs the prompting task.
  • the server receives the prompt status information and the preset information. The end condition is compared.
  • the prompt status information does not meet the preset end condition, the first control instruction is sent to the terminal, so that the user terminal prompts the user behavior and adjusts the prompt volume according to the preset interval. .
  • the user can help the user wake up from deep sleep to light sleep, and then gradually adjust to the awake state, which solves the problem that the alarm ringing is too strong to stimulate the user and causes the user to have strong discomfort and the alarm is too flat and difficult to effectively remind the user. problem.
  • the application further provides a storage medium storing computer readable instructions, when executed by one or more processors, causing one or more processors to perform user behavior prompts in any of the above embodiments The steps of the method.
  • the foregoing storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Non-volatile storage media such as Memory, ROM), or random storage memory (Random Access Memory, RAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

一种用户行为提示方法、装置、计算机设备存储介质,所述用户行为提示方法包括以下步骤:获取提示状态信息,所述提示状态信息表征为用户终端执行提示任务时的状态信息(S100);将获取的所述提示状态信息与预设的结束条件进行比对,以验证所述提示状态信息是否满足预设的结束条件(S200);当所述提示状态信息未满足所述预设的结束条件时,向终端发送第一控制指令,以使所述用户终端按预设间隔持续进行用户行为提示并调整其提示音量(S300)。通过所述的用户行为提示方法能够帮助用户从深度睡眠唤醒到浅睡眠,再逐渐调整到清醒状态,解决了闹铃声过于强烈刺激到用户并使用户产生强烈的不适感和闹铃声过于平和难以有效地提醒用户的问题。

Description

用户行为提示方法、装置、计算机设备及存储介质 技术领域
本申请要求于2018年4月27日提交中国专利局、申请号为201810393795.5,发明名称为“用户行为提示方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及智能提示技术领域,具体而言,本申请涉及一种用户行为提示方法、装置、计算机设备及存储介质。
背景技术
随着现代技术的发展,智能终端成为人类必不可少的工具和娱乐伙伴。日常生活中用户为应对繁忙的事物,会将未来某时间段内的生活或工作安排通过智能终端的闹铃、日程和备忘录等应用程序加以记录,上述应用程序会在设定的时间段内通过响铃或文字提示的方式提醒用户该时间段需要进行何种行为。
发明人意识到目前叫醒闹铃的现有技术中,通常为用户终端在预设的提醒时间内通过响铃的方式叫醒用户。其中,该响铃是机械性的、信息单一的、音量固定的,故在叫醒用户时容易被用户随手关闭闹铃,往往会由于用户的个体因素,导致提醒任务失效,提醒效果不明显的问题。
由于人体在睡眠时,大脑皮质处于一种休眠、抑制状态,各项生理功能维持着低代谢低运转水平,要使其从睡眠状态调整至清醒状态需要有一个明显过程,闹铃声过大会刺激到用户并使用户产生强烈的不适感,闹铃声过小则难以有效地叫醒用户。所以,通过闹铃叫醒用户这个过程越平缓,人体越舒适,也更容易调整为清新状态。
技术问题
本申请实施例提供一种通过验证终端提示任务状态对用户进行提示的用户行为提示方法、装置、计算机设备及存储介质。
技术解决方案
为解决上述技术问题,本申请提供了一种用户行为提示方法、装置、计算机设备及存储介质,包括如下步骤:获取提示状态信息,所述提示状态信息为用户终端执行提示任务时的状态信息;判断所述提示状态信息是否满足预设的结束条件;当所述提示状态信息未满足所述预设的结束条件时,向终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
为解决上述技术问题,本申请还提供了一种用户行为提示装置,所述用户行为提示装置包括:获取模块,用于获取提示状态信息,所述提示状态信息为用户终端执行提示任务时的状态信息;比对模块,用于判断所述提示状态信息是否满足预设的结束条件;执行模块,用于当所述提示状态信息未满足所述预设的结束条件时,向所述用户终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
为解决上述技术问题,本申请还提供一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行一种用户行为提示方法,所述用户行为提示方法包括以下步骤:获取提示状态信息,所述提示状态信息为用户终端执行提示任务时的状态信息;判断所述提示状态信息是否满足预设的结束条件;当所述提示状态信息未满足所述预设的结束条件时,向所述用户终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
为解决上述技术问题,本申请还提供一种存储有计算机可读指令的非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行一种用户行为提示方法,所述用户行为提示方法包括以下步骤:获取提示状态信息,所述提示状态信息为用户终端执行提示任务时的状态信息;判断所述提示状态信息是否满足预设的结束条件;当所述提示状态信息未满足所述预设的结束条件时,向所述用户终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
有益效果
本申请提供了一种用户行为提示方法、装置、计算机设备及存储介质通过服务器端获取用户终端执行提示任务时的状态信息,根据该状态信息控制所述用户终端进行任务提示以及逐渐调整提示音量,解决了闹铃声过于强烈刺激到用户并使用户产生强烈的不适感和闹铃声过于平和难以有效地提醒用户的问题。
附图说明
图1为本申请实施例提供的用户行为提示方法的基本流程示意图;
图2为本申请实施例通过语音信息进行比对验证的方法流程图;
图3为本申请实施例通过移动步数信息进行比对验证的方法流程图;
图4为本申请实施例通过位置信息进行比对验证的方法流程图;
图5为本申请实施例提供的用户行为提示方法的又一基本流程示意图;
图6为本申请实施例中用户行为提示装置基本结构框图;
图7为本申请实施例计算机设备基本结构框图。
本发明的最佳实施方式
在此处键入本发明的最佳实施方式描述段落。
本发明的实施方式
本技术领域技术人员可以理解,这里所使用的“终端”、“终端设备”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal Communications Service,个人通信***),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(Personal Digital Assistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global Positioning System,全球定位***)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”、“终端设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”、“终端设备”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。
本实施例中提及的用户终端即为上述的终端。
具体地,请参阅图1,图1为本实施例提供的用户行为提示方法的基本流程示意图。
如图1所示,所述用户行为提示方法,包括以下步骤:
S100:获取提示状态信息,所述提示状态信息为用户终端执行提示任务时的状态信息。
本实施例中,所述用户终端在执行提示任务时,通过响铃的方式对用户进行提示。但不局限于此,根据应用场景的不同,在一些实施例中,用户终端还能够通过震动或文字提示的方式对用户进行提示。
以响铃提示为例,在用户终端设置提示任务,所述提示任务包括设定的提示事项以及设定的提示时间,根据该提示时间启动所述用户终端内置的计时器开始进行计时,当所述当前时间值与所述设定的提示时间相同时,提醒用户执行所述提示事项的内容。其中,所述提示事项可以为朗读文字信息、行走运动、前往目的地等。可以理解的是,在其他实施例中,用户还可以根据自身的习惯以及爱好不同,在所述用户终端中设置不同的提示事项内容。
在一些实施例中,所述计时器用于记录并储存所述提示时间,随着时间的变化,所述计时器的当前时间值逐渐增加。当所述当前时间值增加到与所述设定的提示时间相同时,所述计时器通过程序控制作用于闹铃,进而提示响铃。当所述闹铃响起后,用户需通过执行提示事项的内容来关闭所述闹铃。具体地,当所述用户终端在所述闹铃响起后,提醒用户执行提示事项的内容,以及启动其内部设置的辅助设备根据该用户所执行的提示事项生成提示状态信息,然后将该提示状态信息发送至与该用户终端相关联的服务器端。其中,所述提示状态信息可以为语音信息,运动信息,位置信息等。
S200:判断所述提示状态信息是否满足预设的结束条件。
服务器端在获取的所述用户终端上传的提示状态信息后,判断提示状态信息是否满足预设的结束条件。
具体地,所述预设的结束条件可以根据具体的应用场景设定。在一些应用场景中,为了关闭提示响铃,用户需要执行相应的提示事项来达到预设的结束条件。所述预设的结束条件可以为:验证用户朗读的文字信息与预设文字模板的文字信息是否相同或相似,或者验证用户自响铃起行走的步数是否达到运动任务阈值,又或者验证用户所在地的实时位置与所述预设的目的地位置是否重合。
S300:当所述提示状态信息未满足所述预设的结束条件时,向所述用户终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
具体地,当比对结果为所述提示状态信息未满足预设的结束条件,例如,文字信息与预设的文字模板之间的汉明距离大于预设的相似度阈值,或者移动步数小于预设的运动任务阈值,又或者实时位置与预设的目的地位置未重合时,所述服务器端向所述用户终端发送第一控制指令,从而控制所述用户终端按预设间隔进行用户行为提示并且渐进地调整所述用户移动终端的提示音量。
在本实施例中,所述用户终端在调用响铃程序进行响铃时,其响铃的方式为渐进式响铃,即响铃音量可以设置有多个音量级,例如由低至高排列为一级音量、二级音量、三级音量等。当所述用户终端开始执行提示任务时所进行提示响铃的提示音量级为一级音量,当第一次比对验证的提示状态信息未满足预设的结束条件时,所述服务器端向所述用户终端发送第一控制指令,且其进行提示响铃的提示音量级增大至二级音量。若第二次比对验证的提示状态信息仍未满足预设的结束条件时,所述服务器端向所述用户终端发送第二控制指令,且其调用闹铃进行提示响铃的提示音量级增大至三级音量。依此类推,直至所述服务器向所述用户终端发送结束提示指令结束用户行为提示任务为止。
在其他实施例中,调整提示音量还可以通过设置音量值的方式实现。具体地,通过在第一控制指令中预设置包含有第一音量值的数据包,在第二控制指令中预设置包含有第二音量值的数据包,其中,所述第一音量值小于所述第二音量值。所述用户终端根据接收控制指令(例如第一控制指令、第二控制指令等)中包含有音量值的数据包调整响铃音量,从而使得用户终端执行提示任务时响铃方式呈渐进式。可以理解的是,若第三次比对验证的提示状态信息还未满足预设的结束条件时,还可以发送第三控制指令,甚至第四控制指令。每一个控制指令中都预设置包含有音量值的数据包,且越后面发送的控制指令,其数据包中的音量值越大。
上述实施例通过比对验证所述用户终端上传的提示状态信息,所述提示状态信息中包括用户终端执行提示任务时的具体情况信息。服务器端通过接收到该提示状态信息后,将该提示状态信息与预设的结束条件进行比对,当该状态信息未满足预设的结束条件时,通过发送第一控制指令控制所述用户终端按预设间隔进行响铃以及逐渐增大响铃提示音量,进而帮助用户从深度睡眠唤醒到浅睡眠,再逐渐调整到清醒状态,解决了闹铃声过于强烈刺激到用户并使用户产生强烈的不适感和闹铃声过于平和难以有效地提醒用户的问题。
在一些实施例中 ,所述提示状态信息包括用于结束用户行为提示任务的语音信息。请参阅图2,图2为本申请实施例通过语音信息进行比对验证的方法流程图。
如图2所示,步骤S300所述判断所述提示状态信息是否满足预设的结束条件的步骤中,具体还包括如下步骤:
S311:获取所述提示状态信息中的语音信息。
在本实施例中,用户在设定行为提示任务时,所述服务器端会向所述用户终端发送预设的文字模板并存储在所述用户终端指定逻辑位置内,所述预设的文字模板包括由汉字组成的文本文件,但不限于此,根据用户的语言掌握情况,能够是用户能够识别的任何语言的文本文件。
当所述用户终端内置计时器中的当前时间值增加到与所述设定的提示时间相同时,通过程序控制作用于闹铃,从而调用闹铃进行提示响铃。与此同时,将所述存储在所述用户终端指定逻辑位置内的文本文件显示于显示容器中,并且调用所述用户终端内置的语音采集器采集用户提示状态信息中的语音信息。然后,通过所述用户终端将采集到的所述语音信息上传至服务器端,从而使得所述服务器端获取所述语音信息。
S312:对所述语音信息进行声纹识别获取表征所述语音信息的文字信息。
通过语音转化技术活模型将用户终端上传的语音信息进行转化,获取语音信息对应的文字信息。例如,由所述服务器端通过科大讯飞或微软语音识别插件等持有的技术对语音信息进行文字转化。
S313:将所述文字信息与预设的文字模板进行比对,以验证所述提示状态信息是否满足所述预设的结束条件。
在本实施例中,将转化得到的文字信息和预设的文字模板进行比对,并根据比对结果验证提示状态信息是否满足预设的结束条件。其中,所述预设的结束条件为:用户语音信息转化后的文字信息与文字模板内的内容相同或相似。
具体地,计算所述文字信息与所述预设的文字模板之间的汉明距离,根据该汉明距离比较所述文字信息与所述预设的文字模板之间的相似度。
其中,将文字信息中的文字根据(不限于)ASCII编码、GB2312编码或BIG5编码等编码资料转化为一个二进制字符串,字符串对应于文字信息中的文字内容。同时将文字模板的文本内容同样采用(不限于)ASCII编码、GB2312编码或BIG5编码等编码资料转化为一个二进制字符串。
根据汉明距离的计算规则,计算两个字符串之间的汉明距离。当两个字符串之间的距离为0时,表明两个字符串完全相同。在一些实施方式中,为避免可能出现的误差现象,对两个字符串之间相似的判断需要一定的容错率,具体方式为,设定汉明距离的相似度阈值,所述相似度阈值的设定根据具体应用场景中对与准确性的要求成反比,准确率要求越高,则所述相似度阈值越小,否则,所述相似度阈值越大。在一些实施方式中,所述相似度阈值的设定是根据文本模板的文本内容设定的,文本内容越长,则所述相似度阈值越大,否则,则所述相似度阈值越小。
在步骤313之后还包括步骤314。
步骤314:当所述文字信息与所述预设的文字模板之间的汉明距离大于预设的相似度阈值时,向所述用户终端发送所述第一控制指令。
在本实施例中,将计算得到的汉明距离与预设的相似度阈值进行比对,当所述文字信息与所述预设的文字模板之间的汉明距离大于预设的相似度阈值时,向所述用户终端发送所述第一控制指令,从而使得所述用户终端按预设间隔进行用户行为提示并将其提示音量增大一个级别。
在一些实施例中 ,所述提示状态信息还可以包括用于结束用户行为提示任务的移动步数信息。请参阅图3,图3为本申请实施例通过移动步数信息进行比对验证的方法流程图。
如图3所示,步骤S300所述判断所述提示状态信息是否满足预设的结束条件的步骤中,具体还包括如下步骤:
S321:获取所述提示状态信息中的移动步数信息。
在本实施例中,当所述用户终端内置计时器中的当前时间值增加到与所述设定的提示时间相同时,通过程序控制作用于闹铃,从而调用闹铃进行提示响铃。与此同时,在关闭用户终端的提示任务时,需要用户在提示任务启动后进行行走运动。具体地,当用户终端在提示响铃响起后,由所述用户终端监听其内置的记步器,从而获取用户的运动状态以及读取该计步器自响铃起在规定时间内(例如3分钟)所记录的移动步数。然后,由所述用户终端将该读取的提示状态信息中的移动步数信息上传至服务器端,从而使得所述服务器端获取用户的移动步数信息。
S322:将所述移动步数与预设的运动任务阈值进行比对,以验证所述提示状态信息是否满足预设的结束条件。
在本实施例中,当所述服务器端接收到用户的移动步数信息后,将该移动步数值与预设的运动任务阈值进行比对,并根据该比对结果验证所述提示状态信息是否满足预设的结束条件。其中,所述预设的结束条件为:所述服务器接收到的移动步数值大于在所述服务器中预设置的运动任务阈值。
在步骤322之后还包括步骤323。
S323:当所述移动步数小于所述预设的运动任务阈值时,向所述用户终端发送所述第一控制指令。
具体地,当所述服务器端接收到该提示状态信息中的移动步数信息后,将其与预设的运动阈值(例如,设定运动阈值为行走50步)进行比对,当用户终端在规定的时间内(例如3分钟)所读取的移动步数小于在所述服务器内预设的运动任务阈值时,所述服务器端认定用户终端未满足预设的结束条件,并向用户终端发送第一控制指令,以使得所述用户终端继续进行响铃提示,并且将其响铃的提示音量增大一个等级。
在一些实施例中 ,所述提示状态信息包括用于结束用户行为提示任务的位置信息。请参阅图4,图4为本申请实施例通过位置信息进行比对验证的方法流程图。
如图5所示,步骤S300所述判断所述提示状态信息是否满足预设的结束条件的步骤中,具体还包括如下步骤:
S331:获取所述提示状态信息中的实时位置信息。
在本实施例中,用户需要通过前往预设目的地的具***置,才能够关闭提示响铃。具体地, 当用户终端在提示响铃响起后,由所述用户终端内置的关键字识别器识别并获取提示任务中预设目的地的关键字信息,根据该关键字信息向所述服务器端请求获取预设目的地的GPS信号信息以及所在地的实时GPS信号信息,从而由所述服务器端通过GPS定位获取提示状态信息中的实时位置信息以及预设目的地位置信息。
S332:将所述实时位置信息与预设的目的地位置信息进行比对,以验证所述提示状态信息是否满足预设的结束条件。
在本实施例中,当所述服务器端通过GPS定位获取所在地的实时位置信息以及预设目的地的位置信息之后,生成点路径规划。当所述用户终端内置计时器中的当前时间值增加到与所述设定的提示时间相同时,通过程序控制作用于闹铃,从而调用闹铃进行提示响铃。当用户终端在提示响铃响起后,定时向服务器端发送所述用户终端所在地的实时位置信息,并与所述预设目的地的位置信息进行比对,并根据该比对结果验证所述提示状态信息是否满足预设的结束条件。 其中,所述预设的结束条件为:所述实时位置与所述预设的任务地点位置相重合。
在步骤S332之后还包括步骤S333。
S333:当所述实时位置与所述预设的目的地位置未重合时,向所述用户终端发送所述第一控制指令。
具体地,在所述服务器端接收到所述用户终端定时发送的所在地的实时位置信息后,将该实时位置信息与预设目的地的位置信息进行比对,当比对结果为所述实时位置与所述预设的目的地位置未重合时,所述服务器端认定用户终端未满足预设的结束条件,并向用户终端发送第一控制指令,以使得所述用户终端继续进行响铃提示,并且将其响铃的提示音量增大一个等级。
上述实施例由用户执行提示事项的内容(例如朗读文字信息、行走运动、前往目的地等)来关闭提示响铃,通过调整闹铃的关闭方法,帮助用户快速活跃大脑皮层和快速活跃肌肉,解决了用户容易随手关闭闹铃而导致提醒任务失效,提醒效果不明显的问题。
请参阅图5,图5为本申请实施例中用户行为提示方法的又一基本流程示意图。在一些实施例中,与步骤S300并列的步骤还包括S400。
S400:当所述提示状态信息满足所述预设的结束条件时,向所述用户终端发送结束提示指令,以结束用户终端的行为提示任务。
当比对结果为所述提示状态信息满足预设的结束条件,例如,所述文字信息与所述预设的文字模板之间的汉明距离小于或等于预设的相似度阈值,或者所述移动步数大于或等于所述预设的运动任务阈值,或者所述实时位置与所述预设的任务地点位置重合时,所述服务器端向所述用户终端发送用于停止提示响铃的结束提示指令,以使所述用户终端结束用户行为提示任务。
为解决上述技术问题本申请实施例还提供一种用户行为提示装置。具体请参阅图6,图6为本申请实施例用户行为提示装置基本结构框图。
如图6所示,一种用户行为提示装置,所述用户行为提示装置包括:获取模块10、比对模块20和执行模块30。其中,所述获取模块10用于获取提示状态信息,所述提示状态信息表征为用户终端执行提示任务时的状态信息。所述比对模块20用于判断所述提示状态信息是否满足预设的结束条件。所述执行模块30用于当所述提示状态信息未满足所述预设的结束条件时,向所述用户终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
所述用户行为提示装置通过检测用户终端上传的提示状态信息,所述提示状态信息中包括用户终端在执行提示任务时的具体状态信息。当服务器端在接收到该提示状态信息后,将该提示状态信息与预设的结束条件进行比对,当该状态信息中所述用户终端执行任务的状态未满足所述预设的结束条件时,由所述服务器端向所述用户终端发送第一控制指令,以使得所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量,从而进一步地提醒用户。这样一来,可以帮助用户从深度睡眠唤醒到浅睡眠,再逐渐调整到清醒状态,解决了闹铃声过于强烈刺激到用户并使用户产生强烈的不适感和闹铃声过于平和难以有效地提醒用户的问题。
在一些实施例中,所述用户行为提示装置还包括:第一获取子模块、第一识别子模块和第一比对子模块。其中,所述第一获取子模块用于获取所述提示状态信息中的语音信息;第一识别子模块用于对所述语音信息进行声纹识别获取表征所述语音信息的文字信息;第一比对子模块用于将所述文字信息与预设的文字模板进行比对,以验证所述提示状态信息是否满足预设的结束条件。
进一步地,在本实施例中,所述用户行为提示装置还包括:第一处理子模块和第一执行子模块,所述第一处理子模块用于计算所述文字信息与所述预设的文字模板之间的汉明距离,所述第一执行子模块用于当所述文字信息与所述预设的文字模板之间的汉明距离大于预设的相似度阈值时,向所述用户终端发送所述第一控制指令,以使得所述用户终端按预设间隔进行用户行为提示并调整其提示音量,从而进一步地提醒用户。
在一些实施例中,所述用户行为提示装置还包括:第二获取子模块和第二比对子模块。所述第二获取子模块用于获取所述提示状态信息中的移动步数信息;所述第二比对子模块用于将所述移动步数与预设的运动任务阈值进行比对,以验证所述提示状态信息是否满足预设的结束条件。
进一步地,在本实施例中,所述用户行为提示装置还包括第二执行子模块,所述第二执行子模块用于当所述移动步数小于所述预设的运动任务阈值时,向所述用户终端发送所述第一控制指令,以使得所述用户终端按预设间隔进行用户行为提示并调整其提示音量,从而进一步地提醒用户。
在一些实施例中,所述用户行为提示装置还包括:第三获取子模块、第三识别子模块和第三比对子模块。所述第三获取子模块用于获取所述提示状态信息中的实时位置信息;所述第三比对子模块用于将所述实时位置信息与预设的目的地位置信息进行比对,以验证所述提示状态信息是否满足预设的结束条件。
进一步地,在本实施例中,所述用户行为提示装置还包括第三执行子模块,所述第三执行子模块用于当所述实时位置与所述预设的任务地点位置未重合时,向所述用户终端发送所述第一控制指令,以使得所述用户终端按预设间隔进行用户行为提示并调整其提示音量,从而进一步地提醒用户。
为解决上述技术问题,本申请实施例还提供了一种计算机设备。具体请参阅图7,图7为本申请实施例计算机设备基本结构框图。
如图7所示,计算机设备的内部结构示意图。如图7所示,该计算机设备包括通过***总线连接的处理器、非易失性存储介质、存储器和网络接口。其中,该计算机设备的非易失性存储介质存储有操作***、数据库和计算机可读指令,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种用户行为提示方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种用户行为提示方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在本实施例中,所述处理器用于执行图7中获取模块10、处理模块20和执行模块30的具体功能,而所述存储器存储有执行上述模块所需的程序代码和各类数据。所述网络接口用于向用户终端或服务器之间的数据传输。本实施例中的存储器存储有用户行为提示装置中执行所有子模块所需的程序代码及数据,服务器能够调用服务器的程序代码及数据执行所有子模块的功能。
所述计算机设备通过检测用户终端上传的提示状态信息,提示状态信息中包括用户终端执行提示任务时的具体情况信息,当服务器端接收到该提示状态信息后,将该提示状态信息与预设的结束条件进行比对,当所述提示状态信息未满足所述预设的结束条件时,向终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整其提示音量。这样一来,可以帮助用户从深度睡眠唤醒到浅睡眠,再逐渐调整到清醒状态,解决了闹铃声过于强烈刺激到用户并使用户产生强烈的不适感和闹铃声过于平和难以有效地提醒用户的问题。
本申请还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述任一实施例所述用户行为提示方法的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。
工业实用性
在此处键入工业实用性描述段落。
序列表自由内容
在此处键入序列表自由内容描述段落。

Claims (20)

  1. 一种用户行为提示方法,包括以下步骤:
    获取提示状态信息,所述提示状态信息为用户终端执行提示任务时的状态信息;
    判断所述提示状态信息是否满足预设的结束条件;
    当所述提示状态信息未满足所述预设的结束条件时,向所述用户终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
  2. 根据权利要求1所述的用户行为提示方法,所述提示状态信息包括用于结束用户行为提示任务的语音信息;
    所述判断所述提示状态信息是否满足预设的结束条件的步骤包括:
    获取所述提示状态信息中的语音信息;
    对所述语音信息进行声纹识别获取表征所述语音信息的文字信息;
    将所述文字信息与预设的文字模板进行比对,以验证所述提示状态信息是否满足所述预设的结束条件。
  3. 根据权利要求2所述的用户行为提示方法,所述将所述文字信息与预设的文字模板进行比对包括:
    计算所述文字信息与所述预设的文字模板之间的汉明距离;
    其中,所述当所述提示状态信息未满足所述预设的结束条件时,向终端发送第一控制指令的步骤中,具体包括:
    当所述文字信息与所述预设的文字模板之间的汉明距离大于预设的相似度阈值时,向所述用户终端发送所述第一控制指令。
  4. 根据权利要求1所述的用户行为提示方法,所述提示状态信息包括用于结束用户行为提示任务的移动步数信息;
    所述判断所述提示状态信息是否满足预设的结束条件的步骤包括:
    获取所述提示状态信息中的移动步数信息;
    将所述移动步数与预设的运动任务阈值进行比对,以验证所述提示状态信息是否满足预设的结束条件。
  5. 根据权利要求4所述的用户行为提示方法,所述将所述移动步数与预设的运动任务阈值进行比对的步骤之后,包括:
    当所述移动步数小于所述预设的运动任务阈值时,向所述用户终端发送所述第一控制指令。
  6. 根据权利要求1所述的用户行为提示方法,所述提示状态信息包括用于结束用户行为提示任务的实时位置信息;
    所述判断所述提示状态信息是否满足预设的结束条件的步骤包括:
    获取所述提示状态信息中的实时位置信息;
    将所述实时位置信息与预设的目的地位置信息进行比对,以验证所述提示状态信息是否满足预设的结束条件。
  7. 根据权利要求6所述的用户行为提示方法,所述将所述实时位置信息与预设的目的地位置信息进行比对的步骤之后,还包括:
    当所述实时位置与预设的任务地点位置未重合时,向所述用户终端发送所述第一控制指令。
  8. 一种用户行为提示装置,包括
    获取模块:用于获取提示状态信息,所述提示状态信息为用户终端执行提示任务时的状态信息;
    比对模块:用于判断所述提示状态信息是否满足预设的结束条件;
    执行模块:用于当所述提示状态信息未满足所述预设的结束条件时,向所述用户终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
  9. 一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行一种用户行为提示方法,所述用户行为提示方法包括以下步骤:
    获取提示状态信息,所述提示状态信息为用户终端执行提示任务时的状态信息;
    判断所述提示状态信息是否满足预设的结束条件;
    当所述提示状态信息未满足所述预设的结束条件时,向所述用户终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
  10. 根据权利要求9所述的计算机设备,所述提示状态信息包括用于结束用户行为提示任务的语音信息;
    所述判断所述提示状态信息是否满足预设的结束条件的步骤包括:
    获取所述提示状态信息中的语音信息;
    对所述语音信息进行声纹识别获取表征所述语音信息的文字信息;
    将所述文字信息与预设的文字模板进行比对,以验证所述提示状态信息是否满足所述预设的结束条件。
  11. 根据权利要求10所述的计算机设备,所述将所述文字信息与预设的文字模板进行比对包括:
    计算所述文字信息与所述预设的文字模板之间的汉明距离;
    其中,所述当所述提示状态信息未满足所述预设的结束条件时,向终端发送第一控制指令的步骤中,具体包括:
    当所述文字信息与所述预设的文字模板之间的汉明距离大于预设的相似度阈值时,向所述用户终端发送所述第一控制指令。
  12. 根据权利要求9所述的计算机设备,所述提示状态信息包括用于结束用户行为提示任务的移动步数信息;
    所述判断所述提示状态信息是否满足预设的结束条件的步骤包括:
    获取所述提示状态信息中的移动步数信息;
    将所述移动步数与预设的运动任务阈值进行比对,以验证所述提示状态信息是否满足预设的结束条件。
  13. 根据权利要求12所述的计算机设备,所述将所述移动步数与预设的运动任务阈值进行比对的步骤之后,包括:
    当所述移动步数小于所述预设的运动任务阈值时,向所述用户终端发送所述第一控制指令。
  14. 一种存储有计算机可读指令的非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行一种用户行为提示方法,所述用户行为提示方法包括以下步骤:
    获取提示状态信息,所述提示状态信息为用户终端执行提示任务时的状态信息;
    判断所述提示状态信息是否满足预设的结束条件;
    当所述提示状态信息未满足所述预设的结束条件时,向所述用户终端发送第一控制指令,以使所述用户终端按预设间隔进行用户行为提示并调整所述用户终端的提示音量。
  15. 根据权利要求14所述的非易失性存储介质,所述提示状态信息包括用于结束用户行为提示任务的语音信息;
    所述判断所述提示状态信息是否满足预设的结束条件的步骤包括:
    获取所述提示状态信息中的语音信息;
    对所述语音信息进行声纹识别获取表征所述语音信息的文字信息;
    将所述文字信息与预设的文字模板进行比对,以验证所述提示状态信息是否满足所述预设的结束条件。
  16. 根据权利要求15所述的非易失性存储介质,所述将所述文字信息与预设的文字模板进行比对包括:
    计算所述文字信息与所述预设的文字模板之间的汉明距离;
    其中,所述当所述提示状态信息未满足所述预设的结束条件时,向终端发送第一控制指令的步骤中,具体包括:
    当所述文字信息与所述预设的文字模板之间的汉明距离大于预设的相似度阈值时,向所述用户终端发送所述第一控制指令。
  17. 根据权利要求14所述的非易失性存储介质,所述提示状态信息包括用于结束用户行为提示任务的移动步数信息;
    所述判断所述提示状态信息是否满足预设的结束条件的步骤包括:
    获取所述提示状态信息中的移动步数信息;
    将所述移动步数与预设的运动任务阈值进行比对,以验证所述提示状态信息是否满足预设的结束条件。
  18. 根据权利要求17所述的非易失性存储介质,所述将所述移动步数与预设的运动任务阈值进行比对的步骤之后,包括:
    当所述移动步数小于所述预设的运动任务阈值时,向所述用户终端发送所述第一控制指令。
  19. 根据权利要求14所述的非易失性存储介质,所述提示状态信息包括用于结束用户行为提示任务的实时位置信息;
    所述判断所述提示状态信息是否满足预设的结束条件的步骤包括:
    获取所述提示状态信息中的实时位置信息;
    将所述实时位置信息与预设的目的地位置信息进行比对,以验证所述提示状态信息是否满足预设的结束条件。
  20. 根据权利要求19所述的非易失性存储介质,所述将所述实时位置信息与预设的目的地位置信息进行比对的步骤之后,还包括:
    当所述实时位置与预设的任务地点位置未重合时,向所述用户终端发送所述第一控制指令。
PCT/CN2018/102862 2018-04-27 2018-08-29 用户行为提示方法、装置、计算机设备及存储介质 WO2019205399A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810393795.5A CN108804173A (zh) 2018-04-27 2018-04-27 用户行为提示方法、装置、计算机设备及存储介质
CN201810393795.5 2018-04-27

Publications (1)

Publication Number Publication Date
WO2019205399A1 true WO2019205399A1 (zh) 2019-10-31

Family

ID=64093982

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/102862 WO2019205399A1 (zh) 2018-04-27 2018-08-29 用户行为提示方法、装置、计算机设备及存储介质

Country Status (2)

Country Link
CN (1) CN108804173A (zh)
WO (1) WO2019205399A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303018A (zh) * 2016-08-11 2017-01-04 深圳市金立通信设备有限公司 一种闹钟控制方法与终端
CN106845928A (zh) * 2016-12-29 2017-06-13 北京小米移动软件有限公司 叫醒方法及装置
CN107193596A (zh) * 2017-05-18 2017-09-22 广东小天才科技有限公司 一种应用于移动终端的闹钟关闭方法及移动终端
CN107205087A (zh) * 2017-05-24 2017-09-26 上海与德科技有限公司 基于闹钟的安全监护方法及装置
CN107295183A (zh) * 2017-06-30 2017-10-24 广东欧珀移动通信有限公司 一种闹钟提醒方法、装置、存储介质和终端
CN107632813A (zh) * 2017-09-21 2018-01-26 珠海格力电器股份有限公司 一种关闭闹钟功能的方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9195220B2 (en) * 2013-03-15 2015-11-24 Lutron Electronics Co., Inc. Clock device with automatic simulation of sunrise or sunset
CN104702798A (zh) * 2015-04-02 2015-06-10 吴爱好 一种基于移动终端的闹铃铃声调节方法及***
CN106850981A (zh) * 2017-01-15 2017-06-13 姚广宇 一种闹铃关闭方法及装置
CN106936992A (zh) * 2017-03-06 2017-07-07 广东欧珀移动通信有限公司 闹铃控制方法、装置、智能穿戴设备、智能音频播放设备及***

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303018A (zh) * 2016-08-11 2017-01-04 深圳市金立通信设备有限公司 一种闹钟控制方法与终端
CN106845928A (zh) * 2016-12-29 2017-06-13 北京小米移动软件有限公司 叫醒方法及装置
CN107193596A (zh) * 2017-05-18 2017-09-22 广东小天才科技有限公司 一种应用于移动终端的闹钟关闭方法及移动终端
CN107205087A (zh) * 2017-05-24 2017-09-26 上海与德科技有限公司 基于闹钟的安全监护方法及装置
CN107295183A (zh) * 2017-06-30 2017-10-24 广东欧珀移动通信有限公司 一种闹钟提醒方法、装置、存储介质和终端
CN107632813A (zh) * 2017-09-21 2018-01-26 珠海格力电器股份有限公司 一种关闭闹钟功能的方法及装置

Also Published As

Publication number Publication date
CN108804173A (zh) 2018-11-13

Similar Documents

Publication Publication Date Title
CN107340991B (zh) 语音角色的切换方法、装置、设备以及存储介质
US11289100B2 (en) Selective enrollment with an automated assistant
CN107743289B (zh) 一种智能家居场景中的智能音箱控制方法
KR102523982B1 (ko) 자동화된 어시스턴트를 호출하기 위한 다이내믹 및/또는 컨텍스트-특정 핫 워드
US9946862B2 (en) Electronic device generating notification based on context data in response to speech phrase from user
WO2018188587A1 (zh) 一种语音响应方法、装置及智能设备
US9786282B2 (en) Mobile thought catcher system
KR20220024557A (ko) 자동화된 어시스턴트에 의한 응답 액션을 트리거하기 위한 핫 명령의 검출 및/또는 등록
KR102599607B1 (ko) 자동화된 어시스턴트를 호출하기 위한 다이내믹 및/또는 컨텍스트 특정 핫워드
US9786281B1 (en) Household agent learning
KR102585230B1 (ko) 통화 요청에 대한 알림 메시지를 제공하는 디바이스 및 방법
WO2014008843A1 (zh) 一种声纹特征模型更新方法及终端
EP4010833B1 (en) Machine learning based privacy processing
WO2019205398A1 (zh) 用户行为激励方法、装置、计算机设备及存储介质
CN109509473A (zh) 语音控制方法及终端设备
CN109345793A (zh) 一种事项提醒方法、***、装置及存储介质
CN109887505A (zh) 用于唤醒设备的方法和装置
TWI639153B (zh) 電子裝置及其透過語音辨識喚醒的方法
CN111258529B (zh) 电子设备及其控制方法
US20200410988A1 (en) Information processing device, information processing system, and information processing method, and program
WO2021190225A1 (zh) 一种语音交互方法及电子设备
WO2016206646A1 (zh) 使机器装置产生动作的方法及***
KR20060104096A (ko) 이동형 모닝콜 서비스 시스템 및 그 방법
JP6373709B2 (ja) 対話装置
US20190138095A1 (en) Descriptive text-based input based on non-audible sensor data

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: 18915916

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18915916

Country of ref document: EP

Kind code of ref document: A1