CN115499397A - Information reply method, device, equipment and storage medium - Google Patents

Information reply method, device, equipment and storage medium Download PDF

Info

Publication number
CN115499397A
CN115499397A CN202211097792.XA CN202211097792A CN115499397A CN 115499397 A CN115499397 A CN 115499397A CN 202211097792 A CN202211097792 A CN 202211097792A CN 115499397 A CN115499397 A CN 115499397A
Authority
CN
China
Prior art keywords
information
reply
instruction information
reply content
chat
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.)
Granted
Application number
CN202211097792.XA
Other languages
Chinese (zh)
Other versions
CN115499397B (en
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.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech 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 Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202211097792.XA priority Critical patent/CN115499397B/en
Publication of CN115499397A publication Critical patent/CN115499397A/en
Application granted granted Critical
Publication of CN115499397B publication Critical patent/CN115499397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an information reply method, an information reply device, information reply equipment and a storage medium. The method comprises the following steps: the method comprises the steps of obtaining a chat record in a first preset range corresponding to a target user, and judging whether preset keywords appear in the chat record or not; if yes, judging whether to execute the chat record in a second preset range of voice broadcast based on the detected current instruction information of the target user and the first information base; if yes, determining reply content based on the current instruction information and the second information base, and executing information reply operation based on the reply content; wherein the instruction information includes at least one of user face information, user voice information, and user action information. The technical scheme of the embodiment of the invention solves the problems that a target user cannot simultaneously consider driving the vehicle and timely know interesting text chatting contents and timely reply when driving the vehicle, meets the requirements of the user on driving safety and timely reply information, and improves the user experience.

Description

Information reply method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of instant messaging, in particular to an information reply method, an information reply device, a vehicle and a storage medium.
Background
At present, along with the rapid development of science and technology, the function that the car machine possesses is more and more powerful, not only can satisfy the daily amusement demand of user, can also satisfy user's communication demand. The car machine is generally referred to as a vehicle-mounted infotainment product installed in an automobile, and can functionally realize information communication between people and the automobile and between the automobile and the outside (automobile and automobile).
Generally, when a user logs in instant messaging software on a mobile terminal such as a mobile phone or a smart watch, the user can look up information in a vertical stroke mode and the like at any time, and can reply important information in a typing or voice mode.
However, after the user logs in the instant messaging software with the chat function on the vehicle, when the user drives, both hands of the user need to drive the vehicle, and the user needs to watch the front, so that the user cannot generally consider driving the vehicle and timely instructing information, especially information in a text form, which affects the communication experience of the user.
Disclosure of Invention
The invention provides an information reply method, an information reply device, a vehicle and a storage medium, which are used for solving the problem that a user cannot simultaneously consider driving the vehicle and replying text information in time.
In a first aspect, an embodiment of the present invention provides an information replying method, including:
the method comprises the steps of obtaining a chat record in a first preset range corresponding to a target user, and judging whether preset keywords appear in the chat record or not;
if yes, judging whether to execute voice broadcast of the chat records in a second preset range or not based on the detected current instruction information of the target user and a first information base, wherein the second preset range is smaller than or equal to the first preset range;
if yes, determining reply content based on the current instruction information and a second information base, and executing information reply operation based on the reply content;
the instruction information comprises at least one item of user facial information, user voice information and user action information, the first information base comprises a first corresponding relation between the instruction information and execution judgment information, the second information base comprises a second corresponding relation between the instruction information and reply content, and the execution judgment information comprises execution of voice broadcast and non-execution of voice broadcast.
In a second aspect, an embodiment of the present invention provides an information replying apparatus, including:
the system comprises a first judgment module, a second judgment module and a third judgment module, wherein the first judgment module is used for acquiring the chat records in a first preset range corresponding to a target user and judging whether preset keywords appear in the chat records;
a second judging module, configured to, when a judgment result returned by the first judging module is present, judge whether to perform voice broadcast of the chat record within a second preset range based on the detected current instruction information of the target user and the first information base, where the second preset range is smaller than or equal to the first preset range;
the reply module is used for determining reply content based on the current instruction information and a second information base and executing information reply operation based on the reply content when the judgment result returned by the second judgment module is yes;
the instruction information comprises at least one item of user facial information, user voice information and user action information, the first information base comprises a first corresponding relation between the instruction information and execution judgment information, the second information base comprises a second corresponding relation between the instruction information and reply content, and the execution judgment information comprises execution of voice broadcast and non-execution of voice broadcast.
In a third aspect, an embodiment of the present invention provides a vehicle including:
at least one processor;
and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the information replying method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to, when executed, cause a processor to implement the information reply method according to the first aspect.
According to the information reply scheme provided by the embodiment of the invention, a chat record in a first preset range corresponding to a target user is obtained, whether a preset keyword appears in the chat record is judged, if so, whether a voice broadcast of the chat record in a second preset range is executed is judged based on the detected current instruction information of the target user and a first information base, wherein the second preset range is smaller than or equal to the first preset range, if so, reply content is determined based on the current instruction information and the second information base, and information reply operation is executed based on the reply content, wherein the instruction information comprises at least one item of user facial information, user voice information and user action information, the first information base comprises a first corresponding relation of the instruction information and execution judgment information, the second information base comprises a second corresponding relation of the instruction information and the reply content, and the execution judgment information comprises the execution of the voice broadcast and the non-execution of the voice broadcast. By adopting the technical scheme, if the vehicle judges that the preset keywords appear in the chat records in the first preset range, and subsequently, the chat records in the second preset range are determined through voice broadcast according to the current instruction information and the first information base of the target user, the reply content is determined according to the current instruction information and the second information base, and information reply is carried out according to the reply content.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a message reply method according to an embodiment of the present invention;
fig. 2 is a flowchart of a message reply method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an information replying device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a vehicle according to a fourth embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention 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 invention described herein are capable of operation in sequences other than those illustrated or described herein. In the description of the present invention, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. 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.
Example one
Fig. 1 is a flowchart of an information reply method according to an embodiment of the present invention, where the embodiment is applicable to a case of replying information, the method may be executed by an information reply device, the information reply device may be implemented in a form of hardware and/or software, the information reply device may be configured in a device related to a vehicle, such as a vehicle machine of the vehicle, and the vehicle machine may be formed by one or more physical entities.
As shown in fig. 1, a method for replying information provided in an embodiment of the present invention specifically includes the following steps:
s101, obtaining a chat record in a first preset range corresponding to a target user, and judging whether preset keywords appear in the chat record.
In this embodiment, when a target user uses communication chat software on a device with a communication function related to a vehicle, such as a vehicle, the chat history in a first preset range of the target user may be obtained, and then whether a preset keyword appears in the chat history may be identified by using a set text recognition mode, so that whether a chat topic that the target user is interested in appears in the chat history may be quickly detected from a certain amount of chat histories. The target users include drivers and/or other people (understandable as passengers) in the vehicle, the preset keyword may be determined based on settings of the target users, for example, information such as names or place names that may be set for the target users, the first preset range includes a chat time range and/or a chat object range, and may be specifically set according to actual situations, for example, the first preset range is set according to chat start and end times, and/or the first preset range is set according to chat objects, that is, chat conversation content of a specified chat object is used as the first preset range, and the number of times of detecting the same keyword for each chat record in the first preset range may be set as a preset number of times, for example, 1 time.
For example, if a first preset range is set according to the chat time, the start time of the current chat software used on the in-vehicle device on the same day may be determined as the start time of the chat time range in the first preset range, the time of logging out of the in-vehicle device from the chat software may be determined as the end time of the chat time range, and the preset keyword is "music", and then a text recognition algorithm may be used to recognize whether "music" has occurred in the chat records in the first preset range.
And S102, if the chat logs appear, judging whether to execute the chat logs in a second preset range through voice broadcast based on the detected current instruction information of the target user and the first information base.
The second preset range is smaller than or equal to the first preset range, the instruction information comprises at least one of user facial information, user voice information and user action information, the first information base comprises a first corresponding relation between the instruction information and execution judgment information, and the execution judgment information comprises execution voice broadcast and non-execution voice broadcast.
In this embodiment, if a preset keyword occurs in a chat record within a first preset range, the current interface may be automatically switched to a region within a certain range corresponding to the chat conversation where the preset keyword is located, that is, a second preset range, and then current instruction information made by the target user may be acquired by using a preset device in the vehicle, such as a camera and/or a microphone, and whether to voice-broadcast the chat record within the second preset range is determined by combining a first corresponding relationship in the first information base. If preset keywords appear in all the chat conversations, the preset keywords can be used as an interface switching sequence according to the time sequence, a target user can be prompted in a voice mode during switching, the second preset range can be smaller than or equal to the first preset range, the range size of the second preset range can be set by the target user, if the preset keywords can be set as the range corresponding to the first 5 to the last 5 chat conversations, the current instruction information can be understood as related instruction information currently sent by the target user, namely at least one of user facial information, user voice information and user action information, the user facial information can comprise expression information and the like, the user voice information can comprise language information and non-language information and the like sent by the user, such as a non-language information whistle and the like, the user action information can comprise user head action information and user body action information and the like, the instruction information and the corresponding execution judgment information thereof can be set by the target user, after the user finishes setting, the first information library can be generated, the corresponding relationship is completed, the updating of the first information can be completed, the execution judgment information can comprise execution information and the execution judgment information can be determined according to the current voice, or the execution judgment information can be displayed without execution information, the execution judgment information can be displayed according to the voice broadcasting.
Illustratively, the target user may preset a tap as the instruction information, associate the voice broadcast execution with the tap, and enter the correspondence in the first information base, that is, when the target user has the tap, the target user may determine to execute the chat record within the second preset range.
And S103, if yes, determining reply content based on the current instruction information and the second information base, and executing information reply operation based on the reply content.
The instruction information comprises at least one of user face information, user voice information and user action information, and the second information base comprises a second corresponding relation between the instruction information and the reply content.
In this embodiment, if it is determined that the chat record in the second preset range needs to be voice-broadcasted according to the instruction information sent by the target user, the target user may know the content of the text information in the second preset range in the process of performing the voice broadcast, and then continue to determine the content to be replied according to the instruction information sent by the target user for the second time, that is, the current instruction information, and the second information base, and send the content to the specified object or the specified chat group after generating the reply content. The instruction information and the corresponding reply content thereof may be set by the target user, and after the setting is completed by the user, the instruction information and the reply content thereof may be entered into the second information base, generate a corresponding relationship, and complete the update of the second information base.
For example, the target user may preset "blink three times fast" as instruction information, associate the action of "good" of the reply content with "blink three times fast", and enter the corresponding relationship in the second information base, that is, when the target user has the action of "blink three times fast", the reply content is determined to be "good", and the good is sent to the chat group of the current interface.
It should be noted that, the content of acquiring personal data of a relevant user, such as chat records, instruction information, and the like, referred to herein, needs to obtain the authorization of the relevant user in advance before the acquisition, and if the authorization is not obtained, the personal data of the relevant user may not be acquired.
The information reply method provided by the embodiment of the invention comprises the steps of obtaining the chat records corresponding to the target user within a first preset range, and judging whether preset keywords appear in the chat records or not; if yes, judging whether to execute voice broadcast of the chat records in a second preset range or not based on the detected current instruction information of the target user and a first information base, wherein the second preset range is smaller than or equal to the first preset range; if so, determining reply content based on the current instruction information and a second information base, and executing information reply operation based on the reply content; the instruction information comprises at least one of user facial information, user voice information and user action information, the first information base comprises a first corresponding relation between the instruction information and execution judgment information, the second information base comprises a second corresponding relation between the instruction information and reply content, and the execution judgment information comprises voice broadcast execution and voice broadcast non-execution. According to the technical scheme of the embodiment of the invention, if the vehicle judges that the preset keywords appear in the chat records in the first preset range, and then determines to play the chat records in the second preset range through voice broadcast according to the current instruction information of the target user and the first information base, the reply content is determined according to the current instruction information and the second information base, and information reply is carried out according to the reply content, so that the problems that the target user cannot simultaneously take into account driving the vehicle and timely knowing the interesting text chat content when driving the vehicle and timely replying are solved, the requirements of the user on driving safety and timely reply information are met, and the user experience is improved.
Optionally, the second information base is determined by: generating reply content based on the idiomatic expression of the target user and/or based on preset information input by the target user, wherein the idiomatic expression is determined based on historical reply content in the historical chat record of the target user; acquiring instruction information of the target user, and establishing a second corresponding relation between the instruction information and the reply content, wherein the form of the second corresponding relation comprises that a plurality of pieces of instruction information correspond to one piece of reply content, and/or one piece of instruction information corresponds to one piece of reply content; and determining a second information base according to the second corresponding relation.
Specifically, the idiom of the target user or the text information or voice information input by the target user, that is, preset information, may be analyzed by using a microphone in the vehicle or according to the historical reply content in the historical chat record in the relevant chat software to generate the reply content, and then the target user may enter instruction information, that is, at least one of user facial information, user voice information, and user action information, and then establish a corresponding relationship between the instruction information and the reply content to update the second information base. The idiomatic expression may include a high-frequency expression of the target user, and the correspondence between the instruction information and the reply content may be that a plurality of pieces of instruction information correspond to one piece of reply content, that is, different pieces of instruction information correspond to the same piece of reply content, and/or one piece of instruction information corresponds to one piece of reply content.
Example two
Fig. 2 is a flowchart of an information replying method according to a second embodiment of the present invention, where the technical solution of the second embodiment of the present invention is further optimized based on the above optional technical solutions, and a specific manner for replying information is given.
Optionally, the determining whether to execute the voice broadcast of the chat record in the second preset range based on the detected current instruction information of the target user and the first information base includes: detecting instruction information of the target user, and matching the detected current instruction information with corresponding instruction information in a first information base to obtain a first matching result; and determining whether to execute voice broadcast of the chat records in a second preset range according to the first matching result, wherein the chat records in the second preset range contain the keywords. The advantage that sets up like this lies in, matches target user's current instruction information and the first information base that sets up in advance, according to the matching result, can be accurate discernment target user whether want to carry out voice broadcast with the chat record, let target user more not rely on reading the characters, through carrying out voice broadcast, can know the chat content, if target user is in driving state, set up the attention that can occupy target user as few as possible like this.
Optionally, the determining reply content based on the current instruction information and the second information base, and performing an information reply operation based on the reply content includes: after the voice broadcasting is executed, detecting the instruction information of the target user again, and matching the detected current instruction information with the corresponding instruction information in the second information base to obtain a second matching result; and determining reply content according to the second matching result and the second corresponding relation, and inputting the reply content into a chat dialog box corresponding to the chat record to execute information reply operation. The advantage of setting up like this lies in, the present instruction information that will detect again matches with the second information base, according to the matching result, can let the target user need not through modes such as typewriting, and the complete expression replies the content and replies chat information, only through present instruction information, can confirm the reply content that the target user wants to express to information response has been carried out according to this.
Optionally, before determining the reply content based on the current instruction information and the second information base, the method further includes: determining whether to ignore the chat records in the second preset range or not based on current instruction information and a third information base, wherein the third information base comprises a third corresponding relation between the instruction information and reply judgment information, and the reply judgment information comprises an ignored chat record and a non-ignored chat record; and if not, determining to execute the step of determining reply content based on the current instruction information and the second information base. The method has the advantages that whether the target user wants to ignore the chat records in the specified range or not can be determined according to the matching result of the current instruction information and the third information base, so that the target user can select the information content which the target user wants to reply according to the actual chat content, and the user experience of the target user is guaranteed.
As shown in fig. 2, an information replying method provided in the second embodiment of the present invention specifically includes the following steps:
s201, obtaining a chat record in a first preset range corresponding to a target user, and judging whether preset keywords appear in the chat record, if so, executing step 202, and if not, ending.
S202, detecting the instruction information of the target user, and matching the detected current instruction information with the corresponding instruction information in the first information base to obtain a first matching result.
Illustratively, if the target user is a driver and the first information base contains a corresponding relationship between 'playing' of user voice information of the driver and voice broadcasting execution, when the fact that the preset keyword appears in the chat record is determined and the driver speaks 'playing' is detected, the target user is successfully matched with the voice information in the first information base, and then a first matching result is obtained. If the target user is a special crowd, if the target user can not speak, the face information and the action information of the user can be set to complete the related operation of replying the information.
S203, according to the first matching result, whether the chat records in a second preset range are broadcasted in a voice mode is determined, if yes, the step 204 is executed, and if not, the process is ended.
And the chat records in the second preset range comprise the keywords.
For example, if the second preset range is from the first 10 historical chat conversations to the last 10 historical chat conversations in which the preset keyword occurs, as described in the above example, if the first matching result is a successful matching, it may be determined that the chat records in the second preset range are broadcasted by voice. If the current conversation content has preset keywords, that is, there are no last 10 history chat conversations, the second preset range can be appropriately narrowed to change to the first 10 history chat conversations of the chat conversation with the preset keywords to the current conversation.
And S204, determining whether to ignore the chat records in the second preset range or not based on the current instruction information and a third information base, if not, executing the step 205, and if so, ending.
The third information base comprises a third corresponding relation between the instruction information and reply judgment information, and the reply judgment information comprises an ignored chat record and a non-ignored chat record.
Specifically, after the voice broadcast is executed, that is, during the voice broadcast or after the voice broadcast is finished, the instruction information currently sent by the target user, that is, the current instruction information, may be detected, and it is determined whether to ignore the chat record within the second preset range. The third information base can be updated by establishing the corresponding relationship between the instruction information and the reply judgment information input by the target user.
For example, if the target user is a driver and the third information base contains a corresponding relationship between the voice information "past" of the driver and the omission of the chat records, when it is determined that the preset keyword appears in the chat records and the driver says "past", the matching with the voice information in the third information base is successful, and the chat records in the second preset range are omitted.
And S205, after the voice broadcast is executed, detecting the instruction information of the target user again, and matching the detected current instruction information with the corresponding instruction information in the second information base to obtain a second matching result.
For example, if the target user is the driver and the second information base contains the corresponding relationship between the user action information of the driver, that is, the first two times of the user action information of the driver, and the reply content, that is, the second problem-free user action information, after the voice broadcast is executed, when it is detected that the driver makes the first two times of the user action information, the target user can be successfully matched with the user action information in the second information base, and then the second matching result is obtained.
S206, determining reply contents according to the second matching result and the second corresponding relation, and inputting the reply contents into a chat dialog box corresponding to the chat record to execute information reply operation.
Specifically, if the second matching result is that the matching is successful, the question may be determined as the reply content according to the correspondence between the user action information "twice before the click" and the reply content "question-free", that is, the second correspondence, and the question-free information may be input to the current dialog box, that is, the chat dialog box corresponding to the chat record, so as to perform the information reply operation.
Optionally, the determining reply content based on the current instruction information and the second information base, and performing an information reply operation based on the reply content includes:
1) After the voice broadcast is executed, if the current instruction information is determined to include the knocking information, matching the knocking information with the corresponding instruction information in the second information base to obtain a third matching result, wherein the knocking information belongs to user action information and includes a knocking position, and the knocking position includes a steering wheel and a car machine screen.
The knocking information can be understood as information related to knocking actions made by a target user, such as knocking times, knocking positions and the like, and can be configured with a related pressure sensor at least one knocking position of a steering wheel, a car machine screen and the like for identifying the knocking information of the target user, wherein the knocking position can be at least one of a plurality of positions in a car such as the steering wheel, the car machine screen and the like.
For example, if the target user is a driver and the second information base contains a corresponding relationship between the user action information of the driver, namely 'once steering wheel tapping' and the reply content 'ok', after the voice broadcast is executed, when the driver is detected to make the 'once steering wheel tapping' action, the target user can be successfully matched with the user action information in the second information base, and then a second matching result is obtained.
Further, if it is determined that the current instruction information includes the tapping information, matching the tapping information with the corresponding instruction information in the second information base to obtain a third matching result, including: and if the current instruction information comprises the knocking information and the knocking position in the knocking information is a single dialogue area on the screen of the vehicle-mounted device, matching the knocking information with the corresponding instruction information in the second information base to obtain a third matching result, wherein the knocking information further comprises the knocking times and the knocking frequency, and the single chatting content of the single chatting object is displayed in the single dialogue area.
Illustratively, if the target user is a driver, and the second information base contains a corresponding relationship between user action information of the driver, namely 'quickly knocking the screen of the car machine twice' and 'later contacting' of the reply content, after the voice broadcast is executed, when the driver is detected to make the action of 'quickly knocking the screen of the car machine twice', the target user can be successfully matched with the user action information in the second information base, and then a third matching result is obtained. The knocking frequency is understood to mean the speed of knocking, such as fast knocking, slow knocking and the like, and slow knocking may include long pressing and the like.
2) And determining reply content corresponding to the tapping information according to the third matching result and the second corresponding relation, and executing information reply operation based on the reply content.
Specifically, if the third matching result is that the matching is successful, the later contact can be determined as the reply content according to the corresponding relationship between the user action information "quickly tapping the car machine screen twice" and the reply content "later contact", that is, the second corresponding relationship, and the later contact can be input into the current dialog box, that is, the chat dialog box corresponding to the chat record, so as to execute the information reply operation.
Further, the determining, according to the third matching result and the second correspondence, reply content corresponding to the tapping information, and executing an information reply operation based on the reply content includes: determining reply content corresponding to the tapping information according to the third matching result and the second corresponding relation; and sending the reply content to the chat object corresponding to the single conversation area.
Specifically, the dialog box of the reply content corresponding to the tapping position can be tapped according to the specific position of the car machine screen tapped by the target user, for example, the dialog box tapped at the tapping position a chats with the target user, the reply can be performed for the dialog content in the dialog box, as described in the above example, the "contact later" can be replied to the dialog box a, wherein if in a group chat scene, the replying mode can be that characters with functions of replying the specified chat object individually, such as "@ a" are added before the reply information "contact later", and the like.
The information reply method provided by the embodiment of the invention comprises the steps of matching current instruction information of a target user with a first information base if preset keywords appear in chat records in a first preset range, detecting the current instruction information again if the chat records in a second preset range are determined to be broadcasted in a voice mode, matching the knocking information with a second information base if the current instruction information is knocking information, determining reply contents, and replying the information accordingly.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an information replying device according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a first determining module 301, a second determining module 302, and a replying module 303, wherein:
the system comprises a first judgment module, a second judgment module and a third judgment module, wherein the first judgment module is used for acquiring the chat records in a first preset range corresponding to a target user and judging whether preset keywords appear in the chat records;
a second judging module, configured to, when a judgment result returned by the first judging module is present, judge whether to perform voice broadcast of the chat record within a second preset range based on the detected current instruction information of the target user and the first information base, where the second preset range is smaller than or equal to the first preset range;
the reply module is used for determining reply content based on the current instruction information and a second information base and executing information reply operation based on the reply content when the judgment result returned by the second judgment module is yes;
the instruction information comprises at least one item of user facial information, user voice information and user action information, the first information base comprises a first corresponding relation between the instruction information and execution judgment information, the second information base comprises a second corresponding relation between the instruction information and reply content, and the execution judgment information comprises execution of voice broadcast and non-execution of voice broadcast.
According to the information replying device provided by the embodiment of the invention, if the vehicle judges that the preset keyword appears in the chat record in the first preset range, and then determines the chat record in the second preset range through voice broadcast according to the current instruction information of the target user and the first information base, the reply content is determined according to the current instruction information and the second information base, and the information reply is carried out according to the reply content, so that the problems that the target user cannot simultaneously take into account driving the vehicle and timely knowing the interesting text chat content when driving the vehicle and can reply in time are solved, the requirements of the user on driving safety and timely reply information are met, and the user experience is improved.
Optionally, the second information base is determined by: generating reply content based on the idiom of the target user and/or based on preset information input by the target user, wherein the idiom is determined based on historical reply content in a historical chat record of the target user; acquiring instruction information of the target user, and establishing a second corresponding relation between the instruction information and the reply content, wherein the form of the second corresponding relation comprises that a plurality of pieces of instruction information correspond to one piece of reply content, and/or one piece of instruction information corresponds to one piece of reply content; and determining a second information base according to the second corresponding relation.
Optionally, the second determining module includes:
the first matching unit is used for detecting the instruction information of the target user and matching the detected current instruction information with the corresponding instruction information in the first information base to obtain a first matching result;
and the first judging unit is used for determining whether to execute voice broadcast of the chat records in a second preset range according to the first matching result, wherein the chat records in the second preset range contain the keywords.
Optionally, the reply module includes:
the second matching unit is used for detecting the instruction information of the target user again after the voice broadcast is executed, and matching the detected current instruction information with the corresponding instruction information in the second information base to obtain a second matching result;
and the first reply content determining unit is used for determining reply content according to the second matching result and the second corresponding relation, and inputting the reply content into a chat dialog box corresponding to the chat record so as to execute information reply operation.
Optionally, the reply module includes:
the third matching unit is used for matching the knocking information with corresponding instruction information in a second information base to obtain a third matching result if the current instruction information comprises the knocking information after the voice broadcast is executed, wherein the knocking information belongs to user action information, the knocking information comprises a knocking position, and the knocking position comprises a steering wheel and a car machine screen;
and the second reply content determining unit is used for determining reply content corresponding to the tapping information according to the third matching result and the second corresponding relation, and executing information reply operation based on the reply content.
Optionally, if it is determined that the current instruction information includes the tapping information, matching the tapping information with corresponding instruction information in a second information base to obtain a third matching result, including: if the current instruction information comprises the knocking information and the knocking position in the knocking information is a single conversation area on the screen of the car machine, matching the knocking information with the corresponding instruction information in the second information base to obtain a third matching result, wherein the knocking information further comprises the knocking times and the knocking frequency, and the single conversation content of the single chat object is displayed in the single conversation area;
wherein, the determining reply content corresponding to the tapping information according to the third matching result and the second corresponding relationship, and executing information reply operation based on the reply content includes: determining reply content corresponding to the tapping information according to the third matching result and the second corresponding relation; and sending the reply content to the chat object corresponding to the single conversation area.
Optionally, the apparatus further includes:
an information ignoring determination module, configured to determine whether to ignore the chat records within the second preset range based on current instruction information and a third information base, where the third information base includes a third corresponding relationship between the instruction information and reply judgment information, and the reply judgment information includes an ignore chat record and a non-ignore chat record;
and the execution skipping module is used for determining to execute the step of determining the reply content based on the current instruction information and the second information base when the determined information returned by the information omission determining module is not omitted.
The information reply device provided by the embodiment of the invention can execute the information reply method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
FIG. 4 illustrates a schematic block diagram of a vehicle 40 that may be used to implement an embodiment of the present invention. The information replying method in the above embodiments may be configured in a related device of a vehicle, such as a vehicle. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the vehicle 40 includes at least one processor 41, and a memory communicatively connected to the at least one processor 41, such as a Read Only Memory (ROM) 42, a Random Access Memory (RAM) 43, and the like, wherein the memory stores computer programs executable by the at least one processor, and the processor 41 may perform various appropriate actions and processes according to the computer programs stored in the Read Only Memory (ROM) 42 or the computer programs loaded from the storage unit 48 into the Random Access Memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the vehicle 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other via a bus 44. An input/output (I/O) interface 45 is also connected to bus 44.
Various components in the vehicle 40 are connected to the I/O interface 45, including: an input unit 46 such as a keyboard, a mouse, etc.; an output unit 47 such as various types of displays, speakers, and the like; a storage unit 48 such as a magnetic disk, an optical disk, or the like; and a communication unit 49 such as a network card, modem, wireless communication transceiver, etc. The communication unit 49 allows the vehicle 40 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 41 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of processor 41 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. Processor 41 performs the various methods and processes described above, such as the message reply method.
In some embodiments, the message reply method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program may be loaded and/or installed on the vehicle 40 via the ROM 42 and/or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the information reply method described above may be performed. Alternatively, in other embodiments, processor 41 may be configured to perform the information reply method by any other suitable means (e.g., by way of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
The computer device provided by the above can be used to execute the information reply method provided by any of the above embodiments, and has corresponding functions and advantages.
EXAMPLE five
In the context of the present invention, a computer-readable storage medium may be a tangible medium, the computer-executable instructions, when executed by a computer processor, for performing a method of information reply, the method comprising:
the method comprises the steps of obtaining a chat record in a first preset range corresponding to a target user, and judging whether preset keywords appear in the chat record or not;
if yes, judging whether to execute voice broadcast of the chat records in a second preset range or not based on the detected current instruction information of the target user and a first information base, wherein the second preset range is smaller than or equal to the first preset range;
if yes, determining reply content based on the current instruction information and a second information base, and executing information reply operation based on the reply content;
the instruction information comprises at least one item of user facial information, user voice information and user action information, the first information base comprises a first corresponding relation between the instruction information and execution judgment information, the second information base comprises a second corresponding relation between the instruction information and reply content, and the execution judgment information comprises execution of voice broadcast and non-execution of voice broadcast.
In the context of the present invention, a computer readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer device provided by the above can be used to execute the information reply method provided by any of the above embodiments, and has corresponding functions and advantages.
It should be noted that, in the embodiment of the information replying device, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An information reply method, which is applied to a vehicle, the method comprising:
the method comprises the steps of obtaining a chat record in a first preset range corresponding to a target user, and judging whether preset keywords appear in the chat record or not;
if yes, judging whether to execute voice broadcast of the chat records in a second preset range or not based on the detected current instruction information of the target user and a first information base, wherein the second preset range is smaller than or equal to the first preset range;
if yes, determining reply content based on the current instruction information and a second information base, and executing information reply operation based on the reply content;
the instruction information comprises at least one item of user facial information, user voice information and user action information, the first information base comprises a first corresponding relation between the instruction information and execution judgment information, the second information base comprises a second corresponding relation between the instruction information and reply content, and the execution judgment information comprises execution of voice broadcast and non-execution of voice broadcast.
2. The method of claim 1, wherein the second information base is determined by:
generating reply content based on the idiomatic expression of the target user and/or based on preset information input by the target user, wherein the idiomatic expression is determined based on historical reply content in the historical chat record of the target user;
acquiring instruction information of the target user, and establishing a second corresponding relation between the instruction information and the reply content, wherein the form of the second corresponding relation comprises that a plurality of pieces of instruction information correspond to one piece of reply content, and/or one piece of instruction information corresponds to one piece of reply content;
and determining a second information base according to the second corresponding relation.
3. The method of claim 1, wherein the determining whether to perform voice broadcasting of the chat logs within a second preset range based on the detected current instruction information of the target user and a first information base comprises:
detecting instruction information of the target user, and matching the detected current instruction information with corresponding instruction information in a first information base to obtain a first matching result;
and determining whether to execute voice broadcast of the chat records in a second preset range according to the first matching result, wherein the chat records in the second preset range contain the keywords.
4. The method of claim 2, wherein determining reply content based on the current instruction information and a second information base, and performing an information reply operation based on the reply content comprises:
after the voice broadcasting is executed, detecting the instruction information of the target user again, and matching the current instruction information detected again with the corresponding instruction information in the second information base to obtain a second matching result;
and determining reply content according to the second matching result and the second corresponding relation, and inputting the reply content into a chat dialog box corresponding to the chat record to execute information reply operation.
5. The method according to claim 1, wherein the determining reply content based on the current instruction information and the second information base, and performing an information reply operation based on the reply content comprises:
after the voice broadcasting is executed, if the current instruction information is determined to include the knocking information, matching the knocking information with the corresponding instruction information in the second information base to obtain a third matching result, wherein the knocking information belongs to user action information, the knocking information includes a knocking position, and the knocking position includes a steering wheel and a car machine screen;
and determining reply content corresponding to the tapping information according to the third matching result and the second corresponding relation, and executing information reply operation based on the reply content.
6. The method according to claim 5, wherein if it is determined that the current instruction information includes tapping information, matching the tapping information with corresponding instruction information in a second information base to obtain a third matching result, includes:
if the current instruction information is determined to comprise the knocking information, and the knocking position in the knocking information is a single dialogue area on the screen of the vehicle-mounted device, matching the knocking information with the corresponding instruction information in the second information base to obtain a third matching result, wherein the knocking information further comprises knocking times and knocking frequency, and a single chatting content of a single chatting object is displayed in the single dialogue area;
wherein, the determining reply content corresponding to the tapping information according to the third matching result and the second corresponding relationship, and executing information reply operation based on the reply content includes:
determining reply content corresponding to the tapping information according to the third matching result and the second corresponding relation;
and sending the reply content to the chat object corresponding to the single conversation area.
7. The method of claim 1, further comprising, prior to determining reply content based on the current instructional information and the second information base:
determining whether to ignore the chat records in the second preset range or not based on the current instruction information and a third information base, wherein the third information base comprises a third corresponding relation between the instruction information and reply judgment information, and the reply judgment information comprises an ignored chat record and a non-ignored chat record;
and if not, determining to execute the step of determining reply content based on the current instruction information and the second information base.
8. An information replying device, configured to be installed in a vehicle, the device comprising:
the system comprises a first judgment module, a second judgment module and a third judgment module, wherein the first judgment module is used for acquiring the chat records in a first preset range corresponding to a target user and judging whether preset keywords appear in the chat records;
a second judging module, configured to, when a judgment result returned by the first judging module is present, judge whether to perform voice broadcast of the chat record within a second preset range based on the detected current instruction information of the target user and the first information base, where the second preset range is smaller than or equal to the first preset range;
the reply module is used for determining reply content based on the current instruction information and the second information base and executing information reply operation based on the reply content when the judgment result returned by the second judgment module is yes;
the instruction information comprises at least one of user facial information, user voice information and user action information, the first information base comprises a first corresponding relation between the instruction information and execution judgment information, the second information base comprises a second corresponding relation between the instruction information and reply content, and the execution judgment information comprises voice broadcast execution and voice broadcast non-execution.
9. A vehicle, characterized in that the vehicle comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the information reply method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the information replying method according to any one of claims 1 to 7 when executed.
CN202211097792.XA 2022-09-08 2022-09-08 Information reply method, device, equipment and storage medium Active CN115499397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211097792.XA CN115499397B (en) 2022-09-08 2022-09-08 Information reply method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211097792.XA CN115499397B (en) 2022-09-08 2022-09-08 Information reply method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115499397A true CN115499397A (en) 2022-12-20
CN115499397B CN115499397B (en) 2023-11-17

Family

ID=84468957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211097792.XA Active CN115499397B (en) 2022-09-08 2022-09-08 Information reply method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115499397B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9444923B1 (en) * 2015-10-30 2016-09-13 E-Lead Electronic Co., Ltd. Method of receiving and replying messages with a hands-free device
CN106921783A (en) * 2015-12-28 2017-07-04 卡桑德电子科技(扬州)有限公司 Use terminal device, the system and method for communication and social networking application when driving safely
CN107040450A (en) * 2016-07-20 2017-08-11 平安科技(深圳)有限公司 Automatic reply method and device
CN107483324A (en) * 2017-08-24 2017-12-15 上海擎感智能科技有限公司 For the instant messaging approaches to IM and device of vehicle device, storage medium, terminal
CN109159737A (en) * 2018-08-28 2019-01-08 上海擎感智能科技有限公司 A kind of on-vehicle information exchange method, device, electronic equipment and medium
CN109451170A (en) * 2018-12-03 2019-03-08 边智飞 A kind of safety driving system of mobile phone
CN109525712A (en) * 2018-10-29 2019-03-26 维沃移动通信有限公司 A kind of information processing method, mobile terminal and mobile unit
CN109660446A (en) * 2018-10-31 2019-04-19 深圳壹账通智能科技有限公司 Voice broadcast method, device, computer equipment and the storage medium of chat message
CN109905843A (en) * 2017-12-08 2019-06-18 上海博泰悦臻网络技术服务有限公司 Trip information automatic reply method, system, car-mounted terminal and vehicle
CN109982273A (en) * 2019-03-25 2019-07-05 维沃移动通信有限公司 A kind of information replying method and mobile terminal
US20210210068A1 (en) * 2018-07-04 2021-07-08 Huawei Technologies Co., Ltd. Message playing method and terminal
CN114063956A (en) * 2021-11-11 2022-02-18 上汽通用五菱汽车股份有限公司 Vehicle-mounted device and mobile terminal program interaction method, vehicle-mounted device and readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9444923B1 (en) * 2015-10-30 2016-09-13 E-Lead Electronic Co., Ltd. Method of receiving and replying messages with a hands-free device
CN106921783A (en) * 2015-12-28 2017-07-04 卡桑德电子科技(扬州)有限公司 Use terminal device, the system and method for communication and social networking application when driving safely
CN107040450A (en) * 2016-07-20 2017-08-11 平安科技(深圳)有限公司 Automatic reply method and device
CN107483324A (en) * 2017-08-24 2017-12-15 上海擎感智能科技有限公司 For the instant messaging approaches to IM and device of vehicle device, storage medium, terminal
CN109905843A (en) * 2017-12-08 2019-06-18 上海博泰悦臻网络技术服务有限公司 Trip information automatic reply method, system, car-mounted terminal and vehicle
US20210210068A1 (en) * 2018-07-04 2021-07-08 Huawei Technologies Co., Ltd. Message playing method and terminal
CN109159737A (en) * 2018-08-28 2019-01-08 上海擎感智能科技有限公司 A kind of on-vehicle information exchange method, device, electronic equipment and medium
CN109525712A (en) * 2018-10-29 2019-03-26 维沃移动通信有限公司 A kind of information processing method, mobile terminal and mobile unit
CN109660446A (en) * 2018-10-31 2019-04-19 深圳壹账通智能科技有限公司 Voice broadcast method, device, computer equipment and the storage medium of chat message
CN109451170A (en) * 2018-12-03 2019-03-08 边智飞 A kind of safety driving system of mobile phone
CN109982273A (en) * 2019-03-25 2019-07-05 维沃移动通信有限公司 A kind of information replying method and mobile terminal
CN114063956A (en) * 2021-11-11 2022-02-18 上汽通用五菱汽车股份有限公司 Vehicle-mounted device and mobile terminal program interaction method, vehicle-mounted device and readable storage medium

Also Published As

Publication number Publication date
CN115499397B (en) 2023-11-17

Similar Documents

Publication Publication Date Title
US10489112B1 (en) Method for user training of information dialogue system
US9865264B2 (en) Selective speech recognition for chat and digital personal assistant systems
CN111508474B (en) Voice interruption method, electronic equipment and storage device
US20200035241A1 (en) Method, device and computer storage medium for speech interaction
CN111261151B (en) Voice processing method and device, electronic equipment and storage medium
KR20190046631A (en) System and method for natural language processing
CN113674742B (en) Man-machine interaction method, device, equipment and storage medium
CN112286485B (en) Method and device for controlling application through voice, electronic equipment and storage medium
CN111402877A (en) Noise reduction method, device, equipment and medium based on vehicle-mounted multi-sound zone
CN111159364A (en) Dialogue system, dialogue device, dialogue method, and storage medium
CN112562670A (en) Intelligent voice recognition method, intelligent voice recognition device and intelligent equipment
CN112767916A (en) Voice interaction method, device, equipment, medium and product of intelligent voice equipment
CN111833870A (en) Awakening method and device of vehicle-mounted voice system, vehicle and medium
CN117253478A (en) Voice interaction method and related device
CN113823282B (en) Voice processing method, system and device
CN115499397B (en) Information reply method, device, equipment and storage medium
CN110931014A (en) Speech recognition method and device based on regular matching rule
CN116013257A (en) Speech recognition and speech recognition model training method, device, medium and equipment
CN115361473A (en) Designated driving calling method based on user voice information and related product
CN114817474A (en) Function information query method and device, electronic equipment and storage medium
CN107967308B (en) Intelligent interaction processing method, device, equipment and computer storage medium
CN113488033A (en) User passive voice interaction method, device, terminal, server and medium
CN111949775A (en) Method, device, equipment and medium for generating guide conversation
CN107195298B (en) Root cause analysis and correction system and method
CN104347069A (en) Controlling speech dialog using an additional sensor

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
GR01 Patent grant
GR01 Patent grant