CN110100426B - Method and device for subscribing message, computer equipment and computer storage medium - Google Patents

Method and device for subscribing message, computer equipment and computer storage medium Download PDF

Info

Publication number
CN110100426B
CN110100426B CN201780002034.6A CN201780002034A CN110100426B CN 110100426 B CN110100426 B CN 110100426B CN 201780002034 A CN201780002034 A CN 201780002034A CN 110100426 B CN110100426 B CN 110100426B
Authority
CN
China
Prior art keywords
message
subscription
target account
terminal
push
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780002034.6A
Other languages
Chinese (zh)
Other versions
CN110100426A (en
Inventor
任超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huantai Technology Co Ltd
Original Assignee
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huantai Technology Co Ltd filed Critical Shenzhen Huantai Technology Co Ltd
Publication of CN110100426A publication Critical patent/CN110100426A/en
Application granted granted Critical
Publication of CN110100426B publication Critical patent/CN110100426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Abstract

A method and apparatus for subscribing to messages, a computer device, a computer storage medium, the method comprising: the method comprises the steps that a terminal obtains a first subscription operation aiming at a target account, generates a subscription message based on the first subscription operation, and sends the subscription message to a server (201); the terminal receives a message pushed by the target account number (202); the terminal analyzes the message pushed by the target account to obtain the pushing time corresponding to the message and/or the pushing accumulated times corresponding to the message (203); the terminal determines whether to display a prompt interface based on the push time corresponding to the message and/or the push accumulated times corresponding to the message, wherein the prompt interface is used for prompting a user whether to execute a second subscription operation (204) aiming at the target account; and when the terminal displays the prompt interface and obtains a second subscription operation aiming at the target account, continuing to receive the message pushed by the target account (205).

Description

Method and device for subscribing message, computer equipment and computer storage medium
Technical Field
The present invention relates to a message pushing technology in the internet field, and in particular, to a method and apparatus for subscribing to a message, a computer device, and a computer storage medium.
Background
The public number is an application account number applied by a developer or a merchant on the public platform, and the developer or the merchant can realize communication interaction with a specific group on the application platform through the public number. For the user, the user needs to search and pay attention to the public number, so that the message pushed by the public number, that is, the message that the user subscribes to the public number, can be received.
If the user wants to unsubscribe from a message of the public number, the user needs to manually cancel the attention of the public number, so that the message pushed by the public number is not received any more. As the public numbers focused by users are increased, more and more subscription messages are pushed to the users, a large number of messages can cause the initiative of the users to view to be reduced, and even the subscription messages are abandoned to be viewed, so that the communication interaction efficiency between the public numbers and the users is reduced, and the functions of the public numbers are gradually marginalized.
Disclosure of Invention
The embodiment of the invention provides a method and a device for subscribing information, computer equipment and a computer storage medium.
The method for subscribing the message provided by the embodiment of the invention comprises the following steps:
the terminal receives a message pushed by a target account;
the terminal determines push parameters corresponding to the message;
and the terminal determines whether to display a prompt interface based on the pushing parameters, wherein the prompt interface is used for prompting a user whether to execute a renewing operation aiming at the target account.
The device for subscribing the message provided by the embodiment of the invention comprises the following components:
the receiving unit is used for receiving the message pushed by the target account;
the determining unit is used for determining push parameters corresponding to the message;
and the judging unit is used for determining whether to display a prompt interface or not based on the pushing parameters, wherein the prompt interface is used for prompting a user whether to execute a renewing operation aiming at the target account.
The embodiment of the invention provides computer equipment, which comprises a memory, a processor and computer executable instructions stored on the memory and capable of running on the processor, and is characterized in that the method for subscribing the message is realized when the processor executes the computer executable instructions.
The embodiment of the invention provides a computer storage medium, on which computer executable instructions are stored, which when executed by a processor implement the method for subscribing to messages.
By adopting the technical scheme of the embodiment of the invention, the user can pay attention to the public number, and after the attention is paid to a certain time or the attention is paid to a certain amount of information, the user decides whether to pay attention to the public number permanently (simply called attention), so that the user can decide whether to pay attention to certain public numbers according to experience, the problem that the user pays attention to excessive and useless public numbers to receive a lot of information is avoided, the communication interaction efficiency between the public numbers and the user is ensured, and the marginalization of the public numbers is avoided.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic diagram of hardware entities of each party performing information interaction in an embodiment of the present invention;
FIG. 2 is a flow chart of a method for subscribing to a message according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a public number interface in accordance with an embodiment of the present invention;
FIG. 4 is a second interface diagram of a public number according to an embodiment of the present invention;
FIG. 5 is a second flow chart of a method for subscribing to a message according to an embodiment of the present invention;
FIG. 6 is a flowchart of a method for subscribing to a message according to an embodiment of the present invention;
FIG. 7 is a flowchart of a method for subscribing to a message according to an embodiment of the present invention;
FIG. 8 is a flowchart of a method for subscribing to a message according to an embodiment of the present invention;
fig. 9 is a schematic diagram of the structural composition of a device for subscribing to a message according to an embodiment of the present invention;
fig. 10 is a schematic diagram II of the structure of a device for subscribing to a message according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For a more complete understanding of the nature and the technical content of the embodiments of the present invention, reference should be made to the following detailed description of embodiments of the invention, taken in conjunction with the accompanying drawings, which are meant to be illustrative only and not limiting of the embodiments of the invention.
Fig. 1 is a schematic diagram of hardware entities of each party performing information interaction in an embodiment of the present invention, where fig. 1 includes: the server 11 and the terminals 21-24, the terminals 21-24 interact with the server 11 through a wired network or a wireless network, the terminals comprise mobile phones, desktops, PCs, all-in-one machines and the like, in one example, the server 11 can interact with a first type of terminal (such as a developer of a public number or a terminal where a merchant is located) through the network, and the first type of terminal submits materials in the server and registers the public number. The terminal devices 21-24 may be referred to as second class terminals (e.g. terminals where the general user is located or objects called public number push messages) in relation to the first class terminals, and applications for interacting with the server are installed in the second class terminals, through which applications the content of the public number, such as pictures, texts, audio, video, may be displayed, and when the second class terminals pay attention to a public number, the server may push messages of the public number to the second class terminals periodically or aperiodically.
The example of fig. 1 is merely an example of a system architecture for implementing an embodiment of the present invention, and the embodiment of the present invention is not limited to the system architecture described in fig. 1, and various embodiments of the present invention are proposed based on the system architecture.
In the technical scheme of the embodiment of the invention, a terminal receives a message pushed by a target account; the terminal determines push parameters corresponding to the message; and the terminal determines whether to display a prompt interface based on the pushing parameters, wherein the prompt interface is used for prompting a user whether to execute a renewing operation aiming at the target account.
In the above scheme, the push parameters include push time and/or push accumulated times corresponding to the message. The technical scheme of the embodiment of the invention is described below with reference to specific pushing parameters.
Fig. 2 is a flowchart of a method for subscribing to a message according to an embodiment of the present invention, as shown in fig. 2, the method for subscribing to a message includes the following steps:
step 201: the terminal obtains a subscription operation aiming at the target account, generates a subscription message based on the subscription operation, and sends the subscription message to the server.
In the embodiment of the invention, the terminal can be any type of terminal such as a mobile phone, a tablet personal computer, a notebook computer, a desktop computer and the like, and an Application (APP) is installed in the terminal, and can be an APP of an instant messaging class or an APP supporting a converged communication (RCS) function. Here, converged communication is a communication technology combining network messages and traditional sms, for example: the information of the network end can be sent to a certain mobile phone number through the converged communication function.
The application in the embodiment of the invention has the function of public numbers, and a user can search and pay attention to the appointed public numbers through the application, so that the message pushed by the public numbers is received.
In the embodiment of the present invention, the target account number refers to a public number, and the public number may be, but is not limited to, the following identification: mobile phone number, nickname, character string combination and two-dimension code.
In the embodiment of the present invention, before step 201, the terminal displays an interaction interface corresponding to the target account, where the interaction interface has at least a first interaction control, and the first interaction control is used to accept the subscription operation. Specifically, as shown in fig. 3, after searching the public number, the user enters into the attention interface of the public number, where the attention interface is an interaction interface corresponding to the target account number, and the attention interface has a "try attention" control, that is, a first interaction control. In an embodiment, the attention interface may also have an "attention" control thereon. Here, if the user clicks the "try attention" control, the following steps 202 to 205 of the embodiment of the present invention will be performed; if the user clicks the focus control, the terminal permanently receives the message pushed by the public number and sent by the server until the user cancels the focus on the public number.
In the embodiment of the invention, when a terminal obtains a subscription operation on the first interaction control, a subscription message is generated based on the subscription operation, wherein the subscription message carries subscription time corresponding to the subscription operation; and the terminal sends the subscription message carrying the subscription time corresponding to the subscription operation to the server.
In the above scheme, the subscription time corresponding to the subscription operation may be the following time:
the terminal obtains the time of the subscription operation on the first interaction control; or alternatively, the process may be performed,
and the terminal generates the time of the subscription message based on the subscription operation.
In the embodiment of the present invention, the subscription time corresponding to the subscription operation may not be carried in the subscription message, and in this case, the subscription time corresponding to the subscription operation may be the following time: the time the subscription message was received by the server.
In the embodiment of the invention, after receiving the subscription message, the server can determine the subscription time corresponding to the subscription operation, and record the subscription time corresponding to the subscription operation as T1.
Step 202: and the terminal receives the message pushed by the target account number.
In the embodiment of the invention, after the terminal subscribes to the message of the target account, the server pushes the message of the target account to the terminal periodically or aperiodically. Here, the message sent by the server to the terminal carries at least one of the following information: push time corresponding to the message, push accumulation times corresponding to the message and subscription time corresponding to the subscription operation.
The push time corresponding to the message refers to time T2 when the server sends the message.
The cumulative push times corresponding to the messages refer to the cumulative amount of messages sent by the server, for example: when the terminal subscribes to the message of the target account, the push accumulation times of the corresponding message are 1 when the server sends the message of the target account to the terminal for the first time, 2 when the server sends the message of the target account to the terminal for the second time, and so on, and n when the server sends the message of the target account to the terminal for the nth time.
Step 203: and the terminal analyzes the message pushed by the target account to obtain the pushing time corresponding to the message and/or the pushing accumulated times corresponding to the message.
In the embodiment of the invention, the terminal analyzes the message pushed by the target account to obtain at least one of the following information: push time corresponding to the message, push accumulation times corresponding to the message and subscription time corresponding to the subscription operation.
In an application scenario, the terminal may only analyze and obtain a push time corresponding to the message and a push accumulated number corresponding to the message, where the subscription time corresponding to the subscription operation may be determined by the terminal itself.
In another application scenario, the terminal analyzes and obtains a push time corresponding to the message, a push accumulation number corresponding to the message, and a subscription time corresponding to the subscription operation, wherein the subscription time corresponding to the subscription operation is determined by the server.
In the above scheme, the content acquired by the terminal may be any one of the following combinations:
push time corresponding to the message and subscription time corresponding to the subscription operation;
push accumulated times corresponding to the message;
push time corresponding to the message, subscription time corresponding to the subscription operation, and push accumulated times corresponding to the message.
Step 204: the terminal determines whether to display a prompt interface based on the push time corresponding to the message and/or the push accumulated times corresponding to the message, wherein the prompt interface is used for prompting a user whether to execute a renewing operation for the target account.
In the embodiment of the invention, the determination of whether to display the prompt interface can be realized by the following modes:
mode one: and the terminal determines whether to display a prompt interface or not based on the push time corresponding to the message and the subscription time corresponding to the subscription operation.
In this manner, the terminal only needs to acquire the following: push time corresponding to the message and subscription time corresponding to the subscription operation.
Mode two: and the terminal determines whether to display a prompt interface or not based on the push accumulated times corresponding to the message.
In this manner, the terminal only needs to acquire the following: the push accumulated times corresponding to the message.
Mode three: and the terminal determines whether to display a prompt interface or not based on the push time corresponding to the message, the subscription time corresponding to the subscription operation and the push accumulated times corresponding to the message.
In this manner, the terminal needs to acquire the following: push time corresponding to the message, subscription time corresponding to the subscription operation, and push accumulated times corresponding to the message.
Step 205: and when the terminal displays the prompt interface and obtains the renewing operation aiming at the target account, continuing to receive the message pushed by the target account.
In the embodiment of the invention, at least a second interaction control and a third interaction control are arranged on the prompt interface, wherein the second interaction control is used for receiving the renewing operation, and the third interaction control is used for receiving the refusing renewing operation.
Specifically, as shown in fig. 4, the prompt interface is provided with a "continue attention" control and a "cancel attention" control, wherein the "continue attention" control is a second interactive control, when the user clicks the "continue attention" control, the user is represented to pay attention to the public number permanently, and when the user clicks the "cancel attention", the user is represented to cancel "try attention" to the public number.
In the embodiment of the invention, when the terminal obtains the renewing operation aiming at the target account, the server side can continue to send the message pushed by the target account to the terminal without any operation, otherwise, when the terminal obtains the refusing operation, the terminal generates the unsubscribing message, sends the unsubscribing message to the server, and when the server receives the unsubscribing message, the server terminates sending the message pushed by the target account to the terminal. Of course, when the terminal obtains the renewing operation for the target account, an indication message may also be sent to the server, to instruct the server to continue sending the message pushed by the target account to the terminal.
The technical scheme of the embodiment of the invention provides a mode of paying attention to the public number, which allows a user to try to receive some push messages or decide whether to pay attention to the public number after a period of time, thereby effectively avoiding the problem of marginalization of the public number function caused by the accumulation of the public number attention.
Fig. 5 is a second flow chart of a method for subscribing to a message according to an embodiment of the present invention, as shown in fig. 5, the method for subscribing to a message includes the following steps:
step 501: the terminal obtains a subscription operation aiming at the target account, generates a subscription message based on the subscription operation, and sends the subscription message to the server.
In the embodiment of the invention, when a terminal obtains a subscription operation on the first interaction control, a subscription message is generated based on the subscription operation, wherein the subscription message carries subscription time corresponding to the subscription operation; and the terminal sends the subscription message carrying the subscription time corresponding to the subscription operation to the server. After receiving the subscription message, the server can determine the subscription time corresponding to the subscription operation, and record the subscription time corresponding to the subscription operation as T1.
Step 502: and the terminal receives a message pushed by the target account number, which is sent by the server.
In the embodiment of the invention, after the terminal subscribes to the message of the target account, the server pushes the message of the target account to the terminal periodically or aperiodically. Here, the message sent by the server to the terminal carries the following information: push time corresponding to the message and subscription time corresponding to the subscription operation.
The push time corresponding to the message refers to time T2 when the server sends the message.
Step 503: and the terminal analyzes the message pushed by the target account to obtain the push time corresponding to the message and the subscription time corresponding to the subscription operation.
Step 504: the terminal calculates a time difference value between the push time corresponding to the message and the subscription time corresponding to the subscription operation; the terminal judges whether the time difference value is larger than or equal to a first preset threshold value; and when the time difference value is greater than or equal to a first preset threshold value, determining to display a prompt interface, wherein the prompt interface is used for prompting a user whether to execute renewing operation aiming at the target account number.
For example: assuming that the first preset threshold is T, T can be 1 week, 1 month, etc., if T2-T1 is greater than or equal to T, a prompt interface is displayed.
Step 505: and when the terminal displays the prompt interface and obtains the renewing operation aiming at the target account, continuously receiving the message pushed by the target account, which is sent by the server.
In the embodiment of the invention, at least a second interaction control and a third interaction control are arranged on the prompt interface, wherein the second interaction control is used for receiving the renewing operation, and the third interaction control is used for receiving the refusing renewing operation.
Fig. 6 is a flowchart third of a method for subscribing to a message according to an embodiment of the present invention, as shown in fig. 6, the method for subscribing to a message includes the following steps:
step 601: the terminal obtains a subscription operation aiming at the target account, generates a subscription message based on the subscription operation, and sends the subscription message to the server.
Step 602: and the terminal receives a message pushed by the target account number, which is sent by the server.
In the embodiment of the invention, after the terminal subscribes to the message of the target account, the server pushes the message of the target account to the terminal periodically or aperiodically. Here, the message sent by the server to the terminal carries the following information: and pushing the message for accumulated times.
The cumulative push times corresponding to the messages refer to the cumulative amount of messages sent by the server, for example: when the terminal subscribes to the message of the target account, the push accumulation times of the corresponding message are 1 when the server sends the message of the target account to the terminal for the first time, 2 when the server sends the message of the target account to the terminal for the second time, and so on, and n when the server sends the message of the target account to the terminal for the nth time.
Step 603: and the terminal analyzes the message pushed by the target account to obtain the push accumulated times corresponding to the message.
Step 604: the terminal judges whether push accumulation times corresponding to the message are larger than or equal to a second preset threshold value; and when the push accumulated times corresponding to the message are greater than or equal to a second preset threshold, determining to display a prompt interface, wherein the prompt interface is used for prompting a user whether to execute a renewing operation aiming at the target account.
For example: assuming that the second preset threshold is N, N can be 100, 200 and the like, if N is greater than or equal to N, a prompt interface is displayed.
Step 605: and when the terminal displays the prompt interface and obtains the renewing operation aiming at the target account, continuously receiving the message pushed by the target account, which is sent by the server.
In the embodiment of the invention, at least a second interaction control and a third interaction control are arranged on the prompt interface, wherein the second interaction control is used for receiving the renewing operation, and the third interaction control is used for receiving the refusing renewing operation.
Fig. 7 is a flowchart third of a method for subscribing to a message according to an embodiment of the present invention, as shown in fig. 7, the method for subscribing to a message includes the following steps:
step 701: the terminal obtains a subscription operation aiming at the target account, generates a subscription message based on the subscription operation, and sends the subscription message to the server.
In the embodiment of the invention, when a terminal obtains a subscription operation on the first interaction control, a subscription message is generated based on the subscription operation, wherein the subscription message carries subscription time corresponding to the subscription operation; and the terminal sends the subscription message carrying the subscription time corresponding to the subscription operation to the server.
In the above scheme, the subscription time corresponding to the subscription operation may be the following time:
the terminal obtains the time of the subscription operation on the first interaction control; or alternatively, the process may be performed,
and the terminal generates the time of the subscription message based on the subscription operation.
In the embodiment of the present invention, the subscription time corresponding to the subscription operation may not be carried in the subscription message, and in this case, the subscription time corresponding to the subscription operation may be the following time: the time the subscription message was received by the server.
In the embodiment of the invention, after receiving the subscription message, the server can determine the subscription time corresponding to the subscription operation, and record the subscription time corresponding to the subscription operation as T1.
Step 702: and the terminal receives a message pushed by the target account number, which is sent by the server.
In the embodiment of the invention, after the terminal subscribes to the message of the target account, the server pushes the message of the target account to the terminal periodically or aperiodically. Here, the message sent by the server to the terminal carries the following information: push time corresponding to the message, push accumulation times corresponding to the message and subscription time corresponding to the subscription operation.
The push time corresponding to the message refers to time T2 when the server sends the message.
The cumulative push times corresponding to the messages refer to the cumulative amount of messages sent by the server, for example: when the terminal subscribes to the message of the target account, the push accumulation times of the corresponding message are 1 when the server sends the message of the target account to the terminal for the first time, 2 when the server sends the message of the target account to the terminal for the second time, and so on, and n when the server sends the message of the target account to the terminal for the nth time.
Step 703: and the terminal analyzes the message pushed by the target account to obtain the push time corresponding to the message, the push accumulation times corresponding to the message and the subscription time corresponding to the subscription operation.
Step 704: the terminal calculates a time difference value between the push time corresponding to the message and the subscription time corresponding to the subscription operation; the terminal determines whether the time difference is greater than or equal to a first preset threshold, and determines whether the push accumulation number corresponding to the message is greater than or equal to a second preset threshold, and executes step 705 or step 706.
Step 705: and determining to display a prompt interface when the time difference value is greater than or equal to a first preset threshold value and the push accumulated times corresponding to the message is greater than or equal to a second preset threshold value, and executing step 707.
Step 706: and determining to display a prompt interface when the time difference value is greater than or equal to a first preset threshold value or the push accumulated times corresponding to the message is greater than or equal to a second preset threshold value.
Here, the prompting interface is configured to prompt the user whether to execute the renewing operation with respect to the target account number.
Step 707: and when the terminal displays the prompt interface and obtains the renewing operation aiming at the target account, continuously receiving the message pushed by the target account, which is sent by the server.
In the embodiment of the invention, at least a second interaction control and a third interaction control are arranged on the prompt interface, wherein the second interaction control is used for receiving the renewing operation, and the third interaction control is used for receiving the refusing renewing operation.
Fig. 8 is a flow chart of a method for subscribing to a message according to an embodiment of the present invention, as shown in fig. 8, the method for subscribing to a message includes the following steps:
step 801: the terminal obtains a "try attention" operation for the public number.
Step 802: the terminal records the current time as T1.
Step 803: the terminal receives a message pushed by the public number and sent by a server, wherein the message carries the following information: t1, T2, n.
Here, T1 refers to a time corresponding to the "try attention" operation, T2 refers to a push time corresponding to the message, and n refers to a cumulative push number corresponding to the message.
Step 804: the terminal calculates t=t2-T1.
Step 805: the terminal judges whether T is greater than or equal to T and/or whether N is greater than or equal to N; if yes, step 806 is executed, and if no, step 803 is executed.
Here, T and N are preset thresholds, respectively.
Step 806: and displaying a prompt interface, and executing step 807 if the terminal obtains the operation of continuing to pay attention, and executing step 808 if not.
Step 807: and the terminal continuously receives the message pushed by the public number sent by the server.
Step 808: the terminal cancels the attention to the public number.
Fig. 9 is a schematic structural diagram of an apparatus for subscribing to a message according to an embodiment of the present invention, as shown in fig. 9, the apparatus includes:
a receiving unit 901, configured to receive a message pushed by the target account;
a determining unit 902, configured to determine a push parameter corresponding to the message;
the determining unit 903 is configured to determine, based on the push parameter, whether to display a prompt interface, where the prompt interface is configured to prompt a user whether to execute a renewing operation with respect to the target account.
Those skilled in the art will appreciate that the implementation functions of the units in the message subscribing device shown in fig. 9 can be understood with reference to the relevant description of the method of subscribing to messages described above. The functions of the units in the message subscribing device shown in fig. 9 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
Fig. 10 is a schematic diagram ii of the structural composition of a device for subscribing to a message according to an embodiment of the present invention, as shown in fig. 10, the device includes:
a receiving unit 901, configured to receive a message pushed by the target account;
a determining unit 902, configured to determine a push parameter corresponding to the message;
the determining unit 903 is configured to determine, based on the push parameter, whether to display a prompt interface, where the prompt interface is configured to prompt a user whether to execute a renewing operation with respect to the target account.
In one embodiment, the apparatus further comprises:
a display unit 904, configured to display the prompt interface;
an input unit 905, configured to obtain a renewing operation for the target account;
the receiving unit 901 is further configured to continuously receive a message pushed by the target account.
In an embodiment, the determining unit 902 is configured to parse the message pushed by the target account to obtain a push time corresponding to the message and/or a push cumulative number corresponding to the message;
the determining unit 903 is configured to determine whether to display a prompt interface based on the push time corresponding to the message and/or the push accumulated number corresponding to the message.
In one embodiment, the apparatus further comprises:
an input unit 906, configured to obtain a subscription operation for a target account; generating a subscription message based on the subscription operation;
a sending unit 907, configured to send the subscription message to a server.
In one embodiment, the apparatus further comprises:
the display unit 904 is configured to display an interactive interface corresponding to the target account, where the interactive interface has at least a first interactive control, and the first interactive control is configured to accept the subscription operation;
the input unit 906 is specifically configured to obtain a subscription operation located on the first interaction control; generating a subscription message based on the subscription operation, wherein the subscription message carries subscription time corresponding to the subscription operation;
the sending unit 907 is specifically configured to send a subscription message carrying a subscription time corresponding to the subscription operation to the server.
In one embodiment, the determining unit 903 includes:
a first judging subunit 9031, configured to determine whether to display a prompt interface based on the push time corresponding to the message and the subscription time corresponding to the subscription operation; or alternatively, the process may be performed,
a second judging subunit 9032, configured to determine whether to display a prompt interface based on the push accumulated number corresponding to the message; or alternatively, the process may be performed,
the third judging subunit 9033 is configured to determine whether to display a prompt interface based on the push time corresponding to the message, the subscription time corresponding to the subscription operation, and the cumulative push number corresponding to the message.
In an embodiment, the first determining subunit 9031 is specifically configured to calculate a time difference between a push time corresponding to the message and a subscription time corresponding to the subscription operation; the terminal judges whether the time difference value is larger than or equal to a first preset threshold value; and when the time difference value is greater than or equal to a first preset threshold value, determining to display a prompt interface.
In an embodiment, the second determining subunit 9032 is specifically configured to determine whether the push accumulation number corresponding to the message is greater than or equal to a second preset threshold; and when the push accumulated times corresponding to the message is greater than or equal to a second preset threshold value, determining to display a prompt interface.
In an embodiment, the third determining subunit 9033 is specifically configured to calculate a time difference between the push time corresponding to the message and the subscription time corresponding to the subscription operation; the terminal judges whether the time difference value is larger than or equal to a first preset threshold value or not, and judges whether the push accumulated times corresponding to the message is larger than or equal to a second preset threshold value or not; when the time difference value is greater than or equal to a first preset threshold value and the push accumulated times corresponding to the message is greater than or equal to a second preset threshold value, determining to display a prompt interface; or when the time difference value is greater than or equal to a first preset threshold value or the push accumulated times corresponding to the message is greater than or equal to a second preset threshold value, determining to display a prompt interface.
In an embodiment, the prompt interface is provided with at least a second interaction control and a third interaction control, where the second interaction control is used for accepting the renewing operation, and the third interaction control is used for accepting the refusing operation.
Those skilled in the art will appreciate that the implementation functions of the units in the apparatus for subscribing to messages shown in fig. 10 can be understood with reference to the relevant description of the method for subscribing to messages described above. The functions of the units in the message subscribing device shown in fig. 10 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
The message subscribing device according to the embodiment of the present invention may also be stored in a computer readable storage medium if implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Accordingly, the embodiment of the present invention also provides a computer storage medium, in which computer executable instructions are stored, which when executed by a processor implement the above-mentioned method for determining channel hopping according to the embodiment of the present invention.
Fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present invention, as shown in fig. 11, the computer device 10 may include one or more (only one is shown in the figure) processors 12 (the processors 12 may include, but are not limited to, a microprocessor (MCU, micro Controller Unit), a processing device such as a programmable logic device (FPGA, field Programmable Gate Array)), a memory 14 for storing data, and a transmission device 16 for communication functions. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 11 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, computer device 10 may also include more or fewer components than shown in FIG. 11, or have a different configuration than shown in FIG. 11.
The memory 14 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the method of subscribing to messages in embodiments of the present invention, and the processor 12 executes the software programs and modules stored in the memory 14 to perform various functional applications and data processing, i.e., to implement the methods described above. Memory 14 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 14 may further include memory located remotely from processor 12, which may be connected to computer device 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 16 are for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communications provider of the computer device 10. In one example, the transmission device 16 includes a network adapter (NIC, network Interface Controller) that can be connected to other network devices via a base station to communicate with the internet. In one example, the transmission device 16 may be a Radio Frequency (RF) module for communicating wirelessly with the internet.
The technical schemes described in the embodiments of the present invention may be arbitrarily combined without any collision.
In several embodiments provided by the present invention, it should be understood that the disclosed method and intelligent device may be implemented in other manners. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one second processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention.

Claims (12)

1. A method of subscribing to messages, the method comprising:
the terminal receives a message pushed by a target account;
the terminal determines push parameters corresponding to the message;
the terminal determines whether to display a prompt interface based on the pushing parameters, wherein the prompt interface is used for prompting a user whether to execute a renewing operation aiming at the target account;
the terminal determines push parameters corresponding to the message, including:
the terminal analyzes the message pushed by the target account to obtain the pushing time corresponding to the message and/or the pushing accumulated times corresponding to the message;
the terminal determines whether to display a prompt interface based on the pushing parameters, and the method comprises the following steps:
the terminal calculates a time difference value between the push time corresponding to the message and the subscription time corresponding to the subscription operation;
the terminal judges whether the time difference value is larger than or equal to a first preset threshold value or not, and judges whether the push accumulated times corresponding to the message is larger than or equal to a second preset threshold value or not;
when the time difference value is greater than or equal to a first preset threshold value and the push accumulated times corresponding to the message is greater than or equal to a second preset threshold value, determining to display a prompt interface; or when the time difference value is greater than or equal to a first preset threshold value or the push accumulated times corresponding to the message is greater than or equal to a second preset threshold value, determining to display a prompt interface.
2. The method of subscribing to messages according to claim 1, wherein the method further comprises:
and the terminal displays the prompt interface and obtains the renewing operation aiming at the target account, and continuously receives the message pushed by the target account.
3. The method for subscribing to messages according to claim 1, wherein before the terminal receives the message pushed by the target account number, the method further comprises:
the terminal obtains a subscription operation aiming at the target account, generates a subscription message based on the subscription operation, and sends the subscription message to the server.
4. A method of subscribing to messages as claimed in claim 3, wherein the method further comprises:
the terminal displays an interactive interface corresponding to the target account, wherein the interactive interface is provided with at least a first interactive control, and the first interactive control is used for receiving the subscription operation;
the terminal obtains a subscription operation aiming at a target account, generates a subscription message based on the subscription operation, and sends the subscription message to a server, wherein the subscription operation comprises the following steps:
when the terminal obtains a subscription operation on the first interaction control, a subscription message is generated based on the subscription operation, wherein the subscription message carries subscription time corresponding to the subscription operation;
and the terminal sends the subscription message carrying the subscription time corresponding to the subscription operation to the server.
5. The method for subscribing to messages according to claim 1, wherein the prompt interface has at least a second interactive control for accepting the renewing operation and a third interactive control for accepting the refusing of the renewing operation.
6. An apparatus for subscribing to messages, comprising:
the receiving unit is used for receiving the message pushed by the target account;
the determining unit is used for determining push parameters corresponding to the message;
the judging unit is used for determining whether a prompt interface is displayed or not based on the pushing parameters, and the prompt interface is used for prompting a user whether to execute a renewing operation aiming at the target account;
the determining unit is further configured to parse the message pushed by the target account to obtain a push time corresponding to the message and/or a push cumulative number corresponding to the message;
the judging unit is further configured to calculate a time difference between the push time corresponding to the message and the subscription time corresponding to the subscription operation; the terminal judges whether the time difference value is larger than or equal to a first preset threshold value or not, and judges whether the push accumulated times corresponding to the message is larger than or equal to a second preset threshold value or not; when the time difference value is greater than or equal to a first preset threshold value and the push accumulated times corresponding to the message is greater than or equal to a second preset threshold value, determining to display a prompt interface; or when the time difference value is greater than or equal to a first preset threshold value or the push accumulated times corresponding to the message is greater than or equal to a second preset threshold value, determining to display a prompt interface.
7. The apparatus of subscribing to messages according to claim 6, wherein the apparatus further comprises:
the display unit is used for displaying the prompt interface;
the input unit is used for obtaining a renewing operation aiming at the target account;
the receiving unit is further configured to continuously receive the message pushed by the target account.
8. The apparatus of subscribing to messages according to claim 6, wherein the apparatus further comprises:
the input unit is used for obtaining subscription operation aiming at the target account; generating a subscription message based on the subscription operation;
and the sending unit is used for sending the subscription message to the server.
9. The apparatus of subscribing to messages according to claim 8, wherein the apparatus further comprises:
the display unit is used for displaying an interactive interface corresponding to the target account, and the interactive interface is provided with at least a first interactive control which is used for receiving the subscription operation;
the input unit is specifically configured to obtain a subscription operation located on the first interaction control; generating a subscription message based on the subscription operation, wherein the subscription message carries subscription time corresponding to the subscription operation;
the sending unit is specifically configured to send a subscription message carrying a subscription time corresponding to the subscription operation to the server.
10. The apparatus for subscribing to messages according to claim 6, wherein the alert interface has at least a second interactive control for accepting the renewing operation and a third interactive control for accepting the refusing of the renewing operation.
11. A computer device comprising a memory, a processor and computer executable instructions stored on the memory and executable on the processor, wherein the processor, when executing the computer executable instructions, performs the method steps of any one of claims 1-5.
12. A computer storage medium having stored thereon computer executable instructions which when executed by a processor implement the method steps of any of claims 1-5.
CN201780002034.6A 2017-09-18 2017-09-18 Method and device for subscribing message, computer equipment and computer storage medium Active CN110100426B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/102145 WO2019051849A1 (en) 2017-09-18 2017-09-18 Method and device for subscribing message, computer apparatus, and computer storage medium

Publications (2)

Publication Number Publication Date
CN110100426A CN110100426A (en) 2019-08-06
CN110100426B true CN110100426B (en) 2023-05-26

Family

ID=65722229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780002034.6A Active CN110100426B (en) 2017-09-18 2017-09-18 Method and device for subscribing message, computer equipment and computer storage medium

Country Status (2)

Country Link
CN (1) CN110100426B (en)
WO (1) WO2019051849A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039994B (en) * 2020-09-02 2024-02-27 深邦智能科技集团(青岛)有限公司 Internet-based remote monitoring method, device and server
CN114710463B (en) * 2020-12-31 2024-03-15 腾讯科技(深圳)有限公司 Message subscription and publishing method, device, medium and equipment
CN113364670B (en) * 2021-06-16 2022-07-26 北京轻松筹信息技术有限公司 Data pushing method and device and electronic equipment
CN113641912B (en) * 2021-08-20 2024-02-09 北京得间科技有限公司 Information pushing method, computing device and computer storage medium
CN114125045B (en) * 2021-10-29 2024-04-02 北京旷视科技有限公司 Data processing method, device and electronic system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539662A (en) * 2014-12-12 2015-04-22 小米科技有限责任公司 Information transmission method and device
CN104994121A (en) * 2015-05-11 2015-10-21 努比亚技术有限公司 Method and device for pushing notification messages
CN105453124A (en) * 2013-08-01 2016-03-30 微软技术许可有限责任公司 System for syndicating subscriptions with retailers
CN107040454A (en) * 2017-03-20 2017-08-11 微梦创科网络科技(中国)有限公司 Unread message based reminding method and device under a kind of quick more new scene of big data quantity

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004057446A2 (en) * 2002-12-19 2004-07-08 International Business Machines Corporation A method for providing of content data to a client
US20070268121A1 (en) * 2006-05-18 2007-11-22 Daryush Vasefi On-line portal system and method for management of devices and services
CN100579126C (en) * 2007-09-21 2010-01-06 腾讯科技(深圳)有限公司 A mail subscription method and server
US9392312B1 (en) * 2013-04-10 2016-07-12 Google Inc. Subscriptions to channels on the web
WO2014176748A1 (en) * 2013-04-28 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method, device, and system for accessing third party platforms via a messaging application
US10482545B2 (en) * 2014-01-02 2019-11-19 Katherine Elizabeth Anderson User management of subscriptions to multiple social network platforms
CN104702984A (en) * 2015-02-12 2015-06-10 福建新大陆通信科技股份有限公司 Set-top box multi-functional weather forecast system and method thereof
CN104853230B (en) * 2015-05-14 2017-10-24 无锡天脉聚源传媒科技有限公司 A kind of hot video method for pushing and device
US9998793B2 (en) * 2015-09-25 2018-06-12 Rovi Guides, Inc. Methods and systems for determining at a present time a date at a future time at which a media asset will become available from the content provider
US10205982B2 (en) * 2015-09-25 2019-02-12 Rovi Guides, Inc. Methods and systems for managing media subscriptions
CN105704312B (en) * 2016-01-20 2019-02-26 Oppo广东移动通信有限公司 Message push processing method and message push processing unit
CN106470151B (en) * 2016-09-27 2019-11-01 腾讯科技(深圳)有限公司 The method and apparatus of Public Service Identities are handled in social networking application
CN106506328A (en) * 2016-10-18 2017-03-15 江西博瑞彤芸科技有限公司 The method for pushing of message
CN106570637A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Information prompt device and information prompt method in two-dimensional code data acquisition

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105453124A (en) * 2013-08-01 2016-03-30 微软技术许可有限责任公司 System for syndicating subscriptions with retailers
CN104539662A (en) * 2014-12-12 2015-04-22 小米科技有限责任公司 Information transmission method and device
CN104994121A (en) * 2015-05-11 2015-10-21 努比亚技术有限公司 Method and device for pushing notification messages
CN107040454A (en) * 2017-03-20 2017-08-11 微梦创科网络科技(中国)有限公司 Unread message based reminding method and device under a kind of quick more new scene of big data quantity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜博.基于微信公众号的省域数字图书馆信息资源推送服务研究.河南图书馆学刊.2016,全文. *

Also Published As

Publication number Publication date
WO2019051849A1 (en) 2019-03-21
CN110100426A (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN110100426B (en) Method and device for subscribing message, computer equipment and computer storage medium
US10861044B2 (en) Automatic event triggered balance top-up, money transfer, and location based advertising platform
US8787947B2 (en) Application discovery on mobile devices
US20200374403A1 (en) Methods and systems for notifications in communications networks
US10744409B2 (en) Method, apparatus, and storage medium for displaying game data on a desktop of a mobile terminal
CN105677719B (en) The management method and device of application program
CN106027570B (en) Notification pushing method and device
CN104104524A (en) Method and system for providing live broadcast services, terminal, and server
CN111314721B (en) Method, device, equipment and medium for determining abnormal live broadcast
CN103563414A (en) Mobile network operator identification
US10805762B2 (en) Location based access control for artificial conversational entities
CN105744289A (en) Live broadcast event reminding method and device
CN110601965B (en) Message distribution method, device and system and message gateway
CN113055701B (en) Data processing method and device
CN103747436A (en) Application program downloading method and device
CN104159328A (en) Method for prompting identification card information, mobile terminal and electronic equipment
CN105100062A (en) Information push method, device and system
CN106412106B (en) Message sending method and device
CN104147780A (en) Method for switching game terminals and user terminals
CN106330681B (en) Method, system and related equipment for sharing film watching information
EP2993636B1 (en) System architecture for closed-loop mobile lockscreen display state control
CN114020196A (en) Video interaction method, device, storage medium and computer program product
CN106658446B (en) Statistical analysis method for short message
CN103841172A (en) Application download operation statistic method and device based on user terminal identification comparison
CN109561050B (en) Method and device for identifying batch account numbers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information

Address after: 518057 Fuan Science and Technology Building, Block B, No. 13, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 207-2

Applicant after: Shenzhen Huantai Technology Co.,Ltd.

Address before: 518057 Fuan Science and Technology Building, Block B, No. 13, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 207-2

Applicant before: SHENZHEN YUN ZHONG FEI NETWORK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant