CN116708336A - Message sending method and device - Google Patents

Message sending method and device Download PDF

Info

Publication number
CN116708336A
CN116708336A CN202310921241.9A CN202310921241A CN116708336A CN 116708336 A CN116708336 A CN 116708336A CN 202310921241 A CN202310921241 A CN 202310921241A CN 116708336 A CN116708336 A CN 116708336A
Authority
CN
China
Prior art keywords
user
message
users
location
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.)
Pending
Application number
CN202310921241.9A
Other languages
Chinese (zh)
Inventor
李皓琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310921241.9A priority Critical patent/CN116708336A/en
Publication of CN116708336A publication Critical patent/CN116708336A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

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

Abstract

The application discloses a message sending method and device, and belongs to the technical field of communication. The message sending method comprises the following steps: displaying a first chat interface comprising chat interfaces associated with the first user and a plurality of second users; responsive to a first input to the first chat interface, obtaining a first location of a first user and obtaining second locations of the plurality of second users; and sending a first message associated with the first position to the second users according to the distance between the second position of each second user and the first position.

Description

Message sending method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message sending method and device.
Background
With the development of electronic device technology, users use social software in electronic devices to chat with others more and more frequently.
In the related art, in the process of using instant messaging software to send a message, if different people need to be notified to reach a certain position at different time points, the content of the message needs to be edited for many times, so that the operation is complicated, and the efficiency of sending the message is low.
Disclosure of Invention
The embodiment of the application aims to provide a message sending method and device, which can improve the efficiency of message sending.
In a first aspect, an embodiment of the present application provides a method for sending a message, including:
displaying a first chat interface comprising chat interfaces associated with a first user and a plurality of second users;
responsive to a first input to the first chat interface, obtaining a first location of a first user and obtaining second locations of the plurality of second users;
and sending a first message associated with the first position to the second users according to the distance between the second position of each second user and the first position.
In a second aspect, an embodiment of the present application provides a message sending apparatus, including:
a first display module for displaying a first chat interface including chat interfaces associated with a first user and a plurality of second users;
a first obtaining module, configured to obtain a first location of a first user and obtain second locations of the plurality of second users in response to a first input to the first chat interface;
and the first sending module is used for sending the first message associated with the first position to the second users according to the distance between the second position of each second user and the first position.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip comprising a processor and a messaging interface, the messaging interface being coupled to the processor, the processor being configured to execute programs or instructions for implementing the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, a first chat interface can be displayed; responsive to a first input to the first chat interface, obtaining a first location of the first user and obtaining second locations of the plurality of second users; and sending a first message associated with the first position to the second user according to the distance between the second position of each second user and the first position. Therefore, the first messages associated with the first positions can be respectively sent to different second users according to the distance between the second positions of the second users and the first positions, so that a plurality of second users can reach the first positions at the expected time points under the guidance of the first messages, the target messages do not need to be independently edited for each second user, and the efficiency of message sending is improved.
Drawings
Fig. 1 is a flow chart of a message sending method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a chat interface provided by an embodiment of the application;
FIG. 3a is a schematic diagram I of message transmission provided by an embodiment of the present application;
FIG. 3b is a second schematic diagram of message transmission according to an embodiment of the present application;
FIG. 4 is a third schematic diagram of messaging provided by an embodiment of the present application;
FIG. 5a is a diagram of message transmission according to an embodiment of the present application;
FIG. 5b is a schematic diagram of message transmission according to an embodiment of the present application;
FIG. 6a is a diagram six of messaging provided by an embodiment of the present application;
FIG. 6b is a schematic diagram seventh of messaging provided by an embodiment of the present application;
FIG. 7a is a schematic diagram eight of messaging provided by an embodiment of the present application;
fig. 7b is a schematic diagram of message transmission according to an embodiment of the present application;
FIG. 8a is a schematic diagram of messaging provided by an embodiment of the present application;
FIG. 8b is a diagram eleven of messaging provided by an embodiment of the present application
FIG. 9 is a schematic diagram twelve of message transmission provided by an embodiment of the present application;
fig. 10 is a schematic structural diagram of a message sending device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 12 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
At present, in the process of using terminal equipment by a mobile terminal user, messages are often sent to social contacts, chat scenes are divided into modes of single chat, group chat and the like, the messages are sometimes sent to different contacts in a considered mode, the distance from the position of the mobile terminal user to the current user and the like are needed to be considered, and the messages are sent successively according to different distances. The user of the existing message sending method may need to edit a plurality of different messages successively to send, and the time and the priority of sending the messages cannot be automatically determined according to the distance between different contacts.
In the embodiment of the present application, the terms "terminal device", "electronic device" and "terminal" are the same and the expressions of the three terms can be interchanged.
The message sending method and device provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flow chart of a message sending method according to an embodiment of the present application. The message sending method provided by the embodiment of the application can be applied to terminal equipment and comprises the following steps S101 to S103:
s101: a first chat interface is displayed, the first chat interface being a chat interface associated with a first user and a plurality of second users.
The first chat interface may be a group chat message interface in a social program, where the group chat includes a first user and a plurality of second users, or may be a message interface for chat with a second user, where the plurality of second users may be user-selected. Displaying the first chat interface may be displaying the first chat interface at a terminal device associated with the first user.
S102: in response to a first input to the first chat interface, a first location of the first user is obtained, and second locations of the plurality of second users are obtained.
Alternatively, the terminal device associated with the first user may obtain, in response to the first input to the first chat interface, location information of each second user and location information of the first user, with authorization of each second user.
In one example, as shown in fig. 2, in a group chat message interface of a social program displayed on a first terminal device, a first user performs a first input operation in the group chat message interface, the first terminal device determines a plurality of second users in group chat members in response to the first input, and sends a location authorization request to second terminal devices associated with each second user, and after the second users agree to the location authorization, the first terminal device can acquire location information of the second users based on the social program.
S103: and sending a first message associated with the first position to the second user according to the distance between the second position of each second user and the first position.
The user sending the first message is a first user, the user receiving the first message is a second user, the number of the second users can be multiple, and the first user and the second user are associated with different terminal devices.
The first message associated with the first location includes a message whose message content is related to the first location or a message whose manner of transmission is related to the first location. For example, the message content of the first message is to perform a certain task to the first location.
And sending the first message associated with the first position to each second user according to the distance between the second position and the first position of each second user, namely sending the first message to the second user by adopting different sending modes aiming at the distance between the second position and the first position corresponding to each second user, or sending the first message with different message contents to each second user, so that each second user can reach the first position at different time points through the guidance of the first message.
In the embodiment of the application, the first message related to the first position can be sent to different second users according to the distance between the second position and the first position of the second user, and the first message comprises the event content related to the first position, so that a plurality of second users arrive at the first position at different time points or the same time point under the guidance of the first message, and each second user does not need to independently edit the first message, thereby improving the efficiency of message sending.
The terminal device according to the present application may be a device having a wireless connection function, and the wireless connection function may be a function of connecting with other terminal devices by a wireless connection method such as wireless fidelity (wireless fidelity, wi-Fi) or bluetooth, or may be a function of performing communication by a wired connection. The terminal equipment of the application can be touch screen, non-touch screen, or no screen, the touch screen can control the terminal equipment by clicking, sliding and the like on the display screen by fingers, touch pens and the like, the non-touch screen equipment can be connected with input equipment such as a mouse, a keyboard, a touch panel and the like, the terminal equipment can be controlled by the input equipment, and no screen equipment and the like are provided. For example, the terminal device of the present application may be a smart phone, a netbook, a tablet computer, a notebook computer, a wearable electronic device (such as a smart bracelet, a smart watch, etc.), a virtual reality device, a sound box, etc.
In some embodiments, the first chat interface includes a second message, the second message being a message indicating that the user arrived at the first location.
The step S103 may include the steps of:
determining a message processing mode corresponding to the first input;
Determining indication information of each second user based on the distance between the second position and the first position of each second user according to a message processing mode, wherein the indication information is information related to the time when the second user arrives at the first position;
and sending a third message to the second users based on the indication information of each second user, wherein the third message is associated with the second message, and the first message comprises the third message. The second message may be a preset message, may be an initial message generated based on a message template or input by a user, including the first position, may also be a message to be edited in the input box, or may also be a message to be sent in the input box. The second message is used for determining the first message sent to the second user according to the indication information.
The third message includes the first message sent to the second user obtained according to the indication information and the second message, specifically, according to the indication information and the content of the second message, determining the message content or the message sending mode of the third message sent to each second user. For example, the time information in the second message may be complemented according to the instruction information, or the third message sent to each second user may be obtained by replacing the instruction information.
The message processing method corresponding to the first input may be a message processing method determined from a selection of a plurality of message processing methods set in advance according to the first input.
The indication information may include a time of transmitting the third message to the second user or a content of the third message, i.e. the indication information is used to indicate a point of time of transmitting the third message to the second user or a specific message content in the third message, e.g. a time-related content in the message content of the third message. It may be determined at what point in time the third message is sent to the second user based on the indication information, or the specific content of the message in the third message sent to the second user may be determined based on the indication information.
Specifically, after determining the message processing mode, a method corresponding to the message processing mode may be adopted, and the indication information of the second users is determined according to the distance between the second position and the first position of each second user; and further determining the time of sending the third message to the second user or the content of the third message according to the indication information. Therefore, according to the distance between the second position and the first position of each second user, different second messages can be automatically sent to each second user or third messages can be sent to each second user at different time points, so that each second user is guided to reach the first position at different time points, and the mode is more flexible.
In some embodiments, the message handling means comprises a first message handling means, the indication information comprising an estimated time of arrival of the second user at the first location;
the determining, according to the message processing manner, the indication information of the second user based on the distance between the second location and the first location of each second user may include:
calculating estimated time for each second user to reach the first position based on the distance between the second position and the first position of each second user according to the first message processing mode;
based on the indication information of each second user, sending a third message to the second user, including:
generating sub-messages corresponding to the second users based on the estimated time of the second users reaching the first position, wherein the sub-messages comprise the content of the second messages and the estimated time of the second users reaching the first position;
and sending sub-messages corresponding to the second users, wherein the third message comprises a plurality of sub-messages corresponding to a plurality of second users.
The first message processing mode is a message processing mode for sending different message contents to the second users according to different distances, namely, sending third messages comprising different message contents to the second users according to the distances between the second positions and the first positions of the second users.
In this embodiment, the indication information is estimated time for each second user to reach the first position, and the editing of the time content in the second message by the estimated time may obtain the sub-message corresponding to each second user, and the editing of the time content in the second message may be to replace the content of the indication time in the second message.
The content of the sub-message including the second message may be that the sub-message includes the whole content of the second message, or may include part of the content of the second message, for example, the second message is "please arrive at me here in XX time", and the sub-message may be "please arrive at me here at 10 points".
Specifically, in the case that the message processing manner is the first message processing manner, based on the distance between the second position and the first position of each second user, calculating the estimated time for the second user to reach the first position, and then generating sub-messages corresponding to each second user according to the estimated time, that is, determining sub-messages sent to each second user according to the estimated time, so that each second user can reach the first position under the guidance of the estimated time in the sub-messages after receiving the sub-messages.
In one example, as shown in fig. 3a, a message processing manner of "send together message" is selected in the first chat interface, and the user selects a contact requiring to send a message, i.e. the second user, in the group chat; according to the second message edited in advance by the user, namely the second message shown in fig. 3a is 'please arrive at me at XX time', the 'XX time' in the second message is replaced by the estimated time corresponding to each second user, and the sub-message corresponding to each second user is obtained; then the sub-message is sent to each second user, and can be sent through private chat; and displaying sub-messages corresponding to the second users in the group chat interface of each second user through group chat transmission, wherein the time content in the sub-messages is estimated time automatically calculated according to the distances between different second users and the first user position.
Suppose user a is 1km from the first user and user B is 2km from the first user. 1km walking is assumed to take 10 minutes, with a current time of 10:00; pre-editing a first message as follows: "please arrive me here in XX time", user a expects that 10:10 is fastest to arrive at the first user location, and user B expects 10:10 is fastest to arrive at the first user location, so that sub-messages corresponding to the second users are determined according to estimated time of arrival of the second users, namely user a and user B, at the first user location, and the sub-messages are sent to the second users respectively. As shown in fig. 3B, the content of the sub-message received by the user a is "please 10 to me here", and the content of the target sub-message received by the user B is "please 10 to me here", so that each second user can reach the first position at the estimated time under the guidance of the estimated time in the sub-message after receiving the sub-message.
In some embodiments, the message handling means comprises a second message handling means, the indication information comprising transmission order information;
the sending a third message to the second user based on the indication information of each second user includes:
and sequentially sending second messages to a plurality of second users based on the sending sequence information, wherein the third message is the second message.
In this embodiment, the third message is identical to the second message, except that the time sequence in which the messages are sent to the respective second users is different.
Optionally, the indication information is transmission sequence information, where the transmission sequence information may include transmission time and a corresponding second user, and may also include the second user in the first sequence and a time interval.
The second message processing mode is that messages are sequentially sent to the second users according to the interval and the sequence, namely, the sending sequence corresponding to each second user is determined according to the interval between the second position and the first position of each second user, and the second messages are sequentially sent to each second user according to the sequence.
The instruction information in the present embodiment may be transmission order information corresponding to each second user, that is, an order in which the second messages are transmitted to the plurality of second users.
Specifically, when the message processing mode is determined to be the second message processing mode, determining transmission sequence information corresponding to each second user based on the distance between the second position and the first position of each second user; and then sequentially sending the second messages edited in advance to each second user based on the determined sequence.
Here, the transmission order information is determined based on the distance between the second location and the first location of each second user, which may be set according to the user's needs, and if the user needs each second user to reach the first location based on a closer time point, the first message may be transmitted to the second user far from the first location first; if the user needs the second user to arrive at the first position successively at a certain interval, the second message is sent to the second user close to the first user, and the message is sent to the other second user after a certain interval.
In this embodiment, the order of sending the messages to the second users may be determined according to the distance between the second location and the first location of each second user, so that the second users receive the second messages at different time points, and each second user takes action at different time points for the first location in the second messages, and further guides each second user to reach the first location at different time points.
In some embodiments, before sequentially sending the second messages to the plurality of second users based on the sending order information, the method may further include:
determining message transmission time associated with each second user based on the distance between the second location and the first location of each second user, the transmission order information including the message transmission time associated with each second user;
The sequentially sending the second message to the plurality of second users based on the sending order information may include:
and transmitting the second message to each second user at a message transmission time associated with each second user.
Wherein the message sending time may comprise a specific point in time of sending the first message to each second user.
Specifically, first, according to the distance between the second location and the first location, the specific message sending time for sending the second message to each second user may be determined, that is, the time for sending the second message to each second user corresponds to the distance between the second user and the first location, and the message sending time corresponding to the second user at different locations is different.
In some embodiments, the determining the message sending time associated with each second user based on the distance between the second location and the first location of each second user may include the following steps:
and generating message sending time corresponding to each second user based on the size of the distance between the second position and the first position of each second user.
For example, suppose user a is the second closest to the first location, user B is the second closest to the first location, and user C is the third closest to the first location; the first message is sent to the user a at the time T, the first message is sent to the user B at the time t+t, and the first message is sent to the user C at the time t+2t, so that the user a, the user B and the user C can reach the first location at different time points respectively. That is, the first message is sent to the second user who is close to the first user, and the first message is sent to the second user who is far away from the first user.
In another example, assume that user a is the second closest user to the first location, user B is the second closest user to the first location, and user C is the third closest user to the first location; then the first message is sent to user C at time T; transmitting a first message to a user B at the time T+t; and sending the first message to the user A at the time T+2t, so that the first message can be sent to a second user farther away, and the first message can be sent to a second user closer to the second user, and the time when the user A, the user B and the user C reach the first position can be shortened. That is, the first message is sent to the second user far away, and the first message is sent to the second user near away.
In some embodiments, the determining the message sending time associated with each second user based on the distance between the second location and the first location of each second user may include the following steps:
calculating estimated time length of the second user reaching the first position based on the distance between the second position and the first position of each second user;
and generating message sending time corresponding to each second user based on the estimated time length of each second user reaching the first position.
Specifically, the message sending time corresponding to each second user may be determined according to the estimated time length required for each second user to reach the first location.
For example, suppose user A is 1km from the first user and user B is 2km from the first user. 1km walking is assumed to take 10 minutes, with a current time of 10:00; the estimated time period for the user a to reach the first location is 10 minutes, the estimated time period for the user B to reach the first location is 20 minutes, and when the message sending time corresponding to the user a is determined to be 10:10, the message sending time corresponding to the user B is determined to be 10:20.
In some embodiments, before sequentially transmitting the second message to the plurality of second users based on the transmission order information, the method may further include:
determining the second users with the corresponding intervals meeting the preset conditions as first target users in the second users based on the intervals between the second positions and the first positions of the second users;
Calculating a transmission time interval between the first target user and each second target user based on the distance between the second position and the first position of each second user, wherein the second target user is any user except the first target user among the plurality of second users, and the transmission sequence information comprises the transmission time interval corresponding to each second target user;
sequentially transmitting the second message to the plurality of second users based on the transmission order information may include:
sending a second message to the first target user at the target time point;
and sending a second message to the second target user under the condition that the time interval from the target time point is matched with the sending time interval corresponding to the second target user.
Optionally, the second user whose corresponding distance satisfies the preset condition may be the second user closest to the first position, or the second user farthest from the first position. I.e. the second user closest to the first location or furthest from the first location, is determined as the first target user.
After the first target user is determined, the second message may be sent directly to the first target user, or the target time point of sending the second message to the first target user may be set by the first user. The target point in time is the point in time when the second message is sent to the first target user.
In this embodiment, the order in which the messages are sent to the second users may also be determined by calculating the time interval in which the messages are sent between the second users. Specifically, based on the distance between the second position and the first position of each second user, a first target user meeting preset conditions is determined, based on a target time point of sending a first message to the first target user, the time intervals of sending messages between other second users and the first target user are calculated, so that the time intervals of sending messages between each second user can be determined, and further, the second messages are sequentially sent to each second user according to the target time point and the sending time intervals of the messages between each second user. The time point of sending the second message to each second user can be flexibly adjusted according to the distance between each second user and the first position, and each second user is guided to arrive at the first position at different time points.
In some embodiments, the calculating the transmission time interval between the first target user and each second target user based on the distance between the second location and the first location of each second user may include:
calculating a distance difference value between a first distance and each second distance, wherein the first distance is the distance between the second position of the first target user and the first position, and the second distance is the distance between the second position of the second target user and the first position;
Calculating a time difference value between the second target user and the second target user reaching the first position according to the distance difference value;
and determining a transmission time interval corresponding to each second target user according to the time difference value.
Alternatively, calculating the time difference between the first target user and the second target user to reach the first location may be determined by the distance difference between the first target user and the second target user and the speed of movement of the second user. Specifically, the time length of each second user reaching the first position can be obtained according to the distance from the second position of the second user to the first position and the moving speed of the second user; therefore, the time difference value between the first target user and the second target user reaching the first position can be obtained according to the time length of the first target user reaching the first position and the time length of the second target user reaching the first position.
Alternatively, the moving speed of the second user may be determined according to a moving manner of the second user. The moving means, i.e. the means by which the user performs a position change or migration in space, may include walking and using vehicles such as bicycles, automobiles, buses, etc.
The mobile mode of the second user may be provided by the second user, that is, a request message is sent to the second user, and the mobile mode of the second user is determined according to information returned by the second user.
In one example, the request information may be sent to the second user, and after receiving the request information, the terminal device associated with the second user displays an input interface as shown in fig. 4, prompts the second user to input the riding vehicle, and determines the movement mode of the second user through the vehicle information input by the second user at the input interface.
In some embodiments, the message processing means includes a third message processing means, and the indication information includes information about whether a distance between the second location and the first location of the second user is within a preset range;
the sending the third message to the second user based on the indication information of each second user may include:
and sending a second message to a fourth target user when the distance between the second position and the first position of the third target user is in a preset range, wherein the third target user and the fourth target user are users in a plurality of second users, and the fourth target user is the user closest to the first position in the second users which do not receive the third message.
And the third message processing mode is that each time the second position of one second user moves to be within a preset range from the first position, the second message is sent to the second user closest to the first position in the second users which do not send the second message, until each second user is sent the second message.
In this embodiment, the third message is consistent with the content of the second message.
The indication information here includes information whether the distance between the second position and the first position of the second user is within a preset range, that is, the change condition of the distance between the second position and the first position of each second user can be determined through the indication information.
Specifically, when the message processing mode is determined to be the third message processing mode, firstly, determining whether the distance between the second position and the first position of each second user is in a preset range or not based on the distance between the second position and the first position of each second user; and when the distance between the second position of the second user (namely, the third target user) and the first position is in the preset range, sending the second message to the second user closest to the first position (namely, the fourth target user) among the second users which have not sent the second message. Therefore, every time one second user reaches the preset range according to the position change condition of each second user, the second message is sent to the second user which does not send the message and is nearest to the first position, and the second message is sent to each second user until the second message is sent to each second user, so that the second messages can be sent to each second user in sequence according to the change condition of the second position of each second user.
In one example, assuming that the preset range is a range of 0.5km from the first location, the second user includes a user a (currently 0.3km from the first location), a user B (currently 1km from the first location), and a user C (currently 2km from the first location), first, a second message is sent to the user a (or any one of the second users), the position of the current user a is within the preset range, then a user B closest to the first location is determined from the user B and the user C, the second message is sent to the user B, the user B starts to move to the first location after receiving the second message, and the user C stays in place or moves by itself after not receiving the second message; when the position of the user B moves to be within the preset range, a second message is sent to the user C; and each time a second user is within a preset range from the first position, sending the second message to the user closest to the first position among the second users which do not send the second message, and sequentially sending the second message to each second user to guide each second user to reach the first position at different time points.
In this embodiment, each time the position of one second user moves within the preset range, the second message is sent to the second user with the nearest position in the second users who have not sent messages currently, so when the position of the third target user moves within the preset range, only the second user (fourth target user) which is nearest to and has not sent messages needs to be determined, and the second message is sent to the user; the fourth target user moves to the first position when receiving the second message, and the second message is continuously sent to the next second user when the fourth target user moves to the preset range. And sending a second message to each second user at different time points through the distance between each second user and the first position so as to guide each second user to reach the first position at different time points.
In some embodiments, S103 may include:
and sending a first message associated with the first position to the fifth target user when the distance between the second position and the first position of the fifth target user is smaller than or equal to the first preset distance, wherein the fifth target user is one of a plurality of second users.
Wherein the first message comprises a message event associated with the first location, such as sending the first message comprising "process a task at the first location" content to the second user if the second user is less than or equal to a first preset distance from the first location.
Specifically, in this embodiment, when the distance between any second user and the first position is less than or equal to the first preset distance, the first message associated with the first position may be sent to the second user. When the distance between the second position of the second user and the first position is smaller than or equal to a first preset distance, a first message is automatically sent to the second user, so that the time point of sending the first message to the second user can be determined according to the change condition of the distance between the second position of each second user and the first position.
In some embodiments, before the step S103, the method may further include:
displaying a map interface, wherein the map interface comprises user identifications of a plurality of second users, and the display position of the user identification of each second user is associated with the second position of the second user;
in response to a second input by a first user at a first location in the map interface, a first message corresponding to the second input is generated.
Specifically, a map interface may also be displayed, and according to the second position of each second user, the user identifier of each second user may be displayed on the map, and according to the second input of the first user, the first position may be determined in the map interface, and according to the input content of the second input, a first message associated with the first position may be generated.
In this embodiment, the first message associated with the first location may be generated from a second input of the first location by the user in the map interface.
In one example, as shown in fig. 5a, an option of "map send message" based messaging mode may be selected on the first chat interface, a map interface as shown in fig. 5b may be displayed, on which a plurality of user identifications of the second users, i.e., contacts A, B, C in fig. 5b, are displayed, and the display location of the user identifications of the respective second users is associated with the second location of the second users.
In one example, as shown in fig. 6a, the first user may select to determine a first location associated with the first user in the map interface, for example, double-click a certain location on the map, then display an input box at the first location, and may input a first message in the input box to obtain the first message associated with the first location (e.g., "i am storing several XX materials in this place, score 10 points first", as exemplified in fig. 6 a), when the second location of the second user moves to a distance from the first location which is less than or equal to a second preset distance, the first message is automatically sent to the second user, for example, when the user B reaches a position which is less than or equal to the first preset distance from the first location, the first message is sent to the user B, the display interface shown in fig. 6B is displayed on the terminal device associated with the user B, and the content of the first message is displayed in the display interface.
In some embodiments, after displaying the map interface, the method may further include:
receiving third input of a user identification of a sixth target user and a user identification of a seventh target user in the map interface, wherein the sixth target user and the seventh target user are users in a plurality of second users;
In response to the third input, a second location of the sixth target user is sent to the seventh target user.
Specifically, the position information of the sixth target user can be directly sent to the seventh target user through the third input of the sixth target user and the seventh target user on the map interface, so that the position of the sixth target user can be rapidly shared to the seventh target user.
In one example, as shown in fig. 7a, a user may drag a contact a (i.e., a sixth target user) avatar at a certain location onto a contact B (i.e., a seventh target user) avatar at another location, then send the location of contact a to another contact B, and a corresponding message interface is displayed on a terminal device associated with contact B, where the location information of contact a is displayed, as shown in fig. 7B.
In some embodiments, after displaying the map interface, the method further includes:
receiving a fourth input to a third location in the map interface;
and in response to the fourth input, creating a target group chat in the case that the distance between the second position and the third position of the at least one second user is smaller than or equal to a second preset distance, wherein the users of the target group chat comprise the at least one second user.
Specifically, a third position may be further determined in the map interface, and when a distance between the second position and the third position of the second user is smaller than or equal to a second preset distance, a group chat is established, where the group chat includes a second user whose distance between the second position and the third position is smaller than or equal to the second preset distance. Therefore, the second users in the preset range of the third position can be automatically pulled into the group chat according to the third position and the position information of each second user.
Alternatively, the second user may be moved out of the group chat if the second user leaves the third location within a second preset distance.
In one example, as shown in fig. 8a, a user may group a plurality of second users (such as contacts C, D, E, F in the figure) within a third location preset range, where the chat interface of the group chat is as shown in fig. 8b, when other second users also reach the third location preset range, the second users are automatically added into the group chat, when the second users leave the third location preset range, the group chat is exited, and when all the second users leave the third location preset range, the group chat is automatically broken up.
In some embodiments, after displaying the map interface, the method further includes:
Receiving a fifth input of a user identification of an eighth target user in the map interface;
in response to the fifth input, displaying a message input window, the eighth target user being a user of the plurality of second users;
acquiring a fourth message input in the message input window;
and sending the fourth message to the eighth target user.
In this embodiment, the user may directly perform the fifth input on the user identifier of the second user displayed on the map interface, and may input the fourth message in the message input window corresponding to the user identifier through the fifth input, and if the input is completed, directly send the fourth message to the second user corresponding to the user identifier. Therefore, the chat interface does not need to be opened again to carry out chat input with the second user, and the operation is convenient and quick.
In one example, the contact shown in fig. 9, i.e., the second user, may send a message directly to the contact at the designated location through the map interface, as follows:
the first user may double-click a user identifier (e.g., contact C illustrated in fig. 9) corresponding to the second user on the map interface, display a chat information input box associated with the second user, and the first user may directly input information in the chat information input box, and directly send an input message to the second user after the input is completed, without returning to the chat window to edit the message, so that the message may be conveniently and quickly sent to the second user when the map interface is displayed.
It should be noted that, in the message sending method provided by the embodiment of the present application, the execution body may be a message sending device. In the embodiment of the present application, a method for executing a message sending method by a message sending device is taken as an example, and the message sending device provided by the embodiment of the present application is described.
Fig. 10 is a schematic structural diagram of a message sending device according to an embodiment of the present application. The message transmitting apparatus 1000 applied to the terminal device may include:
a first display module 1001, configured to display a first chat interface, where the first chat interface includes chat interfaces associated with a first user and a plurality of second users;
a first obtaining module 1002, configured to obtain a first location of a first user and obtain second locations of a plurality of second users in response to a first input to a first chat interface;
and a first sending module 1003, configured to send a first message associated with the first location to the second users according to the distance between the second location and the first location of each second user.
In the embodiment of the application, a first chat interface can be displayed; responsive to a first input to the first chat interface, obtaining a first location of the first user and obtaining second locations of the plurality of second users; and sending a first message associated with the first position to the second user according to the distance between the second position of each second user and the first position. Therefore, the first messages associated with the first positions can be sent to different second users according to the distance between the second positions of the second users and the first positions, so that a plurality of second users can reach the first positions at different time points under the guidance of the first messages, the first messages do not need to be independently edited for each second user, and the efficiency of message sending is improved.
In some embodiments, the first chat interface includes a second message, the second message being a message indicating that the user arrived at the first location;
the first transmitting module 1003 includes:
a first determining sub-module for determining a message processing mode corresponding to the first input;
the second determining submodule is used for determining indication information of the second user based on the distance between the second position and the first position of each second user according to the message processing mode, wherein the indication information is information related to the time when the second user arrives at the first position;
and the first sending submodule is used for sending a third message to the second users based on the indication information of each second user, wherein the third message is associated with the second message, and the first message comprises the third message.
In some embodiments, the message handling means comprises a first message handling means, the indication information comprising an estimated time of arrival of the second user at the first location;
a second determination sub-module, comprising:
the first calculating unit is used for calculating the estimated time of each second user reaching the first position based on the distance between the second position and the first position of each second user according to the first message processing mode;
A first transmit sub-module comprising:
the first generation unit is used for generating sub-messages corresponding to the second users based on the estimated time of the second users reaching the first position, wherein the sub-messages comprise the content of the second messages and the estimated time of the second users reaching the first position;
and the first sending unit is used for sending the sub-messages corresponding to the second users, wherein the third message comprises a plurality of sub-messages corresponding to a plurality of second users.
In some embodiments, the message handling means comprises a second message handling means, the indication information comprising transmission order information;
the first transmitting sub-module includes:
and the second sending unit is used for sequentially sending second messages to the plurality of second users based on the sending sequence information, wherein the third message is the second message.
In some embodiments, the second determining sub-module includes:
a first determining unit configured to determine, based on a distance between the second location and the first location of each second user, a message transmission time associated with each second user, the transmission order information including the message transmission time associated with each second user;
the second transmitting unit includes:
and the first sending subunit is used for sending the second message to each second user at the sending time associated with each second user.
In some embodiments, the second determining sub-module includes:
a first determining unit, configured to determine, as a first target user, a second user whose corresponding distance satisfies a preset condition among the plurality of second users, based on the distance between the second position and the first position of each second user;
a second calculation unit configured to calculate a transmission time interval between the first target user and each second target user based on a distance between a second location of each second user and the first location, where the second target user is any one of the plurality of second users other than the first target user, and the transmission order information includes a transmission time interval corresponding to each second target user;
the second transmitting unit includes:
a second transmitting subunit, configured to transmit a second message to the first target user at a target time point;
and the third sending subunit is used for sending the second message to the second target user under the condition that the time interval from the target time point is matched with the sending time interval corresponding to the second target user.
In some embodiments, the message processing means includes a third message processing means, and the indication information includes information about whether a distance between the second location and the first location of the second user is within a preset range;
The first transmitting sub-module includes:
the third sending unit is configured to send a second message to a fourth target user when a distance between a second location of the third target user and the first location is within a preset range, where the third target user and the fourth target user are users among the plurality of second users, and the fourth target user is a user closest to the first location among the second users who do not receive the third message.
In some embodiments, the first transmitting module 1003 includes:
and the second sending sub-module is used for sending the target message associated with the first position to the fifth target user when the distance between the second position and the first position of the fifth target user is smaller than or equal to the first preset distance, wherein the fifth target user is one of a plurality of second users.
In some embodiments, the message sending apparatus 1000 may further include:
the second display module is used for displaying a map interface, the map interface comprises a plurality of user identifications of the second users, and the display position of the user identification of each second user is associated with the second position of the second user;
and the generation module is used for responding to the second input of the first position of the first user in the map interface and generating a target message corresponding to the second input.
In some embodiments, the message sending apparatus 1000 may further include:
the first receiving module is used for receiving third input of a user identifier of a sixth target user and a user identifier of a seventh target user in the map interface, wherein the sixth target user and the seventh target user are users in a plurality of second users;
the first transmitting module 1003 further includes:
and a third transmitting sub-module for transmitting the second location of the sixth target user to the seventh target user in response to the third input.
In some embodiments, the message sending apparatus 1000 may further include:
the second receiving module is used for receiving a fourth input to a third position in the map interface;
and the fourth sending module is used for responding to a fourth input, and creating a target group chat when the distance between the second position and the third position of at least one second user is smaller than or equal to a second preset distance, wherein the users of the target group chat comprise at least one second user.
The terminal device in the embodiment of the present application may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer, a UMPC, a netbook or an object personal digital assistant (personal digital assistant, PDA), or may be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, or an object self-service machine, which is not limited in particular.
The terminal device in the embodiment of the application can be an electronic device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The message sending device provided by the embodiment of the present application can implement each process in the message sending method embodiments of fig. 1 to 9, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 11, the embodiment of the present application further provides an electronic device 1100, including a processor 1101 and a memory 1102, where the memory 1102 stores a program or instructions that can be executed on the processor 1101, and the program or instructions implement each step of the above-mentioned embodiment of the messaging method when executed by the processor 1101, and achieve the same technical effect, so that repetition is avoided, and no further description is given here.
Fig. 12 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1210 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in the drawings, or some components may be combined by objects, or different component arrangements of objects may not be described herein.
Wherein the display unit 1206 is configured to display a first chat interface, the first chat interface including chat interfaces associated with a first user and a plurality of second users;
a processor 1210 for obtaining a first location of a first user and obtaining second locations of a plurality of second users in response to a first input to a first chat interface;
the processor 1210 is configured to send a first message associated with the first location to the second user according to a distance between the second location and the first location of each second user.
In the embodiment of the application, a first chat interface can be displayed; responsive to a first input to the first chat interface, obtaining a first location of the first user and obtaining second locations of the plurality of second users; and sending a first message associated with the first position to the second user according to the distance between the second position of each second user and the first position. Therefore, the first messages associated with the first positions can be sent to different second users according to the distance between the second positions of the second users and the first positions, so that a plurality of second users can reach the first positions at different time points under the guidance of the first messages, the first messages do not need to be independently edited for each second user, and the efficiency of message sending is improved.
In some embodiments, the first chat interface includes a first message indicating that the user arrived at the first location;
a processor 1210 for determining a message handling manner corresponding to the first input;
a processor 1210, configured to determine, according to a message processing manner, indication information of each second user based on a distance between a second location and a first location of each second user, where the indication information is information associated with a time when the second user arrives at the first location;
the processor 1210 is configured to send a third message to the second users based on the indication information of each second user, where the third message is associated with the second message, and the first message includes the third message.
In some embodiments, the message handling means comprises a first message handling means, the indication information comprising an estimated time of arrival of the second user at the first location;
a processor 1210, configured to calculate, according to the first message processing manner, an estimated time for each second user to reach the first location based on a distance between the second location and the first location of each second user;
a processor 1210 configured to generate a sub-message corresponding to each second user based on the estimated time for each second user to reach the first location, the sub-message including the content of the second message and the estimated time for the second user to reach the first location;
Processor 1210 is configured to send sub-messages corresponding to each second user, where the third message includes a plurality of sub-messages corresponding to a plurality of second users.
In some embodiments, the message handling means comprises a second message handling means, the indication information comprising transmission order information;
the processor 1210 is configured to sequentially send second messages to a plurality of second users based on the sending order information, where the third message is the second message.
In some embodiments, processor 1210 is configured to determine a message transmission time associated with each second user based on a distance between the second location and the first location of each second user, the transmission order information including the message transmission time associated with each second user;
processor 1210 is configured to send a second message to each second user at a sending time associated with each second user.
In some embodiments, the processor 1210 is configured to determine, among the plurality of second users, a second user whose corresponding distance satisfies a preset condition as the first target user based on the distance between the second location and the first location of each second user;
a processor 1210, configured to calculate a transmission time interval between the first target user and each second target user based on a distance between a second location of each second user and the first location, where the second target user is any user other than the first target user among the plurality of second users, and the transmission order information includes a transmission time interval corresponding to each second target user;
A processor 1210 for sending a second message to the first target user at a target point in time;
the processor 1210 is configured to send a second message to the second target user if the time interval from the target time point matches the sending time interval corresponding to the second target user.
In some embodiments, the message processing means includes a third message processing means, and the indication information includes information whether a distance between the second location and the first location of the second user is within a preset range;
the processor 1210 is configured to send a second message to a fourth target user when a distance between a second location of the third target user and the first location is within a preset range, where the third target user and the fourth target user are users among the plurality of second users, and the fourth target user is a user closest to the first location among the second users who do not receive the third message.
In some embodiments, the processor 1210 is configured to send a first message associated with the first location to a fifth target user, where the second location of the fifth target user is less than or equal to the first preset distance from the first location, and the fifth target user is a user of the plurality of second users.
In some embodiments of the present invention, in some embodiments,
a display unit 1206, configured to display a map interface, where the map interface includes user identifiers of a plurality of second users, and a display position of the user identifier of each second user is associated with a second position of the second user;
a processor 1210 is configured to generate a first message associated with a first location in the map interface in response to a second input of the first user at the first location.
In some embodiments of the present invention, in some embodiments,
a user input unit 1207, configured to receive a third input of a user identifier of a sixth target user and a user identifier of a seventh target user in the map interface, where the sixth target user and the seventh target user are users in the plurality of second users; the method comprises the steps of carrying out a first treatment on the surface of the
The processor 1210 is configured to send the second location of the sixth target user to the seventh target user in response to the third input.
In some embodiments, processor 1210 is configured to receive a fourth input to a third location in the map interface;
the processor 1210 is configured to create a target group chat in response to the fourth input, where the distance between the second location and the third location of the at least one second user is less than or equal to a second preset distance, and the users of the target group chat include the at least one second user.
In some embodiments of the present application, in some embodiments,
a processor 1210 for receiving a fifth input of a user identification of an eighth target user in the map interface;
a display unit 1206 for displaying a message input window in response to the fifth input, the eighth target user being a user of the plurality of second users;
a processor 1210 for acquiring a fourth message input in the message input window;
a processor 1210 is configured to send a fourth message to an eighth target user.
It should be appreciated that in embodiments of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, the graphics processor 12041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes at least one of a touch panel 12071 and other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts, a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1209 may include volatile memory or nonvolatile memory, or objects, and the memory 1209 may include both volatile and nonvolatile memory objects. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1210 may include one or more processing units; optionally, processor 1210 integrates an application processor that primarily handles operations related to the operating system, user interface, application programs, etc., and a modem processor that primarily handles wireless messaging signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the message sending method embodiment applied to the first electronic device, and can achieve the same technical effect, so that repetition is avoided, and no further description is provided herein.
The processor is a processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, and examples of the computer readable storage medium include a non-transitory computer readable storage medium such as ROM, RAM, a magnetic disk, or an object optical disk.
The embodiment of the application also provides a chip, which comprises a processor and a message sending interface, wherein the message sending interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the message sending method embodiment applied to the first electronic device, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the messaging method embodiment applied to the first electronic device as described above, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or object that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above embodiment method may be implemented by means of software plus a necessary general hardware platform, and certainly may also be implemented by means of hardware, but in many cases the front object is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a computer software product stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or an object network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (13)

