CN112840627B - Information processing method, related device and computer readable storage medium - Google Patents

Information processing method, related device and computer readable storage medium Download PDF

Info

Publication number
CN112840627B
CN112840627B CN201880098630.3A CN201880098630A CN112840627B CN 112840627 B CN112840627 B CN 112840627B CN 201880098630 A CN201880098630 A CN 201880098630A CN 112840627 B CN112840627 B CN 112840627B
Authority
CN
China
Prior art keywords
information
user
preset
opposite
information input
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.)
Active
Application number
CN201880098630.3A
Other languages
Chinese (zh)
Other versions
CN112840627A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112840627A publication Critical patent/CN112840627A/en
Application granted granted Critical
Publication of CN112840627B publication Critical patent/CN112840627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Abstract

The embodiment of the application discloses an information processing method and a related device, which are applied to electronic equipment, wherein the method comprises the following steps: when an instruction of inputting information by a user is received, identifying whether the information input by the user contains preset information or not; when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user; searching the replacement information of the preset information according to the information of the opposite-end user; and replacing preset information in the information input by the user with the replacement information, and sending the replaced information. Therefore, the electronic equipment can identify whether the information input by the user has the preset information when the user inputs the information, and automatically replace the preset information and then send the information if the preset information exists, so that the readability of the information sent by the user is improved, and the timeliness of information interaction of the user is enhanced.

Description

Information processing method, related device and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information processing method and a related apparatus.
Background
With the popularization and development of computer and internet technologies, networks have gone deep into thousands of households, and network languages, as a tool for people to perform fusion and communication in network space-time, have come to have a great influence on people's lives, and even become a part of people's daily life wordings. However, since the network expressions have the characteristics of fast update, strong individuation and the like, people with little contact with the network expressions are difficult to understand in time, which affects the daily communication of people.
Disclosure of Invention
The embodiment of the application provides an information processing method and a related device, which aim to improve the readability of information and enhance the timeliness of user information interaction.
In a first aspect, an embodiment of the present application provides an information processing method, which is applied to an electronic device, and the method includes:
when an instruction of inputting information by a user is received, identifying whether the information input by the user contains preset information or not;
when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user;
searching the replacement information of the preset information according to the information of the opposite-end user;
and replacing preset information in the information input by the user with the replacement information, and sending the replaced information.
In a second aspect, an embodiment of the present application provides an application control apparatus, which is applied to an electronic device, and includes a processing unit and a communication unit, wherein,
the processing unit is used for acquiring the display interface content of the electronic equipment when the communication unit receives instant communication information, wherein the instant communication information comprises incoming call information or short message information; importing the display interface content into a pre-trained scene recognition model, and outputting a scene recognition result; determining whether the electronic equipment is in a preset scene according to the scene recognition result, wherein the preset scene comprises a game scene; when the electronic equipment is determined to be in the preset scene, determining whether an automatic reply function is started or not according to the instant communication information; if yes, starting the automatic reply function, and selecting preset reply content for automatic reply.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
In the embodiment of the application, when an instruction for information input by a user is received, whether the information input by the user contains preset information is identified; when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user; searching the replacement information of the preset information according to the information of the opposite-end user; and replacing preset information in the information input by the user with the replacement information, and sending the replaced information. Therefore, the electronic equipment can identify whether the information input by the user has the preset information when the user inputs the information, and automatically replace the preset information and then send the information if the preset information exists, so that the readability of the information sent by the user is improved, and the timeliness of information interaction of the user is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present application 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, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for processing information according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating another information processing method provided by an embodiment of the present application;
FIG. 3 is a flow chart illustrating another method for processing information provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a block diagram of functional units of an information processing apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of functional units of an information processing apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of functional units of an information processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiment of the present application may be an electronic device with an information interaction function, and the electronic device may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), a Mobile Station (MS), a terminal device (terminal device), and the like.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an information processing method applied to an electronic device according to an embodiment of the present application, where the information processing method includes:
s101, when an instruction of inputting information by a user is received, identifying whether the information input by the user contains preset information or not;
the information input by the user may be text information or voice information.
It can be understood that the preset information may be network expressions. Network terminology refers to giving new meaning to an original word. For example, the term such as give force is a network term. For example, if you are too powerful, you may exaggerate that someone else does well or give him great help. As another example, the term "C-bit" refers to the person standing in the middle. For example, C bit is preempted when taking a picture, that is, the middle position is preempted when taking a picture. For another example, the word "lewd development, swell" is used as a warning that anything is memorable and not as desired. For another example, in the word "prick heart, old iron" the old iron refers to the brother, and prick heart means that the heart receives a great shock and stimulation.
Wherein, the identifying whether the information input by the user contains the preset information may be: acquiring information input by a user; comparing the information input by the user with the content in a first preset list; and if the information input by the user comprises the content in the first preset list, determining that the information input by the user comprises preset information.
It should be noted that the information input by the user may be segmented according to parts of speech (for example, according to the subject-predicate object) or semantics (noun-verb), and then the short words may be compared with the content in the first preset list. The first preset list includes many network expressions and standard expressions.
It can be understood that, the identifying whether the information input by the user includes the preset information may further include: acquiring information input by a user; importing information input by a user into a semantic model to identify the semantics of the information input by the user; and determining whether the information input by the user contains preset information or not according to the semantics.
Wherein, it can be understood that the semantic model is obtained according to a preset neural network model, a network expression and a standard expression corresponding to the network expression.
It can be understood that the preset neural network model is used for training the network expression and the corresponding standard expression to obtain the semantic model.
Wherein, the neural network model can be a recurrent neural network model or a long-short term memory model.
Specifically, when the information sent by the user is voice information, the voice information can be split into short sentences, and the short sentences are subjected to semantic recognition by using a recurrent neural network RNN or a temporal recurrent neural network LSTM.
S102, when the information input by the user contains preset information, acquiring information of an opposite-end user performing information interaction by the user;
the obtaining of the information of the opposite-end user performing information interaction by the user may be: acquiring the identification of an opposite-end user for information interaction of the user; and determining the information of the opposite-end user in a second preset list according to the identifier of the opposite-end user.
It can be understood that the identifier of the peer user may be a phone number, a name, a code number, or the like.
It can be understood that the second preset list stores the correspondence between the identifier and the user information. For example, each phone number may correspond to a personal profile of the user, such as age, relationship to the user, etc.
The information of the opposite-end user can be the age of the opposite-end user, the relationship between the opposite-end user and the user, and the like. Common relationships include relatives, friends, leaders, classmates, and the like.
S103, searching for replacement information of the preset information according to the information of the opposite-end user;
the searching for the replacement information of the preset information according to the information of the peer user may be: taking the information of the opposite-end user as a query identifier, and querying a third preset list to obtain replacement information of the preset information, wherein the third preset list comprises a corresponding relation between the information of the opposite-end user and an information reply standard; the information reply standard comprises an information reply standard expression and an information reply format.
It can be understood that the third preset list stores corresponding relationships among network expressions, standard expressions, and font types. The network expression and the standard expression have different corresponding relations with the font type. For example, the father of the user and the leader of the user in the same age group have different corresponding standard expressions and font types. As another example, the same network expression-adapted standard expression may be the same, but the font type may be different, at different ages, as with a colleague.
For example, the information input by the user includes the network term "too hard", if the opposite user is a classmate or a friend now, the information is too hard to replace, and if the opposite user is a leader, the information is thank you for help and guidance.
It can be understood that the correspondence between the network expressions and the standard expressions and the font types in the third preset list may be converted by the mobile phone according to the big data, or may be set by the user. For example, when an interactive scene exists, when a user inputs a new network expression, the user is reminded to input a standard expression corresponding to an opposite user and store the standard expression.
And S104, replacing the preset information in the information input by the user with the replacement information, and sending the replaced information.
In the embodiment of the application, when an instruction for information input by a user is received, whether the information input by the user contains preset information is identified; when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user; searching the replacement information of the preset information according to the information of the opposite-end user; and replacing preset information in the information input by the user with the replacement information, and sending the replaced information. Therefore, the electronic equipment can identify whether the information input by the user has the preset information when the user inputs the information, and automatically replace the preset information and then send the information if the preset information exists, so that the readability of the information sent by the user is improved, and the timeliness of information interaction of the user is enhanced.
In a possible example, after the searching for the replacement information of the preset information according to the information of the peer user, the method further includes marking the replacement information in a bracket next to the preset information, and displaying the received information and the marked information.
Therefore, in this example, the electronic device can send the replacement information and the original information at the same time, and readability of the information is further improved.
In one possible case, the method further comprises: traversing preset websites according to preset intervals to determine whether hot events exist; wherein the hot event refers to an event with the access amount larger than a preset value; if yes, performing semantic analysis on the hot event to determine whether a new network expression exists; and if the new network expression exists, updating the semantic model according to a preset neural network model and the new network expression.
Therefore, in the present example, a function of updating the semantic model in real time is added, so that the convenience of the user is increased.
Referring to fig. 2, based on fig. 1, fig. 2 is a schematic flowchart of an information processing method according to an embodiment of the present application, applied to an electronic device, where as shown in the diagram, the information processing method includes:
s201, when receiving an instruction of information input by a user, acquiring information input by the user;
s202, comparing the information input by the user with the content in a first preset list;
s203, if the information input by the user comprises the content in the first preset list, determining that the information input by the user comprises preset information;
s204, when the information input by the user contains preset information, acquiring information of an opposite-end user performing information interaction by the user;
s205, searching the replacement information of the preset information according to the information of the opposite-end user;
s206, replacing the preset information in the information input by the user with the replacement information, and sending the replaced information.
It should be noted that, the specific content of the embodiment described in fig. 2 can be explained with reference to the embodiment corresponding to fig. 1.
It can be seen that, in the embodiment of the application, when an instruction for information input by a user is received, information input by the user is acquired; comparing the information input by the user with the content in a first preset list;
if the information input by the user comprises the content in the first preset list, determining that the information input by the user comprises preset information; when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user; searching the replacement information of the preset information according to the information of the opposite-end user; and replacing preset information in the information input by the user with the replacement information, and sending the replaced information. Therefore, the electronic equipment can identify whether the information input by the user has the preset information when the user inputs the information, and automatically replace the preset information and then send the information if the preset information exists, so that the readability of the information sent by the user is improved, and the timeliness of information interaction of the user is enhanced.
Referring to fig. 3, based on fig. 1, fig. 3 is a schematic flowchart of an information processing method provided in an embodiment of the present application, and is applied to the electronic device, as shown in the figure, the information processing method includes:
s301, when receiving an instruction of inputting information by a user, acquiring the information input by the user;
s302, importing information input by a user into a semantic model to identify the semantics of the information input by the user;
s303, determining whether the information input by the user contains preset information according to the semantics;
s304, when the information input by the user contains preset information, acquiring information of an opposite-end user performing information interaction by the user;
s305, searching the replacement information of the preset information according to the information of the opposite-end user;
s306, replacing the preset information in the information input by the user with the replacement information, and sending the replaced information.
It should be noted that, the specific content of the embodiment described in fig. 3 can be explained with reference to the embodiment corresponding to fig. 1.
It can be seen that, in the embodiment of the application, when an instruction for information input by a user is received, information input by the user is acquired; importing information input by a user into a semantic model to identify the semantics of the information input by the user; determining whether the information input by the user contains preset information according to the semantics; when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user; searching the replacement information of the preset information according to the information of the opposite-end user; and replacing preset information in the information input by the user with the replacement information, and sending the replaced information. Therefore, the electronic equipment can identify whether the information input by the user has the preset information when the user inputs the information, and automatically replace the preset information and then send the information if the preset information exists, so that the readability of the information sent by the user is improved, and the timeliness of information interaction of the user is enhanced.
Consistent with the embodiments shown in fig. 1, fig. 2, and fig. 3, fig. 4 is a schematic structural diagram of an electronic device 400 provided in an embodiment of the present application, and as shown in the figure, the electronic device 400 includes an application processor 410, a memory 420, a communication interface 430, and one or more programs 421, where the one or more programs 421 are stored in the memory 420 and configured to be executed by the application processor 410, and the one or more programs 421 include instructions for performing the following steps;
when an instruction of inputting information by a user is received, identifying whether the information input by the user contains preset information or not;
when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user;
searching the replacement information of the preset information according to the information of the opposite-end user;
and replacing preset information in the information input by the user with the replacement information, and sending the replaced information.
Optionally, the information input by the user may be text information or voice information; the identifying whether the information input by the user contains preset information includes:
acquiring information input by a user;
comparing the information input by the user with the content in a first preset list;
and if the information input by the user comprises the content in the first preset list, determining that the information input by the user comprises preset information.
Optionally, the information input by the user may be text information or voice information; the identifying whether the information input by the user contains preset information includes:
acquiring information input by a user;
importing information input by a user into a semantic model to identify the semantics of the information input by the user;
and determining whether the information input by the user contains preset information or not according to the semantics.
Optionally, the semantic model is obtained according to a preset neural network model, a network expression, and a standard expression corresponding to the network expression.
Wherein, optionally, the one or more programs 421 include instructions for performing the steps of:
traversing preset websites according to preset intervals to determine whether hot events exist; wherein the hot event refers to an event with the access amount larger than a preset value;
if yes, performing semantic analysis on the hot event to determine whether a new network expression exists;
and if the new network expression exists, updating the semantic model according to a preset neural network model and the new network expression.
Optionally, the preset neural network model is a recurrent neural network model or a long-term and short-term memory model.
Optionally, the obtaining information of an opposite-end user performing information interaction with the user includes:
acquiring the identification of an opposite-end user for information interaction of the user;
and determining the information of the opposite-end user in a second preset list according to the identifier of the opposite-end user.
Optionally, the searching for the replacement information of the preset information according to the information of the peer user includes:
taking the information of the opposite-end user as a query identifier, and querying a third preset list to obtain replacement information of the preset information, wherein the third preset list comprises a corresponding relation between the information of the opposite-end user and an information reply standard; the information reply standard comprises an information reply standard expression and an information reply format.
Wherein, optionally, the one or more programs 421 include instructions for performing the steps of:
when receiving the information sent by the opposite-end user, judging whether the received information contains the preset information;
when the received information contains the preset information, acquiring the information of the opposite-end user;
searching the replacement information of the preset information according to the information of the opposite-end user;
and marking the replacement information in brackets next to the preset information, and displaying the received information and the marked information.
In the embodiment of the application, when an instruction for information input by a user is received, whether the information input by the user contains preset information is identified; when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user; searching the replacement information of the preset information according to the information of the opposite-end user; and replacing preset information in the information input by the user with the replacement information, and sending the replaced information. Therefore, the electronic equipment can identify whether the information input by the user has the preset information when the user inputs the information, and automatically replace the preset information and then send the information if the preset information exists, so that the readability of the information sent by the user is improved, and the timeliness of information interaction of the user is enhanced.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a block diagram of functional units of an information reply method apparatus 500 according to an embodiment of the present application. The information replying method and device 500 is applied to a terminal and comprises an identification unit 501, an acquisition unit 502, a searching unit 503 and a sending unit 504, wherein,
the identification unit 501 is configured to identify whether information input by a user includes preset information when an instruction for information input by the user is received;
an obtaining unit 502, configured to obtain information of an opposite-end user performing information interaction with the user when the information input by the user includes preset information;
a searching unit 503, configured to search for replacement information of the preset information according to the information of the peer user;
a sending unit 504, configured to replace preset information in the information input by the user with the replacement information, and send the replaced information.
Optionally, the apparatus further includes a determining unit 505 and an updating unit 506;
a determining unit 505, configured to traverse a preset website at preset intervals to determine whether a hot event exists; the hot event refers to an event with the access quantity larger than a preset value;
the determining unit 505 is further configured to, if a hit event exists, perform semantic analysis on the hit event to determine whether a new network expression exists;
an updating unit 506, configured to update the semantic model according to a preset neural network model and the new network expression if the new network expression exists.
Optionally, the obtaining unit 502 is specifically configured to obtain an identifier of an opposite-end user performing information interaction with the user;
the determining unit 505 is further configured to determine, according to the identifier of the peer user, information of the peer user in a second preset list.
Optionally, the apparatus further comprises a marking unit 507 and a display unit 508;
a marking unit 507, configured to mark the replacement information in a bracket immediately adjacent to the preset information;
a display unit 508, configured to display the received information and the marked information.
In the embodiment of the application, when an instruction for information input by a user is received, whether the information input by the user contains preset information is identified; when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user; searching the replacement information of the preset information according to the information of the opposite-end user; and replacing preset information in the information input by the user with the replacement information, and sending the replaced information. Therefore, the electronic equipment can identify whether the information input by the user has the preset information when the user inputs the information, and automatically replace the preset information and then send the information if the preset information exists, so that the readability of the information sent by the user is improved, and the timeliness of information interaction of the user is enhanced.
Fig. 6 is a block diagram of functional units of an information reply method apparatus 600 according to an embodiment of the present application. The device 600 for replying information is applied to a terminal, and includes an obtaining unit 601, a comparing unit 602, a determining unit 603, a searching unit 604, and a sending unit 605, wherein,
an acquisition unit 601, configured to acquire information input by a user when receiving an instruction for information input by the user;
a comparing unit 602, configured to compare the information input by the user with content in a first preset list;
a determining unit 603, configured to determine that the information input by the user includes preset information if the information input by the user includes content in the first preset list.
The obtaining unit 601 is further configured to obtain information of an opposite-end user performing information interaction with the user when the information input by the user includes preset information;
a searching unit 604, configured to search for replacement information of the preset information according to the information of the peer user;
a sending unit 605, configured to replace preset information in the information input by the user with the replacement information, and send the replaced information.
It can be seen that, in the embodiment of the application, when an instruction for information input by a user is received, information input by the user is acquired; comparing the information input by the user with the content in a first preset list;
if the information input by the user comprises the content in the first preset list, determining that the information input by the user comprises preset information; when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user; searching the replacement information of the preset information according to the information of the opposite-end user; and replacing preset information in the information input by the user with the replacement information, and sending the replaced information. Therefore, the electronic equipment can identify whether the information input by the user has the preset information when the user inputs the information, and automatically replace the preset information and then send the information if the preset information exists, so that the readability of the information sent by the user is improved, and the timeliness of information interaction of the user is enhanced.
Fig. 7 is a block diagram of functional units of an information reply method apparatus 700 according to an embodiment of the present application. The information reply method device 700 is applied to a terminal and comprises an acquisition unit 701, an identification unit 702, a determination unit 703, a search unit 704 and a sending unit 705, wherein,
an obtaining unit 701, configured to obtain information input by a user when an instruction for information input by the user is received;
an identifying unit 702, configured to import information input by a user into a semantic model to identify semantics of the information input by the user;
a determining unit 703, configured to determine whether the information input by the user includes preset information according to the semantic meaning;
the obtaining unit 701 is further configured to obtain information of an opposite-end user performing information interaction with the user when the information input by the user includes preset information;
a searching unit 704, configured to search for replacement information of the preset information according to the information of the peer user;
a sending unit 705, configured to replace preset information in the information input by the user with the replacement information, and send the replaced information.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An information processing method applied to an electronic device, the method comprising:
when an instruction of inputting information by a user is received, identifying whether the information input by the user contains preset information or not;
when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user;
taking the information of the opposite-end user as a query identifier, querying a third preset list to obtain replacement information of the preset information, wherein the third preset list comprises a corresponding relation between the information of the opposite-end user and an information reply standard, and the information reply standard comprises an information reply standard term and an information reply format;
replacing preset information in the information input by the user with the replacement information, and sending the replaced information;
the method further comprises the following steps: traversing preset websites according to preset intervals to determine whether hot events exist; the hot event refers to an event with the access quantity larger than a preset value;
if yes, performing semantic analysis on the hot event to determine whether a new network expression exists;
and if the new network expression exists, updating the semantic model according to a preset neural network model and the new network expression.
2. The method of claim 1, wherein the user-entered information is text information or voice information; the identifying whether the information input by the user contains preset information includes:
acquiring information input by the user;
comparing the information input by the user with the content in a first preset list;
and if the information input by the user comprises the content in the first preset list, determining that the information input by the user comprises preset information.
3. The method of claim 1, wherein the user-entered information is text information or voice information; the identifying whether the information input by the user contains preset information includes:
acquiring information input by the user;
importing the information input by the user into a semantic model to identify the semantics of the information input by the user;
and determining whether the information input by the user contains preset information or not according to the semantics.
4. The method according to claim 3, wherein the semantic model is obtained according to a preset neural network model, network expression and standard expression corresponding to the network expression.
5. The method of claim 4, wherein the predetermined neural network model is a recurrent neural network model or a long-short term memory model.
6. The method according to any one of claims 1 to 5, wherein the obtaining information of an opposite end user performing information interaction with the user comprises:
acquiring the identification of an opposite-end user for information interaction of the user;
and determining the information of the opposite-end user in a second preset list according to the identifier of the opposite-end user.
7. The method of claim 6, further comprising:
when receiving the information sent by the opposite-end user, judging whether the received information contains the preset information;
when the received information contains the preset information, acquiring the information of the opposite-end user;
searching the replacement information of the preset information according to the information of the opposite-end user;
and marking the replacement information in brackets next to the preset information, and displaying the received information and the marked information.
8. A semantic conversion apparatus, applied to an electronic device, comprising a processing unit and a communication unit, wherein,
the processing unit is used for identifying whether the information input by the user contains preset information or not when receiving an instruction of inputting the information by the user; when the information input by the user comprises preset information, acquiring information of an opposite-end user performing information interaction by the user; taking the information of the opposite-end user as a query identifier, querying a third preset list to obtain replacement information of the preset information, wherein the third preset list comprises a corresponding relation between the information of the opposite-end user and an information reply standard, and the information reply standard comprises an information reply standard term and an information reply format; replacing preset information in the information input by the user with the replacement information; traversing preset websites according to preset intervals to determine whether hot events exist; the hot event refers to an event with the access quantity larger than a preset value; if yes, performing semantic analysis on the hot event to determine whether a new network expression exists; if the new network expression exists, updating the semantic model according to a preset neural network model and the new network expression;
and the communication unit is used for sending the replaced information.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
CN201880098630.3A 2018-12-19 2018-12-19 Information processing method, related device and computer readable storage medium Active CN112840627B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/122128 WO2020124444A1 (en) 2018-12-19 2018-12-19 Information processing method and related apparatus

Publications (2)

Publication Number Publication Date
CN112840627A CN112840627A (en) 2021-05-25
CN112840627B true CN112840627B (en) 2022-03-15

Family

ID=71102547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880098630.3A Active CN112840627B (en) 2018-12-19 2018-12-19 Information processing method, related device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN112840627B (en)
WO (1) WO2020124444A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084774B (en) * 2020-09-08 2021-07-20 百度在线网络技术(北京)有限公司 Data search method, device, system, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10187752A (en) * 1996-12-24 1998-07-21 Kokusai Denshin Denwa Co Ltd <Kdd> Inter-language information retrieval backup system
CN101419592A (en) * 2007-10-26 2009-04-29 英业达股份有限公司 System for translating computer executable network new speech and method thereof
CN102314440A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for maintaining language model base by using network and system
CN104618609A (en) * 2015-03-04 2015-05-13 深圳市中兴物联科技有限公司 Mobile terminal and method and device for sending short messages in multiple languages
CN106506841A (en) * 2016-11-15 2017-03-15 上海传英信息技术有限公司 Note transmission method and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175277B (en) * 2006-12-20 2010-06-09 北京恒基伟业投资发展有限公司 Mobile phone for learning foreign language by short message and method thereof
US9055161B2 (en) * 2009-07-18 2015-06-09 Abbyy Development Llc Text processing method for a digital camera
US20150088485A1 (en) * 2013-09-24 2015-03-26 Moayad Alhabobi Computerized system for inter-language communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10187752A (en) * 1996-12-24 1998-07-21 Kokusai Denshin Denwa Co Ltd <Kdd> Inter-language information retrieval backup system
CN101419592A (en) * 2007-10-26 2009-04-29 英业达股份有限公司 System for translating computer executable network new speech and method thereof
CN102314440A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for maintaining language model base by using network and system
CN104618609A (en) * 2015-03-04 2015-05-13 深圳市中兴物联科技有限公司 Mobile terminal and method and device for sending short messages in multiple languages
CN106506841A (en) * 2016-11-15 2017-03-15 上海传英信息技术有限公司 Note transmission method and mobile terminal

