WO2014101425A1 - 处理消息的方法、终端和系统 - Google Patents

处理消息的方法、终端和系统 Download PDF

Info

Publication number
WO2014101425A1
WO2014101425A1 PCT/CN2013/080875 CN2013080875W WO2014101425A1 WO 2014101425 A1 WO2014101425 A1 WO 2014101425A1 CN 2013080875 W CN2013080875 W CN 2013080875W WO 2014101425 A1 WO2014101425 A1 WO 2014101425A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
user
reply
information
current
Prior art date
Application number
PCT/CN2013/080875
Other languages
English (en)
French (fr)
Inventor
张轶博
张宝峰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP13801459.2A priority Critical patent/EP2770762B1/en
Priority to US14/145,262 priority patent/US8930481B2/en
Publication of WO2014101425A1 publication Critical patent/WO2014101425A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Definitions

  • the present invention relates to the field of communications, and more particularly to a method, terminal and system for processing messages in the field of communications. Background technique
  • SMS service has become the world's largest telecom value-added application industry.
  • SMS short message service
  • the biggest problem for users to use SMS service is that the input is slow and complicated, especially when the SMS is replied.
  • the problem is particularly prominent: For example, during a meeting, a urgent message is required to reply, but the mobile phone is not used for a long time. Courtesy, resulting in a very poor user experience. How to make it easy for users to use SMS services, such as replying to SMS messages, is an urgent problem to be solved.
  • Speech recognition-based input technology can effectively help mobile phone applications to increase input speed.
  • the more well-known Chinese speech recognition input system has input systems such as Keda Xunfei and Chinese Academy of Sciences Tianyu.
  • Using speech recognition technology to reply to text messages can enhance the user experience, but in the open domain (without limiting vocabulary scope and speakers) noise environment, the accuracy of speech recognition technology can not reach the practical level, and in some cases, it is urgent to input It cannot be applied in the scenario, such as an application scenario that needs to reply to a text message during a meeting. Therefore, the reply message scheme based on voice recognition technology also needs to further enhance the user experience.
  • the short message replying scheme based on the fixed rule can classify the received short message according to the predetermined classification condition, and then reply according to the content preset by the user.
  • the specific technical solution may be implemented by a terminal, may be implemented by a network side device, or may be implemented by combining a terminal and a network side device.
  • the user can set the reply content under the shutdown status in advance, “The phone is turned off, and the reply is not answered in time, forgive me!”, the system automatically responds to the content when receiving the SMS in the case of shutdown.
  • SMS reply scheme can meet some requirements, due to the limited rules set by humans and the fixed content of the reply, it can not achieve good results in most scenarios; in some cases, it may cause misunderstanding and allow users to generate Tired of psychology. For example, if B is not in the service area, he receives A's help message, and responds according to the preset content. "You can't see the message at present, and then contact again.” After receiving this reply, A will think that B deliberately blocked. , making the automatic reply function counterproductive. Therefore, the user experience of the SMS reply scheme also needs to be enhanced. Summary of the invention
  • the present invention provides a method, terminal and system for processing a message, which can enhance the user experience.
  • the first aspect provides a method for processing a message, where the method includes: acquiring historical message interaction information of a user and first context data associated with historical message interaction information of the user, where the history message interaction information of the user includes a history message.
  • the first context data is used to represent user information or environment information when the historical message interaction information of the user occurs; determining the user according to the historical message interaction information of the user and the first context data
  • the message interaction preference includes a message reply policy and/or a message writing style; receiving a current message sent to the user, and acquiring second context data associated with the current message, the second context data being used for characterization The user information or the environment information when the current message of the user occurs; and the current message is replied according to the message interaction preference, the current message, and the second context data.
  • the method further includes: preprocessing the historical message interaction content of the user; determining the message interaction preference of the user, including: according to the pre-processed user The historical message interaction content and the first context data determine a message interaction preference of the user.
  • the determining a message interaction preference of the user includes: interacting content according to the history message of the user Emoji, and the first context data, determined to include the user The emoji preferences the style of the message writing.
  • the method further includes: obtaining, from the server or the user database, the user Historical message interaction information of at least one other user, and third context data associated with historical message interaction information of the at least one other user, the third context data being used to represent historical message interaction information of the at least one other user User information or environment information of the at least one other user; determining the message interaction preference of the user, comprising: historical message interaction information according to the user, the first context data, historical message interaction information of the at least one other user, and The third context data determines a message interaction preference of the user.
  • the determining the user's message The interaction preference includes: determining the message interaction preference of the user by using a statistical learning manner.
  • the interaction preference according to the message The current message and the second context data, the reply processing of the current message includes: determining, according to the message interaction preference, a history message interaction situation of the user and a history message receiving content included in the history message interaction content of the user, and a mapping rule between the first context data; determining, according to the mapping rule, the current message and the second context data as an input of the mapping rule, determining a message replying policy of the current message; and replying to a message according to the current message , reply to the current message.
  • the replying to the current message according to the message replying policy of the current message includes: The message replying policy of the message indicates to reply to the current message, according to the message replying policy of the current message, or according to the message replying strategy and adopting the message writing style included in the message interaction preference, generating a reply content and replying to the current message; or When the message reply policy of the current message indicates that the current message is not replied, the current message is ignored.
  • the generating the reply content and replying to the current message includes: generating at least one reply content of the current message; The user displays the at least one reply content, and determines the reply content selected by the user in the at least one reply content; sends the user selection to the sender of the current message Reply content.
  • the user information or the environment information At least one of the following information is included: the user's schedule, the user's location information, the user's mobile mode information, and environmental information surrounding the user.
  • the message replying policy includes the following At least one of the information: whether to reply to the message, how to reply to the message, when to reply to the message, and the environmental condition of the reply message.
  • the message writing style includes the following At least one of the messages: response, slogan, common vocabulary and sentence.
  • the message includes: , instant messaging, microblogging private messages or WeChat.
  • the second aspect provides a terminal for processing a message
  • the terminal includes: a first acquiring module, configured to acquire historical message interaction information of the user, and first context data associated with historical message interaction information of the user, where the user
  • the history message interaction information includes a history message interaction content and a history message reply situation, where the first context data is used to represent user information or environment information when the history message interaction information of the user occurs; and a determining module, configured to use, according to the first acquiring module Obtaining the historical message interaction information of the user and the first context data, determining a message interaction preference of the user, the message interaction preference includes a message reply policy and/or a message writing style; and a second obtaining module, configured to receive and send the message The current message of the user, and the second context data associated with the current message, the second context data is used to represent the user information or the environment information when the current message of the user occurs; the reply module is configured to determine according to the determining module The message interaction preferences, and The current message and the second context data acquired by the second
  • the terminal further includes: a pre-processing module, configured to perform pre-processing on the historical message interaction content of the user; where the determining module is configured to: according to the pre-processing module The pre-processed historical message interaction content of the user and the first context data determine a message interaction preference of the user.
  • the determining module is further configured to: interact with the emoji in the content according to the history message of the user And the first context data, determining the message writing style including the user's emoji preference.
  • the determining module is configured to: determine the user by using a statistical learning manner The message interaction preferences.
  • the reply module includes: a determining unit, configured to determine, according to the message interaction preference, a historical message receiving content of the user and a history message receiving content included in the history message interaction content of the user and a mapping rule between the first context data; Determining, according to the mapping rule determined by the first determining unit, the current message and the second context data as an input of the mapping rule, determining a message replying policy of the current message; Determining a message replying policy of the current message determined by the unit, and performing a reply processing on the current message.
  • the replying unit is configured to: when the message replying policy of the current message indicates to reply to the current message, according to the The message replying policy of the current message, or replying to the policy according to the message and adopting the message writing style included in the message interaction preference, generating the reply content and replying to the current message; or in the message replying policy of the current message indicating not replying to the current message When the current message is ignored.
  • the replying unit includes: a generating subunit, configured to determine, according to the second determining unit, the current message a message replying policy, generating at least one reply content of the current message; a control subunit, configured to display the at least one reply content generated by the generating subunit to the user, and determining a reply selected by the user in the at least one reply content a second sending subunit, configured to send, to the sender of the current message, the reply content selected by the control subunit by the user.
  • the user information or the environment information At least one of the following information is included: the user's schedule, the user's location information, the user's mobile mode information, and environmental information surrounding the user.
  • the message replying policy includes at least one of the following information: whether to reply to the message, the manner of replying to the message, the time of replying the message, and the replying message Environmental conditions.
  • the message writing style includes the following At least one of the messages: response, slogan, common vocabulary and sentence.
  • the message includes: Instant messaging, microblogging private messages or WeChat.
  • a third aspect provides a system for processing a message, where the system includes a terminal and a server, where the terminal includes: a data collection module, configured to acquire historical message interaction information of the user and associated with historical message interaction information of the user.
  • First context data the first context data is used to represent user information or environment information when the history message interaction information of the user occurs;
  • the data integration module is configured to exchange historical message interaction information of the user acquired by the data collection module
  • the first context data is integrated to obtain a data format suitable for learning input, and the integrated data of the data format is sent to the server;
  • the server includes: a learning module, configured to receive the data sent by the data integration module Formatted data, and according to the data, statistical learning of the user's message interaction preference;
  • the message interaction preference includes a reply strategy and/or a message writing style; and a user model production module for performing statistical learning based on the learning module,
  • the terminal Configuring a reply policy model and a content production model; wherein the data collection module is further configured to receive a
  • the data integration module is configured to: preprocess the historical message interaction content included in the historical message interaction information of the user acquired by the data collection module, and perform pre-processing The historical message interaction content of the user is further integrated to obtain a data format suitable for learning input, and the integrated data of the data format is sent to the server.
  • the learning module is further configured to: according to the emoticon in the historical message interaction content included in the historical message interaction information of the user, and the first context data, perform the emoticon preference in the user message interaction.
  • Statistical learning in order to determine the message writing style including the user's emoji preferences.
  • the server further includes: a data obtaining module, configured to use the server or The user database obtains historical message interaction information of at least one other user other than the user, and third context data associated with historical message interaction information of the at least one other user, the third context data being used to represent the at least one other The user information or the environment information of the at least one other user when the historical message interaction information of the user occurs; wherein the learning module is further configured to: the data according to the data format sent by the data integration module, and the data acquired by the data acquisition module The historical message interaction information and the third context data of at least one other user perform statistical learning on the message interaction preference of the user.
  • the replying module includes: And a determining unit, configured to determine, according to the reply policy model, the current message and the second context data as an input of the reply policy model, and determine a reply policy of the current message.
  • the replying module further includes: a reply content generating unit, configured to determine, by the reply determining unit, the current message When replying to the current message, the reply policy generates a reply content and replies to the current message according to the reply policy of the current message and the content production model.
  • the reply content generating unit includes: a generating subunit, configured to generate a model according to the content, the current message, and The second context data, generating at least one reply content of the current message; a control subunit, configured to display the at least one piece of reply content generated by the generating subunit to the user, and determining that the user selects in the at least one reply content
  • the reply content unit is configured to send, to the sender of the current message, the reply inner valley determined by the control subunit by the user.
  • the user information or the environment information includes the following information. At least one of: the user's schedule, the user's location information, the user Mobile mode information and environmental information around the user.
  • the message interaction preference includes the message Replying to the policy
  • the message replying policy includes at least one of the following information: whether to reply to the message, the manner in which the message is replied, the time of replying to the message, and the environmental condition of the replying message.
  • the message interaction preference includes the message Writing style
  • the message writing style includes at least one of the following information: reply mode, reply tone, commonly used vocabulary and sentence pattern.
  • the message includes: Instant messaging, microblogging private messages or WeChat.
  • the method, the terminal, and the system for processing a message determine a message interaction preference of a user by using context data associated with historical message interaction information and historical message interaction information of the user, and can be based on the message interaction preference.
  • the current message is automatically replied, so that the reply of the message not only conforms to the user's personality and preferences, but also conforms to the context in which the message is received, thereby significantly enhancing the user experience.
  • FIG. 1 is a schematic flowchart of a method of processing a message according to an embodiment of the present invention.
  • FIG. 2 is another schematic flowchart of a method for processing a message according to an embodiment of the present invention.
  • FIG. 3 is still another schematic flowchart of a method for processing a message according to an embodiment of the present invention.
  • 4 is a schematic flow diagram of a method of reply processing a current message according to an embodiment of the present invention.
  • FIG. 5 is another schematic flowchart of a method for performing a reply process on a current message according to an embodiment of the present invention.
  • FIG. 6 is still another schematic diagram of a method for replying a current message according to an embodiment of the present invention.
  • Sexual flow chart is still another schematic diagram of a method for replying a current message according to an embodiment of the present invention.
  • FIG. 7 is still another schematic flowchart of a method for replying a current message according to an embodiment of the present invention.
  • FIG. 8 is still another schematic flowchart of a method for processing a message according to an embodiment of the present invention.
  • FIG. 9 is a schematic block diagram of a terminal in accordance with an embodiment of the present invention.
  • FIG. 10 is another schematic block diagram of a terminal according to an embodiment of the present invention.
  • FIG. 11 is a schematic block diagram of a reply module in accordance with an embodiment of the present invention.
  • Figure 12 is a schematic block diagram of a reply unit in accordance with an embodiment of the present invention.
  • Figure 13 is another schematic block diagram of a reply unit in accordance with an embodiment of the present invention.
  • Figure 14 is a schematic block diagram of a system in accordance with an embodiment of the present invention.
  • Figure 15 is a schematic block diagram of a server in accordance with an embodiment of the present invention.
  • 16 is a schematic block diagram of a reply module in accordance with an embodiment of the present invention.
  • FIG. 17 is a schematic block diagram of a reply content generating unit according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of an apparatus for processing a message according to an embodiment of the present invention. detailed description
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • General Packet Radio Service General Packet Radio Service
  • LTE Long Term Evolution
  • LTE frequency division duplex Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Unicom Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access
  • a terminal may be referred to as a user equipment (User).
  • Equipment called “UE,”, mobile station (Mobile Station, “MS”) or mobile terminal (Mobile Terminal), etc.
  • the terminal can be accessed via the Radio Access Network (Radio Access Network) RAN") communicates with one or more core networks, for example, the terminal can be a mobile phone (or "cellular" phone), for example, the terminal can also be portable, pocket, handheld, computer built, or in-vehicle Mobile devices that exchange voice and/or data with a wireless access network.
  • Radio Access Network Radio Access Network
  • the method 100 includes: S110, acquiring historical message interaction information of a user and first context data associated with historical message interaction information of the user, where historical message interaction information of the user includes historical message interaction content and The history message replies to the situation, the first context data is used to represent user information or environment information when the historical message interaction information of the user occurs;
  • S120 Determine, according to the historical message interaction information of the user and the first context data, a message interaction preference of the user, where the message interaction preference includes a message reply policy and/or a message writing style;
  • S130 Receive a current message sent to the user, and obtain second context data associated with the current message, where the second context data is used to represent user information or environment information when the current message of the user occurs.
  • the device for processing the message may first obtain the historical message interaction information of the user and the first context data associated with the historical message interaction information of the user, and thereby determine the message interaction of the user. Preference; thus, when the device processing the message receives the current message, the current message may be replied by acquiring the second context data associated with the current message and the determined message interaction preference of the user.
  • the method for processing a message determines the message interaction preference of the user based on the context data associated with the historical message interaction information and the history message interaction information of the user, and can automatically reply to the current message according to the message interaction preference.
  • the processing enables the reply of the message not only to conform to the user's personality and preferences, but also to conform to the context in which the message is received, thereby significantly enhancing the user experience.
  • the method for processing a message according to an embodiment of the present invention considers a user reply cancellation
  • the personal preference of the interest habit, as well as the writing style of the reply content enables the device that processes the message to automatically respond to the received current message, which better reflects the user's personal style, more realistic and more appropriate;
  • the user's message interaction preference determined by the device of the message takes into account the context data associated with the user's historical message interaction information, so that the device that processes the message performs automatic reply processing on the received current message, and can also be associated with the current message.
  • the context data gives a reply policy and/or reply content that conforms to the current actual context, and thus the method of processing a message according to an embodiment of the present invention can significantly enhance the user experience.
  • the embodiment of the present invention is only described by the apparatus for processing a message.
  • the embodiment of the present invention is not limited thereto.
  • the method 100 may be performed by a terminal, or may be performed by a server, or may be performed by a server. It is executed by the terminal together with the server.
  • the device processing the message may acquire the historical message interaction information of the user and the first context data associated with the historical message interaction information of the user.
  • the historical message interaction information includes a history message interaction content and a history message reply situation.
  • the history message interaction content includes a history message receiving content and a history message reply content.
  • the history message reply situation includes at least one of a reply history message, a manner of replying to the history message, a time of replying to the history message, and an environmental condition of replying the history message.
  • the history message replying situation may include whether to reply to the history message; when replying to the history message, the history message replying situation may further include: in what manner, replying to the history message, such as a short message reply or a voice reply, or the like, or including replying to the history message Time information, such as replying within one minute, or replying within one hour, etc.; or may include environmental condition information for replying to a history message, such as a reply in a meeting application scenario, or a location information when replying to a history message. It should be understood that the embodiment of the present invention is only described by way of example, but the embodiment of the present invention is not limited thereto.
  • the history message reply situation may further include other reply objects of the history message and the like.
  • the first context data is used to represent user information or environment information when the historical message interaction information of the user occurs.
  • the user information or the environment information includes at least one of the following information: The user's schedule, the user's location information, the user's mobile mode information, and environmental information surrounding the user.
  • the first context data refers to a sum of user information or environment information that can be acquired and has an impact on the message reply, such as a period of time before the message is received, and a period of time after the message is received, and the context data may also be referred to as The context in which the message is associated. It should be understood that in the present invention, the context data associated with the message may refer to the first, second or third context data. It should also be understood that the context herein does not limit the information that the terminal can obtain, and may also include information that can be obtained by the network side device.
  • the context data associated with the message may include various environmental information that affects the reply of the message.
  • the user information or the environmental information may include the sender of the message, for example, Zhang Wuji may refuse Ding Minjun’s appointment request, but will not reject Zhao Min’s request, so the sender of the message has an impact on the message response;
  • the user information or environmental information may include the historical user’s communication with the message sender, such as the way the city manager talks to the mayor. Different from the way the hawker talks; user information or environmental information can include the user's schedule. For example, a star has decided to conduct an overseas tour in the next two weeks, so he can't answer the meeting with domestic fans.
  • User information or environmental information can be Including the user's location information, for example, Beijing officials cannot participate in the class reunion that Shanghai immediately begins; user information or environmental information may include mobile information, such as a user jam, and thus cannot attend the meeting on time;
  • the environmental information may include environmental information around the user, such as noise level, for example, in the environment and its noisy situation, the direct reply to the incoming call is "very noisy, and the place is immediately dialed back" is a polite reply, the environment
  • the information also includes, for example, the surrounding environment. For example, the user is used to walking for 1 hour from 3 to 4 pm, so it is possible to reply after one hour according to the habit.
  • first context data may refer to context data associated with historical message interaction information of the user
  • second context data may refer to context data associated with the user's current message
  • third context data may refer to The history message associated with the history message of at least one other user is associated with the context data, but the embodiment of the present invention is not limited thereto.
  • the apparatus for processing a message may perform an interaction record according to a historical message stored in the apparatus, and acquire historical message interaction information of the user and first context data associated with the historical message interaction information of the user;
  • the device of the message may obtain the historical message interaction information of the user and the first context data associated with the historical message interaction information of the user according to the service support system (Operation Support System).
  • the apparatus for processing a message may also acquire the above information or data by other methods, and the embodiment of the present invention is not limited thereto.
  • the message includes: a short message, an instant message, a private message or a letter. It should be understood that the message may also include other forms of information, and embodiments of the present invention are not limited thereto.
  • the device processing the message may determine the message interaction preference of the user according to the historical message interaction information of the user and the first context data, the message interaction preference including a message reply policy and/or a message writing style.
  • the message replying policy includes at least one of the following information: whether to reply to the message, the manner of replying to the message, the time of replying to the message, and the environmental condition of the replying message.
  • the message replying policy may include whether to reply to the message, such as not replying to the message, or replying to the message; when determining the reply message, the message replying policy may include a manner of replying to the message, for example, replying by SMS, or by means of a message Replying to the message; the message replying policy may include time information of the reply message, such as replying within one minute, or replying within one hour, etc.; the message replying policy may include environmental condition information of the replying message, for example, SMS in a meeting application scenario Formal reply, or reply in voice in a private space. It should be understood that the embodiment of the present invention is only described by way of example, but the embodiment of the present invention is not limited thereto.
  • the message replying policy may further include other reply objects of the history message.
  • the message writing style includes at least one of the following information: a reply mode, a reply tone, a commonly used vocabulary and a sentence pattern.
  • the reply mode includes a short message mode reply, an instant message mode reply, a private message reply, a letter mode reply, or a voice mode reply, etc.
  • the reply tone includes, for example, replying in a tone of negotiation, or replying in a positive tone, or The reply is replied in a questioning tone, and the like includes, for example, replying with a short sentence pattern, or replying with a detailed and clear sentence pattern, and the like, and the embodiment of the present invention is not limited thereto.
  • the apparatus for processing messages herein has the term "and/or” merely an association describing the associated objects, indicating that there may be three relationships, for example, A and / or B may represent: A exists separately, while A exists And B, there are three cases of B alone.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • the device processing the message determines the user's message interaction preference by using a statistical learning manner and according to the historical message interaction information of the user and the first context data.
  • the device that processes the message obtains the historical message interaction record of user A and its father-in-law B, and determines the historical statistics of the reply of user A to B through data statistics learning as shown in Table 1:
  • the replying strategy of the user A to B is usually a reply message, the time of replying to the message is an immediate reply, etc.; and the message writing style can be determined to be a very polite and respectful reply tone, and the commonly used vocabulary is the honorific "you" Wait. It should be understood that the specific reply policy and message writing style of user A to B also needs to be determined according to the current message that user A receives B, and the context data associated with the current message, which will be further described below.
  • the process of statistical learning may be a process of solving a parameter set in the mapping function according to actual data as input and a given mapping function form
  • the message interaction preference may be the mapping function
  • the process of reply processing according to the message interaction preference may be a process of determining the value of the mapping function according to the new input.
  • the statistical learning method does not depend on a specific language-based natural language processing technology, such as word segmentation, semantic analysis, etc., so the system application environment of the embodiment of the present invention is not limited to Chinese, and can be conveniently extended to Automatic information reply in various languages.
  • the device that processes the message receives the current message, and can obtain the second context data associated with the current message for reply processing on the current message.
  • the second context data includes at least one of the following information: a schedule of the user, location information of the user, mobile mode information of the user, and environmental information surrounding the user. .
  • the device that processes the message may perform a reply process on the current message according to the message interaction preference, the current message, and the second context data.
  • the user A's reply to B is still taken as an example.
  • user A receives the message from user B in the conference, "Is it free? Pick me up at 5 pm". According to user A's message interaction preference, it can be analyzed.
  • the answer probability of user A (for example, 70/74 to 94.6%) is high, so the reply of the short message is applicable to template one; but according to the schedule information of user A included in the second context data, It is found that user A needs to participate in a conference between 4:30 and 5:30, so that the reply policy of the current message can be answered and responded immediately, and the reply can be replied by using the statistical reply template 2.
  • the device for processing the message may further know the approximate location of the home of the user B according to the second context data, and may calculate that the user of the user A reaches the home of the user B for about half an hour, so that the reply message may be constructed. After you finish your work, come around 6:00, and you can display the reply message to the screen, and confirm it by user A.
  • the method for processing a message according to the present invention can learn the user's personal short message reply preference and short message writing style from the user's short message reply record and related context, thereby being able to follow the personal characteristics and the context of the short message receiving.
  • the strategy for determining the reply of the short message and the related reply content are generated, and finally the generated reply content is submitted to the user for verification, and is issued by the user after confirmation.
  • the method for processing a message determines the message interaction preference of the user based on the context data associated with the historical message interaction information and the history message interaction information of the user, and can automatically reply to the current message according to the message interaction preference.
  • the processing enables the reply of the message not only to conform to the user's personality and preferences, but also to conform to the context in which the message is received, thereby significantly enhancing the user experience.
  • the method 100 further includes:
  • S150 Perform preprocessing on the historical message interaction content of the user.
  • S121 Determine, according to the pre-processed historical message interaction content of the user and the first context data, the message interaction preference of the user.
  • the device that processes the message may first perform natural language processing on the historical message interaction content included in the historical message interaction information, and determine the user according to the history message interaction content of the user and the first context data processed by the natural language.
  • Message interaction preferences For example, the acquired historical message interaction content is associated with the context data and encapsulated into a data unit, as an input for statistical learning, and the like.
  • the natural language processing may include word segmentation processing, part-of-speech tagging processing, named entity recognition, syntactic analysis, and the like.
  • the pre-processing method may also include other specific pre-processing methods, such as removing content-free short messages, removing duplicate short messages, or supplementing context information, etc., and embodiments of the present invention are not limited thereto.
  • the information of the statistical analysis used by the present invention may be the original content of the message, or the result of the segmentation of the message after the pre-processing, or the structured semantic data after using the semantic analysis. Embodiments of the invention are not limited thereto.
  • the message interaction of the user is determined to be good, including:
  • 5122 Determine, according to the emoticon in the user's historical message interaction content, and the first context data, the message writing style including the user's emoticon preference.
  • the user replies to his girlfriend's text message with a very cute emoji, but does not use any emoji in the reply letter to the leader. Therefore, by learning the user's emoji preference, the user experience can be further improved.
  • the device for processing the message may perform statistical learning on the user's emoticon preference according to the acquired historical message interaction information of the user and the first context data; the device for processing the message may also be in the historical message interaction information to the user and After the first context data is pre-processed, the user's emoticon preference is statistically learned, that is, S122 may be performed after S110, or may be performed after S150, and the embodiment of the present invention is not limited thereto.
  • the statistical learning method does not depend on a specific language-based natural language processing technology, such as word segmentation, semantic analysis, etc., so the system application environment of the embodiment of the present invention is not limited to Chinese, and can be conveniently extended to Automatic information reply in various languages.
  • the device that processes the message may perform statistical learning on the historical message interaction information of the user and the corresponding context data, and the device that processes the message may also combine the historical message interaction information of other users and the corresponding context data to perform statistics. Learn.
  • the method 100 further includes:
  • S160 Acquire, from a server or a user database, historical message interaction information of at least one other user except the user, and third context data associated with historical message interaction information of the at least one other user, where the third context data is used. Characterizing user information or environmental information of the at least one other user when the historical message interaction information of the at least one other user occurs;
  • the third context data includes at least one of the following information: a schedule of the user, location information of the user, mobile mode information of the user, and environmental information about the user. .
  • User A knows very little about cultural relics appreciation, but User A receives a message from a friend asking him about a cultural relic related question, if the device processing the message can perform statistical learning on the historical message interaction information of the user C who knows the cultural relics very well, and This gives a very constructive opinion to User A's friends, which undoubtedly significantly increases the user's experience.
  • the historical message interaction information of the at least one other user may include historical message interaction information between the other users, and may also include historical message interaction information between other users and users using the terminal. Embodiments of the invention are not limited thereto.
  • the device that processes the message may obtain the historical message interaction information of the other user and the corresponding third context data by requesting the other user; the device processing the message may also obtain the historical message interaction information of the other user from the network side device and Corresponding third context data, for example, the foregoing information and data are obtained through the OSS data of the service provider; of course, the device for processing the message may also obtain the foregoing information and data by other methods, and the embodiment of the present invention is not limited thereto.
  • the reply processing of the current message includes: S141, determining, according to the message interaction preference, a historical message interaction content of the user and a historical message receiving content included in the historical message interaction content of the user, and the first a mapping rule between context data;
  • S143 Perform a reply processing on the current message according to the message replying policy of the current message.
  • the replying the current message according to the message replying policy of the current message includes:
  • the device that processes the message may generate a reply content according to the message reply policy of the current message and the message writing style included in the message interaction preference, and reply to the message. Current message; On the other hand, when the device processing the message determines that the current message is not replied according to the message reply policy, the device processing the message can ignore the current message.
  • the method for processing a message determines the message interaction preference of the user based on the context data associated with the historical message interaction information and the history message interaction information of the user, and can automatically reply to the current message according to the message interaction preference.
  • the processing enables the reply of the message not only to conform to the user's personality and preferences, but also to conform to the context in which the message is received, thereby significantly enhancing the user experience.
  • the generating the reply content and replying to the current message includes:
  • the device that processes the message when the device that processes the message determines to reply to the current message according to the message reply policy, the device that processes the message may generate a reply content, which is displayed to the user, and is sent by the user for confirmation; the device that processes the message may also Two or more reply content is generated according to the situation, and the user is provided to make a selection so that the reply of the message is more in line with the user's personal preference and context.
  • the generating the reply content and replying to the current message includes:
  • the apparatus for processing a message may further respond not only to the sender of the current message but also to at least the sender of the current message according to the specific message content and the context data.
  • a receiving party sends the reply message, and the embodiment of the present invention is not limited thereto.
  • the system for automatically processing messages may include a terminal and a cloud service
  • the terminal application may include the following components: SMS content and context collection module (SMS Demon & Sensor Data Reader, called “SDR”), data integration Module (Data Integrator, "DI”), Reply Adjudicator (“RA”) and SMS Reply Generator (“Sig”); Cloud User Preferences
  • the learning service (Service) may include the following components: a User Behavior Learning Module (“Berlin” called “UBLM”), a User Model Generator (“User Model Generator” (UMG)), and a User Preference Database ( User Preference Database , the cartridge is called “UPD”).
  • the SMS Content and Context Collection Module can be used to collect SMS content (including received SMS and replies) and context data;
  • Data Integrator Can be used to send SMS content Align with the context data, and encapsulate it into a data unit, as an input for statistical learning;
  • Reply Adjudicator You can give a reply policy for receiving SMS according to user preferences, such as immediate reply, etc., the cloud service can decide the reply.
  • the module is set to match the judgment performance with the user's personality of the terminal; SMS Reply Generator: The content of the reply message can be generated according to the user preference and the context information when determining the reply message, the cloud The service may also set the short message reply content generating module so that its judgment performance matches the personality of the user of the terminal.
  • the user behavior learning module can be used to receive the short message data unit (including the short message content and the context) from the terminal application, and can combine the information of the network side (from the service provider's OSS data, including The user's historical SMS interaction record, etc.), completes statistical learning for user preferences and writing habits, and the module can merge data of multiple habitually similar users for learning together during the learning process.
  • User Model Generator Used to generate a matching SMS reply model for each user based on the results of statistical learning. The model can include two parts: Reply Policy Model (Reply Policy Model, called "RPM”) and Personal Style Content Generation Model (“PCCGM”).
  • the user model production module production module is further responsible for setting the RPM to the reply decision module, and setting the PSCGM to the short message reply content generation module, so that the terminal application is consistent with the style of the terminal holder when replying to the short message.
  • User Preference Database It is used to store the user's respective SMS reply behavior model.
  • the user model production module UMG can add/delete/update/index the contents of the database (Add/Delete/Update/Index). Functional operation.
  • the working process of the terminal and the cloud service for automatically replying to the short message can be, for example:
  • the SDR of the terminal can collect the short message content and the context data, and submit the collected data to the data integration module DI;
  • the DI can clean and encapsulate the data, and can submit the encapsulated data unit to the cloud service in the background; the data is combined, the statistical learning is performed to obtain the user's preference, and the user's RPM/PSCGM can be generated by the UMG. And back up/updated to the user preference database;
  • the UMG can configure the model to the RA and SRG modules on the application side of the user terminal;
  • the short message content and related context information can be forwarded to the RA and the SRG module, and the RA can determine the reply policy of the short message according to the RPM of the user, and in the case that a reply is needed, the SRG can be based on the user's PSCGM generates a reply content;
  • the terminal presents the reply content to the terminal screen, and can be issued by the user after confirmation.
  • the embodiment of the present invention is not limited thereto.
  • the device that processes the message records the history according to the history message, and learns the historical statistics of the response of the user E to the boyfriend user F as shown in Table 2:
  • the UMG module can know that the weather conditions in the past few days are rainy and rainy, and the UMG module can select template one, template two and template four, and construct a short message reply. Options: “Listen to the concert", “Look at the movie” and “I don't feel comfortable, don't go”.
  • the terminal displays these three short message reply options on the screen for the user to select.
  • the user ⁇ chose to reply to the message as “uncomfortable, not going” because of a bad mood, and the terminal sends the reply message selected by the user to the user F.
  • the method for processing a message determines the message interaction preference of the user based on the context data associated with the historical message interaction information and the history message interaction information of the user, and can automatically reply to the current message according to the message interaction preference.
  • the processing enables the reply of the message not only to conform to the user's personality and preferences, but also to conform to the context in which the message is received, thereby significantly enhancing the user experience.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • FIG. 9 shows a schematic block diagram of a terminal 500 in accordance with an embodiment of the present invention.
  • the terminal 500 includes:
  • the first obtaining module 510 is configured to acquire historical message interaction information of the user and first context data associated with historical message interaction information of the user, where the historical message interaction information of the user includes The history message interaction content and the history message reply situation, the first context data is used to represent user information or environment information when the historical message interaction information of the user occurs;
  • the determining module 520 is configured to determine, according to the historical message interaction information of the user acquired by the first obtaining module 510 and the first context data, a message interaction preference of the user, where the message interaction preference includes a message reply policy and/or message writing Style
  • the second obtaining module 530 is configured to receive a current message sent to the user, and obtain second context data associated with the current message, where the second context data is used to represent user information or environment when the current message of the user occurs.
  • the replying module 540 is configured to perform a reply processing on the current message according to the message interaction preference determined by the determining module 520 and the current message and the second context data acquired by the second obtaining module 530.
  • the terminal that processes the message according to the embodiment of the present invention determines the message interaction preference of the user by using the context data associated with the historical message interaction information and the history message interaction information of the user, and can automatically reply to the current message according to the message interaction preference.
  • the processing enables the reply of the message not only to conform to the user's personality and preferences, but also to conform to the context in which the message is received, thereby significantly enhancing the user experience.
  • the terminal 500 further includes: a pre-processing module 550, configured to perform pre-processing on the history message interaction content of the user; wherein the determining module 520 is configured to: And determining, according to the history message interaction content of the user preprocessed by the preprocessing module 550 and the first context data, the message interaction preference of the user.
  • a pre-processing module 550 configured to perform pre-processing on the history message interaction content of the user
  • the determining module 520 is configured to: And determining, according to the history message interaction content of the user preprocessed by the preprocessing module 550 and the first context data, the message interaction preference of the user.
  • the determining module 520 is further configured to: determine, according to the emoticon in the user's historical message interaction content, and the first context data, the message including the emoticon preference of the user. Writing style.
  • the determining module 520 is configured to: determine the message interaction preference of the user by using a statistical learning manner.
  • the reply module 540 includes: a first determining unit 541, configured to determine, according to the message interaction preference, a historical message interaction situation of the user and a history of the user. a history message receiving content included in the message interaction content and a mapping rule between the first context data;
  • a second determining unit 542 configured to determine, according to the mapping rule determined by the first determining unit 541, the current message and the second context data as an input of the mapping rule, to determine the current cancellation Message reply strategy;
  • the replying unit 543 is configured to perform a reply processing on the current message according to the message replying policy of the current message determined by the second determining unit 542.
  • the reply unit 543 is optionally used to:
  • the replying unit 543 includes: a first determining subunit 5431, configured to determine, according to the message interaction preference, a history message included in the history message interaction content of the user. Replying to the content, interacting with the history message of the user, including a history message receiving content and a second mapping rule between the first context data;
  • a second determining sub-unit 5432 configured to determine, according to the second mapping rule determined by the first determining sub-unit 5431, the current message and the second context data as an input of the mapping rule, determining a reply content of the current message;
  • the first sending subunit 5433 is configured to send the reply content to the sender of the current message according to the message reply policy of the current message and the reply content determined by the second determining unit 5432.
  • the replying unit 543 includes: a generating subunit 5434, configured to generate the current according to a message replying policy of the current message determined by the second determining unit 542. At least one reply to the message;
  • control subunit 5435 configured to display, to the user, the at least one piece of reply content generated by the generating subunit 5434, and determine a reply content selected by the user in the at least one piece of reply content
  • second sending subunit 5436 configured to The sender of the current message sends the reply content selected by the user determined by the control subunit 5435.
  • the user information or the environment information includes at least one of the following information: a schedule of the user, location information of the user, mobile mode information of the user, and an environment surrounding the user. information. That is, the first context data or the second context data includes at least one of the following information: the user's schedule, the user's location information, the user's mobile mode information, and environmental information surrounding the user.
  • the message replying policy includes at least one of the following information.
  • Kind Whether to reply to the message, how to reply to the message, when to reply to the message, and the environmental conditions of the reply message.
  • the message writing style includes at least one of the following information: a reply mode, a reply tone, a commonly used vocabulary and a sentence pattern.
  • the message includes: a short message, an instant message, a private message, or a WeChat.
  • the terminal 500 for processing a message may correspond to the apparatus for processing the message of the method 100 in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the terminal 500 are respectively The corresponding processes of the method 100 in FIG. 1 to FIG. 8 are implemented, and are not described here.
  • the terminal that processes the message according to the embodiment of the present invention determines the message interaction preference of the user by using the context data associated with the historical message interaction information and the history message interaction information of the user, and can automatically reply to the current message according to the message interaction preference.
  • the processing enables the reply of the message not only to conform to the user's personality and preferences, but also to conform to the context in which the message is received, thereby significantly enhancing the user experience.
  • Figure 14 shows a schematic block diagram of a system 700 in accordance with an embodiment of the present invention.
  • the system 700 includes a terminal 800 and a server 900, wherein the terminal 800 includes:
  • the data collection module 810 is configured to acquire historical message interaction information of the user and first context data associated with the historical message interaction information of the user, where the first context data is used to represent user information when the historical message interaction information of the user occurs. Or environmental information;
  • the data integration module 820 is configured to integrate the historical message interaction information of the user acquired by the data collection module 810 and the first context data to obtain a data format suitable for learning input, and integrate the processed data in the data format. Sent to the server 900;
  • the server 900 includes:
  • the learning module 910 is configured to receive data in the data format sent by the data integration module 820, and perform statistical learning on the message interaction preference of the user according to the data;
  • the message interaction preference includes a reply policy and/or a message writing style;
  • the user model production module 920 is configured to configure a reply policy model and a content production model for the terminal according to the result of the statistical learning by the learning module 910;
  • the data collection module 810 is further configured to receive a current message sent to the user, and obtain second context data associated with the current message, where the second context data is used to represent the user. User information or environmental information when the current message occurs;
  • the terminal 800 also includes:
  • the replying module 830 is configured to reply to the current message according to the reply policy model configured by the user model production module 920 and the content production model, and the current message and the second context data acquired by the data collecting module 810. .
  • the system for processing a message determines the message interaction preference of the user based on the context data associated with the historical message interaction information and the historical message interaction information of the user, and can automatically reply to the current message according to the message interaction preference.
  • the processing enables the reply of the message not only to conform to the user's personality and preferences, but also to conform to the context in which the message is received, thereby significantly enhancing the user experience.
  • the data integration module 820 is configured to: preprocess the historical message interaction content included in the historical message interaction information of the user acquired by the data collection module 810, and preprocess the content
  • the user's historical message interaction content is further integrated to obtain a data format suitable for learning input, and the integrated data of the data format is sent to the server.
  • the learning module 910 is further configured to: according to the emoticon in the history message interaction content included in the history message interaction information of the user, and the first context data, interacting with the user message.
  • the emoji preferences are statistically learned to facilitate determining the message writing style including the user's emoji preferences.
  • the server 900 further includes: a data obtaining module 930, configured to acquire, from the server or the user database, a history message of at least one other user except the user.
  • the interaction information, and the third context data associated with the historical message interaction information of the at least one other user, the third context data is used to represent the user information of the at least one other user when the historical message interaction information of the at least one other user occurs Or environmental information;
  • the learning module 910 is further configured to: the data of the data format sent by the data integration module 820, and the history message interaction information of the at least one other user acquired by the data obtaining module 930 and the third context data, The user's message interaction preferences are statistically learned.
  • the reply module 830 includes: a reply determining unit 831, configured to use the current message and the second context data as the reply policy according to the reply policy model. The input of the model determines the response strategy for the current message.
  • the reply module 830 further includes: a reply content generating unit 832, configured to determine, in the reply determining unit 831, a reply policy of the current message to reply to the current message. And generating a reply content and replying to the current message according to the reply policy of the current message and the content production model.
  • the reply content generating unit 832 includes:
  • the generating subunit 8321 is configured to generate at least one reply content of the current message according to the content production model, the current message, and the second context data;
  • control subunit 8322 configured to display, to the user, the at least one piece of reply content generated by the generating subunit 8321, and determine a reply content selected by the user in the at least one piece of reply content
  • sending subunit 8323 configured to send the current The sender of the message sends the reply content selected by the user determined by the control sub-unit 8322.
  • the user information or the environment information includes at least one of the following information: a message sender, a message content, a schedule of the user, location information of the user, and a mobile mode information of the user. And environmental information around the user.
  • the message interaction preference includes a message reply policy
  • the message reply policy includes at least one of the following information: whether to reply to the message, the manner of replying to the message, the time of replying the message, and the reply message.
  • the message reply policy includes at least one of the following information: whether to reply to the message, the manner of replying to the message, the time of replying the message, and the reply message.
  • the message interaction preference includes a message writing style
  • the message writing style includes at least one of the following information: a reply mode, a reply tone, a commonly used vocabulary, and a sentence pattern.
  • the message includes: a short message, an instant message, a private message, or a WeChat.
  • system 700 for processing messages in accordance with embodiments of the present invention may correspond to apparatus for performing messages of the method 100 in embodiments of the present invention, and that the above and other operations and/or functions of the various modules in the system 700 are respectively The corresponding processes of the method 100 in FIG. 1 to FIG. 8 are implemented, and are not described here.
  • the system for processing a message determines the message interaction preference of the user based on the context data associated with the historical message interaction information and the historical message interaction information of the user, and can automatically reply to the current message according to the message interaction preference. Processing, so that the reply of the message not only meets the user's personality and preferences, but also can conform to the context of the message receiving, so that it can be displayed Landing enhances the user experience.
  • the present invention also provides an apparatus for processing a message.
  • the apparatus 600 includes a processor 610, a memory 620, a bus system 630, and a receiver 640.
  • the processor 610, the memory 620, and the receiver 640 pass through the bus system.
  • 630 is connected, the memory 620 is used to store instructions, and the processor 610 is configured to execute the instructions stored in the memory 620, where the processor 610 is configured to acquire historical message interaction information of the user and the historical message interaction information of the user.
  • the first context data, the history message interaction information of the user includes a history message interaction content and a history message reply situation, where the first context data is used to represent user information or environment information when the history message interaction information of the user occurs;
  • the device 610 is further configured to determine, according to the historical message interaction information of the user and the first context data, a message interaction preference of the user, where the message interaction preference comprises a message reply policy and/or a message writing style;
  • the receiver 640 is configured to receive The current message sent to the user, and get the a second context data associated with the current message, the second context data is used to represent user information or environment information when the current message of the user occurs;
  • the processor 610 is further configured to: according to the message interaction preference, the current message, and the The second context data is replied to the current message.
  • the apparatus for processing a message determines the message interaction preference of the user by using the context data associated with the history message interaction information and the historical message interaction information of the user, and can automatically reply to the current message according to the message interaction preference.
  • the processing enables the reply of the message not only to conform to the user's personality and preferences, but also to conform to the context in which the message is received, thereby significantly enhancing the user experience.
  • the processor 610 may be a central processing unit (a central processing unit (CPU), and the processor 610 may also be another general-purpose processor, a digital signal processor (DSP). ), application specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 620 can include read only memory and random access memory and provides instructions and data to the processor 610. A portion of memory 620 may also include non-volatile random access memory. For example, the memory 620 can also store information of the device type.
  • the bus system 630 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 630 in the figure.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 610 or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 620.
  • the processor 610 reads the information in the memory 620 and completes the steps of the above method in combination with hardware. To avoid repetition, it will not be described in detail here.
  • the processor 610 is configured to perform pre-processing on the historical message interaction content of the user, and determine the user according to the pre-processed historical message interaction content of the user and the first context data. Message interaction preferences.
  • the determining, by the processor 610, the message interaction preference of the user including: determining an expression including the user's expression according to the emoticon in the user's historical message interaction content, and the first context data.
  • the message style of the symbol preference including: determining an expression including the user's expression according to the emoticon in the user's historical message interaction content, and the first context data.
  • the processor 610 is configured to: obtain historical message interaction information of at least one other user except the user from a server or a user database, and historical message interaction information of the at least one other user.
  • the third context data is used to represent user information or environment information of the at least one other user when the history message interaction information of the at least one other user occurs; the processor 610 determines the message interaction of the user
  • the preference includes: determining a message interaction preference of the user according to the historical message interaction information of the user, the first context data, the historical message interaction information of the at least one other user, and the third context data.
  • the determining, by the processor 610, the message interaction preference of the user includes: determining the message interaction preference of the user by using a statistical learning manner.
  • the processor 610 performs a reply process on the current message, including: determining, according to the message interaction preference, a historical message included in the history message interaction situation of the user and the historical message interaction content of the user. Receiving a mapping rule between the content and the first context data; determining, according to the mapping rule, the current message and the second context data as an input of the mapping rule, determining a message replying policy of the current message; The message reply policy, and the current message is replied to.
  • the processor 610 according to the message replying policy of the current message, performing a reply process on the current message, including: a message replying policy finger in the current message Responding to the current message, according to the message replying policy of the current message, or replying to the policy according to the message and adopting the message writing style included in the message interaction preference, generating a reply content and replying to the current message; or in the current message
  • the message reply policy indicates that the current message is not replied, the current message is ignored.
  • the processor 610 generates the reply content and replies to the current message, including: determining, according to the message interaction preference, a history message reply content included in the history message interaction content of the user, and the user's The history message receiving content includes a history message receiving content and a second mapping rule between the first context data; according to the second mapping rule, using the current message and the second context data as an input of the mapping rule, determining the The reply content of the current message;
  • the device 600 further includes a transmitter 650, configured to send the reply content to the sender of the current message according to the message reply policy of the current message and the reply content.
  • the processor 610 generates the reply content and replies to the current message, including: generating at least one reply content of the current message according to the message interaction preference, the current message, and the second context data. ;
  • the device 600 further includes a display 660 for displaying the at least one piece of reply content to the user.
  • the processor 610 is further configured to determine the reply content selected by the user in the at least one piece of reply content; the transmitter
  • the 650 is further configured to send the reply content selected by the user to the sender of the current message.
  • the user information or the environment information includes at least one of the following information: a message sender, a message content, a schedule of the user, location information of the user, and a mobile mode information of the user. And environmental information around the user.
  • the message replying policy includes at least one of the following information: whether to reply to the message, the manner of replying to the message, the time of replying to the message, and the environmental condition of the replying message.
  • the message writing style includes at least one of the following information: a reply mode, a reply tone, a commonly used vocabulary, and a sentence pattern.
  • the message includes: a short message, an instant message, a private message, or a WeChat.
  • the system for processing a message determines a user's message interaction preference by using context data associated with historical message interaction information and historical message interaction information of the user.
  • the automatic reply processing of the current message can be performed according to the message interaction preference, so that the reply of the message not only conforms to the personality and preference of the user, but also conforms to the context of the message receiving, thereby significantly enhancing the user experience.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the present invention. All or part of the steps of the method described in the various embodiments are invented.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种处理消息的方法、终端和系统。该方法包括:获取用户的历史消息交互信息以及该用户的历史消息交互信息相关联的第一上下文数据,该用户的历史消息交互信息包括历史消息交互内容和历史消息回复情况;根据该用户的历史消息交互信息以及该第一上下文数据,确定该用户的消息交互偏好,该消息交互偏好包括消息回复策略和/或消息书写风格;接收发送给该用户的当前消息,并获取该当前消息相关联的第二上下文数据;根据该消息交互偏好、该当前消息以及该第二上下文数据,对该当前消息进行回复处理。本发明实施例的处理消息的方法、终端和系统,通过确定用户的消息交互偏好,能够对当前消息进行自动回复处理,从而能够增强用户体验。

Description

处理消息的方法、 终端和系统 本申请要求于 2012 年 12 月 31 日提交中国专利局、 申请号为 201210590094.3、 发明名称为"处理消息的方法、 终端和系统"的中国专利申 请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信领域, 尤其涉及通信领域中处理消息的方法、 终端和系 统。 背景技术
据国际电信联盟( International Telecommunications Union,筒称为 "ITU" ) 统计, 2010年全球共发出 6.1T条短信, 折合全球每个手机用户发送 1300条 短信。短信服务目前已经成为全球最大的电信增值应用产业, 2010年短信服 务(Short Message Service, 筒称为 "SMS" )业务的收入规模达到 1146亿美 金。 从趋势上看未来 5年内, 短信服务依然是最有影响的信息服务, 据 ITU 保守估计 2013年全球的短信服务营收将达到 1770亿美金。
作为终端生产商,如何为用户带来更好的体验是终端生产商脱颖而出的 重要策略之一; 另一方面, 作为手机终端最常用的服务, 如何能够帮助用户 方便地使用短信服务, 是提升终端用户体验的一条捷径。
目前, 用户使用短信服务的最大问题是输入慢且繁复, 特别是在短信回 复时, 问题尤为突出: 例如在开会的时候, 接收到一条较紧急的短信需要回 复, 但长时间的使用手机又不礼貌, 因此产生了很差的用户体验。 如何能够 让用户便捷地使用短信业务, 如回复短信, 是亟待解决的问题。
基于语音识别的输入技术可以有效地帮助手机应用提高输入速度,较为 知名的中文语音识别输入系统有科大讯飞、 中科院天语等输入系统。 使用语 音识别的技术回复短信能够提升用户体验, 但在开放域(不限制词汇范围和 讲话人)噪声环境中, 语音识别技术的准确率尚不能达到实用水平, 而且在 某些不宜讲话而急需输入的场景下也不能应用, 例如在开会中需要回复短信 的应用场景等。 因此, 基于语音识别技术的回复短信方案也需要进一步增强 用户体验。 基于固定规则的短信回复方案可以按照既定的分类条件,对接收的短信 进行分类, 再根据用户预先设定好的内容进行回复。 具体的技术方案可以由 终端实现, 也可以由网络侧设备实现, 也可以由终端与网络侧设备相结合来 实现。 例如: 用户可以事先设定好关机状况下的回复内容 "手机关机, 未能 及时回复, 见谅!", 在关机的情况下收到短信时, 系统自动回复该内容。
虽然该短信回复方案能够满足部分需求, 但是, 由于人为设定的规则有 限, 回复内容固定,在绝大多数场景下并不能取得良好的效果; 某些情况下, 反而可能引起误会, 让用户产生厌烦心理。 例如, B未在服务区的情况下, 收到了 A的求助短信, 按照预先设定的内容回复 "目前看不到短信, 有事再 联系", A收到这条回复后, 会认为 B故意搪塞, 使得自动回复的功能适得 其反。 因此, 该短信回复方案的用户体验也需要增强。 发明内容
本发明提供了一种处理消息的方法、 终端和系统, 能够增强用户体验。 第一方面, 提供了一种处理消息的方法, 该方法包括: 获取用户的历史 消息交互信息以及该用户的历史消息交互信息相关联的第一上下文数据, 该 用户的历史消息交互信息包括历史消息交互内容和历史消息回复情况, 该第 一上下文数据用于表征该用户的历史消息交互信息发生时的用户信息或环 境信息; 根据该用户的历史消息交互信息以及该第一上下文数据, 确定该用 户的消息交互偏好, 该消息交互偏好包括消息回复策略和 /或消息书写风格; 接收发送给该用户的当前消息, 并获取该当前消息相关联的第二上下文数 据, 该第二上下文数据用于表征该用户的当前消息发生时的用户信息或环境 信息; 根据该消息交互偏好、 该当前消息以及该第二上下文数据, 对该当前 消息进行回复处理。
在第一方面的第一种可能的实现方式中, 该方法还包括: 对该用户的历 史消息交互内容进行预处理; 该确定该用户的消息交互偏好, 包括: 根据预 处理后的该用户的历史消息交互内容以及该第一上下文数据,确定该用户的 消息交互偏好。
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二 种可能的实现方式中, 该确定该用户的消息交互偏好, 包括: 根据该用户的 历史消息交互内容中的表情符号, 以及该第一上下文数据, 确定包括该用户 的表情符号偏好的该消息书写风格。
结合第一方面、 第一方面的第一种或第二种可能的实现方式, 在第一方 面的第三种可能的实现方式中, 该方法还包括: 从服务器或用户数据库获取 除该用户之外的至少一个其他用户的历史消息交互信息, 以及该至少一个其 他用户的历史消息交互信息相关联的第三上下文数据, 该第三上下文数据用 于表征该至少一个其他用户的历史消息交互信息发生时该至少一个其他用 户的用户信息或环境信息; 该确定该用户的消息交互偏好, 包括: 根据该用 户的历史消息交互信息、 该第一上下文数据、 该至少一个其他用户的历史消 息交互信息以及该第三上下文数据, 确定该用户的消息交互偏好。
结合第一方面或第一方面的第一种或第三种可能的实现方式中的任一 种可能的实现方式, 在第一方面的第四种可能的实现方式中, 该确定该用户 的消息交互偏好, 包括: 通过基于统计学习方式确定该用户的该消息交互偏 好。
结合第一方面或第一方面的第一种至第四种可能的实现方式中的任一 种可能的实现方式, 在第一方面的第五种可能的实现方式中, 该根据该消息 交互偏好、该当前消息以及该第二上下文数据,对该当前消息进行回复处理, 包括: 根据该消息交互偏好, 确定该用户的历史消息交互情况与该用户的历 史消息交互内容包括的历史消息接收内容以及该第一上下文数据之间的映 射规则; 根据该映射规则, 将该当前消息以及该第二上下文数据作为该映射 规则的输入, 确定该当前消息的消息回复策略; 根据该当前消息的消息回复 策略, 对该当前消息进行回复处理。
结合第一方面的第五种可能的实现方式,在第一方面的第六种可能的实 现方式中,该根据该当前消息的消息回复策略,对该当前消息进行回复处理, 包括: 在该当前消息的消息回复策略指示回复该当前消息时, 根据该当前消 息的消息回复策略, 或根据该消息回复策略并采用该消息交互偏好包括的该 消息书写风格, 生成回复内容并回复该当前消息; 或在该当前消息的消息回 复策略指示不回复该当前消息时, 忽略该当前消息。
结合第一方面的第六种可能的实现方式,在第一方面的第七种可能的实 现方式中, 该生成回复内容并回复该当前消息, 包括: 生成该当前消息的至 少一条回复内容; 向该用户显示该至少一条回复内容, 并确定该用户在该至 少一条回复内容中选择的回复内容; 向该当前消息的发送方发送该用户选择 的回复内容。
结合第一方面或第一方面的第一种至第七种可能的实现方式中的任一 种可能的实现方式, 在第一方面的第八种可能的实现方式中, 该用户信息或 环境信息包括下列信息中的至少一种: 该用户的日程安排、 该用户的位置信 息、 该用户的移动方式信息和该用户周边的环境信息。
结合第一方面或第一方面的第一种至第七种可能的实现方式中的任一 种可能的实现方式, 在第一方面的第九种可能的实现方式中, 该消息回复策 略包括下列信息中的至少一种: 是否回复消息、 回复消息的方式、 回复消息 的时间和回复消息的环境条件。
结合第一方面或第一方面的第一种至第七种可能的实现方式中的任一 种可能的实现方式, 在第一方面的第十种可能的实现方式中, 该消息书写风 格包括下列信息中的至少一种: 回复方式、 回复语气、 常用的词汇和句式。
结合第一方面或第一方面的第一种至第七种可能的实现方式中的任一 种可能的实现方式,在第一方面的第十一种可能的实现方式中,该消息包括: 短信、 即时消息、 微博私信或微信。
第二方面, 提供了一种处理消息的终端, 该终端包括: 第一获取模块, 用于获取用户的历史消息交互信息以及该用户的历史消息交互信息相关联 的第一上下文数据, 该用户的历史消息交互信息包括历史消息交互内容和历 史消息回复情况, 该第一上下文数据用于表征该用户的历史消息交互信息发 生时的用户信息或环境信息; 确定模块, 用于根据该第一获取模块获取的该 用户的历史消息交互信息以及该第一上下文数据,确定该用户的消息交互偏 好, 该消息交互偏好包括消息回复策略和 /或消息书写风格; 第二获取模块, 用于接收发送给该用户的当前消息, 并获取该当前消息相关联的第二上下文 数据, 该第二上下文数据用于表征该用户的当前消息发生时的用户信息或环 境信息; 回复模块, 用于根据该确定模块确定的该消息交互偏好, 以及该第 二获取模块获取的该当前消息和该第二上下文数据,对该当前消息进行回复 处理。
在第二方面的第一种可能的实现方式中, 该终端还包括: 预处理模块, 用于对该用户的历史消息交互内容进行预处理; 其中, 该确定模块用于: 根 据该预处理模块预处理后的该用户的历史消息交互内容以及该第一上下文 数据, 确定该用户的消息交互偏好。 结合第二方面或第二面的第一种可能的实现方式,在第二方面的第二种 可能的实现方式中, 该确定模块还用于: 根据该用户的历史消息交互内容中 的表情符号, 以及该第一上下文数据, 确定包括该用户的表情符号偏好的该 消息书写风格。
结合第二方面、 第二方面的第一种或第二种可能的实现方式, 在第二方 面的第三种可能的实现方式中, 该确定模块用于: 通过基于统计学习方式确 定该用户的该消息交互偏好。
结合第二方面或第二方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第二方面的第四种可能的实现方式中, 该回复模块包 括: 第一确定单元, 用于根据该消息交互偏好, 确定该用户的历史消息交互 情况与该用户的历史消息交互内容包括的历史消息接收内容以及该第一上 下文数据之间的映射规则; 第二确定单元, 用于根据该第一确定单元确定的 该映射规则, 将该当前消息以及该第二上下文数据作为该映射规则的输入, 确定该当前消息的消息回复策略; 回复单元, 用于根据该第二确定单元确定 的该当前消息的消息回复策略, 对该当前消息进行回复处理。
结合第二方面的第四种可能的实现方式,在第二方面的第五种可能的实 现方式中, 该回复单元用于: 在该当前消息的消息回复策略指示回复该当前 消息时, 根据该当前消息的消息回复策略, 或根据该消息回复策略并采用该 消息交互偏好包括的该消息书写风格, 生成回复内容并回复该当前消息; 或 在该当前消息的消息回复策略指示不回复该当前消息时, 忽略该当前消息。
结合第二方面的第四种可能的实现方式,在第二方面的第六种可能的实 现方式中, 该回复单元包括: 生成子单元, 用于根据该第二确定单元确定的 该当前消息的消息回复策略, 生成该当前消息的至少一条回复内容; 控制子 单元, 用于向该用户显示该生成子单元生成的该至少一条回复内容, 并确定 该用户在该至少一条回复内容中选择的回复内容; 第二发送子单元, 用于向 该当前消息的发送方发送该控制子单元确定的该用户选择的回复内容。
结合第二方面或第二方面的第一种至第六种可能的实现方式中的任一 种可能的实现方式, 在第二方面的第七种可能的实现方式中, 该用户信息或 环境信息包括下列信息中的至少一种: 该用户的日程安排、 该用户的位置信 息、 该用户的移动方式信息和该用户周边的环境信息。
结合第二方面或第二方面的第一种至第六种可能的实现方式中的任一 种可能的实现方式, 在第二方面的第八种可能的实现方式中, 该消息回复策 略包括下列信息中的至少一种: 是否回复消息、 回复消息的方式、 回复消息 的时间和回复消息的环境条件。
结合第二方面或第二方面的第一种至第六种可能的实现方式中的任一 种可能的实现方式, 在第二方面的第九种可能的实现方式中, 该消息书写风 格包括下列信息中的至少一种: 回复方式、 回复语气、 常用的词汇和句式。
结合第二方面或第二方面的第一种至第六种可能的实现方式中的任一 种可能的实现方式, 在第二方面的第十种可能的实现方式中, 该消息包括: 短信、 即时消息、 微博私信或微信。
第三方面, 提供了一种处理消息的系统, 该系统包括终端和服务器, 其 中, 该终端包括: 数据收集模块, 用于获取用户的历史消息交互信息以及该 用户的历史消息交互信息相关联的第一上下文数据, 该第一上下文数据用于 表征该用户的历史消息交互信息发生时的用户信息或环境信息;数据整合模 块, 用于将该数据收集模块获取的该用户的历史消息交互信息以及该第一上 下文数据进行整合处理得到适合学习输入的数据格式, 并将整合处理后的该 数据格式的数据发送给该服务器; 该服务器包括: 学习模块, 用于接收该数 据整合模块发送的该数据格式的数据, 并根据该数据, 对该用户的消息交互 偏好进行统计学习; 该消息交互偏好包括回复策略和 /或消息书写风格;用户 模型生产模块, 用于根据学习模块进行统计学习的结果, 为该终端配置回复 策略模型和内容生产模型; 其中, 该数据收集模块还用于接收发送给该用户 的当前消息, 并获取该当前消息相关联的第二上下文数据, 该第二上下文数 据用于表征该用户的当前消息发生时的用户信息或环境信息; 该终端还包 括: 回复模块, 用于根据该用户模型生产模块配置的该回复策略模型和该内 容生产模型, 以及该数据收集模块获取的该当前消息和该第二上下文数据, 对该当前消息进行回复处理。
在第三方面的第一种可能的实现方式中, 该数据整合模块用于: 对该数 据收集模块获取的该用户的历史消息交互信息包括的历史消息交互内容进 行预处理, 并对经过预处理的该用户的历史消息交互内容再进行整合处理得 到适合学习输入的数据格式, 并将整合处理后的该数据格式的数据发送给该 服务器。
结合第三方面或第三方面的第一种可能的实现方式,在第三方面的第二 种可能的实现方式中,该学习模块还用于根据该用户的历史消息交互信息包 括的历史消息交互内容中的表情符号, 以及该第一上下文数据, 对该用户消 息交互中的表情符号偏好进行统计学习, 以便于确定包括该用户的表情符号 偏好的该消息书写风格。
结合第三方面或第三方面的第一种或第二种可能的实现方式,在第三方 面的第三种可能的实现方式中, 该服务器还包括: 数据获取模块, 用于从该 服务器或用户数据库获取除该用户之外的至少一个其他用户的历史消息交 互信息, 以及该至少一个其他用户的历史消息交互信息相关联的第三上下文 数据, 该第三上下文数据用于表征该至少一个其他用户的历史消息交互信息 发生时该至少一个其他用户的用户信息或环境信息; 其中, 该学习模块还用 于: 根据该数据整合模块发送的该数据格式的数据, 以及该数据获取模块获 取的该至少一个其他用户的历史消息交互信息和该第三上下文数据,对该用 户的消息交互偏好进行统计学习。
结合第三方面或第三方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第三方面的第四种可能的实现方式中, 该回复模块包 括: 回复判决单元, 用于根据该回复策略模型, 将该当前消息以及该第二上 下文数据作为该回复策略模型的输入, 确定该当前消息的回复策略。
结合第三方面的第四种可能的实现方式,在第三方面的第五种可能的实 现方式中, 该回复模块还包括: 回复内容生成单元, 用于在该回复判决单元 确定该当前消息的回复策略为回复该当前消息时,根据该当前消息的回复策 略以及该内容生产模型, 生成回复内容并回复该当前消息。
结合第三方面的第五种可能的实现方式,在第三方面的第六种可能的实 现方式中, 该回复内容生成单元包括: 生成子单元, 用于根据该内容生产模 型、 该当前消息以及该第二上下文数据, 生成该当前消息的至少一条回复内 容; 控制子单元, 用于向该用户显示该生成子单元生成的该至少一条回复内 容, 并确定该用户在该至少一条回复内容中选择的回复内容; 发送子单元, 用于向该当前消息的发送方发送该控制子单元确定的该用户选择的回复内 谷。
结合第三方面的第三种至第六种可能的实现方式中的任一种可能的实 现方式, 在第三方面的第七种可能的实现方式中, 该用户信息或环境信息包 括下列信息中的至少一种: 该用户的日程安排、 该用户的位置信息、 该用户 的移动方式信息和该用户周边的环境信息。
结合第三方面或第三方面的第一种至第六种可能的实现方式中的任一 种可能的实现方式, 在第三方面的第八种可能的实现方式中, 该消息交互偏 好包括消息回复策略, 该消息回复策略包括下列信息中的至少一种: 是否回 复消息、 回复消息的方式、 回复消息的时间和回复消息的环境条件。
结合第三方面或第三方面的第一种至第六种可能的实现方式中的任一 种可能的实现方式, 在第三方面的第九种可能的实现方式中, 该消息交互偏 好包括消息书写风格, 该消息书写风格包括下列信息中的至少一种: 回复方 式、 回复语气、 常用的词汇和句式。
结合第三方面或第三方面的第一种至第六种可能的实现方式中的任一 种可能的实现方式, 在第三方面的第十种可能的实现方式中, 该消息包括: 短信、 即时消息、 微博私信或微信。
基于上述技术方案, 本发明的处理消息的方法、 终端和系统, 通过基于 历史消息交互信息和用户的历史消息交互信息相关联的上下文数据,确定用 户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处 理, 使得消息的回复不仅符合用户的个性和喜好, 还能够符合消息接收的上 下文环境, 从而能够显著地增强用户体验。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作筒单地介绍, 显而易见地, 下面所描述的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1是根据本发明实施例的处理消息的方法的示意性流程图。
图 2是根据本发明实施例的处理消息的方法的另一示意性流程图。 图 3是根据本发明实施例的处理消息的方法的再一示意性流程图。 图 4是根据本发明实施例的对当前消息进行回复处理的方法的示意性流 程图。
图 5是根据本发明实施例的对当前消息进行回复处理的方法的另一示意 性流程图。
图 6是根据本发明实施例的对当前消息进行回复处理的方法的再一示意 性流程图。
图 7是根据本发明实施例的对当前消息进行回复处理的方法的再一示意 性流程图。
图 8是根据本发明实施例的处理消息的方法的再一示意性流程图。
图 9是根据本发明实施例的终端的示意性框图。
图 10是根据本发明实施例的终端的另一示意性框图。
图 11是根据本发明实施例的回复模块的示意性框图。
图 12是根据本发明实施例的回复单元的示意性框图。
图 13是根据本发明实施例的回复单元的另一示意性框图。
图 14是根据本发明实施例的系统的示意性框图。
图 15是根据本发明实施例的服务器的示意性框图。
图 16是根据本发明实施例的回复模块的示意性框图。
图 17是根据本发明实施例的回复内容生成单元的示意性框图。
图 18是根据本发明实施例的处理消息的装置的示意性结构图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。
应理解, 本发明实施例的技术方案可以应用于各种通信系统, 例如: 全 球移动通讯 ( Global System of Mobile communication, 筒称为 "GSM" )系统、 码分多址(Code Division Multiple Access, 筒称为 "CDMA" ) 系统、 宽带码 分多址( Wideband Code Division Multiple Access, 筒称为 "WCDMA" )系统、 通用分组无线业务(General Packet Radio Service, 筒称为 "GPRS" )、 长期 演进( Long Term Evolution, 筒称为 "LTE" )系统、 LTE频分双工( Frequency Division Duplex,筒称为 "FDD" )系统、 LTE时分双工( Time Division Duplex, 筒称为 "TDD" )、 通用移动通信系统 ( Universal Mobile Telecommunication System, 筒称为 "UMTS" )或全球互联微波接入( Worldwide Interoperability for Microwave Access , 筒称为 " WiMAX" )通信系统等。
还应理解,在本发明实施例中,终端(Terminal )可称之为用户设备(User Equipment, 筒称为 "UE,,)、 移动台 ( Mobile Station, 筒称为 "MS" )或移 动终端 (Mobile Terminal ) 等, 该终端可以经无线接入网 (Radio Access Network, 筒称为 "RAN" )与一个或多个核心网进行通信, 例如, 终端可以 是移动电话(或称为 "蜂窝" 电话), 例如, 终端还可以是便携式、 袖珍式、 手持式、 计算机内置的或者车载的移动装置, 它们与无线接入网交换语音和 /或数据。
图 1示出了根据本发明实施例的处理消息的方法 100的示意性流程图, 该方法 100例如由处理消息的装置执行。 如图 1所示, 该方法 100包括: S 110 ,获取用户的历史消息交互信息以及该用户的历史消息交互信息相 关联的第一上下文数据,该用户的历史消息交互信息包括历史消息交互内容 和历史消息回复情况,该第一上下文数据用于表征该用户的历史消息交互信 息发生时的用户信息或环境信息;
S120, 根据该用户的历史消息交互信息以及该第一上下文数据, 确定该 用户的消息交互偏好, 该消息交互偏好包括消息回复策略和 /或消息书写风 格;
S130, 接收发送给该用户的当前消息, 并获取该当前消息相关联的第二 上下文数据, 该第二上下文数据用于表征该用户的当前消息发生时的用户信 息或环境信息;
S140, 根据该消息交互偏好、 该当前消息以及该第二上下文数据, 对该 当前消息进行回复处理。
为了便于用户使用消息服务, 提升终端用户的体验, 处理消息的装置可 以首先获取用户的历史消息交互信息以及该用户的历史消息交互信息相关 联的第一上下文数据, 并由此确定用户的消息交互偏好; 从而当处理消息的 装置接收到当前消息时, 可以通过获取当前消息相关联的第二上下文数据, 以及确定的用户的消息交互偏好, 对该当前消息进行回复处理。
因此, 本发明实施例的处理消息的方法, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
具体而言, 本发明实施例的处理消息的方法, 一方面考虑了用户回复消 息的习惯, 以及回复内容的书写风格等个人偏好, 使得处理消息的装置对接 收到的当前消息进行的自动回复处理, 更能体现用户的个人风格, 更真实也 更贴切; 另一方面, 处理消息的装置所确定的用户的消息交互偏好, 考虑了 用户的历史消息交互信息相关联的上下文数据,使得处理消息的装置对接收 到的当前消息进行的自动回复处理,也能够结合当前消息相关联的上下文数 据,给出符合当前实际上下文环境的回复策略和 /或回复内容, 因而本发明实 施例的处理消息的方法能够显著地增强用户体验。
应理解, 本发明实施例仅以处理消息的装置执行该方法 100为例进行说 明, 但本发明实施例并不限于此, 例如, 该方法 100可以由终端执行, 也可 以由服务器执行, 还可以由终端与服务器共同执行。
在 S110 中, 处理消息的装置可以获取用户的历史消息交互信息以及该 用户的历史消息交互信息相关联的第一上下文数据。
具体而言, 在本发明实施例中, 可选地, 该历史消息交互信息包括历史 消息交互内容和历史消息回复情况; 可选地, 该历史消息交互内容包括历史 消息接收内容和历史消息回复内容; 可选地, 该历史消息回复情况包括是否 回复历史消息、 回复历史消息的方式、 回复历史消息的时间和回复历史消息 的环境条件中的至少一项。
例如, 该历史消息回复情况可以包括是否回复历史消息; 在回复历史消 息时, 该历史消息回复情况还可以包括以何种方式回复历史消息, 例如短信 回复或语音回复等; 或者包括回复历史消息的时间信息, 例如在一分钟内回 复,或在一个小时内回复等;或者也可以包括回复历史消息的环境条件信息, 例如开会应用场景下回复, 或回复历史消息时的位置信息等。 应理解, 本发 明实施例仅以此为例进行说明, 但本发明实施例并不限于此, 例如, 该历史 消息回复情况还可以包括历史消息的其他回复对象等。
在本发明实施例中, 该第一上下文数据用于表征该用户的历史消息交互 信息发生时的用户信息或环境信息, 可选地, 该用户信息或环境信息包括下 列信息中的至少一种: 该用户的日程安排、 该用户的位置信息、 该用户的移 动方式信息和该用户周边的环境信息。
具体而言, 该第一上下文数据指接收到消息之前一段时间到接收到消息 之后的一段时间内, 可以获取的对消息回复有影响的用户信息或环境信息的 总和, 该上下文数据也可称为消息相关联的上下文环境。 应理解, 在本发明 实施例中,消息相关联的上下文数据可以指代第一、第二或第三上下文数据。 还应理解, 此处的上下文环境不局限终端可以获得的信息, 也可以包括网络 侧设备可以获得的信息。
在本发明实施例中, 消息相关联的上下文数据, 即用户信息或环境信息 可以包括对消息回复有影响的各种环境信息, 例如, 用户信息或环境信息可 以包括消息发送方, 例如张无忌可能拒绝丁敏君的约会请求, 但不会拒绝赵 敏的请求, 因此消息发送方对消息回复具有影响; 用户信息或环境信息可以 包括历史上用户与消息发送方的交流内容, 例如城管对市长的谈话方式与对 小贩的谈话方式定然不同; 用户信息或环境信息可以包括用户的日程安排, 例如某明星已经决定未来两周进行海外巡演, 因而断然不能应允与国内影迷 开见面会; 用户信息或环境信息可以包括用户的位置信息, 例如, 北京的官 员无法参加上海马上开始的同学聚会; 用户信息或环境信息可以包括移动方 式信息, 例如用户堵车中, 因而无法应允按时出席会议; 用户信息或环境信 息可以包括用户周边的环境信息, 该环境信息例如包括噪音水平等, 例如在 环境及其嘈杂的情况下, 对于来电直接回复 "很吵, 换个地方马上拨回去" 是礼貌的回复, 该环境信息例如还包括周边环境, 例如用户习惯下午 3点至 4点散步 1小时, 因此可以按照习惯设定一小时后回复。
应理解, 用户信息或环境信息还可以包括其它信息, 本发明实施例并不 限于此。 还应理解, 在本发明实施例中, 术语 "第一"、 "第二" 和 "第三" 仅仅是为了指代不同的信息或内容, 而不限于具体的名称。 例如, "第一上 下文数据" 可以指代用户的历史消息交互信息相关联的上下文数据; "第二 上下文数据" 可以指代用户的当前消息相关联的上下文数据; "第三上下文 数据" 可以指代至少一个其他用户的历史消息交互信息相关联的上下文数 据, 但本发明实施例并不限于此。
在本发明实施例中, 应理解, 处理消息的装置可以根据该装置内部存储 的历史消息交互记录,获取用户的历史消息交互信息以及该用户的历史消息 交互信息相关联的第一上下文数据; 处理消息的装置可以根据服务提供商的 运营支撑系统(Operation Support System, 筒称为 "OSS" )数据, 获取用户 的历史消息交互信息以及该用户的历史消息交互信息相关联的第一上下文 数据。还应理解,处理消息的装置也可以采用其它方法获取上述信息或数据, 本发明实施例并不限于此。 在本发明实施例中, 可选地, 该消息包括: 短信、 即时消息、 專私信 或 信。 应理解, 该消息还可以包括其它形式的信息, 本发明实施例并不限 于此。
在 S120中, 处理消息的装置可以根据该用户的历史消息交互信息以及 该第一上下文数据, 确定该用户的消息交互偏好, 该消息交互偏好包括消息 回复策略和 /或消息书写风格。
在本发明实施例中, 可选地, 该消息回复策略包括下列信息中的至少一 种: 是否回复消息、 回复消息的方式、 回复消息的时间和回复消息的环境条 件。
具体而言, 该消息回复策略可以包括是否回复消息, 例如不回复消息, 或回复消息;在确定回复消息时,该消息回复策略可以包括回复消息的方式, 例如以短信方式回复, 或以 信方式回复等; 该消息回复策略可以包括回复 消息的时间信息, 例如在一分钟内回复, 或在一个小时内回复等; 该消息回 复策略可以包括回复消息的环境条件信息, 例如开会应用场景下以短信形式 回复, 或在私密空间内以语音形式回复等。 应理解, 本发明实施例仅以此为 例进行说明, 但本发明实施例并不限于此, 例如, 该消息回复策略还可以包 括历史消息的其他回复对象等。
在本发明实施例中, 可选地, 该消息书写风格包括下列信息中的至少一 种: 回复方式、 回复语气、 常用的词汇和句式。
例如, 该回复方式包括短信方式回复、 即时消息方式回复、 專私信方 式回复、 信方式回复或语音方式回复等; 该回复语气例如包括以商量的语 气进行回复, 或以肯定的语气进行回复, 或以质疑的语气进行回复等; 该句 式例如包括以筒短的句式进行回复, 或以详细清楚的句式进行回复等, 本发 明实施例并不限于此。
应理解, 处理消息的装置本文中术语 "和 /或"仅仅是一种描述关联对象 的关联关系, 表示可以存在三种关系, 例如, A和 /或 B 可以表示: 单独存 在 A, 同时存在 A和 B, 单独存在 B这三种情况。 另外, 本文中字符 "/" , 一般表示前后关联对象是一种 "或" 的关系。
在本发明实施例中, 可选地, 处理消息的装置通过基于统计学习方式, 并根据该用户的历史消息交互信息以及该第一上下文数据,确定用户的消息 交互偏好。 例如, 处理消息的装置获取用户 A与其岳父用户 B的历史消息交互记 录, 并通过数据统计学习确定用户 A对 B的回复的历史统计大致如表一所 示:
Figure imgf000016_0001
Figure imgf000016_0002
由此, 可以确定用户 A对 B的回复策略通常为回复消息, 回复消息的 时间为立即回复等; 并且可以确定消息书写风格为非常礼貌、 尊敬的回复语 气, 常用的词汇为敬语 "您" 等。 应理解, 用户 A对 B的具体回复策略及 消息书写风格还需要根据用户 A收到 B的当前消息, 以及当前消息相关联 的上下文数据进行确定, 下文中将对该例子进行进一步的描述。
应理解, 在本发明实施例中, 统计学习的过程可以是根据作为输入的实 际数据以及给定的映射函数形式, 求解该映射函数中的参数集合的过程, 该 消息交互偏好可以是该映射函数的形式; 另一方面, 根据该消息交互偏好进 行回复处理的过程, 可以是根据新的输入确定该映射函数的取值的过程。
应理解, 在本发明实施例中, 该统计学习方法不依赖于具体语言的自然 语言处理技术, 例如分词、 语义分析等, 因此本发明实施例的系统应用环境 不限于中文, 可以方便地扩展到各种语言的自动信息回复中。
在 S130中, 处理消息的装置接收当前消息, 并可以获取该当前消息相 关联的第二上下文数据, 以用于对当前消息进行回复处理。
在本发明实施例中, 可选地, 该第二上下文数据包括下列信息中的至少 一种: 该用户的日程安排、 该用户的位置信息、 该用户的移动方式信息和该 用户周边的环境信息。
在 S140中, 处理消息的装置可以根据该消息交互偏好、 该当前消息以 及该第二上下文数据, 对该当前消息进行回复处理。 仍以用户 A对 B的回复为例进行说明, 假设用户 A在会议中接收到用 户 B的短信 "有空吗? 下午 5点来接我一下",根据用户 A的消息交互偏好, 可以分析得出对于用户 B的请求,用户 A的应允概率(例如为 70/74~94.6% ) ί艮高, 因而该短信的回复适用模板一; 但根据第二上下文数据包括的用户 A 的日程安排信息,发现用户 A在下文 4点半至 5点半之间需要参加一个会议, 因此可以得出该当前消息的回复策略为应允且立即回复, 并且可以采用统计 回复模板二进行回复。
处理消息的装置可以进一步根据第二上下文数据,获知用户 B的家的大 致位置, 并可以计算出由用户 A的公司到用户 B的家大致要半小时, 于是 可以构造出回复短信 "稍侯, 办完手上的事情就来, 6:00 左右到", 并可以 将该回复短信显示到屏幕上, 由用户 A确认后发送。
即本发明提出的一种处理消息的方法, 能够从用户的短信回复记录及相 关上下文中, 学习到用户个人的短信回复偏好和短信编写风格, 从而能够依 据个人的特点和短信接收的上下文环境, 决定短信的回复的策略并产生相关 的回复内容, 最后可以将生成的回复内容提交给用户审定, 并由用户确认后 发出。
因此, 本发明实施例的处理消息的方法, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
在本发明实施例中, 可选地, 如图 2所示, 该方法 100还包括:
S150, 对该用户的历史消息交互内容进行预处理;
S120该确定该用户的消息交互偏好, 包括:
S121 ,根据预处理后的该用户的历史消息交互内容以及该第一上下文数 据, 确定该用户的消息交互偏好。
例如, 处理消息的装置可以先对历史消息交互信息包括的历史消息交互 内容进行自然语言处理, 并根据经过自然语言处理后的该用户的历史消息交 互内容以及该第一上下文数据, 确定该用户的消息交互偏好。 还例如, 对获 取的历史消息交互内容与上下文数据进行关联对齐, 并封装成为数据单元, 作为统计学习的输入等。 应理解, 该自然语言处理可以包括进行分词处理、 词性标注处理、 命名 实体识别、 进行句法分析等。 应理解, 该预处理方法还可以包括其它具体的 预处理方法, 例如去除无内容短信、 去除重复短信或补全上下文信息等等, 本发明实施例并不限于此。 还应理解, 在本发明实施例中, 本发明使用的统 计分析的信息可以是消息的原始内容,也可以是消息经过预处理后的分词结 果, 还可是使用语义分析后的结构化语义数据, 本发明实施例并不限于此。
在本发明实施例中, 可选地, 如图 2所示, 该确定该用户的消息交互偏 好, 包括:
5122, 根据该用户的历史消息交互内容中的表情符号, 以及该第一上下 文数据, 确定包括该用户的表情符号偏好的该消息书写风格。
例如, 用户回复女友的短信爱用很可爱的表情符号, 但给领导的回复短 信中不用任何表情符号, 因此, 通过对用户的表情符号偏好进行学习, 能够 进一步提高用户体验。
应理解, 处理消息的装置可以根据获取的用户的历史消息交互信息以及 该第一上下文数据, 对用户的表情符号偏好进行统计学习; 该处理消息的装 置也可以在对用户的历史消息交互信息以及该第一上下文数据进行预处理 之后,对用户的表情符号偏好进行统计学习,即 S122可以在 S110之后执行, 也可以在 S150之后执行, 本发明实施例并不限于此。
应理解, 在本发明实施例中, 该统计学习方法不依赖于具体语言的自然 语言处理技术, 例如分词、 语义分析等, 因此本发明实施例的系统应用环境 不限于中文, 可以方便地扩展到各种语言的自动信息回复中。
在本发明实施例中, 处理消息的装置可以对用户的历史消息交互信息以 及相应的上下文数据进行统计学习, 处理消息的装置还可以结合其他用户的 历史消息交互信息以及相应的上下文数据, 进行统计学习。
具体地, 可选地, 如图 3所示, 该方法 100还包括:
S160,从服务器或用户数据库获取除该用户之外的至少一个其他用户的 历史消息交互信息, 以及该至少一个其他用户的历史消息交互信息相关联的 第三上下文数据, 该第三上下文数据用于表征该至少一个其他用户的历史消 息交互信息发生时该至少一个其他用户的用户信息或环境信息;
S120该确定该用户的消息交互偏好, 包括:
5123 , ^据该用户的历史消息交互信息、 该第一上下文数据、 该至少一 个其他用户的历史消息交互信息以及该第三上下文数据 ,确定该用户的消息 交互偏好。
在本发明实施例中, 可选地, 该第三上下文数据包括下列信息中的至少 一种: 该用户的日程安排、 该用户的位置信息、 该用户的移动方式信息和该 用户周边的环境信息。
例如, 用户 A对文物鉴赏了解甚少, 但用户 A接收到朋友向他咨询文 物相关问题的消息, 如果处理消息的装置能够对非常了解文物鉴赏的用户 C 的历史消息交互信息进行统计学习,并由此对用户 A的朋友给出非常具有建 设性的意见, 那么无疑能够显著增加用户的体验。
在本发明实施例中, 该至少一个其他用户的历史消息交互信息可以包括 该其他用户之间的历史消息交互信息,也可以包括其他用户与使用该终端的 用户之间的历史消息交互信息, 本发明实施例并不限于此。
应理解, 处理消息的装置可以通过向其他用户请求, 以获取其他用户的 历史消息交互信息以及相应的第三上下文数据; 处理消息的装置也可以从网 络侧设备获取其他用户的历史消息交互信息以及相应的第三上下文数据, 例 如通过服务提供商的 OSS数据获取上述信息和数据; 当然, 处理消息的装 置还可以通过其它方法获取上述信息和数据, 本发明实施例并不限于此。
下面将结合图 4至图 7 , 对根据本发明实施例的对当前消息进行回复处 理的方法 140进行描述。如图 4所示,该对该当前消息进行回复处理, 包括: S141 , 根据该消息交互偏好, 确定该用户的历史消息交互情况与该用户 的历史消息交互内容包括的历史消息接收内容以及该第一上下文数据之间 的映射规则;
S142, 根据该映射规则, 将该当前消息以及该第二上下文数据作为该映 射规则的输入, 确定该当前消息的消息回复策略;
S143 , 根据该当前消息的消息回复策略, 对该当前消息进行回复处理。 具体地, 在 S143 中, 可选地, 该根据该当前消息的消息回复策略, 对 该当前消息进行回复处理, 包括:
5146, 在该当前消息的消息回复策略指示回复该当前消息时, 根据该当 前消息的消息回复策略, 或根据该消息回复策略并采用该消息交互偏好包括 的该消息书写风格, 生成回复内容并回复该当前消息; 或
5147, 在该当前消息的消息回复策略指示不回复该当前消息时, 忽略该 当前消息。
具体而言, 当处理消息的装置根据消息回复策略确定回复当前消息时, 处理消息的装置可以根据该当前消息的消息回复策略以及该消息交互偏好 包括的该消息书写风格, 生成回复内容并回复该当前消息; 另一方面, 当处 理消息的装置根据消息回复策略确定不回复当前消息时, 处理消息的装置可 以忽略该当前消息。
因此, 本发明实施例的处理消息的方法, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
在本发明实施例中, 可选地, 如图 6所示, 该生成回复内容并回复该当 前消息, 包括:
51431 , 根据该消息交互偏好, 确定该用户的历史消息交互内容包括的 历史消息回复内容, 与该用户的历史消息交互内容包括的历史消息接收内容 以及该第一上下文数据之间的第二映射规则;
51432, 根据该第二映射规则, 将该当前消息以及该第二上下文数据作 为该映射规则的输入, 确定该当前消息的回复内容;
51433 , 根据该当前消息的消息回复策略和该回复内容, 向该当前消息 的发送方发送该回复内容。
在本发明实施例中, 当处理消息的装置根据消息回复策略确定回复当前 消息时, 处理消息的装置可以生成一条回复内容, 显示给用户, 并由用户确 认后发送出去; 处理消息的装置也可以根据情况生成两条或两条以上的回复 内容, 提供给用户进行选择, 以使得消息的回复更符合用户的个人偏好及上 下文环境。
具体而言, 可选地, 如图 7所示, 该生成回复内容并回复该当前消息, 包括:
51434, 生成该当前消息的至少一条回复内容;
51435 , 向该用户显示该至少一条回复内容, 并确定该用户在该至少一 条回复内容中选择的回复内容;
51436, 向该当前消息的发送方发送该用户选择的回复内容。 应理解, 在本发明实施例中, 处理消息的装置还可以根据具体的消息内 容以及上下文数据, 不仅可以向当前消息的发送方回复消息, 还可以向除当 前消息的发送方之外的其他至少一个接收方发送该回复消息, 本发明实施例 并不限于此。
下文中将结合图 8 , 以终端与服务器共同执行处理短信的方法为例, 对 根据本发明实施例的处理消息的方法进行说明。
如图 8所示, 自动处理消息的系统可以包括终端和云端服务, 该终端应 用可以包括如下组件: 短信内容和上下文收集模块(SMS Demon & Sensor Data Reader,筒称为 "SDR" )、数据整合模块( Data Integrator,筒称为 "DI" )、 回复判决模块(Reply Adjudicator, 筒称为 "RA" )和短信回复内容生成模块 ( SMS Reply Generator,筒称为 "SRG" );云端的用户偏好学习服务( Service ) 可以包括如下组件:用户行为统计学习模块( User Behavior Learning Module , 筒称为 "UBLM" )、用户模型生产模块( User Model Generator,筒称为 "UMG" ) 和用户偏好数据库( User Preference Database , 筒称为 "UPD" )。
其中, 短信内容和上下文收集模块( SMS Demon & Sensor Data Reader ) 可以用于采集短信内容(包括接收的短信和回复的短信)和上下文数据; 数 据整合模块(Data Integrator ): 可以用于将短信内容与上下文数据关联对齐, 并封装成为数据单元, 作为统计学习的输入; 回复判决模块 (Reply Adjudicator ): 可以按照用户偏好给出接收短信的回复策略, 如立即回复等, 云端服务可以对该回复判决模块进行设置, 以使其判决表现与终端的使用者 的个性相符; 短信回复内容生成模块(SMS Reply Generator ): 可以在确定 回复短信时, 根据用户偏好和上下文信息, 产生回复短信的内容, 云端服务 也可以对该短信回复内容生成模块进行设置, 以使其判决表现与终端的使用 者的个性相符。
其中, 用户行为统计学习模块 (User Behavior Learning Module): 可以用 于接收来自终端应用的短信数据单元(包括短信内容和上下文), 并可以结 合网络侧的信息 (来自服务提供商的 OSS数据, 包括用户的历史短信交互 记录等等), 完成针对用户偏好和书写习惯的统计学习, 该模块在学习过程 中可以将多个习惯类似的用户的数据归并起来进行共同学习。用户模型生产 模块(User Model Generator): 用于根据统计学习的结果, 为每一个用户生 成与之匹配的短信回复模型, 该模型可以包括两个部分: 回复策略模型 ( Reply Policy Model, 筒称为 "RPM" )和个人风格内容生产模型( Personal Style Content Generation Model, 筒称为 "PSCGM" )。 该用户模型生产模块 产模块还负责将 RPM设置到回复判决模块中, 以及将 PSCGM设置到短信 回复内容生成模块中, 以使得终端应用在回复短信时, 与终端持有者的风格 一致。 用户偏好数据库( User Preference Database ): 用于存储用户各自的短 信回复行为模型, 其中用户模型生产模块 UMG可以对该数据库的内容进行 增 /删 /改 /查 (Add/Delete/Update/Index)等功能操作。
终端和云端服务对短信进行自动回复的工作过程例如可以为:
1、 终端的 SDR可以采集短信内容和上下文数据, 并将采集的数据提交 给数据整合模块 DI;
2、 DI可以进行数据的清洗和封装, 并可以将封装后的数据单元提交给 后台的云端服务; 数据相结合, 进行统计学习以获得用户的偏好, 并可以由 UMG生成该用户 的 RPM/PSCGM, 并备份 /更新至用户偏好数据库中;
4、 UMG可以将模型配置到用户终端应用侧的 RA和 SRG模块;
5、 当终端收到短信时,短信内容和相关的上下文信息可以被转发到 RA 和 SRG模块, RA可以依据用户的 RPM决定短信的回复策略, 并在需要回 复的情况下, SRG可以根据用户的 PSCGM生成回复内容;
6、 终端将回复内容呈现到终端屏幕上, 并可以由用户确认后发出。 下面将以另一种具体的实施场景为例进行说明,但本发明实施例并不限 于此。
例如, 处理消息的装置根据历史消息交互记录, 学习得到用户 E对男友 用户 F的回复的历史统计大致如表二 :
Figure imgf000022_0001
序号 模板号 是否应允 回复策略 回复内容 概率
1 模板一 应允 立即回复 "听音乐会吧" 12%
2 模板二 应允 立即回复 "看电影" 11%
3 模板三 应允 立即回复 "徒步吧,, 10%
4 模板四 拒绝 立即回复 "不舒服, 不去了" 10% "没看到短信, 来不及了, 对
5 模板五 拒绝 推迟回复 8% 不起"
6 模板 应允 立即回复 "我支持你" 7%
7 模板七 XX XX … 假设用户 Ε的心情不好, 在湖边散步中, 接收到男友用户 F的短信 "明 天休假, 我有整天陪你, 想去干什么? ", 于是, 终端的 RA模块可以通过 PGM 的分析, 得出回复短信适用模板一, 但由于几种可能的回复的概率相 近, 因此, 终端可以确定当前消息的回复策略为立即回复, 并且可以确定采 用统计回复模板一、 模板二、 模板三或模板四进行回复。
UMG模块可以根据当前消息相关联的上下文数据, 获知近几天天气状 况均为阴雨, 而徒步与雨天相斥, 因此, UMG模块可以选定模板一、 模板 二和模板四, 并构造短信回复备选项: "听音乐会吧"、 "看电影" 和 "不舒 服, 不去了"。 终端将这三个短信回复备选项显示到屏幕上, 供用户 Ε选择。 用户 Ε由于心情不好, 选择回复短信为 "不舒服, 不去了", 于是终端将用 户 Ε选择的该回复短信发送给用户 F。
因此, 本发明实施例的处理消息的方法, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应 对本发明实施例的实施过程构成任何限定。
上文中结合图 1至图 8, 详细描述了根据本发明实施例的处理消息的方 法, 下面将结合图 9至图 17,描述描述根据本发明实施例的处理消息的终端 和系统。
图 9示出了根据本发明实施例的终端 500的示意性框图。 如图 9所示, 该终端 500包括:
第一获取模块 510, 用于获取用户的历史消息交互信息以及该用户的历 史消息交互信息相关联的第一上下文数据, 该用户的历史消息交互信息包括 历史消息交互内容和历史消息回复情况, 该第一上下文数据用于表征该用户 的历史消息交互信息发生时的用户信息或环境信息;
确定模块 520, 用于根据该第一获取模块 510获取的该用户的历史消息 交互信息以及该第一上下文数据, 确定该用户的消息交互偏好, 该消息交互 偏好包括消息回复策略和 /或消息书写风格;
第二获取模块 530, 用于接收发送给该用户的当前消息, 并获取该当前 消息相关联的第二上下文数据, 该第二上下文数据用于表征该用户的当前消 息发生时的用户信息或环境信息;
回复模块 540, 用于根据该确定模块 520确定的该消息交互偏好, 以及 该第二获取模块 530获取的该当前消息和该第二上下文数据,对该当前消息 进行回复处理。
因此, 本发明实施例的处理消息的终端, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
在本发明实施例中, 可选地, 如图 10所示, 该终端 500还包括: 预处理模块 550, 用于对该用户的历史消息交互内容进行预处理; 其中, 该确定模块 520用于: 根据该预处理模块 550预处理后的该用户 的历史消息交互内容以及该第一上下文数据, 确定该用户的消息交互偏好。
在本发明实施例中, 可选地, 该确定模块 520还用于: 根据该用户的历 史消息交互内容中的表情符号, 以及该第一上下文数据, 确定包括该用户的 表情符号偏好的该消息书写风格。
在本发明实施例中, 可选地, 该确定模块 520用于: 通过基于统计学习 方式确定该用户的该消息交互偏好。
在本发明实施例中, 可选地, 如图 11所示, 该回复模块 540包括: 第一确定单元 541 , 用于根据该消息交互偏好, 确定该用户的历史消息 交互情况与该用户的历史消息交互内容包括的历史消息接收内容以及该第 一上下文数据之间的映射规则;
第二确定单元 542, 用于根据该第一确定单元 541确定的该映射规则, 将该当前消息以及该第二上下文数据作为该映射规则的输入,确定该当前消 息的消息回复策略;
回复单元 543 , 用于根据该第二确定单元 542确定的该当前消息的消息 回复策略, 对该当前消息进行回复处理。
在本发明实施例中, 可选地, 该回复单元 543用于:
在该当前消息的消息回复策略指示回复该当前消息时,根据该当前消息 的消息回复策略, 或根据该消息回复策略并采用该消息交互偏好包括的该消 息书写风格, 生成回复内容并回复该当前消息; 或
在该当前消息的消息回复策略指示不回复该当前消息时, 忽略该当前消 息。
在本发明实施例中, 可选地, 如图 12所示, 该回复单元 543包括: 第一确定子单元 5431 ,用于根据该消息交互偏好,确定该用户的历史消 息交互内容包括的历史消息回复内容, 与该用户的历史消息交互内容包括的 历史消息接收内容以及该第一上下文数据之间的第二映射规则;
第二确定子单元 5432, 用于根据该第一确定子单元 5431确定的该第二 映射规则, 将该当前消息以及该第二上下文数据作为该映射规则的输入, 确 定该当前消息的回复内容;
第一发送子单元 5433 ,用于根据该当前消息的消息回复策略和该第二确 定子单元 5432确定的该回复内容, 向该当前消息的发送方发送该回复内容。
在本发明实施例中, 可选地, 如图 13所示, 该回复单元 543包括: 生成子单元 5434,用于根据该第二确定单元 542确定的该当前消息的消 息回复策略, 生成该当前消息的至少一条回复内容;
控制子单元 5435 , 用于向该用户显示该生成子单元 5434生成的该至少 一条回复内容, 并确定该用户在该至少一条回复内容中选择的回复内容; 第二发送子单元 5436, 用于向该当前消息的发送方发送该控制子单元 5435确定的该用户选择的回复内容。
在本发明实施例中, 可选地, 该用户信息或环境信息包括下列信息中的 至少一种: 该用户的日程安排、 该用户的位置信息、 该用户的移动方式信息 和该用户周边的环境信息。 即第一上下文数据或该第二上下文数据包括下列 信息中的至少一种: 该用户的日程安排、 该用户的位置信息、 该用户的移动 方式信息和该用户周边的环境信息。
在本发明实施例中, 可选地, 该消息回复策略包括下列信息中的至少一 种: 是否回复消息、 回复消息的方式、 回复消息的时间和回复消息的环境条 件。
在本发明实施例中, 可选地, 其特征在于, 该消息书写风格包括下列信 息中的至少一种: 回复方式、 回复语气、 常用的词汇和句式。
在本发明实施例中, 可选地, 该消息包括: 短信、 即时消息、 專私信 或微信。
应理解,根据本发明实施例的处理消息的终端 500可对应于本发明实施 例中的执行方法 100的处理消息的装置, 并且终端 500中的各个模块的上述 和其它操作和 /或功能分别为了实现图 1至图 8中的方法 100的相应流程,为 了筒洁, 在此不再赘述。
因此, 本发明实施例的处理消息的终端, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
图 14示出了根据本发明实施例的系统 700的示意性框图。如图 14所示, 该系统 700包括终端 800和服务器 900, 其中, 该终端 800包括:
数据收集模块 810, 用于获取用户的历史消息交互信息以及该用户的历 史消息交互信息相关联的第一上下文数据, 该第一上下文数据用于表征该用 户的历史消息交互信息发生时的用户信息或环境信息;
数据整合模块 820, 用于将该数据收集模块 810获取的该用户的历史消 息交互信息以及该第一上下文数据进行整合处理得到适合学习输入的数据 格式, 并将整合处理后的该数据格式的数据发送给该服务器 900;
该服务器 900包括:
学习模块 910,用于接收该数据整合模块 820发送的该数据格式的数据, 并根据该数据, 对该用户的消息交互偏好进行统计学习; 该消息交互偏好包 括回复策略和 /或消息书写风格;
用户模型生产模块 920, 用于根据学习模块 910进行统计学习的结果, 为该终端配置回复策略模型和内容生产模型;
其中, 该数据收集模块 810还用于接收发送给该用户的当前消息, 并获 取该当前消息相关联的第二上下文数据, 该第二上下文数据用于表征该用户 的当前消息发生时的用户信息或环境信息;
该终端 800还包括:
回复模块 830, 用于根据该用户模型生产模块 920配置的该回复策略模 型和该内容生产模型, 以及该数据收集模块 810获取的该当前消息和该第二 上下文数据, 对该当前消息进行回复处理。
因此, 本发明实施例的处理消息的系统, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
在本发明实施例中, 可选地, 该数据整合模块 820用于: 对该数据收集 模块 810获取的该用户的历史消息交互信息包括的历史消息交互内容进行预 处理, 并对经过预处理的该用户的历史消息交互内容再进行整合处理得到适 合学习输入的数据格式, 并将整合处理后的该数据格式的数据发送给该服务 器。
在本发明实施例中, 可选地, 该学习模块 910还用于根据该用户的历史 消息交互信息包括的历史消息交互内容中的表情符号, 以及该第一上下文数 据, 对该用户消息交互中的表情符号偏好进行统计学习, 以便于确定包括该 用户的表情符号偏好的该消息书写风格。
在本发明实施例中, 可选地, 如图 15所示, 该服务器 900还包括: 数据获取模块 930, 用于从该服务器或用户数据库获取除该用户之外的 至少一个其他用户的历史消息交互信息, 以及该至少一个其他用户的历史消 息交互信息相关联的第三上下文数据, 该第三上下文数据用于表征该至少一 个其他用户的历史消息交互信息发生时该至少一个其他用户的用户信息或 环境信息;
其中, 该学习模块 910还用于: 根据该数据整合模块 820发送的该数据 格式的数据, 以及该数据获取模块 930获取的该至少一个其他用户的历史消 息交互信息和该第三上下文数据, 对该用户的消息交互偏好进行统计学习。
在本发明实施例中, 可选地, 如图 16所示, 该回复模块 830包括: 回复判决单元 831 , 用于根据该回复策略模型, 将该当前消息以及该第 二上下文数据作为该回复策略模型的输入, 确定该当前消息的回复策略。 在本发明实施例中, 可选地, 如图 16所示, 该回复模块 830还包括: 回复内容生成单元 832, 用于在该回复判决单元 831确定该当前消息的 回复策略为回复该当前消息时,根据该当前消息的回复策略以及该内容生产 模型, 生成回复内容并回复该当前消息。
在本发明实施例中, 可选地, 如图 17所示, 该回复内容生成单元 832 包括:
生成子单元 8321 ,用于根据该内容生产模型、该当前消息以及该第二上 下文数据, 生成该当前消息的至少一条回复内容;
控制子单元 8322, 用于向该用户显示该生成子单元 8321生成的该至少 一条回复内容, 并确定该用户在该至少一条回复内容中选择的回复内容; 发送子单元 8323 , 用于向该当前消息的发送方发送该控制子单元 8322 确定的该用户选择的回复内容。
在本发明实施例中, 可选地, 用户信息或环境信息包括下列信息中的至 少一种: 消息发送方、 消息内容、 该用户的日程安排、 该用户的位置信息、 该用户的移动方式信息和该用户周边的环境信息。
在本发明实施例中, 可选地, 该消息交互偏好包括消息回复策略, 该消 息回复策略包括下列信息中的至少一种: 是否回复消息、 回复消息的方式、 回复消息的时间和回复消息的环境条件。
在本发明实施例中, 可选地, 该消息交互偏好包括消息书写风格, 该消 息书写风格包括下列信息中的至少一种: 回复方式、 回复语气、 常用的词汇 和句式。
在本发明实施例中, 可选地, 该消息包括: 短信、 即时消息、 專私信 或微信。
应理解,根据本发明实施例的处理消息的系统 700可对应于本发明实施 例中的执行方法 100的处理消息的装置, 并且系统 700中的各个模块的上述 和其它操作和 /或功能分别为了实现图 1至图 8中的方法 100的相应流程,为 了筒洁, 在此不再赘述。
因此, 本发明实施例的处理消息的系统, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
本发明还提供了一种处理消息的装置, 如图 18所示, 该装置 600包括 处理器 610、 存储器 620、 总线系统 630和接收器 640, 处理器 610、 存储器 620和接收器 640通过总线系统 630相连, 该存储器 620用于存储指令, 该 处理器 610用于执行该存储器 620存储的指令, 其中, 该处理器 610用于获 取用户的历史消息交互信息以及该用户的历史消息交互信息相关联的第一 上下文数据, 该用户的历史消息交互信息包括历史消息交互内容和历史消息 回复情况, 该第一上下文数据用于表征该用户的历史消息交互信息发生时的 用户信息或环境信息; 该处理器 610还用于根据该用户的历史消息交互信息 以及该第一上下文数据, 确定该用户的消息交互偏好, 该消息交互偏好包括 消息回复策略和 /或消息书写风格;该接收器 640用于接收发送给该用户的当 前消息, 并获取该当前消息相关联的第二上下文数据, 该第二上下文数据用 于表征该用户的当前消息发生时的用户信息或环境信息; 该处理器 610还用 于根据该消息交互偏好、 该当前消息以及该第二上下文数据, 对该当前消息 进行回复处理。
因此, 本发明实施例的处理消息的装置, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
应理解,在本发明实施例中,该处理器 610可以是中央处理单元( Central Processing Unit, 筒称为 "CPU" ), 该处理器 610还可以是其他通用处理器、 数字信号处理器(DSP )、专用集成电路(ASIC )、现成可编程门阵列(FPGA ) 或者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件等。 通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器 620可以包括只读存储器和随机存取存储器, 并向处理器 610 提供指令和数据。存储器 620的一部分还可以包括非易失性随机存取存储器。 例如, 存储器 620还可以存储设备类型的信息。
该总线系统 630除包括数据总线之外, 还可以包括电源总线、 控制总线 和状态信号总线等。 但是为了清楚说明起见, 在图中将各种总线都标为总线 系统 630。 在实现过程中, 上述方法的各步骤可以通过处理器 610中的硬件的集成 逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤 可以直接体现为硬件处理器执行完成, 或者用处理器中的硬件及软件模块组 合执行完成。 软件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只 读存储器或者电可擦写可编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储器 620, 处理器 610读取存储器 620中的信息, 结合其 硬件完成上述方法的步骤。 为避免重复, 这里不再详细描述。
可选地, 作为一个实施例, 该处理器 610用于对该用户的历史消息交互 内容进行预处理; 并根据预处理后的该用户的历史消息交互内容以及该第一 上下文数据, 确定该用户的消息交互偏好。
可选地,作为另一个实施例,该处理器 610确定该用户的消息交互偏好, 包括: 根据该用户的历史消息交互内容中的表情符号, 以及该第一上下文数 据, 确定包括该用户的表情符号偏好的该消息书写风格。
可选地, 作为另一个实施例, 该处理器 610用于: 从服务器或用户数据 库获取除该用户之外的至少一个其他用户的历史消息交互信息, 以及该至少 一个其他用户的历史消息交互信息相关联的第三上下文数据, 该第三上下文 数据用于表征该至少一个其他用户的历史消息交互信息发生时该至少一个 其他用户的用户信息或环境信息;该处理器 610确定该用户的消息交互偏好, 包括: 根据该用户的历史消息交互信息、 该第一上下文数据、 该至少一个其 他用户的历史消息交互信息以及该第三上下文数据,确定该用户的消息交互 偏好。
可选地,作为另一个实施例,该处理器 610确定该用户的消息交互偏好, 包括: 通过基于统计学习方式确定该用户的该消息交互偏好。
可选地,作为另一个实施例,该处理器 610对该当前消息进行回复处理, 包括: 根据该消息交互偏好, 确定该用户的历史消息交互情况与该用户的历 史消息交互内容包括的历史消息接收内容以及该第一上下文数据之间的映 射规则; 根据该映射规则, 将该当前消息以及该第二上下文数据作为该映射 规则的输入, 确定该当前消息的消息回复策略; 根据该当前消息的消息回复 策略, 对该当前消息进行回复处理。
可选地, 作为另一个实施例, 该处理器 610根据该当前消息的消息回复 策略, 对该当前消息进行回复处理, 包括: 在该当前消息的消息回复策略指 示回复该当前消息时, 根据该当前消息的消息回复策略, 或根据该消息回复 策略并采用该消息交互偏好包括的该消息书写风格, 生成回复内容并回复该 当前消息; 或在该当前消息的消息回复策略指示不回复该当前消息时, 忽略 该当前消息。
可选地, 作为另一个实施例, 该处理器 610生成回复内容并回复该当前 消息, 包括: 根据该消息交互偏好, 确定该用户的历史消息交互内容包括的 历史消息回复内容, 与该用户的历史消息交互内容包括的历史消息接收内容 以及该第一上下文数据之间的第二映射规则; 根据该第二映射规则, 将该当 前消息以及该第二上下文数据作为该映射规则的输入,确定该当前消息的回 复内容;
其中, 该装置 600还包括发送器 650, 该发送器 650用于根据该当前消 息的消息回复策略和该回复内容, 向该当前消息的发送方发送该回复内容。
可选地, 作为另一个实施例, 该处理器 610生成回复内容并回复该当前 消息, 包括: 根据该消息交互偏好、 该当前消息以及该第二上下文数据, 生 成该当前消息的至少一条回复内容;
其中, 该装置 600还包括显示器 660, 该显示器 660用于向该用户显示 该至少一条回复内容; 该处理器 610还用于确定该用户在该至少一条回复内 容中选择的回复内容; 该发送器 650还用于向该当前消息的发送方发送该用 户选择的回复内容。
可选地, 作为另一个实施例, 该用户信息或环境信息包括下列信息中的 至少一种: 消息发送方、 消息内容、该用户的日程安排、 该用户的位置信息、 该用户的移动方式信息和该用户周边的环境信息。
可选地, 作为另一个实施例, 该消息回复策略包括下列信息中的至少一 种: 是否回复消息、 回复消息的方式、 回复消息的时间和回复消息的环境条 件。
可选地, 作为另一个实施例, 该消息书写风格包括下列信息中的至少一 种: 回复方式、 回复语气、 常用的词汇和句式。
可选地, 作为另一个实施例, 该消息包括: 短信、 即时消息、 專私信 或微信。
因此, 本发明实施例的处理消息的系统, 通过基于历史消息交互信息和 用户的历史消息交互信息相关联的上下文数据, 确定用户的消息交互偏好, 能够根据该消息交互偏好对当前消息进行自动回复处理,使得消息的回复不 仅符合用户的个性和喜好, 还能够符合消息接收的上下文环境, 从而能够显 著地增强用户体验。
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。
所属领域的技术人员可以清楚地了解到, 为了描述的方便和筒洁, 上述 描述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另外, 所显示或讨论的相互之间的 耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或 通信连接, 也可以是电的, 机械的或其它的形式连接。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件 功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分, 或者该技术方 案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在 一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory )、 随机存取存储器 ( RAM, Random Access Memory )、 磁碟或者光盘等各种可以存储程序代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。

Claims

权利要求
1、 一种处理消息的方法, 其特征在于, 包括:
获取用户的历史消息交互信息以及所述用户的历史消息交互信息相关 联的第一上下文数据,所述用户的历史消息交互信息包括历史消息交互内容 和历史消息回复情况,所述第一上下文数据用于表征所述用户的历史消息交 互信息发生时的用户信息或环境信息;
根据所述用户的历史消息交互信息以及所述第一上下文数据,确定所述 用户的消息交互偏好,所述消息交互偏好包括消息回复策略和 /或消息书写风 格;
接收发送给所述用户的当前消息, 并获取所述当前消息相关联的第二上 下文数据, 所述第二上下文数据用于表征所述用户的当前消息发生时的用户 信息或环境信息;
根据所述消息交互偏好、 所述当前消息以及所述第二上下文数据, 对所 述当前消息进行回复处理。
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 对所述用户的历史消息交互内容进行预处理;
所述确定所述用户的消息交互偏好, 包括:
根据预处理后的所述用户的历史消息交互内容以及所述第一上下文数 据, 确定所述用户的消息交互偏好。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述确定所述用户 的消息交互偏好, 包括:
根据所述用户的历史消息交互内容中的表情符号, 以及所述第一上下文 数据, 确定包括所述用户的表情符号偏好的所述消息书写风格。
4、 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 所述方法 还包括:
从服务器或用户数据库获取除所述用户之外的至少一个其他用户的历 史消息交互信息, 以及所述至少一个其他用户的历史消息交互信息相关联的 第三上下文数据, 所述第三上下文数据用于表征所述至少一个其他用户的历 史消息交互信息发生时所述至少一个其他用户的用户信息或环境信息; 所述确定所述用户的消息交互偏好, 包括:
根据所述用户的历史消息交互信息、 所述第一上下文数据、 所述至少一 个其他用户的历史消息交互信息以及所述第三上下文数据,确定所述用户的 消息交互偏好。
5、 根据权利要求 1、 2或 4所述的方法, 其特征在于, 所述确定所述用 户的消息交互偏好, 包括:
通过基于统计学习方式确定所述用户的所述消息交互偏好。
6、 根据权利要求 1至 5中任一项所述的方法, 其特征在于, 所述根据 所述消息交互偏好、 所述当前消息以及所述第二上下文数据, 对所述当前消 息进行回复处理, 包括:
根据所述消息交互偏好,确定所述用户的历史消息交互情况与所述用户 的历史消息交互内容包括的历史消息接收内容以及所述第一上下文数据之 间的映射规则;
根据所述映射规则,将所述当前消息以及所述第二上下文数据作为所述 映射规则的输入, 确定所述当前消息的消息回复策略;
根据所述当前消息的消息回复策略, 对所述当前消息进行回复处理。
7、 根据权利要求 6所述的方法, 其特征在于, 所述根据所述当前消息 的消息回复策略, 对所述当前消息进行回复处理, 包括:
在所述当前消息的消息回复策略指示回复所述当前消息时,根据所述当 前消息的消息回复策略,或根据所述消息回复策略并采用所述消息交互偏好 包括的所述消息书写风格, 生成回复内容并回复所述当前消息; 或
在所述当前消息的消息回复策略指示不回复所述当前消息时, 忽略所述 当前消息。
8、 根据权利要求 7所述的方法, 其特征在于, 所述生成回复内容并回 复所述当前消息, 包括:
生成所述当前消息的至少一条回复内容;
向所述用户显示所述至少一条回复内容, 并确定所述用户在所述至少一 条回复内容中选择的回复内容;
向所述当前消息的发送方发送所述用户选择的回复内容。
9、 根据权利要求 1至 8中任一项所述的方法, 其特征在于, 所述用户 信息或环境信息包括下列信息中的至少一种: 所述用户的日程安排、 所述用 户的位置信息、 所述用户的移动方式信息和所述用户周边的环境信息。
10、 根据权利要求 1至 8中任一项所述的方法, 其特征在于, 所述消息 回复策略包括下列信息中的至少一种: 是否回复消息、 回复消息的方式、 回 复消, ¾的时间和回复消, ¾的环境条件。
11、 根据权利要求 1至 8中任一项所述的方法, 其特征在于, 所述消息 书写风格包括下列信息中的至少一种: 回复方式、 回复语气、 常用的词汇和 句式。
12、 根据权利要求 1至 8中任一项所述的方法, 其特征在于, 所述消息 包括: 短信、 即时消息、 微博私信或微信。
13、 一种处理消息的终端, 其特征在于, 包括:
第一获取模块, 用于获取用户的历史消息交互信息以及所述用户的历史 消息交互信息相关联的第一上下文数据, 所述用户的历史消息交互信息包括 历史消息交互内容和历史消息回复情况, 所述第一上下文数据用于表征所述 用户的历史消息交互信息发生时的用户信息或环境信息;
确定模块, 用于根据所述第一获取模块获取的所述用户的历史消息交互 信息以及所述第一上下文数据, 确定所述用户的消息交互偏好, 所述消息交 互偏好包括消息回复策略和 /或消息书写风格;
第二获取模块, 用于接收发送给所述用户的当前消息, 并获取所述当前 消息相关联的第二上下文数据, 所述第二上下文数据用于表征所述用户的当 前消息发生时的用户信息或环境信息;
回复模块, 用于根据所述确定模块确定的所述消息交互偏好, 以及所述 第二获取模块获取的所述当前消息和所述第二上下文数据,对所述当前消息 进行回复处理。
14、 根据权利要求 13所述的终端, 其特征在于, 所述终端还包括: 预处理模块, 用于对所述用户的历史消息交互内容进行预处理; 其中, 所述确定模块用于: 根据所述预处理模块预处理后的所述用户的 历史消息交互内容以及所述第一上下文数据, 确定所述用户的消息交互偏 好。
15、 根据权利要求 13或 14所述的终端, 其特征在于, 所述确定模块还 用于: 根据所述用户的历史消息交互内容中的表情符号, 以及所述第一上下 文数据, 确定包括所述用户的表情符号偏好的所述消息书写风格。
16、 根据权利要求 13或 14所述的终端, 其特征在于, 所述确定模块用 于: 通过基于统计学习方式确定所述用户的所述消息交互偏好。
17、 根据权利要求 13至 16中任一项所述的终端, 其特征在于, 所述回 复模块包括:
第一确定单元, 用于根据所述消息交互偏好, 确定所述用户的历史消息 交互情况与所述用户的历史消息交互内容包括的历史消息接收内容以及所 述第一上下文数据之间的映射规则;
第二确定单元, 用于根据所述第一确定单元确定的所述映射规则, 将所 述当前消息以及所述第二上下文数据作为所述映射规则的输入,确定所述当 前消息的消息回复策略;
回复单元, 用于根据所述第二确定单元确定的所述当前消息的消息回复 策略, 对所述当前消息进行回复处理。
18、 根据权利要求 17所述的终端, 其特征在于, 所述回复单元用于: 在所述当前消息的消息回复策略指示回复所述当前消息时,根据所述当 前消息的消息回复策略,或根据所述消息回复策略并采用所述消息交互偏好 包括的所述消息书写风格, 生成回复内容并回复所述当前消息; 或
在所述当前消息的消息回复策略指示不回复所述当前消息时, 忽略所述 当前消息。
19、 根据权利要求 17所述的终端, 其特征在于, 所述回复单元包括: 生成子单元, 用于根据所述第二确定单元确定的所述当前消息的消息回 复策略, 生成所述当前消息的至少一条回复内容;
控制子单元, 用于向所述用户显示所述生成子单元生成的所述至少一条 回复内容, 并确定所述用户在所述至少一条回复内容中选择的回复内容; 第二发送子单元,用于向所述当前消息的发送方发送所述控制子单元确 定的所述用户选择的回复内容。
20、 根据权利要求 13至 19中任一项所述的终端, 其特征在于, 所述用 户信息或环境信息包括下列信息中的至少一种: 所述用户的日程安排、 所述 用户的位置信息、 所述用户的移动方式信息和所述用户周边的环境信息。
21、 根据权利要求 13至 19中任一项所述的终端, 其特征在于, 所述消 息回复策略包括下列信息中的至少一种: 是否回复消息、 回复消息的方式、 回复消息的时间和回复消息的环境条件。
22、 根据权利要求 13至 19中任一项所述的终端, 其特征在于, 所述消 息书写风格包括下列信息中的至少一种: 回复方式、 回复语气、 常用的词汇 和句式。
23、 根据权利要求 13至 19中任一项所述的终端, 其特征在于, 所述消 息包括: 短信、 即时消息、 微博私信或微信。
24、 一种处理消息的系统, 其特征在于, 所述系统包括终端和服务器, 其中, 所述终端包括:
数据收集模块, 用于获取用户的历史消息交互信息以及所述用户的历史 消息交互信息相关联的第一上下文数据, 所述第一上下文数据用于表征所述 用户的历史消息交互信息发生时的用户信息或环境信息;
数据整合模块, 用于将所述数据收集模块获取的所述用户的历史消息交 互信息以及所述第一上下文数据进行整合处理得到适合学习输入的数据格 式, 并将所述整合处理后的所述数据格式的数据发送给所述服务器;
所述服务器包括:
学习模块, 用于接收所述数据整合模块发送的所述数据格式的数据, 并 根据所述数据, 对所述用户的消息交互偏好进行统计学习; 所述消息交互偏 好包括回复策略和 /或消息书写风格;
用户模型生产模块, 用于根据学习模块进行统计学习的结果, 为所述终 端配置回复策略模型和内容生产模型;
其中, 所述数据收集模块还用于接收发送给所述用户的当前消息, 并获 取所述当前消息相关联的第二上下文数据, 所述第二上下文数据用于表征所 述用户的当前消息发生时的用户信息或环境信息;
所述终端还包括:
回复模块, 用于根据所述用户模型生产模块配置的所述回复策略模型和 所述内容生产模型, 以及所述数据收集模块获取的所述当前消息和所述第二 上下文数据, 对所述当前消息进行回复处理。
25、 根据权利要求 24所述的系统, 其特征在于, 所述数据整合模块用 于: 对所述数据收集模块获取的所述用户的历史消息交互信息包括的历史消 息交互内容进行预处理, 并对经过预处理的所述用户的历史消息交互内容再 进行整合处理得到适合学习输入的数据格式, 并将所述整合处理后的所述数 据格式的数据发送给所述服务器。
26、 根据权利要求 24或 25所述的系统, 其特征在于, 所述学习模块还 用于根据所述用户的历史消息交互信息包括的历史消息交互内容中的表情 符号, 以及所述第一上下文数据, 对所述用户消息交互中的表情符号偏好进 行统计学习, 以便于确定包括所述用户的表情符号偏好的所述消息书写风 格。
27、 根据权利要求 24至 26中任一项所述的系统, 其特征在于, 所述服 务器还包括:
数据获取模块, 用于从所述服务器或用户数据库获取除所述用户之外的 至少一个其他用户的历史消息交互信息, 以及所述至少一个其他用户的历史 消息交互信息相关联的第三上下文数据, 所述第三上下文数据用于表征所述 至少一个其他用户的历史消息交互信息发生时所述至少一个其他用户的用 户信息或环境信息;
其中, 所述学习模块还用于: 根据所述数据整合模块发送的所述数据格 式的数据, 以及所述数据获取模块获取的所述至少一个其他用户的历史消息 交互信息和所述第三上下文数据, 对所述用户的消息交互偏好进行统计学 习。
28、 根据权利要求 24至 27中任一项所述的系统, 其特征在于, 所述回 复模块包括:
回复判决单元, 用于根据所述回复策略模型, 将所述当前消息以及所述 第二上下文数据作为所述回复策略模型的输入,确定所述当前消息的回复策 略。
29、 根据权利要求 28所述的系统, 其特征在于, 所述回复模块还包括: 回复内容生成单元, 用于在所述回复判决单元确定所述当前消息的回复 策略为回复所述当前消息时,根据所述当前消息的回复策略以及所述内容生 产模型, 生成回复内容并回复所述当前消息。
30、 根据权利要求 29所述的系统, 其特征在于, 所述回复内容生成单 元包括:
生成子单元, 用于根据所述内容生产模型、 所述当前消息以及所述第二 上下文数据, 生成所述当前消息的至少一条回复内容;
控制子单元, 用于向所述用户显示所述生成子单元生成的所述至少一条 回复内容, 并确定所述用户在所述至少一条回复内容中选择的回复内容; 发送子单元, 用于向所述当前消息的发送方发送所述控制子单元确定的 所述用户选择的回复内容。
31、 根据权利要求 24至 30中任一项所述的系统, 其特征在于, 所述用 户信息或环境信息包括下列信息中的至少一种: 所述用户的日程安排、 所述 用户的位置信息、 所述用户的移动方式信息和所述用户周边的环境信息。
32、 根据权利要求 24至 30中任一项所述的系统, 其特征在于, 所述消 息交互偏好包括消息回复策略,所述消息回复策略包括下列信息中的至少一 种: 是否回复消息、 回复消息的方式、 回复消息的时间和回复消息的环境条 件。
33、 根据权利要求 24至 30中任一项所述的系统, 其特征在于, 所述消 息交互偏好包括消息书写风格,所述消息书写风格包括下列信息中的至少一 种: 回复方式、 回复语气、 常用的词汇和句式。
34、 根据权利要求 24至 30中任一项所述的系统, 其特征在于, 所述消 息包括: 短信、 即时消息、 微博私信或微信。
PCT/CN2013/080875 2012-12-31 2013-08-06 处理消息的方法、终端和系统 WO2014101425A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP13801459.2A EP2770762B1 (en) 2012-12-31 2013-08-06 Method for processing message, terminal and system
US14/145,262 US8930481B2 (en) 2012-12-31 2013-12-31 Message processing method, terminal and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210590094.3A CN103902630B (zh) 2012-12-31 2012-12-31 处理消息的方法、终端和系统
CN201210590094.3 2012-12-31

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/145,262 Continuation US8930481B2 (en) 2012-12-31 2013-12-31 Message processing method, terminal and system

Publications (1)

Publication Number Publication Date
WO2014101425A1 true WO2014101425A1 (zh) 2014-07-03

Family

ID=50993957

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080875 WO2014101425A1 (zh) 2012-12-31 2013-08-06 处理消息的方法、终端和系统

Country Status (3)

Country Link
EP (1) EP2770762B1 (zh)
CN (1) CN103902630B (zh)
WO (1) WO2014101425A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492518A (zh) * 2020-12-09 2021-03-12 深圳市欢太科技有限公司 卡片确定方法、装置、电子设备及存储介质

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015183699A1 (en) 2014-05-30 2015-12-03 Apple Inc. Predictive messaging method
US10565219B2 (en) 2014-05-30 2020-02-18 Apple Inc. Techniques for automatically generating a suggested contact based on a received message
US10579212B2 (en) 2014-05-30 2020-03-03 Apple Inc. Structured suggestions
JP6624067B2 (ja) * 2014-11-26 2019-12-25 ソニー株式会社 情報処理装置、情報処理方法、およびプログラム
US10079785B2 (en) * 2015-02-12 2018-09-18 Google Llc Determining reply content for a reply to an electronic communication
CN105991849B (zh) * 2015-02-13 2019-03-01 华为技术有限公司 一种坐席服务方法、装置及系统
US10097973B2 (en) 2015-05-27 2018-10-09 Apple Inc. Systems and methods for proactively identifying and surfacing relevant content on a touch-sensitive device
US10200824B2 (en) 2015-05-27 2019-02-05 Apple Inc. Systems and methods for proactively identifying and surfacing relevant content on a touch-sensitive device
US11025565B2 (en) 2015-06-07 2021-06-01 Apple Inc. Personalized prediction of responses for instant messaging
US10445425B2 (en) 2015-09-15 2019-10-15 Apple Inc. Emoji and canned responses
CN105471713A (zh) * 2015-12-02 2016-04-06 小米科技有限责任公司 信息提示方法及装置
CN105391620B (zh) * 2015-12-02 2019-08-30 小米科技有限责任公司 信息提示方法及装置
WO2017099483A1 (en) 2015-12-09 2017-06-15 Samsung Electronics Co., Ltd. Device and method for providing user-customized content
CN106856447A (zh) * 2015-12-09 2017-06-16 北京三星通信技术研究有限公司 交互内容信息的处理方法、及相关装置、和终端设备
CN107135136B (zh) * 2016-02-26 2020-10-30 原相科技股份有限公司 交互式服务平台及其运作方法
CN107404563A (zh) * 2016-05-20 2017-11-28 华为终端(东莞)有限公司 一种方法、装置及便携式电子设备
US20190332663A1 (en) * 2016-07-22 2019-10-31 Huawei Technologies Co., Ltd. Candidate-item presentation method and terminal device
CN108021572B (zh) * 2016-11-02 2020-08-07 腾讯科技(深圳)有限公司 回复信息推荐方法和装置
CN107784045B (zh) * 2016-08-31 2022-02-01 北京搜狗科技发展有限公司 一种快捷回复方法和装置、一种用于快捷回复的装置
CN108073605B (zh) * 2016-11-10 2022-04-12 阿里巴巴集团控股有限公司 一种业务数据的加载、推送、交互信息的生成方法和装置
CN108270661B (zh) * 2017-01-04 2022-05-06 北京搜狗科技发展有限公司 一种信息回复的方法、装置和设备
CN107040452B (zh) * 2017-02-08 2020-08-04 浙江翼信科技有限公司 一种信息处理方法、装置和计算机可读存储介质
CN108664336A (zh) * 2017-04-01 2018-10-16 北京搜狗科技发展有限公司 推荐方法和装置、用于推荐的装置
CN107329973A (zh) * 2017-05-24 2017-11-07 努比亚技术有限公司 一种实现通知处理的方法及设备
CN107329945B (zh) * 2017-07-21 2021-03-05 北京奇虎科技有限公司 短消息的展示处理方法、展示处理装置以及移动终端
CN107835115A (zh) * 2017-09-27 2018-03-23 上海掌门科技有限公司 一种信息操作方法、设备以及介质
CN109996193B (zh) * 2017-12-29 2021-08-10 中国移动通信集团北京有限公司 基于智信平台的短信发送方法、装置、系统和设备
CN110022258B (zh) * 2018-01-10 2022-10-18 腾讯科技(深圳)有限公司 一种即时通信的会话控制方法及装置、电子设备
CN110019748B (zh) * 2018-09-27 2021-12-24 联想(北京)有限公司 一种数据处理方法及电子设备
CN111190512B (zh) * 2018-11-15 2023-04-28 阿里巴巴集团控股有限公司 消息处理方法及其装置
CN110045898A (zh) * 2019-03-29 2019-07-23 东莞市步步高通信软件有限公司 一种显示方法及终端设备
CN112311652B (zh) * 2019-07-23 2023-02-07 腾讯科技(深圳)有限公司 消息发送方法、装置、终端及存储介质
CN110581772B (zh) * 2019-09-06 2020-10-13 腾讯科技(深圳)有限公司 即时通讯消息的交互方法、装置以及计算机可读存储介质
CN111158559B (zh) * 2019-12-30 2021-05-25 香港乐蜜有限公司 社交信息处理方法、装置和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060146997A1 (en) * 2004-12-17 2006-07-06 Alcatel Communications system and method for providing customized messages based on presence and preference information
CN101202792A (zh) * 2006-11-29 2008-06-18 Sap股份公司 基于发送方与接收方之间的关系处理消息的方法和装置
CN101262516A (zh) * 2008-02-01 2008-09-10 中兴通讯股份有限公司 一种移动通信终端短信自动回复的方法
CN101500206A (zh) * 2008-01-29 2009-08-05 中国移动通信集团重庆有限公司 移动通信终端短消息智能回复方法
CN101964847A (zh) * 2010-10-22 2011-02-02 康佳集团股份有限公司 一种基于手机的短信自动回复方法及手机

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8516114B2 (en) * 2002-03-29 2013-08-20 International Business Machines Corporation Method and apparatus for content pre-fetching and preparation
CN100452710C (zh) * 2004-09-29 2009-01-14 上海赢思软件技术有限公司 一种短信机器人系统
US8509827B2 (en) * 2005-09-21 2013-08-13 Buckyball Mobile Inc. Methods and apparatus of context-data acquisition and ranking
US8769032B2 (en) * 2009-08-03 2014-07-01 Cisco Technology, Inc. Method and system for suggesting an optimal communication mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060146997A1 (en) * 2004-12-17 2006-07-06 Alcatel Communications system and method for providing customized messages based on presence and preference information
CN101202792A (zh) * 2006-11-29 2008-06-18 Sap股份公司 基于发送方与接收方之间的关系处理消息的方法和装置
CN101500206A (zh) * 2008-01-29 2009-08-05 中国移动通信集团重庆有限公司 移动通信终端短消息智能回复方法
CN101262516A (zh) * 2008-02-01 2008-09-10 中兴通讯股份有限公司 一种移动通信终端短信自动回复的方法
CN101964847A (zh) * 2010-10-22 2011-02-02 康佳集团股份有限公司 一种基于手机的短信自动回复方法及手机

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2770762A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492518A (zh) * 2020-12-09 2021-03-12 深圳市欢太科技有限公司 卡片确定方法、装置、电子设备及存储介质
CN112492518B (zh) * 2020-12-09 2023-08-15 深圳市欢太数字科技有限公司 卡片确定方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
EP2770762A1 (en) 2014-08-27
EP2770762A4 (en) 2014-12-10
CN103902630A (zh) 2014-07-02
EP2770762B1 (en) 2017-11-08
CN103902630B (zh) 2017-08-18

Similar Documents

Publication Publication Date Title
WO2014101425A1 (zh) 处理消息的方法、终端和系统
US8930481B2 (en) Message processing method, terminal and system
US10367937B1 (en) Providing data messaging support by intercepting and redirecting received short message service (SMS) messages
US9674121B2 (en) Dynamic invites with automatically adjusting displays
US10552845B1 (en) Providing data messaging support by intercepting and processing received short message service (SMS) messages at a customer support service
US10601743B1 (en) Providing data messaging support by intercepting and processing received short message service (SMS) messages at a customer support service
TW201709087A (zh) 基於接觸之預測性回應
WO2020238873A1 (zh) 一种通信方法、服务器和通信系统
CN114303132A (zh) 在虚拟个人助手中使用唤醒词进行上下文关联和个性化的方法和系统
US9294890B1 (en) Intercepting and processing received short message service (SMS) messages to provide an automated response
CN105141506B (zh) 通信消息处理方法和装置
US9369425B2 (en) Email and instant messaging agent for dialog system
CN110022258A (zh) 一种即时通信的会话控制方法及装置、电子设备
WO2015172566A1 (zh) 语音信箱的实现方法和装置
WO2020124453A1 (zh) 信息自动回复的方法及相关装置
CN104144392A (zh) 信息处理方法、设备和系统
CN109450776A (zh) 亲密度计算方法、装置、设备和介质
WO2015123923A1 (zh) 一种移动终端及其控制消息业务的方法、存储介质
CN102006554B (zh) 短信息生成方法及系统
CN108353021A (zh) 即时通讯的信息处理方法、终端、服务器及可读存储介质
CN107623620A (zh) 随机性交互数据的处理方法、网络服务器及智能对话系统
JP2011165046A (ja) 返信メール作成装置および返信メール作成方法
US20120079037A1 (en) Systems and methods for non-voice mobile applications
CN107943379A (zh) 截图发送方法及装置、计算机装置和计算机可读存储介质
KR102572950B1 (ko) 대량 트래픽 메시지의 노출 제어 방법, 장치 및 프로그램

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2013801459

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013801459

Country of ref document: EP

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

Ref document number: 13801459

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE