CN110943904A - Message processing method and device, storage medium and processor - Google Patents

Message processing method and device, storage medium and processor Download PDF

Info

Publication number
CN110943904A
CN110943904A CN201811115914.7A CN201811115914A CN110943904A CN 110943904 A CN110943904 A CN 110943904A CN 201811115914 A CN201811115914 A CN 201811115914A CN 110943904 A CN110943904 A CN 110943904A
Authority
CN
China
Prior art keywords
message
application account
data
entity
request
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.)
Pending
Application number
CN201811115914.7A
Other languages
Chinese (zh)
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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201811115914.7A priority Critical patent/CN110943904A/en
Publication of CN110943904A publication Critical patent/CN110943904A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Abstract

The invention discloses a message processing method and device, a storage medium and a processor. Wherein, the method comprises the following steps: receiving a message request sent by an application account on a client, wherein the message request at least comprises: message data of the message; based on the application account, acquiring a context entity corresponding to the application account; the context entity is added to the message data of the message to obtain the result of responding the message request, thereby achieving the purpose of adding the context entity to the message data of the message and improving the technical effect of the accuracy of the message processing result. The invention solves the technical problem that in the prior art, in the process of processing the message information, the message processing result is inaccurate because the data included in the received message information is incomplete.

Description

Message processing method and device, storage medium and processor
Technical Field
The present invention relates to the field of message processing, and in particular, to a message processing method and apparatus, a storage medium, and a processor.
Background
In the related art, the WeChat has only the concept of a user hierarchy, and a user number received by a server under a public number is unique. Wechat is merely the passing of messages and there is no storage of messages and backtracking of messages to manage a context message. In the prior art, in the process of processing the message information, the received message information contains incomplete data, so that the message processing result is inaccurate.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a message processing method and device, a storage medium and a processor, which at least solve the technical problem that in the prior art, in the message information processing process, the message processing result is inaccurate due to incomplete data included in received message information.
According to an aspect of the embodiments of the present invention, there is provided a method for processing a message, including: receiving a message request sent by an application account on a client, wherein the message request at least comprises: message data of the message; based on the application account, acquiring a context entity corresponding to the application account; and adding the context entity into the message data of the message to obtain a result responding to the message request.
Further, before obtaining the context entity corresponding to the application account based on the application account, the method further includes: packaging the message based on at least one preset parameter to generate a message entity, wherein the message entity at least comprises: parameter data for a parameter, the parameter comprising at least one of: a message type, a message number, an account number of the application account, and a generation time of the message.
Further, based on the application account, acquiring the context entity corresponding to the application account includes: querying the corresponding context entity based on account information of the application account, wherein fields of the context entity include at least one of: a set of message entities of the application account, a stored number of messages, a sending time of the message request, and status information of the application account.
Further, if the account information is unsuccessfully inquired, adding a new context entity in a message data set, wherein the new context entity is generated by assigning values to fields of the context entity; and if the account information is successfully inquired, adding the message entity into the set of message entities, and updating the field information of the context entity.
Further, after obtaining a result of responding to the message request, the method further comprises: obtaining a plurality of results obtained by response in a preset time period; and adding the results into a response set and returning the response set to the client.
According to another aspect of the embodiments of the present invention, there is provided a method for processing a message, including: an application account on a client sends a message request, wherein the message request at least comprises: message data of the message; the client receives a result responding to the message request; wherein the result is data generated by adding a context entity acquired based on the application account to the message data.
According to another aspect of the embodiments of the present invention, there is also provided a device for processing a message, including: a first receiving unit, configured to receive a message request sent by an application account on a client, where the message request at least includes: message data of the message; a first obtaining unit, configured to obtain, based on the application account, a context entity corresponding to the application account; and the response unit is used for adding the context entity into the message data of the message to obtain a result of responding the message request.
According to another aspect of the embodiments of the present invention, there is also provided a device for processing a message, including: a sending unit, configured to send a message request by an application account on a client, where the message request at least includes: message data of the message; a second receiving unit, configured to receive, by the client, a result of responding to the message request; wherein the result is data generated by adding a context entity acquired based on the application account to the message data.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, where the program when executed controls a device on which the storage medium is located to perform the following operations: receiving a message request sent by an application account on a client, wherein the message request at least comprises: message data of the message; based on the application account, acquiring a context entity corresponding to the application account; and adding the context entity into the message data of the message to obtain a result of responding to the message request.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes the following operations: receiving a message request sent by an application account on a client, wherein the message request at least comprises: message data of the message; based on the application account, acquiring a context entity corresponding to the application account; and adding the context entity into the message data of the message to obtain a result of responding to the message request.
In the embodiment of the present invention, a message request sent by an application account on a client is received, where the message request at least includes: message data of the message; based on the application account, acquiring a context entity corresponding to the application account; the context entity is added to the message data of the message to obtain the result of responding the message request, thereby achieving the purpose of adding the context entity to the message data of the message, improving the technical effect of the accuracy of the message processing result, and further solving the technical problem that the message processing result is inaccurate due to incomplete data included in the received message information in the message information processing process in the prior art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a message processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a message processing method according to a preferred embodiment of the present invention;
FIG. 3 is a schematic diagram of the raw data form provided by a WeChat party in accordance with a preferred embodiment of the present invention;
FIG. 4 is a diagram of a complete micro-consumer context organization in accordance with a preferred embodiment of the present invention;
fig. 5 is a flowchart of a further message processing method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a device for processing messages according to an embodiment of the invention;
fig. 7 is a schematic diagram of a further message processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, some terms or terms appearing in the description of the embodiments of the present invention are applicable to the following explanations:
context: context, meaning of the environment. Such as: "I received a bunch of flowers today, sent by a boy friend! "or" I received a bunch of flowers today, the person sending the flowers was wrong! ", again, a bunch of flowers is received, and the meaning of expression in different contexts is not the same. Only when the context is determined can the meaning be correctly understood and something less than certain be determined.
Session: the user identity information container carried by a request party is commonly used in web development.
The user context of the microcariter: namely, in the WeChat development, the interaction with the server can be determined, and corresponding operations are performed, parameters carried by the operations and the like.
WeChat development: WeChat public development. Depending on the implementation of the WeChat side, all c-end users firstly send related operations (such as click events, text messages and voice messages) of the WeChat public number to the WeChat server, and the WeChat server forwards the messages to the development server of the developer through a series of processes.
Example 1
In accordance with an embodiment of the present invention, there is provided a method embodiment of processing of messages, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of a message processing method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, receiving a message request sent by an application account on a client, wherein the message request at least comprises: message data of the message;
the application account can be a WeChat account, a QQ account and the like. The message request may further include: a data request to execute commands for deleting data, adding data, updating data. The message request sent by the application account on the client side can be received in a Bluetooth mode, or the message request can be sent by touching the user account, and the methods for receiving the message request are not listed.
Step S104, acquiring a context entity corresponding to the application account based on the application account;
wherein the context entity is based on the context for account acquisition, which corresponds to the application account. It should be noted that, a corresponding context entity is queried based on the account information of the application account, where a field of the context entity includes at least one of the following: a set of message entities for the application account, a number of messages stored, a time of transmission of a message request, and status information for the application account.
It should be noted that, if the account information query fails, a new context entity is added to the message data set, where the new context entity may be generated by assigning values to fields of the context entity. And if the account information is successfully inquired, adding the message entity into the set of message entities and updating the field information of the context entity. If a client triggering event is detected, a message request generated by the client based on the event is received.
Further, before obtaining the context entity corresponding to the application account based on the application account, the method may further package a message based on at least one preset parameter to generate a message entity, where the message entity may include at least: parameter data for a parameter, the parameter may include at least one of: message type, message number, account number of the application account, and generation time of the message.
Step S106, adding the context entity into the message data of the message to obtain the result of responding the message request.
Wherein, the context entity is added to the message data of the message in step S102, so as to obtain the request result of the response message. Optionally, after obtaining the result of the response message request, a plurality of results obtained by response within a predetermined time period may also be obtained; and adding a plurality of results into the response set, and returning the response set to the client.
Through the steps, a message request sent by an application account on a client is received, wherein the message request at least comprises: message data of the message; based on the application account, acquiring a context entity corresponding to the application account; the context entity is added to the message data of the message to obtain the result of responding the message request, thereby achieving the purpose of adding the context entity to the message data of the message and improving the technical effect of the accuracy of the message processing result. The invention solves the technical problem that in the prior art, in the process of processing the message information, the message processing result is inaccurate because the data included in the received message information is incomplete.
Further, before encapsulating the message based on at least one preset parameter and generating a message entity, the method further includes: packaging the time and at least one preset parameter to obtain a packaging result; sending the encapsulation result to a background service; and parameter data corresponding to at least one parameter based on parameter callback is received.
Further, encapsulating the message based on at least one preset parameter to generate a message entity, including: reading parameter data corresponding to each parameter; and packaging the message based on the parameter data corresponding to each parameter to generate a message entity.
A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a message processing method according to a preferred embodiment of the present invention, as shown in fig. 2, the preferred embodiment takes a wechat account (an application account in a corresponding embodiment) as an example, and the flowchart is described in detail as follows:
the method comprises the following steps: the user triggers an event from the wechat client, which passes this information to the wechat server if it is a click event.
Step two: after the wechat server performs corresponding processing, the event is packaged once and sent to the background service interface configured by the wechat public number, the transmitted parameters are as shown in fig. 3, and fig. 3 is a schematic diagram of the original data form provided by the wechat party according to the preferred embodiment of the present invention.
Step three: when the server interface developed by the developer receives the message of the WeChat callback, the process enters the flow of processing and packaging. A message entity is encapsulated according to the parameters. Wherein, the message entity may contain the fields: message type, sender account, message number, etc.
Step four: after the information entity is packaged, the WeChat application context finds a corresponding user context entity according to an account number of a current sender (the entity comprises fields of a data set of the WeChat user to-and-from information entity, the maximum stored information quantity, the last request time of the current user, a response entity set of the user request information and the state information of the current user), if the entity does not exist, a new record is added, and the value information of each value of the fields is assigned. And if the user information is found to exist, adding the user information entity into the data set of the current message, and updating the value information of each field. FIG. 4 is a diagram of a complete micro-consumer context organization, as shown in FIG. 4, in accordance with a preferred embodiment of the present invention.
Step five: the message has been encapsulated into a global variable through the above steps. The application server can directly obtain the context information of the current user by obtaining the information of the current user at the moment, and perform corresponding processing.
Step six: when the application server prepares to return the message after a series of processing, the returned message entity is added to the response set of the user's context. All processing has thus far ended.
The preferred embodiment can directly acquire the message entity of the user, the previous messages and the session state of the current user through the context information in the development. Because a certain amount of session records and state values are saved, corresponding intelligent analysis can be directly carried out on the session records and the state values in the later period, and all serialization of the user message entities can be stored in a corresponding data analysis tool for corresponding data statistics and analysis work.
Example 2
There is also provided, in accordance with an embodiment of the present invention, another method embodiment for processing messages, it should be noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
Fig. 5 is a flowchart of a further message processing method according to an embodiment of the present invention, as shown in fig. 5, the method includes the following steps:
step S502, an application account on the client sends a message request, wherein the message request at least comprises: message data of the message;
it should be noted that the application account on the client may send a message request to a server corresponding to the client, or may send a message request to a mobile terminal performing data interaction with the client, where the mobile terminal includes a mobile phone, an ipad, and the like.
Step S504, the client receives the result of the response message request; wherein the result is data generated by adding the context entity acquired based on the application account to the message data.
The client receives a result of the server or the mobile terminal requesting the message, the result being generated by adding the context entity acquired based on the application account to the message data.
Through the steps, a message request is sent through an application account on a client, wherein the message request at least comprises the following steps: message data of the message; the client receives the result of the response message request; the result is data generated by adding the context entity acquired based on the application account to the message data, and the purpose of adding the context entity to the message data of the message is achieved, so that the technical effect of improving the accuracy of the message processing result is achieved. The invention solves the technical problem that in the prior art, in the process of processing the message information, the message processing result is inaccurate because the data included in the received message information is incomplete.
Example 3
According to the embodiment of the present invention, an embodiment of a device for processing a message is further provided, and it should be noted that the device for processing a message may be used to execute a method for processing a message in the embodiment of the present invention, that is, the method for processing a message in the embodiment of the present invention may be executed in the device for processing a message.
Fig. 6 is a schematic diagram of a message processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, the apparatus may include: a first receiving unit 61, a first obtaining unit 63 and a responding unit 65. The following describes the message processing apparatus in detail.
A first receiving unit 61, configured to receive a message request sent by an application account on a client, where the message request at least includes: message data of the message;
a first obtaining unit 63, configured to obtain, based on an application account, a context entity corresponding to the application account;
a response unit 65, configured to add the context entity to the message data of the message, and obtain a result of responding to the message request.
With this embodiment, a message request sent by an application account on a client is received by the first receiving unit 61, where the message request at least includes: message data of the message; the first obtaining unit 63 obtains a context entity corresponding to the application account based on the application account; the response unit 65 adds the context entity to the message data of the message, resulting in a result of the response message request. The purpose of adding the context entity into the message data of the message is achieved, the technical effect of improving the accuracy of the message processing result is achieved, and the technical problem that in the prior art, in the message information processing process, the message processing result is inaccurate due to the fact that the received data included in the message information is incomplete is solved.
Optionally, the apparatus further comprises: the generating unit is configured to package a message based on at least one preset parameter to generate a message entity before acquiring a context entity corresponding to an application account based on the application account, where the message entity at least includes: parameter data for a parameter, the parameter comprising at least one of: message type, message number, account number of the application account, and generation time of the message.
Optionally, the apparatus further comprises: the encapsulation unit is used for encapsulating the message based on at least one preset parameter and encapsulating the time and at least one preset parameter before generating a message entity to obtain an encapsulation result; the sending unit is used for sending the packaging result to the background service; and the callback unit is used for receiving parameter data corresponding to at least one parameter based on parameter callback.
Optionally, the packaging unit includes: the reading module is used for reading the parameter data corresponding to each parameter; and the encapsulation module is used for encapsulating the message based on the parameter data corresponding to each parameter to generate a message entity.
Optionally, the obtaining unit includes: a query module configured to query a corresponding context entity based on account information of the application account, wherein a field of the context entity includes at least one of: a set of message entities for the application account, a number of messages stored, a time of transmission of a message request, and status information for the application account.
Optionally, the obtaining unit further includes: the first adding module is used for adding a new context entity in the message data set if the account information query fails, wherein the new context entity is generated by assigning values to fields of the context entity.
Optionally, the obtaining unit further includes: and the second adding module is used for adding the message entity into the set of the message entity and updating the field information of the context entity if the account information is successfully inquired.
Optionally, the apparatus further comprises: and the third receiving unit is used for receiving a message request generated by the client based on the event if the client triggering event is detected.
Optionally, the apparatus further comprises: a second obtaining unit, configured to obtain, after obtaining the result of the response message request, a plurality of results obtained by responses within a predetermined time period; and the return unit is used for adding the multiple results into the response set and returning the response set to the client.
Example 4
According to the embodiment of the present invention, another device embodiment of a message processing device is also provided, and it should be noted that the message processing device may be configured to execute a message processing method in the embodiment of the present invention, that is, the message processing method in the embodiment of the present invention may be executed in the message processing device.
Fig. 7 is a schematic diagram of another message processing apparatus according to an embodiment of the present invention, and as shown in fig. 7, the apparatus may include: a transmitting unit 71 and a second receiving unit 73. The following describes the message processing apparatus in detail.
A sending unit 71, configured to send a message request by an application account on a client, where the message request at least includes: message data of the message;
a second receiving unit 73, configured to receive a result of the response message request by the client; wherein the result is data generated by adding the context entity acquired based on the application account to the message data.
With this embodiment, a message request is sent using an application account on the client of the sending unit 71, where the message request at least includes: message data of the message; the second receiving unit 73 receives the result of the response message request by the client; wherein the result is data generated by adding the context entity acquired based on the application account to the message data. The purpose of adding the context entity into the message data of the message is achieved, the technical effect of improving the accuracy of the message processing result is achieved, and the technical problem that in the prior art, in the message information processing process, the message processing result is inaccurate due to the fact that the received data included in the message information is incomplete is solved.
According to another aspect of the present invention, there is also provided a storage medium including a stored program, wherein the program when executed controls a device on which the storage medium is located to perform the following operations: receiving a message request sent by an application account on a client, wherein the message request at least comprises: message data of the message; based on the application account, acquiring a context entity corresponding to the application account; and adding the context entity into the message data of the message to obtain a result of responding to the message request.
According to another aspect of the present invention, there is also provided a storage medium including a stored program, wherein the program when executed controls a device on which the storage medium is located to perform the following operations: sending a message request through an application account on a client, wherein the message request at least comprises: message data of the message; the client receives the result of the response message request; wherein the result is data generated by adding the context entity acquired based on the application account to the message data.
According to yet another aspect of the present invention, there is also provided a processor for executing a program, wherein the program executes to perform the following operations: receiving a message request sent by an application account on a client, wherein the message request at least comprises: message data of the message; based on the application account, acquiring a context entity corresponding to the application account; and adding the context entity into the message data of the message to obtain a result of responding to the message request.
According to yet another aspect of the present invention, there is also provided a processor for executing a program, wherein the program executes to perform the following operations: sending a message request through an application account on a client, wherein the message request at least comprises: message data of the message; the client receives the result of the response message request; wherein the result is data generated by adding the context entity acquired based on the application account to the message data.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, 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 technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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 through some interfaces, units or modules, and may be in an electrical 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 invention 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, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 method according to the embodiments of the present invention. And the aforementioned storage medium includes: 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.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for processing a message, comprising:
receiving a message request sent by an application account on a client, wherein the message request at least comprises: message data of the message;
based on the application account, acquiring a context entity corresponding to the application account;
and adding the context entity into the message data of the message to obtain a result responding to the message request.
2. The method of claim 1, wherein prior to obtaining the context entity corresponding to the application account based on the application account, the method further comprises:
packaging the message based on at least one preset parameter to generate a message entity, wherein the message entity at least comprises: parameter data for a parameter, the parameter comprising at least one of: a message type, a message number, an account number of the application account, and a generation time of the message.
3. The method of claim 2, wherein obtaining, based on the application account, a context entity corresponding to the application account comprises:
querying the corresponding context entity based on account information of the application account, wherein fields of the context entity include at least one of: a set of message entities of the application account, a stored number of messages, a sending time of the message request, and status information of the application account.
4. The method of claim 3, wherein if querying the account information fails, adding a new context entity in a message data set, wherein the new context entity is generated by assigning values to fields of the context entity; and if the account information is successfully inquired, adding the message entity into the set of message entities, and updating the field information of the context entity.
5. The method of any one of claims 1 to 4, wherein after obtaining the result of responding to the message request, the method further comprises:
obtaining a plurality of results obtained by response in a preset time period;
and adding the results into a response set and returning the response set to the client.
6. A method for processing a message, comprising:
an application account on a client sends a message request, wherein the message request at least comprises: message data of the message;
the client receives a result responding to the message request;
wherein the result is data generated by adding a context entity acquired based on the application account to the message data.
7. An apparatus for processing a message, comprising:
a first receiving unit, configured to receive a message request sent by an application account on a client, where the message request at least includes: message data of the message;
a first obtaining unit, configured to obtain, based on the application account, a context entity corresponding to the application account;
and the response unit is used for adding the context entity into the message data of the message to obtain a result of responding the message request.
8. An apparatus for processing a message, comprising:
a sending unit, configured to send a message request by an application account on a client, where the message request at least includes: message data of the message;
a second receiving unit, configured to receive, by the client, a result of responding to the message request; wherein the result is data generated by adding a context entity acquired based on the application account to the message data.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the message processing method according to any one of claims 1 to 6.
10. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the message processing method according to any one of claims 1 to 6 when the program is run.
CN201811115914.7A 2018-09-25 2018-09-25 Message processing method and device, storage medium and processor Pending CN110943904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811115914.7A CN110943904A (en) 2018-09-25 2018-09-25 Message processing method and device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811115914.7A CN110943904A (en) 2018-09-25 2018-09-25 Message processing method and device, storage medium and processor

