CN112308530A - Method and device for generating prompt information, storage medium and electronic device - Google Patents

Method and device for generating prompt information, storage medium and electronic device Download PDF

Info

Publication number
CN112308530A
CN112308530A CN202011240890.5A CN202011240890A CN112308530A CN 112308530 A CN112308530 A CN 112308530A CN 202011240890 A CN202011240890 A CN 202011240890A CN 112308530 A CN112308530 A CN 112308530A
Authority
CN
China
Prior art keywords
generating
information
knowledge
graph
prompt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011240890.5A
Other languages
Chinese (zh)
Inventor
吴伟
贾巨涛
张伟伟
黄姿荣
秦子宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011240890.5A priority Critical patent/CN112308530A/en
Publication of CN112308530A publication Critical patent/CN112308530A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/1093Calendar-based scheduling for persons or groups
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • G10L15/30Distributed recognition, e.g. in client-server systems, for mobile phones or network applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Computational Linguistics (AREA)
  • Human Resources & Organizations (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for generating prompt information, a storage medium and an electronic device. Wherein, the method comprises the following steps: the method comprises the steps of obtaining first voice data of a user, wherein the first voice data are used for indicating setting of a first alarm clock, and the first alarm clock is used for reminding a target activity; entering information associated with the first voice data into a knowledge graph; generating a prompt using the knowledge graph, wherein the prompt is associated with the target activity. The alarm clock function singleness's technical problem among the correlation technique has been solved to this application.

Description

Method and device for generating prompt information, storage medium and electronic device
Technical Field
The application relates to the field of intelligent equipment, in particular to a method and a device for generating prompt information, a storage medium and an electronic device.
Background
The alarm clock is a clock with a time-telling device, can indicate time, and can send out sound signals or other signals according to the preset time of people, the movement structure of the alarm clock mainly comprises two major types of mechanical type and quartz electronic type, other types such as transistor balance wheel type, tuning fork type and the like are rarely used, the alarm clock is usually arranged on a platform and is called a travelling alarm clock mainly used for travelling, the time-of-day error of a daily mechanical alarm clock is generally within 120 seconds per day, and the time-of-day error of a quartz electronic alarm clock is generally within 0.2 seconds per day.
Alarm clocks are of many kinds, mechanical and quartz, and have become an article which people cannot lack in life since the alarm clock is invented by people by using the principle of a pendulum. However, with the appearance of the smart device, the alarm clock of the above entity type gradually exits, and is replaced by the electronic alarm clock on the smart device, but the current click alarm clock has a single function.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The application provides a method and a device for generating prompt information, a storage medium and an electronic device, which are used for at least solving the technical problem of single alarm clock function in the related technology.
According to an aspect of an embodiment of the present application, a method for generating a prompt message is provided, including: the method comprises the steps of obtaining first voice data of a user, wherein the first voice data are used for indicating setting of a first alarm clock, and the first alarm clock is used for reminding a target activity; entering information associated with the first voice data into a knowledge graph; generating a prompt using the knowledge graph, wherein the prompt is associated with the target activity.
Optionally, entering information associated with the first voice data into a knowledge-graph comprises: extracting first entity information from the first voice data; and storing the first entity information into the knowledge-graph.
Optionally, entering information associated with the first voice data into a knowledge-graph comprises: extracting first entity information from the first voice data; generating a question voice prompt according to the first entity information; sending the question voice prompt to the user; receiving second voice data input by the user; extracting second entity information from the second voice data, wherein the second entity information is associated with the first entity information; and storing the second entity information into the knowledge-graph.
Optionally, the generating of the prompt information by using the knowledge graph includes: searching a first node associated with the target activity from the knowledge-graph, wherein the first node is used for representing a search distance; acquiring the current position and the target position of the user; and generating first prompt information for generating a second alarm clock under the condition that the calculated first time length required for reaching the target position from the current position is longer than a second time length, wherein the second time length represents the difference between the reminding time of the first alarm clock and the reaching time configured for the target position, and the reminding time of the second alarm clock is earlier than that of the first alarm clock.
Optionally, the generating of the prompt information by using the knowledge graph includes: searching a second node associated with the target activity from the knowledge-graph, wherein the second node is used for representing a starting position; searching the weather condition of the starting position; and generating second prompt information according to the weather condition, wherein the second prompt information is used for prompting the user to execute the operation matched with the weather condition.
Optionally, the generating of the prompt information by using the knowledge graph includes: searching a third node associated with the target activity from the knowledge-graph, wherein the third node is used for representing a target position; searching the weather condition of the target position; and generating third prompt information according to the weather condition, wherein the third prompt information is used for prompting the user to execute the operation matched with the weather condition.
Optionally, the generating of the prompt information by using the knowledge graph includes: searching a third node associated with the target activity from the knowledge-graph, wherein the third node is used for representing a target position; searching a target country where the target position is located; and generating fourth prompt information according to the target country, wherein the fourth prompt information is used for prompting the user to execute the operation matched with the target country.
According to another aspect of the embodiments of the present application, there is also provided a device for generating prompt information, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring first voice data of a user, the first voice data is used for indicating setting of a first alarm clock, and the first alarm clock is used for reminding a target activity; the input unit is used for inputting the information related to the first voice data into a knowledge graph; a generating unit configured to generate a prompt using the knowledge graph, wherein the prompt is associated with the target activity.
Optionally, the entry unit is further configured to extract first entity information from the first voice data when entering the information associated with the first voice data into the knowledge graph; and storing the first entity information into the knowledge-graph.
Optionally, the entry unit is further configured to extract first entity information from the first voice data when entering the information associated with the first voice data into the knowledge graph; generating a question voice prompt according to the first entity information; sending the question voice prompt to the user; receiving second voice data input by the user; extracting second entity information from the second voice data, wherein the second entity information is associated with the first entity information; and storing the second entity information into the knowledge-graph.
Optionally, when the generating unit generates the prompt information by using the knowledge graph, the generating unit is further configured to search a first node associated with the target activity from the knowledge graph, where the first node is used to represent a search distance; acquiring the current position and the target position of the user; and generating first prompt information for generating a second alarm clock under the condition that the calculated first time length required for reaching the target position from the current position is longer than a second time length, wherein the second time length represents the difference between the reminding time of the first alarm clock and the reaching time configured for the target position, and the reminding time of the second alarm clock is earlier than that of the first alarm clock.
Optionally, when the generating unit generates the prompt information by using the knowledge graph, the generating unit is further configured to search a second node associated with the target activity from the knowledge graph, where the second node is used to represent a departure position; searching the weather condition of the starting position; and generating second prompt information according to the weather condition, wherein the second prompt information is used for prompting the user to execute the operation matched with the weather condition.
Optionally, when the generating unit generates the prompt information by using the knowledge graph, the generating unit is further configured to search a third node associated with the target activity from the knowledge graph, where the third node is used to represent a target location; searching the weather condition of the target position; and generating third prompt information according to the weather condition, wherein the third prompt information is used for prompting the user to execute the operation matched with the weather condition.
Optionally, when the generating unit generates the prompt information by using the knowledge graph, the generating unit is further configured to search a third node associated with the target activity from the knowledge graph, where the third node is used to represent a target location; searching a target country where the target position is located; and generating fourth prompt information according to the target country, wherein the fourth prompt information is used for prompting the user to execute the operation matched with the target country.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program which, when executed, performs the above-described method.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above method through the computer program.
In the embodiment of the application, a knowledge graph can be constructed, tags (such as tags of business trip, travel vacation and the like) are marked on a user, the tags are dynamically updated and changed according to actual conditions, then the intention of the user is deeply mined by using the knowledge graph, and corresponding intelligent prompt is carried out, so that the user experience is greatly improved, and the technical problem of single alarm clock function in the related technology can be solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flow chart of an alternative method for generating a hint message according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an alternative hint information generation scheme according to an embodiment of the present application;
FIG. 3 is a schematic illustration of an alternative knowledge-graph according to embodiments of the present application;
FIG. 4 is a schematic diagram of an alternative apparatus for generating a prompt message according to an embodiment of the present application;
and
fig. 5 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Most of intelligent devices on the market are single in function and do not have associativity, for example, a user sets alarm clock reminding, and the intelligent devices can only complete the basic function of reminding and do not deeply mine the reminding content of the alarm clock. To overcome this problem, according to an aspect of the embodiments of the present application, a method embodiment of a method for generating a prompt message is provided, which may remind a user in a more rigorous manner based on a knowledge graph. Fig. 1 is a flowchart of an optional prompt message generation method according to an embodiment of the present application, and as shown in fig. 1, the method may include the following steps:
step S1, first voice data of the user is obtained, the first voice data is used for indicating setting of a first alarm clock, and the first alarm clock is used for reminding target activities, for example, the user says that 'catch up with an 8:00 airplane in the morning, remind me to get up at 6:00, and i want to go on a business', a 6-point reminding alarm clock is generated.
And step S2, recording the information related to the first voice data into a knowledge graph.
Optionally, entering information associated with the first voice data into a knowledge-graph comprises: extracting first entity information from the first voice data; and storing the first entity information into the knowledge graph, such as storing 'airplane' and 'business trip' into the knowledge graph.
Optionally, entering information associated with the first voice data into a knowledge-graph comprises: extracting first entity information, such as "business trip", from the first voice data; generating a question voice prompt according to the first entity information; sending the question voice prompt to the user, such as "ask you where to go on business? "; receiving second speech data input by the user, such as a destination "United states" of the user's answer; extracting second entity information, such as a 'destination', from the second voice data, the second entity information being associated with the first entity information; and storing the second entity information into the knowledge-graph.
And step S3, generating prompt information by using the knowledge graph, wherein the prompt information is associated with the target activity.
Optionally, the generating of the prompt information by using the knowledge graph includes: searching a first node associated with the target activity from the knowledge-graph, wherein the first node is used for representing a search distance; acquiring the current position and the target position of the user; and under the condition that the calculated first time length required for reaching the target position from the current position is longer than a second time length, generating first prompt information for generating a second alarm clock, wherein the second time length represents a difference value between the reminding time of the first alarm clock and the reaching time configured for the target position, and the reminding time of the second alarm clock is earlier than that of the first alarm clock, so that the delay of the journey is avoided. The above positions can acquire the position information of the user based on the positioning sensor, so that the knowledge graph data can be dynamically updated and changed in real time, and then the intention of the user is mined based on the knowledge graph.
Optionally, the generating of the prompt information by using the knowledge graph includes: searching a second node associated with the target activity from the knowledge-graph, wherein the second node is used for representing a starting position; searching the weather condition of the starting position; and generating second prompt information according to the weather condition, wherein the second prompt information is used for prompting the user to execute operation matched with the weather condition, such as carrying necessary rain gear.
Optionally, the generating of the prompt information by using the knowledge graph includes: searching a third node associated with the target activity from the knowledge-graph, wherein the third node is used for representing a target position; searching the weather condition of the target position; and generating third prompt information according to the weather condition, wherein the third prompt information is used for prompting the user to execute the operation matched with the weather condition.
Optionally, the generating of the prompt information by using the knowledge graph includes: searching a third node associated with the target activity from the knowledge-graph, wherein the third node is used for representing a target position; searching a target country where the target position is located; and generating fourth prompt information according to the target country, wherein the fourth prompt information is used for prompting the user to execute operation matched with the target country, such as carrying a corresponding passport, an article and the like.
Through the steps, a knowledge graph can be constructed, tags (such as tags of business trip, travel vacation and the like) are marked for a user, the tags are dynamically updated and changed according to actual conditions, then the intention of the user is deeply mined by using the knowledge graph, corresponding intelligent prompt is carried out, the user experience is greatly improved, and the technical problem that the alarm clock function is single in the related technology can be solved.
As an alternative example, as shown in fig. 2 and fig. 3, the following further details the technical solution of the present application with reference to specific embodiments.
When a user sets an alarm clock with voice, namely 'get up an airplane at 8:00 in the morning and remind me to get up at 6:00 and want to go on a business trip'.
The method comprises the following steps: the voice server collects the voice data of the user, converts the voice data into characters and sends the characters to the semantic server. The semantic server uses natural language processing technology to judge and analyze the intention of the user, namely setting an alarm clock of 6:00, catching an airplane of 8:00 and going on business.
Step two: the semantic server recognizes that the user's location information is missing and then actively asks "ask you where to go on business? ". After the user answers (assuming going to the united states), the location and intention of the user are uploaded to a knowledge-graph server (or cloud), and the knowledge-graph server queries nodes related to 'driving the airplane' in the knowledge graph. The nodes associated with "catch up with the aircraft" in the knowledge-graph (as shown in FIG. 3) are "find distance", "find weather", and "business trip" (here, by way of example only, there may be many more nodes).
Step three: the knowledge graph can calculate the position from the departure place to the airport, and if the user is not enough to arrive at the airport within 2 hours, the user is reminded to advance the alarm clock; otherwise, no reminding is carried out.
Step four: the knowledge map can inquire weather of a departure place and a destination, and if the weather is severe on the departure day, a user is reminded to advance an alarm clock and prepare related clothes; if the temperature difference between the destination air temperature and the departure air temperature is large, the user is reminded to wear clothes with feet for keeping warm, resisting cold, refreshing and ventilating and the like. Otherwise, no reminding is carried out.
Step five: if the knowledge map is judged to be foreign business, the user is reminded to prepare articles such as passports, converters and the like in advance.
Based on the steps, the knowledge graph not only meets the basic requirement of 'fixing the alarm clock' of the user, but also carries out semantic analysis on the reminding content of the user, and utilizes the knowledge graph to deeply mine other potential requirements of the user.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
According to another aspect of the embodiment of the present application, there is also provided a device for generating prompt information, which is used for implementing the method for generating prompt information. Fig. 4 is a schematic diagram of an optional prompt message generation apparatus according to an embodiment of the present application, and as shown in fig. 4, the apparatus may include:
the acquiring unit 41 is configured to acquire first voice data of a user, where the first voice data is used to instruct setting of a first alarm clock, and the first alarm clock is used to remind a target activity; an entry unit 43, configured to enter information associated with the first voice data into a knowledge graph; a generating unit 45, configured to generate a prompt message using the knowledge graph, where the prompt message is associated with the target activity.
It should be noted that the obtaining unit 41 in this embodiment may be configured to execute step S1 in this embodiment, the entering unit 43 in this embodiment may be configured to execute step S2 in this embodiment, and the generating unit 45 in this embodiment may be configured to execute step S3 in this embodiment.
Through the modules, a knowledge graph can be constructed, tags (such as tags of business trip, travel vacation and the like) are marked for a user, the tags are dynamically updated and changed according to actual conditions, then the intention of the user is deeply excavated by the knowledge graph, corresponding intelligent prompt is carried out, the user experience is greatly improved, and the technical problem that the alarm clock function is single in the related technology can be solved.
Optionally, the entry unit is further configured to extract first entity information from the first voice data when entering the information associated with the first voice data into the knowledge graph; and storing the first entity information into the knowledge-graph.
Optionally, the entry unit is further configured to extract first entity information from the first voice data when entering the information associated with the first voice data into the knowledge graph; generating a question voice prompt according to the first entity information; sending the question voice prompt to the user; receiving second voice data input by the user; extracting second entity information from the second voice data, wherein the second entity information is associated with the first entity information; and storing the second entity information into the knowledge-graph.
Optionally, when the generating unit generates the prompt information by using the knowledge graph, the generating unit is further configured to search a first node associated with the target activity from the knowledge graph, where the first node is used to represent a search distance; acquiring the current position and the target position of the user; and generating first prompt information for generating a second alarm clock under the condition that the calculated first time length required for reaching the target position from the current position is longer than a second time length, wherein the second time length represents the difference between the reminding time of the first alarm clock and the reaching time configured for the target position, and the reminding time of the second alarm clock is earlier than that of the first alarm clock.
Optionally, when the generating unit generates the prompt information by using the knowledge graph, the generating unit is further configured to search a second node associated with the target activity from the knowledge graph, where the second node is used to represent a departure position; searching the weather condition of the starting position; and generating second prompt information according to the weather condition, wherein the second prompt information is used for prompting the user to execute the operation matched with the weather condition.
Optionally, when the generating unit generates the prompt information by using the knowledge graph, the generating unit is further configured to search a third node associated with the target activity from the knowledge graph, where the third node is used to represent a target location; searching the weather condition of the target position; and generating third prompt information according to the weather condition, wherein the third prompt information is used for prompting the user to execute the operation matched with the weather condition.
Optionally, when the generating unit generates the prompt information by using the knowledge graph, the generating unit is further configured to search a third node associated with the target activity from the knowledge graph, where the third node is used to represent a target location; searching a target country where the target position is located; and generating fourth prompt information according to the target country, wherein the fourth prompt information is used for prompting the user to execute the operation matched with the target country.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules as a part of the apparatus may run in a corresponding hardware environment, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to another aspect of the embodiment of the present application, a server or a terminal for implementing the method for generating the prompt information is also provided.
Fig. 5 is a block diagram of a terminal according to an embodiment of the present application, and as shown in fig. 5, the terminal may include: one or more processors 201 (only one shown), memory 203, and transmission means 205, as shown in fig. 5, the terminal may further comprise an input-output device 207.
The memory 203 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for generating a prompt message in the embodiment of the present application, and the processor 201 executes various functional applications and data processing by running the software programs and modules stored in the memory 203, that is, implements the method for generating a prompt message. The memory 203 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 203 may further include memory located remotely from the processor 201, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 205 is used for receiving or sending data via a network, and can also be used for data transmission between a processor and a memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 205 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 205 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Wherein the memory 203 is specifically used for storing application programs.
The processor 201 may call the application stored in the memory 203 via the transmission means 205 to perform the following steps:
the method comprises the steps of obtaining first voice data of a user, wherein the first voice data are used for indicating setting of a first alarm clock, and the first alarm clock is used for reminding a target activity;
entering information associated with the first voice data into a knowledge graph;
generating a prompt using the knowledge graph, wherein the prompt is associated with the target activity.
By adopting the embodiment of the application, a knowledge graph can be constructed, the user is marked with the labels (such as labels of business trip, travel vacation and the like), the labels are dynamically updated and changed according to actual conditions, then the intention of the user is deeply mined by utilizing the knowledge graph, corresponding intelligent prompt is carried out, the user experience is greatly improved, and the technical problem of single alarm clock function in the related technology can be solved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 5 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 5 is a diagram illustrating a structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present application also provide a storage medium. Alternatively, in this embodiment, the storage medium may be a program code for executing the method for generating the guidance information.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
the method comprises the steps of obtaining first voice data of a user, wherein the first voice data are used for indicating setting of a first alarm clock, and the first alarm clock is used for reminding a target activity;
entering information associated with the first voice data into a knowledge graph;
generating a prompt using the knowledge graph, wherein the prompt is associated with the target activity.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method for generating prompt information is characterized by comprising the following steps:
the method comprises the steps of obtaining first voice data of a user, wherein the first voice data are used for indicating setting of a first alarm clock, and the first alarm clock is used for reminding a target activity;
entering information associated with the first voice data into a knowledge graph;
generating a prompt using the knowledge graph, wherein the prompt is associated with the target activity.
2. The method of claim 1, wherein entering information associated with the first voice data into a knowledge-graph comprises:
extracting first entity information from the first voice data;
and storing the first entity information into the knowledge-graph.
3. The method of claim 1, wherein entering information associated with the first voice data into a knowledge-graph comprises:
extracting first entity information from the first voice data;
generating a question voice prompt according to the first entity information;
sending the question voice prompt to the user;
receiving second voice data input by the user;
extracting second entity information from the second voice data, wherein the second entity information is associated with the first entity information;
and storing the second entity information into the knowledge-graph.
4. The method of any of claims 1-3, wherein generating hints information using the knowledge-graph comprises:
searching a first node associated with the target activity from the knowledge-graph, wherein the first node is used for representing a search distance;
acquiring the current position and the target position of the user;
and generating first prompt information for generating a second alarm clock under the condition that the calculated first time length required for reaching the target position from the current position is longer than a second time length, wherein the second time length represents the difference between the reminding time of the first alarm clock and the reaching time configured for the target position, and the reminding time of the second alarm clock is earlier than that of the first alarm clock.
5. The method of any of claims 1-3, wherein generating hints information using the knowledge-graph comprises:
searching a second node associated with the target activity from the knowledge-graph, wherein the second node is used for representing a starting position;
searching the weather condition of the starting position;
and generating second prompt information according to the weather condition, wherein the second prompt information is used for prompting the user to execute the operation matched with the weather condition.
6. The method of any of claims 1-3, wherein generating hints information using the knowledge-graph comprises:
searching a third node associated with the target activity from the knowledge-graph, wherein the third node is used for representing a target position;
searching the weather condition of the target position;
and generating third prompt information according to the weather condition, wherein the third prompt information is used for prompting the user to execute the operation matched with the weather condition.
7. The method of any of claims 1-3, wherein generating hints information using the knowledge-graph comprises:
searching a third node associated with the target activity from the knowledge-graph, wherein the third node is used for representing a target position;
searching a target country where the target position is located;
and generating fourth prompt information according to the target country, wherein the fourth prompt information is used for prompting the user to execute the operation matched with the target country.
8. An apparatus for generating a presentation information, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring first voice data of a user, the first voice data is used for indicating setting of a first alarm clock, and the first alarm clock is used for reminding a target activity;
the input unit is used for inputting the information related to the first voice data into a knowledge graph;
a generating unit configured to generate a prompt using the knowledge graph, wherein the prompt is associated with the target activity.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 7 by means of the computer program.
CN202011240890.5A 2020-11-09 2020-11-09 Method and device for generating prompt information, storage medium and electronic device Pending CN112308530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011240890.5A CN112308530A (en) 2020-11-09 2020-11-09 Method and device for generating prompt information, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011240890.5A CN112308530A (en) 2020-11-09 2020-11-09 Method and device for generating prompt information, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112308530A true CN112308530A (en) 2021-02-02

Family

ID=74325311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011240890.5A Pending CN112308530A (en) 2020-11-09 2020-11-09 Method and device for generating prompt information, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112308530A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080007769A (en) * 2006-07-18 2008-01-23 이재영 Morning call control method and apparatus for changing alarm time of mobile-phone by weather and morning traffic report
WO2012110003A1 (en) * 2011-02-17 2012-08-23 华为终端有限公司 Mobile terminal and method for alarming thereby
CN104951077A (en) * 2015-06-24 2015-09-30 百度在线网络技术(北京)有限公司 Man-machine interaction method and device based on artificial intelligence and terminal equipment
CN107943914A (en) * 2017-11-20 2018-04-20 渡鸦科技(北京)有限责任公司 Voice information processing method and device
CN109243437A (en) * 2018-08-23 2019-01-18 珠海格力电器股份有限公司 Information prompting method and device, storage medium and electronic device
US20200089381A1 (en) * 2017-03-21 2020-03-19 Huawei Technologies Co., Ltd. Alarm clock reminder method and terminal device
CN111367188A (en) * 2020-03-09 2020-07-03 京东方科技集团股份有限公司 Smart home control method and device, electronic equipment and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080007769A (en) * 2006-07-18 2008-01-23 이재영 Morning call control method and apparatus for changing alarm time of mobile-phone by weather and morning traffic report
WO2012110003A1 (en) * 2011-02-17 2012-08-23 华为终端有限公司 Mobile terminal and method for alarming thereby
CN104951077A (en) * 2015-06-24 2015-09-30 百度在线网络技术(北京)有限公司 Man-machine interaction method and device based on artificial intelligence and terminal equipment
US20200089381A1 (en) * 2017-03-21 2020-03-19 Huawei Technologies Co., Ltd. Alarm clock reminder method and terminal device
CN107943914A (en) * 2017-11-20 2018-04-20 渡鸦科技(北京)有限责任公司 Voice information processing method and device
CN109243437A (en) * 2018-08-23 2019-01-18 珠海格力电器股份有限公司 Information prompting method and device, storage medium and electronic device
CN111367188A (en) * 2020-03-09 2020-07-03 京东方科技集团股份有限公司 Smart home control method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
Greengard The internet of things
Do et al. Where and what: Using smartphones to predict next locations and applications in daily life
CN108875007B (en) method and device for determining interest point, storage medium and electronic device
Trilles et al. Development of an open sensorized platform in a smart agriculture context: A vineyard support system for monitoring mildew disease
CN108595494B (en) Method and device for acquiring reply information
CN109556621B (en) Route planning method and related equipment
CN101919273B (en) Activating applications based on accelerometer data
US20200088533A1 (en) Navigation Method, Navigation Device, and Storage Medium
US8275649B2 (en) Mining life pattern based on location history
Snaddon et al. Biodiversity technologies: tools as change agents
CN102460431A (en) System and method for behavioural and contextual data analytics
CN103218705A (en) Method and device of agenda reminding
US20110208425A1 (en) Mining Correlation Between Locations Using Location History
KR101481895B1 (en) Method, device and recording media for searching target clients
CN102214199A (en) A method and system for searching and presenting information in an address book
EP3451275A1 (en) Information processing device and method
US20130262457A1 (en) Location name suggestion
CN105138569B (en) A kind of generation, application method and the geography of bubble data spit slot information system
CN113822460A (en) Traffic flow prediction method and device, electronic equipment and storage medium
CN109190119B (en) Time extraction method and device, storage medium and electronic device
KR101256652B1 (en) System and method for predicting tour behaviour pattern of tourists
WO2017182888A2 (en) System and method for assisting user communications using bots
Wong et al. Long-term user location prediction using deep learning and periodic pattern mining
Ahmad et al. Context-aware services based on spatio-temporal zoning and crowdsourcing
CN110516017A (en) Location information processing method, device, electronic equipment and storage medium based on terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination