WO2021147784A1 - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
WO2021147784A1
WO2021147784A1 PCT/CN2021/072199 CN2021072199W WO2021147784A1 WO 2021147784 A1 WO2021147784 A1 WO 2021147784A1 CN 2021072199 W CN2021072199 W CN 2021072199W WO 2021147784 A1 WO2021147784 A1 WO 2021147784A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
information
session information
session
conversation
Prior art date
Application number
PCT/CN2021/072199
Other languages
French (fr)
Chinese (zh)
Inventor
黄立
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021147784A1 publication Critical patent/WO2021147784A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/74Details of telephonic subscriber devices with voice recognition means

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to an information processing method and electronic equipment.
  • the electronic device may conduct a dialogue with the caller using a preset speech technique.
  • the electronic device may display the content of the dialogue to the user of the electronic device in real time.
  • the electronic device can store the conversation content, so that when the user needs to view a certain conversation content, the user can sequentially search the conversation content stored in the electronic device to find the conversation content.
  • the embodiments of the present invention provide an information processing method and an electronic device, so as to solve the problem of cumbersome and time-consuming processes for users to search for dialogue content.
  • an embodiment of the present invention provides an information processing method that can be applied to a first electronic device.
  • the method includes identifying the content of the first session to obtain at least one piece of session information; and according to the at least one piece of session information, Determine the application program corresponding to each session information; and for each session information, create a task associated with the event indicated by the session information in an application program corresponding to the session information; where different session information indicates different events.
  • a session is a session between the first electronic device and the second electronic device.
  • an embodiment of the present invention provides an electronic device, which may be a first electronic device, and the electronic device includes: an identification module, a determination module, and a creation module; the identification module is used to identify the content of the first session , Obtain at least one piece of session information, different session information indicates different events, the first session is the session between the first electronic device and the second electronic device; the determining module is used to determine and each session information according to the at least one session information identified by the identification module An application program corresponding to the session information; a creation module for creating a task associated with an event indicated by the session information in an application program corresponding to the session information for each session information identified by the identification module.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor.
  • an embodiment of the present invention provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the information processing method of the first aspect.
  • an embodiment of the present invention provides a computer program product, which is executed by at least one processor to implement the information processing method of the first aspect described above.
  • an embodiment of the present invention provides an electronic device, including an electronic device configured to execute the information processing method of the above-mentioned first aspect.
  • the first electronic device can identify the content of the first session (the session between the first electronic device and the second electronic device), and obtain at least one piece of session information, and different session information indicates different events; and At least one piece of session information determines an application program corresponding to each session information; and for each session information, in an application program corresponding to one session information, a task associated with an event indicated by the session information is created.
  • the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application Therefore, tasks associated with events indicated by different session information may be located in different applications.
  • the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device.
  • Search in a large amount of stored conversation content in sequence which can simplify the process of users searching for conversation information and shorten the search time.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention
  • FIG. 2 is one of the schematic diagrams of an information processing method provided by an embodiment of the present invention.
  • Fig. 3 is a second schematic diagram of an information processing method provided by an embodiment of the present invention.
  • FIG. 4 is a third schematic diagram of an information processing method provided by an embodiment of the present invention.
  • Fig. 5 is a fourth schematic diagram of an information processing method provided by an embodiment of the present invention.
  • FIG. 6 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 7 is the second structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • first and second in this document are used to distinguish different objects, rather than to describe a specific order of objects.
  • first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe the specific order of the electronic devices.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • plural means two or more than two, for example, a plurality of elements means two or more elements, and so on.
  • Conversation intention refers to the purpose of the calling party (for example, the user of the second electronic device in the embodiment of the present invention) triggering a conversation.
  • the conversation intention may include, but is not limited to: work report, meeting/meal appointment time, reminder of to-do events, product introduction, etc.
  • Foreground running refers to a running state of an application in an electronic device.
  • an application running in the foreground of an electronic device means that the user interface of the application is displayed on the display screen of the electronic device, and the user can interact with the application by inputting on the user interface.
  • Background running refers to a running state of an application in an electronic device. Specifically, an application program runs in the background of an electronic device, which means that the application program runs in the resource manager of the electronic device, and the user interface of the application program is generally not displayed on the display screen of the electronic device.
  • the user needs to use or view the application, he can trigger the electronic device to switch the application to the foreground, and then use or view the application.
  • the user can trigger the electronic device to switch it to run in the background.
  • the user can also trigger the electronic device to switch to the foreground to run.
  • the application can exchange data with other applications.
  • the embodiments of the present invention provide an information processing method and an electronic device, and the information processing method can be applied to a first electronic device.
  • the first electronic device can identify the content of the first session (the session between the first electronic device and the second electronic device), obtain at least one piece of session information, and different session information indicates different events; and based on the at least one piece of session information, determine and An application program corresponding to each session information; and for each session information, in an application program corresponding to one session information, a task associated with the event indicated by the session information is created.
  • the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application Therefore, tasks associated with events indicated by different session information may be located in different applications.
  • the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
  • the electronic device in the embodiment of the present invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • the following takes the Android operating system as an example to introduce the software environment to which the information processing method provided by the embodiment of the present invention is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application layer may include various applications in the first electronic device in the embodiment of the present invention; for example, any possible applications such as an alarm clock application, a schedule application, a memo application, and a desktop application.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework. For example, the application program involved in the embodiment of the present invention can be developed based on the application program framework layer.
  • the application in the embodiment of the present invention may include two parts.
  • one part refers to a desktop service running in the background of an electronic device, which is used to communicate with a certain key information of a session information (for example, the key information in at least one item of key information in the embodiment of the present invention)
  • create a desktop widget task associated with the event indicated by the session information the other part refers to the display on the screen of the electronic device Content, such as the desktop pendant task displayed on the screen of the first electronic device.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the information processing method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG.
  • the processing method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the information processing method provided by the embodiment of the present invention by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). Assistant, PDA), etc.
  • the non-mobile electronic device may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
  • the execution subject of the information processing method provided by the embodiments of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the information processing method, and the details may be determined according to actual use requirements.
  • the embodiments of the present invention are not limited. The following takes an electronic device as an example to exemplarily describe the information processing method provided by the embodiment of the present invention.
  • an electronic device can obtain the content of the conversation after it ends the conversation with other electronic devices.
  • the electronic device may execute the information processing method provided by the embodiment of the present invention on the content of the session.
  • the electronic device may execute the information processing method provided by the embodiment of the present invention on the content of the acquired session in the following three scenarios (ie, the following scenario 1, scenario 2, and scenario 3).
  • the first electronic device may automatically execute the information processing method provided in the embodiment of the present invention every time after ending a conversation with other electronic devices.
  • the first electronic device in scenario 1, after the first electronic device ends a session with other electronic devices (hereinafter referred to as session 1), the first electronic device can obtain the content of session 1, and then the first electronic device can The content of the conversation 1 is automatically identified (for example, semantic analysis is performed on the content of the conversation 1) to obtain at least one piece of conversation information indicating different events in the content of the conversation 1. Then, the first electronic device may respectively determine the application program corresponding to each session information in the first electronic device.
  • session 1 after the first electronic device ends a session with other electronic devices (hereinafter referred to as session 1), the first electronic device can obtain the content of session 1, and then the first electronic device can The content of the conversation 1 is automatically identified (for example, semantic analysis is performed on the content of the conversation 1) to obtain at least one piece of conversation information indicating different events in the content of the conversation 1. Then, the first electronic device may respectively determine the application program corresponding to each session information in the first electronic device.
  • the first electronic device may create a task associated with the event indicated by the session information in an application program corresponding to the session information
  • the first electronic device can obtain the conversation information indicating a meal invitation event in the content of the conversation 1, and can determine that the application corresponding to the conversation information is an alarm clock application, and can create a connection with the alarm clock application in the alarm clock application.
  • the alarm task associated with the dinner invitation event Therefore, since the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application, therefore It is possible that tasks associated with events indicated by different session information may be located in different applications.
  • the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device.
  • Search in a large amount of stored conversation content in sequence which can simplify the process of users searching for conversation information and shorten the search time.
  • the first electronic device can periodically automatically execute the information processing method provided in the embodiment of the present invention, that is, the first electronic device can automatically execute the embodiment of the present invention once at a certain period of time for the content of the session acquired during this period of time. Provide information processing methods.
  • the first electronic device in scenario 2, in each execution cycle, after the first electronic device ends a conversation with other electronic devices, the first electronic device can obtain the content of the conversation, and then the first electronic device can At a fixed time in each execution period (which may be a preset period, for example, every 24 hours is an execution period), the information processing method provided by the embodiment of the present invention is automatically executed on the content of the session acquired in the execution period. Specifically, for the content of each session (hereinafter referred to as session 2) acquired during the execution period, the first electronic device can automatically identify the content of the session 2 (for example, perform semantic analysis on the content of the session 2) to obtain The content of the session 2 indicates at least one piece of session information of different events.
  • session 2 for the content of each session (hereinafter referred to as session 2) acquired during the execution period, the first electronic device can automatically identify the content of the session 2 (for example, perform semantic analysis on the content of the session 2) to obtain The content of the session 2 indicates at least one piece of session information of different events.
  • the first electronic device may respectively determine the application program corresponding to each session information in the first electronic device. After the first electronic device determines the application program corresponding to each session information, for each session information, the first electronic device may create a task associated with the event indicated by the session information in an application program corresponding to the session information For example, the first electronic device may obtain the session information indicating the work report event in Session 2, and may determine that the application corresponding to the session information indicating the work report event is a desktop application, and may create a connection with the desktop application in the desktop application. Desktop widget tasks associated with work reporting events.
  • the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application, therefore It is possible that tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
  • the first electronic device may execute the information processing method provided in the embodiment of the present invention under the trigger of a specific input of the user. Specifically, the first electronic device may perform the information processing method provided by the embodiment of the present invention on the content of the session for which the specific input is obtained from the content of the conversation acquired before the specific input is received.
  • the above-mentioned specific input may be the user's input (1) of the specific option displayed by the first electronic device, or may be the user's selection of the content of the conversation stored in the first electronic device Enter (two).
  • the first electronic device can obtain the content of the session 3, and can display a prompt box, the prompt
  • the box can be used to prompt the user whether to perform the information processing method provided in the embodiment of the present invention for the content of session 3; specifically, the prompt box can include: prompt information, such as "Do you want to process the content of session 3?", Confirm the option of processing the content of the session 3, such as a "yes” option, and confirm the option of not processing the content of the session 3, such as the "no" option.
  • the above-mentioned specific option may be an option for confirming the processing of the content of the session 3
  • the above-mentioned specific input may be the user's input for the option of confirming the processing of the content of the session 3
  • the content of the session targeted by the specific input is the content of the session 3.
  • the first electronic device can obtain the content of the conversation, and can store the obtained content of the conversation, for example, the first electronic device
  • the content of the acquired conversation can be stored in the communication application. Therefore, the user can trigger the first electronic device to select the content of at least one session (hereinafter referred to as session 4) from the stored session contents through the above-mentioned specific input.
  • the content of the session targeted by the above-mentioned specific input is the content of the session 4.
  • the electronic device may perform the information processing method provided by the embodiment of the present invention on the content of the session for which the specific input is directed.
  • the session 5 may be the above-mentioned session 3, or may be the above-mentioned session 4
  • the first electronic device can automatically identify the content.
  • the content of the conversation (for example, semantic analysis is performed on the content of the conversation 5) to obtain at least one piece of conversation information indicating different events in the content of the conversation 5.
  • the first electronic device may respectively determine the application program corresponding to each session information in the first electronic device. After the first electronic device determines the application program corresponding to each session information, for each session information, the first electronic device may create a task associated with the event indicated by the session information in an application program corresponding to the session information For example, the first electronic device may obtain the session information indicating the work report event in a session, and may determine that the application corresponding to the session information indicating the work report event is a desktop application, and may create a connection with the desktop application in the desktop application. Desktop widget tasks associated with work reporting events.
  • the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application, therefore It is possible that tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
  • the first electronic device can automatically process the content of a conversation immediately after acquiring the content of the conversation, without the need for the user to manually trigger, it can not only improve the processing The timeliness of the content of the conversation, and can simplify the process of processing the content of the conversation.
  • the first electronic device since the first electronic device can periodically perform centralized processing on the content of one or more sessions acquired by the first electronic device without manual triggering by the user, not only can the process of processing the content of the session be simplified, but also Improve the efficiency of the first electronic device to process the content of the session.
  • the first electronic device can select the content of a specific session according to the user's input, and process the content of the selected session, that is, the user can trigger the first electronic device to select
  • the content of the acquired conversation is processed locally, so the flexibility and convenience of processing the conversation can be improved.
  • an embodiment of the present invention provides an information processing method, and the method may include the following S201 to S203.
  • the first electronic device recognizes the content of the first session, and obtains at least one piece of session information.
  • the first conversation may be a conversation between the first electronic device and the second electronic device.
  • the content of the first conversation may indicate at least one event. That is, each session information in the at least one piece of session information may indicate one event of the at least one event, and different session information may indicate different events.
  • the first electronic device may immediately identify the content of the first session after acquiring the first session (that is, the above scenario 1), or may be in the execution cycle in which the first session is processed In the process of the internal conversation, the content of the first conversation (that is, the above-mentioned scenario 2) is recognized; or, after the user's specific input for the first conversation is received, the content of the first conversation (that is, the above-mentioned scenario 3) can be recognized, specifically It can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the first electronic device identifying the content of the first conversation may specifically be: the first electronic device performs semantic analysis on the content of the first conversation. After the first electronic device performs semantic analysis on the content of the first conversation, the first electronic device can determine at least one event indicated by the content of the first conversation, and then according to the determined events, the content of the first conversation can be selected from the content of the first conversation. The content indicating each event is extracted, so as to obtain the above-mentioned at least one piece of session information. It can be understood that one piece of session information is used to indicate one event, that is, each piece of session information in the at least one piece of session information can be used to indicate different events, and each piece of session information is part of the content of the first session.
  • the content of the session at least one event indicated by the content of the session, and session information indicating the event are exemplarily described below through specific examples.
  • session 4 the content of a session (hereinafter referred to as session 4) is:
  • the second electronic device tomorrow. Then we will travel together next Saturday.
  • the first electronic device OK.
  • the first electronic device can extract from the conversation 4 “to have dinner with Wang XX tomorrow” indicating the dinner invitation event and “to travel with Wang XX next Saturday” indicating the travel invitation event.
  • the above at least one piece of conversation information is two pieces of conversation information, and the two pieces of conversation information are respectively the content of conversation 4, indicating "tomorrow and Wang XX dinner” and indicating a travel invitation. The event of "Going to travel with Wang Moumou next Saturday.”
  • the first conversation may specifically be a conversation between the first electronic device and the second electronic device through a communication application.
  • the communication application program may be an application program that communicates via a subscriber identity module (SIM) SIM card (such as making and receiving calls, communicating through a mobile network, etc.), or may be an application program that communicates via a wireless network.
  • SIM subscriber identity module
  • the conversation form of the above-mentioned first conversation may be a text form, a voice form, or any other possible conversation form, which can be specifically determined according to actual use requirements.
  • the embodiment of the present invention Not limited.
  • the method for identifying the first conversation by the first electronic device may also be different.
  • the first electronic device may first convert the content of the first conversation into text form content through automatic speech recognition (ASR), and then use natural language processing Technology (natural language processing, NLP) recognizes the content of the text form.
  • ASR automatic speech recognition
  • NLP natural language processing Technology
  • the first electronic device can directly use NLP technology to identify the content of the first conversation, which can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • the first session may be an artificial intelligence (AI) AI session between the first electronic device and the second electronic device.
  • AI artificial intelligence
  • the AI session between the first electronic device and the second electronic device may be a session between a user in which the first electronic device replaces the first electronic device and the second electronic device; for example, ,
  • the first electronic device and the second electronic device are both AI devices.
  • it may be a conversation between the user of the first electronic device replacing the first electronic device and the user of the second electronic device; for example, the first electronic device is an AI device, and the second electronic device is a non-AI device.
  • it may be a conversation between the user of the first electronic device and the second electronic device; for example, the first electronic device is a non-AI device, and the second electronic device is an AI device.
  • the description of the specific process of the AI conversation between the first electronic device and the second electronic device will be described in detail in the following embodiments, and in order to avoid repetition, it will not be repeated here.
  • the first electronic device and the second electronic device can conduct an AI conversation, among the two electronic devices, when the user of one electronic device with the AI conversation function does not want or is inconvenient to communicate with the other electronic device During a conversation, the one electronic device can use the AI conversation function to have a conversation with the other electronic device, so that the flexibility and convenience of the conversation can be improved.
  • the first electronic device determines an application program corresponding to each session information according to the at least one piece of session information.
  • the application program corresponding to each session information and the aforementioned communication application program may be different applications in the first electronic device.
  • the application program corresponding to each session information may be any one of the following: an alarm clock application, a schedule application, a map application, a memo application, a note application, and a desktop application.
  • the foregoing S202 may be specifically implemented by the following S202a and S202b.
  • S202a For each piece of session information in the at least one piece of session information, the first electronic device obtains at least one piece of key information in the piece of session information.
  • each of the above-mentioned at least one piece of session information may include at least one piece of key information.
  • Each key information in the at least one piece of key information can be a keyword in the corresponding session information, can also be a keyword in the corresponding session information, or can be any other possible key information in the corresponding session information. It is determined according to actual usage requirements, and is not limited in the embodiment of the present invention.
  • each key information in the above at least one key information may be any one of the following: time information, date information, location information, name information, conversation intention information, conversation topic information, and so on.
  • time information can be: “11 o'clock”
  • date information can be "January 1, 2020”
  • location information can be "Beijing”
  • name information can be "Zhang Wu”
  • conversation intention information or the conversation subject information can be For "XX Conference” and so on.
  • the aforementioned at least one item of key information may be preset in the first electronic device by the manufacturer of the first electronic device, or it may be triggered by the user of the first electronic device to be set in the first electronic device.
  • Medium that is, user-defined, which can be specifically determined according to actual usage requirements, and is not limited in the embodiment of the present invention.
  • the first electronic device determines an application program that has an association relationship with each item of key information in the at least one item of key information as an application program corresponding to one piece of session information.
  • each key information in the above at least one item of key information may be associated with an application program, that is, each key information item may have an association relationship with an application program in the first electronic device, so that The application program corresponding to each session information may include an application program that has an association relationship with each key information in at least one item of key information.
  • At least one item of key information in one session information is 3 items of key information, namely: date information, address information, and session topic information; then, if date information is associated with a schedule application and address information is associated with a map application , The session theme information is associated with a desktop application, and the application corresponding to the session information in the first electronic device includes a calendar application, a map application, and a desktop application.
  • different key information can be associated with applications of different application types.
  • date information, address information, and session topic information are three different key information
  • calendar application, map application, and desktop application are three different application types.
  • the number of applications corresponding to the session information is equal to the number of key information in the session information . That is, there are several key information in a session information, and there are several applications corresponding to the session information.
  • the key information-associated application program may specifically be the association or binding of the key information and the application identifier of the application program.
  • the application identifier of the application program can be any identifier that can uniquely identify the application program, such as the application name and application number of the application program.
  • the manufacturer of the first electronic device or the user of the first electronic device may set the association relationship between the key information and the application program in the first electronic device in advance. Therefore, for one piece of session information, the first electronic device can obtain at least one item of key information in the session information; and then, each application program in the first electronic device that has an association relationship with the at least one piece of key information is determined to be related to the The application corresponding to the session information.
  • the first electronic device may create a task associated with the event indicated by the session information in each application program corresponding to the session information.
  • the method for the first electronic device to create a task associated with an event indicated by the session information will be described in detail in S203 below, and in order to avoid repetition, it will not be repeated here.
  • the first electronic device can accurately determine the application program corresponding to the session information according to the key information, so that In the determined application, according to the session information, a task associated with the event indicated by the session information is created.
  • the first electronic device can determine different applications according to the different key information.
  • Types of applications so that different types of tasks associated with the event indicated by the session information can be created in applications of different application types. In this way, not only the flexibility of task creation can be improved, but also the events indicated by the session information can be reminded to the user from multiple dimensions.
  • the first electronic device For each session information in at least one piece of session information, the first electronic device creates a task associated with an event indicated by one piece of session information in an application program corresponding to one piece of session information.
  • the first electronic device after the first electronic device determines the application program corresponding to a piece of session information, it can run the determined application program, so that a task associated with the event indicated by the session information can be created in the determined application program. .
  • the application determined to be run by the first electronic device may be the determined application being run in the foreground of the first electronic device, or may be the application being run in the background of the first electronic device.
  • the determined application program may be specifically determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the calling interface of the communication application (hereinafter referred to as calling interface 1) and the calling interface of the application corresponding to each session information (hereinafter referred to as calling interface) may be preset in the first electronic device.
  • Interface 2 the communication application program and the application program corresponding to the session information can call each other through the above-mentioned calling interface 1 and the calling interface 2, so as to realize the information interaction between the communication application program and the application program corresponding to the session information.
  • the first electronic device when the first electronic device creates a task associated with an event indicated by the session information in an application program corresponding to the session information, the first electronic device may first use the above-mentioned calling interface 1 and calling Interface 2 calls (ie copies) the session information in the communication application to the application corresponding to the session information, and then creates an event associated with the event indicated by the session information in the application corresponding to the session information Task.
  • the number of applications corresponding to one piece of session information is different, the number of tasks associated with the event indicated by the session information created by the electronic device is also different.
  • the first electronic device may create a task associated with the event indicated by the session information in each application program corresponding to the session information.
  • a piece of session information indicates an invitation event
  • the number of applications corresponding to the session information is three, namely: an alarm clock application, a calendar application, and a desktop application
  • the first electronic device can be in the alarm clock
  • An alarm task associated with the invitation event is created in the application
  • a schedule task associated with the invitation event is created in the calendar application
  • a desktop pendant task associated with the invitation event is created in the desktop application.
  • the first electronic device creates the task associated with the event indicated by the session information in the application program corresponding to the session information.
  • the type may also be different.
  • the task type can be a reminder type, a record type, or any other possible task types.
  • the task can be: an alarm task or a schedule task; when the type of a task is a record type, the task can be a memo task or a desktop widget task.
  • the task created by the first electronic device may include the name of the task, the execution condition of the task, the execution mode of the task, and the task remarks, etc., which can be determined according to actual usage requirements.
  • the examples are not limited.
  • the task name of a task may be the conversation topic information or the conversation intention information in the corresponding conversation information.
  • the execution condition of a task refers to the condition for executing the task. Specifically, the execution condition of the task can be determined according to the time information, location information, or date information in the corresponding session information.
  • the execution mode of a task can be display mode or ringing mode, etc., which can be determined according to the task type of the task.
  • the task remark information of a task may be session information indicating an event associated with the task, for example, it may be "tomorrow to have dinner with Wang.
  • the foregoing S203 may be specifically implemented by the following S203a.
  • the first electronic device respectively creates a task associated with an event indicated by one piece of session information in an application program that has an association relationship with each piece of key information in at least one piece of key information.
  • the first electronic device determines an application program that has an association relationship with each key information in at least one item of key information, for each determined application program, it can be based on the application type of the application program and including the at least A key piece of session information, which creates a task associated with the event indicated by the session information in the application.
  • a piece of conversation information indicates a travel invitation event
  • at least one piece of key information in the conversation information includes: conversation topic information and date information
  • an application program in the first electronic device that has an association relationship with the conversation topic information Is a memo application
  • the application associated with date information is a calendar application
  • the first electronic device can determine the memo application corresponding to the conversation information according to the conversation topic information, and according to the conversation information
  • a memo task associated with the travel invitation event is created, where the memo task includes date information of the conversation information, conversation subject information, conversation intention information, location information, name information, and so on.
  • the first electronic device may determine the schedule application corresponding to the session information according to the date information, and create a schedule task associated with the travel invitation event in the schedule application according to the main content in the session information , Where the schedule task includes date information of the conversation information, conversation subject information, conversation intention information, location information, name information, and so on.
  • each task created by the first electronic device and associated with an event indicated by the session information includes the main content in the session information.
  • the first electronic device can create a task associated with the event indicated by the session information in the application program corresponding to the session information according to the main content in the session information, when the user needs to view a certain During the session information, the user can directly determine the application corresponding to the main content according to the main content in the session information, so that the task associated with the event indicated by the session information can be quickly found in the determined application. Knowing the session information through this task can simplify the process for the user to search for the session information and shorten the search time.
  • the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create an event association in the application with the event indicated by the session information Therefore, tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
  • the task associated with the event indicated by the session information is a reminder task
  • the first electronic device can perform the task to remind the user of the first electronic device of the event associated with the task.
  • the information processing method provided in the embodiment of the present invention may further include the following S204.
  • the execution condition of the task associated with the event may also be different.
  • the execution condition of the alarm clock task can be a specific time; specifically, if the execution condition of an alarm clock task is 18:30, the first electronic device can be When the system time is 18:30, the alarm task is executed, which can be ringing or vibrating.
  • the execution condition of the schedule task can be a specific date; specifically, if the execution condition of a schedule task is February 8, 2020, the first electronic The device can perform the scheduled task on February 8, 2020, which can be ringing, vibrating, or displaying a prompt message.
  • the execution condition of the desktop widget task can be that the task of creating the desktop widget is completed; specifically, the first electronic device can be completed after the task of creating the desktop widget is completed ,
  • the desktop pendant task specifically, it may be to display a desktop pendant on the desktop of the first electronic device.
  • the first electronic device can execute the event when the execution condition of the task is met, it can accurately and timely remind the user of the task-related event, thereby avoiding the user from missing the task-related event. event.
  • the first conversation is an AI conversation between the first electronic device and the second electronic device
  • the content of the first conversation is recognized on the first electronic device, that is, the first electronic device executes the foregoing Before S201
  • the first electronic device may first conduct an AI session with the second electronic device, so that after the AI session ends, the first electronic device may obtain the first session.
  • the process in which the first electronic device uses the AI conversation function to conduct an AI conversation with the second electronic device will be exemplarily described below.
  • the first electronic device when the first electronic device receives the session request sent by the second electronic device and meets a preset condition, the first electronic device can use the AI session function to have a session with the second electronic device, so that the first electronic device can be AI conversation between the electronic device and the second electronic device.
  • the foregoing preset condition may be (1).
  • the user of the first electronic device does not perform any input within a preset period of time after the first electronic device receives the foregoing session request.
  • it may be (2).
  • the user of the first electronic device performs a target input after the first electronic device receives the above-mentioned session request, and the target input can be used to trigger the first electronic device to use the AI conversation function with other electronic devices. Conversation.
  • the first electronic device can automatically use the AI conversation function to have a conversation with the second electronic device.
  • the first electronic device when the first electronic device receives an incoming call request from the second electronic device, the first electronic device may display the session request interface of the session application.
  • the session request interface may include the first control, the first The control can be used to trigger the first electronic device to adopt the AI conversation function. Therefore, if the user of the first electronic device is inconvenient or does not want to answer the phone, the user of the first electronic device can perform the above-mentioned target input on the first control to trigger the first electronic device to use the AI conversation function to have a conversation with the second electronic device .
  • a conversational intention (hereinafter referred to as a preset conversational intention) and a speech technique corresponding to the preset conversational intention (hereinafter referred to as a preset conversational intention) may be preset in the communication application of the first electronic device.
  • Set words For example, a meal invitation can be set in advance, and the preset speech skills corresponding to the meal invitation can be set as: "Huashu one, when, speech two, where to eat".
  • the first electronic device when the first electronic device uses the AI conversation function to conduct a conversation with the second electronic device, the first electronic device may compare the message sent by the second electronic device with the preset intention. When it is determined that a certain message sent by the second electronic device matches a certain preset intention, the first electronic device can determine the user's call intention of the second electronic device, so that the first electronic device can send the message to the second electronic device.
  • the preset speech technique corresponding to the preset conversation intention so that the AI conversation can be conducted smoothly.
  • the first electronic device may first send the above-mentioned phrase one, namely "when" to the second electronic device, and then receive the second electronic device. After the reply message sent by the electronic device, the above-mentioned technique one, that is, "where to eat" is sent to the second electronic device.
  • the first electronic device may determine the conversation intention of the second electronic device in the following two ways.
  • the first electronic device may send a guide message to the second electronic device to prompt the user of the second electronic device to indicate the intention of the conversation.
  • the guidance information may be used to instruct the second electronic device to send a specific instruction, where a specific instruction corresponds to a preset conversation intention; thus, the first electronic device may determine the second electronic device according to the specific instruction sent by the second electronic device.
  • the conversational intent of the electronic device can also be called an active way.
  • specific instructions may include, but are not limited to: prompting the caller to enter numbers/letters/passwords, prompting the caller to operate physical keys/gestures/tap specific options on the screen, and other arbitrary User-definable instructions.
  • the first electronic device can send general speech (usually the speech preset by the manufacturer of the first electronic device) to the second electronic device to have a conversation with the second electronic device, and send the message to the second electronic device in real time.
  • the message is recognized until the first electronic device recognizes a message matching a certain preset conversation intention from the message sent by the second electronic device, the first electronic device can determine the preset conversation intention as the second electronic device Conversational intent.
  • this way can also be called a passive way.
  • the first electronic device may be configured with options for selecting method one and method two.
  • the user of the first electronic device can trigger the first electronic device according to actual usage requirements.
  • An electronic device selects method 1 and/or method 2 to determine the conversation intention of the second electronic device, so that when the first electronic device adopts the AI conversation function, the method selected by the first electronic device can be used to determine the second electronic device’s Conversational intent.
  • the foregoing preset conversation intention and preset speech may be preset by the manufacturer of the first electronic device, or may be triggered by the user of the first electronic device, which may be specifically set according to actual use. The requirement is determined, and the embodiment of the present invention does not limit it.
  • the user of the first electronic device when the preset speech technique is triggered by the user of the first electronic device, the user of the first electronic device can trigger the setting of the number of conversation rounds, the specific speech technique in each round of conversation, and The sounds and the like used in each round of conversation can be specifically determined according to actual usage requirements, which are not limited in the embodiment of the present invention.
  • the first electronic device may randomly select a speech reply when executing the round of conversation, as shown in Table 2 below for example:
  • the first electronic device uses the AI conversation function, multiple conversation intentions, words corresponding to each conversation intention can be preset in the first electronic device, and other electronic equipment (for example, the first electronic device) can be determined in advance.
  • other electronic equipment for example, the first electronic device
  • the first electronic device can quickly determine the conversation intention of the second electronic device and use the The words corresponding to the conversation intention are replies to the second electronic device, so the fluency of the AI conversation can be improved, and the caller can get a good conversation experience.
  • an embodiment of the present invention provides an electronic device 600.
  • the electronic device 600 is a first electronic device and may include: an identification module 601, a determination module 602, and a creation module 603.
  • the identification module 601 may be used to identify the content of the first session to obtain at least one piece of session information. Different session information may indicate different events.
  • the first session may be a session between the first electronic device and the second electronic device;
  • the determining module 602 Can be used to determine the application program corresponding to each session information according to at least one piece of session information identified by the identification module 601;
  • the creation module 603 can be used for each session information identified by the identification module 601, in a session information corresponding In the application, create a task with an event indicated by the session information.
  • the first conversation may be an artificial intelligence AI conversation between the first electronic device and the second electronic device.
  • the determining module 602 may be specifically configured to obtain at least one item of key information in one piece of session information for each session information; and compare it with each key item in the at least one piece of key information.
  • An application program whose information has an association relationship is determined as an application program corresponding to a piece of session information.
  • the creation module 603 may be specifically used to create tasks associated with an event indicated by the session information in an application program that has an association relationship with each key information.
  • the electronic device 600 may further include an execution module 604; the execution module 604 may be used to create an event association with a session information indication in the creation module After the task, if the execution conditions of the task are met, the task is executed.
  • the electronic device 600 provided by the embodiment of the present invention can implement the various processes implemented by the electronic device shown in the foregoing method embodiments. To avoid repetition, details are not described herein again.
  • An embodiment of the present invention provides an electronic device, and the electronic device may be a first electronic device.
  • the first electronic device can identify the content of the first session (the session between the first electronic device and the second electronic device), obtain at least one piece of session information, and different session information indicates different events; and according to the at least one piece of session information, determine the An application program corresponding to one session information; and for each session information, in an application program corresponding to one session information, a task associated with an event indicated by the one session information is created.
  • the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application Therefore, tasks associated with events indicated by different session information may be located in different applications.
  • the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device.
  • Search in a large amount of stored conversation content in sequence which can simplify the process of users searching for conversation information and shorten the search time.
  • FIG. 8 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , The processor 110, and the power supply 111 and other components.
  • the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the processor 110 is used to identify the content of the first session to obtain at least one piece of session information; and according to the at least one piece of session information, determine the application program corresponding to each session information; and for each session information, in a session In the application corresponding to the information, a task associated with an event indicated by one session information is created; different session information indicates different events, and the first session is a session between the first electronic device and the second electronic device.
  • the identification module 601, the determination module 602, and the creation module 603 in the structural schematic diagram of the above-mentioned electronic device (for example, FIG. 6), and the execution module in the structural schematic diagram of the above-mentioned electronic device (for example, FIG. 7) 604 can be implemented by the above-mentioned processor 110.
  • An embodiment of the present invention provides an electronic device, and the electronic device may be a first electronic device.
  • the first electronic device can identify the content of the first session (the session between the first electronic device and the second electronic device), obtain at least one piece of session information, and different session information indicates different events; and according to the at least one piece of session information, determine the An application program corresponding to one session information; and for each session information, in an application program corresponding to one session information, a task associated with an event indicated by the one session information is created.
  • the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application Therefore, tasks associated with events indicated by different session information may be located in different applications.
  • the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device.
  • Search in a large amount of stored conversation content in sequence which can simplify the process of users searching for conversation information and shorten the search time.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the graphics processing unit 1041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more components in the electronic device 100 or can be used to connect the electronic device 100 and the external device. Transfer data between.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention also provides an electronic device, including a processor 110 as shown in FIG. 8, a memory 109, a computer program stored in the memory 109 and running on the processor 110, the computer
  • the program is executed by the processor 110, each process of the foregoing method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not described herein again.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.

