CN114025047B - Message processing method, device, system, electronic equipment and storage medium - Google Patents

Message processing method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114025047B
CN114025047B CN202111308485.7A CN202111308485A CN114025047B CN 114025047 B CN114025047 B CN 114025047B CN 202111308485 A CN202111308485 A CN 202111308485A CN 114025047 B CN114025047 B CN 114025047B
Authority
CN
China
Prior art keywords
message
target
delivered
account
sending
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
CN202111308485.7A
Other languages
Chinese (zh)
Other versions
CN114025047A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111308485.7A priority Critical patent/CN114025047B/en
Publication of CN114025047A publication Critical patent/CN114025047A/en
Application granted granted Critical
Publication of CN114025047B publication Critical patent/CN114025047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42348Location-based services which utilize the location information of a target
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42008Systems for anonymous communication between parties, e.g. by use of disposal contact identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The method comprises the steps of responding to a pre-sending instruction of a target message, displaying first prompt information, responding to a triggering operation of a message sending account, detecting a triggering level corresponding to the triggering operation, sending a sending request of the target message to a server, carrying the corresponding target message, the triggering level and first position information of the message sending account in the sending request, and accordingly enabling the server to determine a delivery distance range of the corresponding target message according to the triggering level and store the target message as a message to be delivered into a message queue to be delivered. The delivery distance range of the message is determined based on the trigger level corresponding to the trigger operation of the message sending account, so that the delivery of the message by the user is controllable, the interactivity and the interestingness of anonymous social contact are improved, and the participation of the user and the retention rate of the application can be improved.

Description

Message processing method, device, system, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a message processing method, device, system, electronic equipment and storage medium.
Background
With the development of internet technology, social applications have gained widespread popularity. People can send real-name messages or anonymous messages to people who know or do not know through the social application, and real-name messages or anonymous messages sent by other users can also be received through the social application.
At present, anonymous information is sent and received randomly under most conditions, so that experience brought to users in the process of message delivery and receiving is very flat, interests and fun of the users in the process of operation flow cannot be stimulated, and the retention rate of the users is low.
Disclosure of Invention
The disclosure provides a message processing method, a device, a system, an electronic device and a storage medium, which at least solve the problem that random delivery of anonymous messages in the related art leads to low user retention. The technical scheme of the present disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a message processing method, which is applied to a client, including:
Responding to a pre-sending instruction of a target message, and displaying first prompt information, wherein the first prompt information is used for prompting a message sending account to trigger sending of the target message;
Responding to the triggering operation of the message sending account, and detecting a triggering grade corresponding to the triggering operation;
The method comprises the steps of sending a sending request of the target message to a server, wherein the sending request carries the target message, the trigger level and first position information of a message sending account, and the sending request is used for indicating the server to determine a delivery distance range of the target message according to the trigger level and store the target message as a message to be delivered into a message queue to be delivered.
In one embodiment, the method further comprises: a message acquisition request of a message receiving account is sent to the server, wherein the message acquisition request carries second position information of the message receiving account, and the message acquisition request is used for indicating the server to determine a target delivery message from the message queue to be delivered according to the second position information of the message receiving account; and receiving and displaying the target delivery message returned by the server.
In one embodiment, the method further comprises: responding to a triggering operation of a message receiving account, and detecting a triggering grade corresponding to the triggering operation; a message acquisition request of a message receiving account is sent to the server, wherein the message acquisition request carries the trigger level of the message receiving account, and the message acquisition request is used for indicating the server to determine a target delivery message from the message queue to be delivered according to the trigger level of the message receiving account, and the target delivery message is a target message with the trigger level matched with the message acquisition request; and receiving and displaying the target delivery message returned by the server.
In one embodiment, the triggering operation includes a shaking operation; the detecting the trigger level corresponding to the trigger operation includes: and detecting the shaking intensity corresponding to the shaking operation, and determining the corresponding trigger level according to the shaking intensity.
In one embodiment, the target delivery message is a target message for which the corresponding delivery distance range includes a distance between the first location information and the second location information.
In one embodiment, before sending a message acquisition request to the server for a message receiving account, the method further comprises: responding to an opening instruction of the message receiving account to the message acquisition interface, and displaying second prompt information, wherein the second prompt information is used for prompting the message receiving account to trigger receiving a target message; and when the triggering operation of the message receiving account is detected, generating a message acquisition request.
In one embodiment, the triggering operation includes a shaking operation; when detecting the triggering operation of the message receiving account, generating a message acquisition request, including: when a shake operation of the message receiving account is detected, a message acquisition request is generated.
In one embodiment, the generating a message acquisition request when detecting the triggering operation of the message receiving account includes: and when the confirmation operation of the message receiving account on the second prompt information is detected, generating a message acquisition request.
According to a second aspect of embodiments of the present disclosure, there is provided a message processing method, the method being applied to a server, including:
Receiving a sending request of a message sending account for a target message, wherein the sending request carries the target message, a triggering grade and first position information of the message sending account, and the triggering grade is obtained by detecting according to a triggering operation when a client receives the triggering operation of the message sending account to trigger the sending of the target message;
determining a delivery distance range of the target message according to the trigger level;
And storing the target message as a message to be delivered into a message queue to be delivered, wherein the message to be delivered carries a corresponding delivery distance range and first position information of the message sending account.
In one embodiment, the determining the delivery distance range of the target message according to the trigger level includes: and determining a delivery distance range corresponding to the trigger level of the target message according to a preset mapping relation between the trigger level and the delivery distance range, and determining the delivery distance range as the delivery distance range of the target message.
In one embodiment, the method further comprises: receiving a message acquisition request of a message receiving account, wherein the message acquisition request carries second position information of the message receiving account; determining a target delivery message from the message queue to be delivered according to the second position information of the message receiving account; and returning the target delivery message to the message receiving account.
In one embodiment, the determining the target delivery message from the message queue to be delivered according to the second location information of the message receiving account includes: traversing to-be-delivered messages in a to-be-delivered message queue, and calculating the distance between second position information of the message receiving account and first position information of the message sending account corresponding to the to-be-delivered messages; and when the distance is matched with the delivery distance range corresponding to the message to be delivered, determining that the message to be delivered is a target delivery message.
In one embodiment, the method further comprises: receiving a message acquisition request of a message receiving account, wherein the message acquisition request carries a trigger level of the message receiving account, and the trigger level is obtained by detecting according to a trigger operation when a client receives the trigger operation of the message receiving account to trigger and send the message acquisition request; determining a target delivery message from the message queue to be delivered according to the trigger level of the message receiving account; and returning the target delivery message to the message receiving account.
In one embodiment, the determining the target delivery message from the message queue to be delivered according to the trigger level of the message receiving account includes: traversing the message to be delivered in the message to be delivered queue, and acquiring the trigger level of the message to be delivered; and when the trigger level of the message to be delivered is matched with the trigger level of the message receiving account, determining that the message to be delivered is a target delivery message.
In one embodiment, after the returning the target delivery message to the message receiving account, the method further comprises: deleting the target delivery message from the message queue to be delivered.
According to a third aspect of embodiments of the present disclosure, there is provided a message processing apparatus comprising:
the display module is configured to execute a pre-sending instruction responding to a target message, and display first prompt information, wherein the first prompt information is used for prompting a message sending account to trigger sending the target message;
the detection module is configured to execute a trigger operation responding to the message sending account and detect a trigger level corresponding to the trigger operation;
The sending module is configured to send a sending request for the target message to a server, wherein the sending request carries the target message, the trigger level and first position information of the message sending account, and the sending request is used for indicating the server to determine a delivery distance range of the target message according to the trigger level and store the target message as a message to be delivered into a message queue to be delivered.
In one embodiment, the transmitting module is further configured to perform: a message acquisition request of a message receiving account is sent to the server, wherein the message acquisition request carries second position information of the message receiving account, and the message acquisition request is used for indicating the server to determine a target delivery message from the message queue to be delivered according to the second position information of the message receiving account; the device also comprises a receiving module configured to receive and display the target delivery message returned by the server.
In one embodiment, the detection module is further configured to execute, in response to a trigger operation of the message receiving account, detecting a trigger level corresponding to the trigger operation; the sending module is further configured to execute, send a message acquisition request of a message receiving account to the server, where the message acquisition request carries the trigger level of the message receiving account, and the message acquisition request is used to instruct the server to determine a target delivery message from the message queue to be delivered according to the trigger level of the message receiving account, where the target delivery message is a target message with a trigger level matched with the message acquisition request; the receiving module is further configured to execute, receive and display the target delivery message returned by the server.
In one embodiment, the triggering operation includes a shaking operation; the detection module is configured to perform: and detecting the shaking intensity corresponding to the shaking operation, and determining the corresponding trigger level according to the shaking intensity.
In one embodiment, the target delivery message is a target message for which the corresponding delivery distance range includes a distance between the first location information and the second location information.
In one embodiment, the display module is further configured to perform: responding to an opening instruction of the message receiving account to the message acquisition interface, and displaying second prompt information, wherein the second prompt information is used for prompting the message receiving account to trigger receiving a target message; the apparatus further includes a message acquisition request generation module configured to perform generating a message acquisition request when a trigger operation of the message receiving account is detected.
In one embodiment, the triggering operation includes a shaking operation; the message acquisition request generation module is further configured to perform: when a shake operation of the message receiving account is detected, a message acquisition request is generated.
In one embodiment, the message acquisition request generation module is further configured to perform: and when the confirmation operation of the message receiving account on the second prompt information is detected, generating a message acquisition request.
According to a fourth aspect of embodiments of the present disclosure, there is provided a message processing apparatus comprising:
the receiving module is configured to execute a sending request of a receiving message sending account for a target message, wherein the sending request carries the target message, a triggering grade and first position information of the message sending account, and the triggering grade is detected according to a triggering operation when a client receives the triggering operation of the message sending account to trigger the sending of the target message;
A delivery distance range determination module configured to perform determining a delivery distance range of the target message according to the trigger level;
The storage module is configured to store the target message as a message to be delivered into a message queue to be delivered, wherein the message to be delivered carries a corresponding delivery distance range and first position information of the message sending account.
In one embodiment, the delivery distance range determination module is configured to perform: and determining a delivery distance range corresponding to the trigger level of the target message according to a preset mapping relation between the trigger level and the delivery distance range, and determining the delivery distance range as the delivery distance range of the target message.
In one embodiment, the receiving module is further configured to execute a message acquisition request for receiving a message receiving account, where the message acquisition request carries second location information of the message receiving account; the apparatus further comprises a target delivery message determination module configured to perform determining a target delivery message from the to-be-delivered message queue according to second location information of the message receiving account; the apparatus also includes a sending module configured to perform returning the target delivery message to the message receiving account.
In one embodiment, the target delivery message determination module is configured to perform: traversing to-be-delivered messages in a to-be-delivered message queue, and calculating the distance between second position information of the message receiving account and first position information of the message sending account corresponding to the to-be-delivered messages; and when the distance is matched with the delivery distance range corresponding to the message to be delivered, determining that the message to be delivered is a target delivery message.
In one embodiment, the receiving module is further configured to execute, receive a message acquisition request of a message receiving account, where the message acquisition request carries a trigger level of the message receiving account, where the trigger level is detected according to a trigger operation when a client receives that the message receiving account triggers a trigger operation for sending the message acquisition request; the target delivery message determining module is further configured to execute, according to the trigger level of the message receiving account, determining a target delivery message from the message queue to be delivered; the sending module is further configured to execute, returning the target delivery message to the message receiving account.
In one embodiment, the target delivery message determination module is further configured to perform: traversing the message to be delivered in the message to be delivered queue, and acquiring the trigger level of the message to be delivered; and when the trigger level of the message to be delivered is matched with the trigger level of the message receiving account, determining that the message to be delivered is a target delivery message.
In one embodiment, the apparatus further comprises a deletion module configured to perform: deleting the target delivery message from the message queue to be delivered.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the message processing method of any of the first aspects above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a server comprising: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the message processing method of any of the second aspects above.
According to a seventh aspect of an embodiment of the present disclosure, there is provided a message processing system, including the electronic device described in the fifth aspect and the server described in the sixth aspect.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the message processing method of any one of the first aspects above.
According to a ninth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of a server, causes the server to perform the message processing method of any one of the above second aspects.
According to a tenth aspect of embodiments of the present disclosure, there is provided a computer program product comprising instructions therein, which when executed by a processor of an electronic device, enable the electronic device to perform the message processing method of any one of the first aspects above.
According to an eleventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising instructions therein, which when executed by a processor of a server, enable the server to perform the message processing method of any one of the second aspects above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the method comprises the steps of responding to a pre-sending instruction of a target message, displaying first prompt information, responding to a triggering operation of a message sending account, detecting a triggering level corresponding to the triggering operation, sending a sending request of the target message to a server, carrying the corresponding target message, the triggering level and first position information of the message sending account in the sending request, determining a delivery distance range of the corresponding target message according to the triggering level by the server, and storing the target message as a message to be delivered into a message queue to be delivered. The delivery distance range of the message is determined based on the trigger level corresponding to the trigger operation of the message sending account, so that the delivery of the message by the user is controllable, the interactivity and the interestingness of anonymous social contact are improved, and the participation of the user and the retention rate of the application can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is a flow chart illustrating a message processing method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a message processing method according to another exemplary embodiment.
Fig. 3 is a schematic diagram illustrating the steps of generating a message acquisition request according to an exemplary embodiment.
Fig. 4 is a flow chart illustrating a message processing method according to yet another exemplary embodiment.
Fig. 5 is a flow chart illustrating a message processing method according to yet another exemplary embodiment.
Fig. 6 is a diagram illustrating steps for determining a target delivery message according to an exemplary embodiment.
Fig. 7 is a block diagram of a message processing apparatus according to an example embodiment.
Fig. 8 is a block diagram of a message processing apparatus according to another exemplary embodiment.
Fig. 9 is a schematic diagram of a message processing system, according to an example embodiment.
Fig. 10 is a block diagram of an electronic device, according to an example embodiment.
Fig. 11 is a block diagram of a server, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be further noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
The message processing method provided by the disclosure can be applied to electronic equipment, servers and systems comprising the electronic equipment and the servers, and is realized through interaction of the electronic equipment and the servers. The electronic equipment is provided with a client of the social application, and the server is a background server corresponding to the client.
Fig. 1 is a flowchart illustrating a message processing method according to an exemplary embodiment, and as shown in fig. 1, the method is applied to a client installed on an electronic device, for example, and includes the following steps.
In step S110, in response to the pre-send instruction of the target message, first hint information is displayed.
Wherein the target message refers to an anonymous message to be sent. The pre-send instruction is an indication or command initiated by the messaging account to prepare to send the target message. The first prompt message is used for prompting the message sending account to trigger the sending of the target message. Specifically, when the message sending account needs to send the anonymous message, the anonymous message can be edited based on the corresponding client, a pre-sending instruction of the anonymous message is initiated to the client through clicking operation of the anonymous message, and the client responds to the pre-sending instruction and displays first prompt information to prompt the message sending account to trigger sending of the anonymous message. Of course, the pre-sending instruction may be initiated by the message sending account through a triggering operation of the pre-sending control displayed in the message editing page, which is not limited in this embodiment.
In step S120, in response to the trigger operation of the message sending account, a trigger level corresponding to the trigger operation is detected.
The triggering operation is a corresponding operation of the message sending account according to the displayed first prompt information, for example, the triggering operation may be a shaking operation of the terminal, a dragging operation of the target message, or other operations. The trigger level is then the corresponding trigger level determined based on the trigger operation. For example, when the trigger operation is a shake operation to the terminal, a plurality of trigger levels may be divided in advance based on the intensity of the shake operation, and the corresponding trigger level may be determined based on the shake operation to the terminal by the messaging account. When the trigger operation is a drag operation on the target message, a plurality of trigger levels may be divided in advance based on a drag distance of the drag operation, and then a corresponding trigger level may be determined based on the drag operation of the target message by the messaging account.
In step S130, a transmission request for a target message is transmitted to the server.
The sending request carries the corresponding target message, the triggering level and the first position information of the message sending account. In this embodiment, when the message sending account makes a corresponding trigger operation according to the displayed first prompt information, the client responds to the trigger operation, detects a trigger level corresponding to the trigger operation, and sends a sending request for the target message to the server. Specifically, the sending request is used for indicating the server to determine the delivery distance range of the target message according to the trigger level, and the target message is stored as the message to be delivered in the message queue to be delivered. It is understood that a posted message queue is a queue for storing anonymous messages to be sent.
In the message processing method, the first prompt information is displayed in response to the pre-sending instruction of the target message, the triggering level corresponding to the triggering operation is detected in response to the triggering operation of the message sending account, so that a sending request for the target message is sent to the server, the corresponding target message, the triggering level and the first position information of the message sending account are carried in the sending request, so that the server determines the delivery distance range of the corresponding target message according to the triggering level, and the target message is stored as the message to be delivered in the message queue to be delivered. The delivery distance range of the message is determined based on the trigger level corresponding to the trigger operation of the message sending account, so that the delivery of the message by the user is controllable, and the participation of the user and the retention rate of the application can be improved.
In an exemplary embodiment, a process of detecting a trigger level corresponding to a trigger operation in response to the trigger operation of the messaging account in step S120 is further described. Specifically, by taking the above-described trigger operation as an example of the shake operation of the terminal, a plurality of trigger levels, each corresponding to a different shake intensity range, may be divided in advance based on the intensity level of the shake operation. Therefore, when the message sending account performs the shake operation on the terminal according to the displayed first prompt information, the client can detect the shake intensity corresponding to the shake operation, and then determine the matched trigger level according to the detected shake intensity. The delivery distance range of the message is determined based on the trigger level corresponding to the trigger operation of the message sending account, so that the delivery distance range of the user to the message is controllable, and the participation degree of the user can be improved.
In an exemplary embodiment, a process of detecting a trigger level corresponding to a trigger operation in response to the trigger operation of the messaging account in step S120 is further described. Specifically, taking the above trigger operation as an example of the drag operation of the target message, a plurality of trigger levels may be divided in advance based on the drag distance of the drag operation, that is, each trigger level corresponds to a different drag distance range. Therefore, when the message sending account performs the drag operation on the target message according to the displayed first prompt information, the client can detect the drag distance corresponding to the drag operation, and then determine the matched trigger level according to the drag distance. The delivery distance range of the message is determined based on the trigger level corresponding to the trigger operation of the message sending account, so that the delivery distance range of the user to the message is controllable, and the participation degree of the user can be improved.
In an exemplary embodiment, as shown in fig. 2, the message processing method further includes the following steps:
In step S210, a message acquisition request of the message receiving account is transmitted to the server.
Wherein the message retrieval request is a request initiated by the message receiving account for retrieving an anonymous message. Specifically, the message obtaining request carries second location information of the message receiving account, and the message obtaining request is used for indicating the server to determine the target delivery message from the message queue to be delivered according to the second location information of the message receiving account. The target delivery message is an anonymous message delivered to the message receiving account as determined from the message queue to be delivered.
In this embodiment, the target delivery message is a target message in which the distance between the first location information and the second location information matches the delivery distance range in the message queue to be delivered. Specifically, the target delivery message is a target message for which the corresponding delivery distance range includes a distance between the first location information and the second location information. For example, if the delivery distance of a certain target message in the message queue to be delivered is between 100km and 500km, and the distance between the second location information of the message receiving account and the first location information of the message sending account corresponding to the target message is 200km, the target message may be determined to be the target delivery message delivered to the message receiving account because the distance is included in the delivery distance range of the target message.
In step S220, the target delivery message returned by the server is received and displayed.
Specifically, the client receives the target delivery message returned by the server and displays the target delivery message to the message receiving account.
In the above embodiment, since the target delivery message is the target message whose delivery distance range determined from the message queue to be delivered includes the distance between the first location information and the second location information, and since the delivery distance range of the message is determined based on the trigger level corresponding to the trigger operation of the message sending account, the delivery of the message by the user is controllable, so that the participation of the user can be improved, and the retention rate of the application by the user can be improved.
In an exemplary embodiment, the message processing method further includes the steps of: responding to the triggering operation of the message receiving account, and detecting the triggering grade corresponding to the triggering operation; and sending a message acquisition request of a message receiving account to the server, receiving a target delivery message returned by the server and displaying the target delivery message.
The triggering operation may be a shaking operation of the terminal by the message receiving account, or other operations. The trigger level is then the corresponding trigger level determined based on the trigger operation. For example, when the trigger operation is a shake operation to the terminal, a plurality of trigger levels may be divided in advance based on the intensity of the shake operation, and the corresponding trigger level may be determined based on the shake operation to the terminal by the message receiving account. The message acquisition request carries the trigger level of the message receiving account. Specifically, the message acquisition request is used for indicating the server to determine a target delivery message from a message queue to be delivered according to the trigger level of the message receiving account, and the target delivery message is a target message with the trigger level matched with the message acquisition request. In this embodiment, when the message receiving account wants to obtain the anonymous message, the terminal may perform a trigger operation to send a corresponding message obtaining request to the server, and the message obtaining request carries a trigger level corresponding to the trigger operation, so that the server may determine, according to the trigger level of the message receiving account, a target message with the same trigger level from the message queue to be delivered as a target delivery message, and return the target delivery message to the client, where the client receives the target delivery message returned by the server, and displays the target delivery message to the message receiving account.
In the above embodiment, since the target delivery message is the target message which is determined from the message queue to be delivered and matches with the trigger level of the message receiving account, the interest of the anonymous message is increased, so that the participation of the user can be improved, and the retention rate of the user to the application can be improved.
In an exemplary embodiment, as shown in fig. 3, before sending a message acquisition request of the message receiving account to the server in step S210, the method may further include the steps of:
In step S310, in response to an opening instruction of the message receiving account to the message acquisition interface, second prompt information is displayed.
Wherein the message retrieval interface is an interface for receiving anonymous messages. The opening instruction is an instruction or command for instructing the terminal to open the message acquisition interface. The second prompt message is used for prompting the message receiving account to trigger receiving the target message. In this embodiment, when the message receiving account needs to receive anonymous messages, the message retrieval interface may be entered based on the portal provided by the client. For example, an open instruction to the message acquisition interface may be initiated by clicking on an entry provided by the client, which then responds to the open instruction and displays a second hint message to hint the message receiving account to trigger receipt of the anonymous message.
In step S320, when a trigger operation of the message receiving account is detected, a message acquisition request is generated.
Specifically, the triggering operation is a corresponding operation of the message receiving account according to the displayed second prompt information, for example, the triggering operation may be a shaking operation of the message receiving account on the terminal, or a confirmation operation of the message receiving account on the second prompt information. In this embodiment, when the message receiving account makes a corresponding triggering operation according to the displayed second prompt information, the client may detect the triggering operation and generate a message acquisition request based on the triggering operation, and send the message acquisition request to the server to request to acquire the anonymous message.
In the above embodiment, the second prompt information is displayed in response to the opening instruction of the message receiving account to the message obtaining interface, and when the triggering operation of the message receiving account is detected, the message obtaining request is generated, so that the message obtaining request is sent to the server to request to obtain the anonymous message, so that interactivity and interestingness of the anonymous social connection can be improved, and user participation and retention rate to the application can be improved.
In an exemplary embodiment, taking the triggering operation as an example of the shaking operation of the terminal by the message receiving account, in step S320, when the triggering operation of the message receiving account is detected, a specific implementation procedure of generating the message acquisition request includes: when the client detects a shake operation of the message receiving account on the terminal, a message acquisition request is generated. And then the message acquisition request is sent to the server to request to acquire the anonymous message, so that interactivity and interestingness of anonymous social contact can be improved, and user participation and retention rate of application can be improved.
In an exemplary embodiment, taking the triggering operation as an example of the confirmation operation of the message receiving account to the second prompt information, in step S320, when the triggering operation of the message receiving account is detected, the specific implementation process of generating the message obtaining request includes: and when the confirmation operation of the message receiving account on the second prompt information is detected, generating a message acquisition request. And then the message acquisition request is sent to the server to request to acquire the anonymous message, so that interactivity and interestingness of anonymous social contact can be improved, and user participation and retention rate of application can be improved.
In an exemplary embodiment, a message processing method is provided, as shown in fig. 4, and the method is applied to a server for illustration, and includes the following steps:
In step S410, a transmission request of a target message by a message transmission account is received.
The target message refers to an anonymous message to be sent by the message sending account. The sending request is a request initiated by the message sending account to send the target message, specifically, the sending request carries the target message, the trigger level and the first position information of the message sending account, and the trigger level is detected according to the trigger operation when the client receives the trigger operation of triggering the message sending account to send the target message.
In this embodiment, when the account for sending the anonymous message needs to send the anonymous message, the anonymous message may be edited based on the corresponding client, and a pre-sending instruction for the anonymous message is initiated to the client through a click operation on the anonymous message, and the client responds to the pre-sending instruction and displays a first prompt message to prompt the account for sending the anonymous message. When the message sending account makes corresponding triggering operation according to the displayed first prompt information, the client responds to the triggering operation, detects the triggering level corresponding to the triggering operation, simultaneously sends a sending request for the target message to the server, and the server can receive the sending request for the target message.
In step S420, a delivery distance range of the target message is determined according to the trigger level.
The delivery distance range refers to a distance range that the target message can reach, that is, a distance range between a position of a receiving point that receives the target message and a position of a message sending account that sends the target message, so that the target message can only be delivered to users within the delivery distance range. The trigger level is determined based on a trigger operation made by the messaging account based on the displayed first prompt. The triggering operation may be a shaking operation of the messaging account on the terminal, a dragging operation of the messaging account on the target message, or other operations. Specifically, when the trigger operation is a shake operation on the terminal, the trigger level may be determined based on a shake intensity corresponding to the shake operation made by the message sending account according to the displayed first prompt information, for example, when the shake intensity is more intense, the corresponding trigger level is higher; when the trigger operation is a drag operation on the target message, the trigger level may also be determined based on a drag distance corresponding to the drag operation on the target message by the messaging account according to the displayed first prompt information, for example, when the drag distance is larger, the corresponding trigger level is also higher.
In this embodiment, the mapping relationship between the trigger level and the delivery distance range may be preset in the server, for example, the corresponding delivery distance ranges may be sequentially set according to the trigger level from low to high. Therefore, when the server receives the sending request of the message sending account for the target message, the corresponding delivery distance range can be determined according to the trigger level of the target message carried in the sending request. Specifically, as the trigger level is higher, the corresponding delivery distance range is also farther.
In step S430, the target message is stored as a undelivered message in a undelivered message queue.
The message to be delivered carries the corresponding delivery distance range and the first position information of the message sending account. The message queue to be delivered is a queue for storing messages to be delivered. In this embodiment, the server stores the received target message as a message to be delivered in a message queue to be delivered.
In the message processing method, the request for sending the target message is received by the message sending account, the request for sending carries the target message, the trigger level and the first position information of the message sending account, the delivery distance range of the target message is determined according to the trigger level, and the target message is further stored into the message queue to be delivered as the message to be delivered. The delivery distance range of the message is determined based on the trigger level corresponding to the trigger operation of the message sending account, so that the delivery of the message by the user is controllable, and the participation of the user and the retention rate of the application can be improved.
In an exemplary embodiment, in step S420, determining a delivery distance range of the target message according to the trigger level specifically includes: according to the preset mapping relation between the trigger level and the delivery distance range, determining the delivery distance range corresponding to the trigger level of the target message, and determining the delivery distance range as the delivery distance range of the target message. Specifically, the corresponding delivery distance ranges may be set sequentially from low to high according to the trigger level. For example, if the trigger level is set to 5 levels from low to high, the sequentially corresponding delivery distance ranges are less than 100km, 100km-500km, 500km-1000km, 1000km-5000km, and more than 5000km. When the trigger level corresponding to a certain target message is level 2, the corresponding delivery distance range can be determined to be between 100km and 500 km. It will be appreciated that in practical applications, different levels and delivery distance ranges may be set according to practical needs, which is not limited in this embodiment.
In the above embodiment, the delivery distance range of the message is determined based on the trigger level corresponding to the trigger operation of the message sending account, so that the delivery of the message by the user is controllable, and the participation of the user and the retention rate of the application can be improved.
In an exemplary embodiment, as shown in fig. 5, the method may further include the steps of:
In step S510, a message acquisition request of a message receiving account is received.
Wherein the message retrieval request is a request initiated by the message receiving account for retrieving an anonymous message. Specifically, the message obtaining request carries second location information of the message receiving account. In this embodiment, when the message receiving account wants to obtain an anonymous message, a corresponding message obtaining request may be initiated to the server.
In step S520, a target delivery message is determined from the to-be-delivered message queue according to the second location information of the message receiving account.
The target delivery message is an anonymous message which is determined from a message queue to be delivered and delivered to a message receiving account. Specifically, the target delivery message is a target message of which the distance between the first position information of the message sending account sending the message and the second position information of the message receiving account receiving the message is matched with the delivery distance range in the message queue to be delivered. For example, if the delivery distance of a certain target message in the message queue to be delivered is between 100km and 500km, and the distance between the second location information of the message receiving account and the first location information of the message sending account corresponding to the target message is 200km, the target message may be determined to be the target delivery message delivered to the message receiving account because the distance is included in the delivery distance range of the target message.
In step S530, the target delivery message is returned to the message receiving account.
Specifically, after the server determines the target delivery message from the message queue to be delivered through the steps, the target delivery message can be returned to the message receiving account.
In the above embodiment, by receiving the message acquisition request of the message receiving account, determining the target delivery message from the message queue to be delivered according to the second location information of the message receiving account, and returning the target delivery message to the message receiving account,
The target delivery message is the target message of which the delivery distance range determined from the message queue to be delivered contains the distance between the first position information and the second position information, and the delivery distance range of the message is determined based on the trigger level corresponding to the trigger operation of the message sending account, so that the delivery of the message by the user is controllable, the participation of the user can be improved, and the retention rate of the application by the user can be improved.
In an exemplary embodiment, as shown in fig. 6, in step S520, determining, according to the second location information of the message receiving account, the target delivery message from the message queue to be delivered specifically includes:
in step S521, the message to be delivered in the message queue to be delivered is traversed, and a distance between the second location information of the message receiving account and the first location information of the message sending account corresponding to the message to be delivered is calculated.
Because the message to be delivered stored in the message to be delivered queue carries the corresponding delivery distance range and the first position information of the message sending account, and the message obtaining request carries the second position information of the message receiving account. Thus, when a message acquisition request of a message receiving account is received, then the message to be delivered in the message to be delivered queue can be traversed. For each traversed message to be delivered, calculating the distance between the second position information of the message receiving account and the first position information of the message sending account corresponding to the message to be delivered. Wherein the location information may be corresponding GPS positioning information.
In step S522, when the distance matches the delivery distance range corresponding to the message to be delivered, it is determined that the message to be delivered is the target delivery message.
Specifically, when the calculated distance in the above step matches with the delivery distance range corresponding to the message to be delivered, that is, when the calculated distance is included in the delivery distance range corresponding to the message to be delivered, the message to be delivered can be determined to be the target delivery message, so that the traversal process is stopped. And when the calculated distance in the step is not matched with the delivery distance range corresponding to the message to be delivered, namely, the calculated distance is not included in the delivery distance range corresponding to the message to be delivered, continuing to execute the step of traversing the message to be delivered in the message queue to be delivered until the corresponding target delivery message is determined.
In the above embodiment, the distance between the second location information of the message receiving account and the first location information of the message sending account corresponding to the message to be delivered is calculated by traversing the message to be delivered in the message to be delivered queue, and when the distance is matched with the delivery distance range corresponding to the message to be delivered, the message to be delivered is determined to be the target delivery message.
In an exemplary embodiment, the method may further include the steps of: receiving a message acquisition request of a message receiving account, determining a target delivery message from a message queue to be delivered according to the trigger level of the message receiving account, and returning the target delivery message to the message receiving account.
The message acquisition request carries the trigger level of the message receiving account, and the trigger level is obtained by detecting according to the trigger operation when the client receives the trigger operation of the message receiving account to trigger and send the message acquisition request. The target delivery message is the message to be delivered which is determined from the message to be delivered queue and matches the trigger level of the message receiving account. For example, if the trigger level of the message receiving account is class a, the target delivery message is a message to be delivered whose trigger level in the message queue to be delivered is also class a. In this embodiment, the server may further receive a message acquisition request of the message receiving account, and determine, according to a trigger level of the message receiving account carried in the message acquisition request, to-be-delivered messages having the same trigger level from the to-be-delivered message queue as the target delivery message, so as to return the target delivery message to the message receiving account. Because the target delivery message is the target message which is determined from the message queue to be delivered and is matched with the triggering level of the message receiving account, the interestingness of the anonymous message is increased, the participation of the user can be improved, and the retention rate of the user to the application can be improved.
In an exemplary embodiment, determining the target delivery message from the message queue to be delivered according to the trigger level of the message receiving account specifically includes: traversing the message to be delivered in the message queue to be delivered, and acquiring the trigger level of the message to be delivered; when the trigger level of the message to be delivered is matched with the trigger level of the message receiving account, determining that the message to be delivered is the target delivery message.
Specifically, by traversing the message to be delivered in the message to be delivered queue and acquiring the trigger level of the message to be delivered, when the trigger level of the message to be delivered is matched with the trigger level of the message receiving account, determining that the message to be delivered is the target delivery message. The target delivery message is determined according to the triggering level of the message receiving account, so that the interest of the anonymous message is increased, the participation of the user can be improved, and the retention rate of the user to the application can be improved.
In an exemplary embodiment, after returning the target delivery message to the message receiving account, the method further comprises: and deleting the target delivery message from the message queue to be delivered. The delivered target delivery message is deleted from the message queue to be delivered, so that repeated delivery of the same message is avoided.
It should be understood that, although the steps in the flowcharts of fig. 1-6 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps of fig. 1-6 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
It should be understood that the same/similar parts of the embodiments of the method described above in this specification may be referred to each other, and each embodiment focuses on differences from other embodiments, and references to descriptions of other method embodiments are only needed.
Fig. 7 is a block diagram of a message processing apparatus according to an example embodiment. Referring to fig. 7, the apparatus includes a display module 702, a detection module 704, and a transmission module 706.
A display module 702 configured to execute a pre-send instruction in response to a target message, and display first prompt information, where the first prompt information is used to prompt a message sending account to trigger sending the target message;
A detection module 704 configured to perform a trigger operation in response to the message sending account, and detect a trigger level corresponding to the trigger operation;
the sending module 706 is configured to send a sending request to a server, where the sending request carries the target message, the trigger level, and the first location information of the message sending account, and the sending request is used to instruct the server to determine a delivery distance range of the target message according to the trigger level, and store the target message as a message to be delivered in a message queue to be delivered.
In an exemplary embodiment, the transmitting module is further configured to perform: a message acquisition request of a message receiving account is sent to the server, the message acquisition request carries second position information of the message receiving account, the message acquisition request is used for indicating the server to determine a target delivery message from the message queue to be delivered according to the second position information of the message receiving account, and the target delivery message is a target message of which the corresponding delivery distance range comprises the distance between the first position information and the second position information; the device also comprises a receiving module configured to receive and display the target delivery message returned by the server.
In an exemplary embodiment, the detection module is further configured to perform, in response to a trigger operation of the message receiving account, detecting a trigger level corresponding to the trigger operation; the sending module is further configured to execute, send a message acquisition request of a message receiving account to the server, where the message acquisition request carries the trigger level of the message receiving account, and the message acquisition request is used to instruct the server to determine a target delivery message from the message queue to be delivered according to the trigger level of the message receiving account, where the target delivery message is a target message with a trigger level matched with the message acquisition request; the receiving module is further configured to execute, receive and display the target delivery message returned by the server.
In an exemplary embodiment, the triggering operation includes a shaking operation; the detection module is configured to perform: and detecting the shaking intensity corresponding to the shaking operation, and determining the corresponding trigger level according to the shaking intensity.
In an exemplary embodiment, the target delivery message is a target message whose corresponding delivery distance range includes a distance between the first location information and the second location information.
In an exemplary embodiment, the display module is further configured to perform: responding to an opening instruction of the message receiving account to the message acquisition interface, and displaying second prompt information, wherein the second prompt information is used for prompting the message receiving account to trigger receiving a target message; the apparatus further includes a message acquisition request generation module configured to perform generating a message acquisition request when a trigger operation of the message receiving account is detected.
In an exemplary embodiment, the triggering operation includes a shaking operation; the message acquisition request generation module is further configured to perform: when a shake operation of the message receiving account is detected, a message acquisition request is generated.
In an exemplary embodiment, the message acquisition request generation module is further configured to perform: and when the confirmation operation of the message receiving account on the second prompt information is detected, generating a message acquisition request.
The specific manner in which the respective modules perform the operations in the apparatus of the above embodiments has been described in detail in the method embodiments shown in fig. 1 to 3, and will not be described in detail here.
Fig. 8 is a block diagram of a message processing apparatus according to an example embodiment. Referring to fig. 8, the apparatus includes a receiving module 802, a delivery distance range determining module 804, and a storage module 806.
A receiving module 802, configured to execute a sending request of a receiving message sending account for a target message, where the sending request carries the target message, a trigger level, and first location information of the message sending account, where the trigger level is detected according to a trigger operation when a client receives a trigger operation that the message sending account triggers sending the target message;
A delivery distance range determination module 804 configured to perform determining a delivery distance range of the target message according to the trigger level;
The storage module 806 is configured to store the target message as a message to be delivered in a message to be delivered queue, where the message to be delivered carries a corresponding delivery distance range and first location information of the message sending account.
In an exemplary embodiment, the delivery distance range determination module is configured to perform: and determining a delivery distance range corresponding to the trigger level of the target message according to a preset mapping relation between the trigger level and the delivery distance range, and determining the delivery distance range as the delivery distance range of the target message.
In an exemplary embodiment, the receiving module is further configured to execute a message acquisition request for receiving a message receiving account, where the message acquisition request carries second location information of the message receiving account; the apparatus further comprises a target delivery message determination module configured to perform determining a target delivery message from the to-be-delivered message queue according to second location information of the message receiving account; the apparatus also includes a sending module configured to perform returning the target delivery message to the message receiving account.
In an exemplary embodiment, the target delivery message determination module is configured to perform: traversing to-be-delivered messages in a to-be-delivered message queue, and calculating the distance between second position information of the message receiving account and first position information of the message sending account corresponding to the to-be-delivered messages; and when the distance is matched with the delivery distance range corresponding to the message to be delivered, determining that the message to be delivered is a target delivery message.
In an exemplary embodiment, the receiving module is further configured to execute, receive a message acquisition request of a message receiving account, where the message acquisition request carries a trigger level of the message receiving account, where the trigger level is detected according to a trigger operation when a client receives that the message receiving account triggers a trigger operation for sending the message acquisition request; the target delivery message determining module is further configured to execute, according to the trigger level of the message receiving account, determining a target delivery message from the message queue to be delivered; the sending module is further configured to execute, returning the target delivery message to the message receiving account.
In an exemplary embodiment, the target delivery message determination module is further configured to perform: traversing the message to be delivered in the message to be delivered queue, and acquiring the trigger level of the message to be delivered; and when the trigger level of the message to be delivered is matched with the trigger level of the message receiving account, determining that the message to be delivered is a target delivery message.
In an exemplary embodiment, the apparatus further comprises a deletion module configured to perform: deleting the target delivery message from the message queue to be delivered.
The specific manner in which the respective modules perform the operations in the apparatus of the above embodiments has been described in detail in the method embodiments shown in fig. 4 to 6, and will not be described in detail here.
In an exemplary embodiment, a message processing system is provided, as shown in FIG. 9, comprising an electronic device 902 and a server 904. The electronic device 902 and the server 904 are described below in connection with fig. 10 and 11, respectively.
Fig. 10 is a block diagram of an electronic device Z00 for message processing, according to an example embodiment. For example, electronic device Z00 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 10, the electronic device Z00 may include one or more of the following components: a processing component Z02, a memory Z04, a power component Z06, a multimedia component Z08, an audio component Z10, an input/output (I/O) interface Z12, a sensor component Z14, and a communication component Z16.
The processing component Z02 generally controls overall operation of the electronic device Z00, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component Z02 may include one or more processors Z20 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component Z02 may include one or more modules that facilitate interactions between the processing component Z02 and other components. For example, the processing component Z02 may include a multimedia module to facilitate interaction between the multimedia component Z08 and the processing component Z02.
The memory Z04 is configured to store various types of data to support operations at the electronic device Z00. Examples of such data include instructions for any application or method operating on electronic device Z00, contact data, phonebook data, messages, pictures, video, and the like. The memory Z04 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
The power supply component Z06 provides power to the various components of the electronic device Z00. Power component Z06 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device Z00.
The multimedia component Z08 comprises a screen providing an output interface between said electronic device Z00 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component Z08 includes a front camera and/or a rear camera. When the electronic device Z00 is in an operation mode, such as a photographing mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component Z10 is configured to output and/or input an audio signal. For example, the audio component Z10 includes a Microphone (MIC) configured to receive external audio signals when the electronic device Z00 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory Z04 or transmitted via the communication component Z16. In some embodiments, the audio component Z10 further comprises a speaker for outputting audio signals.
The I/O interface Z12 provides an interface between the processing component Z02 and a peripheral interface module, which may be a keyboard, click wheel, button, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly Z14 includes one or more sensors for providing status assessment of various aspects for the electronic device Z00. For example, sensor assembly Z14 may detect an on/off state of electronic device Z00, a relative positioning of the assemblies, such as a display and keypad of electronic device Z00, sensor assembly Z14 may also detect a change in position of electronic device Z00 or an electronic device Z00 assembly, the presence or absence of a user's contact with electronic device Z00, a device Z00 orientation or acceleration/deceleration, and a change in temperature of electronic device Z00. The sensor assembly Z14 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly Z14 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly Z14 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component Z16 is configured to facilitate wired or wireless communication between the electronic device Z00 and other devices. The electronic device Z00 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component Z16 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component Z16 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device Z00 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the above method.
In an exemplary embodiment, a computer readable storage medium is also provided, such as a memory Z04, comprising instructions executable by a processor Z20 of the electronic device Z00 to perform the above method. For example, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising instructions therein, which are executable by the processor Z20 of the electronic device Z00 to perform the above method.
Fig. 11 is a block diagram of a server S00 for message processing, according to an exemplary embodiment. For example, the server may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers. Referring to FIG. 11, server S00 includes a processing component S20 that further includes one or more processors, and memory resources represented by memory S22, for storing instructions, such as applications, that are executable by processing component S20. The application program stored in the memory S22 may include one or more modules each corresponding to a set of instructions. Further, the processing component S20 is configured to execute instructions to perform the above-described method.
Server S00 may further include: the power supply component S24 is configured to perform power management of the server S00, the wired or wireless network interface S26 is configured to connect the server S00 to a network, and the input output (I/O) interface S28. The Server S00 may operate based on an operating system stored in the memory S22, such as Windows Server, mac OS X, unix, linux, freeBSD, or the like.
In an exemplary embodiment, a computer readable storage medium comprising instructions, such as a memory S22 comprising instructions, is also provided, the instructions being executable by a processor of the server S00 to perform the above method. The storage medium may be a computer readable storage medium, which may be, for example, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising instructions therein, which are executable by a processor of the server S00 to perform the above method.
It should be noted that the descriptions of the foregoing apparatus, the electronic device, the server, the computer-readable storage medium, the computer program product, and the like according to the method embodiments may further include other implementations, and the specific implementation may refer to the descriptions of the related method embodiments and are not described herein in detail.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (28)

1. A method of message processing, the method being applied to a client, the method comprising:
Responding to a pre-sending instruction of a target message, and displaying first prompt information, wherein the first prompt information is used for prompting a message sending account to trigger sending of the target message;
Responding to the triggering operation of the message sending account, and detecting a triggering grade corresponding to the triggering operation;
A sending request for the target message is sent to a server, wherein the sending request carries the target message, the trigger level and first position information of the message sending account, and the sending request is used for indicating the server to determine a delivery distance range of the target message according to the trigger level and store the target message as a message to be delivered into a message queue to be delivered;
a message acquisition request of a message receiving account is sent to the server, the message acquisition request carries second position information of the message receiving account, the message acquisition request is used for indicating the server to determine a target delivery message from the message queue to be delivered according to the second position information of the message receiving account, and the target delivery message is a target message of which the corresponding delivery distance range comprises the distance between the first position information and the second position information; and receiving and displaying the target delivery message returned by the server.
2. The method according to claim 1, wherein the method further comprises:
Responding to a triggering operation of a message receiving account, and detecting a triggering grade corresponding to the triggering operation;
a message acquisition request of a message receiving account is sent to the server, wherein the message acquisition request carries the trigger level of the message receiving account, and the message acquisition request is used for indicating the server to determine a target delivery message from the message queue to be delivered according to the trigger level of the message receiving account, and the target delivery message is a target message with the trigger level matched with the message acquisition request;
And receiving and displaying the target delivery message returned by the server.
3. The method of claim 1 or 2, wherein the triggering operation comprises a shaking operation; the detecting the trigger level corresponding to the trigger operation includes:
And detecting the shaking intensity corresponding to the shaking operation, and determining the corresponding trigger level according to the shaking intensity.
4. The method of claim 1 or 2, wherein prior to sending a message acquisition request to the server for a message receiving account, the method further comprises:
Responding to an opening instruction of the message receiving account to the message acquisition interface, and displaying second prompt information, wherein the second prompt information is used for prompting the message receiving account to trigger receiving a target message;
and when the triggering operation of the message receiving account is detected, generating a message acquisition request.
5. The method of claim 4, wherein the triggering operation comprises a shaking operation; when detecting the triggering operation of the message receiving account, generating a message acquisition request, including:
when a shake operation of the message receiving account is detected, a message acquisition request is generated.
6. The method of claim 4, wherein generating a message acquisition request when a trigger operation of the message receiving account is detected comprises:
and when the confirmation operation of the message receiving account on the second prompt information is detected, generating a message acquisition request.
7. A message processing method, wherein the method is applied to a server, the method comprising:
Receiving a sending request of a message sending account for a target message, wherein the sending request carries the target message, a triggering grade and first position information of the message sending account, and the triggering grade is obtained by detecting according to a triggering operation when a client receives the triggering operation of the message sending account to trigger the sending of the target message;
determining a delivery distance range of the target message according to the trigger level;
storing the target message as a message to be delivered into a message queue to be delivered, wherein the message to be delivered carries a corresponding delivery distance range and first position information of the message sending account;
The determining the delivery distance range of the target message according to the trigger level comprises the following steps: and determining a delivery distance range corresponding to the trigger level of the target message according to a preset mapping relation between the trigger level and the delivery distance range, and determining the delivery distance range as the delivery distance range of the target message.
8. The method of claim 7, wherein the method further comprises:
receiving a message acquisition request of a message receiving account, wherein the message acquisition request carries second position information of the message receiving account;
determining a target delivery message from the message queue to be delivered according to the second position information of the message receiving account;
and returning the target delivery message to the message receiving account.
9. The method of claim 8, wherein determining the target delivery message from the to-be-delivered message queue based on the second location information of the message receiving account comprises:
Traversing to-be-delivered messages in a to-be-delivered message queue, and calculating the distance between second position information of the message receiving account and first position information of the message sending account corresponding to the to-be-delivered messages;
And when the distance is matched with the delivery distance range corresponding to the message to be delivered, determining that the message to be delivered is a target delivery message.
10. The method of claim 7, wherein the method further comprises:
Receiving a message acquisition request of a message receiving account, wherein the message acquisition request carries a trigger level of the message receiving account, and the trigger level is obtained by detecting according to a trigger operation when a client receives the trigger operation of the message receiving account to trigger and send the message acquisition request;
determining a target delivery message from the message queue to be delivered according to the trigger level of the message receiving account;
and returning the target delivery message to the message receiving account.
11. The method of claim 10, wherein determining a target delivery message from the to-be-delivered message queue based on the trigger level of the message receiving account comprises:
Traversing the message to be delivered in the message to be delivered queue, and acquiring the trigger level of the message to be delivered;
and when the trigger level of the message to be delivered is matched with the trigger level of the message receiving account, determining that the message to be delivered is a target delivery message.
12. The method of claim 8 or 10, wherein after the returning the target delivery message to the message receiving account, the method further comprises:
deleting the target delivery message from the message queue to be delivered.
13. A message processing apparatus, comprising:
the display module is configured to execute a pre-sending instruction responding to a target message, and display first prompt information, wherein the first prompt information is used for prompting a message sending account to trigger sending the target message;
the detection module is configured to execute a trigger operation responding to the message sending account and detect a trigger level corresponding to the trigger operation;
The sending module is configured to send a sending request for the target message to a server, wherein the sending request carries the target message, the trigger level and first position information of the message sending account, and the sending request is used for indicating the server to determine a delivery distance range of the target message according to the trigger level and store the target message as a message to be delivered into a message queue to be delivered;
The transmitting module is further configured to perform: a message acquisition request of a message receiving account is sent to the server, the message acquisition request carries second position information of the message receiving account, the message acquisition request is used for indicating the server to determine a target delivery message from the message queue to be delivered according to the second position information of the message receiving account, and the target delivery message is a target message of which the corresponding delivery distance range comprises the distance between the first position information and the second position information;
The device also comprises a receiving module configured to receive and display the target delivery message returned by the server.
14. The apparatus of claim 13, wherein the device comprises a plurality of sensors,
The detection module is further configured to execute, respond to the triggering operation of the message receiving account, and detect the triggering grade corresponding to the triggering operation;
the sending module is further configured to execute, send a message acquisition request of a message receiving account to the server, where the message acquisition request carries the trigger level of the message receiving account, and the message acquisition request is used to instruct the server to determine a target delivery message from the message queue to be delivered according to the trigger level of the message receiving account, where the target delivery message is a target message with a trigger level matched with the message acquisition request;
the receiving module is further configured to execute, receive and display the target delivery message returned by the server.
15. The apparatus of claim 13 or 14, wherein the triggering operation comprises a shaking operation; the detection module is configured to perform:
and detecting the shaking intensity corresponding to the shaking operation, and determining the corresponding trigger level according to the shaking intensity.
16. The apparatus of claim 13 or 14, wherein the display module is further configured to perform:
Responding to an opening instruction of the message receiving account to the message acquisition interface, and displaying second prompt information, wherein the second prompt information is used for prompting the message receiving account to trigger receiving a target message;
The apparatus further includes a message acquisition request generation module configured to perform generating a message acquisition request when a trigger operation of the message receiving account is detected.
17. The apparatus of claim 16, wherein the triggering operation comprises a shaking operation; the message acquisition request generation module is further configured to perform:
when a shake operation of the message receiving account is detected, a message acquisition request is generated.
18. The apparatus of claim 16, wherein the message acquisition request generation module is further configured to perform:
and when the confirmation operation of the message receiving account on the second prompt information is detected, generating a message acquisition request.
19. A message processing apparatus, comprising:
the receiving module is configured to execute a sending request of a receiving message sending account for a target message, wherein the sending request carries the target message, a triggering grade and first position information of the message sending account, and the triggering grade is detected according to a triggering operation when a client receives the triggering operation of the message sending account to trigger the sending of the target message;
A delivery distance range determination module configured to perform determining a delivery distance range of the target message according to the trigger level;
The storage module is configured to store the target message as a message to be delivered into a message queue to be delivered, wherein the message to be delivered carries a corresponding delivery distance range and first position information of the message sending account;
The delivery distance range determination module is configured to perform: and determining a delivery distance range corresponding to the trigger level of the target message according to a preset mapping relation between the trigger level and the delivery distance range, and determining the delivery distance range as the delivery distance range of the target message.
20. The apparatus of claim 19, wherein the device comprises a plurality of sensors,
The receiving module is further configured to execute a message acquisition request for receiving a message receiving account, wherein the message acquisition request carries second position information of the message receiving account;
The apparatus further comprises a target delivery message determination module configured to perform determining a target delivery message from the to-be-delivered message queue according to second location information of the message receiving account;
the apparatus also includes a sending module configured to perform returning the target delivery message to the message receiving account.
21. The apparatus of claim 20, wherein the target delivery message determination module is configured to perform:
Traversing to-be-delivered messages in a to-be-delivered message queue, and calculating the distance between second position information of the message receiving account and first position information of the message sending account corresponding to the to-be-delivered messages;
And when the distance is matched with the delivery distance range corresponding to the message to be delivered, determining that the message to be delivered is a target delivery message.
22. The apparatus of claim 20, wherein the device comprises a plurality of sensors,
The receiving module is further configured to execute, receive a message acquisition request of a message receiving account, where the message acquisition request carries a trigger level of the message receiving account, and the trigger level is detected according to a trigger operation when a client receives the trigger operation that the message receiving account triggers to send the message acquisition request;
The target delivery message determining module is further configured to execute, according to the trigger level of the message receiving account, determining a target delivery message from the message queue to be delivered;
The sending module is further configured to execute, returning the target delivery message to the message receiving account.
23. The apparatus of claim 22, wherein the target delivery message determination module is further configured to perform:
Traversing the message to be delivered in the message to be delivered queue, and acquiring the trigger level of the message to be delivered;
and when the trigger level of the message to be delivered is matched with the trigger level of the message receiving account, determining that the message to be delivered is a target delivery message.
24. The apparatus according to any one of claims 20 to 23, further comprising a deletion module configured to perform:
deleting the target delivery message from the message queue to be delivered.
25. An electronic device, comprising:
A processor;
A memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the message processing method of any of claims 1 to 6.
26. A server, comprising:
A processor;
A memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the message processing method of any of claims 7 to 12.
27. A message processing system comprising an electronic device as claimed in claim 25 and a server as claimed in claim 26.
28. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the message processing method of any one of claims 1 to 12.
CN202111308485.7A 2021-11-05 2021-11-05 Message processing method, device, system, electronic equipment and storage medium Active CN114025047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111308485.7A CN114025047B (en) 2021-11-05 2021-11-05 Message processing method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111308485.7A CN114025047B (en) 2021-11-05 2021-11-05 Message processing method, device, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114025047A CN114025047A (en) 2022-02-08
CN114025047B true CN114025047B (en) 2024-05-14

Family

ID=80061581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111308485.7A Active CN114025047B (en) 2021-11-05 2021-11-05 Message processing method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114025047B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487363A (en) * 2011-11-17 2012-06-06 腾讯科技(深圳)有限公司 Anonymous communication system and transmission method of information transmission unit in anonymous communication system
WO2012170314A2 (en) * 2011-06-10 2012-12-13 Microsoft Corporation Anonymous location-based notification
CN109714766A (en) * 2019-01-31 2019-05-03 顺丰科技有限公司 Position sharing method and device
CN110995572A (en) * 2019-11-29 2020-04-10 广州市百果园信息技术有限公司 Information publishing method, device, system and computer storage medium
CN111542003A (en) * 2020-07-09 2020-08-14 北京云迹科技有限公司 Message distribution method and device, electronic equipment and storage medium
CN111708852A (en) * 2020-05-14 2020-09-25 泰斗微电子科技有限公司 Information processing method, device, management platform and storage medium
CN112839107A (en) * 2021-02-25 2021-05-25 北京梧桐车联科技有限责任公司 Push content determination method, device, equipment and computer-readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012170314A2 (en) * 2011-06-10 2012-12-13 Microsoft Corporation Anonymous location-based notification
CN102487363A (en) * 2011-11-17 2012-06-06 腾讯科技(深圳)有限公司 Anonymous communication system and transmission method of information transmission unit in anonymous communication system
CN109714766A (en) * 2019-01-31 2019-05-03 顺丰科技有限公司 Position sharing method and device
CN110995572A (en) * 2019-11-29 2020-04-10 广州市百果园信息技术有限公司 Information publishing method, device, system and computer storage medium
CN111708852A (en) * 2020-05-14 2020-09-25 泰斗微电子科技有限公司 Information processing method, device, management platform and storage medium
CN111542003A (en) * 2020-07-09 2020-08-14 北京云迹科技有限公司 Message distribution method and device, electronic equipment and storage medium
CN112839107A (en) * 2021-02-25 2021-05-25 北京梧桐车联科技有限责任公司 Push content determination method, device, equipment and computer-readable storage medium