1. A method of messaging, the method comprising:
displaying a first chat interface comprising chat interfaces associated with a first user and a plurality of second users;
responsive to a first input to the first chat interface, obtaining a first location of a first user and obtaining second locations of the plurality of second users;
and sending a first message associated with the first position to the second users according to the distance between the second position of each second user and the first position.
2. The method of claim 1, wherein the first chat interface includes a second message, the second message being a message indicating that a user arrived at the first location;
the sending, to the second users, a first message associated with the first location according to a distance between the second location and the first location of each second user, including:
determining a message processing mode corresponding to the first input;
determining indication information of each second user based on the distance between the second position of each second user and the first position according to the message processing mode, wherein the indication information is information related to the time when the second user arrives at the first position;
And sending a third message to the second users based on the indication information of each second user, wherein the third message is associated with the second message, and the first message comprises the third message.
3. The method of claim 2, wherein the message processing means comprises a first message processing means, and the indication information comprises an estimated time for the second user to reach the first location;
the determining, according to the message processing manner, the indication information of each second user based on the distance between the second location and the first location of each second user includes:
calculating estimated time for each second user to reach the first position based on the distance between the second position of each second user and the first position according to the first message processing mode;
the sending a third message to the second user based on the indication information of each second user includes:
generating sub-messages corresponding to the second users based on the estimated time of the second users reaching the first position, wherein the sub-messages comprise the content of the second messages and the estimated time of the second users reaching the first position;
And sending sub-messages corresponding to the second users, wherein the third message comprises a plurality of sub-messages corresponding to the second users.
4. The method of claim 2, wherein the message processing means comprises a second message processing means, and wherein the indication information comprises transmission order information;
the sending a third message to the second user based on the indication information of each second user includes:
and sequentially sending the second messages to the plurality of second users based on the sending sequence information, wherein the third message is the second message.
5. The method of claim 4, wherein before sequentially transmitting the second message to the plurality of second users based on the transmission order information, further comprising:
determining a message transmission time associated with each of the second users based on a distance between a second location of each of the second users and the first location, the transmission order information including the message transmission time associated with each of the second users;
the step of sequentially sending the second message to the plurality of second users based on the sending sequence information includes:
And transmitting the second message to each second user at a message transmission time associated with each second user.
6. The method of claim 4, wherein before sequentially transmitting the second message to the plurality of second users based on the transmission order information, further comprising:
determining a second user, of the plurality of second users, that the corresponding distance satisfies a preset condition as a first target user based on the distance between the second position of each second user and the first position;
calculating a transmission time interval between the first target user and each second target user based on a distance between a second position of each second user and the first position, wherein the second target user is any one of the plurality of second users except the first target user, and the transmission sequence information comprises a transmission time interval corresponding to each second target user;
the step of sequentially sending the second message to the plurality of second users based on the sending sequence information includes:
sending a second message to the first target user at a target point in time;
and sending the second message to the second target user under the condition that the time interval from the target time point is matched with the sending time interval corresponding to the second target user.
7. The method of claim 2, wherein the message processing means includes a third message processing means, and the indication information includes information whether a distance between the second location of the second user and the first location is within a preset range;
the sending a third message to the second user based on the indication information of each second user includes:
and sending the second message to a fourth target user when the distance between the second position of the third target user and the first position is in a preset range, wherein the third target user and the fourth target user are users in the second users, and the fourth target user is the user closest to the first position in the second users which do not receive the third message.
8. The method of claim 1, wherein the sending a first message associated with the first location to the second user based on the distance between the second location and the first location for each of the second users comprises:
and sending a first message associated with the first position to a fifth target user when the distance between the second position of the fifth target user and the first position is smaller than or equal to a first preset distance, wherein the fifth target user is one of the second users.
9. The method of claim 1, wherein before sending the first message associated with the first location to the second user according to the distance between the second location of each of the second users and the first location, further comprising:
displaying a map interface, wherein the map interface comprises user identifications of the plurality of second users, and the display position of the user identifications of the second users is associated with the second position of the second users;
a first message associated with a first location in the map interface is generated in response to a second input of the first user at the first location.
10. The method of claim 9, wherein after displaying the map interface, further comprising:
receiving a third input of a user identification of a sixth target user and a user identification of a seventh target user in the map interface, wherein the sixth target user and the seventh target user are users in the plurality of second users;
and in response to the third input, sending a second location of the sixth target user to the seventh target user.
11. The method of claim 9, wherein after displaying the map interface, further comprising:
Receiving a fourth input to a third location in the map interface;
and in response to the fourth input, creating a target group chat if the distance between the second position of at least one second user and the third position is smaller than or equal to a second preset distance, wherein the users of the target group chat comprise the at least one second user.
12. The method of claim 9, wherein after displaying the map interface, further comprising:
receiving a fifth input of a user identification of an eighth target user in the map interface;
displaying a message input window in response to the fifth input, the eighth target user being a user of the plurality of second users;
acquiring a fourth message input in the message input window;
and sending the fourth message to the eighth target user.
13. A message transmission apparatus, the apparatus comprising:
a first display module for displaying a first chat interface including chat interfaces associated with a first user and a plurality of second users;
a first obtaining module, configured to obtain a first location of a first user and obtain second locations of the plurality of second users in response to a first input to the first chat interface;
And the first sending module is used for sending the first message associated with the first position to the second users according to the distance between the second position of each second user and the first position.
CN202310921241.9A 2023-07-25 2023-07-25 Message sending method and device Pending CN116708336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310921241.9A CN116708336A (en) 2023-07-25 2023-07-25 Message sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310921241.9A CN116708336A (en) 2023-07-25 2023-07-25 Message sending method and device