Abstract

Provided are an information processing method and an electronic device. The method is applied to a first electronic device. The method comprises: identifying the content of a first session to obtain at least one piece of session information, wherein different pieces of session information indicate different events, and the first session is a session between a first electronic device and a second electronic device; determining, according to the at least one piece of session information, an application program corresponding to each piece of session information; and for each piece of session information, creating, in an application program corresponding to the session information, a task associated with an event indicated by the session information.

Description

信息处理方法及电子设备Information processing method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年01月21日在中国提交的中国专利申请号No.202010076223.1的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010076223.1 filed in China on January 21, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种信息处理方法及电子设备。The embodiments of the present invention relate to the field of communication technologies, and in particular, to an information processing method and electronic equipment.
背景技术Background technique
随着电子技术的发展,电子设备的功能越来越丰富,例如,电子设备可以代替用户接听电话。With the development of electronic technology, the functions of electronic devices are becoming more and more abundant. For example, electronic devices can answer calls instead of users.
具体地,电子设备可以以预设话术与来电者进行对话,在对话过程中,电子设备可以向电子设备的用户实时展示对话内容。并且,在对话结束后,电子设备可以存储对话内容,从而,当用户需求查看某个对话内容时,用户可以依次在电子设备存储的对话内容中查找,以找到该对话内容。Specifically, the electronic device may conduct a dialogue with the caller using a preset speech technique. During the dialogue, the electronic device may display the content of the dialogue to the user of the electronic device in real time. In addition, after the conversation ends, the electronic device can store the conversation content, so that when the user needs to view a certain conversation content, the user can sequentially search the conversation content stored in the electronic device to find the conversation content.
然而,按照上述方法,当电子设备中存储的对话内容的数量较多时,用户可能无法快速地查找到用户需求查看的对话内容,从而可能导致用户查找对话内容的过程繁琐耗时。However, according to the above method, when the amount of conversation content stored in the electronic device is large, the user may not be able to quickly find the conversation content that the user needs to view, which may cause the user to find the conversation content cumbersome and time-consuming.
发明内容Summary of the invention
本发明实施例提供一种信息处理方法及电子设备,以解决用户查找对话内容的过程繁琐耗时的问题。The embodiments of the present invention provide an information processing method and an electronic device, so as to solve the problem of cumbersome and time-consuming processes for users to search for dialogue content.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
第一方面,本发明实施例提供了一种信息处理方法,该方法可以应用于第一电子设备,该方法包括,识别第一会话的内容,得到至少一个会话信息;且根据至少一个会话信息,确定与每个会话信息对应的应用程序;以及对于每个会话信息,在一个会话信息对应的应用程序中,创建与该会话信息指示的事件关联的任务;其中,不同会话信息指示不同事件,第一会话为第一电子设备与第二电子设备之间的会话。In the first aspect, an embodiment of the present invention provides an information processing method that can be applied to a first electronic device. The method includes identifying the content of the first session to obtain at least one piece of session information; and according to the at least one piece of session information, Determine the application program corresponding to each session information; and for each session information, create a task associated with the event indicated by the session information in an application program corresponding to the session information; where different session information indicates different events. A session is a session between the first electronic device and the second electronic device.
第二方面,本发明实施例提供了一种电子设备,该电子设备可以为第一电子设备,该电子设备包括:识别模块、确定模块和创建模块;识别模块,用于识别第一会话的内容,得到至少一个会话信息,不同会话信息指示不同事件,第一会话为第一电子设备与第二电子设备之间的会话;确定模块,用于根据识别模块识别的至少一个会话信息,确定与每个会话信息对应的应用程序;创建模块,用于对于识别模块识别的每个会话信息,在一个会话信息对应的应用程序中,创建与该会话信息指示的事件关联的 任务。In a second aspect, an embodiment of the present invention provides an electronic device, which may be a first electronic device, and the electronic device includes: an identification module, a determination module, and a creation module; the identification module is used to identify the content of the first session , Obtain at least one piece of session information, different session information indicates different events, the first session is the session between the first electronic device and the second electronic device; the determining module is used to determine and each session information according to the at least one session information identified by the identification module An application program corresponding to the session information; a creation module for creating a task associated with an event indicated by the session information in an application program corresponding to the session information for each session information identified by the identification module.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时可以实现上述第一方面的信息处理方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor The steps of the information processing method of the first aspect described above can be realized at the time.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时可以实现上述第一方面的信息处理方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the information processing method of the first aspect.
第五方面,本发明实施例提供了一种计算机程序产品,该计算机程序产品被至少一个处理器执行以实现上述第一方面的信息处理方法。In a fifth aspect, an embodiment of the present invention provides a computer program product, which is executed by at least one processor to implement the information processing method of the first aspect described above.
第六方面,本发明实施例提供了一种电子设备,包括电子设备被配置成用于执行如上述第一方面的信息处理方法。In a sixth aspect, an embodiment of the present invention provides an electronic device, including an electronic device configured to execute the information processing method of the above-mentioned first aspect.
在本发明实施例中,第一电子设备可以识别第一会话(为第一电子设备与第二电子设备之间的会话)的内容,得到至少一个会话信息,不同会话信息指示不同事件;且根据至少一个会话信息,确定与每个会话信息对应的应用程序;以及对于每个会话信息,在一个会话信息对应的应用程序中,创建与该会话信息指示的事件关联的任务。通过该方案,由于第一电子设备可以根据其与其他电子设备之间的会话信息,确定与该会话信息对应的应用程序,然后自动在该应用程序中创建与该会话信息指示的事件关联的任务,因此可以使得与不同会话信息指示的事件关联的任务可能位于不同应用程序中。如此,用户可以根据其查找需求,在与该需求相关的应用程序中快速地查找到满足该需求的任务,并通过该任务即可获知满足该需求的会话信息,而无需再在第一电子设备存储的大量会话内容中依次查找,从而可以简化用户查找会话信息的过程,缩短查找时长。In the embodiment of the present invention, the first electronic device can identify the content of the first session (the session between the first electronic device and the second electronic device), and obtain at least one piece of session information, and different session information indicates different events; and At least one piece of session information determines an application program corresponding to each session information; and for each session information, in an application program corresponding to one session information, a task associated with an event indicated by the session information is created. With this solution, the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application Therefore, tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
附图说明Description of the drawings
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的信息处理方法的示意图之一;FIG. 2 is one of the schematic diagrams of an information processing method provided by an embodiment of the present invention;
图3为本发明实施例提供的信息处理方法的示意图之二;Fig. 3 is a second schematic diagram of an information processing method provided by an embodiment of the present invention;
图4为本发明实施例提供的信息处理方法的示意图之三;FIG. 4 is a third schematic diagram of an information processing method provided by an embodiment of the present invention;
图5为本发明实施例提供的信息处理方法的示意图之四;Fig. 5 is a fourth schematic diagram of an information processing method provided by an embodiment of the present invention;
图6为本发明实施例提供的电子设备的结构示意图之一;FIG. 6 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention;
图7为本发明实施例提供的电子设备的结构示意图之二;FIG. 7 is the second structural diagram of an electronic device provided by an embodiment of the present invention;
图8为本发明实施例提供的电子设备的硬件示意图。FIG. 8 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明 中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article refers to an association relationship that describes associated objects, which means that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone These three situations. The symbol "/" in this document represents the relationship that the associated object is or, for example, A/B represents A or B.
本文中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一电子设备和第二电子设备等是用于区别不同的电子设备,而不是用于描述电子设备的特定顺序。The terms "first" and "second" in this document are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe the specific order of the electronic devices.
在本发明实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" means two or more than two, for example, a plurality of elements means two or more elements, and so on.
下面首先对本发明的权利要求书和说明书中涉及的一些名词或者术语进行解释说明。The following first explains some terms or terms involved in the claims and specification of the present invention.
会话意图:是指主叫方(例如本发明实施例中的第二电子设备的用户)触发一个会话的目的。本发明实施例中,会话意图可以包括但不限于:工作汇报、约开会/吃饭时间、待办事件提醒、产品介绍等。Conversation intention: refers to the purpose of the calling party (for example, the user of the second electronic device in the embodiment of the present invention) triggering a conversation. In the embodiment of the present invention, the conversation intention may include, but is not limited to: work report, meeting/meal appointment time, reminder of to-do events, product introduction, etc.
前台运行:是指应用程序在电子设备中的一种运行状态。具体的,一个应用程序在电子设备的前台运行,是指电子设备的显示屏上显示该应用程序的用户界面,且用户可以通过在该用户界面上输入,实现与该应用程序交互。Foreground running: refers to a running state of an application in an electronic device. Specifically, an application running in the foreground of an electronic device means that the user interface of the application is displayed on the display screen of the electronic device, and the user can interact with the application by inputting on the user interface.
后台运行:是指应用程序在电子设备中的一种运行状态。具体的,一个应用程序在电子设备的后台运行,是指应用程序在电子设备的资源管理器中运行,且电子设备的显示屏上一般不显示该应用程序的用户界面。用户需要使用或者查看该应用程序时,可以先触发电子设备将该应用程序切换为前台运行,然后再使用或者查看该应用程序。Background running: refers to a running state of an application in an electronic device. Specifically, an application program runs in the background of an electronic device, which means that the application program runs in the resource manager of the electronic device, and the user interface of the application program is generally not displayed on the display screen of the electronic device. When the user needs to use or view the application, he can trigger the electronic device to switch the application to the foreground, and then use or view the application.
需要说明的是,对于前台运行的应用程序,用户可以触发电子设备将其切换至后台运行。对于后台运行的应用程序,用户也可以触发电子设备将其切换至前台运行。且无论应用程序在电子设备的前台运行还是后台运行时,该应用程序均可以与其他应用程序进行数据交换。It should be noted that, for an application running in the foreground, the user can trigger the electronic device to switch it to run in the background. For applications running in the background, the user can also trigger the electronic device to switch to the foreground to run. And no matter when the application is running in the foreground or the background of the electronic device, the application can exchange data with other applications.
本发明实施例提供一种信息处理方法及电子设备,该信息处理方法可以应用于第一电子设备。第一电子设备可以识别第一会话(为第一电子设备与第二电子设备之间的会话)的内容,得到至少一个会话信息,不同会话信息指示不同事件;且根据至少一个会话信息,确定与每个会话信息对应的应用程序;以及对于每个会话信息,在一个会话信息对应的应用程序中,创建与该会话信息指示的事件关联的任务。通过该方案,由于第一电子设备可以根据其与其他电子设备之间的会话信息,确定与该会话信息对应的应用程序,然后自动 在该应用程序中创建与该会话信息指示的事件关联的任务,因此可以使得与不同会话信息指示的事件关联的任务可能位于不同应用程序中。如此,用户可以根据其查找需求,在与该需求相关的应用程序中快速地查找到满足该需求的任务,并通过该任务即可获知满足该需求的会话信息,而无需再在第一电子设备存储的大量会话内容中依次查找,从而可以简化用户查找会话信息的过程,缩短查找时长。The embodiments of the present invention provide an information processing method and an electronic device, and the information processing method can be applied to a first electronic device. The first electronic device can identify the content of the first session (the session between the first electronic device and the second electronic device), obtain at least one piece of session information, and different session information indicates different events; and based on the at least one piece of session information, determine and An application program corresponding to each session information; and for each session information, in an application program corresponding to one session information, a task associated with the event indicated by the session information is created. With this solution, the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application Therefore, tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
本发明实施例中的电子设备(例如第一电子设备或第二电子设备)可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device (for example, the first electronic device or the second electronic device) in the embodiment of the present invention may be an electronic device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍本发明实施例提供的信息处理方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the information processing method provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In Figure 1, the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。示例性地,应用程序层可以包括本发明实施例中的第一电子设备中的各个应用程序;如:闹钟应用程序、日程应用程序、备忘录应用程序和桌面应用程序等任意可能的应用程序。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system. Exemplarily, the application layer may include various applications in the first electronic device in the embodiment of the present invention; for example, any possible applications such as an alarm clock application, a schedule application, a memo application, and a desktop application.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。例如,可以基于应用程序框架层开发本发明实施例中涉及的应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework. For example, the application program involved in the embodiment of the present invention can be developed based on the application program framework layer.
一般,本发明实施例中的应用程序可以包括两部分,以桌面应用程序为例,一部分是指运行在电子设备后台的桌面服务(service),用于在与一个会话信息的某项关键信息(例如本发明实施例中的至少一项关键信息中的关键信息)具有关联关系的应用程序中,创建与该会话信息指示的事件关联的桌面挂件任务等;另一部分是指显示在电子设备屏幕上的内容,例如第一电子设备屏幕上显示的该桌面挂件任务。Generally, the application in the embodiment of the present invention may include two parts. Taking a desktop application as an example, one part refers to a desktop service running in the background of an electronic device, which is used to communicate with a certain key information of a session information ( For example, the key information in at least one item of key information in the embodiment of the present invention) In an application with an association relationship, create a desktop widget task associated with the event indicated by the session information; the other part refers to the display on the screen of the electronic device Content, such as the desktop pendant task displayed on the screen of the first electronic device.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的信息处理方法的软件程序,从而使得该信息处理方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的信息处理方法。Taking the Android operating system as an example, in the embodiment of the present invention, developers can develop software programs that implement the information processing method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The processing method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the information processing method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。示例性地,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿 戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). Assistant, PDA), etc. The non-mobile electronic device may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
本发明实施例提供的信息处理方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该信息处理方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的信息处理方法进行示例性地说明。The execution subject of the information processing method provided by the embodiments of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the information processing method, and the details may be determined according to actual use requirements. The embodiments of the present invention are not limited. The following takes an electronic device as an example to exemplarily describe the information processing method provided by the embodiment of the present invention.
本发明实施例中,一个电子设备可以在其与其他电子设备结束会话之后,获取该会话的内容。并且,电子设备在获取会话的内容之后,可以对该会话的内容执行本发明实施例提供的信息处理方法。具体地,电子设备可以在下述三种场景(即下述的场景1、场景2、场景3)中对其获取的会话的内容执行本发明实施例提供的信息处理方法。In the embodiment of the present invention, an electronic device can obtain the content of the conversation after it ends the conversation with other electronic devices. In addition, after acquiring the content of the session, the electronic device may execute the information processing method provided by the embodiment of the present invention on the content of the session. Specifically, the electronic device may execute the information processing method provided by the embodiment of the present invention on the content of the acquired session in the following three scenarios (ie, the following scenario 1, scenario 2, and scenario 3).
下面分别对上述场景1、上述场景2和上述场景3进行示例性地说明。The above scenario 1, the above scenario 2 and the above scenario 3 will be exemplarily described below.
场景1、第一电子设备可以在每次与其他电子设备结束会话之后,自动执行一次本发明实施例提供的信息处理方法。Scenario 1. The first electronic device may automatically execute the information processing method provided in the embodiment of the present invention every time after ending a conversation with other electronic devices.
本发明实施例中,在场景1中,在第一电子设备与其他电子设备结束一次会话(以下称为会话1)之后,第一电子设备即可获取会话1的内容,然后第一电子设备可以自动识别会话1的内容(例如,对会话1的内容进行语义分析),以得到该会话1的内容中指示不同事件的至少一个会话信息。然后,第一电子设备可以分别确定第一电子设备中与每个会话信息对应的应用程序。在第一电子设备确定出与每个会话信息对应的应用程序之后,对于每个会话信息,第一电子设备可以在一个会话信息对应的应用程序中,创建与该会话信息指示的事件关联的任务,例如,第一电子设备可以得到该会话1的内容中指示一个吃饭邀约事件的会话信息,且可以确定与该会话信息对应的应用程序为闹钟应用程序,以及可以在闹钟应用程序中创建与该吃饭邀约事件关联的闹钟任务。从而,由于第一电子设备可以根据其与其他电子设备之间的会话信息,确定与该会话信息对应的应用程序,然后自动在该应用程序中创建与该会话信息指示的事件关联的任务,因此可以使得与不同会话信息指示的事件关联的任务可能位于不同应用程序中。如此,用户可以根据其查找需求,在与该需求相关的应用程序中快速地查找到满足该需求的任务,并通过该任务即可获知满足该需求的会话信息,而无需再在第一电子设备存储的大量会话内容中依次查找,从而可以简化用户查找会话信息的过程,缩短查找时长。In the embodiment of the present invention, in scenario 1, after the first electronic device ends a session with other electronic devices (hereinafter referred to as session 1), the first electronic device can obtain the content of session 1, and then the first electronic device can The content of the conversation 1 is automatically identified (for example, semantic analysis is performed on the content of the conversation 1) to obtain at least one piece of conversation information indicating different events in the content of the conversation 1. Then, the first electronic device may respectively determine the application program corresponding to each session information in the first electronic device. After the first electronic device determines the application program corresponding to each session information, for each session information, the first electronic device may create a task associated with the event indicated by the session information in an application program corresponding to the session information For example, the first electronic device can obtain the conversation information indicating a meal invitation event in the content of the conversation 1, and can determine that the application corresponding to the conversation information is an alarm clock application, and can create a connection with the alarm clock application in the alarm clock application. The alarm task associated with the dinner invitation event. Therefore, since the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application, therefore It is possible that tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
场景2、第一电子设备可以周期性地自动执行本发明实施例提供的信息处理方法,即第一电子设备可以每隔一段时间对该段时间获取到的会话的内容自动执行一次本发明实施例提供的信息处理方法。Scenario 2. The first electronic device can periodically automatically execute the information processing method provided in the embodiment of the present invention, that is, the first electronic device can automatically execute the embodiment of the present invention once at a certain period of time for the content of the session acquired during this period of time. Provide information processing methods.
本发明实施例中,在场景2中,在每个执行周期内,第一电子设备每次与其他电子设备结束会话之后,第一电子设备均可获取该会话的内容,然后第一电子设备可以在每个执 行周期(可以为预设的周期,例如每24个小时为一个执行周期)内的固定时间,自动对该执行周期内获取的会话的内容执行本发明实施例提供的信息处理方法。具体的,对于该执行周期内获取的每个会话(以下称为会话2)的内容,第一电子设备可以自动识别该会话2的内容(例如,对会话2的内容进行语义分析),以得到该会话2的内容中指示不同事件的至少一个会话信息。然后,第一电子设备可以分别确定第一电子设备中,与每个会话信息对应的应用程序。在第一电子设备确定出与每个会话信息对应的应用程序之后,对于每个会话信息,第一电子设备可以在一个会话信息对应的应用程序中,创建与该会话信息指示的事件关联的任务,例如,第一电子设备可以得到会话2中指示工作汇报事件的会话信息,且可以确定与指示工作汇报事件的会话信息对应的应用程序为桌面应用程序,以及可以在桌面应用程序中创建与该工作汇报事件关联的桌面挂件任务。从而,由于第一电子设备可以根据其与其他电子设备之间的会话信息,确定与该会话信息对应的应用程序,然后自动在该应用程序中创建与该会话信息指示的事件关联的任务,因此可以使得与不同会话信息指示的事件关联的任务可能位于不同应用程序中。如此,用户可以根据其查找需求,在与该需求相关的应用程序中快速地查找到满足该需求的任务,并通过该任务即可获知满足该需求的会话信息,而无需再在第一电子设备存储的大量会话内容中依次查找,从而可以简化用户查找会话信息的过程,缩短查找时长。In the embodiment of the present invention, in scenario 2, in each execution cycle, after the first electronic device ends a conversation with other electronic devices, the first electronic device can obtain the content of the conversation, and then the first electronic device can At a fixed time in each execution period (which may be a preset period, for example, every 24 hours is an execution period), the information processing method provided by the embodiment of the present invention is automatically executed on the content of the session acquired in the execution period. Specifically, for the content of each session (hereinafter referred to as session 2) acquired during the execution period, the first electronic device can automatically identify the content of the session 2 (for example, perform semantic analysis on the content of the session 2) to obtain The content of the session 2 indicates at least one piece of session information of different events. Then, the first electronic device may respectively determine the application program corresponding to each session information in the first electronic device. After the first electronic device determines the application program corresponding to each session information, for each session information, the first electronic device may create a task associated with the event indicated by the session information in an application program corresponding to the session information For example, the first electronic device may obtain the session information indicating the work report event in Session 2, and may determine that the application corresponding to the session information indicating the work report event is a desktop application, and may create a connection with the desktop application in the desktop application. Desktop widget tasks associated with work reporting events. Therefore, since the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application, therefore It is possible that tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
场景3、第一电子设备可以在用户的特定输入的触发下,执行本发明实施例提供的信息处理方法。具体地,第一电子设备可以对在接收到该特定输入之前获取到的会话的内容中,该特定输入针对的会话的内容执行本发明实施例提供的信息处理方法。Scenario 3: The first electronic device may execute the information processing method provided in the embodiment of the present invention under the trigger of a specific input of the user. Specifically, the first electronic device may perform the information processing method provided by the embodiment of the present invention on the content of the session for which the specific input is obtained from the content of the conversation acquired before the specific input is received.
本发明实施例中,在场景3中,上述特定输入可以为用户对第一电子设备显示的特定选项的输入(一),或者,可以为用户对第一电子设备中存储的会话的内容的选择输入(二)。In the embodiment of the present invention, in scenario 3, the above-mentioned specific input may be the user's input (1) of the specific option displayed by the first electronic device, or may be the user's selection of the content of the conversation stored in the first electronic device Enter (two).
在上述(一)中,在第一电子设备与其他电子设备结束一次会话(以下称为会话3)之后,第一电子设备即可获取该会话3的内容,并可以显示一个提示框,该提示框可以用于提示用户是否对该会话3的内容执行本发明实施例提供的信息处理方法;具体的,该提示框可以包括:提示信息,例如“是否对该会话3的内容进行处理?”,确认处理该会话3的内容的选项,例如“是”选项,以及确认不处理该会话3的内容的选项,例如“否”选项。上述特定选项可以为确认处理该会话3的内容的选项,上述特定输入可以为用户对确认处理该会话3的内容的选项的输入,该特定输入针对的会话的内容为该会话3的内容。In the above (1), after the first electronic device ends a session with other electronic devices (hereinafter referred to as session 3), the first electronic device can obtain the content of the session 3, and can display a prompt box, the prompt The box can be used to prompt the user whether to perform the information processing method provided in the embodiment of the present invention for the content of session 3; specifically, the prompt box can include: prompt information, such as "Do you want to process the content of session 3?", Confirm the option of processing the content of the session 3, such as a "yes" option, and confirm the option of not processing the content of the session 3, such as the "no" option. The above-mentioned specific option may be an option for confirming the processing of the content of the session 3, the above-mentioned specific input may be the user's input for the option of confirming the processing of the content of the session 3, and the content of the session targeted by the specific input is the content of the session 3.
在上述(二)中,第一电子设备每次与其他电子设备结束会话之后,第一电子设备均可获取该会话的内容,且可以存储获取到的该会话的内容,例如,第一电子设备可以在通讯应用程序中存储获取到的会话的内容。从而用户可以通过上述特定输入触发第一电子设备从存储的这些会话内容中,选中至少一个会话(以下称为会话4)的内容。上述特定输入针对的会话的内容即为该会话4的内容。In the above (2), each time the first electronic device ends the conversation with other electronic devices, the first electronic device can obtain the content of the conversation, and can store the obtained content of the conversation, for example, the first electronic device The content of the acquired conversation can be stored in the communication application. Therefore, the user can trigger the first electronic device to select the content of at least one session (hereinafter referred to as session 4) from the stored session contents through the above-mentioned specific input. The content of the session targeted by the above-mentioned specific input is the content of the session 4.
可选的,本发明实施例中,在上述场景3中,若用户执行一个特定输入,则电子设备可以对该特定输入针对的会话的内容执行本发明实施例提供的信息处理方法。具体的,对 于该特定输入针对的每个会话(以下称为会话5,可以理解,该会话5可以为上述会话3,或者可以为上述会话4)的内容,第一电子设备均可以自动识别该会话的内容(例如,对会话5的内容进行语义分析),以得到该会话5的内容中指示不同事件的至少一个会话信息。然后,第一电子设备可以分别确定第一电子设备中,与每个会话信息对应的应用程序。在第一电子设备确定出与每个会话信息对应的应用程序之后,对于每个会话信息,第一电子设备可以在一个会话信息对应的应用程序中,创建与该会话信息指示的事件关联的任务,例如,第一电子设备可以得到一个会话中指示工作汇报事件的会话信息,且可以确定与指示工作汇报事件的会话信息对应的应用程序为桌面应用程序,以及可以在桌面应用程序中创建与该工作汇报事件关联的桌面挂件任务。从而,由于第一电子设备可以根据其与其他电子设备之间的会话信息,确定与该会话信息对应的应用程序,然后自动在该应用程序中创建与该会话信息指示的事件关联的任务,因此可以使得与不同会话信息指示的事件关联的任务可能位于不同应用程序中。如此,用户可以根据其查找需求,在与该需求相关的应用程序中快速地查找到满足该需求的任务,并通过该任务即可获知满足该需求的会话信息,而无需再在第一电子设备存储的大量会话内容中依次查找,从而可以简化用户查找会话信息的过程,缩短查找时长。Optionally, in the embodiment of the present invention, in the foregoing scenario 3, if the user performs a specific input, the electronic device may perform the information processing method provided by the embodiment of the present invention on the content of the session for which the specific input is directed. Specifically, for the content of each session targeted by the specific input (hereinafter referred to as session 5, it can be understood that the session 5 may be the above-mentioned session 3, or may be the above-mentioned session 4), and the first electronic device can automatically identify the content. The content of the conversation (for example, semantic analysis is performed on the content of the conversation 5) to obtain at least one piece of conversation information indicating different events in the content of the conversation 5. Then, the first electronic device may respectively determine the application program corresponding to each session information in the first electronic device. After the first electronic device determines the application program corresponding to each session information, for each session information, the first electronic device may create a task associated with the event indicated by the session information in an application program corresponding to the session information For example, the first electronic device may obtain the session information indicating the work report event in a session, and may determine that the application corresponding to the session information indicating the work report event is a desktop application, and may create a connection with the desktop application in the desktop application. Desktop widget tasks associated with work reporting events. Therefore, since the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application, therefore It is possible that tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
进一步地,本发明实施例中,在上述场景1中,由于第一电子设备可以在获取一个会话的内容后,立即自动对该会话的内容进行处理,而无需用户手动触发,因此不仅可以提高处理会话的内容的时效性,而且可以简化处理会话的内容的过程。在上述场景2中,由于第一电子设备可以定期对第一电子设备获取的一个或多个会话的内容进行集中处理,且无需用户手动触发,因此不仅可以简化处理会话的内容的过程,而且可以提高第一电子设备处理会话的内容的效率。在上述场景3中,由于第一电子设备可以根据用户的输入,选择特定的会话的内容,并对选择的会话的内容进行处理,即用户可以根据其实际使用需求,触发第一电子设备选择性地对获取的会话的内容进行处理,因此可以提高处理会话的灵活性和便捷性。Further, in the embodiment of the present invention, in the above scenario 1, since the first electronic device can automatically process the content of a conversation immediately after acquiring the content of the conversation, without the need for the user to manually trigger, it can not only improve the processing The timeliness of the content of the conversation, and can simplify the process of processing the content of the conversation. In the above scenario 2, since the first electronic device can periodically perform centralized processing on the content of one or more sessions acquired by the first electronic device without manual triggering by the user, not only can the process of processing the content of the session be simplified, but also Improve the efficiency of the first electronic device to process the content of the session. In the above scenario 3, because the first electronic device can select the content of a specific session according to the user's input, and process the content of the selected session, that is, the user can trigger the first electronic device to select The content of the acquired conversation is processed locally, so the flexibility and convenience of processing the conversation can be improved.
下面具体结合各个附图对本发明实施例提供的信息处理方法进行示例性地描述。The information processing method provided by the embodiments of the present invention will be exemplarily described below in detail with reference to the various drawings.
如图2所示,本发明实施例提供一种信息处理方法,该方法可以包括下述的S201至S203。As shown in FIG. 2, an embodiment of the present invention provides an information processing method, and the method may include the following S201 to S203.
S201、第一电子设备识别第一会话的内容,得到至少一个会话信息。S201: The first electronic device recognizes the content of the first session, and obtains at least one piece of session information.
本发明实施例中,第一会话可以为第一电子设备与第二电子设备之间的会话。第一会话的内容可以指示至少一个事件。即上述至少一个会话信息中的每个会话信息可以指示该至少一个事件中的一个事件,且不同会话信息可以指示不同事件。In the embodiment of the present invention, the first conversation may be a conversation between the first electronic device and the second electronic device. The content of the first conversation may indicate at least one event. That is, each session information in the at least one piece of session information may indicate one event of the at least one event, and different session information may indicate different events.
可选的,本发明实施例中,第一电子设备可以在获取到第一会话之后,立即识别第一会话的内容(即上述场景1),或者,可以在处理第一会话所处的执行周期内的会话的过程中,识别第一会话的内容(即上述场景2);或者,可以在接收到用户针对第一会话的特定输入后,识别第一会话的内容(即上述场景3),具体可以根据实际使用需求确定, 本发明实施例不作限定。Optionally, in this embodiment of the present invention, the first electronic device may immediately identify the content of the first session after acquiring the first session (that is, the above scenario 1), or may be in the execution cycle in which the first session is processed In the process of the internal conversation, the content of the first conversation (that is, the above-mentioned scenario 2) is recognized; or, after the user's specific input for the first conversation is received, the content of the first conversation (that is, the above-mentioned scenario 3) can be recognized, specifically It can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
本发明实施例中,第一电子设备识别第一会话的内容具体可以为:第一电子设备对第一会话的内容进行语义分析。在第一电子设备对第一会话的内容进行语义分析之后,第一电子设备可以确定出该第一会话的内容指示的至少一个事件,从而根据确定的这些事件,分别从第一会话的内容中提取指示每个事件的内容,从而得到上述至少一个会话信息。可以理解,一个会话信息用于指示一个事件,即上述至少一个会话信息中的每个会话信息可以用于指示不同的事件,且每个会话信息均为第一会话的内容中的一部分。In the embodiment of the present invention, the first electronic device identifying the content of the first conversation may specifically be: the first electronic device performs semantic analysis on the content of the first conversation. After the first electronic device performs semantic analysis on the content of the first conversation, the first electronic device can determine at least one event indicated by the content of the first conversation, and then according to the determined events, the content of the first conversation can be selected from the content of the first conversation. The content indicating each event is extracted, so as to obtain the above-mentioned at least one piece of session information. It can be understood that one piece of session information is used to indicate one event, that is, each piece of session information in the at least one piece of session information can be used to indicate different events, and each piece of session information is part of the content of the first session.
下面通过具体示例对会话的内容、会话的内容指示的至少一个事件,以及指示事件的会话信息进行示例性地描述。The content of the session, at least one event indicated by the content of the session, and session information indicating the event are exemplarily described below through specific examples.
示例性地,假设一个会话(以下称为会话4)的内容为:Exemplarily, suppose that the content of a session (hereinafter referred to as session 4) is:
“第二电子设备:大麻子,我是王某某,一起吃饭啊。"Second electronic device: Cannabis seeds, I am Wang Moumou. Let's eat together.
第一电子设备:好啊,什么时候?First electronic device: OK, when?
第二电子设备:明天。然后我们下周六再一起去旅游。The second electronic device: tomorrow. Then we will travel together next Saturday.
第一电子设备:好的”。The first electronic device: OK".
那么,第一电子设备对会话4的内容进行语义分析之后,可以确定会话4的内容中包括2个事件,分别为:吃饭邀约事件和旅游邀约事件。从而,第一电子设备可以分别从会话4中提取指示吃饭邀约事件的“明天和王某某一起吃饭”和指示旅游邀约事件的“下周六和王某某一起去旅游”。可以理解,对于会话4,上述至少一个会话信息为两个会话信息,且该两个会话信息分别为会话4的内容中,指示吃饭邀约事件的“明天和王某某一起吃饭”和指示旅游邀约事件的“下周六和王某某一起去旅游”。Then, after the first electronic device performs semantic analysis on the content of Conversation 4, it can be determined that the content of Conversation 4 includes two events, namely: a meal invitation event and a travel invitation event. Therefore, the first electronic device can extract from the conversation 4 “to have dinner with Wang XX tomorrow” indicating the dinner invitation event and “to travel with Wang XX next Saturday” indicating the travel invitation event. It can be understood that for conversation 4, the above at least one piece of conversation information is two pieces of conversation information, and the two pieces of conversation information are respectively the content of conversation 4, indicating "tomorrow and Wang XX dinner" and indicating a travel invitation. The event of "Going to travel with Wang Moumou next Saturday."
可选地,本发明实施例中,第一会话具体可以为第一电子设备通过通讯应用程序与第二电子设备进行的会话。其中,通讯应用程序可以为通过客户识别模块(subscriber identity module,SIM)SIM卡通讯(例如接打电话、通过移动网络通讯等)的应用程序,也可以为通过无线网络通讯的应用程序。Optionally, in this embodiment of the present invention, the first conversation may specifically be a conversation between the first electronic device and the second electronic device through a communication application. Among them, the communication application program may be an application program that communicates via a subscriber identity module (SIM) SIM card (such as making and receiving calls, communicating through a mobile network, etc.), or may be an application program that communicates via a wireless network.
可选地,本发明实施例中,上述第一会话的会话形式可以为文本形式,也可以为语音形式,或者可以为其它任意可能的会话形式,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the conversation form of the above-mentioned first conversation may be a text form, a voice form, or any other possible conversation form, which can be specifically determined according to actual use requirements. The embodiment of the present invention Not limited.
可选地,本发明实施例中,第一会话的会话形式不同,第一电子设备识别第一会话的方法也可能不同。例如,假设第一会话的会话形式为语音形式,那么第一电子设备可以先通过语音识别技术(automatic speech recognition,ASR)将第一会话的内容转换为文本形式的内容,然后再采用自然语言处理技术(natural language processing,NLP)识别该文本形式的内容。又例如,假设第一会话的会话形式为文本形式,那么第一电子设备可以直接采用NLP技术识别第一会话的内容,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, if the conversation format of the first conversation is different, the method for identifying the first conversation by the first electronic device may also be different. For example, assuming that the conversation form of the first conversation is a voice form, the first electronic device may first convert the content of the first conversation into text form content through automatic speech recognition (ASR), and then use natural language processing Technology (natural language processing, NLP) recognizes the content of the text form. For another example, assuming that the conversation form of the first conversation is in text form, the first electronic device can directly use NLP technology to identify the content of the first conversation, which can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选地,本发明实施例中,第一会话可以为第一电子设备与第二电子设备之间的人工 智能(artificial intelligence,AI)AI会话。Optionally, in this embodiment of the present invention, the first session may be an artificial intelligence (AI) AI session between the first electronic device and the second electronic device.
需要说明的是,本发明实施例中,第一电子设备与第二电子设备之间的AI会话可以为第一电子设备代替第一电子设备的用户与第二电子设备之间进行的会话;例如,第一电子设备和第二电子设备均为AI设备。或者,可以为第一电子设备代替第一电子设备的用户与第二电子设备的用户之间进行的会话;例如,第一电子设备为AI设备,第二电子设备为非AI设备。或者,可以为第一电子设备的用户与第二电子设备之间进行的会话;例如,第一电子设备为非AI设备,第二电子设备为AI设备。其中,对第一电子设备与第二电子设备之间进行AI会话的具体过程的描述,将在下述实施例中进行详细描述,为了避免重复,此处不予赘述。It should be noted that in this embodiment of the present invention, the AI session between the first electronic device and the second electronic device may be a session between a user in which the first electronic device replaces the first electronic device and the second electronic device; for example, , The first electronic device and the second electronic device are both AI devices. Or, it may be a conversation between the user of the first electronic device replacing the first electronic device and the user of the second electronic device; for example, the first electronic device is an AI device, and the second electronic device is a non-AI device. Or, it may be a conversation between the user of the first electronic device and the second electronic device; for example, the first electronic device is a non-AI device, and the second electronic device is an AI device. Among them, the description of the specific process of the AI conversation between the first electronic device and the second electronic device will be described in detail in the following embodiments, and in order to avoid repetition, it will not be repeated here.
本发明实施例中,由于第一电子设备与第二电子设备可以进行AI会话,因此这两个电子设备中,当具有AI会话功能的一个电子设备的用户不想或者不方便与另一个电子设备进行会话时,该一个电子设备可以采用AI会话功能与该另一个电子设备进行会话,从而可以提高会话的灵活性和便捷性。In the embodiment of the present invention, since the first electronic device and the second electronic device can conduct an AI conversation, among the two electronic devices, when the user of one electronic device with the AI conversation function does not want or is inconvenient to communicate with the other electronic device During a conversation, the one electronic device can use the AI conversation function to have a conversation with the other electronic device, so that the flexibility and convenience of the conversation can be improved.
S202、第一电子设备根据至少一个会话信息,确定与每个会话信息对应的应用程序。S202. The first electronic device determines an application program corresponding to each session information according to the at least one piece of session information.
本发明实施例中,与每个会话信息对应的应用程序与上述通讯应用程序可以为第一电子设备中的不同应用程序。In the embodiment of the present invention, the application program corresponding to each session information and the aforementioned communication application program may be different applications in the first electronic device.
示例性地,与每个会话信息对应的应用程序可以为以下任意一项:闹钟应用程序、日程应用程序、地图应用程序、备忘录应用程序,便签应用程序,以及桌面应用程序等。Exemplarily, the application program corresponding to each session information may be any one of the following: an alarm clock application, a schedule application, a map application, a memo application, a note application, and a desktop application.
可选地,本发明实施例中,结合上述图2,如图3所示,上述S202具体可以通过下述的S202a和S202b实现。Optionally, in the embodiment of the present invention, in conjunction with the foregoing FIG. 2, as shown in FIG. 3, the foregoing S202 may be specifically implemented by the following S202a and S202b.
S202a、对于至少一个会话信息中的每个会话信息,第一电子设备获取一个会话信息中的至少一项关键信息。S202a: For each piece of session information in the at least one piece of session information, the first electronic device obtains at least one piece of key information in the piece of session information.
可选地,本发明实施例中,上述至少一个会话信息中的每个会话信息可以包括至少一项关键信息。该至少一项关键信息中的每项关键信息可以为对应会话信息中的关键词,也可以为对应会话信息中的关键字,还可以为对应会话信息中的其它任意可能的关键信息,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, each of the above-mentioned at least one piece of session information may include at least one piece of key information. Each key information in the at least one piece of key information can be a keyword in the corresponding session information, can also be a keyword in the corresponding session information, or can be any other possible key information in the corresponding session information. It is determined according to actual usage requirements, and is not limited in the embodiment of the present invention.
本发明实施例中,上述至少一项关键信息中的每项关键信息可以为以下任意一项:时间信息、日期信息、地点信息、姓名信息、会话意图信息,以及会话主题信息等。其中,时间信息可以为:“11点”,日期信息可以为“2020年1月1日”,地点信息可以为“北京”,姓名信息可以为“张五”,会话意图信息或会话主题信息可以为“XX会议”等。In the embodiment of the present invention, each key information in the above at least one key information may be any one of the following: time information, date information, location information, name information, conversation intention information, conversation topic information, and so on. Among them, the time information can be: "11 o'clock", the date information can be "January 1, 2020", the location information can be "Beijing", the name information can be "Zhang Wu", the conversation intention information or the conversation subject information can be For "XX Conference" and so on.
可选地,本发明实施例中,上述至少一项关键信息可以为第一电子设备的厂商预先设置在第一电子设备中的,也可以为第一电子设备的用户触发设置在第一电子设备中的,即用户自定义的,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the aforementioned at least one item of key information may be preset in the first electronic device by the manufacturer of the first electronic device, or it may be triggered by the user of the first electronic device to be set in the first electronic device. Medium, that is, user-defined, which can be specifically determined according to actual usage requirements, and is not limited in the embodiment of the present invention.
S202b、第一电子设备将与至少一项关键信息中的每项关键信息具有关联关系的应用程序,确定为与一个会话信息对应的应用程序。S202b. The first electronic device determines an application program that has an association relationship with each item of key information in the at least one item of key information as an application program corresponding to one piece of session information.
可选的,本发明实施例中,上述至少一项关键信息中的每项关键信息均可以关联一个应用程序,即每项关键信息可以与第一电子设备中的一个应用程序具有关联关系,从而与每个会话信息对应的应用程序中可以包括与至少一项关键信息中的每项关键信息具有关联关系的应用程序。Optionally, in the embodiment of the present invention, each key information in the above at least one item of key information may be associated with an application program, that is, each key information item may have an association relationship with an application program in the first electronic device, so that The application program corresponding to each session information may include an application program that has an association relationship with each key information in at least one item of key information.
示例性地,假设一个会话信息中的至少一项关键信息为3项关键信息,分别为:日期信息、地址信息和会话主题信息;那么,若日期信息关联日程应用程序、地址信息关联地图应用程序、会话主题信息关联桌面应用程序,则第一电子设备中与该会话信息对应的应用程序包括日程应用程序、地图应用程序和桌面应用程序。Exemplarily, suppose that at least one item of key information in one session information is 3 items of key information, namely: date information, address information, and session topic information; then, if date information is associated with a schedule application and address information is associated with a map application , The session theme information is associated with a desktop application, and the application corresponding to the session information in the first electronic device includes a calendar application, a map application, and a desktop application.
需要说明的是,本发明实施例中,不同关键信息可以关联不同应用类型的应用程序。例如,日期信息、地址信息和会话主题信息为3项不同关键信息,日程应用程序、地图应用程序和桌面应用程序为3个不同应用类型的应用程序。It should be noted that, in the embodiment of the present invention, different key information can be associated with applications of different application types. For example, date information, address information, and session topic information are three different key information, and calendar application, map application, and desktop application are three different application types.
可选地,本发明实施例中,由于一项关键信息可以与一个应用程序具有关联关系,因此对于一个会话信息,与该会话信息对应的应用程序的数量等于该会话信息中的关键信息的数量。即一个会话信息中的关键信息有几个,与该会话信息对应的应用程序就有几个。Optionally, in the embodiment of the present invention, since a piece of key information may have an association relationship with an application, for a piece of session information, the number of applications corresponding to the session information is equal to the number of key information in the session information . That is, there are several key information in a session information, and there are several applications corresponding to the session information.
本发明实施例中,关键信息关联应用程序具体可以为关键信息与应用程序的应用标识关联或绑定。其中,应用程序的应用标识可以为应用程序的应用名称、应用编号等任意能够唯一标识应用程序的标识。In the embodiment of the present invention, the key information-associated application program may specifically be the association or binding of the key information and the application identifier of the application program. Wherein, the application identifier of the application program can be any identifier that can uniquely identify the application program, such as the application name and application number of the application program.
本发明实施例中,第一电子设备的厂商或第一电子设备的用户可以预先在第一电子设备中设置关键信息与应用程序的关联关系。从而对于一个会话信息,第一电子设备可以获取该会话信息中的至少一项关键信息;然后再将第一电子设备中与该至少一项关键信息具有关联关系的各个应用程序均确定为与该会话信息对应的应用程序。In the embodiment of the present invention, the manufacturer of the first electronic device or the user of the first electronic device may set the association relationship between the key information and the application program in the first electronic device in advance. Therefore, for one piece of session information, the first electronic device can obtain at least one item of key information in the session information; and then, each application program in the first electronic device that has an association relationship with the at least one piece of key information is determined to be related to the The application corresponding to the session information.
本发明实施例中,第一电子设备在确定与一个会话信息对应的应用程序之后,可以在该会话信息对应的每个应用程序中,创建与该会话信息指示的事件关联的任务。对于第一电子设备创建与一个会话信息指示的事件关联的任务的方法将在下述的S203中进行详细描述,为了避免重复,此处不再赘述。In the embodiment of the present invention, after determining the application program corresponding to a piece of session information, the first electronic device may create a task associated with the event indicated by the session information in each application program corresponding to the session information. The method for the first electronic device to create a task associated with an event indicated by the session information will be described in detail in S203 below, and in order to avoid repetition, it will not be repeated here.
本发明实施例中,由于关键信息为会话信息中的主要内容,且关键信息可以关联应用程序,因此第一电子设备根据关键信息,可以准确地确定出与该会话信息对应的应用程序,从而可以在确定出的应用程序中,根据该会话信息,创建与该会话信息指示的事件关联的任务。In the embodiment of the present invention, because the key information is the main content of the session information, and the key information can be associated with an application program, the first electronic device can accurately determine the application program corresponding to the session information according to the key information, so that In the determined application, according to the session information, a task associated with the event indicated by the session information is created.
进一步的,本发明实施例中,由于不同关键信息可以与不同应用类型的应用程序具有关联关系,因此当一个会话信息中包括多项关键信息时,第一电子设备根据不同关键信息可以确定不同应用类型的应用程序,从而可以在不同应用类型的应用程序中分别创建与该会话信息指示的事件关联的不同类型的任务。如此,不但可以提高创建任务的灵活性,而且还可以从多维度向用户提醒与该会话信息指示的事件。Further, in the embodiment of the present invention, because different key information can have an association relationship with applications of different application types, when a session information includes multiple key information, the first electronic device can determine different applications according to the different key information. Types of applications, so that different types of tasks associated with the event indicated by the session information can be created in applications of different application types. In this way, not only the flexibility of task creation can be improved, but also the events indicated by the session information can be reminded to the user from multiple dimensions.
S203、对于至少一个会话信息中的每个会话信息,第一电子设备在一个会话信息对应 的应用程序中,创建与一个会话信息指示的事件关联的任务。S203. For each session information in at least one piece of session information, the first electronic device creates a task associated with an event indicated by one piece of session information in an application program corresponding to one piece of session information.
本发明实施例中,第一电子设备确定与一个会话信息对应的应用程序之后,可以运行确定出的应用程序,从而可以在确定出的应用程序中,创建与该会话信息指示的事件关联的任务。In the embodiment of the present invention, after the first electronic device determines the application program corresponding to a piece of session information, it can run the determined application program, so that a task associated with the event indicated by the session information can be created in the determined application program. .
可选地,本发明实施例中,第一电子设备运行确定出的应用程序可以为在第一电子设备的前台运行该确定出的应用程序,或者,可以为在第一电子设备的后台运行该确定出的应用程序,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the application determined to be run by the first electronic device may be the determined application being run in the foreground of the first electronic device, or may be the application being run in the background of the first electronic device. The determined application program may be specifically determined according to actual use requirements, and the embodiment of the present invention does not limit it.
对于前台运行和后台运行的描述,具体可以参见上述名词解释部分的相关描述,为了避免重复,此处不再赘述。For the description of the foreground operation and the background operation, please refer to the relevant description in the above term explanation section. In order to avoid repetition, it will not be repeated here.
可选地,本发明实施例中,第一电子设备中可以预先设置通讯应用程序的调用接口(以下称为调用接口1)和与每个会话信息对应的应用程序的调用接口(以下称为调用接口2),通讯应用程序和会话信息对应的应用程序之间可以通过上述调用接口1和调用接口2互相调用,从而实现通讯应用程序和会话信息对应的应用程序之间的信息交互。Optionally, in the embodiment of the present invention, the calling interface of the communication application (hereinafter referred to as calling interface 1) and the calling interface of the application corresponding to each session information (hereinafter referred to as calling interface) may be preset in the first electronic device. Interface 2), the communication application program and the application program corresponding to the session information can call each other through the above-mentioned calling interface 1 and the calling interface 2, so as to realize the information interaction between the communication application program and the application program corresponding to the session information.
可选地,本发明实施例中,第一电子设备在与一个会话信息对应的应用程序中创建与该会话信息指示的事件关联的任务时,第一电子设备可以先通过上述调用接口1和调用接口2将处于通讯应用程序中的该会话信息调用(即复制)至与该会话信息对应的应用程序中,然后再在该会话信息对应的应用程序中,创建与该会话信息指示的事件关联的任务。Optionally, in this embodiment of the present invention, when the first electronic device creates a task associated with an event indicated by the session information in an application program corresponding to the session information, the first electronic device may first use the above-mentioned calling interface 1 and calling Interface 2 calls (ie copies) the session information in the communication application to the application corresponding to the session information, and then creates an event associated with the event indicated by the session information in the application corresponding to the session information Task.
可选地,本发明实施例中,若与一个会话信息对应的应用程序的数量不同,则电子设备创建与该会话信息指示的事件关联的任务的数量也不同。具体的,第一电子设备可以在与一个会话信息对应的每个应用程序中均创建与该会话信息指示的事件关联的任务。Optionally, in this embodiment of the present invention, if the number of applications corresponding to one piece of session information is different, the number of tasks associated with the event indicated by the session information created by the electronic device is also different. Specifically, the first electronic device may create a task associated with the event indicated by the session information in each application program corresponding to the session information.
示例性地,假设一个会话信息指示邀约事件,且与该会话信息对应的应用程序的数量为3个,分别为:闹钟应用程序,日程应用程序和桌面应用程序,则第一电子设备可以在闹钟应用程序中创建与该邀约事件关联的闹钟任务,且在日程应用程序中创建与该邀约事件关联的日程任务,以及在桌面应用程序中创建与该邀约事件关联的桌面挂件任务。Exemplarily, assuming that a piece of session information indicates an invitation event, and the number of applications corresponding to the session information is three, namely: an alarm clock application, a calendar application, and a desktop application, the first electronic device can be in the alarm clock An alarm task associated with the invitation event is created in the application, a schedule task associated with the invitation event is created in the calendar application, and a desktop pendant task associated with the invitation event is created in the desktop application.
可选地,本发明实施例中,若与会话信息对应的应用程序不同,则第一电子设备在与该个会话信息对应的应用程序中,创建的与该会话信息指示的事件关联的任务的类型也可能不同。其中,任务的类型可以为提醒类、记录类,或者可以为其它任意可能的任务类型。例如,当一个任务的类型为提醒类时,该任务可以为:闹钟任务或日程任务;当一个任务的类型为记录类时,该任务可以为备忘录任务或桌面挂件任务。Optionally, in the embodiment of the present invention, if the application program corresponding to the session information is different, the first electronic device creates the task associated with the event indicated by the session information in the application program corresponding to the session information. The type may also be different. Among them, the task type can be a reminder type, a record type, or any other possible task types. For example, when the type of a task is a reminder type, the task can be: an alarm task or a schedule task; when the type of a task is a record type, the task can be a memo task or a desktop widget task.
可选地,本发明实施例中,上述第一电子设备创建的任务可以包括任务名称、任务的执行条件、任务的执行方式,以及任务备注信息等,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the task created by the first electronic device may include the name of the task, the execution condition of the task, the execution mode of the task, and the task remarks, etc., which can be determined according to actual usage requirements. The examples are not limited.
其中,一个任务的任务名称可以为对应会话信息中的会话主题信息或会话意图信息等。一个任务的执行条件是指执行该任务的条件,具体的,任务的执行条件可以根据对应会话信息中的时间信息、地点信息或日期信息等确定。一个任务的执行方式可以为显示方 式或响铃方式等,具体可以根据任务的任务类型确定。一个任务的任务备注信息可以为指示与任务关联的事件的会话信息,例如,可以为“明天和王某某一起吃饭”。Among them, the task name of a task may be the conversation topic information or the conversation intention information in the corresponding conversation information. The execution condition of a task refers to the condition for executing the task. Specifically, the execution condition of the task can be determined according to the time information, location information, or date information in the corresponding session information. The execution mode of a task can be display mode or ringing mode, etc., which can be determined according to the task type of the task. The task remark information of a task may be session information indicating an event associated with the task, for example, it may be "tomorrow to have dinner with Wang.
可选地,本发明实施例中,结合上述图3,如图4所示,上述S203具体可以通过下述S203a实现。Optionally, in the embodiment of the present invention, in conjunction with the foregoing FIG. 3, as shown in FIG. 4, the foregoing S203 may be specifically implemented by the following S203a.
S203a、第一电子设备在与至少一项关键信息中每项关键信息具有关联关系的应用程序中,分别创建与一个会话信息指示的事件关联的任务。S203a. The first electronic device respectively creates a task associated with an event indicated by one piece of session information in an application program that has an association relationship with each piece of key information in at least one piece of key information.
本发明实施例中,第一电子设备确定与至少一项关键信息中每项关键信息具有关联关系的应用程序之后,对于确定的每个应用程序,可以根据该应用程序的应用类型和包括该至少一项关键信息的会话信息,在该应用程序中创建与该会话信息指示的事件关联的任务。In the embodiment of the present invention, after the first electronic device determines an application program that has an association relationship with each key information in at least one item of key information, for each determined application program, it can be based on the application type of the application program and including the at least A key piece of session information, which creates a task associated with the event indicated by the session information in the application.
示例性地,假设一个会话信息指示一个旅游邀约事件,且该会话信息中的至少一项关键信息包括:会话主题信息和日期信息,且第一电子设备中与会话主题信息具有关联关系的应用程序为备忘录应用程序,与日期信息具有关联关系的应用程序为日程应用程序;那么,第一电子设备可以根据该会话主题信息,确定与该会话信息对应的备忘录应用程序,并根据该会话信息,在备忘录应用程序中,创建与该旅游邀约事件关联的备忘录任务,其中,该备忘录任务中包括该会话信息的日期信息、会话主题信息、会话意图信息、地点信息、以及姓名信息等。对应的,第一电子设备可以根据该日期信息,确定与该会话信息对应的日程应用程序,并根据该会话信息中的主要内容,在日程应用程序中,创建与该旅游邀约事件关联的日程任务,其中,该日程任务中包括该会话信息的日期信息、会话主题信息、会话意图信息、地点信息、以及姓名信息等。Exemplarily, suppose that a piece of conversation information indicates a travel invitation event, and at least one piece of key information in the conversation information includes: conversation topic information and date information, and an application program in the first electronic device that has an association relationship with the conversation topic information Is a memo application, and the application associated with date information is a calendar application; then, the first electronic device can determine the memo application corresponding to the conversation information according to the conversation topic information, and according to the conversation information, In the memo application, a memo task associated with the travel invitation event is created, where the memo task includes date information of the conversation information, conversation subject information, conversation intention information, location information, name information, and so on. Correspondingly, the first electronic device may determine the schedule application corresponding to the session information according to the date information, and create a schedule task associated with the travel invitation event in the schedule application according to the main content in the session information , Where the schedule task includes date information of the conversation information, conversation subject information, conversation intention information, location information, name information, and so on.
需要说明的是,第一电子设备创建的与一个会话信息指示的事件关联的每个任务中,均包括该会话信息中的主要内容。It should be noted that each task created by the first electronic device and associated with an event indicated by the session information includes the main content in the session information.
本发明实施例中,由于第一电子设备可以根据会话信息中的主要内容,在与该会话信息对应的应用程序中,创建与该会话信息指示的事件关联的任务,因此当用户需求查看某个会话信息时,用户可以直接根据该会话信息中的主要内容,确定与该主要内容对应的应用程序,从而可以快速在确定的应用程序中查找到与该会话信息指示的事件关联的任务,从而可以通过该任务获知该会话信息,如此可以简化用户查找会话信息的过程,缩短查找时长。In the embodiment of the present invention, since the first electronic device can create a task associated with the event indicated by the session information in the application program corresponding to the session information according to the main content in the session information, when the user needs to view a certain During the session information, the user can directly determine the application corresponding to the main content according to the main content in the session information, so that the task associated with the event indicated by the session information can be quickly found in the determined application. Knowing the session information through this task can simplify the process for the user to search for the session information and shorten the search time.
本发明实施例中,由于第一电子设备可以根据其与其他电子设备之间的会话信息,确定与该会话信息对应的应用程序,然后自动在该应用程序中创建与该会话信息指示的事件关联的任务,因此可以使得与不同会话信息指示的事件关联的任务可能位于不同应用程序中。如此,用户可以根据其查找需求,在与该需求相关的应用程序中快速地查找到满足该需求的任务,并通过该任务即可获知满足该需求的会话信息,而无需再在第一电子设备存储的大量会话内容中依次查找,从而可以简化用户查找会话信息的过程,缩短查找时长。In the embodiment of the present invention, because the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create an event association in the application with the event indicated by the session information Therefore, tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
可选地,本发明实施例中,当上述与会话信息指示的事件关联的任务为提醒任务时, 在第一电子设备创建与一个会话信息指示的事件关联的任务之后,若满足该任务的执行条件,则第一电子设备可以执行该任务,以向第一电子设备的用户提醒与该任务关联的事件。Optionally, in the embodiment of the present invention, when the task associated with the event indicated by the session information is a reminder task, after the first electronic device creates a task associated with an event indicated by the session information, if the task is satisfied Condition, the first electronic device can perform the task to remind the user of the first electronic device of the event associated with the task.
示例性地,本发明实施例中,结合上述图2,如图5所示,在上述S203之后,本发明实施例提供的信息处理方法还可以包括下述的S204。Exemplarily, in the embodiment of the present invention, in conjunction with the foregoing FIG. 2, as shown in FIG. 5, after the foregoing S203, the information processing method provided in the embodiment of the present invention may further include the following S204.
S204、在满足与一个会话信息指示的事件关联的任务的执行条件的情况下,第一电子设备执行该任务。S204: In a case where the execution condition of the task associated with the event indicated by the session information is met, the first electronic device executes the task.
对于执行条件的描述具体可以参见上述S203中的对任务的执行条件的相关描述,此处不再赘述。For the description of the execution condition, please refer to the related description of the execution condition of the task in S203, which will not be repeated here.
可选地,本发明实施例中,与一个事件关联的任务不同,则与该事件关联的任务的执行条件也可能不同。Optionally, in this embodiment of the present invention, if the task associated with an event is different, the execution condition of the task associated with the event may also be different.
例如,假设与一个事件关联的任务为一个闹钟任务,那么该闹钟任务的执行条件可以为一个具体时间;具体的,若一个闹钟任务的执行条件为18点30分,则第一电子设备可以在其系统时间为18点30分时,执行该闹钟任务,具体可以为响铃或振动。For example, assuming that the task associated with an event is an alarm clock task, the execution condition of the alarm clock task can be a specific time; specifically, if the execution condition of an alarm clock task is 18:30, the first electronic device can be When the system time is 18:30, the alarm task is executed, which can be ringing or vibrating.
又例如,假设与一个事件关联的任务为一个日程任务,那么该日程任务的执行条件可以为一个具体日期;具体的,若一个日程任务的执行条件为2020年2月8日,则第一电子设备可以在2020年2月8日时,执行该日程任务,具体可以为响铃、振动或者显示一个提示信息。For another example, suppose the task associated with an event is a schedule task, then the execution condition of the schedule task can be a specific date; specifically, if the execution condition of a schedule task is February 8, 2020, the first electronic The device can perform the scheduled task on February 8, 2020, which can be ringing, vibrating, or displaying a prompt message.
再例如,假设与一个事件关联的任务为一个桌面挂件任务,那么该桌面挂件任务的执行条件可以为在创建该桌面挂件任务完成;具体的,第一电子设备可以在创建该桌面挂件任务完成后,执行该桌面挂件任务,具体可以为在第一电子设备的桌面上显示一个桌面挂件。For another example, suppose the task associated with an event is a desktop widget task, then the execution condition of the desktop widget task can be that the task of creating the desktop widget is completed; specifically, the first electronic device can be completed after the task of creating the desktop widget is completed , To execute the desktop pendant task, specifically, it may be to display a desktop pendant on the desktop of the first electronic device.
本发明实施例中,由于第一电子设备可以在满足一个任务的执行条件的情况下,执行该事件,因此可以准确、及时地向用户提醒该任务关联的事件,从而可以避免用户错过该任务关联的事件。In the embodiment of the present invention, since the first electronic device can execute the event when the execution condition of the task is met, it can accurately and timely remind the user of the task-related event, thereby avoiding the user from missing the task-related event. event.
可选地,本发明实施例中,当第一会话为第一电子设备与第二电子设备之间的AI会话时,在第一电子设备识别第一会话的内容,即第一电子设备执行上述S201之前,第一电子设备可以先与第二电子设备进行AI会话,从而在该AI会话结束后,第一电子设备可以获取第一会话。Optionally, in the embodiment of the present invention, when the first conversation is an AI conversation between the first electronic device and the second electronic device, the content of the first conversation is recognized on the first electronic device, that is, the first electronic device executes the foregoing Before S201, the first electronic device may first conduct an AI session with the second electronic device, so that after the AI session ends, the first electronic device may obtain the first session.
下面再对第一电子设备采用AI会话功能与第二电子设备进行AI会话的过程进行示例性地说明。The process in which the first electronic device uses the AI conversation function to conduct an AI conversation with the second electronic device will be exemplarily described below.
通常,在第一电子设备接收到第二电子设备发送的会话请求,且满足一个预设条件的情况下,第一电子设备可以采用AI会话功能与第二电子设备进行会话,从而可以实现第一电子设备与第二电子设备的AI会话。Generally, when the first electronic device receives the session request sent by the second electronic device and meets a preset condition, the first electronic device can use the AI session function to have a session with the second electronic device, so that the first electronic device can be AI conversation between the electronic device and the second electronic device.
可选地,本发明实施例中,上述预设条件可以为(一)、第一电子设备的用户在第一电子设备接收到上述会话请求后的一个预设时长内未执行任何输入。或者,可以为(二)、 第一电子设备的用户在第一电子设备接收到上述会话请求后,执行一个目标输入,该目标输入可以用于触发第一电子设备采用AI会话功能与其它电子设备会话。Optionally, in the embodiment of the present invention, the foregoing preset condition may be (1). The user of the first electronic device does not perform any input within a preset period of time after the first electronic device receives the foregoing session request. Or, it may be (2). The user of the first electronic device performs a target input after the first electronic device receives the above-mentioned session request, and the target input can be used to trigger the first electronic device to use the AI conversation function with other electronic devices. Conversation.
以会话请求为来电请求为例:Take the session request as an incoming call request as an example:
在上述(一)中,以会话请求为来电请求为例,若第一电子设备的用户在接收到来电请求后的预设时长内未接听电话,即表示第一电子设备的用户不方便或不想接听电话,则第一电子设备可以自动采用AI会话功能与第二电子设备进行会话。In the above (1), taking the session request as an incoming call request as an example, if the user of the first electronic device does not answer the call within the preset period of time after receiving the incoming call request, it means that the user of the first electronic device is inconvenient or does not want to Answer the call, the first electronic device can automatically use the AI conversation function to have a conversation with the second electronic device.
在上述(二)中,当第一电子设备接收到第二电子设备的来电请求时,第一电子设备可以显示会话应用程序的会话请求界面,该会话请求界面中可以包括第一控件,第一控件可以用于触发第一电子设备采用AI会话功能。从而,若第一电子设备的用户不方便或不想接听电话,则第一电子设备的用户可以对第一控件执行上述目标输入,以触发第一电子设备采用AI会话功能与第二电子设备进行会话。In the above (2), when the first electronic device receives an incoming call request from the second electronic device, the first electronic device may display the session request interface of the session application. The session request interface may include the first control, the first The control can be used to trigger the first electronic device to adopt the AI conversation function. Therefore, if the user of the first electronic device is inconvenient or does not want to answer the phone, the user of the first electronic device can perform the above-mentioned target input on the first control to trigger the first electronic device to use the AI conversation function to have a conversation with the second electronic device .
需要说明的是,本发明实施例中,可以在第一电子设备的通讯应用程序中预先设置会话意图(以下称为预设会话意图)和与该预设会话意图对应的话术(以下称为预设话术)。例如,可以预先设置吃饭邀约,且可以将与该吃饭邀约对应的预设话术设置为:“话术一、啥时候啊,话术二、在哪吃”。It should be noted that, in the embodiment of the present invention, a conversational intention (hereinafter referred to as a preset conversational intention) and a speech technique corresponding to the preset conversational intention (hereinafter referred to as a preset conversational intention) may be preset in the communication application of the first electronic device. Set words). For example, a meal invitation can be set in advance, and the preset speech skills corresponding to the meal invitation can be set as: "Huashu one, when, speech two, where to eat".
可选的,本发明实施例中,在第一电子设备采用AI会话功能与第二电子设备进行会话的情况下,第一电子设备可以将第二电子设备发送的消息与预设意图比对,当确定第二电子设备发送的某个消息与某个预设意图匹配后,第一电子设备即可以确定第二电子设备的用户的来电意图,从而第一电子设备可以向第二电子设备发送该预设会话意图对应的预设话术,以使AI会话可以会话流畅进行。Optionally, in the embodiment of the present invention, when the first electronic device uses the AI conversation function to conduct a conversation with the second electronic device, the first electronic device may compare the message sent by the second electronic device with the preset intention. When it is determined that a certain message sent by the second electronic device matches a certain preset intention, the first electronic device can determine the user's call intention of the second electronic device, so that the first electronic device can send the message to the second electronic device. The preset speech technique corresponding to the preset conversation intention, so that the AI conversation can be conducted smoothly.
例如,假设第一电子设备确定第二电子设备的会话意图为吃饭邀约,那么第一电子设备可以先向第二电子设备发送上述话术一、即“啥时候啊”,然后在接收到第二电子设备发送的回复消息之后,再向第二电子设备发送上述话术一、即“在哪吃”。For example, assuming that the first electronic device determines that the second electronic device’s conversational intention is an invitation to dinner, the first electronic device may first send the above-mentioned phrase one, namely "when" to the second electronic device, and then receive the second electronic device. After the reply message sent by the electronic device, the above-mentioned technique one, that is, "where to eat" is sent to the second electronic device.
可选地,本发明实施例中,第一电子设备可以通过下述两种方式确定第二电子设备的会话意图。Optionally, in this embodiment of the present invention, the first electronic device may determine the conversation intention of the second electronic device in the following two ways.
方式一、第一电子设备可以向第二电子设备发送一个引导信息,以提示第二电子设备的用户表明会话意图。具体的,该引导信息可以用于指示第二电子设备发送特定指令,其中,一个特定指令对应一个预设会话意图;从而,第一电子设备可以根据第二电子设备发送的特定指令,确定第二电子设备的会话意图。其中,这种方式也可以称为主动方式。Manner 1: The first electronic device may send a guide message to the second electronic device to prompt the user of the second electronic device to indicate the intention of the conversation. Specifically, the guidance information may be used to instruct the second electronic device to send a specific instruction, where a specific instruction corresponds to a preset conversation intention; thus, the first electronic device may determine the second electronic device according to the specific instruction sent by the second electronic device. The conversational intent of the electronic device. Among them, this way can also be called an active way.
可选地,本发明实施例中,特定指令可以包括但不限于:提示主叫方输入数字/字母/口令、提示主叫方操作实体按键/手势/点选屏幕上的特定选项,以及其他任意可由用户自定义的指令。Optionally, in the embodiment of the present invention, specific instructions may include, but are not limited to: prompting the caller to enter numbers/letters/passwords, prompting the caller to operate physical keys/gestures/tap specific options on the screen, and other arbitrary User-definable instructions.
方式二、第一电子设备可以向第二电子设备发送通用话术(通常为第一电子设备的厂商预设的话术),以与第二电子设备进行会话,并实时对第二电子设备发送的消息进行识别,直至第一电子设备从第二电子设备发送的消息中识别出与某个预设会话意图匹配的消 息时,第一电子设备即可将该预设会话意图确定为第二电子设备的会话意图。其中,这种方式也可以称为被动方式。Manner 2: The first electronic device can send general speech (usually the speech preset by the manufacturer of the first electronic device) to the second electronic device to have a conversation with the second electronic device, and send the message to the second electronic device in real time. The message is recognized until the first electronic device recognizes a message matching a certain preset conversation intention from the message sent by the second electronic device, the first electronic device can determine the preset conversation intention as the second electronic device Conversational intent. Among them, this way can also be called a passive way.
可选地,本发明实施例中,第一电子设备中可以分别设置用于选择方式一和方式二的选项,在采用AI会话功能之前,第一电子设备的用户可以根据实际使用需求,触发第一电子设备选择采用方式一和/或方式二来确定第二电子设备的会话意图,从而在第一电子设备采用AI会话功能时,可以采用第一电子设备选择的方式来确定第二电子设备的会话意图。Optionally, in this embodiment of the present invention, the first electronic device may be configured with options for selecting method one and method two. Before adopting the AI conversation function, the user of the first electronic device can trigger the first electronic device according to actual usage requirements. An electronic device selects method 1 and/or method 2 to determine the conversation intention of the second electronic device, so that when the first electronic device adopts the AI conversation function, the method selected by the first electronic device can be used to determine the second electronic device’s Conversational intent.
示例性地,如下表1所示,下面结合具体示例对上述方式一和上述方式二进行示例性说明。Exemplarily, as shown in Table 1 below, the above-mentioned mode one and the above-mentioned mode two will be exemplarily described below with reference to specific examples.
表1Table 1
Figure PCTCN2021072199-appb-000001
Figure PCTCN2021072199-appb-000001
可选地,本发明实施例中,上述预设会话意图和预设话术可以为第一电子设备的厂商预先设置的,或者可以为第一电子设备的用户触发设置的,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the foregoing preset conversation intention and preset speech may be preset by the manufacturer of the first electronic device, or may be triggered by the user of the first electronic device, which may be specifically set according to actual use. The requirement is determined, and the embodiment of the present invention does not limit it.
可选地,本发明实施例中,当预设话术为第一电子设备的用户触发设置的时,第一电子设备的用户可以触发设置会话轮数、每轮会话中的具体话术,以及每轮会话使用的声音等,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, when the preset speech technique is triggered by the user of the first electronic device, the user of the first electronic device can trigger the setting of the number of conversation rounds, the specific speech technique in each round of conversation, and The sounds and the like used in each round of conversation can be specifically determined according to actual usage requirements, which are not limited in the embodiment of the present invention.
其中,若某轮会话中包含多条话术,则第一电子设备可以在执行该轮会话时,随机选取一条话术回复,示例性地,如下表2所示:Wherein, if a certain round of conversation includes multiple words, the first electronic device may randomly select a speech reply when executing the round of conversation, as shown in Table 2 below for example:
表2Table 2
Figure PCTCN2021072199-appb-000002
Figure PCTCN2021072199-appb-000002
本发明实施例中,由于在第一电子设备使用AI会话功能之前,可以在第一电子设备中可以预先设置多个会话意图、与每个会话意图对应的话术,以及确定其他电子设备(例如第二电子设备)会话意图的方式,因此在第一电子设备采用AI会话功能与第二电子设备进行AI会话的过程中,第一电子设备可以快速确定第二电子设备的会话意图,并采用与该会话意图对应的话术答复第二电子设备,因此可以提高AI会话的流畅性,且可以使主叫方获得良好的会话感受。In the embodiment of the present invention, because before the first electronic device uses the AI conversation function, multiple conversation intentions, words corresponding to each conversation intention can be preset in the first electronic device, and other electronic equipment (for example, the first electronic device) can be determined in advance. 2. Electronic device) conversation intention. Therefore, when the first electronic device uses the AI conversation function to conduct an AI conversation with the second electronic device, the first electronic device can quickly determine the conversation intention of the second electronic device and use the The words corresponding to the conversation intention are replies to the second electronic device, so the fluency of the AI conversation can be improved, and the caller can get a good conversation experience.
需要说明的是,本发明实施例中,上述各个方法附图所示的信息处理方法均是以结合本发明实施例中的一个附图为例示例性地说明的。具体实现时,上述各个方法附图所示的信息处理方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present invention, the information processing methods shown in the figures of the above methods are all exemplified in conjunction with a figure in the embodiment of the present invention. In specific implementation, the information processing methods shown in the figures of the foregoing methods can also be implemented in combination with any other figures illustrated in the foregoing embodiments that can be combined, and details are not described herein again.
如图6所示,本发明实施例提供一种电子设备600,该电子设备600为第一电子设备,可以包括:识别模块601、确定模块602和创建模块603。识别模块601,可以用于识别第一会话的内容,得到至少一个会话信息,不同会话信息可以指示不同事件,第一会话可以为第一电子设备与第二电子设备之间的会话;确定模块602,可以用于根据识别模块601识别的至少一个会话信息,确定与每个会话信息对应的应用程序;创建模块603,可以用于对于识别模块601识别的每个会话信息,在一个会话信息对应的应用程序中,创建与一个会话信息指示的事件的任务。As shown in FIG. 6, an embodiment of the present invention provides an electronic device 600. The electronic device 600 is a first electronic device and may include: an identification module 601, a determination module 602, and a creation module 603. The identification module 601 may be used to identify the content of the first session to obtain at least one piece of session information. Different session information may indicate different events. The first session may be a session between the first electronic device and the second electronic device; the determining module 602 , Can be used to determine the application program corresponding to each session information according to at least one piece of session information identified by the identification module 601; the creation module 603 can be used for each session information identified by the identification module 601, in a session information corresponding In the application, create a task with an event indicated by the session information.
可选地,本发明实施例中,第一会话可以为第一电子设备与第二电子设备之间的人工智能AI会话。Optionally, in this embodiment of the present invention, the first conversation may be an artificial intelligence AI conversation between the first electronic device and the second electronic device.
可选地,本发明实施例中,确定模块602,具体可以用于对于每个会话信息,获取一个会话信息中的至少一项关键信息;且将与该至少一项关键信息中的每项关键信息具有关联关系的应用程序,确定为与一个会话信息对应的应用程序。Optionally, in this embodiment of the present invention, the determining module 602 may be specifically configured to obtain at least one item of key information in one piece of session information for each session information; and compare it with each key item in the at least one piece of key information. An application program whose information has an association relationship is determined as an application program corresponding to a piece of session information.
可选地,本发明实施例中,创建模块603,具体可以用于在与每项关键信息具有关联关系的应用程序中,分别创建与一个会话信息指示的事件关联的任务。Optionally, in this embodiment of the present invention, the creation module 603 may be specifically used to create tasks associated with an event indicated by the session information in an application program that has an association relationship with each key information.
可选地,本发明实施例中,结合上述图6,如图7所示,电子设备600还可以包括执行模块604;执行模块604,可以用于在创建模块创建与一个会话信息指示的事件关联的任务之后,在满足该任务的执行条件的情况下,执行该任务。Optionally, in the embodiment of the present invention, in conjunction with the foregoing FIG. 6, as shown in FIG. 7, the electronic device 600 may further include an execution module 604; the execution module 604 may be used to create an event association with a session information indication in the creation module After the task, if the execution conditions of the task are met, the task is executed.
本发明实施例提供的电子设备600能够实现上述方法实施例所示的电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 600 provided by the embodiment of the present invention can implement the various processes implemented by the electronic device shown in the foregoing method embodiments. To avoid repetition, details are not described herein again.
本发明实施例提供一种电子设备,该电子设备可以为第一电子设备。第一电子设备可以识别第一会话(第一电子设备与第二电子设备之间的会话)的内容,得到至少一个会话信息,不同会话信息指示不同事件;且根据至少一个会话信息,确定与每个会话信息对应的应用程序;以及对于每个会话信息,在一个会话信息对应的应用程序中,创建与该一个会话信息指示的事件关联的任务。通过该方案,由于第一电子设备可以根据其与其他电子设备之间的会话信息,确定与该会话信息对应的应用程序,然后自动在该应用程序中创建与该会话信息指示的事件关联的任务,因此可以使得与不同会话信息指示的事件关联的任务可能位于不同应用程序中。如此,用户可以根据其查找需求,在与该需求相关的应用程序中快速地查找到满足该需求的任务,并通过该任务即可获知满足该需求的会话信息,而无需再在第一电子设备存储的大量会话内容中依次查找,从而可以简化用户查找会话信息的过程,缩短查找时长。An embodiment of the present invention provides an electronic device, and the electronic device may be a first electronic device. The first electronic device can identify the content of the first session (the session between the first electronic device and the second electronic device), obtain at least one piece of session information, and different session information indicates different events; and according to the at least one piece of session information, determine the An application program corresponding to one session information; and for each session information, in an application program corresponding to one session information, a task associated with an event indicated by the one session information is created. With this solution, the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application Therefore, tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
图8为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图8所示,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。FIG. 8 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention. As shown in FIG. 8, the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , The processor 110, and the power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
其中,处理器110,用于识别第一会话的内容,得到至少一个会话信息;且根据该至少一个会话信息,确定与每个会话信息对应的应用程序;并对于每个会话信息,在一个会话信息对应的应用程序中,创建与一个会话信息指示的事件关联的任务;不同会话信息指示不同事件,第一会话为第一电子设备与第二电子设备之间的会话。The processor 110 is used to identify the content of the first session to obtain at least one piece of session information; and according to the at least one piece of session information, determine the application program corresponding to each session information; and for each session information, in a session In the application corresponding to the information, a task associated with an event indicated by one session information is created; different session information indicates different events, and the first session is a session between the first electronic device and the second electronic device.
可以理解,本发明实施例中,上述电子设备的结构示意图(例如图6)中的识别模块601、确定模块602、创建模块603,以及上述电子设备的结构示意图(例如图7)中的执行模块604均可以通过上述处理器110实现。It can be understood that, in the embodiment of the present invention, the identification module 601, the determination module 602, and the creation module 603 in the structural schematic diagram of the above-mentioned electronic device (for example, FIG. 6), and the execution module in the structural schematic diagram of the above-mentioned electronic device (for example, FIG. 7) 604 can be implemented by the above-mentioned processor 110.
本发明实施例提供一种电子设备,该电子设备可以为第一电子设备。第一电子设备可以识别第一会话(第一电子设备与第二电子设备之间的会话)的内容,得到至少一个会话信息,不同会话信息指示不同事件;且根据至少一个会话信息,确定与每个会话信息对应的应用程序;以及对于每个会话信息,在一个会话信息对应的应用程序中,创建与该一个会话信息指示的事件关联的任务。通过该方案,由于第一电子设备可以根据其与其他电子 设备之间的会话信息,确定与该会话信息对应的应用程序,然后自动在该应用程序中创建与该会话信息指示的事件关联的任务,因此可以使得与不同会话信息指示的事件关联的任务可能位于不同应用程序中。如此,用户可以根据其查找需求,在与该需求相关的应用程序中快速地查找到满足该需求的任务,并通过该任务即可获知满足该需求的会话信息,而无需再在第一电子设备存储的大量会话内容中依次查找,从而可以简化用户查找会话信息的过程,缩短查找时长。An embodiment of the present invention provides an electronic device, and the electronic device may be a first electronic device. The first electronic device can identify the content of the first session (the session between the first electronic device and the second electronic device), obtain at least one piece of session information, and different session information indicates different events; and according to the at least one piece of session information, determine the An application program corresponding to one session information; and for each session information, in an application program corresponding to one session information, a task associated with an event indicated by the one session information is created. With this solution, the first electronic device can determine the application corresponding to the session information according to the session information between it and other electronic devices, and then automatically create a task associated with the event indicated by the session information in the application Therefore, tasks associated with events indicated by different session information may be located in different applications. In this way, the user can quickly find the task that meets the demand in the application related to the demand according to the search demand, and can obtain the session information that meets the demand through the task, without having to log in to the first electronic device. Search in a large amount of stored conversation content in sequence, which can simplify the process of users searching for conversation information and shorten the search time.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图8中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 8, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more components in the electronic device 100 or can be used to connect the electronic device 100 and the external device. Transfer data between.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111 可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
可选地,本发明实施例还提供一种电子设备,包括如图8所示的处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention also provides an electronic device, including a processor 110 as shown in FIG. 8, a memory 109, a computer program stored in the memory 109 and running on the processor 110, the computer When the program is executed by the processor 110, each process of the foregoing method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not described herein again.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here. Wherein, the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (12)

  1. 一种信息处理方法,应用于第一电子设备,所述方法包括:An information processing method applied to a first electronic device, the method including:
    识别第一会话的内容,得到至少一个会话信息,不同会话信息指示不同事件,所述第一会话为所述第一电子设备与第二电子设备之间的会话;Identify the content of the first session to obtain at least one piece of session information, different session information indicates different events, and the first session is a session between the first electronic device and the second electronic device;
    根据所述至少一个会话信息,确定与每个会话信息对应的应用程序;Determining an application program corresponding to each session information according to the at least one piece of session information;
    对于所述每个会话信息,在一个会话信息对应的应用程序中,创建与所述一个会话信息指示的事件关联的任务。For each session information, in an application program corresponding to one session information, a task associated with an event indicated by the one session information is created.
  2. 根据权利要求1所述的方法,其中,所述根据所述至少一个会话信息,确定与每个会话信息对应的应用程序,包括:The method according to claim 1, wherein the determining an application program corresponding to each session information according to the at least one session information comprises:
    对于所述每个会话信息,获取一个会话信息中的至少一项关键信息;For each session information, obtain at least one item of key information in one session information;
    将与所述至少一项关键信息中的每项关键信息具有关联关系的应用程序,确定为与所述一个会话信息对应的应用程序。The application program that has an association relationship with each key information in the at least one item of key information is determined as the application program corresponding to the one piece of session information.
  3. 根据权利要求2所述的方法,其中,所述在一个会话信息对应的应用程序中,创建与所述一个会话信息指示的事件关联的任务,包括:3. The method according to claim 2, wherein said creating a task associated with an event indicated by said one session information in an application corresponding to said one session information comprises:
    在与所述每项关键信息具有关联关系的应用程序中,分别创建与所述一个会话信息指示的事件关联的任务;In an application program that has an association relationship with each key information, respectively create tasks associated with an event indicated by the one piece of session information;
    其中,不同应用程序中创建的任务的类型不同。Among them, the types of tasks created in different applications are different.
  4. 根据权利要求1所述的方法,其中,所述创建与所述一个会话信息指示的事件关联的任务之后,所述方法还包括:The method according to claim 1, wherein after said creating a task associated with an event indicated by said one piece of session information, said method further comprises:
    在满足所述任务的执行条件的情况下,执行所述任务。If the execution condition of the task is satisfied, the task is executed.
  5. 一种电子设备,所述电子设备为第一电子设备,所述电子设备包括:识别模块、确定模块和创建模块;An electronic device, the electronic device being a first electronic device, the electronic device comprising: an identification module, a determination module, and a creation module;
    所述识别模块,用于识别第一会话的内容,得到至少一个会话信息,不同会话信息指示不同事件,所述第一会话为所述第一电子设备与第二电子设备之间的会话;The identification module is configured to identify the content of a first conversation to obtain at least one piece of conversation information, different conversation information indicates different events, and the first conversation is a conversation between the first electronic device and the second electronic device;
    所述确定模块,用于根据所述识别模块识别的所述至少一个会话信息,确定与每个会话信息对应的应用程序;The determining module is configured to determine the application program corresponding to each session information according to the at least one piece of session information identified by the identification module;
    所述创建模块,用于对于所述识别模块识别的所述每个会话信息,在一个会话信息对应的应用程序中,创建与所述一个会话信息指示的事件关联的任务。The creation module is configured to, for each session information identified by the identification module, create a task associated with an event indicated by the one session information in an application program corresponding to the one session information.
  6. 根据权利要求5所述的电子设备,其中,所述确定模块,具体用于对于所述每个会话信息,获取一个会话信息中的至少一项关键信息;且将与所述至少一项关键信息中的每项关键信息具有关联关系的应用程序,确定为与所述一个会话信息对应的应用程序。The electronic device according to claim 5, wherein the determining module is specifically configured to obtain at least one item of key information in one piece of session information for each of the session information; and compare it with the at least one piece of key information The application program in which each item of key information has an association relationship is determined as the application program corresponding to the one piece of session information.
  7. 根据权利要求6所述的电子设备,其中,The electronic device according to claim 6, wherein:
    所述创建模块,具体用于在与所述每项关键信息具有关联关系的应用程序中,分别创建与所述一个会话信息指示的事件关联的任务。The creation module is specifically configured to create tasks associated with the event indicated by the one piece of session information in an application program that has an associated relationship with each key information.
  8. 根据权利要求5所述的电子设备,其中,所述电子设备还包括执行模块;The electronic device according to claim 5, wherein the electronic device further comprises an execution module;
    所述执行模块,用于在所述创建模块创建与所述一个会话信息指示的事件关联的任务之后,在满足所述任务的执行条件的情况下,执行所述任务。The execution module is configured to execute the task when the execution condition of the task is satisfied after the creation module creates the task associated with the event indicated by the one session information.
  9. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至4中任一项所述的信息处理方法的步骤。An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to implement any of claims 1 to 4 One of the steps of the information processing method.
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的信息处理方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the information processing method according to any one of claims 1 to 4 are realized.
  11. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至4中任一项所述的信息处理方法。A computer program product, which is executed by at least one processor to implement the information processing method according to any one of claims 1 to 4.
  12. 一种电子设备,所述电子设备被配置成用于执行如权利要求1至4中任一项所述的信息处理方法。An electronic device configured to execute the information processing method according to any one of claims 1 to 4.
