WO2019051849A1 - Method and device for subscribing message, computer apparatus, and computer storage medium - Google Patents

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

Info

Publication number
WO2019051849A1
WO2019051849A1 PCT/CN2017/102145 CN2017102145W WO2019051849A1 WO 2019051849 A1 WO2019051849 A1 WO 2019051849A1 CN 2017102145 W CN2017102145 W CN 2017102145W WO 2019051849 A1 WO2019051849 A1 WO 2019051849A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
subscription
terminal
push
time corresponding
Prior art date
Application number
PCT/CN2017/102145
Other languages
French (fr)
Chinese (zh)
Inventor
任超
Original Assignee
深圳市云中飞网络科技有限公司
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 深圳市云中飞网络科技有限公司 filed Critical 深圳市云中飞网络科技有限公司
Priority to CN201780002034.6A priority Critical patent/CN110100426B/en
Priority to PCT/CN2017/102145 priority patent/WO2019051849A1/en
Publication of WO2019051849A1 publication Critical patent/WO2019051849A1/en

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

Definitions

  • the present invention relates to a message push technology in the field of the Internet, and in particular, to a method and device for subscribing to a message, a computer device, and a computer storage medium.
  • the public number is an application account that the developer or merchant applies for on the public platform, and the developer or the merchant can realize the communication and interaction with the specific group on the application platform through the public number.
  • the user For the user, the user needs to search and pay attention to the public number before receiving the message pushed by the public number, that is, the user subscribes to the public number.
  • the user wants to cancel the message of subscribing to 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 no longer received.
  • more and more public numbers are of interest to users, more and more subscription messages are pushed to users.
  • a large number of messages may lead to a decrease in the initiative of users to view, or even give up viewing subscription messages, which results in a relationship between the public number and the user.
  • the communication and communication efficiency is reduced, and the function of the public number is gradually marginalized.
  • Embodiments of the present invention provide a method and apparatus for subscribing to a message, a computer device, and a computer storage medium.
  • the terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server;
  • the terminal parses the message pushed by the target account to obtain a corresponding message.
  • the terminal When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message of the target account push.
  • the method further includes:
  • 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 configured to accept the first subscription operation;
  • the terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server, including:
  • the terminal obtains the first subscription operation on the first interaction control, generating a subscription message based on the first subscription operation, where the subscription message carries a subscription time corresponding to the first subscription operation;
  • the terminal sends a subscription message carrying the subscription time corresponding to the first subscription operation to the server.
  • the method further includes:
  • the terminal parses the message pushed by the target account, the terminal also obtains a subscription time corresponding to the first subscription operation;
  • the determining, by the terminal, whether to display the prompting interface, based on the pushing time corresponding to the message and/or the cumulative number of pushes corresponding to the message includes:
  • the terminal determines whether to display the prompt interface based on the push time corresponding to the message and the subscription time corresponding to the first subscription operation, and the number of push accumulations corresponding to the message.
  • the terminal determines whether to display the prompting interface according to the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation, including:
  • the terminal calculates a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation
  • the display prompt interface is determined.
  • the terminal determines whether to display the prompt interface based on the number of push cumulative times corresponding to the message, including:
  • the display prompt interface is determined.
  • the terminal determines whether to display the prompting interface according to the pushing time corresponding to the message, the subscription time corresponding to the first subscription operation, and the number of push cumulative times corresponding to the message, including:
  • the terminal calculates a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation
  • the display prompting interface is determined; or the time difference is greater than or equal to the first preset threshold. Or, when the number of push accumulations corresponding to the message is greater than or equal to a second preset threshold, determining a presentation prompt interface.
  • the prompting interface has at least a second interactive control for accepting the second subscription operation, and a third interactive control for accepting the rejected subscription. operating.
  • An obtaining unit configured to obtain a first subscription operation for a target account
  • a generating unit configured to generate a subscription message based on the first subscription operation
  • a sending unit configured to send the subscription message to a server
  • a receiving unit configured to receive a message pushed by the target account
  • the parsing unit 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 is configured to determine whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription operation for the target account, based on a push time corresponding to the message and/or a cumulative number of pushes corresponding to the message. ;
  • the receiving unit is further configured to continue to receive the message pushed by the target account when the prompting interface is displayed and a second subscription operation for the target account is obtained.
  • the device further includes:
  • the display unit is configured to display 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 configured to accept the first subscription operation;
  • the obtaining unit is specifically configured to obtain a first subscription operation located on the first interaction control
  • the generating unit is configured to generate a subscription message based on the first subscription operation, where the subscription message carries a subscription time corresponding to the first subscription operation;
  • the sending unit is specifically configured to send a subscription message carrying a subscription time corresponding to the first subscription operation to the server.
  • the parsing unit is further configured to send the target account When the information is parsed, the subscription time corresponding to the first subscription operation is also obtained;
  • the determining unit includes:
  • the first determining sub-unit is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation; or
  • the second determining subunit is configured to determine whether to display the prompting interface based on the number of push cumulative times corresponding to the message; or
  • the third determining sub-unit is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation, and the number of push cumulative times corresponding to the message.
  • the first determining sub-unit is configured to calculate a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation; and the terminal determines the time difference value. Whether it is greater than or equal to the first preset threshold; when the time difference is greater than or equal to the first preset threshold, determining the presentation prompt interface.
  • the second determining sub-unit is configured to determine whether the number of push cumulative times corresponding to the message is greater than or equal to a second preset threshold; and the push cumulative number corresponding to the message is greater than or equal to a second preset threshold.
  • the display prompt interface is determined.
  • the third determining sub-unit is configured to calculate a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation; and the terminal determines the time difference value. Whether it is greater than or equal to the first preset threshold, and whether the number of push cumulative times corresponding to the message is greater than or equal to a second preset threshold; the time difference is greater than or equal to the first preset threshold, and the push cumulative number corresponding to the message When the second preset threshold is greater than or equal to the second preset threshold, the display prompting interface is determined; or, when the time difference is greater than or equal to the first preset threshold, or the push cumulative number corresponding to the message is greater than or equal to the second preset threshold, determining the display prompt interface.
  • the prompting interface has at least a second interactive control and a third interactive control, where the second interactive control is configured to accept the second subscription operation, and the third interactive control Used to accept the rejection of subscription operations.
  • the computer device provided by the embodiment of the present invention includes a memory, a processor, and computer executable instructions stored on the memory and operable on the processor, wherein the processor implements the above when executing the computer executable instruction The method of subscribing to a message.
  • the computer storage medium provided by the embodiment of the present invention has stored thereon computer executable instructions, and the method for implementing the above-mentioned subscription message when the computer executable instructions are executed by the processor.
  • the terminal obtains a first subscription operation (ie, a trial attention operation) for the target account (that is, the public number), generates a subscription message based on the first subscription operation, and sends the subscription to the server.
  • the message is received by the terminal; the terminal parses the message pushed by the target account, and obtains a push time corresponding to the message and/or a push cumulative number corresponding to the message; Determining whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription operation (ie, attention) according to the pushing time corresponding to the message and/or the cumulative number of pushes corresponding to the message.
  • the terminal When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message pushed by the target account.
  • the user can pay attention to the public number. After the test reaches a certain period of time or the message of the test attention reaches a certain amount, the user decides whether to permanently pay attention to the public number. Therefore, it is convenient for the user to decide whether to pay attention to certain public numbers according to the experience, to avoid the user paying attention to too many useless public numbers, and to receive a large number of messages, thereby ensuring the communication and interaction efficiency between the public number and the user, and avoiding the public number being marginalized. .
  • 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 schematic flowchart 1 of a method for subscribing to a message according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram 1 of an interface of a public number according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram 2 of an interface of a public number according to an embodiment of the present invention.
  • FIG. 5 is a second schematic flowchart of a method for subscribing to a message according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart 3 of a method for subscribing to a message according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart 4 of a method for subscribing to a message according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart 5 of a method for subscribing to a message according to an embodiment of the present invention.
  • FIG. 9 is a first schematic structural diagram of an apparatus for subscribing to a message according to an embodiment of the present invention.
  • FIG. 10 is a second schematic structural diagram of an apparatus 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.
  • FIG. 1 is a schematic diagram of hardware entities of each party performing information interaction according to an embodiment of the present invention.
  • FIG. 1 includes: a server 11 and a terminal 21-24.
  • the terminal 21-24 exchanges information with the server 11 through a wired network or a wireless network.
  • 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 a network, and the first type of terminal is at the server. Submit the material and register the public number.
  • the terminal device 21-24 may be referred to as a second type terminal (such as a terminal where a normal user is located, or an object called a public number push message), and the second type terminal is installed with a server.
  • a second type terminal such as a terminal where a normal user is located, or an object called a public number push message
  • An interactive application through which the content of the public number, such as pictures, text, audio, and video, can be displayed.
  • the server periodically or irregularly pushes the public to the second type of terminal. No. message.
  • FIG. 1 is only an example of a system architecture for implementing an embodiment of the present invention, and the present invention The embodiment is not limited to the system structure described above with respect to FIG. 1, and various embodiments of the present invention are proposed based on the system architecture.
  • FIG. 2 is a schematic flowchart 1 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 first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server.
  • the terminal may be any type of terminal such as a mobile phone, a tablet computer, a notebook, a desktop computer, etc., and an application (APP) is installed in the terminal, and the application may be an instant messaging APP or a fusion communication ( RCS) function of the app.
  • APP application
  • RCS fusion communication
  • the converged communication is a communication technology that combines network messages with traditional short multimedia messages. For example, the information of the network side can be transmitted to a certain mobile phone number through the converged communication function.
  • the application in the embodiment of the present invention has a public number function, and the user can search for and pay attention to the designated public number through the application, thereby receiving the message pushed by the public number.
  • the target account refers to a certain public number
  • the public number may be, but is not limited to, the following identifiers: a mobile phone number, a nickname, a string combination, and a two-dimensional code.
  • 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 configured to accept the first subscription operation.
  • the user searches for the public number
  • the user enters the attention interface of the public number
  • the attention interface is the interactive interface corresponding to the target account, and has a “try to pay attention” control on the attention interface. That is the first interactive control.
  • the attention interface may also have a "follow" control.
  • the terminal permanently receives the message sent by the server by the public number until The user cancels the attention to the public number.
  • the terminal obtains a first subscription operation located on the first interaction control Generating a subscription message based on the first subscription operation, wherein the subscription message carries a subscription time corresponding to the first subscription operation; the terminal will carry a subscription subscription time corresponding to the first subscription operation A message is sent to the server.
  • the subscription time corresponding to the first subscription operation may be the following:
  • the time at which the terminal generates a subscription message based on the first subscription operation is the time at which the terminal generates a subscription message based on the first subscription operation.
  • the subscription time corresponding to the first subscription operation may not be carried in the subscription message.
  • the subscription time corresponding to the first subscription operation may be the time when the server receives the subscription message.
  • the server after receiving the subscription message, the server can determine the subscription time corresponding to the first subscription operation, and record the subscription time corresponding to the first subscription operation as T1.
  • Step 202 The terminal receives the message pushed by the target account.
  • the server after the terminal subscribes to the message of the target account, the server periodically or irregularly pushes the message of the target account to the terminal.
  • the message sent by the server to the terminal carries at least one of the following information: a push time corresponding to the message, a push cumulative number corresponding to the message, and a subscription time corresponding to the subscription operation.
  • the push time corresponding to the message refers to the time T2 when the server sends the message.
  • the cumulative number of pushes corresponding to the message refers to the cumulative amount of messages sent by the server. For example, when the terminal subscribes to the message of the target account, the first time the server sends the message of the target account to the terminal, the cumulative number of pushes of the corresponding message. If the server sends the message of the target account to the terminal for the second time, the cumulative number of pushes of the corresponding message is 2, and so on. When the server sends the message of the target account to the terminal for the nth time, the push accumulation of the corresponding message is performed. The number of times is n.
  • Step 203 The terminal parses the message pushed by the target account, and obtains a push time corresponding to the message and/or a push cumulative number corresponding to the message.
  • the terminal parses the message pushed by the target account, and obtains, for example, At least one of the following information: a push time corresponding to the message, a push cumulative number corresponding to the message, and a subscription time corresponding to the subscription operation.
  • the terminal may only parse the push time corresponding to the message and the push cumulative number corresponding to the message, where the subscription time corresponding to the subscription operation may be determined by the terminal itself.
  • the terminal parses the push time corresponding to the message, the push cumulative number corresponding to the message, and the subscription time corresponding to the subscription operation, where the subscription time corresponding to the subscription operation is determined by the server.
  • the content acquired by the terminal may be any combination of the following:
  • the push time corresponding to the message The push time corresponding to the message, the subscription time corresponding to the subscription operation, and the cumulative number of pushes corresponding to the message.
  • Step 204 The terminal determines whether to display a prompt interface according to the push time corresponding to the message and/or the number of push cumulative times corresponding to the message, where the prompt interface is used to prompt the user whether to perform a second subscription for the target account. operating.
  • determining whether to display the prompt interface may be implemented by:
  • Manner 1 The terminal determines whether to display the prompt interface based on the push time corresponding to the message and the subscription time corresponding to the first subscription operation.
  • the terminal only needs to obtain the following content: the push time corresponding to the message, and the subscription time corresponding to the subscription operation.
  • Manner 2 The terminal determines whether to display the prompt interface based on the cumulative number of pushes corresponding to the message.
  • the terminal only needs to obtain the following content: the cumulative number of pushes corresponding to the message.
  • Manner 3 The terminal is based on the push time corresponding to the message and the first subscription operation pair The subscription time, and the cumulative number of pushes corresponding to the message, determine whether to display the prompt interface.
  • the terminal needs to obtain the following content: the push time corresponding to the message, the subscription time corresponding to the subscription operation, and the cumulative number of pushes corresponding to the message.
  • Step 205 When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message of the target account push.
  • the prompting interface has at least a second interactive control for accepting the second subscription operation, and the third interactive control is configured to accept the reject subscription operation.
  • the prompt interface has a “continue attention” control and a “unfollow” control, wherein the “continue attention” control is also the second interactive control, when the user clicks the “continue attention” control, On behalf of the user, the public number is permanently concerned.
  • the user clicks “unfollow” the user cancels the “try to pay attention” to the public number.
  • the terminal when the terminal obtains the second subscription operation for the target account, the terminal may perform no operation, and the server side continues to send the message pushed by the target account to the terminal, and vice versa, when the terminal obtains the subscription rejection operation. And generating an unsubscribe message, sending an unsubscribe message to the server, and when the server receives the unsubscribe message, terminating sending the message pushed by the target account to the terminal.
  • the terminal may also send an indication message to the server, instructing the server to continue to send the message pushed by the target account to the terminal.
  • the technical solution of the embodiment of the present invention provides a method for paying attention to the public number, allowing the user to try to receive some push messages or after a period of time, and then deciding whether to continue to pay attention to the public number, thereby effectively avoiding the accumulation of public interest.
  • the problem of marginalization of the public number function.
  • FIG. 5 is a schematic flowchart 2 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 first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server.
  • the terminal when the terminal obtains the first subscription operation on the first interaction control, the terminal generates a subscription message based on the first subscription operation, where the subscription message carries the corresponding first subscription operation. a subscription time; the terminal sends a subscription message carrying the subscription time corresponding to the first subscription operation to the server. After receiving the subscription message, the server can determine the subscription time corresponding to the first subscription operation, and record the subscription time corresponding to the first subscription operation as T1.
  • Step 502 The terminal receives a message sent by the server and pushed by the target account.
  • the server after the terminal subscribes to the message of the target account, the server periodically or irregularly pushes the message of the target account to the terminal.
  • the message sent by the server to the terminal carries the following information: the push time corresponding to the message, and the subscription time corresponding to the subscription operation.
  • the push time corresponding to the message refers to the time T2 when the server sends the message.
  • Step 503 The terminal parses the message pushed by the target account, and obtains a push time corresponding to the message and a subscription time corresponding to the subscription operation.
  • Step 504 The terminal calculates a time difference between the push time corresponding to the message and the subscription time corresponding to the first subscription operation; the terminal determines whether the time difference is greater than or equal to a first preset threshold; When the time difference is greater than or equal to the first preset threshold, the display prompting interface is determined, and the prompting interface is used to prompt the user whether to perform a second subscription operation for the target account.
  • the prompt interface is displayed.
  • Step 505 When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message sent by the server and pushed by the target account.
  • the prompting interface has at least a second interactive control for accepting the second subscription operation, and the third interactive control is configured to accept the reject subscription operation.
  • FIG. 6 is a schematic flowchart 3 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 first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server.
  • Step 602 The terminal receives a message sent by the server and pushed by the target account.
  • the server after the terminal subscribes to the message of the target account, the server periodically or irregularly pushes the message of the target account to the terminal.
  • the message sent by the server to the terminal carries the following information: the cumulative number of pushes corresponding to the message.
  • the cumulative number of pushes corresponding to the message refers to the cumulative amount of messages sent by the server. For example, when the terminal subscribes to the message of the target account, the first time the server sends the message of the target account to the terminal, the cumulative number of pushes of the corresponding message. If the server sends the message of the target account to the terminal for the second time, the cumulative number of pushes of the corresponding message is 2, and so on. When the server sends the message of the target account to the terminal for the nth time, the push accumulation of the corresponding message is performed. The number of times is n.
  • Step 603 The terminal parses the message pushed by the target account, and obtains the cumulative number of pushes corresponding to the message.
  • Step 604 The terminal determines whether the number of push accumulations corresponding to the message is greater than or equal to a second preset threshold. When the number of push cumulative times corresponding to the message is greater than or equal to a second preset threshold, determining a presentation prompt interface, the prompt interface It is used to prompt the user whether to perform a second subscription operation for the target account.
  • N can be 100, 200, etc. If n ⁇ N, the prompt interface is displayed.
  • Step 605 When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message sent by the server and pushed by the target account.
  • the prompting interface has at least a second interactive control for accepting the second subscription operation, and the third interactive control is configured to accept the reject subscription operation.
  • FIG. 7 is a schematic flowchart 3 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 first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server.
  • the terminal when the terminal obtains the first subscription operation on the first interaction control, the terminal generates a subscription message based on the first subscription operation, where the subscription message carries the corresponding first subscription operation. a subscription time; the terminal sends a subscription message carrying the subscription time corresponding to the first subscription operation to the server.
  • the subscription time corresponding to the first subscription operation may be the following:
  • the time at which the terminal generates a subscription message based on the first subscription operation is the time at which the terminal generates a subscription message based on the first subscription operation.
  • the subscription time corresponding to the first subscription operation may not be carried in the subscription message.
  • the subscription time corresponding to the first subscription operation may be the time when the server receives the subscription message.
  • the server after receiving the subscription message, the server can determine the subscription time corresponding to the first subscription operation, and record the subscription time corresponding to the first subscription operation as T1.
  • Step 702 The terminal receives a message sent by the server and pushed by the target account.
  • the server after the terminal subscribes to the message of the target account, the server periodically or irregularly pushes the message of the target account to the terminal.
  • the message sent by the server to the terminal The information carries the following information: the push time corresponding to the message, the cumulative number of pushes corresponding to the message, and the subscription time corresponding to the subscription operation.
  • the push time corresponding to the message refers to the time T2 when the server sends the message.
  • the cumulative number of pushes corresponding to the message refers to the cumulative amount of messages sent by the server. For example, when the terminal subscribes to the message of the target account, the first time the server sends the message of the target account to the terminal, the cumulative number of pushes of the corresponding message. If the server sends the message of the target account to the terminal for the second time, the cumulative number of pushes of the corresponding message is 2, and so on. When the server sends the message of the target account to the terminal for the nth time, the push accumulation of the corresponding message is performed. The number of times is n.
  • Step 703 The terminal parses the message pushed by the target account, and obtains a push time corresponding to the message, a push cumulative number corresponding to the message, and a subscription time corresponding to the subscription operation.
  • Step 704 The terminal calculates a time difference between the push time corresponding to the message and the subscription time corresponding to the first subscription operation. The terminal determines whether the time difference is greater than or equal to a first preset threshold, and determines Whether the number of push accumulations corresponding to the message is greater than or equal to the second preset threshold, step 705 or step 706 is performed.
  • Step 705 When the time difference is greater than or equal to the first preset threshold, and the number of push cumulative times corresponding to the message is greater than or equal to the second preset threshold, determine the presentation prompt interface, and perform step 707.
  • Step 706 Determine the presentation prompt interface when the time difference is greater than or equal to the first preset threshold, or the number of push cumulative times corresponding to the message is greater than or equal to the second preset threshold.
  • the prompting interface is used to prompt the user whether to perform a second subscription operation for the target account.
  • Step 707 When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message sent by the server and pushed by the target account.
  • the prompting interface has at least a second interactive control and a third interactive control, where the second interactive control is used to accept the second subscription operation, and the third interactive control is used to connect Rejected subscription operation.
  • FIG. 8 is a schematic flowchart diagram 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 to pay attention" operation for the public number.
  • Step 802 The terminal records the current time as T1.
  • Step 803 The terminal receives a message sent by the server and sent by the public number, and the message carries the following information: T1, T2, and n.
  • T1 refers to the time corresponding to the “try to pay attention” operation
  • T2 refers to the push time corresponding to the message
  • n refers to the cumulative push times corresponding to the message.
  • Step 805 The terminal determines 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 performed, otherwise, step 803 is performed.
  • T and N are preset thresholds, respectively.
  • Step 806 The prompting interface is displayed, whether the terminal obtains the “continue attention” operation, and if yes, step 807 is performed, otherwise, step 808 is performed.
  • Step 807 The terminal continues to receive the message sent by the public number sent by the server.
  • Step 808 The terminal cancels the attention to the public number.
  • FIG. 9 is a first 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:
  • the obtaining unit 901 is configured to obtain a first subscription operation for the target account.
  • the generating unit 902 is configured to generate a subscription message based on the first subscription operation
  • the sending unit 903 is configured to send the subscription message to the server
  • the receiving unit 904 is configured to receive the message pushed by the target account
  • the parsing unit 905 is configured to parse the message pushed by the target account, and obtain a push time corresponding to the message and/or a push cumulative number corresponding to the message;
  • the determining unit 906 is configured to determine whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription for the target account, based on a push time corresponding to the message and/or a cumulative number of pushes corresponding to the message. operating;
  • the receiving unit 904 is further configured to continue to receive the message of the target account push when the prompting interface is displayed and a second subscription operation for the target account is obtained.
  • the implementation functions of the units in the apparatus for subscribing to the message shown in FIG. 9 can be understood by referring to the related description of the method of subscribing to the foregoing message.
  • the functions of the units in the device for subscribing to the message shown in FIG. 9 can be implemented by a program running on the processor, or can be realized by a specific logic circuit.
  • FIG. 10 is a second structural diagram of an apparatus for subscribing to a message according to an embodiment of the present invention. As shown in FIG. 10, the apparatus includes:
  • the obtaining unit 901 is configured to obtain a first subscription operation for the target account.
  • the generating unit 902 is configured to generate a subscription message based on the first subscription operation
  • the sending unit 903 is configured to send the subscription message to the server
  • the receiving unit 904 is configured to receive the message pushed by the target account
  • the parsing unit 905 is configured to parse the message pushed by the target account, and obtain a push time corresponding to the message and/or a push cumulative number corresponding to the message;
  • the determining unit 906 is configured to determine whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription for the target account, based on a push time corresponding to the message and/or a cumulative number of pushes corresponding to the message. operating;
  • the receiving unit 904 is further configured to continue to receive the message of the target account push when the prompting interface is displayed and a second subscription operation for the target account is obtained.
  • the device further includes:
  • the display unit 907 is configured to display 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 configured to accept the first subscription operation.
  • the obtaining unit 901 is specifically configured to obtain a first subscription operation located on the first interaction control
  • the generating unit 902 is configured to generate a subscription message based on the first subscription operation, where the subscription message carries a subscription time corresponding to the first subscription operation;
  • the sending unit 903 is specifically configured to send a subscription message carrying a subscription time corresponding to the first subscription operation to the server.
  • the parsing unit 905 is further configured to: when parsing the message pushed by the target account, obtain a subscription time corresponding to the first subscription operation;
  • the determining unit 906 includes:
  • the first determining sub-unit 9061 is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation; or
  • the second determining subunit 9062 is configured to determine whether to display the prompting interface based on the number of push cumulative times corresponding to the message; or
  • the third determining sub-unit 9063 is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation, and the cumulative number of pushes corresponding to the message.
  • the first determining sub-unit 9061 is configured to calculate a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation; the terminal determines the time difference Whether the value is greater than or equal to the first preset threshold; when the time difference is greater than or equal to the first preset threshold, determining the presentation prompt interface.
  • the second determining sub-unit 9062 is configured to determine whether the cumulative number of pushes corresponding to the message is greater than or equal to a second preset threshold; the cumulative number of pushes corresponding to the message is greater than or equal to the second preset. At the threshold, the presentation prompt interface is determined.
  • the third determining subunit 9063 is specifically configured to calculate the a time difference between the push time corresponding to the message and the subscription time corresponding to the first subscription operation; the terminal determining whether the time difference value is greater than or equal to a first preset threshold, and determining whether the push cumulative number corresponding to the message is And a second preset threshold; the time difference is greater than or equal to the first preset threshold, and the push cumulative number corresponding to the message is greater than or equal to the second preset threshold, and the display prompt interface is determined; or the time difference is When the value is greater than or equal to the first preset threshold, or the push cumulative number corresponding to the message is greater than or equal to the second preset threshold, the display prompt interface is determined.
  • the prompting interface has at least a second interactive control for accepting the second subscription operation, and a third interactive control for accepting the rejected subscription. operating.
  • the implementation functions of the units in the apparatus for subscribing to the message shown in FIG. 10 can be understood by referring to the related description of the method of subscribing to the foregoing message.
  • the functions of the units in the device for subscribing to the message shown in FIG. 10 can be implemented by a program running on the processor, or can be realized by a specific logic circuit.
  • the device for subscribing to the message in the embodiment of the present invention may also be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • an embodiment of the present invention further provides a computer storage medium, where computer executable instructions are stored, and when the computer executable instructions are executed by a processor, the embodiment of the present invention is implemented.
  • the computer device 10 may include one or more (only one shown) processor 12 (the processor 12 may include but is not limited to A processing device such as a Micro Controller Unit (MCU) or a Field Programmable Gate Array (FPGA), a memory 14 for storing data, and a transmission device 16 for communication functions.
  • processor 12 may include but is not limited to A processing device such as a Micro Controller Unit (MCU) or a Field Programmable Gate Array (FPGA), a memory 14 for storing data, and a transmission device 16 for communication functions.
  • MCU Micro Controller Unit
  • FPGA Field Programmable Gate Array
  • FIG. 11 is merely illustrative and does not limit the structure of the above electronic device.
  • computer device 10 may also include more or fewer components than shown in FIG. 11, or have a different configuration than that shown in FIG.
  • the memory 14 can 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 the embodiment of the present invention, and the processor 12 executes each by executing a software program and a module stored in the memory 14.
  • a functional application and data processing, that is, the above method is implemented.
  • 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.
  • memory 14 may further include memory remotely located relative to processor 12, which may be connected to computer device 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 16 is for receiving or transmitting data via a network.
  • the network specific examples described above may include a wireless network provided by a communication provider of computer device 10.
  • the transmission device 16 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 16 can be a radio frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF radio frequency
  • the disclosed method and smart device may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one second processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

Landscapes

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

Abstract

A method and device for subscribing a message, a computer apparatus, and a computer storage medium. The method comprises: a terminal obtains a first subscription operation for 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 (202); the terminal parses the message pushed by the target account to obtain a pushing time corresponding to the message and/or an accumulated number of pushes corresponding to the message (203); the terminal determines, based on the pushing time corresponding to the message and/or the accumulated number of pushes corresponding to the message, whether to display a prompting interface, the prompting interface being used for providing to a user a prompt of whether to perform a second subscription operation on the target account (204); if the terminal displays the prompting interface and obtains the second subscription operation for the target account, continue receiving a message pushed by the target account (205).

Description

订阅消息的方法及装置、计算机设备、计算机存储介质Method and device for subscribing to messages, computer equipment, computer storage medium 技术领域Technical field
本发明涉及互联网领域中的消息推送技术,尤其涉及一种订阅消息的方法及装置、计算机设备、计算机存储介质。The present invention relates to a message push technology in the field of the Internet, and in particular, to a method and device for subscribing to a message, a computer device, and a computer storage medium.
背景技术Background technique
公共号是开发者或商家在公众平台上申请的应用账号,开发者或商家通过公众号可在应用平台上实现和特定群体的沟通互动。对于用户而言,需要搜索并关注公众号,才可以接收到该公众号推送的消息,也即用户订阅了该公众号的消息。The public number is an application account that the developer or merchant applies for on the public platform, and the developer or the merchant can realize the communication and interaction with the 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 before receiving the message pushed by the public number, that is, the user subscribes to the public number.
如果用户想取消订阅公众号的消息,则用户需要手动取消对该公众号的关注,这样才不再接收该公众号推送的消息。随着用户关注的公众号越来越多,导致越来越多的订阅消息推送给用户,大量的消息会导致用户查看的主动性降低,甚至放弃查看订阅消息,这导致公众号与用户之间的沟通互动效率降低,公众号的功能逐渐被边缘化。If the user wants to cancel the message of subscribing to 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 no longer received. As more and more public numbers are of interest to users, more and more subscription messages are pushed to users. A large number of messages may lead to a decrease in the initiative of users to view, or even give up viewing subscription messages, which results in a relationship between the public number and the user. The communication and communication efficiency is reduced, and the function of the public number is gradually marginalized.
发明内容Summary of the invention
本发明实施例提供了一种订阅消息的方法及装置、计算机设备、计算机存储介质。Embodiments of the present invention provide a method and apparatus for subscribing to a message, a computer device, and a computer storage medium.
本发明实施例提供的订阅消息的方法,包括:The method for subscribing to a message provided by the embodiment of the present invention includes:
终端获得针对目标账号的第一订阅操作,基于所述第一订阅操作生成订阅消息,向服务器发送所述订阅消息;The terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server;
所述终端接收所述目标账号推送的消息;Receiving, by the terminal, the message pushed by the target account;
所述终端对所述目标账号推送的消息进行解析,得到所述消息对应的 推送时间和/或所述消息对应的推送累积次数;The terminal parses the message pushed by the target account to obtain a corresponding message. Push time and/or push cumulative number corresponding to the message;
所述终端基于所述消息对应的推送时间和/或所述消息对应的推送累积次数,确定是否展示提示界面,所述提示界面用于提示用户是否针对所述目标账号执行第二订阅操作;Determining, by the terminal, whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription operation for the target account, based on a push time corresponding to the message and/or a cumulative number of pushes corresponding to the message;
所述终端展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述目标账号推送的消息。When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message of the target account push.
本发明实施例中,所述方法还包括:In the embodiment of the present invention, the method further includes:
所述终端展示目标账号对应的交互界面,所述交互界面上至少具有第一交互控件,所述第一交互控件用于接受所述第一订阅操作;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 configured to accept the first subscription operation;
所述终端获得针对目标账号的第一订阅操作,基于所述第一订阅操作生成订阅消息,向服务器发送所述订阅消息,包括:The terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server, including:
所述终端获得位于所述第一交互控件上的第一订阅操作时,基于所述第一订阅操作生成订阅消息,其中,所述订阅消息携有所述第一订阅操作对应的订阅时间;When the terminal obtains the first subscription operation on the first interaction control, generating a subscription message based on the first subscription operation, where the subscription message carries a subscription time corresponding to the first subscription operation;
所述终端将携有所述第一订阅操作对应的订阅时间的订阅消息发送给所述服务器。The terminal sends a subscription message carrying the subscription time corresponding to the first subscription operation to the server.
本发明实施例中,所述方法还包括:In the embodiment of the present invention, the method further includes:
所述终端对所述目标账号推送的消息进行解析时,还得到所述第一订阅操作对应的订阅时间;When the terminal parses the message pushed by the target account, the terminal also obtains a subscription time corresponding to the first subscription operation;
所述终端基于所述消息对应的推送时间和/或所述消息对应的推送累积次数,确定是否展示提示界面,包括:The determining, by the terminal, whether to display the prompting interface, based on the pushing time corresponding to the message and/or the cumulative number of pushes corresponding to the message, includes:
所述终端基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,确定是否展示提示界面;或者,Determining, by the terminal, whether to display a prompt interface based on a push time corresponding to the message and a subscription time corresponding to the first subscription operation; or
所述终端基于所述消息对应的推送累积次数,确定是否展示提示界面;或者, Determining, by the terminal, whether to display a prompt interface based on the number of push accumulations corresponding to the message; or
所述终端基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,以及所述消息对应的推送累积次数,确定是否展示提示界面。The terminal determines whether to display the prompt interface based on the push time corresponding to the message and the subscription time corresponding to the first subscription operation, and the number of push accumulations corresponding to the message.
本发明实施例中,所述终端基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,确定是否展示提示界面,包括:In the embodiment of the present invention, the terminal determines whether to display the prompting interface according to the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation, including:
所述终端计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;The terminal calculates a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation;
所述终端判断所述时间差值是否大于等于第一预设阈值;Determining, by the terminal, whether the time difference value is greater than or equal to a first preset threshold;
所述时间差值大于等于第一预设阈值时,确定展示提示界面。When the time difference is greater than or equal to the first preset threshold, the display prompt interface is determined.
本发明实施例中,所述终端基于所述消息对应的推送累积次数,确定是否展示提示界面,包括:In the embodiment of the present invention, the terminal determines whether to display the prompt interface based on the number of push cumulative times corresponding to the message, including:
所述终端判断所述消息对应的推送累积次数是否大于等于第二预设阈值;Determining, by the terminal, whether the number of push accumulations corresponding to the message is greater than or equal to a second preset threshold;
所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。When the number of push accumulations corresponding to the message is greater than or equal to the second preset threshold, the display prompt interface is determined.
本发明实施例中,所述终端基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,以及所述消息对应的推送累积次数,确定是否展示提示界面,包括:In the embodiment of the present invention, the terminal determines whether to display the prompting interface according to the pushing time corresponding to the message, the subscription time corresponding to the first subscription operation, and the number of push cumulative times corresponding to the message, including:
所述终端计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;The terminal calculates a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation;
所述终端判断所述时间差值是否大于等于第一预设阈值,以及判断所述消息对应的推送累积次数是否大于等于第二预设阈值;Determining, by the terminal, whether the time difference value is greater than or equal to a first preset threshold, and determining whether the number of push cumulative times corresponding to the message is greater than or equal to a second preset threshold;
所述时间差值大于等于第一预设阈值,且所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面;或者,所述时间差值大于等于第一预设阈值,或所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。 When the time difference is greater than or equal to the first preset threshold, and the number of push cumulative times corresponding to the message is greater than or equal to the second preset threshold, the display prompting interface is determined; or the time difference is greater than or equal to the first preset threshold. Or, when the number of push accumulations corresponding to the message is greater than or equal to a second preset threshold, determining a presentation prompt interface.
本发明实施例中,所述提示界面上至少具有第二交互控件和第三交互控件,所述第二交互控件用于接受所述第二订阅操作,所述第三交互控件用于接受拒绝订阅操作。In the embodiment of the present invention, the prompting interface has at least a second interactive control for accepting the second subscription operation, and a third interactive control for accepting the rejected subscription. operating.
本发明实施例提供的订阅消息的装置,包括:The device for subscribing to a message provided by the embodiment of the present invention includes:
获取单元,配置为获得针对目标账号的第一订阅操作;An obtaining unit configured to obtain a first subscription operation for a target account;
生成单元,配置为基于所述第一订阅操作生成订阅消息;a generating unit, configured to generate a subscription message based on the first subscription operation;
发送单元,配置为向服务器发送所述订阅消息;a sending unit, configured to send the subscription message to a server;
接收单元,配置为接收所述目标账号推送的消息;a receiving unit, configured to receive a message pushed by the target account;
解析单元,配置为对所述目标账号推送的消息进行解析,得到所述消息对应的推送时间和/或所述消息对应的推送累积次数;The parsing unit 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 is configured to determine whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription operation for the target account, based on a push time corresponding to the message and/or a cumulative number of pushes corresponding to the message. ;
所述接收单元,还配置为当展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述目标账号推送的消息。The receiving unit is further configured to continue to receive the message pushed by the target account when the prompting interface is displayed and a second subscription operation for the target account is obtained.
本发明实施例中,所述装置还包括:In the embodiment of the present invention, the device further includes:
展示单元,配置为展示目标账号对应的交互界面,所述交互界面上至少具有第一交互控件,所述第一交互控件用于接受所述第一订阅操作;The display unit is configured to display 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 configured to accept the first subscription operation;
所述获取单元,具体配置为获得位于所述第一交互控件上的第一订阅操作;The obtaining unit is specifically configured to obtain a first subscription operation located on the first interaction control;
所述生成单元,具体配置为基于所述第一订阅操作生成订阅消息,其中,所述订阅消息携有所述第一订阅操作对应的订阅时间;The generating unit is configured to generate a subscription message based on the first subscription operation, where the subscription message carries a subscription time corresponding to the first subscription operation;
所述发送单元,具体配置为将携有所述第一订阅操作对应的订阅时间的订阅消息发送给所述服务器。The sending unit is specifically configured to send a subscription message carrying a subscription time corresponding to the first subscription operation to the server.
本发明实施例中,所述解析单元,还配置为对所述目标账号推送的消 息进行解析时,还得到所述第一订阅操作对应的订阅时间;In the embodiment of the present invention, the parsing unit is further configured to send the target account When the information is parsed, the subscription time corresponding to the first subscription operation is also obtained;
所述判断单元包括:The determining unit includes:
第一判断子单元,配置为基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,确定是否展示提示界面;或者,The first determining sub-unit is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation; or
第二判断子单元,配置为基于所述消息对应的推送累积次数,确定是否展示提示界面;或者,The second determining subunit is configured to determine whether to display the prompting interface based on the number of push cumulative times corresponding to the message; or
第三判断子单元,配置为基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,以及所述消息对应的推送累积次数,确定是否展示提示界面。The third determining sub-unit is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation, and the number of push cumulative times corresponding to the message.
本发明实施例中,所述第一判断子单元,具体配置为计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;所述终端判断所述时间差值是否大于等于第一预设阈值;所述时间差值大于等于第一预设阈值时,确定展示提示界面。In the embodiment of the present invention, the first determining sub-unit is configured to calculate a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation; and the terminal determines the time difference value. Whether it is greater than or equal to the first preset threshold; when the time difference is greater than or equal to the first preset threshold, determining the presentation prompt interface.
本发明实施例中,所述第二判断子单元,具体配置为判断所述消息对应的推送累积次数是否大于等于第二预设阈值;所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。In the embodiment of the present invention, the second determining sub-unit is configured to determine whether the number of push cumulative times corresponding to the message is greater than or equal to a second preset threshold; and the push cumulative number corresponding to the message is greater than or equal to a second preset threshold. When the time is displayed, the display prompt interface is determined.
本发明实施例中,所述第三判断子单元,具体配置为计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;所述终端判断所述时间差值是否大于等于第一预设阈值,以及判断所述消息对应的推送累积次数是否大于等于第二预设阈值;所述时间差值大于等于第一预设阈值,且所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面;或者,所述时间差值大于等于第一预设阈值,或所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。In the embodiment of the present invention, the third determining sub-unit is configured to calculate a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation; and the terminal determines the time difference value. Whether it is greater than or equal to the first preset threshold, and whether the number of push cumulative times corresponding to the message is greater than or equal to a second preset threshold; the time difference is greater than or equal to the first preset threshold, and the push cumulative number corresponding to the message When the second preset threshold is greater than or equal to the second preset threshold, the display prompting interface is determined; or, when the time difference is greater than or equal to the first preset threshold, or the push cumulative number corresponding to the message is greater than or equal to the second preset threshold, determining the display prompt interface.
本发明实施例中,所述提示界面上至少具有第二交互控件和第三交互控件,所述第二交互控件用于接受所述第二订阅操作,所述第三交互控件 用于接受拒绝订阅操作。In the embodiment of the present invention, the prompting interface has at least a second interactive control and a third interactive control, where the second interactive control is configured to accept the second subscription operation, and the third interactive control Used to accept the rejection of subscription operations.
本发明实施例提供的计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机可执行指令,其特征在于,所述处理器执行所述计算机可执行指令时实现上述的订阅消息的方法。The computer device provided by the embodiment of the present invention includes a memory, a processor, and computer executable instructions stored on the memory and operable on the processor, wherein the processor implements the above when executing the computer executable instruction The method of subscribing to a message.
本发明实施例提供的计算机存储介质,其上存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现上述的订阅消息的方法。The computer storage medium provided by the embodiment of the present invention has stored thereon computer executable instructions, and the method for implementing the above-mentioned subscription message when the computer executable instructions are executed by the processor.
本发明实施例的技术方案中,终端获得针对目标账号(也即公众号)的第一订阅操作(也即试关注操作),基于所述第一订阅操作生成订阅消息,向服务器发送所述订阅消息;所述终端接收所述目标账号推送的消息;所述终端对所述目标账号推送的消息进行解析,得到所述消息对应的推送时间和/或所述消息对应的推送累积次数;所述终端基于所述消息对应的推送时间和/或所述消息对应的推送累积次数,确定是否展示提示界面,所述提示界面用于提示用户是否针对所述目标账号执行第二订阅操作(也即关注操作);所述终端展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述目标账号推送的消息。采用本发明实施例的技术方案,用户可以对公众号进行试关注,当试关注达到一定时长后或者试关注的消息达到一定量后,用户再决定是否永久关注(简称为关注)该公众号,从而便于用户根据体验决定是否关注某些公众号,避免用户关注过多无用的公众号而导致接收到繁多的消息,保障了公众号与用户之间的沟通互动效率,避免了公众号被边缘化。In the technical solution of the embodiment of the present invention, the terminal obtains a first subscription operation (ie, a trial attention operation) for the target account (that is, the public number), generates a subscription message based on the first subscription operation, and sends the subscription to the server. The message is received by the terminal; the terminal parses the message pushed by the target account, and obtains a push time corresponding to the message and/or a push cumulative number corresponding to the message; Determining whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription operation (ie, attention) according to the pushing time corresponding to the message and/or the cumulative number of pushes corresponding to the message. When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message pushed by the target account. With the technical solution of the embodiment of the present invention, the user can pay attention to the public number. After the test reaches a certain period of time or the message of the test attention reaches a certain amount, the user decides whether to permanently pay attention to the public number. Therefore, it is convenient for the user to decide whether to pay attention to certain public numbers according to the experience, to avoid the user paying attention to too many useless public numbers, and to receive a large number of messages, thereby ensuring the communication and interaction efficiency between the public number and the user, and avoiding the public number being marginalized. .
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为本发明实施例中进行信息交互的各方硬件实体的示意图; 1 is a schematic diagram of hardware entities of each party performing information interaction in an embodiment of the present invention;
图2为本发明实施例的订阅消息的方法的流程示意图一;2 is a schematic flowchart 1 of a method for subscribing to a message according to an embodiment of the present invention;
图3为本发明实施例的公众号的界面示意图一;3 is a schematic diagram 1 of an interface of a public number according to an embodiment of the present invention;
图4为本发明实施例的公众号的界面示意图二;4 is a schematic diagram 2 of an interface of a public number according to an embodiment of the present invention;
图5为本发明实施例的订阅消息的方法的流程示意图二;FIG. 5 is a second schematic flowchart of a method for subscribing to a message according to an embodiment of the present invention;
图6为本发明实施例的订阅消息的方法的流程示意图三;FIG. 6 is a schematic flowchart 3 of a method for subscribing to a message according to an embodiment of the present invention;
图7为本发明实施例的订阅消息的方法的流程示意图四;FIG. 7 is a schematic flowchart 4 of a method for subscribing to a message according to an embodiment of the present invention;
图8为本发明实施例的订阅消息的方法的流程示意图五;FIG. 8 is a schematic flowchart 5 of a method for subscribing to a message according to an embodiment of the present invention;
图9为本发明实施例的订阅消息的装置的结构组成示意图一;FIG. 9 is a first schematic structural diagram of an apparatus for subscribing to a message according to an embodiment of the present invention;
图10为本发明实施例的订阅消息的装置的结构组成示意图二;FIG. 10 is a second schematic structural diagram of an apparatus for subscribing to a message according to an embodiment of the present invention;
图11为本发明实施例的计算机设备的结构组成示意图。FIG. 11 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图1为本发明实施例中进行信息交互的各方硬件实体的示意图,图1中包括:服务器11、终端21-24,终端21-24通过有线网络或者无线网络与服务器11进行信息交互,终端包括手机、台式机、PC机、一体机等类型,一个示例中,服务器11可以通过网络与第一类终端(如公众号的开发者或商家所在的终端)进行交互,第一类终端在服务器中提交素材并注册公众号。相对于第一类终端而言,终端设备21-24可以称为第二类终端(如普通用户所在的终端,或称为公众号推送消息的对象),第二类终端中安装有与服务器进行交互的应用,通过该应用可以展示公众号的内容,例如图片、文字、音频、视频,当第二类终端关注某个公众号后,服务器会定期或不定期地向第二类终端推送该公众号的消息。FIG. 1 is a schematic diagram of hardware entities of each party performing information interaction according to an embodiment of the present invention. FIG. 1 includes: a server 11 and a terminal 21-24. The terminal 21-24 exchanges information with the server 11 through a wired network or a wireless network. Including an example of a mobile phone, a desktop computer, a PC, an all-in-one, etc., 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 a network, and the first type of terminal is at the server. Submit the material and register the public number. The terminal device 21-24 may be referred to as a second type terminal (such as a terminal where a normal user is located, or an object called a public number push message), and the second type terminal is installed with a server. An interactive application through which the content of the public number, such as pictures, text, audio, and video, can be displayed. When the second type of terminal pays attention to a certain public number, the server periodically or irregularly pushes the public to the second type of terminal. No. message.
上述图1的例子只是实现本发明实施例的一个系统架构实例,本发明 实施例并不限于上述图1所述的系统结构,基于该系统架构,提出本发明各个实施例。The above example of FIG. 1 is only an example of a system architecture for implementing an embodiment of the present invention, and the present invention The embodiment is not limited to the system structure described above with respect to FIG. 1, and various embodiments of the present invention are proposed based on the system architecture.
图2为本发明实施例的订阅消息的方法的流程示意图一,如图2所示,所述订阅消息的方法包括以下步骤:2 is a schematic flowchart 1 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:
步骤201:终端获得针对目标账号的第一订阅操作,基于所述第一订阅操作生成订阅消息,向服务器发送所述订阅消息。Step 201: The terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server.
本发明实施例中,终端可以是手机、平板电脑、笔记本、台式机等任意类型的终端,终端中安装有应用(APP),该应用可以是即时通讯类的APP,也可以是支持融合通信(RCS)功能的APP。这里,融合通信是一种结合了网络消息与传统短彩信的通信技术,例如:通过融合通信功能能够实现将网络端的信息发送到某个手机号。In the embodiment of the present invention, the terminal may be any type of terminal such as a mobile phone, a tablet computer, a notebook, a desktop computer, etc., and an application (APP) is installed in the terminal, and the application may be an instant messaging APP or a fusion communication ( RCS) function of the app. Here, the converged communication is a communication technology that combines network messages with traditional short multimedia messages. For example, the information of the network side can be transmitted to a certain mobile phone number through the converged communication function.
本发明实施例中的应用具有公众号功能,用户通过应用能够搜索并关注指定的公众号,从而接收到公众号推送的消息。The application in the embodiment of the present invention has a public number function, and the user can search for and pay attention to the designated public number through the application, thereby receiving the message pushed by the public number.
本发明实施例中,目标账号是指某个公众号,公众号可以但不局限于为以下标识:手机号、昵称、字符串组合、二维码。In the embodiment of the present invention, the target account refers to a certain public number, and the public number may be, but is not limited to, the following identifiers: a mobile phone number, a nickname, a string combination, and a two-dimensional code.
本发明实施例中,在步骤201之前,所述终端展示目标账号对应的交互界面,所述交互界面上至少具有第一交互控件,所述第一交互控件用于接受所述第一订阅操作。具体地,如图3所示,用户搜索到公众号后,进入到该公众号的关注界面,这个关注界面也即是目标账号对应的交互界面,在关注界面上具有“试关注”控件,也即第一交互控件。在一实施方式中,关注界面上还可以具有“关注”控件。这里,如果用户点击“试关注”控件,则会执行本发明实施例的以下步骤202至步骤205;如果用户点击“关注”控件,则终端永久接收服务器发送的由该公众号推送的消息,直到用户取消对该公众号的关注为止。In the embodiment of the present invention, before the 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 configured to accept the first subscription operation. Specifically, as shown in FIG. 3, after the user searches for the public number, the user enters the attention interface of the public number, and the attention interface is the interactive interface corresponding to the target account, and has a “try to pay attention” control on the attention interface. That is the first interactive control. In an embodiment, the attention interface may also have a "follow" control. Here, if the user clicks the "Try" control, the following steps 202 to 205 of the embodiment of the present invention are executed; if the user clicks the "Follow" control, the terminal permanently receives the message sent by the server by the public number until The user cancels the attention to the public number.
本发明实施例中,终端获得位于所述第一交互控件上的第一订阅操作 时,基于所述第一订阅操作生成订阅消息,其中,所述订阅消息携有所述第一订阅操作对应的订阅时间;所述终端将携有所述第一订阅操作对应的订阅时间的订阅消息发送给所述服务器。In the embodiment of the present invention, the terminal obtains a first subscription operation located on the first interaction control Generating a subscription message based on the first subscription operation, wherein the subscription message carries a subscription time corresponding to the first subscription operation; the terminal will carry a subscription subscription time corresponding to the first subscription operation A message is sent to the server.
上述方案中,第一订阅操作对应的订阅时间可以是以下时间:In the above solution, the subscription time corresponding to the first subscription operation may be the following:
终端获得位于所述第一交互控件上的第一订阅操作的时间;或者,Receiving, by the terminal, a time of the first subscription operation on the first interactive control; or
终端基于所述第一订阅操作生成订阅消息的时间。The time at which the terminal generates a subscription message based on the first subscription operation.
本发明实施例中,第一订阅操作对应的订阅时间也可以不携带在订阅消息中,这种情况下,第一订阅操作对应的订阅时间可以是以下时间:服务器接收到订阅消息的时间。In the embodiment of the present invention, the subscription time corresponding to the first subscription operation may not be carried in the subscription message. In this case, the subscription time corresponding to the first subscription operation may be the time when the server receives the subscription message.
本发明实施例中,服务器接收到订阅消息后,便可以确定出第一订阅操作对应的订阅时间,记录第一订阅操作对应的订阅时间为T1。In the embodiment of the present invention, after receiving the subscription message, the server can determine the subscription time corresponding to the first subscription operation, and record the subscription time corresponding to the first subscription operation as T1.
步骤202:所述终端接收所述目标账号推送的消息。Step 202: The terminal receives the message pushed by the target account.
本发明实施例中,当终端订阅了目标账号的消息后,服务器便定期或不定期地向终端推送该目标账号的消息。这里,服务器向终端发送的消息中携带如下信息的至少之一:消息对应的推送时间、消息对应的推送累积次数、订阅操作对应的订阅时间。In the embodiment of the present invention, after the terminal subscribes to the message of the target account, the server periodically or irregularly pushes the message of the target account to the terminal. Here, the message sent by the server to the terminal carries at least one of the following information: a push time corresponding to the message, a push cumulative number corresponding to the message, and a subscription time corresponding to the subscription operation.
其中,消息对应的推送时间是指服务器发送消息的时间T2。The push time corresponding to the message refers to the time T2 when the server sends the message.
其中,消息对应的推送累积次数是指服务器发送消息的累积量,例如:当终端订阅了目标账号的消息后,服务器第一次向终端发送该目标账号的消息时,对应的消息的推送累积次数为1,服务器第二次向终端发送该目标账号的消息时,对应的消息的推送累积次数为2,依次类推,服务器第n次向终端发送该目标账号的消息时,对应的消息的推送累积次数为n。The cumulative number of pushes corresponding to the message refers to the cumulative amount of messages sent by the server. For example, when the terminal subscribes to the message of the target account, the first time the server sends the message of the target account to the terminal, the cumulative number of pushes of the corresponding message. If the server sends the message of the target account to the terminal for the second time, the cumulative number of pushes of the corresponding message is 2, and so on. When the server sends the message of the target account to the terminal for the nth time, the push accumulation of the corresponding message is performed. The number of times is n.
步骤203:所述终端对所述目标账号推送的消息进行解析,得到所述消息对应的推送时间和/或所述消息对应的推送累积次数。Step 203: The terminal parses the message pushed by the target account, and obtains a push time corresponding to the message and/or a push cumulative number corresponding to the message.
本发明实施例中,终端对所述目标账号推送的消息进行解析,得到如 下信息的至少之一:消息对应的推送时间、消息对应的推送累积次数、订阅操作对应的订阅时间。In the embodiment of the present invention, the terminal parses the message pushed by the target account, and obtains, for example, At least one of the following information: a push time corresponding to the message, a push cumulative number corresponding to the message, and a subscription time corresponding to the subscription operation.
在一应用场景中,终端可以只解析得到消息对应的推送时间、消息对应的推送累积次数,其中,订阅操作对应的订阅时间可以是终端本身确定出。In an application scenario, the terminal may only parse the push time corresponding to the message and the push cumulative 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 parses the push time corresponding to the message, the push cumulative number corresponding to the message, and the subscription time corresponding to the subscription operation, where the subscription time corresponding to the subscription operation is determined by the server.
上述方案中,终端获取到的内容可以是以下组合的任意一种:In the above solution, the content acquired by the terminal may be any combination of the following:
消息对应的推送时间、订阅操作对应的订阅时间;The push time corresponding to the message and the subscription time corresponding to the subscription operation;
消息对应的推送累积次数;The cumulative number of pushes corresponding to the message;
消息对应的推送时间、订阅操作对应的订阅时间、消息对应的推送累积次数。The push time corresponding to the message, the subscription time corresponding to the subscription operation, and the cumulative number of pushes corresponding to the message.
步骤204:所述终端基于所述消息对应的推送时间和/或所述消息对应的推送累积次数,确定是否展示提示界面,所述提示界面用于提示用户是否针对所述目标账号执行第二订阅操作。Step 204: The terminal determines whether to display a prompt interface according to the push time corresponding to the message and/or the number of push cumulative times corresponding to the message, where the prompt interface is used to prompt the user whether to perform a second subscription for the target account. operating.
本发明实施例中,确定是否展示提示界面可以通过以下方式来实现:In the embodiment of the present invention, determining whether to display the prompt interface may be implemented by:
方式一:终端基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,确定是否展示提示界面。Manner 1: The terminal determines whether to display the prompt interface based on the push time corresponding to the message and the subscription time corresponding to the first subscription operation.
这种方式中,终端只需获取如下内容:消息对应的推送时间、订阅操作对应的订阅时间。In this manner, the terminal only needs to obtain the following content: the push time corresponding to the message, and the subscription time corresponding to the subscription operation.
方式二:终端基于所述消息对应的推送累积次数,确定是否展示提示界面。Manner 2: The terminal determines whether to display the prompt interface based on the cumulative number of pushes corresponding to the message.
这种方式中,终端只需获取如下内容:消息对应的推送累积次数。In this way, the terminal only needs to obtain the following content: the cumulative number of pushes corresponding to the message.
方式三:终端基于所述消息对应的推送时间以及所述第一订阅操作对 应的订阅时间,以及所述消息对应的推送累积次数,确定是否展示提示界面。Manner 3: The terminal is based on the push time corresponding to the message and the first subscription operation pair The subscription time, and the cumulative number of pushes corresponding to the message, determine whether to display the prompt interface.
这种方式中,终端需要获取如下内容:消息对应的推送时间、订阅操作对应的订阅时间、消息对应的推送累积次数。In this manner, the terminal needs to obtain the following content: the push time corresponding to the message, the subscription time corresponding to the subscription operation, and the cumulative number of pushes corresponding to the message.
步骤205:所述终端展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述目标账号推送的消息。Step 205: When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message of the target account push.
本发明实施例中,提示界面上至少具有第二交互控件和第三交互控件,所述第二交互控件用于接受所述第二订阅操作,所述第三交互控件用于接受拒绝订阅操作。In the embodiment of the present invention, the prompting interface has at least a second interactive control for accepting the second subscription operation, and the third interactive control is configured to accept the reject subscription operation.
具体地,如图4所示,提示界面上具有“继续关注”控件和“取消关注”控件,其中,“继续关注”控件也即是第二交互控件,当用户点击“继续关注”控件时,代表用户永久关注公众号,当用户点击“取消关注”时,代表用户取消对该公众号的“试关注”。Specifically, as shown in FIG. 4, the prompt interface has a “continue attention” control and a “unfollow” control, wherein the “continue attention” control is also the second interactive control, when the user clicks the “continue attention” control, On behalf of the user, the public number is permanently concerned. When the user clicks “unfollow”, the user cancels the “try to pay attention” to the public number.
本发明实施例中,终端获得针对所述目标账号的第二订阅操作时,可以不做任何操作,服务器侧会继续向终端发送由所述目标账号推送的消息,反之,终端获得拒绝订阅操作时,生成取消订阅消息,向服务器发送取消订阅消息,服务器接收到取消订阅消息时,便终止向终端发送由所述目标账号推送的消息。当然,终端获得针对所述目标账号的第二订阅操作时,也可以向服务器发送一个指示消息,指示服务器继续向终端发送由所述目标账号推送的消息。In the embodiment of the present invention, when the terminal obtains the second subscription operation for the target account, the terminal may perform no operation, and the server side continues to send the message pushed by the target account to the terminal, and vice versa, when the terminal obtains the subscription rejection operation. And generating an unsubscribe message, sending an unsubscribe message to the server, and when the server receives the unsubscribe message, terminating sending the message pushed by the target account to the terminal. Certainly, when the terminal obtains the second subscription operation for the target account, the terminal may also send an indication message to the server, instructing the server to continue to send the message pushed by the target account to the terminal.
本发明实施例的技术方案,提供了一种关注公众号的方式,允许用户尝试接收一些推送消息或经过一段时间后,再决定是否要继续关注该公众号,有效避免了公众号关注堆积而导致公众号功能边缘化的问题。The technical solution of the embodiment of the present invention provides a method for paying attention to the public number, allowing the user to try to receive some push messages or after a period of time, and then deciding whether to continue to pay attention to the public number, thereby effectively avoiding the accumulation of public interest. The problem of marginalization of the public number function.
图5为本发明实施例的订阅消息的方法的流程示意图二,如图5所示,所述订阅消息的方法包括以下步骤: FIG. 5 is a schematic flowchart 2 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:
步骤501:终端获得针对目标账号的第一订阅操作,基于所述第一订阅操作生成订阅消息,向服务器发送所述订阅消息。Step 501: The terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server.
本发明实施例中,终端获得位于所述第一交互控件上的第一订阅操作时,基于所述第一订阅操作生成订阅消息,其中,所述订阅消息携有所述第一订阅操作对应的订阅时间;所述终端将携有所述第一订阅操作对应的订阅时间的订阅消息发送给所述服务器。服务器接收到订阅消息后,便可以确定出第一订阅操作对应的订阅时间,记录第一订阅操作对应的订阅时间为T1。In the embodiment of the present invention, when the terminal obtains the first subscription operation on the first interaction control, the terminal generates a subscription message based on the first subscription operation, where the subscription message carries the corresponding first subscription operation. a subscription time; the terminal sends a subscription message carrying the subscription time corresponding to the first subscription operation to the server. After receiving the subscription message, the server can determine the subscription time corresponding to the first subscription operation, and record the subscription time corresponding to the first subscription operation as T1.
步骤502:所述终端接收所述服务器发送的由所述目标账号推送的消息。Step 502: The terminal receives a message sent by the server and pushed by the target account.
本发明实施例中,当终端订阅了目标账号的消息后,服务器便定期或不定期地向终端推送该目标账号的消息。这里,服务器向终端发送的消息中携带如下信息:消息对应的推送时间、订阅操作对应的订阅时间。In the embodiment of the present invention, after the terminal subscribes to the message of the target account, the server periodically or irregularly pushes the message of the target account to the terminal. Here, the message sent by the server to the terminal carries the following information: the push time corresponding to the message, and the subscription time corresponding to the subscription operation.
其中,消息对应的推送时间是指服务器发送消息的时间T2。The push time corresponding to the message refers to the time T2 when the server sends the message.
步骤503:所述终端对所述目标账号推送的消息进行解析,得到所述消息对应的推送时间和所述订阅操作对应的订阅时间。Step 503: The terminal parses the message pushed by the target account, and obtains a push time corresponding to the message and a subscription time corresponding to the subscription operation.
步骤504:所述终端计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;所述终端判断所述时间差值是否大于等于第一预设阈值;所述时间差值大于等于第一预设阈值时,确定展示提示界面,所述提示界面用于提示用户是否针对所述目标账号执行第二订阅操作。Step 504: The terminal calculates a time difference between the push time corresponding to the message and the subscription time corresponding to the first subscription operation; the terminal determines whether the time difference is greater than or equal to a first preset threshold; When the time difference is greater than or equal to the first preset threshold, the display prompting interface is determined, and the prompting interface is used to prompt the user whether to perform a second subscription operation for the target account.
例如:假设第一预设阈值为t,t可以是1周、1个月等等,如果T2-T1≥t,则展示提示界面。For example, suppose the first preset threshold is t, t can be 1 week, 1 month, etc. If T2-T1 ≥ t, the prompt interface is displayed.
步骤505:所述终端展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述服务器发送的由所述目标账号推送的消息。 Step 505: When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message sent by the server and pushed by the target account.
本发明实施例中,提示界面上至少具有第二交互控件和第三交互控件,所述第二交互控件用于接受所述第二订阅操作,所述第三交互控件用于接受拒绝订阅操作。In the embodiment of the present invention, the prompting interface has at least a second interactive control for accepting the second subscription operation, and the third interactive control is configured to accept the reject subscription operation.
图6为本发明实施例的订阅消息的方法的流程示意图三,如图6所示,所述订阅消息的方法包括以下步骤:FIG. 6 is a schematic flowchart 3 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:
步骤601:终端获得针对目标账号的第一订阅操作,基于所述第一订阅操作生成订阅消息,向服务器发送所述订阅消息。Step 601: The terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server.
步骤602:所述终端接收所述服务器发送的由所述目标账号推送的消息。Step 602: The terminal receives a message sent by the server and pushed by the target account.
本发明实施例中,当终端订阅了目标账号的消息后,服务器便定期或不定期地向终端推送该目标账号的消息。这里,服务器向终端发送的消息中携带如下信息:所述消息对应的推送累积次数。In the embodiment of the present invention, after the terminal subscribes to the message of the target account, the server periodically or irregularly pushes the message of the target account to the terminal. Here, the message sent by the server to the terminal carries the following information: the cumulative number of pushes corresponding to the message.
其中,消息对应的推送累积次数是指服务器发送消息的累积量,例如:当终端订阅了目标账号的消息后,服务器第一次向终端发送该目标账号的消息时,对应的消息的推送累积次数为1,服务器第二次向终端发送该目标账号的消息时,对应的消息的推送累积次数为2,依次类推,服务器第n次向终端发送该目标账号的消息时,对应的消息的推送累积次数为n。The cumulative number of pushes corresponding to the message refers to the cumulative amount of messages sent by the server. For example, when the terminal subscribes to the message of the target account, the first time the server sends the message of the target account to the terminal, the cumulative number of pushes of the corresponding message. If the server sends the message of the target account to the terminal for the second time, the cumulative number of pushes of the corresponding message is 2, and so on. When the server sends the message of the target account to the terminal for the nth time, the push accumulation of the corresponding message is performed. The number of times is n.
步骤603:所述终端对所述目标账号推送的消息进行解析,得到所述消息对应的推送累积次数。Step 603: The terminal parses the message pushed by the target account, and obtains the cumulative number of pushes corresponding to the message.
步骤604:所述终端判断所述消息对应的推送累积次数是否大于等于第二预设阈值;所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面,所述提示界面用于提示用户是否针对所述目标账号执行第二订阅操作。Step 604: The terminal determines whether the number of push accumulations corresponding to the message is greater than or equal to a second preset threshold. When the number of push cumulative times corresponding to the message is greater than or equal to a second preset threshold, determining a presentation prompt interface, the prompt interface It is used to prompt the user whether to perform a second subscription operation for the target account.
例如:假设第二预设阈值为N,N可以是100、200等等,如果n≥N,则展示提示界面。 For example, suppose the second preset threshold is N, N can be 100, 200, etc. If n ≥ N, the prompt interface is displayed.
步骤605:所述终端展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述服务器发送的由所述目标账号推送的消息。Step 605: When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message sent by the server and pushed by the target account.
本发明实施例中,提示界面上至少具有第二交互控件和第三交互控件,所述第二交互控件用于接受所述第二订阅操作,所述第三交互控件用于接受拒绝订阅操作。In the embodiment of the present invention, the prompting interface has at least a second interactive control for accepting the second subscription operation, and the third interactive control is configured to accept the reject subscription operation.
图7为本发明实施例的订阅消息的方法的流程示意图三,如图7所示,所述订阅消息的方法包括以下步骤:FIG. 7 is a schematic flowchart 3 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:
步骤701:终端获得针对目标账号的第一订阅操作,基于所述第一订阅操作生成订阅消息,向服务器发送所述订阅消息。Step 701: The terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server.
本发明实施例中,终端获得位于所述第一交互控件上的第一订阅操作时,基于所述第一订阅操作生成订阅消息,其中,所述订阅消息携有所述第一订阅操作对应的订阅时间;所述终端将携有所述第一订阅操作对应的订阅时间的订阅消息发送给所述服务器。In the embodiment of the present invention, when the terminal obtains the first subscription operation on the first interaction control, the terminal generates a subscription message based on the first subscription operation, where the subscription message carries the corresponding first subscription operation. a subscription time; the terminal sends a subscription message carrying the subscription time corresponding to the first subscription operation to the server.
上述方案中,第一订阅操作对应的订阅时间可以是以下时间:In the above solution, the subscription time corresponding to the first subscription operation may be the following:
终端获得位于所述第一交互控件上的第一订阅操作的时间;或者,Receiving, by the terminal, a time of the first subscription operation on the first interactive control; or
终端基于所述第一订阅操作生成订阅消息的时间。The time at which the terminal generates a subscription message based on the first subscription operation.
本发明实施例中,第一订阅操作对应的订阅时间也可以不携带在订阅消息中,这种情况下,第一订阅操作对应的订阅时间可以是以下时间:服务器接收到订阅消息的时间。In the embodiment of the present invention, the subscription time corresponding to the first subscription operation may not be carried in the subscription message. In this case, the subscription time corresponding to the first subscription operation may be the time when the server receives the subscription message.
本发明实施例中,服务器接收到订阅消息后,便可以确定出第一订阅操作对应的订阅时间,记录第一订阅操作对应的订阅时间为T1。In the embodiment of the present invention, after receiving the subscription message, the server can determine the subscription time corresponding to the first subscription operation, and record the subscription time corresponding to the first subscription operation as T1.
步骤702:所述终端接收所述服务器发送的由所述目标账号推送的消息。Step 702: The terminal receives a message sent by the server and pushed by the target account.
本发明实施例中,当终端订阅了目标账号的消息后,服务器便定期或不定期地向终端推送该目标账号的消息。这里,服务器向终端发送的消息 中携带如下信息:消息对应的推送时间、消息对应的推送累积次数、订阅操作对应的订阅时间。In the embodiment of the present invention, after the terminal subscribes to the message of the target account, the server periodically or irregularly pushes the message of the target account to the terminal. Here, the message sent by the server to the terminal The information carries the following information: the push time corresponding to the message, the cumulative number of pushes corresponding to the message, and the subscription time corresponding to the subscription operation.
其中,消息对应的推送时间是指服务器发送消息的时间T2。The push time corresponding to the message refers to the time T2 when the server sends the message.
其中,消息对应的推送累积次数是指服务器发送消息的累积量,例如:当终端订阅了目标账号的消息后,服务器第一次向终端发送该目标账号的消息时,对应的消息的推送累积次数为1,服务器第二次向终端发送该目标账号的消息时,对应的消息的推送累积次数为2,依次类推,服务器第n次向终端发送该目标账号的消息时,对应的消息的推送累积次数为n。The cumulative number of pushes corresponding to the message refers to the cumulative amount of messages sent by the server. For example, when the terminal subscribes to the message of the target account, the first time the server sends the message of the target account to the terminal, the cumulative number of pushes of the corresponding message. If the server sends the message of the target account to the terminal for the second time, the cumulative number of pushes of the corresponding message is 2, and so on. When the server sends the message of the target account to the terminal for the nth time, the push accumulation of the corresponding message is performed. The number of times is n.
步骤703:所述终端对所述目标账号推送的消息进行解析,得到消息对应的推送时间、消息对应的推送累积次数、订阅操作对应的订阅时间。Step 703: The terminal parses the message pushed by the target account, and obtains a push time corresponding to the message, a push cumulative number corresponding to the message, and a subscription time corresponding to the subscription operation.
步骤704:所述终端计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;所述终端判断所述时间差值是否大于等于第一预设阈值,以及判断所述消息对应的推送累积次数是否大于等于第二预设阈值,执行步骤705或步骤706。Step 704: The terminal calculates a time difference between the push time corresponding to the message and the subscription time corresponding to the first subscription operation. The terminal determines whether the time difference is greater than or equal to a first preset threshold, and determines Whether the number of push accumulations corresponding to the message is greater than or equal to the second preset threshold, step 705 or step 706 is performed.
步骤705:所述时间差值大于等于第一预设阈值,且所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面,执行步骤707。Step 705: When the time difference is greater than or equal to the first preset threshold, and the number of push cumulative times corresponding to the message is greater than or equal to the second preset threshold, determine the presentation prompt interface, and perform step 707.
步骤706:所述时间差值大于等于第一预设阈值,或所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。Step 706: Determine the presentation prompt interface when the time difference is greater than or equal to the first preset threshold, or the number of push cumulative times corresponding to the message is greater than or equal to the second preset threshold.
这里,所述提示界面用于提示用户是否针对所述目标账号执行第二订阅操作。Here, the prompting interface is used to prompt the user whether to perform a second subscription operation for the target account.
步骤707:所述终端展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述服务器发送的由所述目标账号推送的消息。Step 707: When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message sent by the server and pushed by the target account.
本发明实施例中,提示界面上至少具有第二交互控件和第三交互控件,所述第二交互控件用于接受所述第二订阅操作,所述第三交互控件用于接 受拒绝订阅操作。In the embodiment of the present invention, the prompting interface has at least a second interactive control and a third interactive control, where the second interactive control is used to accept the second subscription operation, and the third interactive control is used to connect Rejected subscription operation.
图8为本发明实施例的订阅消息的方法的流程示意图四,如图8所示,所述订阅消息的方法包括以下步骤:FIG. 8 is a schematic flowchart diagram 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:
步骤801:终端获得针对公众号的“试关注”操作。Step 801: The terminal obtains a "try to pay attention" operation for the public number.
步骤802:终端记录当前时间为T1。Step 802: The terminal records the current time as T1.
步骤803:终端接收服务器发送的由所述公众号推送的消息,消息携带如下信息:T1、T2、n。Step 803: The terminal receives a message sent by the server and sent by the public number, and the message carries the following information: T1, T2, and n.
这里,T1是指“试关注”操作对应的时间,T2是指消息对应的推送时间,n是指消息对应的累积推送次数。Here, T1 refers to the time corresponding to the “try to pay attention” operation, T2 refers to the push time corresponding to the message, and n refers to the cumulative push times corresponding to the message.
步骤804:终端计算t=T2-T1。Step 804: The terminal calculates t=T2-T1.
步骤805:终端判断t是否大于等于T,和/或,n是否大于等于N;是时,执行步骤806,否时,执行步骤803。Step 805: The terminal determines 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 performed, otherwise, step 803 is performed.
这里,T和N分别为预设的阈值。Here, T and N are preset thresholds, respectively.
步骤806:展示提示界面,终端是否获得“继续关注”操作,是时,执行步骤807,否时,执行步骤808。Step 806: The prompting interface is displayed, whether the terminal obtains the “continue attention” operation, and if yes, step 807 is performed, otherwise, step 808 is performed.
步骤807:终端接续接收服务器发送的由所述公众号推送的消息。Step 807: The terminal continues to receive the message sent by the public number sent by the server.
步骤808:终端取消对公众号的关注。Step 808: The terminal cancels the attention to the public number.
图9为本发明实施例的订阅消息的装置的结构组成示意图一,如图9所示,所述装置包括:FIG. 9 is a first 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:
获取单元901,配置为获得针对目标账号的第一订阅操作;The obtaining unit 901 is configured to obtain a first subscription operation for the target account.
生成单元902,配置为基于所述第一订阅操作生成订阅消息;The generating unit 902 is configured to generate a subscription message based on the first subscription operation;
发送单元903,配置为向服务器发送所述订阅消息;The sending unit 903 is configured to send the subscription message to the server;
接收单元904,配置为接收所述目标账号推送的消息;The receiving unit 904 is configured to receive the message pushed by the target account;
解析单元905,配置为对所述目标账号推送的消息进行解析,得到所述消息对应的推送时间和/或所述消息对应的推送累积次数; The parsing unit 905 is configured to parse the message pushed by the target account, and obtain a push time corresponding to the message and/or a push cumulative number corresponding to the message;
判断单元906,配置为基于所述消息对应的推送时间和/或所述消息对应的推送累积次数,确定是否展示提示界面,所述提示界面用于提示用户是否针对所述目标账号执行第二订阅操作;The determining unit 906 is configured to determine whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription for the target account, based on a push time corresponding to the message and/or a cumulative number of pushes corresponding to the message. operating;
所述接收单元904,还配置为当展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述目标账号推送的消息。The receiving unit 904 is further configured to continue to receive the message of the target account push when the prompting interface is displayed and a second subscription operation for the target account is obtained.
本领域技术人员应当理解,图9所示的订阅消息的装置中的各单元的实现功能可参照前述订阅消息的方法的相关描述而理解。图9所示的订阅消息的装置中的各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the implementation functions of the units in the apparatus for subscribing to the message shown in FIG. 9 can be understood by referring to the related description of the method of subscribing to the foregoing message. The functions of the units in the device for subscribing to the message shown in FIG. 9 can be implemented by a program running on the processor, or can be realized by a specific logic circuit.
图10为本发明实施例的订阅消息的装置的结构组成示意图二,如图10所示,所述装置包括:FIG. 10 is a second structural diagram of an apparatus for subscribing to a message according to an embodiment of the present invention. As shown in FIG. 10, the apparatus includes:
获取单元901,配置为获得针对目标账号的第一订阅操作;The obtaining unit 901 is configured to obtain a first subscription operation for the target account.
生成单元902,配置为基于所述第一订阅操作生成订阅消息;The generating unit 902 is configured to generate a subscription message based on the first subscription operation;
发送单元903,配置为向服务器发送所述订阅消息;The sending unit 903 is configured to send the subscription message to the server;
接收单元904,配置为接收所述目标账号推送的消息;The receiving unit 904 is configured to receive the message pushed by the target account;
解析单元905,配置为对所述目标账号推送的消息进行解析,得到所述消息对应的推送时间和/或所述消息对应的推送累积次数;The parsing unit 905 is configured to parse the message pushed by the target account, and obtain a push time corresponding to the message and/or a push cumulative number corresponding to the message;
判断单元906,配置为基于所述消息对应的推送时间和/或所述消息对应的推送累积次数,确定是否展示提示界面,所述提示界面用于提示用户是否针对所述目标账号执行第二订阅操作;The determining unit 906 is configured to determine whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription for the target account, based on a push time corresponding to the message and/or a cumulative number of pushes corresponding to the message. operating;
所述接收单元904,还配置为当展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述目标账号推送的消息。The receiving unit 904 is further configured to continue to receive the message of the target account push when the prompting interface is displayed and a second subscription operation for the target account is obtained.
本发明实施例中,所述装置还包括:In the embodiment of the present invention, the device further includes:
展示单元907,配置为展示目标账号对应的交互界面,所述交互界面上至少具有第一交互控件,所述第一交互控件用于接受所述第一订阅操 作;The display unit 907 is configured to display 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 configured to accept the first subscription operation. Work
所述获取单元901,具体配置为获得位于所述第一交互控件上的第一订阅操作;The obtaining unit 901 is specifically configured to obtain a first subscription operation located on the first interaction control;
所述生成单元902,具体配置为基于所述第一订阅操作生成订阅消息,其中,所述订阅消息携有所述第一订阅操作对应的订阅时间;The generating unit 902 is configured to generate a subscription message based on the first subscription operation, where the subscription message carries a subscription time corresponding to the first subscription operation;
所述发送单元903,具体配置为将携有所述第一订阅操作对应的订阅时间的订阅消息发送给所述服务器。The sending unit 903 is specifically configured to send a subscription message carrying a subscription time corresponding to the first subscription operation to the server.
本发明实施例中,所述解析单元905,还配置为对所述目标账号推送的消息进行解析时,还得到所述第一订阅操作对应的订阅时间;In the embodiment of the present invention, the parsing unit 905 is further configured to: when parsing the message pushed by the target account, obtain a subscription time corresponding to the first subscription operation;
所述判断单元906包括:The determining unit 906 includes:
第一判断子单元9061,配置为基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,确定是否展示提示界面;或者,The first determining sub-unit 9061 is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation; or
第二判断子单元9062,配置为基于所述消息对应的推送累积次数,确定是否展示提示界面;或者,The second determining subunit 9062 is configured to determine whether to display the prompting interface based on the number of push cumulative times corresponding to the message; or
第三判断子单元9063,配置为基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,以及所述消息对应的推送累积次数,确定是否展示提示界面。The third determining sub-unit 9063 is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation, and the cumulative number of pushes corresponding to the message.
本发明实施例中,所述第一判断子单元9061,具体配置为计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;所述终端判断所述时间差值是否大于等于第一预设阈值;所述时间差值大于等于第一预设阈值时,确定展示提示界面。In the embodiment of the present invention, the first determining sub-unit 9061 is configured to calculate a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation; the terminal determines the time difference Whether the value is greater than or equal to the first preset threshold; when the time difference is greater than or equal to the first preset threshold, determining the presentation prompt interface.
本发明实施例中,所述第二判断子单元9062,具体配置为判断所述消息对应的推送累积次数是否大于等于第二预设阈值;所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。In the embodiment of the present invention, the second determining sub-unit 9062 is configured to determine whether the cumulative number of pushes corresponding to the message is greater than or equal to a second preset threshold; the cumulative number of pushes corresponding to the message is greater than or equal to the second preset. At the threshold, the presentation prompt interface is determined.
本发明实施例中,所述第三判断子单元9063,具体配置为计算所述 消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;所述终端判断所述时间差值是否大于等于第一预设阈值,以及判断所述消息对应的推送累积次数是否大于等于第二预设阈值;所述时间差值大于等于第一预设阈值,且所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面;或者,所述时间差值大于等于第一预设阈值,或所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。In the embodiment of the present invention, the third determining subunit 9063 is specifically configured to calculate the a time difference between the push time corresponding to the message and the subscription time corresponding to the first subscription operation; the terminal determining whether the time difference value is greater than or equal to a first preset threshold, and determining whether the push cumulative number corresponding to the message is And a second preset threshold; the time difference is greater than or equal to the first preset threshold, and the push cumulative number corresponding to the message is greater than or equal to the second preset threshold, and the display prompt interface is determined; or the time difference is When the value is greater than or equal to the first preset threshold, or the push cumulative number corresponding to the message is greater than or equal to the second preset threshold, the display prompt interface is determined.
本发明实施例中,所述提示界面上至少具有第二交互控件和第三交互控件,所述第二交互控件用于接受所述第二订阅操作,所述第三交互控件用于接受拒绝订阅操作。In the embodiment of the present invention, the prompting interface has at least a second interactive control for accepting the second subscription operation, and a third interactive control for accepting the rejected subscription. operating.
本领域技术人员应当理解,图10所示的订阅消息的装置中的各单元的实现功能可参照前述订阅消息的方法的相关描述而理解。图10所示的订阅消息的装置中的各单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。Those skilled in the art should understand that the implementation functions of the units in the apparatus for subscribing to the message shown in FIG. 10 can be understood by referring to the related description of the method of subscribing to the foregoing message. The functions of the units in the device for subscribing to the message shown in FIG. 10 can be implemented by a program running on the processor, or can be realized by a specific logic circuit.
本发明实施例上述订阅消息的装置如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。The device for subscribing to the message in the embodiment of the present invention may also be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
相应地,本发明实施例还提供一种计算机存储介质,其中存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现本发明实施例的 上述信道跳频的确定方法。Correspondingly, an embodiment of the present invention further provides a computer storage medium, where computer executable instructions are stored, and when the computer executable instructions are executed by a processor, the embodiment of the present invention is implemented. The method for determining the frequency hopping of the above channel.
图11为本发明实施例的计算机设备的结构组成示意图,如图11所示,计算机设备10可以包括一个或多个(图中仅示出一个)处理器12(处理器12可以包括但不限于微处理器(MCU,Micro Controller Unit)或可编程逻辑器件(FPGA,Field Programmable Gate Array)等的处理装置)、用于存储数据的存储器14、以及用于通信功能的传输装置16。本领域普通技术人员可以理解,图11所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,计算机设备10还可包括比图11中所示更多或者更少的组件,或者具有与图11所示不同的配置。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 shown) processor 12 (the processor 12 may include but is not limited to A processing device such as a Micro Controller Unit (MCU) or a Field Programmable Gate Array (FPGA), a memory 14 for storing data, and a transmission device 16 for communication functions. It will be understood by those skilled in the art that the structure shown in FIG. 11 is merely illustrative and does not limit the structure of the above electronic device. For example, computer device 10 may also include more or fewer components than shown in FIG. 11, or have a different configuration than that shown in FIG.
存储器14可用于存储应用软件的软件程序以及模块,如本发明实施例中的订阅消息的方法对应的程序指令/模块,处理器12通过运行存储在存储器14内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器14可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器14可进一步包括相对于处理器12远程设置的存储器,这些远程存储器可以通过网络连接至计算机设备10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 14 can 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 the embodiment of the present invention, and the processor 12 executes each by executing a software program and a module stored in the memory 14. A functional application and data processing, that is, the above method is implemented. 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 remotely located relative to processor 12, which may be connected to computer device 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置16用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机设备10的通信供应商提供的无线网络。在一个实例中,传输装置16包括一个网络适配器(NIC,Network Interface Controller),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置16可以为射频(RF,Radio Frequency)模块,其用于通过无线方式与互联网进行通讯。Transmission device 16 is for receiving or transmitting data via a network. The network specific examples described above may include a wireless network provided by a communication provider of computer device 10. In one example, the transmission device 16 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 16 can be a radio frequency (RF) module for communicating with the Internet wirelessly.
本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。 The technical solutions described in the embodiments of the present invention can be arbitrarily combined without conflict.
在本发明所提供的几个实施例中,应该理解到,所揭露的方法和智能设备,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present invention, it should be understood that the disclosed method and smart device may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个第二处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one second processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention.

Claims (16)

  1. 一种订阅消息的方法,所述方法包括:A method of subscribing to a message, the method comprising:
    终端获得针对目标账号的第一订阅操作,基于所述第一订阅操作生成订阅消息,向服务器发送所述订阅消息;The terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server;
    所述终端接收所述目标账号推送的消息;Receiving, by the terminal, the message pushed by the target account;
    所述终端对所述目标账号推送的消息进行解析,得到所述消息对应的推送时间和/或所述消息对应的推送累积次数;The terminal parses the message pushed by the target account, and obtains a push time corresponding to the message and/or a push cumulative number corresponding to the message;
    所述终端基于所述消息对应的推送时间和/或所述消息对应的推送累积次数,确定是否展示提示界面,所述提示界面用于提示用户是否针对所述目标账号执行第二订阅操作;Determining, by the terminal, whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription operation for the target account, based on a push time corresponding to the message and/or a cumulative number of pushes corresponding to the message;
    所述终端展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述目标账号推送的消息。When the terminal displays the prompting interface and obtains a second subscription operation for the target account, the terminal continues to receive the message of the target account push.
  2. 根据权利要求1所述的订阅消息的方法,其中,所述方法还包括:The method of subscribing to a message according to claim 1, wherein the method further comprises:
    所述终端展示目标账号对应的交互界面,所述交互界面上至少具有第一交互控件,所述第一交互控件用于接受所述第一订阅操作;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 configured to accept the first subscription operation;
    所述终端获得针对目标账号的第一订阅操作,基于所述第一订阅操作生成订阅消息,向服务器发送所述订阅消息,包括:The terminal obtains a first subscription operation for the target account, generates a subscription message based on the first subscription operation, and sends the subscription message to the server, including:
    所述终端获得位于所述第一交互控件上的第一订阅操作时,基于所述第一订阅操作生成订阅消息,其中,所述订阅消息携有所述第一订阅操作对应的订阅时间;When the terminal obtains the first subscription operation on the first interaction control, generating a subscription message based on the first subscription operation, where the subscription message carries a subscription time corresponding to the first subscription operation;
    所述终端将携有所述第一订阅操作对应的订阅时间的订阅消息发送给所述服务器。The terminal sends a subscription message carrying the subscription time corresponding to the first subscription operation to the server.
  3. 根据权利要求2所述的订阅消息的方法,其中,所述方法还包括:The method of subscribing to a message according to claim 2, wherein the method further comprises:
    所述终端对所述目标账号推送的消息进行解析时,还得到所述第一订阅操作对应的订阅时间; When the terminal parses the message pushed by the target account, the terminal also obtains a subscription time corresponding to the first subscription operation;
    所述终端基于所述消息对应的推送时间和/或所述消息对应的推送累积次数,确定是否展示提示界面,包括:The determining, by the terminal, whether to display the prompting interface, based on the pushing time corresponding to the message and/or the cumulative number of pushes corresponding to the message, includes:
    所述终端基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,确定是否展示提示界面;或者,Determining, by the terminal, whether to display a prompt interface based on a push time corresponding to the message and a subscription time corresponding to the first subscription operation; or
    所述终端基于所述消息对应的推送累积次数,确定是否展示提示界面;或者,Determining, by the terminal, whether to display a prompt interface based on the number of push accumulations corresponding to the message; or
    所述终端基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,以及所述消息对应的推送累积次数,确定是否展示提示界面。The terminal determines whether to display the prompt interface based on the push time corresponding to the message and the subscription time corresponding to the first subscription operation, and the number of push accumulations corresponding to the message.
  4. 根据权利要求3所述的订阅消息的方法,其中,所述终端基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,确定是否展示提示界面,包括:The method for subscribing to a message according to claim 3, wherein the determining, by the terminal, whether to present a prompting interface based on a push time corresponding to the message and a subscription time corresponding to the first subscription operation comprises:
    所述终端计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;The terminal calculates a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation;
    所述终端判断所述时间差值是否大于等于第一预设阈值;Determining, by the terminal, whether the time difference value is greater than or equal to a first preset threshold;
    所述时间差值大于等于第一预设阈值时,确定展示提示界面。When the time difference is greater than or equal to the first preset threshold, the display prompt interface is determined.
  5. 根据权利要求3所述的订阅消息的方法,其中,所述终端基于所述消息对应的推送累积次数,确定是否展示提示界面,包括:The method for subscribing to a message according to claim 3, wherein the determining, by the terminal, whether to present a prompting interface based on a cumulative number of pushes corresponding to the message comprises:
    所述终端判断所述消息对应的推送累积次数是否大于等于第二预设阈值;Determining, by the terminal, whether the number of push accumulations corresponding to the message is greater than or equal to a second preset threshold;
    所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。When the number of push accumulations corresponding to the message is greater than or equal to the second preset threshold, the display prompt interface is determined.
  6. 根据权利要求3所述的订阅消息的方法,其中,所述终端基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,以及所述消息对应的推送累积次数,确定是否展示提示界面,包括: The method for subscribing to a message according to claim 3, wherein the terminal determines whether to display based on a push time corresponding to the message and a subscription time corresponding to the first subscription operation, and a cumulative number of pushes corresponding to the message. Prompt interface, including:
    所述终端计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;The terminal calculates a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation;
    所述终端判断所述时间差值是否大于等于第一预设阈值,以及判断所述消息对应的推送累积次数是否大于等于第二预设阈值;Determining, by the terminal, whether the time difference value is greater than or equal to a first preset threshold, and determining whether the number of push cumulative times corresponding to the message is greater than or equal to a second preset threshold;
    所述时间差值大于等于第一预设阈值,且所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面;或者,所述时间差值大于等于第一预设阈值,或所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。When the time difference is greater than or equal to the first preset threshold, and the number of push cumulative times corresponding to the message is greater than or equal to the second preset threshold, the display prompting interface is determined; or the time difference is greater than or equal to the first preset threshold. Or, when the number of push accumulations corresponding to the message is greater than or equal to a second preset threshold, determining a presentation prompt interface.
  7. 根据权利要求1所述的订阅消息的方法,其中,所述提示界面上至少具有第二交互控件和第三交互控件,所述第二交互控件用于接受所述第二订阅操作,所述第三交互控件用于接受拒绝订阅操作。The method for subscribing to a message according to claim 1, wherein the prompting interface has at least a second interactive control and a third interactive control, and the second interactive control is configured to accept the second subscription operation, the first The three interactive controls are used to accept the reject subscription operation.
  8. 一种订阅消息的装置,包括:A device for subscribing to a message, comprising:
    获取单元,配置为获得针对目标账号的第一订阅操作;An obtaining unit configured to obtain a first subscription operation for a target account;
    生成单元,配置为基于所述第一订阅操作生成订阅消息;a generating unit, configured to generate a subscription message based on the first subscription operation;
    发送单元,配置为向服务器发送所述订阅消息;a sending unit, configured to send the subscription message to a server;
    接收单元,配置为接收所述目标账号推送的消息;a receiving unit, configured to receive a message pushed by the target account;
    解析单元,配置为对所述目标账号推送的消息进行解析,得到所述消息对应的推送时间和/或所述消息对应的推送累积次数;The parsing unit 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 is configured to determine whether to display a prompting interface, where the prompting interface is used to prompt the user to perform a second subscription operation for the target account, based on a push time corresponding to the message and/or a cumulative number of pushes corresponding to the message. ;
    所述接收单元,还配置为当展示所述提示界面且获得针对所述目标账号的第二订阅操作时,继续接收所述目标账号推送的消息。The receiving unit is further configured to continue to receive the message pushed by the target account when the prompting interface is displayed and a second subscription operation for the target account is obtained.
  9. 根据权利要求8所述的订阅消息的装置,其中,所述装置还包括:The device for subscribing to a message according to claim 8, wherein the device further comprises:
    展示单元,配置为展示目标账号对应的交互界面,所述交互界面上 至少具有第一交互控件,所述第一交互控件用于接受所述第一订阅操作;a display unit configured to display an interaction interface corresponding to the target account, where the interaction interface is At least having a first interactive control for accepting the first subscription operation;
    所述获取单元,具体配置为获得位于所述第一交互控件上的第一订阅操作;The obtaining unit is specifically configured to obtain a first subscription operation located on the first interaction control;
    所述生成单元,具体配置为基于所述第一订阅操作生成订阅消息,其中,所述订阅消息携有所述第一订阅操作对应的订阅时间;The generating unit is configured to generate a subscription message based on the first subscription operation, where the subscription message carries a subscription time corresponding to the first subscription operation;
    所述发送单元,具体配置为将携有所述第一订阅操作对应的订阅时间的订阅消息发送给所述服务器。The sending unit is specifically configured to send a subscription message carrying a subscription time corresponding to the first subscription operation to the server.
  10. 根据权利要求9所述的订阅消息的装置,其中,所述解析单元,还配置为对所述目标账号推送的消息进行解析时,还得到所述第一订阅操作对应的订阅时间;The device for subscribing to a message according to claim 9, wherein the parsing unit is further configured to: when parsing the message pushed by the target account, further obtaining a subscription time corresponding to the first subscription operation;
    所述判断单元包括:The determining unit includes:
    第一判断子单元,配置为基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,确定是否展示提示界面;或者,The first determining sub-unit is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation; or
    第二判断子单元,配置为基于所述消息对应的推送累积次数,确定是否展示提示界面;或者,The second determining subunit is configured to determine whether to display the prompting interface based on the number of push cumulative times corresponding to the message; or
    第三判断子单元,配置为基于所述消息对应的推送时间以及所述第一订阅操作对应的订阅时间,以及所述消息对应的推送累积次数,确定是否展示提示界面。The third determining sub-unit is configured to determine whether to display the prompting interface based on the pushing time corresponding to the message and the subscription time corresponding to the first subscription operation, and the number of push cumulative times corresponding to the message.
  11. 根据权利要求10所述的订阅消息的装置,其中,所述第一判断子单元,具体配置为计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;所述终端判断所述时间差值是否大于等于第一预设阈值;所述时间差值大于等于第一预设阈值时,确定展示提示界面。The device for subscribing to a message according to claim 10, wherein the first determining sub-unit is configured to calculate a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation; The terminal determines whether the time difference is greater than or equal to a first preset threshold; and when the time difference is greater than or equal to the first preset threshold, determining a presentation prompt interface.
  12. 根据权利要求10所述的订阅消息的装置,其中,所述第二判断子单元,具体配置为判断所述消息对应的推送累积次数是否大于等于第 二预设阈值;所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。The device for subscribing to a message according to claim 10, wherein the second determining subunit is configured to determine whether the number of push accumulations corresponding to the message is greater than or equal to And a preset threshold; when the number of push accumulations corresponding to the message is greater than or equal to the second preset threshold, determining a presentation prompt interface.
  13. 根据权利要求10所述的订阅消息的装置,其中,所述第三判断子单元,具体配置为计算所述消息对应的推送时间和所述第一订阅操作对应的订阅时间的时间差值;所述终端判断所述时间差值是否大于等于第一预设阈值,以及判断所述消息对应的推送累积次数是否大于等于第二预设阈值;所述时间差值大于等于第一预设阈值,且所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面;或者,所述时间差值大于等于第一预设阈值,或所述消息对应的推送累积次数大于等于第二预设阈值时,确定展示提示界面。The device for subscribing to a message according to claim 10, wherein the third determining sub-unit is configured to calculate a time difference between a push time corresponding to the message and a subscription time corresponding to the first subscription operation; Determining whether the time difference is greater than or equal to a first preset threshold, and determining whether the number of push accumulations corresponding to the message is greater than or equal to a second preset threshold; the time difference is greater than or equal to a first preset threshold, and The display prompting interface is determined when the number of push cumulative times corresponding to the message is greater than or equal to the second preset threshold; or the time difference is greater than or equal to the first preset threshold, or the push cumulative number corresponding to the message is greater than or equal to the second When the threshold is preset, the presentation prompt interface is determined.
  14. 根据权利要求8所述的订阅消息的装置,其中,所述提示界面上至少具有第二交互控件和第三交互控件,所述第二交互控件用于接受所述第二订阅操作,所述第三交互控件用于接受拒绝订阅操作。The apparatus for subscribing to a message according to claim 8, wherein the prompting interface has at least a second interactive control and a third interactive control, and the second interactive control is configured to accept the second subscription operation, the first The three interactive controls are used to accept the reject subscription operation.
  15. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机可执行指令,其特征在于,所述处理器执行所述计算机可执行指令时实现权利要求1-7任一项所述的方法步骤。A computer apparatus comprising a memory, a processor, and computer executable instructions stored on the memory and executable on the processor, wherein the processor executes the computer executable instructions to implement claims 1-7 The method steps of any of the above.
  16. 一种计算机存储介质,其上存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现权利要求1-7任一项所述的方法步骤。 A computer storage medium having stored thereon computer executable instructions for performing the method steps of any of claims 1-7 when executed by a processor.
PCT/CN2017/102145 2017-09-18 2017-09-18 Method and device for subscribing message, computer apparatus, and computer storage medium WO2019051849A1 (en)

Priority Applications (2)

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

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 (1)

Publication Number Publication Date
WO2019051849A1 true WO2019051849A1 (en) 2019-03-21

Family

ID=65722229

Family Applications (1)

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

Country Status (2)

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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641912A (en) * 2021-08-20 2021-11-12 北京得间科技有限公司 Information pushing method, computing device and computer storage medium
CN114065277A (en) * 2021-10-29 2022-02-18 北京百度网讯科技有限公司 Bill pushing method and device, electronic equipment and storage medium
CN114125045A (en) * 2021-10-29 2022-03-01 北京旷视科技有限公司 Data processing method and device and electronic system
CN114679490A (en) * 2022-03-15 2022-06-28 泉州市益典信息科技有限公司 Big data based information message content intelligent pushing system and method
CN114710463A (en) * 2020-12-31 2022-07-05 腾讯科技(深圳)有限公司 Message subscribing and publishing method, device, medium and equipment

Families Citing this family (2)

* 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
CN113364670B (en) * 2021-06-16 2022-07-26 北京轻松筹信息技术有限公司 Data pushing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1692323A (en) * 2002-12-19 2005-11-02 国际商业机器公司 A method for providing of content data to a client
CN104702984A (en) * 2015-02-12 2015-06-10 福建新大陆通信科技股份有限公司 Set-top box multi-functional weather forecast system and method thereof
CN104853230A (en) * 2015-05-14 2015-08-19 无锡天脉聚源传媒科技有限公司 Hot-spot video push method and apparatus
CN106506328A (en) * 2016-10-18 2017-03-15 江西博瑞彤芸科技有限公司 The method for pushing of message

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US10114802B2 (en) * 2013-04-28 2018-10-30 Tencent Technology (Shenzhen) Company Limited Method, device, and system for accessing third party platforms via a messaging application
US20150039457A1 (en) * 2013-08-01 2015-02-05 Microsoft Corporation System for syndicating subscriptions with retailers
US10482545B2 (en) * 2014-01-02 2019-11-19 Katherine Elizabeth Anderson User management of subscriptions to multiple social network platforms
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
US10205982B2 (en) * 2015-09-25 2019-02-12 Rovi Guides, Inc. Methods and systems for managing media subscriptions
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
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
CN106570637A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Information prompt device and information prompt method in two-dimensional code data acquisition
CN107040454B (en) * 2017-03-20 2020-08-21 微梦创科网络科技(中国)有限公司 Unread message reminding method and device under large-data-volume quick updating scene

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1692323A (en) * 2002-12-19 2005-11-02 国际商业机器公司 A method for providing of content data to a client
CN104702984A (en) * 2015-02-12 2015-06-10 福建新大陆通信科技股份有限公司 Set-top box multi-functional weather forecast system and method thereof
CN104853230A (en) * 2015-05-14 2015-08-19 无锡天脉聚源传媒科技有限公司 Hot-spot video push method and apparatus
CN106506328A (en) * 2016-10-18 2017-03-15 江西博瑞彤芸科技有限公司 The method for pushing of message

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710463A (en) * 2020-12-31 2022-07-05 腾讯科技(深圳)有限公司 Message subscribing and publishing method, device, medium and equipment
CN114710463B (en) * 2020-12-31 2024-03-15 腾讯科技(深圳)有限公司 Message subscription and publishing method, device, medium and equipment
CN113641912A (en) * 2021-08-20 2021-11-12 北京得间科技有限公司 Information pushing method, computing device and computer storage medium
CN113641912B (en) * 2021-08-20 2024-02-09 北京得间科技有限公司 Information pushing method, computing device and computer storage medium
CN114065277A (en) * 2021-10-29 2022-02-18 北京百度网讯科技有限公司 Bill pushing method and device, electronic equipment and storage medium
CN114125045A (en) * 2021-10-29 2022-03-01 北京旷视科技有限公司 Data processing method and device and electronic system
CN114125045B (en) * 2021-10-29 2024-04-02 北京旷视科技有限公司 Data processing method, device and electronic system
CN114679490A (en) * 2022-03-15 2022-06-28 泉州市益典信息科技有限公司 Big data based information message content intelligent pushing system and method
CN114679490B (en) * 2022-03-15 2024-04-26 广州美骑网络科技股份有限公司 Information message content intelligent pushing system and method based on big data

Also Published As

Publication number Publication date
CN110100426A (en) 2019-08-06
CN110100426B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
WO2019051849A1 (en) Method and device for subscribing message, computer apparatus, and computer storage medium
US10581824B2 (en) Authentication mechanism
CN106488335B (en) Live-broadcast control method and device
US8776105B2 (en) Method and system for automatic content recognition protocols
CN104113787B (en) Based on the comment method of program, terminal, server and system
US10750223B2 (en) System, method, and device for displaying content item
US11037344B1 (en) User content presentation based on strength of relationship
US9686506B2 (en) Method, apparatus, system, and storage medium for video call and video call control
CN103748609A (en) Method for transferring media playback from a different device
CN103607659A (en) Method, device and server for displaying program comments on intelligent display equipment
EP3046332A1 (en) Method and system for display control, breakaway judging apparatus and video/audio processing apparatus
CN103368947A (en) Media information control method, related equipment and system
CN110830823B (en) Play progress correction method and device, electronic equipment and readable storage medium
JP2018522299A (en) Wireless mobile payment device
US20170171585A1 (en) Method and Electronic Device for Recording Live Streaming Media
TWI466046B (en) Real-time topic-relevant targeted advertising linked to media experiences
CN104639974B (en) A kind of information-pushing method and device
WO2023005199A1 (en) Data processing method and apparatus
CN106330681B (en) Method, system and related equipment for sharing film watching information
CN109845222A (en) General projection service
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
CN109995543B (en) Method and apparatus for adding group members
CN104639973B (en) Information pushing method and device
CN109348298B (en) Method and equipment for pushing and playing multimedia data stream
US10652717B2 (en) Systems and methods for providing an interactive community through device communication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17925389

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 14.09.2020.

122 Ep: pct application non-entry in european phase

Ref document number: 17925389

Country of ref document: EP

Kind code of ref document: A1