Also Published As

Publication number Publication date
CN114025047A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
KR102282544B1 (en) Product display method and device
CN112367554B (en) Message interaction method and device, electronic equipment and storage medium
CN109302341B (en) Instant messaging method, instant messaging device, electronic equipment and storage medium
CN113259226B (en) Information synchronization method and device, electronic equipment and storage medium
CN106331328B (en) Information prompting method and device
CN111246278B (en) Video playing method and device, electronic equipment and storage medium
WO2023035560A9 (en) Information processing method and apparatus
CN112948704B (en) Model training method and device for information recommendation, electronic equipment and medium
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN110162366B (en) Information display method and device, electronic equipment and storage medium
CN106506808B (en) Method and device for prompting communication message
CN110213062B (en) Method and device for processing message
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
CN114025047B (en) Message processing method, device, system, electronic equipment and storage medium
CN116233554A (en) Video playing method, device, electronic equipment and storage medium
CN116112332A (en) Page display method, device and system, electronic equipment and storage medium
US11284127B2 (en) Method and apparatus for pushing information in live broadcast room
CN113709572A (en) Content promotion method and device, electronic equipment and storage medium
CN111049732B (en) Push message display method and device, electronic equipment and medium
CN114567790A (en) Information display method and device, electronic equipment and storage medium
CN113473233B (en) Log splicing method and device, electronic equipment, storage medium and product
CN113468376B (en) Platform activity participation method and device, electronic equipment and storage medium
CN115174944B (en) Resource processing method and device, electronic equipment and storage medium
CN114205666B (en) Video image processing method, device, terminal and storage medium

Legal Events

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