Publications (1)

Publication Number Publication Date
CN110943904A true CN110943904A (en) 2020-03-31

Family

ID=69905116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811115914.7A Pending CN110943904A (en) 2018-09-25 2018-09-25 Message processing method and device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN110943904A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227980A (en) * 2012-01-31 2013-07-31 联想(北京)有限公司 Information outputting method and device
CN106953790A (en) * 2016-01-07 2017-07-14 阿里巴巴集团控股有限公司 Many people's information exchange methods and device
CN107273487A (en) * 2017-06-13 2017-10-20 北京百度网讯科技有限公司 Generation method, device and the computer equipment of chat data based on artificial intelligence
CN108090079A (en) * 2016-11-22 2018-05-29 阿里巴巴集团控股有限公司 A kind of chat record processing method and processing device of instant messenger
US20180198887A1 (en) * 2017-01-09 2018-07-12 International Business Machines Corporation Displaying context in group chats using member tagging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227980A (en) * 2012-01-31 2013-07-31 联想(北京)有限公司 Information outputting method and device
CN106953790A (en) * 2016-01-07 2017-07-14 阿里巴巴集团控股有限公司 Many people's information exchange methods and device
CN108090079A (en) * 2016-11-22 2018-05-29 阿里巴巴集团控股有限公司 A kind of chat record processing method and processing device of instant messenger
US20180198887A1 (en) * 2017-01-09 2018-07-12 International Business Machines Corporation Displaying context in group chats using member tagging
CN107273487A (en) * 2017-06-13 2017-10-20 北京百度网讯科技有限公司 Generation method, device and the computer equipment of chat data based on artificial intelligence