Publications (1)

Publication Number Publication Date
CN116708336A true CN116708336A (en) 2023-09-05

Family

ID=87834213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310921241.9A Pending CN116708336A (en) 2023-07-25 2023-07-25 Message sending method and device

Country Status (1)

Country Link
CN (1) CN116708336A (en)

Similar Documents

Publication Publication Date Title
US20240073167A1 (en) Determining contextually relevant application templates associated with electronic message content
CN112764612A (en) Interaction method, interaction device, electronic equipment and storage medium
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
CN111857504A (en) Information display method and device, electronic equipment and storage medium
CN113285866A (en) Information sending method and device and electronic equipment
CN114327088A (en) Message sending method, device, electronic equipment and medium
CN112187624B (en) Message reply method and device and electronic equipment
CN112887488A (en) Caller identification method and device and electronic equipment
CN112269509A (en) Information processing method and device and electronic equipment
CN114374663B (en) Message processing method and message processing device
CN115097984B (en) Interaction method, interaction device, electronic equipment and storage medium
WO2023134599A1 (en) Voice information sending method and apparatus, and electronic device
CN115695355A (en) Data sharing method and device, electronic equipment and medium
CN116708336A (en) Message sending method and device
CN115412634A (en) Message display method and device
CN115065657A (en) Information collection method and device and electronic equipment
CN112783998A (en) Navigation method and electronic equipment
CN113138702A (en) Information processing method, information processing device, electronic equipment and storage medium
CN112866475A (en) Image sending method and device and electronic equipment
CN111077984A (en) Man-machine interaction method and device, electronic equipment and computer storage medium
CN115242747B (en) Voice message processing method, device, electronic equipment and readable storage medium
CN114780190B (en) Message processing method, device, electronic equipment and storage medium
CN117234649A (en) Information display method and device and electronic equipment
CN117055997A (en) Information processing method and device
CN114356164A (en) Sharing method and sharing device

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