WO2015184839A1 - Information alerting method and device - Google Patents
Information alerting method and device Download PDFInfo
- Publication number
- WO2015184839A1 WO2015184839A1 PCT/CN2015/071987 CN2015071987W WO2015184839A1 WO 2015184839 A1 WO2015184839 A1 WO 2015184839A1 CN 2015071987 W CN2015071987 W CN 2015071987W WO 2015184839 A1 WO2015184839 A1 WO 2015184839A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information data
- saved
- voice
- module
- data
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- the present invention relates to a mobile terminal technology, and more particularly to a method and apparatus for implementing information reminding.
- information reminding software such as weather air information forecasting reminder software, periodically or irregularly extracts weather air information data of the day and the next few days through the network to the website or server, and updates to the interface of the weather air information forecasting reminding software.
- weather air information forecasting reminder software periodically or irregularly extracts weather air information data of the day and the next few days through the network to the website or server, and updates to the interface of the weather air information forecasting reminding software.
- the user can also initiate a network connection and update the current weather air information data of the weather air information forecasting reminder software.
- the relevant weather air information forecast reminder software simply displays the obtained weather air information data to the user, and the user needs to open the weather air information forecast reminder software to know the weather air information, which is complicated and has low user experience.
- an embodiment of the present invention provides a method and apparatus for implementing information reminding, which can simply implement information reminding, thereby improving user experience.
- an embodiment of the present invention provides a method for implementing information reminding, including:
- the voice prompt is performed based on the saved information data.
- the obtaining the information data and saving includes:
- the information data is periodically acquired, and when it is determined that the obtained information data is inconsistent with the saved information data, or the obtained information data is not saved, the obtained information data is saved.
- the preset condition is one or more of the following:
- the obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or the boot process.
- the performing the voice prompt according to the saved information data includes:
- the playback content is generated based on the newly saved information data, and the generated playback content is converted into a voice and played.
- the preset condition is that the preset time is reached, or the mobile terminal is in a shutdown state and the alarm is in a response state, or a boot process
- the voice prompting according to the saved information data includes:
- the play content is generated according to the saved information data, and the generated play content is converted into a voice and played.
- the information data is weather air information data, and/or schedule information data.
- the embodiment of the invention further provides an apparatus for implementing information reminding, which at least includes:
- a storage module configured to save the obtained information data
- the prompt module is configured to perform voice prompting according to the saved information data when the preset condition is met.
- the obtaining module is configured to:
- the storage module is set to:
- the prompt module is set to:
- the voice is performed according to the saved information data. prompt.
- the prompt module is set to:
- the prompt module is set to:
- the played content is generated according to the saved information data, and the generated play content is converted into a voice and played.
- the embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
- the information reminding application is not required to be opened, and the information reminding is simply implemented according to the saved information data, thereby improving the user experience.
- the flexible setting of the preset condition for example, when the information data changes, or reaches the preset time, or the mobile terminal is in the shutdown state and the alarm is in the response state, or one or more of the booting process, the saved information data is executed.
- the voice prompt is used to realize the timely reminding of the information data when the information changes or when the mobile terminal is in the non-working state.
- FIG. 1 is a flowchart of an embodiment of a method for implementing information reminding according to the present invention
- FIG. 2 is a schematic structural diagram of an embodiment of an apparatus for implementing information reminding according to the present invention
- FIG. 3 is a schematic structural diagram of an application example of an implementation information reminding apparatus according to the present invention.
- an embodiment of the present invention provides a method for implementing information reminding, including:
- Step 100 Acquire information data and save it.
- information data can be periodically obtained, and when the obtained information data is determined and secured When the stored information data is inconsistent or the obtained information data is not saved, the obtained information data is saved; when it is judged that the obtained information data is identical to the saved information data, the obtained information data is not saved.
- the information data may be information data that is of interest to the user in daily life, such as weather air information data, or schedule information data.
- the weather air information data may include: a maximum temperature, a minimum temperature, an air index, a clothing status information, and the like.
- the WIFI hotspot or the network may be connected to the remote data server, and the relevant interface provided by the data server is called to return the required weather air information data in a unified format.
- the China National Weather Service weather forecast interface can be called to return weather air information data in a lightweight data exchange language (JSON, Javascript Object Notation) format.
- the schedule information data may be schedule information data of the user recorded in the calendar application on the mobile terminal.
- the schedule information data is entered by the user into the calendar application.
- the information data can be saved in the form of a table.
- the information data of the JSON format obtained from the weather forecast interface of the China National Weather Service can be obtained, and the date of the forecast, the weather index, the air index, the dressing status information, and all the information data obtained will be obtained.
- the form of the entry is saved to the table.
- Step 101 When the preset condition is met, the voice prompt is performed according to the saved information data.
- the preset condition can be set in advance or set by the user.
- the preset condition may be one or more of the following:
- the obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or the boot process.
- the obtained information data does not match the saved information data, which means that the newly saved information data does not match the last saved information data.
- the preset condition when the preset condition is that the obtained information data is inconsistent with the saved information data, it may be periodically (for example, 1 hour) whether the obtained information data is inconsistent with the saved information data.
- the played content may be generated according to the saved changed information data, and the generated play content is converted into a voice and played.
- the play content may be generated according to the saved information data, and the generated play content is converted into voice and played.
- the saved schedule information data is played after the preset time is reached.
- the broadcast content is converted into audio PCM (Pulse-code Modulation) data stream, and the PCM data stream is played through the audio system, and the sound of the broadcast content can be broadcasted from the speaker of the mobile terminal (SPEAKER).
- PCM Pulse-code Modulation
- the saved information data is executed.
- the voice prompt is used to realize the timely reminding of the information data when the information changes or when the mobile terminal is in the non-working state.
- an embodiment of the present invention further provides an apparatus for implementing information reminding, which at least includes:
- a storage module configured to save the obtained information data
- the prompt module is configured to perform voice prompting according to the saved information data when the preset condition is met.
- the obtaining module is configured to:
- the storage module is set to:
- the prompting module is set to:
- the voice is performed according to the saved information data. prompt.
- the prompting module is set to:
- the voice is performed according to the saved information data. prompt.
- the prompting module is set to:
- the device for implementing information reminding of the application example of the present invention is divided into a data input module, a data parsing module, a data storage module, a data analysis control module, and a voice broadcast module.
- the data input module is responsible for obtaining information data.
- the weather air information data connect to the remote data server through the WIFI hotspot or network, call the relevant interface provided by the server, and return the required weather air information data in a unified format.
- the weather forecast interface of the China National Meteorological Administration is called to return the weather air and dressing information data in JSON format.
- the calendar application on the mobile phone is used as an input module of the information, and the calendar application can record the user's schedule information data on the mobile phone.
- reminder information data can also be obtained through the data input module.
- the data parsing module is responsible for parsing the information data acquired by the input module into the required information data organized in a specific format.
- weather air information data such as parsing JSON format
- get date, weather index, air index, dressing status information and present it in the form of a table.
- the calendar application on the mobile phone is used as a parsing module of the information data, and the calendar application can parse the recorded schedule information data.
- the data analysis module can also interpret the input module to obtain data information.
- the data storage module is responsible for storing the parsed information data on the memory of the mobile phone.
- a defined field, a date field, a weather index field, an air index field, and a dressing status field are used to record information in the form of a database.
- One day's information is a record of the database, which records the information for the day and the next week.
- the database is stored in the data partition of the phone as a database file.
- a schedule field is added to the database to store the schedule information.
- the schedule information set in the previous time is taken from the calendar application, and the information is stored in the record of the database according to the date.
- the new information is retrieved from the calendar application for storage.
- Other reminders can store the parsed information data through the data storage module and store it on the mobile phone in the form of a database.
- the data analysis control module is responsible for comparing and analyzing the status and changes of the information data, and controlling the flow according to the status and change, so as to trigger the voice broadcast module to complete the voice broadcast, and achieve the purpose of reminding.
- the data input module acquires new information data from the remote server at regular intervals, and compares the information data in the database recorded by the data storage module. According to the date, if it is already stored information data, the new information data is compared with the information data in the database, and the information data is changed, and the voice broadcast module is triggered to broadcast the reminder information. If there is no stored information data, the new information data is stored by the data parsing module and the data storage module.
- the control module starts a timer, and when the timer time arrives, triggers the voice broadcast module to broadcast the schedule information.
- the stored information is retrieved from the stored database, and the voice broadcast module is triggered to broadcast the information.
- the voice broadcast module is responsible for broadcasting the information through voice.
- the data control module organizes the content to be broadcast in the form of text and puts it in the memory or in the text file. This is the input source for the voice announcement module, through which the input source data is converted into an audio PCM data stream. With PCM data stream, pass After the PCM data stream is played by the audio system of the mobile phone, the sound of the text is broadcasted from the SPEAKER of the mobile phone.
- the data analysis control module controls the data input module to acquire the information data at regular intervals (which may be 1 hour, etc.), and interprets the information data as useful information data through the data parsing module; and stores the information data in the form of a database through the data storage module. On the phone.
- the data analysis control module also compares the newly obtained information data already stored in the mobile phone to achieve the trigger condition of the voice playing, and generates the text content that needs to be broadcasted, so that the voice broadcast module broadcasts the text.
- all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
- the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
- each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
- the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- the information reminding application is not required to be opened, and the information reminding is simply implemented according to the saved information data, thereby improving the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
An information alerting method and device, the method comprising: acquiring and storing information data; when a preset condition is met, providing a voice prompt according to the stored information data. The method realizes information alerting merely on the basis of the stored information data without needing to start an information alerting application, thus improving user experience.
Description
本发明涉及移动终端技术,尤指一种实现信息提醒的方法和装置。The present invention relates to a mobile terminal technology, and more particularly to a method and apparatus for implementing information reminding.
目前,信息提醒软件,如天气空气信息预报提醒软件,定期或不定期通过网络到网站或服务器上提取到当天和未来几天的天气空气信息数据,更新到天气空气信息预报提醒软件的界面上,供用户参考使用。用户也可以主动发起一次网络连接,更新天气空气信息预报提醒软件当前的天气空气信息数据。At present, information reminding software, such as weather air information forecasting reminder software, periodically or irregularly extracts weather air information data of the day and the next few days through the network to the website or server, and updates to the interface of the weather air information forecasting reminding software. For user reference. The user can also initiate a network connection and update the current weather air information data of the weather air information forecasting reminder software.
相关的天气空气信息预报提醒软件只是简单的将获得的天气空气信息数据显示给用户,且用户需要打开天气空气信息预报提醒软件才能知晓天气空气信息,实现复杂,用户体验度较低。The relevant weather air information forecast reminder software simply displays the obtained weather air information data to the user, and the user needs to open the weather air information forecast reminder software to know the weather air information, which is complicated and has low user experience.
发明内容Summary of the invention
为了解决上述问题,本发明实施例提出了一种实现信息提醒的方法和装置,能够简单实现信息的提醒,从而提高用户体验。In order to solve the above problem, an embodiment of the present invention provides a method and apparatus for implementing information reminding, which can simply implement information reminding, thereby improving user experience.
为了达到上述目的,本发明实施例提出了一种实现信息提醒的方法,包括:In order to achieve the above object, an embodiment of the present invention provides a method for implementing information reminding, including:
获取信息数据并保存;Obtain information data and save it;
在满足预设条件时,根据保存的信息数据进行语音提示。When the preset condition is met, the voice prompt is performed based on the saved information data.
可选地,所述获取信息数据并保存包括:Optionally, the obtaining the information data and saving includes:
周期性获取所述信息数据,当判断出获得的信息数据与已保存的信息数据不一致,或没有保存获得的信息数据时,则保存获得的信息数据。The information data is periodically acquired, and when it is determined that the obtained information data is inconsistent with the saved information data, or the obtained information data is not saved, the obtained information data is saved.
可选地,所述预设条件为以下中的一个或多个:Optionally, the preset condition is one or more of the following:
获得的信息数据与已保存的信息数据不一致,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程。
The obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or the boot process.
可选地,当所述预设条件为获得的信息数据与已保存的信息数据不一致时,所述根据保存的信息数据进行语音提示包括:Optionally, when the preset condition is that the obtained information data is inconsistent with the saved information data, the performing the voice prompt according to the saved information data includes:
根据新保存的信息数据生成播放内容,将生成的播放内容转换成语音并播放。The playback content is generated based on the newly saved information data, and the generated playback content is converted into a voice and played.
可选地,当所述预设条件为到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程时;Optionally, when the preset condition is that the preset time is reached, or the mobile terminal is in a shutdown state and the alarm is in a response state, or a boot process;
所述根据保存的信息数据进行语音提示包括:The voice prompting according to the saved information data includes:
根据所述保存的信息数据生成播放内容,将生成的播放内容转换成语音并播放。The play content is generated according to the saved information data, and the generated play content is converted into a voice and played.
可选地,所述信息数据为天气空气信息数据、和/或日程安排信息数据。Optionally, the information data is weather air information data, and/or schedule information data.
本发明实施例还提出了一种实现信息提醒的装置,至少包括:The embodiment of the invention further provides an apparatus for implementing information reminding, which at least includes:
获取模块,设置为获取信息数据;Obtain a module, set to obtain information data;
存储模块,设置为保存获得的信息数据;a storage module configured to save the obtained information data;
提示模块,设置为在满足预设条件时,根据保存的信息数据进行语音提示。The prompt module is configured to perform voice prompting according to the saved information data when the preset condition is met.
可选地,所述获取模块是设置为:Optionally, the obtaining module is configured to:
周期性获取所述信息数据;Periodically obtaining the information data;
所述存储模块是设置为:The storage module is set to:
判断出获得的信息数据与已保存的信息数据不一致,或没有保存获得的信息数据,保存获得的信息数据。It is judged that the obtained information data is inconsistent with the saved information data, or the obtained information data is not saved, and the obtained information data is saved.
可选地,所述提示模块是设置为:Optionally, the prompt module is set to:
在满足获得的信息数据与已保存的信息数据不一致,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程中的一个或多个时,根据保存的信息数据进行语音提示。When the obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or one or more of the power-on processes, the voice is performed according to the saved information data. prompt.
可选地,所述提示模块是设置为:Optionally, the prompt module is set to:
在满足获得的信息数据与已保存的信息数据不一致,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程中的一个或多个
时,根据保存的信息数据进行语音提示。Inconsistent with the obtained information data and the saved information data, or reaching a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or one or more during the boot process
When prompted, voice prompts are made based on the saved information data.
可选地,所述提示模块是设置为:Optionally, the prompt module is set to:
在满足预设条件时,根据所述保存的信息数据生成播放内容,将生成的播放内容转换成语音并播放。When the preset condition is satisfied, the played content is generated according to the saved information data, and the generated play content is converted into a voice and played.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现上面所述的方法。The embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
通过本发明实施例的方案,无需打开信息提醒应用,仅需根据保存的信息数据简单实现了信息提醒,提高了用户体验。通过预设条件的灵活设置,比如在信息数据发生变化,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程中的一个或多个时,执行根据保存的信息数据进行语音提示,实现了在信息发生变化时,或者移动终端处于不工作状态时,信息数据的及时提醒。With the solution of the embodiment of the present invention, the information reminding application is not required to be opened, and the information reminding is simply implemented according to the saved information data, thereby improving the user experience. According to the flexible setting of the preset condition, for example, when the information data changes, or reaches the preset time, or the mobile terminal is in the shutdown state and the alarm is in the response state, or one or more of the booting process, the saved information data is executed. The voice prompt is used to realize the timely reminding of the information data when the information changes or when the mobile terminal is in the non-working state.
附图概述BRIEF abstract
下面对本发明实施例中的附图进行说明,实施例中的附图是用于对本发明的进一步理解,与说明书一起用于解释本发明,并不构成对本发明保护范围的限制。The drawings in the following description of the embodiments of the present invention are intended to illustrate the invention, and are not intended to limit the scope of the invention.
图1为本发明实现信息提醒的方法实施例的流程图;1 is a flowchart of an embodiment of a method for implementing information reminding according to the present invention;
图2为本发明实现信息提醒的装置实施例的结构组成示意图;2 is a schematic structural diagram of an embodiment of an apparatus for implementing information reminding according to the present invention;
图3为本发明的实现信息提醒装置的应用实例的结构组成示意图。FIG. 3 is a schematic structural diagram of an application example of an implementation information reminding apparatus according to the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
为了便于本领域技术人员的理解,下面结合附图对本发明作进一步的描述,并不能用来限制本发明的保护范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings, and is not intended to limit the scope of the present invention. It should be noted that the embodiments in the present application and the various manners in the embodiments may be combined with each other without conflict.
参见图1,本发明实施例提出了一种实现信息提醒的方法,包括:Referring to FIG. 1, an embodiment of the present invention provides a method for implementing information reminding, including:
步骤100、获取信息数据并保存。Step 100: Acquire information data and save it.
本步骤中,可以周期性获取信息数据,当判断出获得的信息数据与已保
存的信息数据不一致,或没有保存获得的信息数据时,则保存获得的信息数据;当判断出获得的信息数据与保存的信息数据相同时,则不保存获得的信息数据。In this step, information data can be periodically obtained, and when the obtained information data is determined and secured
When the stored information data is inconsistent or the obtained information data is not saved, the obtained information data is saved; when it is judged that the obtained information data is identical to the saved information data, the obtained information data is not saved.
本步骤中,信息数据可以是用户日常生活中关注的信息数据,例如天气空气信息数据、或日程安排信息数据等。In this step, the information data may be information data that is of interest to the user in daily life, such as weather air information data, or schedule information data.
其中,天气空气信息数据可以包括:最高温度、最低温度、空气指数、穿衣状况信息等。The weather air information data may include: a maximum temperature, a minimum temperature, an air index, a clothing status information, and the like.
其中,对于天气空气信息数据,可以通过WIFI热点或网络连接到远端的数据服务器上,调用数据服务器提供的相关接口,以统一格式返回需要的天气空气信息数据。例如,可以调用中国国家气象局天气预报接口,以轻量级的数据交换语言(JSON,Javascript Object Notation)的格式返回天气空气信息数据。For the weather air information data, the WIFI hotspot or the network may be connected to the remote data server, and the relevant interface provided by the data server is called to return the required weather air information data in a unified format. For example, the China National Weather Service weather forecast interface can be called to return weather air information data in a lightweight data exchange language (JSON, Javascript Object Notation) format.
对于日程安排信息数据,可以是移动终端上的日历应用中记录的用户的日程安排信息数据。一般情况下,日程安排信息数据由用户输入到日历应用中。The schedule information data may be schedule information data of the user recorded in the calendar application on the mobile terminal. In general, the schedule information data is entered by the user into the calendar application.
本步骤中,可以将信息数据以表格的形式保存。例如,对于天气空气信息数据,可以通过解析从中国国家气象局天气预报接口获得的JSON格式的信息数据,得到预报的日期,天气指数,空气指数,穿衣状况信息,将得到的所有信息数据以表项的形式保存到表格中。In this step, the information data can be saved in the form of a table. For example, for weather air information data, the information data of the JSON format obtained from the weather forecast interface of the China National Weather Service can be obtained, and the date of the forecast, the weather index, the air index, the dressing status information, and all the information data obtained will be obtained. The form of the entry is saved to the table.
步骤101、在满足预设条件时,根据保存的信息数据进行语音提示。Step 101: When the preset condition is met, the voice prompt is performed according to the saved information data.
本步骤中,预设条件可以预先设置,也可以由用户设置。In this step, the preset condition can be set in advance or set by the user.
本步骤中,预设条件可以是以下中的一个或多个:In this step, the preset condition may be one or more of the following:
获得的信息数据与已保存的信息数据不一致,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程。The obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or the boot process.
其中,获得的信息数据与已保存的信息数据不一致是指最新保存的信息数据与上一次保存的信息数据不一致。Wherein, the obtained information data does not match the saved information data, which means that the newly saved information data does not match the last saved information data.
其中,当预设条件为获得的信息数据与已保存的信息数据不一致时,可以周期性(如1小时)判断获得的信息数据与已保存的信息数据是否不一致。
Wherein, when the preset condition is that the obtained information data is inconsistent with the saved information data, it may be periodically (for example, 1 hour) whether the obtained information data is inconsistent with the saved information data.
本步骤中,当预设条件为获得的信息数据与已保存的信息数据不一致时,可以根据保存的变化后的信息数据生成播放内容,将生成的播放内容转换成语音并播放。In this step, when the preset condition is that the obtained information data is inconsistent with the saved information data, the played content may be generated according to the saved changed information data, and the generated play content is converted into a voice and played.
当预设条件为到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程时,可以根据保存的信息数据生成播放内容,将生成的播放内容转换成语音并播放。例如,在到达预设时间后就播放保存的日程安排信息数据。When the preset condition is that the preset time is reached, or the mobile terminal is in the shutdown state and the alarm is in the response state, or the boot process, the play content may be generated according to the saved information data, and the generated play content is converted into voice and played. For example, the saved schedule information data is played after the preset time is reached.
其中,将播报内容转换成音频的脉冲编码调制(PCM,Pulse-code modulation)数据流,通过音频系统播放PCM数据流,就可以从移动终端的扬声器(SPEAKER中播报出该播报内容的声音。Wherein, the broadcast content is converted into audio PCM (Pulse-code Modulation) data stream, and the PCM data stream is played through the audio system, and the sound of the broadcast content can be broadcasted from the speaker of the mobile terminal (SPEAKER).
通过本发明的技术方案,无需打开信息提醒应用,仅需根据保存的信息数据简单实现了信息提醒,提高了用户体验。With the technical solution of the present invention, it is not necessary to open the information reminding application, and the information reminding is simply realized according to the saved information data, thereby improving the user experience.
通过预设条件的灵活设置,比如在信息数据发生变化,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程中的一个或多个时,执行根据保存的信息数据进行语音提示,实现了在信息发生变化时,或者移动终端处于不工作状态时,信息数据的及时提醒。According to the flexible setting of the preset condition, for example, when the information data changes, or reaches the preset time, or the mobile terminal is in the shutdown state and the alarm is in the response state, or one or more of the booting process, the saved information data is executed. The voice prompt is used to realize the timely reminding of the information data when the information changes or when the mobile terminal is in the non-working state.
参见图2,本发明实施例还提出了一种实现信息提醒的装置,至少包括:Referring to FIG. 2, an embodiment of the present invention further provides an apparatus for implementing information reminding, which at least includes:
获取模块,设置为获取信息数据;Obtain a module, set to obtain information data;
存储模块,设置为保存获得的信息数据;a storage module configured to save the obtained information data;
提示模块,设置为在满足预设条件时,根据保存的信息数据进行语音提示。The prompt module is configured to perform voice prompting according to the saved information data when the preset condition is met.
本发明实施例的装置中,获取模块是设置为:In the apparatus of the embodiment of the present invention, the obtaining module is configured to:
周期性获取所述信息数据;Periodically obtaining the information data;
存储模块是设置为:The storage module is set to:
判断出获得的信息数据与已保存的信息数据不一致,或没有保存获得的信息数据,保存获得的信息数据。It is judged that the obtained information data is inconsistent with the saved information data, or the obtained information data is not saved, and the obtained information data is saved.
本发明实施例的装置中,提示模块是设置为:
In the apparatus of the embodiment of the present invention, the prompting module is set to:
在满足获得的信息数据与已保存的信息数据不一致,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程中的一个或多个时,根据保存的信息数据进行语音提示。When the obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or one or more of the power-on processes, the voice is performed according to the saved information data. prompt.
本发明实施例的装置中,提示模块是设置为:In the apparatus of the embodiment of the present invention, the prompting module is set to:
在满足获得的信息数据与已保存的信息数据不一致,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程中的一个或多个时,根据保存的信息数据进行语音提示。When the obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or one or more of the power-on processes, the voice is performed according to the saved information data. prompt.
本发明实施例的装置中,提示模块是设置为:In the apparatus of the embodiment of the present invention, the prompting module is set to:
用于在满足预设条件时,根据保存的信息数据生成播放内容,将生成的播放内容转换成语音并播放。For generating a play content according to the saved information data when the preset condition is satisfied, converting the generated play content into a voice and playing.
下面通过具体应用实例详细说明本发明实施例的方法和装置。The method and apparatus of the embodiments of the present invention are described in detail below through specific application examples.
参见图3,本发明应用实例的实现信息提醒的装置分为数据输入模块,数据解析模块,数据存储模块,数据分析控制模块,语音播报模块。Referring to FIG. 3, the device for implementing information reminding of the application example of the present invention is divided into a data input module, a data parsing module, a data storage module, a data analysis control module, and a voice broadcast module.
其中,数据输入模块负责获取信息数据。Among them, the data input module is responsible for obtaining information data.
对于天气空气信息数据,通过WIFI热点或网络,连接到远端的数据服务器上,调用服务器提供的相关接口,以统一格式返回需要的天气空气信息数据。比如调用中国国家气象局天气预报接口,以JSON的格式返回天气空气和穿衣信息数据。For the weather air information data, connect to the remote data server through the WIFI hotspot or network, call the relevant interface provided by the server, and return the required weather air information data in a unified format. For example, the weather forecast interface of the China National Meteorological Administration is called to return the weather air and dressing information data in JSON format.
对于日程安排信息数据,通过手机上的日历应用作为该信息的输入模块,日历应用能在手机上记录用户的日程安排信息数据。For the schedule information data, the calendar application on the mobile phone is used as an input module of the information, and the calendar application can record the user's schedule information data on the mobile phone.
其他提醒的信息数据,同样可以通过数据输入模块获得数据信息。Other reminder information data can also be obtained through the data input module.
数据解析模块负责把输入模块获取的信息数据解析成需要的并按特定格式组织的信息数据。The data parsing module is responsible for parsing the information data acquired by the input module into the required information data organized in a specific format.
对于天气空气信息数据,比如解析JSON格式,得到日期,天气指数,空气指数,穿衣状况信息,以表格的形式呈现出来。For weather air information data, such as parsing JSON format, get date, weather index, air index, dressing status information, and present it in the form of a table.
对于日程安排信息数据,通过手机上的日历应用作为该信息数据的解析模块,日历应用能解析记录的日程安排信息数据。
For the schedule information data, the calendar application on the mobile phone is used as a parsing module of the information data, and the calendar application can parse the recorded schedule information data.
其他信息数据,同样可以通过数据解析模块解释输入模块获得数据信息。For other information data, the data analysis module can also interpret the input module to obtain data information.
数据存储模块负责把解析的信息数据存储到手机的存储器上。The data storage module is responsible for storing the parsed information data on the memory of the mobile phone.
对于天气空气信息数据,定义字段,有日期字段,天气指数字段,空气指数字段和穿衣状况字段,以数据库的形式来记录信息。一天的信息就是数据库的一条记录,这样记录了当天和未来一周的信息。该数据库以数据库文件的形式存储在手机的数据分区。For weather air information data, a defined field, a date field, a weather index field, an air index field, and a dressing status field are used to record information in the form of a database. One day's information is a record of the database, which records the information for the day and the next week. The database is stored in the data partition of the phone as a database file.
对于日程安排信息,在数据库中增加日程安排字段,用来存储日程安排信息。从日历应用中取到前面设定的日程安排信息,根据日期把这些信息存储到数据库的记录中。同时对于新增加的日程安排,数据库收到被动通知后,从日历应用中取到这些新的信息来存储。For the schedule information, a schedule field is added to the database to store the schedule information. The schedule information set in the previous time is taken from the calendar application, and the information is stored in the record of the database according to the date. At the same time, for the newly added schedule, after the database receives the passive notification, the new information is retrieved from the calendar application for storage.
其他提醒信息,一样可以通过数据存储模块存储解析的信息数据,以数据库的形式存储在手机上。Other reminders can store the parsed information data through the data storage module and store it on the mobile phone in the form of a database.
数据分析控制模块负责比较与分析信息数据的状态和变化,根据状态和变化控制流程,以便触发语音播报模块来完成语音播报,达到提醒的目的。The data analysis control module is responsible for comparing and analyzing the status and changes of the information data, and controlling the flow according to the status and change, so as to trigger the voice broadcast module to complete the voice broadcast, and achieve the purpose of reminding.
对天气空气信息数据,数据输入模块每隔一定时间从远端服务器获取到新的信息数据,和数据存储模块记录的数据库中信息数据进行比较。根据日期,如果是已经存储过的信息数据,把新的信息数据和数据库中的信息数据进行比较,发现信息数据变化了,触发语音播报模块播报提醒信息。如果是没有存储过的信息数据,通过数据解析模块和数据存储模块来存储新的信息数据。For the weather air information data, the data input module acquires new information data from the remote server at regular intervals, and compares the information data in the database recorded by the data storage module. According to the date, if it is already stored information data, the new information data is compared with the information data in the database, and the information data is changed, and the voice broadcast module is triggered to broadcast the reminder information. If there is no stored information data, the new information data is stored by the data parsing module and the data storage module.
对日程安排信息,数据存储模块往数据库中记录该日程安排时,控制模块启动定时器,在定时器时间到达时,触发语音播报模块播报日程安排信息。For the schedule information, when the data storage module records the schedule in the database, the control module starts a timer, and when the timer time arrives, triggers the voice broadcast module to broadcast the schedule information.
在手机处于关机状态且闹钟处于响应状态时,从存储的数据库中取出存储的信息,触发语音播报模块播报该信息。When the mobile phone is in the shutdown state and the alarm is in the response state, the stored information is retrieved from the stored database, and the voice broadcast module is triggered to broadcast the information.
语音播报模块负责把信息通过语音播报出来。The voice broadcast module is responsible for broadcasting the information through voice.
达到触发语音播报的条件后,数据控制模块把需要播报的内容以文字的形式组织起来,放到内存中或文本文件中。这是语音播报模块的输入源,这些输入源数据通过该模块转换成音频的PCM数据流。有了PCM数据流,通
过手机的音频系统播放这个PCM数据流,就从手机的SPEAKER中播报出该文字的声音。After the condition for triggering the voice broadcast is reached, the data control module organizes the content to be broadcast in the form of text and puts it in the memory or in the text file. This is the input source for the voice announcement module, through which the input source data is converted into an audio PCM data stream. With PCM data stream, pass
After the PCM data stream is played by the audio system of the mobile phone, the sound of the text is broadcasted from the SPEAKER of the mobile phone.
数据分析控制模块每隔一定时间(可以是1小时等),控制数据输入模块获取到信息数据,通过数据解析模块解释成有用的信息数据;又通过数据存储模块把这些信息数据按数据库的形式存储在手机上。数据分析控制模块还把新获得的和手机中已经存储的信息数据进行比较,达到语音播放的触发条件,就生成需要播报的文字内容,让语音播报模块来播报出该文字。The data analysis control module controls the data input module to acquire the information data at regular intervals (which may be 1 hour, etc.), and interprets the information data as useful information data through the data parsing module; and stores the information data in the form of a database through the data storage module. On the phone. The data analysis control module also compares the newly obtained information data already stored in the mobile phone to achieve the trigger condition of the voice playing, and generates the text content that needs to be broadcasted, so that the voice broadcast module broadcasts the text.
需要说明的是,以上所述的实施例仅是为了便于本领域的技术人员理解而已,并不用于限制本发明的保护范围。It should be noted that the above-mentioned embodiments are only for the convenience of those skilled in the art, and are not intended to limit the scope of the present invention.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
通过本发明实施例的方案,无需打开信息提醒应用,仅需根据保存的信息数据简单实现了信息提醒,提高了用户体验。
With the solution of the embodiment of the present invention, the information reminding application is not required to be opened, and the information reminding is simply implemented according to the saved information data, thereby improving the user experience.
Claims (12)
- 一种实现信息提醒的方法,包括:A method of implementing information reminding, including:获取信息数据并保存;Obtain information data and save it;在满足预设条件时,根据保存的信息数据进行语音提示。When the preset condition is met, the voice prompt is performed based on the saved information data.
- 根据权利要求1所述的方法,其中,所述获取信息数据并保存包括:The method of claim 1 wherein said obtaining information data and saving comprises:周期性获取所述信息数据,当判断出获得的信息数据与已保存的信息数据不一致,或没有保存获得的信息数据时,则保存获得的信息数据。The information data is periodically acquired, and when it is determined that the obtained information data is inconsistent with the saved information data, or the obtained information data is not saved, the obtained information data is saved.
- 根据权利要求1所述的方法,其中,所述预设条件为以下中的一个或多个:The method of claim 1, wherein the preset condition is one or more of the following:获得的信息数据与已保存的信息数据不一致,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程。The obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or the boot process.
- 根据权利要求3所述的方法,其中,当所述预设条件为获得的信息数据与已保存的信息数据不一致时,所述根据保存的信息数据进行语音提示包括:The method according to claim 3, wherein when the preset condition is that the obtained information data is inconsistent with the saved information data, the performing the voice prompt according to the saved information data comprises:根据新保存的信息数据生成播放内容,将生成的播放内容转换成语音并播放。The playback content is generated based on the newly saved information data, and the generated playback content is converted into a voice and played.
- 根据权利要求3所述的方法,其中,当所述预设条件为到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程时;The method according to claim 3, wherein when the preset condition is that a preset time is reached, or the mobile terminal is in a shutdown state and the alarm is in a response state, or a boot process;所述根据保存的信息数据进行语音提示包括:The voice prompting according to the saved information data includes:根据所述保存的信息数据生成播放内容,将生成的播放内容转换成语音并播放。The play content is generated according to the saved information data, and the generated play content is converted into a voice and played.
- 根据权利要求1~5任一项所述的方法,其中,所述信息数据为天气空气信息数据、和/或日程安排信息数据。The method according to any one of claims 1 to 5, wherein the information data is weather air information data, and/or schedule information data.
- 一种实现信息提醒的装置,至少包括:A device for realizing information reminding, comprising at least:获取模块,设置为获取信息数据;Obtain a module, set to obtain information data;存储模块,设置为保存获得的信息数据; a storage module configured to save the obtained information data;提示模块,设置为在满足预设条件时,根据保存的信息数据进行语音提示。The prompt module is configured to perform voice prompting according to the saved information data when the preset condition is met.
- 根据权利要求7所述的装置,其中,所述获取模块是设置为:The apparatus of claim 7, wherein the acquisition module is configured to:周期性获取所述信息数据;Periodically obtaining the information data;所述存储模块是设置为:The storage module is set to:判断出获得的信息数据与已保存的信息数据不一致,或没有保存获得的信息数据,保存获得的信息数据。It is judged that the obtained information data is inconsistent with the saved information data, or the obtained information data is not saved, and the obtained information data is saved.
- 根据权利要求7所述的装置,其中,所述提示模块是设置为:The apparatus of claim 7, wherein the prompting module is configured to:在满足获得的信息数据与已保存的信息数据不一致,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程中的一个或多个时,根据保存的信息数据进行语音提示。When the obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or one or more of the power-on processes, the voice is performed according to the saved information data. prompt.
- 根据权利要求9所述的装置,其中,所述提示模块是设置为:The apparatus of claim 9 wherein said prompting module is configured to:在满足获得的信息数据与已保存的信息数据不一致,或到达预设时间,或移动终端处于关机状态且闹钟处于响应状态,或开机过程中的一个或多个时,根据保存的信息数据进行语音提示。When the obtained information data is inconsistent with the saved information data, or reaches a preset time, or the mobile terminal is in a shutdown state and the alarm is in a response state, or one or more of the power-on processes, the voice is performed according to the saved information data. prompt.
- 根据权利要求9所述的装置,其中,所述提示模块是设置为:The apparatus of claim 9 wherein said prompting module is configured to:用于在满足预设条件时,根据所述保存的信息数据生成播放内容,将生成的播放内容转换成语音并播放。For generating a play content according to the saved information data when the preset condition is satisfied, converting the generated play content into a voice and playing.
- 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求1-6任一项所述的方法。 A computer readable storage medium storing program instructions that, when executed, can implement the method of any of claims 1-6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410612922.8 | 2014-11-04 | ||
CN201410612922.8A CN105635421A (en) | 2014-11-04 | 2014-11-04 | Method and apparatus for achieving information reminding |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015184839A1 true WO2015184839A1 (en) | 2015-12-10 |
Family
ID=54766072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/071987 WO2015184839A1 (en) | 2014-11-04 | 2015-01-30 | Information alerting method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105635421A (en) |
WO (1) | WO2015184839A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112425144A (en) * | 2018-09-14 | 2021-02-26 | 深圳市欢太科技有限公司 | Information prompting method and related product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493977A (en) * | 2009-02-24 | 2009-07-29 | 上海海事大学 | Speech recognition timing prompting in time |
CN101957595A (en) * | 2009-07-16 | 2011-01-26 | 张钦明 | Method and device for ringing with sound |
CN202199096U (en) * | 2011-08-26 | 2012-04-25 | 熊伟 | Intelligent robot toy |
CN103051770A (en) * | 2012-12-11 | 2013-04-17 | 广东欧珀移动通信有限公司 | Voice reminding method and system of mobile terminal |
CN104000570A (en) * | 2014-05-20 | 2014-08-27 | 任锐 | Intelligent wearing equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101754460A (en) * | 2009-12-25 | 2010-06-23 | 宇龙计算机通信科技(深圳)有限公司 | Weather forecast prompting method, device and mobile terminal |
CN101854431A (en) * | 2010-04-29 | 2010-10-06 | 惠州Tcl移动通信有限公司 | Mobile phone with weather warning function and weather warning method based on same |
CN102104678A (en) * | 2010-12-01 | 2011-06-22 | 宇龙计算机通信科技(深圳)有限公司 | Weather information update reminding method and system, and communication terminal |
CN102780808A (en) * | 2011-05-09 | 2012-11-14 | 中兴通讯股份有限公司 | Alarm method and alarm device for terminals |
-
2014
- 2014-11-04 CN CN201410612922.8A patent/CN105635421A/en active Pending
-
2015
- 2015-01-30 WO PCT/CN2015/071987 patent/WO2015184839A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493977A (en) * | 2009-02-24 | 2009-07-29 | 上海海事大学 | Speech recognition timing prompting in time |
CN101957595A (en) * | 2009-07-16 | 2011-01-26 | 张钦明 | Method and device for ringing with sound |
CN202199096U (en) * | 2011-08-26 | 2012-04-25 | 熊伟 | Intelligent robot toy |
CN103051770A (en) * | 2012-12-11 | 2013-04-17 | 广东欧珀移动通信有限公司 | Voice reminding method and system of mobile terminal |
CN104000570A (en) * | 2014-05-20 | 2014-08-27 | 任锐 | Intelligent wearing equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112425144A (en) * | 2018-09-14 | 2021-02-26 | 深圳市欢太科技有限公司 | Information prompting method and related product |
CN112425144B (en) * | 2018-09-14 | 2021-11-30 | 深圳市欢太科技有限公司 | Information prompting method and related product |
Also Published As
Publication number | Publication date |
---|---|
CN105635421A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107146611B (en) | Voice response method and device and intelligent equipment | |
US20190318283A1 (en) | System and method for adaptively executing user routines based on user interactions | |
WO2017190470A1 (en) | Trip reminding method and trip reminding device | |
WO2016165327A1 (en) | Alarm clock-based reminding method and apparatus | |
US20150206537A1 (en) | Speaker identification method, and speaker identification system | |
WO2018099000A1 (en) | Voice input processing method, terminal and network server | |
WO2016112644A1 (en) | Voice control method, apparatus, and terminal | |
CN104951927A (en) | Voice reminder setting and operating methods of mobile terminal on basis of calendar and voice reminder system | |
CN109117233A (en) | Method and apparatus for handling information | |
WO2016107362A1 (en) | Method and system for setting alarm clock of wireless music system | |
US20130198271A1 (en) | System, Method, and Implementation of providing Network-based Alarm Clock | |
US9553908B2 (en) | Wireless music playing method, wireless music playing system and wireless music player | |
WO2020155806A1 (en) | Prompt information output method, related apparatus, and storage medium | |
JP2018507451A (en) | Internet platform, apparatus and method | |
CN104168263A (en) | Server and clock realization method thereof | |
JP2017069836A (en) | Voice distribution server, control method therefor, and control program | |
CN104506991A (en) | Method and device for reminding information | |
WO2015184839A1 (en) | Information alerting method and device | |
WO2016052520A1 (en) | Conversation device | |
WO2024008013A1 (en) | Intelligent household device linkage scheme recommendation method and related apparatus | |
WO2017012398A1 (en) | Radio channel switching method and apparatus, mobile terminal and computer readable storage medium | |
CN111556328A (en) | Program acquisition method and device for live broadcast room, electronic equipment and storage medium | |
US20220365997A1 (en) | Interactive media network system | |
CN113596604B (en) | Event reminding processing method and device based on television, intelligent terminal and medium | |
KR100983683B1 (en) | Mobile communication terminal and method enable of a function setting to circumstances |
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: 15803266 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: 15803266 Country of ref document: EP Kind code of ref document: A1 |