Message Push Method, Device, Storage Medium, and Electronic Device
By generating and pushing messages based on user login status and converting message content based on user input, the problem of single barrage interaction function and low interest in the prior art is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202110851011.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-27
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2041-07-27
AI Technical Summary
In the prior art, when users interact with other users through barrage, their functions are relatively single and their interactions are less interesting, resulting in poor user experience.
By generating a first message based on the login status of the first user on the network platform, and pushing a target message stream to the second user, after receiving input from the second user, the first message is converted into a second message, thereby increasing user interaction and fun.
It improves the convenience of message push and the fun of user interaction, and improves the user experience.
Smart Images

Figure CN113569146B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology. More specifically, embodiments of the present disclosure relate to a message pushing method and apparatus, a storage medium, and an electronic device. Background Art
[0002] This section aims to provide background or context for the embodiments of the present disclosure recited in the claims. The description herein is not admitted to be prior art merely by virtue of being included in this section.
[0003] With the continuous development of the bullet screen technology, the bullet screen function is not only set in videos, but also enabled in activities. Moreover, more and more users will choose to enable the bullet screen function and actively post bullet screens.
[0004] In the prior art, when a user interacts with other users through bullet screens, the available functions are often basic functions such as liking and commenting. This makes the message pushing function of the bullet screen relatively single, and the interest of interaction is relatively low, resulting in a poor user experience. Summary of the Invention
[0005] To overcome the problems in the related art, the present disclosure provides a message pushing method and apparatus, a storage medium, and an electronic device.
[0006] According to a first aspect of the present disclosure, there is provided a message pushing method, the method comprising:
[0007] generating a first message according to the login status of a first user on a network platform;
[0008] pushing a target message stream to a second user on the network platform; the target message stream includes the first message;
[0009] receiving a first input executed by the second user for the first message;
[0010] in response to the first input, converting the first message into a second message.
[0011] Optionally, after receiving the first input executed by the second user for the first message, the method further comprises:
[0012] sending a notification message to the first user.
[0013] Optionally, the generating a first message according to the login status of a first user on a network platform includes:
[0014] obtaining the login status selected by the first user;
[0015] when the login status is a specified status, generating the first message according to a first message template.
[0016] Optionally, converting the first message into a second message includes:
[0017] Determining a second message template corresponding to the first message;
[0018] Generating the second message corresponding to the first message according to the second message template and the user information of the first user;
[0019] Converting the first message into the second message in the target message stream.
[0020] Optionally, the method further includes:
[0021] In response to an operation of the first user on the notification message, displaying target recommendation information in a target dialog box.
[0022] Optionally, the target recommendation information is determined according to the operation information of the second user on the network platform.
[0023] Optionally, sending the notification message to the first user includes:
[0024] When multiple second users perform the first input, sending multiple notification messages to the first user, and each notification message corresponds to a corresponding second user.
[0025] Optionally, after receiving the first input executed by the second user for the first message, it further includes:
[0026] In response to the first input, sending target feedback information to the second user.
[0027] Optionally, pushing the target message stream to the second user on the network platform includes:
[0028] Displaying the target message stream to the second user on a preset interface in a preset display form.
[0029] According to a second aspect of the present disclosure, there is provided a message pushing device, and the device includes:
[0030] A generating module, configured to generate a first message according to the login status of a first user on a network platform;
[0031] A pushing module, configured to push a target message stream to a second user on the network platform; the target message stream includes the first message;
[0032] A receiving module, configured to receive a first input executed by the second user for the first message;
[0033] A conversion module, configured to convert the first message into a second message in response to the first input.
[0034] Optionally, the device further includes:
[0035] A first sending module, configured to send a notification message to the first user.
[0036] Optionally, the generating module is further configured to:
[0037] Obtain the login status selected by the first user;
[0038] When the login status is a specified status, generate the first message according to a first message template.
[0039] Optionally, the conversion module is further configured to:
[0040] Determine a second message template corresponding to the first message;
[0041] Generate the second message corresponding to the first message according to the second message template and the user information of the first user;
[0042] Convert the first message into the second message in the target message stream.
[0043] Optionally, the device further includes:
[0044] A display module, configured to display target recommendation information in a target dialog box in response to an operation of the first user on the notification message.
[0045] Optionally, the target recommendation information is determined according to the operation information of the second user on the network platform.
[0046] Optionally, the first sending module is further configured to:
[0047] In the case where multiple second users perform the first input, send multiple notification messages to the first user, and each notification message corresponds to a corresponding second user.
[0048] Optionally, the device further includes:
[0049] A second sending module, configured to send target feedback information to the second user in response to the first input.
[0050] Optionally, the pushing module is further configured to:
[0051] Display the target message stream to the second user on a preset interface in a preset display form.
[0052] According to one aspect of the present disclosure, a storage medium is provided, on which a computer program is stored, and the computer program is the above-mentioned message push method when executed by a processor.
[0053] According to one aspect of the present disclosure, there is provided an electronic device, including:
[0054] Processor; and
[0055] A memory, configured to store executable instructions of the processor;
[0056] The processor is configured to execute any one of the message pushing methods described above by executing the executable instructions.
[0057] According to the message push method of the embodiment of the present disclosure, the first message can be generated according to the login status of the first user on the network platform, and then the target message stream can be pushed to the second user on the network platform, and the target message stream includes the first message. Finally, the first input performed by the second user for the first message is received, and the first message is converted into a second message in response to the first input. In this way, the first message can be directly generated and pushed according to the login status without manual input by the user, which improves the convenience of pushing messages, and after the input operation is performed on the first message, the first message can be converted to obtain the second message, which increases the user interaction when pushing messages, improves the fun of user interaction, and thus can improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:
[0059] Figure 1 It is a flow chart of the steps of a message push method provided by an embodiment of the present disclosure;
[0060] Figure 2 is a schematic diagram of a preset interface provided by an embodiment of the present disclosure;
[0061] Figure 3 This is a schematic diagram of a notification message provided by an embodiment of the present disclosure;
[0062] Figure 4 is a schematic diagram of a target dialog box provided by an embodiment of the present disclosure;
[0063] Figure 5 A block diagram of a message push device according to an embodiment of the present disclosure is schematically shown;
[0064] Figure 6Shows a schematic diagram of a storage medium according to an embodiment of the present disclosure; and
[0065] Figure 7 Schematically shows a block diagram of an electronic device according to an embodiment of the invention.
[0066] In the drawings, the same or corresponding reference numerals denote the same or corresponding parts. Detailed Embodiments
[0067] The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and thus implement the present disclosure, and do not limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0068] Those skilled in the art know that the embodiments of the present disclosure can be implemented as a system, a device, an apparatus, a method, or a computer program product. Therefore, the present disclosure can be specifically implemented in the following forms: completely hardware, completely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0069] According to an embodiment of the present disclosure, a message pushing method, a message pushing device, a storage medium, and an electronic device are provided.
[0070] In this article, any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.
[0071] The present disclosure Figure 1 Is a step flowchart of a message pushing method provided by an embodiment of the present disclosure. As Figure 1 Shown, the method may include:
[0072] Step 101, generate a first message according to the login status of a first user on a network platform.
[0073] In the embodiment of the present disclosure, the first user may be a new user who logs in to the network platform for the first time or a user who has registered on the network platform. When logging in to the network platform, the user may select the required login status or directly use the default set login status as the user's login status. Generating the first message according to the login status of the first user on the network platform may be to determine the message template corresponding to the login status of the first user on the network platform according to the message template corresponding to the login status, and generate the first message according to the message template.
[0074] It should be noted that the message template can be preset. Among them, different login states can correspond to different message templates. For example, when the login state is online, the corresponding message template can be "XXX enters the community"; when the login state is invisible, the corresponding message template can be "Someone sneaks into the community"; when the login state is Do Not Disturb, the corresponding message template can be "XXX enters the community quietly, do not disturb!"; when the login state is busy, the corresponding message template can be "XXX enters the community in a hurry". Further, the user can also set a personalized message template according to their own needs. For example, when the login state is online, the corresponding message template can be "XXX marches into the community".
[0075] Step 102: Push the target message stream to the second user on the network platform; the target message stream includes the first message.
[0076] In the embodiments of the present disclosure, the second user can be a user registered on the network platform. At the current moment, the second user can be online or offline. When the second user is online on the network platform, the target message stream can be pushed to the second user in real time; when the second user is offline on the network platform, the target message stream within a preset time period can be obtained when the second user logs in next time, and the target message stream can be pushed to the second user. Among them, the preset time period can be preset according to the actual situation. For example, the preset time period can be within 30 minutes before the current login moment, that is, the second user can obtain the target message stream within 30 minutes before the current login moment.
[0077] In the embodiments of the present disclosure, the target message stream may include a first message. Each message in the target message stream may be marked with a timestamp of message generation, and the target message stream may also be segmented according to the time sequence. According to the number of messages included in each segment of the target message stream, the push mode of each segment of the target message stream is determined. Specifically, the target message stream may be segmented according to the same time length based on the marked timestamp of the message, and then the number of messages in the target message stream within each time period is counted to determine the level to which the target message stream belongs. For example, if the number of messages in the target message stream is less than 10, the target message stream belongs to the first-level message stream; if the number of messages in the target message stream is greater than 10 and less than 200, the target message stream belongs to the second-level message stream; if the number of messages in the target message stream is greater than 200, the target message stream belongs to the third-level message stream. When the target message stream belongs to the first-level message stream, the corresponding push mode may be to shorten the display duration of each message; when the target message stream belongs to the second-level message stream, the corresponding push mode may be to display each message with the normal display duration; when the target message stream belongs to the third-level message stream, the corresponding push mode may be to increase the display duration of each message. In this way, displaying messages according to different push modes based on the number of messages can avoid missing messages due to too fast display when there are too many messages, and the problem that other messages cannot be displayed due to too long display time when there are few messages, and can further improve the user experience of viewing the message stream.
[0078] Step 103: Receive a first input executed by the second user for the first message.
[0079] In the embodiments of the present disclosure, the first input may be an input operation on the first message. The first input may be an input such as a single click, double click, long press, or long hold, or may also be a voice input, gesture input, etc. The second user may execute the first input on the first message when wanting to interact with the first user. Correspondingly, the network platform may receive the first input.
[0080] Step 104: In response to the first input, convert the first message into a second message.
[0081] In the embodiments of the present disclosure, converting the first message into a second message may be converting the message template used by the first message into another message template to obtain the second message. For example, the first message is "XXX enters the community", and in response to the first input, it is converted into the second message "XXX enters the community under the attention of 1 person"; the first message is "Someone sneaks into the community secretly", and in response to the first input, it is converted into the second message "XXX is caught by 1 person while sneaking into the community quietly"; the first message is "XXX enters the community in a hurry", and in response to the first input, it is converted into the second message "XXX is pulled by 1 person and enters the community slowly".
[0082] In summary, the message push method provided by the embodiment of the present disclosure can first generate a first message according to the login status of the first user on the network platform, and then push a target message stream to the second user on the network platform, the target message stream including the first message, and finally, receive a first input performed by the second user for the first message, and convert the first message into a second message in response to the first input. In this way, the first message can be directly generated and pushed according to the login status without manual input by the user, which improves the convenience of pushing messages, and after performing an input operation on the first message, the first message can be converted to obtain the second message, which increases user interaction when pushing messages and improves the fun of user interaction, thereby improving the user experience.
[0083] Optionally, in an implementation manner, the operation of generating the first message according to the login status of the first user on the network platform in the embodiment of the present disclosure may specifically include:
[0084] Acquire the login status selected by the first user; when the login status is a specified status, generate the first message according to a first message template.
[0085] In the embodiment of the present disclosure, a selection input of a login state by a first user may be received on a preset login state selection interface, and the login state specified by the selection input may be used as the login state selected by the first user, wherein the preset login state selection interface may be an interface preset by a user for displaying various login states. For example, if a selection input by the first user is received, and the login state specified by the selection input is "Do Not Disturb", "Do Not Disturb" may be used as the login state selected by the first user.
[0086] In the embodiment of the present disclosure, the specified status may be a pre-specified login status. For example, the specified status may be "invisible". When the login status of the first user is "invisible", that is, the login status of the first user is the specified status, the first message may be generated directly according to the first message template; when the login status of the first user is "online", that is, the login status of the first user is not the specified status, the first message may not be generated according to the first message template.
[0087] It should be noted that, when the login status is not a specified status, the first message may not be generated, and other messages may be generated according to other message templates corresponding to the login status of the first user, and the present disclosure does not impose any restrictions on this.
[0088] Optionally, in an implementation manner, the operation of pushing the target message stream to the second user on the network platform in the embodiment of the present disclosure may specifically include:
[0089] The target message stream is displayed to the second user on a preset interface in a preset display format.
[0090] In the embodiments of the present disclosure, the preset display form may be that the message scrolls from right to left, or the message floats randomly on the preset interface, or the messages are arranged in chronological order. The present disclosure does not limit this. The preset interface may be a pre-set interface for displaying the target message stream. For example, the preset interface may be set as a hidden interface. For example, it may be set on the upper side of the network platform homepage, and the preset interface can be called out and displayed by swiping down on the homepage. The specific style of this preset interface is not limited by the present disclosure.
[0091] For example, if the preset display form is that the message scrolls from right to left, then when displaying the target message stream to the second user on the preset interface, the target message stream may scroll from right to left on the preset interface for the second user to view.
[0092] For example, Figure 2 is a schematic diagram of a preset interface provided by an embodiment of the present disclosure. As Figure 2 shown, a preset interface 22 is displayed on the display interface 21 of the electronic device. The preset interface 22 is used to display the target message stream 23, and the target message stream 23 is displayed on the preset interface 22 in accordance with the preset display form.
[0093] Optionally, in the embodiments of the present disclosure, the operation of converting the first message into the second message may specifically include:
[0094] Determine the second message template corresponding to the first message; generate the second message corresponding to the first message according to the second message template and the user information of the first user; convert the first message into the second message in the target message stream.
[0095] In the embodiments of the present disclosure, determining the second message template corresponding to the first message may establish an association relationship between the first message template and the second message template, so that after the message using the first message template receives an input operation, the message can be converted from the first message template to the second message template. Then, according to this association relationship, the second message template associated with the first message template can be determined based on the first message template used by the first message.
[0096] In the embodiments of the present disclosure, the user information of the first user may be the avatar, nickname, contact information, etc. of the first user. Generating the second message corresponding to the first message according to the second message template and the user information of the first user may be to fill the user information of the first user into the second message template to obtain the second message corresponding to the first message.
[0097] For example, if the second message template is "XXX sneaked into the community and was caught by 1 person", and the user information of the first user is 1234, then the second message can be obtained as "1234 sneaked into the community and was caught by 1 person".
[0098] In the embodiments of the present disclosure, the first message in the target message stream may be replaced with the second message, or the first message in the target message stream may be deleted and the second message may be added to the target message stream. The embodiments of the present disclosure do not limit this.
[0099] In the embodiments of the present disclosure, by determining the second message template corresponding to the first message, and according to the second message template and the user information of the first user, the second message corresponding to the first message is generated, and the first message is converted into the second message in the target message stream. In this way, the content of the message can be converted according to the user's message input operation, thereby improving the interest of interaction between users.
[0100] Optionally, in one implementation, after receiving the first input operation performed by the second user on the first message, the embodiments of the present disclosure may further perform the following steps:
[0101] Send a notification message to the first user.
[0102] In the embodiments of the present disclosure, after the second user performs the first input on the first message, a notification message may also be sent to the first user in response to the first input. The notification message may include the user information of the second user and the content of the first input. For example, in response to the first input, a notification message with the content "You were caught by YYY" may be sent to the first user so that the first user can timely learn the interactive message of the user.
[0103] For example, Figure 3 is a schematic diagram of a notification message provided by the embodiments of the present disclosure. As Figure 3 shown, a notification display interface 25 is displayed on the display interface 24 of the electronic device. A notification bar 26 is displayed on the notification display interface 25. The notification display interface 25 can be called by swiping down from the top of the display interface 24.
[0104] Optionally, the embodiments of the present disclosure may further perform the following steps:
[0105] In response to the operation of the first user on the notification message, display target recommendation information in the target dialog box.
[0106] In the embodiments of the present disclosure, it may be to receive an input operation of the first user on the notification message, and in response to the input operation, display target recommendation information in the target dialog box. Among them, the target dialog box may be a one-on-one chat box between the first user and the second user, and in the target dialog box, the first user may receive the target recommendation information sent by the system.
[0107] It should be noted that the target recommendation information may be determined according to the operation information of the second user on the network platform. For example, the users added by the second user on the network platform may be used as the target recommendation information, or the recommended articles, music, videos, groups, etc. selected by the second user may be used as the target recommendation information. It may also be the target recommendation information set by the system by default. For example, the recommended information set by default may be news, activity notifications, etc., and the present disclosure does not limit this.
[0108] Exemplarily, Figure 4 is a schematic diagram of a target dialog box provided by an embodiment of the present disclosure. As Figure 4 shown, on the display interface 27 of the electronic device, a dialog box 28 related to "Dianandang" is displayed, and target recommendation information 29 related to "Dianandang" is displayed in the dialog box 28. The specific content of the target recommendation information 29 is as shown in the figure.
[0109] Optionally, in one implementation manner, in the embodiments of the present disclosure, the above-mentioned sending of the notification message to the first user may further include:
[0110] In the case where multiple second users perform the first input, send multiple notification messages to the first user, and each notification message corresponds to a corresponding second user.
[0111] In the embodiments of the present disclosure, in the case where multiple second users perform the first input, a notification message may be generated according to each second user, and multiple notification messages are sent to the first user, so that the first user can determine the object performing the first input according to the notification message.
[0112] Optionally, in one implementation manner, after receiving the operation of the first input performed by the second user on the first message in the embodiments of the present disclosure, the following steps may further be performed:
[0113] In response to the first input, send target feedback information to the second user.
[0114] In an embodiment of the present disclosure, after a second user performs a first input, in response to the first input, target feedback information may be sent to the second user, where the target feedback information may be a pre-set display picture. For example, after the second user performs the first input, a badge picture such as "Detective Black Cat +1" or "Catching Expert +1" may be sent to the second user. In this way, the fun of the second user in message interaction can also be increased, thereby improving the user experience.
[0115] After introducing the message pushing method of the exemplary embodiment of the present disclosure, next, reference is made to Figure 5 Describe the message pushing device of the exemplary embodiment of the present disclosure.
[0116] Reference Figure 5 As shown, the message pushing device 50 of the exemplary embodiment of the present disclosure may include:
[0117] A generating module 501, configured to generate a first message according to the login status of a first user on a network platform;
[0118] A pushing module 502, configured to push a target message stream to a second user on the network platform; the target message stream includes the first message;
[0119] A receiving module 503, configured to receive a first input executed by the second user for the first message;
[0120] A converting module 504, configured to convert the first message into a second message in response to the first input.
[0121] In summary, the message pushing device provided by the embodiment of the present disclosure can first generate a first message according to the login status of a first user on a network platform, then push a target message stream including the first message to a second user on the network platform, and finally, receive a first input executed by the second user for the first message, and in response to the first input, convert the first message into a second message. In this way, there is no need for the user to manually input, and the first message can be directly generated and pushed according to the login status, improving the convenience of pushing messages. After an input operation is performed on the first message, the first message can be converted into a second message, increasing user interaction during message pushing and improving the fun of user interaction, thereby improving the user experience.
[0122] Optionally, the device 50 further includes:
[0123] A first sending module, configured to send a notification message to the first user.
[0124] Optionally, the generating module 501 is further configured to:
[0125] Obtain the login status selected by the first user;
[0126] When the login status is the specified status, generate the first message according to the first message template.
[0127] Optionally, the conversion module 504 is further configured to:
[0128] Determine the second message template corresponding to the first message;
[0129] Generate the second message corresponding to the first message according to the second message template and the user information of the first user;
[0130] Convert the first message into the second message in the target message stream.
[0131] Optionally, the device 50 further includes:
[0132] A display module, configured to display target recommendation information in a target dialog box in response to an operation of the first user on the notification message.
[0133] Optionally, the target recommendation information is determined according to the operation information of the second user on the network platform.
[0134] Optionally, the first sending module is further configured to:
[0135] In the case where multiple second users perform the first input, send multiple notification messages to the first user, and each notification message corresponds to a corresponding second user.
[0136] Optionally, the device 50 further includes:
[0137] A second sending module, configured to send target feedback information to the second user in response to the first input.
[0138] Optionally, the push module 502 is further configured to:
[0139] Display the target message stream to the second user on a preset interface in a preset display form.
[0140] After introducing the message push method and device of the exemplary embodiments of the present disclosure, next, refer to Figure 6 Describe the storage medium of the exemplary embodiments of the present disclosure.
[0141] Refer to Figure 6As shown, a program product 600 for implementing the above method according to an embodiment of the present disclosure is described. It may be a portable compact disc read-only memory (CD-ROM), include program code, and can run on a device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0142] The program product may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may, for example, but not be limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0143] The computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0144] The program code contained on the readable medium may be transmitted by any appropriate medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination of the above.
[0145] The program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages - such as Java, C++, etc., and also including conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., by using an Internet service provider to connect through the Internet).
[0146] After introducing the storage medium of the exemplary embodiments of the present disclosure, next, reference will be made to Figure 7 describe the electronic device of the exemplary embodiments of the present disclosure.
[0147] Figure 7 The illustrated electronic device 800 is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.
[0148] As Figure 7 shown, the electronic device 800 is presented in the form of a general-purpose computing device. The components of the electronic device 800 may include, but are not limited to: at least one processing unit 810, at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.
[0149] Among them, the storage unit stores program codes, and the program codes can be executed by the processing unit 810, so that the processing unit 810 executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification. For example, the processing unit 810 can execute steps 101 to 104 as Figure 1 shown.
[0150] The storage unit 820 may include a volatile storage unit, such as a random access storage unit (RAM) 8201 and / or a cache storage unit 8202, and may further include a read-only storage unit (ROM) 8203.
[0151] The storage unit 820 may further include a program / utility 8204 having a set (at least one) of program modules 8205. Such program modules 8205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. The implementation of a network environment may be included in each or some combination of these examples.
[0152] The bus 830 may include a data bus, an address bus, and a control bus.
[0153] The electronic device 800 may also communicate with one or more external devices 70 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and this communication may be performed through the input / output (I / O) interface 850. The electronic device 800 further includes a display unit 840, which is connected to the input / output (I / O) interface 850 for display. Moreover, the electronic device 800 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 860. As shown in the figure, the network adapter 860 communicates with other modules of the electronic device 800 through the bus 830. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in combination with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0154] It should be noted that although several modules or sub-modules of the message push device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of the two or more units / modules described above may be embodied in one unit / module. Conversely, the features and functions of one unit / module described above may be further divided and embodied by multiple units / modules.
[0155] In addition, although the operations of the method of the present disclosure are described in a specific order in the drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution.
[0156] Although the spirit and principles of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the specific embodiments disclosed, and the division of each aspect does not mean that the features in these aspects cannot be combined for benefit. This division is only for the convenience of expression. The present disclosure aims to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. A message pushing method, characterized in that, the method includes: generating a first message according to the login status of a first user on a network platform, the first message being automatically generated according to the login status, and the login status including one of the following statuses: online status, invisible status, do not disturb status, busy status; pushing a target message stream to a second user on the network platform; the target message stream includes the first message; receiving a first input executed by the second user for the first message; in response to the first input, determining a second message template corresponding to the first message; generating a second message corresponding to the first message according to the second message template and the user information of the first user; and converting the first message into the second message in the target message stream.
2. The method according to claim 1, characterized in that, after receiving the first input executed by the second user for the first message, it further includes: sending a notification message to the first user.
3. The method according to claim 1, characterized in that, generating the first message according to the login status of the first user on the network platform includes: obtaining the login status selected by the first user; when the login status is a specified status, generating the first message according to a first message template.
4. The method according to claim 2, characterized in that, the method further includes: displaying target recommendation information in a target dialog box in response to an operation of the first user on the notification message.
5. The method according to claim 4, characterized in that, the target recommendation information is determined according to the operation information of the second user on the network platform.
6. The method according to claim 2, characterized in that, sending the notification message to the first user includes: in the case where a plurality of the second users execute the first input, sending a plurality of notification messages to the first user, and each notification message corresponds to a corresponding second user.
7. The method according to any one of claims 1 to 6, characterized in that, after receiving the first input executed by the second user for the first message, it further includes: sending target feedback information to the second user in response to the first input.
8. The method according to claim 1, characterized in that, pushing the target message stream to the second user on the network platform includes: displaying the target message stream to the second user on a preset interface in a preset display form.
9. A message pushing device, characterized in that, the device includes: a generating module, configured to generate a first message according to the login status of a first user on a network platform, the first message being automatically generated according to the login status, and the login status including one of the following statuses: online status, invisible status, do not disturb status, busy status; a pushing module, configured to push a target message stream to a second user on the network platform; the target message stream includes the first message; a receiving module, configured to receive a first input executed by the second user for the first message; A conversion module, configured to, in response to the first input, determine a second message template corresponding to the first message; generate a second message corresponding to the first message according to the second message template and the user information of the first user; and convert the first message into the second message in the target message stream.
10. The apparatus according to claim 9, wherein, the apparatus further comprises: A first sending module, configured to send a notification message to the first user.
11. The apparatus according to claim 9, wherein, the generating module is further configured to: Obtain the login status selected by the first user; When the login status is a specified status, generate the first message according to a first message template.
12. The apparatus according to claim 10, wherein, the apparatus further comprises: A display module, configured to, in response to an operation of the first user on the notification message, display target recommendation information in a target dialog box.
13. The apparatus according to claim 12, wherein, the target recommendation information is determined according to the operation information of the second user on the network platform.
14. The apparatus according to claim 10, wherein, the first sending module is further configured to: In the case where a plurality of the second users perform the first input, send a plurality of notification messages to the first user, and each notification message corresponds to a corresponding second user.
15. The apparatus according to any one of claims 9 to 14, wherein, the apparatus further comprises: A second sending module, configured to, in response to the first input, send target feedback information to the second user.
16. The apparatus according to claim 9, wherein, the pushing module is further configured to: Display the target message stream to the second user on a preset interface in a preset display form.
17. A storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the message pushing method according to any one of claims 1 to 8 is implemented.
18. An electronic device, wherein, comprises: A processor; and A memory, configured to store executable instructions of the processor; wherein, the processor is configured to execute the message pushing method according to any one of claims 1 to 8 by executing the executable instructions.
Citation Information
Patent Citations
Instant messaging method
CN107483321A