Similar Documents

Publication Publication Date Title
CN106375458B (en) Service calling system, method and device
US20120017222A1 (en) Interface For Telecommunication Services Using Uniform Resource Identifiers
CN103023933B (en) A kind of log-on message Integrated Processing System and method
CN106470110B (en) Method and device for sending messages to multiple users in user list in group mode
CN109522139B (en) Data table service generation and calling method, device, equipment and storage medium
TW201814609A (en) Information pushing
CN109923847A (en) Call discovery method, apparatus, equipment and the storage medium of link
CN114416075A (en) Service processing method and device
CN111736938B (en) Information display method and device, storage medium and electronic device
CN108366098B (en) Data interaction method and device for network nodes
CN104902432B (en) The method and apparatus for generating the log of mobile terminal application operating
CN107948242A (en) More service number template message sending methods and system
CN109446648B (en) Simulation service establishing method and device
CN106936660B (en) Data acquisition method and device
CN109213955B (en) Data processing method and related equipment
CN110865973B (en) Data processing method and equipment and related device
CN110943904A (en) Message processing method and device, storage medium and processor
CN106341449A (en) Data synchronization method and device
CN112491943A (en) Data request method, device, storage medium and electronic equipment
CN116095534A (en) Method, device and storage medium for collecting test equipment data
CN108243229B (en) Request processing method and device
WO2017084515A1 (en) Method and device for transmitting data code stream
CN112416995B (en) Data statistics method, device, computer equipment and storage medium
CN112910595A (en) Real-time communication method and device
CN114390015A (en) Data pushing system, method and equipment based on object model 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200331

RJ01 Rejection of invention patent application after publication