Also Published As

Publication number Publication date
WO2020124444A1 (en) 2020-06-25
CN112840627A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN109429230B (en) Communication fraud identification method and system
US10928996B2 (en) Systems, devices and methods for electronic determination and communication of location information
CN111523306A (en) Text error correction method, device and system
CN109299399B (en) Learning content recommendation method and terminal equipment
EP2896162B1 (en) Determining additional information associated with geographic location information
WO2007038142A2 (en) Sms+: short message service plus context support for social obligations and sms+4d: short message service plus 4-dimensional context
CN108304368B (en) Text information type identification method and device, storage medium and processor
CN109410675B (en) Exercise recommendation method based on student portrait and family education equipment
CN113039758B (en) Method and related device for automatically replying information
CN111611365A (en) Flow control method, device, equipment and storage medium of dialog system
CN108306813B (en) Session message processing method, server and client
CN112840627B (en) Information processing method, related device and computer readable storage medium
CN108595141A (en) Pronunciation inputting method and device, computer installation and computer readable storage medium
CN113177419A (en) Text rewriting method, device, storage medium and electronic equipment
CN112052316A (en) Model evaluation method, model evaluation device, storage medium and electronic equipment
CN109388695B (en) User intention recognition method, apparatus and computer-readable storage medium
CN112840305B (en) Font switching method and related product
CN111723205A (en) Conference summary processing method and device and conference summary processing equipment
CN106202222A (en) The determination method and device of focus incident
CN110798576A (en) Incoming call identity recognition method and device and related equipment
KR20160042211A (en) Terminal, Server, Method, Recording Medium, and Computer Program for providing Keyword Information and Background Image based on Communication Context
CN112101023B (en) Text processing method and device and electronic equipment
CN109992120B (en) Input error correction method and device
CN106649698B (en) Information processing method and information processing device
CN110875959B (en) Data identification method, junk mailbox identification method and file identification method

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