CN113271247A - Information processing method, device, equipment and storage medium - Google Patents

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

Info

Publication number
CN113271247A
CN113271247A CN202010093560.1A CN202010093560A CN113271247A CN 113271247 A CN113271247 A CN 113271247A CN 202010093560 A CN202010093560 A CN 202010093560A CN 113271247 A CN113271247 A CN 113271247A
Authority
CN
China
Prior art keywords
contact name
message
contact
user
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010093560.1A
Other languages
Chinese (zh)
Other versions
CN113271247B (en
Inventor
常昕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nail Holding Cayman Co ltd
Original Assignee
Nail Holding Cayman Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nail Holding Cayman Co ltd filed Critical Nail Holding Cayman Co ltd
Priority to CN202010093560.1A priority Critical patent/CN113271247B/en
Publication of CN113271247A publication Critical patent/CN113271247A/en
Application granted granted Critical
Publication of CN113271247B publication Critical patent/CN113271247B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Abstract

The embodiment of the invention provides an information processing method, an information processing device, information processing equipment and a storage medium, wherein the method comprises the following steps: receiving a message input by a user to an instant messaging interface; if the message is determined to contain a second contact name corresponding to the first contact name in the address list, modifying the second contact name into the first contact name, wherein the first contact name is any one of the contact names in the address list; and displaying the modified message in the instant communication interface so that a receiver of the message can see the correct message.

Description

Information processing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information processing method, apparatus, device, and storage medium.
Background
At present, one or more instant messaging applications are installed in terminal devices (such as mobile phones, PCs, notebook computers, etc.) of most users. Through the instant messaging application program, the user can conveniently communicate with friends, colleagues and relatives.
The user may input the name of the friend or other friends during the process of sending messages to the friend through the instant messaging application program, and in practical application, the input of the name may have a condition of input error.
Disclosure of Invention
The embodiment of the invention provides an information processing method, an information processing device, information processing equipment and a storage medium, which are used for automatically correcting a contact name with an error input by a user.
In a first aspect, an embodiment of the present invention provides an information processing method, where the method includes:
receiving a message input by a user to an instant messaging interface;
and if the message is determined to contain a second contact name corresponding to the first contact name in the address list, modifying the second contact name into the first contact name, wherein the first contact name is any one of the contact names in the address list.
In a second aspect, an embodiment of the present invention provides an information processing apparatus, including:
the receiving module is used for receiving a message input to the instant messaging interface by a user;
and the processing module is used for modifying the second contact name into the first contact name if the message is determined to contain the second contact name corresponding to the first contact name in the address list, wherein the first contact name is any one of the contact names in the address list.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a first memory, a first processor; wherein the first memory has stored thereon executable code which, when executed by the first processor, causes the first processor to implement at least the information processing method of the first aspect.
An embodiment of the present invention provides a non-transitory machine-readable storage medium, on which an executable code is stored, and when the executable code is executed by a processor of an electronic device, the processor is enabled to at least implement the information processing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides an information processing method, where the method includes:
receiving a message input by a user in an information input interface;
and if the message is determined to contain a second contact name corresponding to the first contact name in the address list, modifying the second contact name into the first contact name, wherein the first contact name is any one of the contact names in the address list.
In a fifth aspect, an embodiment of the present invention provides an information processing apparatus, including:
the receiving module is used for receiving the information input by the user in the information input interface;
and the error correction module is used for modifying the second contact name into the first contact name if the message is determined to contain the second contact name corresponding to the first contact name in the address list, wherein the first contact name is any one of the contact names in the address list.
In a sixth aspect, an embodiment of the present invention provides an electronic device, including: a second memory, a second processor; wherein the second memory has stored thereon executable code which, when executed by the second processor, causes the second processor to implement at least the information processing method according to the fourth aspect.
An embodiment of the present invention provides a non-transitory machine-readable storage medium, having stored thereon executable code, which, when executed by a processor of an electronic device, causes the processor to implement at least the information processing method according to the fourth aspect.
In the embodiment of the invention, when a user inputs a message in, for example, an instant messaging interface, the input message may contain a contact (friend) name, and the contact name input by the user may be wrong due to the carelessness of the user. In order to correct the contact name with the input error, whether a certain contact name with the input error corresponding to the correct contact name is included in the message input by the user or not can be determined by combining a plurality of contact names included in the address book of the user, for example, the contact name with the input error is called a second contact name, the correct contact name corresponding to the second contact name in the address book is called a first contact name, the second contact name can be modified into the first contact name, and then the modified message is displayed in the instant messaging interface of the receiver, so that the receiver of the message can see the correct message.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an interface change in an information processing process according to an embodiment of the present invention;
FIG. 3 is a flow chart of another information processing method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an interface change of another information processing process according to an embodiment of the present invention;
FIG. 5 is a flowchart of another information processing method according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device corresponding to the information processing apparatus provided in the embodiment shown in fig. 6;
FIG. 8 is a schematic diagram of another information processing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device corresponding to the information processing apparatus provided in the embodiment shown in fig. 8.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
101. and receiving a message input by a user to the instant messaging interface.
102. And if the message is determined to contain a second contact name corresponding to the first contact name in the address list, modifying the second contact name into the first contact name, wherein the first contact name is any one of the contact names in the address list.
The information processing method can be executed by an electronic device, and the electronic device can be a terminal device such as a PC (personal computer), a notebook computer, a smart phone and the like, and can also be a server. The server may be a physical server including an independent host, or may also be a virtual server carried by a host cluster, or may also be a cloud server. Specifically, the information processing method can be realized by a processor in the electronic equipment running some instant messaging application installed in the electronic equipment.
Taking the user a as an example, the instant messaging interface may be a communication interface corresponding to the user a and the friend user B when chatting through the instant messaging application program, or a communication interface corresponding to a certain instant messaging group of the user a.
In addition, it can be understood that, taking the user a as an example, the address book in the above steps refers to an address book (or referred to as a contact list) created by the user a in the instant messaging application program, and the address book includes names of several contacts (friends) of the user a.
The following describes an example of the process of the user a inputting a message and correcting the error of the contact name in the message in the instant communication interface with reference to fig. 2.
Assuming that a user a chats with a user B (the name is assumed to be strictly ice), after displaying an instant messaging interface as shown in fig. 2, the user a inputs a message to the instant messaging interface, and in fig. 2, the message input by the user a is assumed to be: the eye disease, i want to ask for a false disease in tomorrow.
And further, determining whether the message contains the contact name with the input error or not based on the message input by the user A, and if so, correcting the contact name with the input error according to the address book of the user A. And if the message contains the second contact name corresponding to the first contact name in the address list, modifying the second contact name into the first contact name.
Wherein, optionally, "corresponding" in the second contact name corresponding to the first contact name in the address book may be understood as: the second contact name is literally different from the first contact name but the pronunciation corresponds or matches. In the example of fig. 2, the second contact name is eye disease, and the first contact name is ice, so it can be seen that the second contact name input by the user a incorrectly is different from the correct first contact name in the address book in terms of characters, but the pronunciation is corresponding, that is, the matching degree of the pronunciation is high. Thus, as illustrated in fig. 2, when it is recognized that "eye disease" in the message input by the user a is a contact name input incorrectly and the corresponding correct contact name should be "ice-severe," the "eye disease" is modified to "ice-severe," and further, the modified message is transmitted to the user B, the modified message being: strictly ice, i want to ask for a sick and fake one tomorrow.
The step 102 of determining whether the message input by the user includes the contact name with the input error may be completed before the message is presented to the recipient, for example, the step may be performed before the user a clicks the send button in fig. 2, or may be performed after the user a clicks the send button.
Several alternative implementations of determining whether the message entered by the user contains a contact name that was entered incorrectly are provided below.
The first optional implementation manner is:
performing word segmentation processing on a message input by a user to obtain a plurality of words;
filtering out words consistent with the names of the contact persons contained in the address list from the plurality of words;
and determining whether a target word corresponding to the first contact name exists in the remaining words according to the pronunciation comparison result of the remaining words and the contact names contained in the address list, wherein the target word is the second contact name.
The words consistent with the contact names contained in the address list are filtered from the words, so that the correct contact names input by the user are eliminated under the condition that the messages input by the user contain the contact names.
For example, assume that the user enters a message: eye diseases, i want to feel sick in tomorrow, and work is handed over to Li Hua. The result of word segmentation on the message is: eye disease/me/tomorrow/want/please/person/sick/work/cross over/give/plum blossom.
Comparing a plurality of words obtained by word segmentation with a plurality of contact names contained in the address list, filtering out words contained in the address list, and if the 'Lihua' is contained in the address list, the word 'Lihua' in the message is a contact name and exists in the address list, and the correct contact name is input, so that the word 'Lihua' is filtered out.
And then, comparing the pronunciations of the remaining words and the contact names contained in the address list one by one, and regarding a certain word in the remaining words, if the address list contains a contact name matched with the pronunciation of the word, the word is regarded as a contact name with an input error, namely a second contact name, and the contact name matched with the pronunciation in the address list is a first contact name. In the above example, the second contact name is "eye disease", and the second contact name matching the pronunciation thereof in the address book is assumed to be "severe ice". Where pronunciation match is understood to mean that the pinyin compositions are consistent, but the tones are different.
In addition, it is worth explaining that, in order to further improve the recognition efficiency of the contact name with the input error, optionally, words which do not conform to the word number length may be filtered from a plurality of words obtained by word segmentation according to the word number length of the contact name included in the address book. For example, if the length of the number of words of the contact name contained in the address book is 2 words and 3 words, that is, any contact name in the address book is composed of 2 words or 3 words, when the number of words contained in a certain word obtained by word segmentation is not 2 or 3, the word is filtered out, because the word is considered to be impossible to be the contact name. Based on this, in the example that the message is "eye disease, i want to ask a patient to be sick and fake in tomorrow, and work is handed over to li hua", on the basis of filtering out the word "li hua" included in the address list, the filtered words further include: i want, ask, give. Thus, the remaining words include: ophthalmopathy, tomorrow, false disease and handover. Further, the remaining words may be compared phonetically with contact names contained in the address book.
In addition, optionally, after the message is subjected to word segmentation processing to obtain a plurality of words, words other than nouns can be filtered out from the plurality of words. Because the contact names are nouns, the part of speech recognition is carried out on each word, words which are not nouns are filtered out, and the recognition efficiency of inputting wrong contact names can be improved. Taking the remaining words after the filtering of the word number length as an example, the remaining words at this time are: ophthalmopathy, tomorrow, false disease and handover. Where handover is not a noun and is thus filtered out.
In summary, in the first implementation manner, the message input by the user is subjected to word segmentation processing, and then words that are not likely to be contact names can be filtered in combination with some word filtering rules, and finally whether the message input by the user is a contact name with an input error is determined based on the result of comparing the remaining words with the pronunciation of the contact name in the address list.
The second optional implementation manner is:
carrying out named entity identification processing on a message input by a user so as to identify a second contact name corresponding to a name entity contained in the message;
and if the second contact name does not exist in the address list, determining the first contact name corresponding to the second contact name according to the pronunciation comparison result of the second contact name and the contact name contained in the address list.
In a second implementation, a sequence tagging model may be trained in advance for identifying a named entity, such as a name. The training process of the sequence labeling model can be implemented by referring to the related art, which is not described herein. When the sequence labeling model is used, a message input by a user is used as the input of the model, and the output of the model is the labeling result of the name corresponding to the message.
For example, assume that the user enters a message: the eye disease, i want to ask for a false disease in tomorrow. Assuming that the sequence labeling model is labeled in a BIO mode, the sequence labeling result of the message is as follows: eye/B disease/I me/O Ming/O day/O want/O please/O disease/O false/O. Wherein, B represents the first character of the name, I represents the last character of the name, and O represents that the Chinese character does not belong to the named entity. Based on the labeling result, the "eye disease" in the message is the name, i.e., the contact name.
Further, the contact name ' eye disease ' is found in the address book, if the contact name ' eye disease ' does not exist in the address book, the contact name ' eye disease ' is the contact name with the input error, the pronunciation of the contact name ' eye disease ' with the input error and the pronunciation of each contact name contained in the address book are compared, the contact name matched with the pronunciation of the eye disease ' is found from the pronunciation, the contact name is assumed to be ' severe ice ', and therefore the ' severe ice ' replaces the ' eye disease ' to finish error correction.
It should be noted that, in practical applications, only the first implementation manner or only the second implementation manner may be provided for recognizing and correcting the contact name that is input incorrectly in the message input by the user. However, both implementations may also be provided, in which case it is possible to select which implementation to use for a message input by the user.
For example, if the total length of the message input by the user is smaller than the set threshold, the first implementation mode is used; in contrast, if the total length of the message is greater than the set threshold, the second implementation is used.
Fig. 3 is a flowchart of another information processing method according to an embodiment of the present invention, and as shown in fig. 3, the method may include the following steps:
301. and receiving a message input by a user to the instant messaging interface.
302. It is determined whether the message contains a second contact name corresponding to the first contact name in the address book, and if so, step 303 is executed.
The implementation manner of this step can be referred to the introduction in the foregoing embodiments, and is not described herein. It can be understood that, when it is determined that the message does not include the second contact name corresponding to the first contact name in the address book, the message is input correctly, and normal processing is performed. As mentioned above, the "corresponding" may mean that the characters are different but the pronunciation is matched.
303. And highlighting the second contact name, and displaying prompt information in the instant messaging interface, wherein the prompt information is used for inquiring whether the user modifies the second contact name into the first contact name.
304. And responding to a modification instruction triggered by the user according to the prompt message, and modifying the second contact name into the first contact name.
How to interact with the user to complete the error correction of the contact name with the input error when the contact name with the input error is identified to exist in the message input by the user in the embodiment is exemplified by combining with the figure 4.
In fig. 4, it is assumed that the message input by the user is: the eye disease, i want to ask for a false disease in tomorrow. And assuming that the eye disease is determined to be the contact name with the input error, namely the second contact name in the above step, and assuming that the correct first contact name corresponding to the eye disease in the address book is the strict ice. Based on this, optionally, after determining that the second contact name "eye disease" is input incorrectly, the second contact name may be highlighted so as to visually and accurately allow the user to see the location of the contact name that may be incorrect. In addition, optionally, prompt information may be displayed in the instant messaging interface, where the prompt information is used to inquire of a user whether to modify the second contact name into the first contact name. The prompt displayed in fig. 4 is the text "identify friend name { ice } in address book" and a button with "click replace" word. When the user clicks the button based on the prompt information, it means that the user triggers a modification instruction, thereby replacing "eye disease" with "severe ice".
Finally, it should be noted that when there are multiple correct contact names in the address book that are audibly matched with the contact name that is incorrectly input, optionally, the multiple correct contact names may be presented in the prompt message for the user to select. For example, the wrong contact name is "eye disease", and the correct contact name in the address book matching with the pronunciation thereof includes "ice-severe" and "facial ice", which may prompt the user to select a desired one of the two correct contact names.
In summary, in the embodiment of the present invention, when the user inputs a message in the instant messaging interface, there is a case where an incorrect contact name is input due to the carelessness of the user. For the situation, it may be determined whether the message input by the user includes a contact name with an input error corresponding to a correct contact name in combination with a plurality of contact names included in the address book of the user, for example, the contact name with the input error is referred to as a second contact name, and the correct contact name corresponding to the second contact name is referred to as a first contact name in the address book, so that the second contact name may be modified into the first contact name, and then the modified message is displayed in the instant messaging interface of the recipient, so that the recipient of the message can see the correct message.
Fig. 5 is a flowchart of another information processing method according to an embodiment of the present invention, and as shown in fig. 5, the method may include the following steps:
501. and receiving the message input in the information input interface by the user.
502. And if the message is determined to contain a second contact name corresponding to the first contact name in the address list, modifying the second contact name into the first contact name, wherein the first contact name is any one of the contact names in the address list.
In the foregoing embodiments, a case that a user inputs a message through an instant messaging application is assumed, and in the present embodiment, the information input interface includes, but is not limited to, an instant messaging interface, and may also be, for example, a mail input interface, a web page, and other interfaces. That is to say, the information processing method provided by the embodiment can be applied to any information interaction tool with an address book. Assuming that the information input interface is a mail input interface, the message is mail content input by the user in the mail input interface, where the mail content may be text content input by the user word by word in the mail input interface or mail content copied by the user from other positions.
For the content that is not described in detail in this embodiment, reference may be made to the description in the foregoing other embodiments, which are not repeated herein.
In the above embodiments, it is assumed that the second contact name is a contact name which is input by the user incorrectly, and the first contact name is a correct contact name corresponding to the contact name which is input incorrectly, so that the purpose of correcting the contact name which is input by the user incorrectly to be the correct contact name can be achieved based on the information processing method. However, the information processing method provided in the embodiment of the present invention can not only achieve the purpose, but also achieve the purpose of converting different names of the same contact.
For example, still take the example that user a sends a message to user B in the address book — strictly icy (strictly icy is the real name of user B). In practical applications, the user a may set a nickname or short name for the user B, which is more than the nickname set by the user a for the user B: the ice blocks are tight. The nickname or simple name setting result of the user a to the user B may be stored locally in the terminal device of the user a, or may be uploaded to a corresponding server for storage.
Based on this, when the user A sends a message "ice block is tight, i please leave a sick and sick name, but not a company" to the user B, the nickname "ice block is tight" is found to correspond to the real name "ice block", and the nickname can be modified into the corresponding real name. At this time, "ice-tight" corresponds to the first contact name in the foregoing embodiment, and "ice-tight" corresponds to the second contact name in the foregoing embodiment.
Vice versa, for example, when the user a sends a message "strictly icy, i please leave a company on the next day" to the user B, and finds that the real name of "strictly icy" corresponds to the nickname of "strictly icy", the real name can be modified to the corresponding nickname. At this time, "ice-tight" corresponds to the first contact name in the foregoing embodiment, and "ice-tight" corresponds to the second contact name in the foregoing embodiment.
In practical applications, whether the conversion of the nickname/short name into the real name needs to be performed may be, on the one hand, optionally, by querying the user a whether the conversion is performed, similar to the scheme provided in the embodiment shown in fig. 3. Alternatively, it may be automatically determined according to the following manner: taking the example that the user a sends a message to the user B, whether to convert a nickname/short name corresponding to the user B in the message sent by the user a into a real name of the user B can be determined according to the identity attribute of the user B, the communication frequency between the user a and the user B, and other factors.
For example, assuming that the user B is a co-worker of the user a (for example, the remark of the user a to the user B is a co-worker, or the user B is located in a company group set by the user a), it is considered that the nickname/short name corresponding to the user B in the message sent by the user a should be converted into the real name of the user B. On the contrary, if the user B is a classmate or a friend of the user a, it is considered that the nickname/short name corresponding to the user B in the message sent by the user a may not be converted into the real name of the user B.
For another example, if user a frequently sends messages to user B, it is considered that it may not be necessary to convert the nickname/short name corresponding to user B in the message sent by user a into the real name of user B. Conversely, if user a only occasionally sends a message to user B, it is considered that the nickname/short name corresponding to user B in the message sent by user a can be converted to user B's real name.
An information processing apparatus according to one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these information processing apparatuses can be configured by the steps taught in the present embodiment using commercially available hardware components.
Fig. 6 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, the apparatus includes: a receiving module 11 and a processing module 12.
And the receiving module 11 is used for receiving the message input by the user to the instant messaging interface.
The processing module 12 is configured to modify, if it is determined that the message includes a second contact name corresponding to a first contact name in the address book, the second contact name into the first contact name, where the first contact name is any contact name in the address book.
Optionally, the processing module 12 may be configured to: performing word segmentation processing on the message to obtain a plurality of words; filtering out words consistent with the names of the contact persons contained in the address list from the words; and determining whether a target word corresponding to the first contact name exists in the remaining words according to the pronunciation comparison result of the remaining words and the contact names contained in the address list, wherein the target word is the second contact name.
Optionally, the processing module 12 may be configured to: and filtering out words which do not accord with the word number length from the plurality of words according to the word number length of the contact name contained in the address list.
Optionally, the processing module 12 may be configured to: filtering out non-noun words from the plurality of words.
Optionally, the processing module 12 may be configured to: and if the total length of the message is smaller than a set threshold value, performing word segmentation processing on the message.
Optionally, the processing module 12 may be configured to: performing named entity identification processing on the message to identify the second contact name corresponding to a name entity contained in the message; and if the second contact name does not exist in the address list, determining the first contact name corresponding to the second contact name according to the pronunciation comparison result of the second contact name and the contact names contained in the address list.
Optionally, the processing module 12 may be configured to: and if the total length of the message is greater than a set threshold value, carrying out named entity identification processing on the message.
Optionally, the processing module 12 may be configured to: displaying prompt information in the instant messaging interface, wherein the prompt information is used for inquiring whether the user modifies the second contact name into the first contact name; and responding to a modification instruction triggered by the user according to the prompt message, and modifying the second contact name into the first contact name.
Optionally, the processing module 12 may be configured to: highlighting the second contact name.
The apparatus shown in fig. 6 may execute the information processing method provided in the foregoing embodiments shown in fig. 1 to fig. 3, and the detailed execution process and technical effect refer to the description in the foregoing embodiments, which are not described herein again.
In one possible design, the structure of the information processing apparatus shown in fig. 6 may be implemented as an electronic device, as shown in fig. 7, which may include: a first processor 21, a first memory 22. Wherein the first memory 22 stores executable codes thereon, and when the executable codes are executed by the first processor 21, the first processor 21 is enabled to at least implement the information processing method provided in the embodiments shown in fig. 1 to 3.
Optionally, the electronic device may further include a first communication interface 23, configured to perform information processing with other devices.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium, on which executable code is stored, and when the executable code is executed by a processor of an electronic device, the processor is enabled to implement at least the information processing method provided in the foregoing embodiments shown in fig. 1 to 3.
Fig. 8 is a schematic structural diagram of another information processing apparatus according to an embodiment of the present invention, as shown in fig. 8, the apparatus includes: a receiving module 31 and an error correction module 32.
And the receiving module 31 is used for receiving the message input by the user in the information input interface.
And the error correction module 32 is configured to modify a second contact name corresponding to a first contact name in the address book into the first contact name if it is determined that the message includes the second contact name, where the first contact name is any contact name in the address book.
The apparatus shown in fig. 8 may execute the information processing method provided in the foregoing embodiment shown in fig. 5, and for details of the execution process and the technical effect, reference is made to the description in the foregoing embodiment, and details are not repeated here.
In one possible design, the structure of the information processing apparatus shown in fig. 8 may be implemented as an electronic device, which may include: a second processor 41, a second memory 42. Wherein the second memory 42 has stored thereon executable code, which when executed by the second processor 41, makes the second processor 41 at least implement the information processing method as provided in the foregoing embodiment shown in fig. 5.
Optionally, the electronic device may further include a second communication interface 43 for performing information processing with other devices.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium, on which executable code is stored, and when the executable code is executed by a processor of an electronic device, the processor is enabled to implement at least the information processing method provided in the foregoing embodiment shown in fig. 5.
The above-described apparatus embodiments are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without undue invasive labor.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
The information processing method provided in the embodiment of the present invention may be executed by a certain program/software, the program/software may be provided by a network side, the user terminal mentioned in the foregoing embodiment may download the program/software into a local nonvolatile storage medium, and when it needs to execute the information processing method, the program/software is read into a memory by a CPU, and then the CPU executes the program/software to implement the information processing method provided in the foregoing embodiment, and the execution process may refer to the schematic in fig. 1 to fig. 5.
Finally, it should be noted that: the above examples are only used to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (17)

1. An information processing method characterized by comprising:
receiving a message input by a user to an instant messaging interface;
if the message is determined to contain a second contact name corresponding to the first contact name in the address list, the second contact name is modified into the first contact name, and the first contact name is any one of the contact names in the address list.
2. The method of claim 1, further comprising:
performing word segmentation processing on the message to obtain a plurality of words;
filtering out words consistent with the contact names contained in the address list from the words;
and determining whether a target word corresponding to the first contact name exists in the remaining words according to the pronunciation comparison result of the remaining words and the contact names contained in the address list, wherein the target word is the second contact name.
3. The method of claim 2, further comprising:
and filtering out words which do not accord with the word number length from the plurality of words according to the word number length of the contact name contained in the address list.
4. The method of claim 2, further comprising:
filtering out non-noun words from the plurality of words.
5. The method of claim 2, wherein the tokenizing the message comprises:
and if the total length of the message is smaller than a set threshold value, performing word segmentation processing on the message.
6. The method of claim 1, further comprising:
performing named entity identification processing on the message to identify the second contact name corresponding to a name entity contained in the message;
and if the second contact name does not exist in the address list, determining the first contact name corresponding to the second contact name according to the pronunciation comparison result of the second contact name and the contact names contained in the address list.
7. The method according to claim 6, wherein the performing named entity recognition processing on the message comprises:
and if the total length of the message is greater than a set threshold value, carrying out named entity identification processing on the message.
8. The method of any of claims 1-7, wherein modifying the second contact name to the first contact name comprises:
displaying prompt information in the instant messaging interface, wherein the prompt information is used for inquiring whether the user modifies the second contact name into the first contact name;
and responding to a modification instruction triggered by the user according to the prompt message, and modifying the second contact name into the first contact name.
9. The method of claim 8, further comprising:
highlighting the second contact name.
10. An information processing apparatus characterized by comprising:
the receiving module is used for receiving a message input to the instant messaging interface by a user;
and the processing module is used for modifying the second contact name into the first contact name if the message is determined to contain the second contact name corresponding to the first contact name in the address list, wherein the first contact name is any one of the contact names in the address list.
11. An electronic device, comprising: a memory, a processor; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the information processing method of any one of claims 1 to 9.
12. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to execute the information processing method according to any one of claims 1 to 9.
13. An information processing method characterized by comprising:
receiving a message input by a user in an information input interface;
if the message is determined to contain a second contact name corresponding to the first contact name in the address list, the second contact name is modified into the first contact name, and the first contact name is any one of the contact names in the address list.
14. The method of claim 13, wherein the information input interface is a mail input interface and the message is mail content, the method further comprising:
and sending the modified mail content.
15. An information processing apparatus characterized by comprising:
the receiving module is used for receiving the information input by the user in the information input interface;
and the error correction module is used for modifying a second contact name into the first contact name if the message is determined to contain the second contact name corresponding to the first contact name in the address list, wherein the first contact name is any one of the contact names in the address list.
16. An electronic device, comprising: a memory, a processor; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the information processing method of claim 13 or 14.
17. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to execute the information processing method according to claim 13 or 14.
CN202010093560.1A 2020-02-14 2020-02-14 Information processing method, apparatus, device and storage medium Active CN113271247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010093560.1A CN113271247B (en) 2020-02-14 2020-02-14 Information processing method, apparatus, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010093560.1A CN113271247B (en) 2020-02-14 2020-02-14 Information processing method, apparatus, device and storage medium

Publications (2)

Publication Number Publication Date
CN113271247A true CN113271247A (en) 2021-08-17
CN113271247B CN113271247B (en) 2023-05-23

Family

ID=77227294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010093560.1A Active CN113271247B (en) 2020-02-14 2020-02-14 Information processing method, apparatus, device and storage medium

Country Status (1)

Country Link
CN (1) CN113271247B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004102523A (en) * 2002-09-06 2004-04-02 Casio Comput Co Ltd Electronic mail system and electronic mail transaction program
CN101047658A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method for amending transmitted message and immediate communication device
CN101083631A (en) * 2006-05-31 2007-12-05 阿里巴巴公司 Method for establishing contact list and managing contact information in instant communication
CN101976122A (en) * 2010-10-28 2011-02-16 宇龙计算机通信科技(深圳)有限公司 Input method and system of contacter information and mobile terminal
WO2012100409A1 (en) * 2011-01-25 2012-08-02 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for adding recipient information
US20130189961A1 (en) * 2012-01-20 2013-07-25 Intuit Inc. Linking a name to a phone number in a text message based on a contact list in a mobile device
CN103269306A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Message handling method and device in communication process
CN103345606A (en) * 2013-05-31 2013-10-09 东莞宇龙通信科技有限公司 Method and device for protecting mobile terminal address list contact person information
US20150288744A1 (en) * 2014-04-04 2015-10-08 Dropbox, Inc. Enriching contact data based on content sharing history in a content management system
CN106789575A (en) * 2016-12-22 2017-05-31 努比亚技术有限公司 A kind of information transmitting apparatus, method
CN107302617A (en) * 2017-05-17 2017-10-27 深圳市金立通信设备有限公司 A kind of data managing method and terminal
CN109120498A (en) * 2017-06-22 2019-01-01 北京小米移动软件有限公司 Send the method and device of information

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004102523A (en) * 2002-09-06 2004-04-02 Casio Comput Co Ltd Electronic mail system and electronic mail transaction program
CN101047658A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method for amending transmitted message and immediate communication device
CN101083631A (en) * 2006-05-31 2007-12-05 阿里巴巴公司 Method for establishing contact list and managing contact information in instant communication
CN101976122A (en) * 2010-10-28 2011-02-16 宇龙计算机通信科技(深圳)有限公司 Input method and system of contacter information and mobile terminal
WO2012100409A1 (en) * 2011-01-25 2012-08-02 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for adding recipient information
US20130189961A1 (en) * 2012-01-20 2013-07-25 Intuit Inc. Linking a name to a phone number in a text message based on a contact list in a mobile device
CN103269306A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Message handling method and device in communication process
CN103345606A (en) * 2013-05-31 2013-10-09 东莞宇龙通信科技有限公司 Method and device for protecting mobile terminal address list contact person information
US20150288744A1 (en) * 2014-04-04 2015-10-08 Dropbox, Inc. Enriching contact data based on content sharing history in a content management system
CN106789575A (en) * 2016-12-22 2017-05-31 努比亚技术有限公司 A kind of information transmitting apparatus, method
CN107302617A (en) * 2017-05-17 2017-10-27 深圳市金立通信设备有限公司 A kind of data managing method and terminal
CN109120498A (en) * 2017-06-22 2019-01-01 北京小米移动软件有限公司 Send the method and device of information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汤拓;: ""通讯录管理系统的设计方法"", 《信息系统工程》 *

Also Published As

Publication number Publication date
CN113271247B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US10460029B2 (en) Reply information recommendation method and apparatus
CN111523306A (en) Text error correction method, device and system
US9317501B2 (en) Data security system for natural language translation
US11217236B2 (en) Method and apparatus for extracting information
CN110493019B (en) Automatic generation method, device, equipment and storage medium of conference summary
WO2016151699A1 (en) Learning apparatus, method, and program
CN111310440A (en) Text error correction method, device and system
CN112633003A (en) Address recognition method and device, computer equipment and storage medium
CN108877792A (en) For handling method, apparatus, electronic equipment and the computer readable storage medium of voice dialogue
CN109614464B (en) Method and device for identifying business problems
CN111063355A (en) Conference record generation method and recording terminal
CN115309877A (en) Dialog generation method, dialog model training method and device
CN112466289A (en) Voice instruction recognition method and device, voice equipment and storage medium
CN112580324A (en) Text error correction method and device, electronic equipment and storage medium
CN101405693A (en) Personal synergic filtering of multimodal inputs
CN111402864A (en) Voice processing method and electronic equipment
KR20190074508A (en) Method for crowdsourcing data of chat model for chatbot
WO2020199590A1 (en) Mood detection analysis method and related device
US8116338B2 (en) Method for reducing errors while transferring tokens to and from people
CN115858776B (en) Variant text classification recognition method, system, storage medium and electronic equipment
CN114528851B (en) Reply sentence determination method, reply sentence determination device, electronic equipment and storage medium
CN113271247A (en) Information processing method, device, equipment and storage medium
CN112786041B (en) Voice processing method and related equipment
CN108831473B (en) Audio processing method and device
CN113656566A (en) Intelligent dialogue processing method and device, computer equipment and storage medium

Legal Events

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