PCT/CN2021/072199 2020-01-21 2021-01-15 Information processing method and electronic device WO2021147784A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010076223.1 2020-01-21
CN202010076223.1A CN111277708A (en) 2020-01-21 2020-01-21 Information processing method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021147784A1 true WO2021147784A1 (en) 2021-07-29

Family

ID=71001884

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/072199 WO2021147784A1 (en) 2020-01-21 2021-01-15 Information processing method and electronic device

Country Status (2)

Country Link
CN (1) CN111277708A (en)
WO (1) WO2021147784A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277708A (en) * 2020-01-21 2020-06-12 维沃移动通信有限公司 Information processing method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120289206A1 (en) * 2011-05-13 2012-11-15 Samsung Electronics Co. Ltd. System and method for managing schedules in mobile device
CN104253896A (en) * 2013-06-28 2014-12-31 中国电信股份有限公司 Short message content based event reminding method and device and mobile terminal
CN104394272A (en) * 2014-11-21 2015-03-04 深圳市中兴移动通信有限公司 Method and device for setting reminder according to received information
CN105335398A (en) * 2014-07-18 2016-02-17 华为技术有限公司 Service recommendation method and terminal
CN105554253A (en) * 2015-12-09 2016-05-04 小米科技有限责任公司 Event prompting method and device, and terminal
CN105898012A (en) * 2015-10-27 2016-08-24 乐视移动智能信息技术(北京)有限公司 Short message processing method and apparatus
CN107147810A (en) * 2017-06-30 2017-09-08 广东欧珀移动通信有限公司 Information prompting method, device, storage medium and electronic equipment
CN107967154A (en) * 2017-12-14 2018-04-27 腾讯科技(深圳)有限公司 Remind item generation method and device
CN109783722A (en) * 2018-12-06 2019-05-21 维沃移动通信有限公司 A kind of content outputting method and terminal device
CN111277708A (en) * 2020-01-21 2020-06-12 维沃移动通信有限公司 Information processing method and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120289206A1 (en) * 2011-05-13 2012-11-15 Samsung Electronics Co. Ltd. System and method for managing schedules in mobile device
CN104253896A (en) * 2013-06-28 2014-12-31 中国电信股份有限公司 Short message content based event reminding method and device and mobile terminal
CN105335398A (en) * 2014-07-18 2016-02-17 华为技术有限公司 Service recommendation method and terminal
CN104394272A (en) * 2014-11-21 2015-03-04 深圳市中兴移动通信有限公司 Method and device for setting reminder according to received information
CN105898012A (en) * 2015-10-27 2016-08-24 乐视移动智能信息技术(北京)有限公司 Short message processing method and apparatus
CN105554253A (en) * 2015-12-09 2016-05-04 小米科技有限责任公司 Event prompting method and device, and terminal
CN107147810A (en) * 2017-06-30 2017-09-08 广东欧珀移动通信有限公司 Information prompting method, device, storage medium and electronic equipment
CN107967154A (en) * 2017-12-14 2018-04-27 腾讯科技(深圳)有限公司 Remind item generation method and device
CN109783722A (en) * 2018-12-06 2019-05-21 维沃移动通信有限公司 A kind of content outputting method and terminal device
CN111277708A (en) * 2020-01-21 2020-06-12 维沃移动通信有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN111277708A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
WO2021093429A1 (en) Group chat method and electronic device
WO2021213496A1 (en) Message display method and electronic device
WO2021082741A1 (en) Display method and electronic device
WO2021129762A1 (en) Application sharing method, electronic device and computer-readable storage medium
WO2020258929A1 (en) Folder interface switching method and terminal device
US20140179281A1 (en) Mobile terminal having auto answering function and auto answering method for use in the mobile terminal
US11658932B2 (en) Message sending method and terminal device
US20220397992A1 (en) Interface display method and electronic device
WO2021083087A1 (en) Screen capturing method and terminal device
WO2021110053A1 (en) File sending method and terminal device
WO2020215932A1 (en) Method for displaying unread message and terminal device
WO2021083088A1 (en) Message display method and terminal device
WO2021057290A1 (en) Information control method and electronic device
WO2020211612A1 (en) Information display method and terminal device
WO2021109959A1 (en) Application sharing method and electronic device
US20220150201A1 (en) Message sending method and terminal device
WO2020192323A1 (en) Sim card selection method and terminal device
WO2021057301A1 (en) File control method and electronic device
WO2021031701A1 (en) Display control method and terminal device
WO2020181954A1 (en) Application program control method and terminal device
WO2021115220A1 (en) Information sharing method, electronic device and computer-readable storage medium
WO2021057224A1 (en) Message prompting method and terminal device
US20210320995A1 (en) Conversation creating method and terminal device
WO2021017691A1 (en) Content display method and terminal device
CN111369994B (en) Voice processing method and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21743910

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21743910

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21743910

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07.07.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21743910

Country of ref document: EP

Kind code of ref document: A1