WO2015149471A1 - Information pushing method, system and device and computer storage medium - Google Patents

Information pushing method, system and device and computer storage medium Download PDF

Info

Publication number
WO2015149471A1
WO2015149471A1 PCT/CN2014/084921 CN2014084921W WO2015149471A1 WO 2015149471 A1 WO2015149471 A1 WO 2015149471A1 CN 2014084921 W CN2014084921 W CN 2014084921W WO 2015149471 A1 WO2015149471 A1 WO 2015149471A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
terminal
push
push server
communication connection
Prior art date
Application number
PCT/CN2014/084921
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 中兴通讯股份有限公司
Publication of WO2015149471A1 publication Critical patent/WO2015149471A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • 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
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Definitions

  • the present invention relates to mobile communication technologies, and in particular, to an information push method, system, device, and computer storage medium. Background technique
  • Users access information through the Internet mainly include two methods: one is to actively query information (PULL) through the terminal; the other is the way the server actively pushes information (PUSH) to the terminal.
  • PULL actively query information
  • PUSH server actively pushes information
  • the existing information push methods mainly include the following two types: vertical fusion push mode and horizontal fusion push mode.
  • the vertical fusion push mode refers to that the terminal, the application store, and the application server form a closed system, and other application servers need to join the closed system in order to join the closed system; each application server passes through the closed system.
  • the push platform pushes each information to the terminal.
  • the horizontal fusion push mode uses an open platform, and each application server pushes information to the terminal through an open push platform.
  • the embodiments of the present invention provide an information pushing method, system, device, and computer storage medium, which can push information to the terminal without using the application client, thereby improving the user's operating experience.
  • An embodiment of the present invention provides an information pushing method, which is applied to a push server.
  • the method includes:
  • the push server establishes a WEBSOCKET communication connection with the terminal
  • the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection.
  • the mode in which the push server establishes a connection with the terminal is a real-time working mode.
  • the method further includes: the push server is not in the first preset time period. When the information is pushed to the terminal, it is interrupted; when it is detected that the communication connection between the push server and the terminal is interrupted, a WEBSOCKET communication connection is established with the terminal.
  • the mode in which the push server establishes a connection with the terminal is a timing working mode; the push server establishes a WEBSOCKET communication connection with the terminal, including:
  • the push server establishes a WEBSOCKET communication connection with the terminal every third preset time period.
  • the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection, including:
  • the push server receives the information sent by the application server in a fourth preset time period, merges the information according to the information type, and pushes the merged information to the terminal according to the established WEBSOCKET communication connection.
  • the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection, including:
  • the embodiment of the invention further provides an information pushing method, which is applied to a terminal; the method includes:
  • the terminal establishes a WEBSOCKET communication connection with the push server
  • the method further comprises: displaying the information through a WEB browser, or displaying the information by pushing the information client.
  • An embodiment of the present invention further provides an information pushing method, where the method includes:
  • the terminal establishes a WEBSOCKET communication connection with the push server
  • the WEBSOCKET communication connection pushes the information to the terminal.
  • the embodiment of the present invention further provides a push server, where the push server includes: a first connection establishing unit, a first receiving unit, and a pushing unit;
  • the first connection establishing unit is configured to establish a WEBSOCKET communication connection with the terminal;
  • the first receiving unit is configured to receive information sent by the application server;
  • the pushing unit is configured to be established according to the first connection establishing unit
  • the WEBSOCKET communication connection pushes information received by the first receiving unit to the terminal.
  • the mode in which the push server establishes a connection with the terminal is a real-time working mode;
  • the push server further includes a detecting unit configured to: the pushing unit is in a first preset time period When no information is pushed to the terminal, it is detected whether the communication connection between the first connection establishing unit and the terminal is interrupted every second preset time period;
  • the first connection establishing unit is further configured to re-establish with the terminal when the detecting unit detects that the communication connection between the first connection establishing unit and the terminal is interrupted
  • the mode in which the push server establishes a connection with the terminal is a timing working mode; and the first connection establishing unit is configured to establish a WEBSOCKET communication connection with the terminal every third preset time period.
  • the push server further includes a merging unit configured to merge the information sent by the application server received by the first receiving unit in the fourth preset time period according to the information type;
  • the pushing unit is configured to push the merged unit information to the terminal according to the WEBSOCKET communication connection established by the first connection establishing unit.
  • the push server further includes an identifying unit configured to identify that the type of the information received by the first receiving unit is a real-time push type or a timing push type;
  • the pushing unit is configured to push the information type recognized by the identifying unit into a real-time push type information to the terminal in real time; and the information type identified by the identifying unit is a timing push type information every fifth The preset time period is pushed to the terminal.
  • the embodiment of the present invention further provides a terminal, where the terminal includes: a second connection establishing unit and a second receiving unit;
  • the second connection establishing unit is configured to establish a WEBSOCKET communication connection with the push server
  • the second receiving unit is configured to receive information pushed by the push server according to the WEBSOCKET communication connection established by the second connection establishing unit.
  • the terminal further includes: a display unit, where the information is displayed through a WEB browser, Or push the information client to display the information.
  • the embodiment of the present invention further provides an information push system, where the information push system includes: a terminal and a push server;
  • the terminal is configured to establish a WEBSOCKET communication connection with the push server;
  • the push server is configured to receive information sent by the application server, and push the information to the terminal according to the established WEBSOCKET communication connection.
  • the push server is further configured to: when the mode of establishing a connection with the terminal is a real-time working mode, when no information is pushed to the terminal in the first preset time period, the second detection is performed every second When the communication connection between the push server and the terminal is interrupted, a WEBSOCKET communication connection is established with the terminal.
  • the push server is configured to establish a WEBSOCKET communication connection with the terminal every third preset time period when the mode of establishing a connection with the terminal is a timed operation mode.
  • the push server is configured to receive information sent by the application server in a fourth preset time period, combine the information according to an information type, and push the merged information according to the established WEBSOCKET communication connection. To the terminal.
  • the push server is configured to receive information sent by the application server when establishing a real-time connection with the terminal; identifying the type of the information as a real-time push type or a timing push type; The information of the real-time push type is pushed to the terminal in real time; and the information of the information type of the timing push type is pushed to the terminal every fifth preset time period.
  • the terminal is further configured to display the information through a WEB browser, or display the information by pushing the information client.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the embodiment of the present invention.
  • the information is applied to a push method in a push server.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information pushing method applied to the terminal according to the embodiment of the present invention. .
  • the terminal establishes a WEBSOCKET communication connection with the push server, and the push server receives the information sent by the application server, according to the established WEBSOCKET communication connection.
  • the information is pushed to the terminal.
  • the technical solution of the embodiment of the present invention establishes an information push channel with the push server through the WEBSOCKET communication scheme, so that the terminal device can receive the information pushed by the application without installing the client of the application, which can be reduced to a certain extent.
  • the number of applications installed in the terminal device improves the performance of the terminal device, and on the other hand, improves the user's operating experience.
  • FIG. 1 is a schematic flowchart of an information pushing method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic flowchart of an information pushing method according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic flowchart of an information pushing method according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a configuration of a push server according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a structure of an information push system according to an embodiment of the present invention. detailed description
  • the embodiment of the invention provides an information pushing method, which is applied to a push server.
  • 1 is a schematic flowchart of an information pushing method according to Embodiment 1 of the present invention; as shown in FIG. 1, the information pushing method includes: Step 101: The push server establishes a WEBSOCKET communication connection with the terminal.
  • the terminal establishes a WEBSOCKET communication connection with the push server through its own WEBSOCKET interface.
  • the mode in which the push server establishes a connection with the terminal may be a real-time working mode.
  • the method further includes:
  • the push server pushes no information to the terminal in the first preset time period, it is interrupted; when it is detected that the communication connection between the push server and the terminal is interrupted, the WEBSOCKET is newly established with the terminal. Communication connection.
  • the response message returned by the terminal detects whether the communication connection between the push server and the terminal is interrupted.
  • the terminal may send a heartbeat message to the push server every second preset time period when no information is received in the first preset time period, and the push server sends the heartbeat message according to the terminal.
  • the heartbeat message determines if the communication connection with the terminal is interrupted.
  • the time interval for sending the heartbeat message may be set longer, for example, the second preset time period may be set to 10 minutes.
  • the second preset time period is pre-configured by the push server; correspondingly, when the terminal actively sends a heartbeat message to the push server, The second preset time period is pre-configured by the terminal.
  • the mode in which the push server establishes a connection with the terminal may be a timed working mode; and the push server establishes a WEBSOCKET communication connection with the terminal, including: the push server is connected with the third preset time period.
  • the terminal establishes a WEBSOCKET communication connection.
  • the terminal since the terminal initiates establishment of WEBSOCKET communication with the push server If the mode in which the push server establishes a connection with the terminal is a timed operation mode, the terminal establishes a communication connection with the push server every third preset time period.
  • the third preset time period may be preset in the terminal.
  • the mode in which the push server establishes a connection with the terminal may be set according to an indication sent by the terminal.
  • the terminal may send an indication message to the push server, where the indication message carries a connection.
  • the mode is a real-time working mode or a timed working mode.
  • Step 102 The push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection.
  • the push server may push the received information to the terminal in real time, or push the information to the terminal periodically.
  • the push time may be preset, and when the push time to be set expires, the information is pushed to the terminal.
  • the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection, including: the push server is in a fourth preset time period. Receiving the information sent by the application server, combining the information according to the information type, and pushing the merged information to the terminal.
  • the push server receives the information sent by the application server in a fourth preset time period, combines the information according to the information type, and pushes the merged information to the terminal, so as to reduce the information pushed to the terminal. Quantity, reducing interference to users.
  • the push server may be classified according to a service provider that pushes the information, such as combining information pushed by the XX network, and pushing the merged information to the terminal; or the push server may be based on the type of the information. Classification, such as combining the news information sent by the application server, pushing the merged information to the terminal; or combining the video information sent by the application server, and pushing the merged information to the terminal.
  • the push server when the push server establishes a connection mode with the terminal In the real-time working mode, the push server receives the information sent by the application server, and pushes the information to the terminal, including:
  • the push server receives the information sent by the application server
  • the mode in which the push server establishes a connection with the terminal is a real-time working mode
  • the power consumption of the terminal and the consumption of the network traffic are large, so that information can be pushed to the terminal according to the type of information.
  • the news information subscribed by the user, the notification message of the group described by the user, and the like that the user needs to receive in real time is a real-time push type
  • the entertainment gossip information, the advertisement information, or the video information does not require the user to receive the information in real time as a timing.
  • Push type the news information subscribed by the user, the notification message of the group described by the user, and the like that the user needs to receive in real time.
  • the type of the information that the push server identifies the information may be determined according to the priority of the service provider that sends the information, and the priority of the service provider of the information may be pre-configured by the user according to his own needs, for example, the user needs to receive in real time.
  • the priority of the service provider that sends the news information may be set to a high priority; if the user does not need to receive the video information in real time, the priority of the service provider that sends the video information may be set to be low; Configuration information is sent to the push server.
  • the push server identifies, according to the configuration information, information sent by an application server of a service provider with a high priority as a real-time push type, and pushes the information of the real-time push type to the terminal in real time;
  • the information sent by the application server of the low service provider is identified as a timing push type, and the information of the timing push type is pushed to the terminal every fifth preset time period.
  • the fifth preset time period is pre-configured by the push server.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information push applied to the push server according to the embodiment of the present invention. method.
  • the embodiment of the invention further provides an information pushing method, which is applied to a terminal.
  • Figure 2 is the basis The flow chart of the information pushing method of the second embodiment of the present invention; as shown in FIG. 2, the information pushing method includes:
  • Step 201 The terminal establishes a WEBSOCKET communication connection with the push server.
  • the terminal establishes a WEBSOCKET communication connection with the push server, including: the terminal establishes a communication connection with the push server through the WEB SOCKET interface.
  • Step 202 Receive, according to the WEBSOCKET communication connection, information pushed by the push server.
  • the terminal parses or decodes the information, displays the information through a WEB browser, or displays the information through a push information client.
  • the specific manner of parsing or decoding the information is the same as that in the prior art, and will not be further described in this embodiment.
  • the information obtained by the terminal after being parsed or decoded may be displayed by using a WEB browser, and the WEB browser may be preset before the terminal is shipped from the factory, and the user may download and install other clients without upgrading the user.
  • the information obtained after the terminal is parsed or decoded may also be displayed by the push information client, where the push information client is an application client, that is, an application running on the terminal.
  • the displayed information can be displayed by means of a reminder message.
  • the terminal may display the information through the internal interface of the terminal through the WEB browser, or display the information through the push information client.
  • the internal interface can be a secondary development interface.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information pushing method applied to the terminal according to the embodiment of the present invention. .
  • FIG. 3 is a schematic flowchart of an information pushing method according to Embodiment 3 of the present invention; as shown in FIG. 3, the information pushing method includes: Step 301: The terminal establishes a WEBSOCKET communication connection with the push server.
  • the terminal establishes a WEBSOCKET communication connection with the push server, including: the terminal establishes a communication connection with the push server through the WEB SOCKET interface.
  • the mode in which the push server establishes a connection with the terminal may be a real-time working mode.
  • the method further includes:
  • the push server pushes no information to the terminal in the first preset time period, it is interrupted; when it is detected that the communication connection between the push server and the terminal is interrupted, the WEBSOCKET is newly established with the terminal. Communication connection.
  • the response message returned by the terminal detects whether the communication connection between the push server and the terminal is interrupted.
  • the terminal may send a heartbeat message to the push server every second preset time period when no information is received in the first preset time period, and the push server sends the heartbeat message according to the terminal.
  • the heartbeat message determines if the communication connection with the terminal is interrupted.
  • the time interval for sending the heartbeat message may be set longer, for example, the second preset time period may be set to 10 minutes.
  • the second preset time period is pre-configured by the push server; correspondingly, when the terminal actively sends a heartbeat message to the push server, The second preset time period is pre-configured by the terminal.
  • the mode in which the push server establishes a connection with the terminal may be a timed mode; the push server establishes a WEBSOCKET connection with the terminal, and the method includes: the push server is connected to the third preset time period The terminal establishes a WEBSOCKET communication connection.
  • the terminal since the terminal initiates establishment of WEBSOCKET communication with the push server If the mode in which the push server establishes a connection with the terminal is a timed operation mode, the terminal establishes a communication connection with the push server every third preset time period.
  • the third preset time period may be preset in the terminal.
  • the mode in which the push server establishes a connection with the terminal may be set according to an indication sent by the terminal.
  • the terminal may send an indication message to the push server, where the indication message carries a connection.
  • the mode is a real-time working mode or a timed working mode.
  • Step 302 The push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection.
  • the push server may push the received information to the terminal in real time, or push the information to the terminal periodically.
  • the push time may be preset, and when the push time to be set expires, the information is pushed to the terminal.
  • the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection, including: the push server is in a fourth preset time period. Receiving the information sent by the application server, combining the information according to the information type, and pushing the merged information to the terminal.
  • the push server receives the information sent by the application server in a fourth preset time period, combines the information according to the information type, and pushes the merged information to the terminal, so as to reduce the information pushed to the terminal. Quantity, reducing interference to users.
  • the push server may be classified according to a service provider that pushes the information, such as combining information pushed by the XX network, and pushing the merged information to the terminal; or the push server may be based on the type of the information. Classification, such as combining the news information sent by the application server, pushing the merged information to the terminal; or combining the video information sent by the application server, and pushing the merged information to the terminal.
  • the push server when the push server establishes a connection mode with the terminal In the real-time working mode, the push server receives the information sent by the application server, and pushes the information to the terminal, including:
  • the push server receives the information sent by the application server
  • the mode in which the push server establishes a connection with the terminal is a real-time working mode
  • the power consumption of the terminal and the consumption of the network traffic are large, so that information can be pushed to the terminal according to the type of information.
  • the news information subscribed by the user, the notification message of the group described by the user, and the like that the user needs to receive in real time is a real-time push type
  • the entertainment gossip information, the advertisement information, or the video information does not require the user to receive the information in real time as a timing.
  • Push type the news information subscribed by the user, the notification message of the group described by the user, and the like that the user needs to receive in real time.
  • the type of the information that the push server identifies the information may be determined according to the priority of the service provider that sends the information, and the priority of the service provider of the information may be pre-configured by the user according to his own needs, for example, the user needs to receive in real time.
  • the priority of the service provider that sends the news information may be set to a high priority; if the user does not need to receive the video information in real time, the priority of the service provider that sends the video information may be set to be low; Configuration information is sent to the push server.
  • the push server identifies, according to the configuration information, information sent by an application server of a service provider with a high priority as a real-time push type, and pushes the information of the real-time push type to the terminal in real time;
  • the information sent by the application server of the low service provider is identified as a timing push type, and the information of the timing push type is pushed to the terminal every fifth preset time period.
  • the fifth preset time period is pre-configured by the push server.
  • the information obtained by the terminal after parsing or decoding may be displayed by using a WEB browser, where the WEB browser is pre-set when the terminal is shipped from the factory, and the user may download and install other clients without upgrading the user.
  • the information obtained after the terminal parses or decodes can also be displayed by pushing the information client, and the push information guest
  • the client is an application client, that is, an application running on the terminal.
  • the displayed information can be displayed by means of a reminder message.
  • the terminal may display the information through the internal interface of the terminal through the WEB browser, or display the information through the push information client.
  • the internal interface can be a secondary development interface.
  • the embodiment of the invention also provides a push server.
  • 4 is a schematic structural diagram of a push server according to an embodiment of the present invention; as shown in FIG. 4, the push server includes: a first connection establishing unit 41, a first receiving unit 43, and a pushing unit 42;
  • the first connection establishing unit 41 is configured to establish a WEBSOCKET communication connection with the terminal;
  • the first receiving unit 43 is configured to receive information sent by an application server
  • the pushing unit 42 is configured to push the information received by the first receiving unit 43 to the terminal according to the WEBSOCKET communication connection established by the first connection establishing unit 41.
  • the mode in which the push server establishes a connection with the terminal is a real-time working mode; the push server further includes a detecting unit 44 configured to: the pushing unit 42 is not in the first preset time period. When the information is pushed to the terminal, it is detected whether the communication connection between the first connection establishing unit 41 and the terminal is interrupted every second preset time period;
  • the first connection establishing unit 41 is further configured to re-establish a WEBSOCKET communication connection with the terminal when the detecting unit 44 detects that the communication connection between the first connection establishing unit 41 and the terminal is interrupted.
  • the mode in which the push server establishes a connection with the terminal is a timing working mode; the first connection establishing unit 41 is configured to establish a WEBSOCKET communication with the terminal every third preset time period. connection.
  • the push server further includes a merging unit 45 configured to The information sent by the application server received by the receiving unit 43 in the fourth preset time period is merged according to the information type;
  • the push unit 42 is configured to push the information merged by the merge unit 45 according to the WEBSOCKET communication established by the first connection establishing unit 41 to the terminal.
  • the push server further includes an identifying unit 46 configured to identify that the type of information received by the first receiving unit 43 is a real-time push type or a timing push type;
  • the pushing unit 42 is configured to push the information of the real-time push type identified by the identifying unit to the terminal in real time; and the information type recognized by the identifying unit 46 is a timing push type information every The fifth preset time period is pushed to the terminal.
  • the functions of the processing units in the push server of the embodiment of the present invention can be understood by referring to the related description of the information pushing method, and the processing units in the push server according to the embodiment of the present invention can implement the present invention.
  • the implementation of the analog circuit of the functions described in the embodiments can also be implemented by running the software of the functions described in the embodiments of the present invention on the smart terminal.
  • the first connection establishing unit 41, the first receiving unit 43 and the pushing unit 42 in the push server may be implemented by a transceiver or a transceiver antenna of the push server in an actual application; the detection in the push server
  • the unit 44, the merging unit 45 and the identification unit 46 can be used by the central processing unit (CPU) of the push server, or a digital signal processor (DSP), or a programmable gate.
  • Array FPGA, Field-Programmable Gate Array
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention; as shown in FIG. 5, the terminal includes: a second connection establishing unit 51 and a second receiving unit 52;
  • the second connection establishing unit 51 is configured to establish a WEBSOCKET with a push server. Communication connection
  • the second receiving unit 52 is configured to receive the information pushed by the push server according to the WEBSOCKET communication connection established by the second connection establishing unit 51.
  • the terminal further includes a display unit 53, configured to display the information through a WEB browser, or display the information by pushing the information client.
  • the second connection establishing unit 51 is configured to establish a communication connection with the push server through the WEB SOCKET interface.
  • the terminal may be implemented by an intelligent terminal device such as a mobile phone or a tablet computer in an actual application; the second connection establishing unit 51 in the terminal may be combined by a transceiver or a transceiver antenna of the terminal in an actual application.
  • the WEB SOCKET interface of the terminal is implemented; the second receiving unit 52 can be implemented by the transceiver or the transceiver antenna of the terminal in an actual application; the display unit 53 can be used by the display of the terminal in an actual application. Or the display is implemented.
  • FIG. 6 is a schematic structural diagram of a information push system according to an embodiment of the present invention. As shown in FIG. 6, the information push system includes: a terminal 50 and a push server 40;
  • the terminal 50 is configured to establish a WEBSOCKET communication connection with the push server 40.
  • the push server 40 is configured to receive information sent by the application server 60, and push the information to the terminal according to the established WEBSOCKET communication connection. 50.
  • the mode in which the push server 40 establishes a connection with the terminal 50 is a real-time working mode; and the push server 40 is further configured to: when no information is pushed to the terminal 50 within a first preset time period, Detecting a communication connection with the terminal 50 every second preset time period Whether it is interrupted; when it is detected that the communication connection with the terminal 50 is interrupted, a WEBSOCKET communication connection is established with the terminal 50 again.
  • the mode in which the push server 40 establishes a connection with the terminal 50 is a timed operation mode; and the push server 40 is further configured to establish a WEBSOCKET communication connection with the terminal 50 every third preset time period.
  • the push server 40 is further configured to receive the information sent by the application server 60 in a fourth preset time period, merge the information according to the information type, and combine the merged information according to the established WEBSOCKET communication connection. Pushed to the terminal 50.
  • the push server 40 is further configured to: when establishing a real-time connection with the terminal 50, receive information sent by the application server 60; identify the type of the information as a real-time push type or a timing push type; The information type is real-time push type information is pushed to the terminal 50 in real time; the information of the information type being the timing push type is pushed to the terminal 50 every fifth preset time period.
  • the terminal 50 is further configured to display the information through a WEB browser, or display the information by pushing the information client.
  • the terminal 50 is the terminal shown in FIG. 5; the push server 40 is the push server described in FIG.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment of a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a WEBSOCKET communication connection is established between the terminal and the push server, and the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection.
  • the technical solution of the embodiment of the present invention establishes an information push channel with the push server through the WEBSOCKET communication scheme, so that the terminal device can receive the information pushed by the application without installing the client of the application, which can be reduced to a certain extent.
  • the number of applications installed in the terminal device improves the performance of the terminal device, and on the other hand, improves the user's operating experience.

Abstract

Disclosed in an embodiment of the present invention are an information pushing method, system and device and a computer storage medium. The information pushing method comprises: a push server establishes a WEBSOCKET communication connection with a terminal; the push server receives information sent by an application server, and, according to the established WEBSOCKET communication connection, pushes the information to the terminal.

Description

一种信息推送方法、 系统、 设备及计算机存储介质 技术领域  Information pushing method, system, device and computer storage medium
本发明涉及移动通信技术, 具体涉及一种信息推送方法、 系统、 设备 及计算机存储介质。 背景技术  The present invention relates to mobile communication technologies, and in particular, to an information push method, system, device, and computer storage medium. Background technique
用户通过互联网获取信息主要包括两种方式: 一是通过终端主动查询 信息(PULL ) 的方式; 二是服务器主动向终端推送信息(PUSH ) 的方式。 随着互联网技术及智能终端的发展, 用户通过智能终端获取信息越来越频 繁, 出现了各种应用 (APP ), 应用服务商往往通过各种应用向终端推送信 息。  Users access information through the Internet mainly include two methods: one is to actively query information (PULL) through the terminal; the other is the way the server actively pushes information (PUSH) to the terminal. With the development of Internet technologies and intelligent terminals, users access information through intelligent terminals more and more frequently, and various applications (APPs) have emerged. Application service providers often push information to terminals through various applications.
现有的信息推送方式主要包括以下两种: 纵向融合推送方式和横向融 合推送方式。 所述纵向融合推送方式指的是终端、 应用商店和应用服务器 构成封闭系统, 其他应用服务器要想加入所述封闭系统需要按照所述封闭 系统的流程才能加入; 各应用服务器通过所述封闭系统内的推送平台将各 信息推送给终端。 所述横向融合推送方式釆用开放式平台, 各应用服务器 通过开放式的推送平台将信息推送给终端。  The existing information push methods mainly include the following two types: vertical fusion push mode and horizontal fusion push mode. The vertical fusion push mode refers to that the terminal, the application store, and the application server form a closed system, and other application servers need to join the closed system in order to join the closed system; each application server passes through the closed system. The push platform pushes each information to the terminal. The horizontal fusion push mode uses an open platform, and each application server pushes information to the terminal through an open push platform.
但是, 无论釆用纵向融合推送方式或横向融合推送方式, 在信息推送 时都是通过应用本身推送消息, 如果用户没有安装所述应用的客户端, 往 往接收不到所述应用的服务器推送的信息, 这样用户往往需要安装过多的 应用的客户端才可能满足用户的信息需求。 过多的应用客户端给终端设备 的性能带来影响, 同时对用户的操作体验也带来不便。 发明内容 However, regardless of whether the vertical merge push mode or the horizontal merge push mode is used, the message is pushed by the application itself during the information push. If the user does not install the client of the application, the server push information of the application is often not received. In this way, users often need to install too many applications of the client to meet the user's information needs. Excessive application clients have an impact on the performance of the terminal device, and at the same time bring inconvenience to the user's operating experience. Summary of the invention
为解决现有存在的技术问题, 本发明实施例提供一种信息推送方法、 系统、 设备及计算机存储介质, 无需通过应用客户端便可将信息推送至终 端, 能够提升用户的操作体验。  In order to solve the existing technical problems, the embodiments of the present invention provide an information pushing method, system, device, and computer storage medium, which can push information to the terminal without using the application client, thereby improving the user's operating experience.
本发明实施例的技术方案是这样实现的:  The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种信息推送方法, 应用于推送服务器中; 所述 方法包括:  An embodiment of the present invention provides an information pushing method, which is applied to a push server. The method includes:
所述推送服务器与终端建立 WEBSOCKET通信连接;  The push server establishes a WEBSOCKET communication connection with the terminal;
所述推送服务器接收到应用服务器发送的信息, 根据建立的所述 WEBSOCKET通信连接将所述信息推送至所述终端。  The push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection.
优选地, 所述推送服务器与所述终端建立连接的模式为实时工作模式; 所述推送服务器与终端建立 WEBSOCKET连接之后, 所述方法还包括: 所述推送服务器在第一预设时间段内无信息推送至所述终端时, 每隔 断; 当检测到所述推送服务器与所述终端之间的通信连接中断时, 重新与 所述终端建立 WEBSOCKET通信连接。  Preferably, the mode in which the push server establishes a connection with the terminal is a real-time working mode. After the push server establishes a WEBSOCKET connection with the terminal, the method further includes: the push server is not in the first preset time period. When the information is pushed to the terminal, it is interrupted; when it is detected that the communication connection between the push server and the terminal is interrupted, a WEBSOCKET communication connection is established with the terminal.
优选地, 所述推送服务器与所述终端建立连接的模式为定时工作模式; 所述推送服务器与终端建立 WEBSOCKET通信连接, 包括:  Preferably, the mode in which the push server establishes a connection with the terminal is a timing working mode; the push server establishes a WEBSOCKET communication connection with the terminal, including:
所述推送服务器每隔第三预设时间段与所述终端建立 WEBSOCKET通 信连接。  The push server establishes a WEBSOCKET communication connection with the terminal every third preset time period.
优选地, 所述推送服务器接收到应用服务器发送的信息, 根据建立的 所述 WEBSOCKET通信连接将所述信息推送至所述终端, 包括:  Preferably, the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection, including:
所述推送服务器在第四预设时间段内接收所述应用服务器发送的信 息, 按信息类型将所述信息合并, 根据建立的所述 WEBSOCKET通信连接 将合并后的信息推送至所述终端。 优选地, 当所述推送服务器与所述终端建立实时连接时, 所述推送服 务器接收到应用服务器发送的信息,根据建立的所述 WEBSOCKET通信连 接将所述信息推送至所述终端, 包括: The push server receives the information sent by the application server in a fourth preset time period, merges the information according to the information type, and pushes the merged information to the terminal according to the established WEBSOCKET communication connection. Preferably, when the push server establishes a real-time connection with the terminal, the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection, including:
所述推送服务器接收到所述应用服务器发送的信息;  Receiving, by the push server, information sent by the application server;
识别所述信息的类型为实时推送类型或定时推送类型;  Identifying the type of the information as a real-time push type or a timing push type;
将所述信息类型为实时推送类型的信息实时推送至所述终端; 将所述 信息类型为定时推送类型的信息每隔第五预设时间段推送至所述终端。  And transmitting the information of the information type to the real-time push type to the terminal in real time; and pushing the information of the information type to the timing push type to the terminal every fifth preset time period.
本发明实施例还提供了一种信息推送方法, 应用于终端中; 所述方法 包括:  The embodiment of the invention further provides an information pushing method, which is applied to a terminal; the method includes:
所述终端建立与推送服务器的 WEBSOCKET通信连接;  The terminal establishes a WEBSOCKET communication connection with the push server;
根据所述 WEBSOCKET通信连接接收所述推送服务器推送的信息。 优选地, 所述方法还包括: 通过 WEB浏览器展示所述信息, 或通过推 送信息客户端展示所述信息。  Receiving information pushed by the push server according to the WEBSOCKET communication connection. Preferably, the method further comprises: displaying the information through a WEB browser, or displaying the information by pushing the information client.
本发明实施例还提供了一种信息推送方法, 所述方法包括:  An embodiment of the present invention further provides an information pushing method, where the method includes:
终端与推送服务器建立 WEBSOCKET通信连接;  The terminal establishes a WEBSOCKET communication connection with the push server;
所述推送服务器接收到应用服务器发送的信息, 根据建立的所述 Receiving, by the push server, information sent by the application server, according to the established
WEBSOCKET通信连接将所述信息推送至所述终端。 The WEBSOCKET communication connection pushes the information to the terminal.
本发明实施例还提供了一种推送服务器, 所述推送服务器包括: 第一 连接建立单元、 第一接收单元和推送单元; 其中,  The embodiment of the present invention further provides a push server, where the push server includes: a first connection establishing unit, a first receiving unit, and a pushing unit;
所述第一连接建立单元, 配置为与终端建立 WEBSOCKET通信连接; 所述第一接收单元, 配置为接收应用服务器发送的信息;  The first connection establishing unit is configured to establish a WEBSOCKET communication connection with the terminal; the first receiving unit is configured to receive information sent by the application server;
所述推送单元, 配置为根据所述第一连接建立单元建立的 The pushing unit is configured to be established according to the first connection establishing unit
WEBSOCKET通信连接,将所述第一接收单元接收的信息推送至所述终端。 The WEBSOCKET communication connection pushes information received by the first receiving unit to the terminal.
优选地, 所述推送服务器与所述终端建立连接的模式为实时工作模式; 所述推送服务器还包括检测单元, 配置为所述推送单元在第一预设时间段 内无信息推送至所述终端时, 每隔第二预设时间段检测所述第一连接建立 单元与所述终端之间的通信连接是否中断; Preferably, the mode in which the push server establishes a connection with the terminal is a real-time working mode; the push server further includes a detecting unit configured to: the pushing unit is in a first preset time period When no information is pushed to the terminal, it is detected whether the communication connection between the first connection establishing unit and the terminal is interrupted every second preset time period;
所述第一连接建立单元, 还配置为当所述检测单元检测到所述第一连 接建立单元与所述终端之间的通信连接中断时, 重新与所述终端建立 The first connection establishing unit is further configured to re-establish with the terminal when the detecting unit detects that the communication connection between the first connection establishing unit and the terminal is interrupted
WEBSOCKET通信连接。 WEBSOCKET communication connection.
优选地, 所述推送服务器与所述终端建立连接的模式为定时工作模式; 所述第一连接建立单元, 配置为每隔第三预设时间段与所述终端建立 WEBSOCKET通信连接。  Preferably, the mode in which the push server establishes a connection with the terminal is a timing working mode; and the first connection establishing unit is configured to establish a WEBSOCKET communication connection with the terminal every third preset time period.
优选地, 所述推送服务器还包括合并单元, 配置为将所述第一接收单 元在第四预设时间段内接收的所述应用服务器发送的信息, 按信息类型合 并;  Preferably, the push server further includes a merging unit configured to merge the information sent by the application server received by the first receiving unit in the fourth preset time period according to the information type;
所述推送单元, 配置为根据所述第一连接建立单元建立的所述 WEBSOCKET通信连接将所述合并单元合并的信息推送至所述终端。  The pushing unit is configured to push the merged unit information to the terminal according to the WEBSOCKET communication connection established by the first connection establishing unit.
优选地, 所述推送服务器还包括识别单元, 配置为识别所述第一接收 单元接收到的信息的类型为实时推送类型或定时推送类型;  Preferably, the push server further includes an identifying unit configured to identify that the type of the information received by the first receiving unit is a real-time push type or a timing push type;
所述推送单元, 配置为将所述识别单元识别出的信息类型为实时推送 类型的信息实时推送至所述终端; 将所述识别单元识别出的信息类型为定 时推送类型的信息每隔第五预设时间段推送至所述终端。  The pushing unit is configured to push the information type recognized by the identifying unit into a real-time push type information to the terminal in real time; and the information type identified by the identifying unit is a timing push type information every fifth The preset time period is pushed to the terminal.
本发明实施例还提供了一种终端, 所述终端包括: 第二连接建立单元 和第二接收单元; 其中,  The embodiment of the present invention further provides a terminal, where the terminal includes: a second connection establishing unit and a second receiving unit;
所述第二连接建立单元, 配置为建立与推送服务器的 WEBSOCKET通 信连接;  The second connection establishing unit is configured to establish a WEBSOCKET communication connection with the push server;
所述第二接收单元, 配置为根据所述第二连接建立单元建立的所述 WEBSOCKET通信连接接收所述推送服务器推送的信息。  The second receiving unit is configured to receive information pushed by the push server according to the WEBSOCKET communication connection established by the second connection establishing unit.
优选地,所述终端还包括:展示单元,通过 WEB浏览器展示所述信息, 或推送信息客户端展示所述信息。 Preferably, the terminal further includes: a display unit, where the information is displayed through a WEB browser, Or push the information client to display the information.
本发明实施例还提供了一种信息推送系统, 所述信息推送系统包括: 终端和推送服务器; 其中,  The embodiment of the present invention further provides an information push system, where the information push system includes: a terminal and a push server;
所述终端, 配置为建立与推送服务器的 WEBSOCKET通信连接; 所述推送服务器, 配置为接收应用服务器发送的信息, 根据建立的所 述 WEBSOCKET通信连接将所述信息推送至所述终端。  The terminal is configured to establish a WEBSOCKET communication connection with the push server; the push server is configured to receive information sent by the application server, and push the information to the terminal according to the established WEBSOCKET communication connection.
优选地, 所述推送服务器, 还配置为与所述终端建立连接的模式为实 时工作模式时, 在第一预设时间段内无信息推送至所述终端时, 每隔第二 检测到所述推送服务器与所述终端之间的通信连接中断时, 重新与所述终 端建立 WEBSOCKET通信连接。  Preferably, the push server is further configured to: when the mode of establishing a connection with the terminal is a real-time working mode, when no information is pushed to the terminal in the first preset time period, the second detection is performed every second When the communication connection between the push server and the terminal is interrupted, a WEBSOCKET communication connection is established with the terminal.
优选地, 所述推送服务器, 配置为与所述终端建立连接的模式为定时 工作模式时,每隔第三预设时间段与所述终端建立 WEBSOCKET通信连接。  Preferably, the push server is configured to establish a WEBSOCKET communication connection with the terminal every third preset time period when the mode of establishing a connection with the terminal is a timed operation mode.
优选地, 所述推送服务器, 配置为在第四预设时间段内接收所述应用 服务器发送的信息, 按信息类型将所述信息合并, 根据建立的所述 WEBSOCKET通信连接将合并后的信息推送至所述终端。  Preferably, the push server is configured to receive information sent by the application server in a fourth preset time period, combine the information according to an information type, and push the merged information according to the established WEBSOCKET communication connection. To the terminal.
优选地, 所述推送服务器, 配置为与所述终端建立实时连接时, 接收 到所述应用服务器发送的信息; 识别所述信息的类型为实时推送类型或定 时推送类型; 将所述信息类型为实时推送类型的信息实时推送至所述终端; 将所述信息类型为定时推送类型的信息每隔第五预设时间段推送至所述终 端。  Preferably, the push server is configured to receive information sent by the application server when establishing a real-time connection with the terminal; identifying the type of the information as a real-time push type or a timing push type; The information of the real-time push type is pushed to the terminal in real time; and the information of the information type of the timing push type is pushed to the terminal every fifth preset time period.
优选地, 所述终端, 还配置为通过 WEB浏览器展示所述信息, 或通过 推送信息客户端展示所述信息。  Preferably, the terminal is further configured to display the information through a WEB browser, or display the information by pushing the information client.
本发明实施例还提供了一种计算机存储介质, 所述计算机存储介质中 存储有计算机可执行指令, 所述计算机可执行指令用于执行本发明实施例 所述的应用于推送服务器中的信息推送方法。 The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the embodiment of the present invention. The information is applied to a push method in a push server.
本发明实施例还提供了一种计算机存储介质, 所述计算机存储介质中 存储有计算机可执行指令, 所述计算机可执行指令用于执行本发明实施例 所述的应用于终端中的信息推送方法。  The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information pushing method applied to the terminal according to the embodiment of the present invention. .
本发明实施例提供的信息推送方法、 系统、 设备及计算机存储介质, 终端通过建立与推送服务器的 WEBSOCKET通信连接,所述推送服务器接 收到应用服务器发送的信息,根据建立的所述 WEBSOCKET通信连接将所 述信息推送至所述终端。如此,本发明实施例的技术方案通过 WEBSOCKET 通信方案与所述推送服务器建立了信息推送通道, 使得终端设备无需安装 应用的客户端便可以接收到所述应用推送的信息, 在一定程度上可以减少 终端设备中安装的应用程序的数量, 提升终端设备的性能, 另一方面也提 升了用户的操作体验。 附图说明  The information pushing method, system, device and computer storage medium provided by the embodiment of the present invention, the terminal establishes a WEBSOCKET communication connection with the push server, and the push server receives the information sent by the application server, according to the established WEBSOCKET communication connection. The information is pushed to the terminal. As such, the technical solution of the embodiment of the present invention establishes an information push channel with the push server through the WEBSOCKET communication scheme, so that the terminal device can receive the information pushed by the application without installing the client of the application, which can be reduced to a certain extent. The number of applications installed in the terminal device improves the performance of the terminal device, and on the other hand, improves the user's operating experience. DRAWINGS
图 1为本发明实施例一的信息推送方法的流程示意图;  1 is a schematic flowchart of an information pushing method according to Embodiment 1 of the present invention;
图 2为本发明实施例二的信息推送方法的流程示意图;  2 is a schematic flowchart of an information pushing method according to Embodiment 2 of the present invention;
图 3为本发明实施例三的信息推送方法的流程示意图;  3 is a schematic flowchart of an information pushing method according to Embodiment 3 of the present invention;
图 4为本发明实施例的推送服务器的组成结构示意图;  4 is a schematic structural diagram of a configuration of a push server according to an embodiment of the present invention;
图 5为本发明实施例的终端的组成结构示意图;  FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图 6为本发明实施例的信息推送系统的组成结构示意图。 具体实施方式  FIG. 6 is a schematic structural diagram of a structure of an information push system according to an embodiment of the present invention. detailed description
下面结合附图及具体实施例对本发明作进一步详细的说明。  The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明实施例提供了一种信息推送方法, 应用于推送服务器中。 图 1 为本发明实施例一的信息推送方法的流程示意图; 如图 1 所示, 所述信息 推送方法包括: 步骤 101 : 所述推送服务器与终端建立 WEBSOCKET通信连接。 The embodiment of the invention provides an information pushing method, which is applied to a push server. 1 is a schematic flowchart of an information pushing method according to Embodiment 1 of the present invention; as shown in FIG. 1, the information pushing method includes: Step 101: The push server establishes a WEBSOCKET communication connection with the terminal.
这里, 所述终端通过自身的 WEBSOCKET接口建立与所述推送服务器 的 WEBSOCKET通信连接。  Here, the terminal establishes a WEBSOCKET communication connection with the push server through its own WEBSOCKET interface.
本实施例中, 所述推送服务器与所述终端建立连接的模式可以为实时 工作模式; 则所述推送服务器与终端建立 WEBSOCKET连接之后, 所述方 法还包括:  In this embodiment, the mode in which the push server establishes a connection with the terminal may be a real-time working mode. After the push server establishes a WEBSOCKET connection with the terminal, the method further includes:
所述推送服务器在第一预设时间段内无信息推送至所述终端时, 每隔 断; 当检测到所述推送服务器与所述终端之间的通信连接中断时, 重新与 所述终端建立 WEBSOCKET通信连接。 述终端返回的响应消息检测所述推送服务器与所述终端之间的通信连接是 否中断。 另一方面, 所述终端也可在第一预设时间段内无信息接收到时, 每隔第二预设时间段向所述推送服务器发送心跳消息, 所述推送服务器根 据所述终端发送的心跳消息确定与所述终端之间的通信连接是否中断。 为 节省所述终端的电量和网络流量, 所述心跳消息的发送时间间隔, 即所述 第二预设时间段可设置较长, 如所述第二预设时间段可设置为 10分钟。 当 所述推送服务器主动向所述终端发送心跳消息时, 所述第二预设时间段由 所述推送服务器预先配置; 相应的, 当所述终端主动向所述推送服务器发 送心跳消息时, 所述第二预设时间段由所述终端预先配置。  When the push server pushes no information to the terminal in the first preset time period, it is interrupted; when it is detected that the communication connection between the push server and the terminal is interrupted, the WEBSOCKET is newly established with the terminal. Communication connection. The response message returned by the terminal detects whether the communication connection between the push server and the terminal is interrupted. On the other hand, the terminal may send a heartbeat message to the push server every second preset time period when no information is received in the first preset time period, and the push server sends the heartbeat message according to the terminal. The heartbeat message determines if the communication connection with the terminal is interrupted. In order to save power and network traffic of the terminal, the time interval for sending the heartbeat message, that is, the second preset time period may be set longer, for example, the second preset time period may be set to 10 minutes. When the push server actively sends a heartbeat message to the terminal, the second preset time period is pre-configured by the push server; correspondingly, when the terminal actively sends a heartbeat message to the push server, The second preset time period is pre-configured by the terminal.
本实施例中, 所述推送服务器与所述终端建立连接的模式可以为定时 工作模式; 则所述推送服务器与终端建立 WEBSOCKET通信连接, 包括: 所述推送服务器每隔第三预设时间段与所述终端建立 WEBSOCKET通 信连接。  In this embodiment, the mode in which the push server establishes a connection with the terminal may be a timed working mode; and the push server establishes a WEBSOCKET communication connection with the terminal, including: the push server is connected with the third preset time period. The terminal establishes a WEBSOCKET communication connection.
这里, 由于所述终端发起建立与所述推送服务器的 WEBSOCKET通信 连接; 则当所述推送服务器与所述终端建立连接的模式为定时工作模式时, 则终端每隔第三预设时间段建立与所述推送服务器的通信连接。 其中, 所 述第三预设时间段可预先在终端设置。 Here, since the terminal initiates establishment of WEBSOCKET communication with the push server If the mode in which the push server establishes a connection with the terminal is a timed operation mode, the terminal establishes a communication connection with the push server every third preset time period. The third preset time period may be preset in the terminal.
在本实施例中, 所述推送服务器与所述终端建立连接的模式可根据终 端发送的指示设置; 具体的, 所述终端可向所述推送服务器发送指示消息, 所述指示消息中携带有连接模式是实时工作模式或定时工作模式。  In this embodiment, the mode in which the push server establishes a connection with the terminal may be set according to an indication sent by the terminal. Specifically, the terminal may send an indication message to the push server, where the indication message carries a connection. The mode is a real-time working mode or a timed working mode.
步骤 102: 所述推送服务器接收到应用服务器发送的信息,根据建立的 所述 WEBSOCKET通信连接将所述信息推送至所述终端。  Step 102: The push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection.
本实施例中, 所述推送服务器可将接收到的信息实时推送至所述终端, 或将信息定时推送至所述终端。 具体的, 所述推送服务器将信息定时推送 至所述终端时, 可预先设定推送时间, 待设定的推送时间到时, 将所述信 息推送至所述终端。  In this embodiment, the push server may push the received information to the terminal in real time, or push the information to the terminal periodically. Specifically, when the push server pushes the information to the terminal periodically, the push time may be preset, and when the push time to be set expires, the information is pushed to the terminal.
作为另一种实施方式, 所述推送服务器接收到应用服务器发送的信息, 根据建立的所述 WEBSOCKET通信连接将所述信息推送至所述终端,包括: 所述推送服务器在第四预设时间段内接收所述应用服务器发送的信 息, 按信息类型将所述信息合并, 将合并后的信息推送至所述终端。  In another embodiment, the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection, including: the push server is in a fourth preset time period. Receiving the information sent by the application server, combining the information according to the information type, and pushing the merged information to the terminal.
这里, 所述推送服务器在第四预设时间段内接收所述应用服务器发送 的信息, 按信息类型将所述信息合并, 将合并后的信息推送至所述终端, 以便减少向终端推送的信息数量, 减少对用户的干扰。  Here, the push server receives the information sent by the application server in a fourth preset time period, combines the information according to the information type, and pushes the merged information to the terminal, so as to reduce the information pushed to the terminal. Quantity, reducing interference to users.
具体的, 所述推送服务器可根据推送所述信息的服务商分类, 如将 XX 网推送的信息合并, 将合并后的信息推送至所述终端; 或者所述推送服务 器可根据所述信息的类型分类, 如将应用服务器发送的新闻信息合并, 将 合并后的信息推送至所述终端; 或将应用服务器发送的视频信息合并, 将 合并后的信息推送至所述终端。  Specifically, the push server may be classified according to a service provider that pushes the information, such as combining information pushed by the XX network, and pushing the merged information to the terminal; or the push server may be based on the type of the information. Classification, such as combining the news information sent by the application server, pushing the merged information to the terminal; or combining the video information sent by the application server, and pushing the merged information to the terminal.
作为另一种实施方式, 当所述推送服务器与所述终端建立连接的模式 为实时工作模式时, 所述推送服务器接收到应用服务器发送的信息, 将所 述信息推送至所述终端, 包括: As another implementation manner, when the push server establishes a connection mode with the terminal In the real-time working mode, the push server receives the information sent by the application server, and pushes the information to the terminal, including:
所述推送服务器接收到应用服务器发送的信息;  The push server receives the information sent by the application server;
识别所述信息的类型为实时推送类型或定时推送类型;  Identifying the type of the information as a real-time push type or a timing push type;
将所述信息类型为实时推送类型的信息实时推送至所述终端; 将所述 信息类型为定时推送类型的信息每隔第五预设时间段推送至所述终端。  And transmitting the information of the information type to the real-time push type to the terminal in real time; and pushing the information of the information type to the timing push type to the terminal every fifth preset time period.
这里, 当所述推送服务器与所述终端建立连接的模式为实时工作模式 时, 终端的电量和网络流量的消耗较大, 因此可根据信息的类型向所述终 端推送信息。 例如, 用户订阅的新闻信息、 用户所述的群组的通知消息等 需要用户实时接收到的信息为实时推送类型; 娱乐八卦信息、 广告信息或 视频信息等不需要用户实时接收到的信息为定时推送类型。 具体的, 所述 推送服务器识别所述信息的类型可根据发送所述信息的服务商的优先级确 定, 所述信息的服务商的优先级可由用户根据自身需求预先配置, 例如, 用户要实时接收新闻信息, 则可以配置发送所述新闻信息的服务商的优先 级为高优先级; 用户不需要实时接收视频信息, 则可以配置发送所述视频 信息的服务商的优先级为低; 终端将上述配置信息发送至所述推送服务器。 相应的, 所述推送服务器根据所述配置信息将优先级为高的服务商的应用 服务器发送的信息识别为实时推送类型, 将所述实时推送类型的信息实时 推送至所述终端; 将优先级为低的服务商的应用服务器发送的信息识别为 定时推送类型, 将所述定时推送类型的信息每隔第五预设时间段推送至所 述终端。 其中, 所述第五预设时间段由所述推送服务器预先配置。  Here, when the mode in which the push server establishes a connection with the terminal is a real-time working mode, the power consumption of the terminal and the consumption of the network traffic are large, so that information can be pushed to the terminal according to the type of information. For example, the news information subscribed by the user, the notification message of the group described by the user, and the like that the user needs to receive in real time is a real-time push type; the entertainment gossip information, the advertisement information, or the video information does not require the user to receive the information in real time as a timing. Push type. Specifically, the type of the information that the push server identifies the information may be determined according to the priority of the service provider that sends the information, and the priority of the service provider of the information may be pre-configured by the user according to his own needs, for example, the user needs to receive in real time. For the news information, the priority of the service provider that sends the news information may be set to a high priority; if the user does not need to receive the video information in real time, the priority of the service provider that sends the video information may be set to be low; Configuration information is sent to the push server. Correspondingly, the push server identifies, according to the configuration information, information sent by an application server of a service provider with a high priority as a real-time push type, and pushes the information of the real-time push type to the terminal in real time; The information sent by the application server of the low service provider is identified as a timing push type, and the information of the timing push type is pushed to the terminal every fifth preset time period. The fifth preset time period is pre-configured by the push server.
本发明实施例还提供了一种计算机存储介质, 所述计算机存储介质中 存储有计算机可执行指令, 所述计算机可执行指令用于执行本发明实施例 所述的应用于推送服务器中的信息推送方法。  The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information push applied to the push server according to the embodiment of the present invention. method.
本发明实施例还提供了一种信息推送方法, 应用于终端中。 图 2 为本 发明实施例二的信息推送方法的流程示意图; 如图 2所示, 所述信息推送 方法包括: The embodiment of the invention further provides an information pushing method, which is applied to a terminal. Figure 2 is the basis The flow chart of the information pushing method of the second embodiment of the present invention; as shown in FIG. 2, the information pushing method includes:
步骤 201 : 终端建立与推送服务器的 WEBSOCKET通信连接。  Step 201: The terminal establishes a WEBSOCKET communication connection with the push server.
这里, 所述终端建立与推送服务器的 WEBSOCKET通信连接, 包括: 所述终端通过 WEB SOCKET接口建立与所述推送服务器的通信连接。  Here, the terminal establishes a WEBSOCKET communication connection with the push server, including: the terminal establishes a communication connection with the push server through the WEB SOCKET interface.
步骤 202: 根据所述 WEBSOCKET通信连接接收所述推送服务器推送 的信息。  Step 202: Receive, according to the WEBSOCKET communication connection, information pushed by the push server.
这里, 所述终端接收到所述推送服务器推送的信息后, 解析或解码所 述信息, 通过 WEB浏览器展示所述信息, 或通过推送信息客户端展示所述 信息。 具体的解析或解码所述信息的方式与现有技术相同, 本实施例中不 再赘述。  Here, after receiving the information pushed by the push server, the terminal parses or decodes the information, displays the information through a WEB browser, or displays the information through a push information client. The specific manner of parsing or decoding the information is the same as that in the prior art, and will not be further described in this embodiment.
本实施例中,所述终端解析或解码后获得的信息可通过 WEB浏览器展 示, 所述 WEB浏览器可以为终端出厂时预先设置的, 无需用户自行下载安 装其他的客户端, 可以提升用户的操作体验; 另一方面, 所述终端解析或 解码后获得的信息也可以通过推送信息客户端展示, 所述推送信息客户端 为应用客户端, 即运行在所述终端上的应用程序。 具体的, 展示的信息可 以通过提醒消息的方式展示。  In this embodiment, the information obtained by the terminal after being parsed or decoded may be displayed by using a WEB browser, and the WEB browser may be preset before the terminal is shipped from the factory, and the user may download and install other clients without upgrading the user. On the other hand, the information obtained after the terminal is parsed or decoded may also be displayed by the push information client, where the push information client is an application client, that is, an application running on the terminal. Specifically, the displayed information can be displayed by means of a reminder message.
具体的,所述终端可通过终端自身的内部接口将信息通过 WEB浏览器 展示, 或通过所述推送信息客户端展示。 所述内部接口可以是二次开发接 口。  Specifically, the terminal may display the information through the internal interface of the terminal through the WEB browser, or display the information through the push information client. The internal interface can be a secondary development interface.
本发明实施例还提供了一种计算机存储介质, 所述计算机存储介质中 存储有计算机可执行指令, 所述计算机可执行指令用于执行本发明实施例 所述的应用于终端中的信息推送方法。  The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information pushing method applied to the terminal according to the embodiment of the present invention. .
本发明实施例还提供了一种信息推送方法。 图 3 为本发明实施例三的 信息推送方法的流程示意图; 如图 3所示, 所述信息推送方法包括: 步骤 301 : 终端建立与推送服务器的 WEBSOCKET通信连接。 The embodiment of the invention further provides an information pushing method. FIG. 3 is a schematic flowchart of an information pushing method according to Embodiment 3 of the present invention; as shown in FIG. 3, the information pushing method includes: Step 301: The terminal establishes a WEBSOCKET communication connection with the push server.
这里, 所述终端建立与推送服务器的 WEBSOCKET通信连接, 包括: 所述终端通过 WEB SOCKET接口建立与所述推送服务器的通信连接。  Here, the terminal establishes a WEBSOCKET communication connection with the push server, including: the terminal establishes a communication connection with the push server through the WEB SOCKET interface.
本实施例中, 所述推送服务器与所述终端建立连接的模式可以为实时 工作模式; 则所述推送服务器与终端建立 WEBSOCKET通信连接之后, 所 述方法还包括:  In this embodiment, the mode in which the push server establishes a connection with the terminal may be a real-time working mode. After the push server establishes a WEBSOCKET communication connection with the terminal, the method further includes:
所述推送服务器在第一预设时间段内无信息推送至所述终端时, 每隔 断; 当检测到所述推送服务器与所述终端之间的通信连接中断时, 重新与 所述终端建立 WEBSOCKET通信连接。 述终端返回的响应消息检测所述推送服务器与所述终端之间的通信连接是 否中断。 另一方面, 所述终端也可在第一预设时间段内无信息接收到时, 每隔第二预设时间段向所述推送服务器发送心跳消息, 所述推送服务器根 据所述终端发送的心跳消息确定与所述终端之间的通信连接是否中断。 为 节省所述终端的电量和网络流量, 所述心跳消息的发送时间间隔, 即所述 第二预设时间段可设置较长, 如所述第二预设时间段可设置为 10分钟。 当 所述推送服务器主动向所述终端发送心跳消息时, 所述第二预设时间段由 所述推送服务器预先配置; 相应的, 当所述终端主动向所述推送服务器发 送心跳消息时, 所述第二预设时间段由所述终端预先配置。  When the push server pushes no information to the terminal in the first preset time period, it is interrupted; when it is detected that the communication connection between the push server and the terminal is interrupted, the WEBSOCKET is newly established with the terminal. Communication connection. The response message returned by the terminal detects whether the communication connection between the push server and the terminal is interrupted. On the other hand, the terminal may send a heartbeat message to the push server every second preset time period when no information is received in the first preset time period, and the push server sends the heartbeat message according to the terminal. The heartbeat message determines if the communication connection with the terminal is interrupted. In order to save power and network traffic of the terminal, the time interval for sending the heartbeat message, that is, the second preset time period may be set longer, for example, the second preset time period may be set to 10 minutes. When the push server actively sends a heartbeat message to the terminal, the second preset time period is pre-configured by the push server; correspondingly, when the terminal actively sends a heartbeat message to the push server, The second preset time period is pre-configured by the terminal.
本实施例中, 所述推送服务器与所述终端建立连接的模式可以为定时 工作模式; 则所述推送服务器与终端建立 WEBSOCKET连接, 包括: 所述推送服务器每隔第三预设时间段与所述终端建立 WEBSOCKET通 信连接。  In this embodiment, the mode in which the push server establishes a connection with the terminal may be a timed mode; the push server establishes a WEBSOCKET connection with the terminal, and the method includes: the push server is connected to the third preset time period The terminal establishes a WEBSOCKET communication connection.
这里, 由于所述终端发起建立与所述推送服务器的 WEBSOCKET通信 连接; 则当所述推送服务器与所述终端建立连接的模式为定时工作模式时, 则终端每隔第三预设时间段建立与所述推送服务器的通信连接。 其中, 所 述第三预设时间段可预先在终端设置。 Here, since the terminal initiates establishment of WEBSOCKET communication with the push server If the mode in which the push server establishes a connection with the terminal is a timed operation mode, the terminal establishes a communication connection with the push server every third preset time period. The third preset time period may be preset in the terminal.
在本实施例中, 所述推送服务器与所述终端建立连接的模式可根据终 端发送的指示设置; 具体的, 所述终端可向所述推送服务器发送指示消息, 所述指示消息中携带有连接模式是实时工作模式或定时工作模式。  In this embodiment, the mode in which the push server establishes a connection with the terminal may be set according to an indication sent by the terminal. Specifically, the terminal may send an indication message to the push server, where the indication message carries a connection. The mode is a real-time working mode or a timed working mode.
步骤 302: 所述推送服务器接收到应用服务器发送的信息,根据建立的 所述 WEBSOCKET通信连接将所述信息推送至所述终端。  Step 302: The push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection.
本实施例中, 所述推送服务器可将接收到的信息实时推送至所述终端, 或将信息定时推送至所述终端。 具体的, 所述推送服务器将信息定时推送 至所述终端时, 可预先设定推送时间, 待设定的推送时间到时, 将所述信 息推送至所述终端。  In this embodiment, the push server may push the received information to the terminal in real time, or push the information to the terminal periodically. Specifically, when the push server pushes the information to the terminal periodically, the push time may be preset, and when the push time to be set expires, the information is pushed to the terminal.
作为另一种实施方式, 所述推送服务器接收到应用服务器发送的信息, 根据建立的所述 WEBSOCKET通信连接将所述信息推送至所述终端,包括: 所述推送服务器在第四预设时间段内接收所述应用服务器发送的信 息, 按信息类型将所述信息合并, 将合并后的信息推送至所述终端。  In another embodiment, the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection, including: the push server is in a fourth preset time period. Receiving the information sent by the application server, combining the information according to the information type, and pushing the merged information to the terminal.
这里, 所述推送服务器在第四预设时间段内接收所述应用服务器发送 的信息, 按信息类型将所述信息合并, 将合并后的信息推送至所述终端, 以便减少向终端推送的信息数量, 减少对用户的干扰。  Here, the push server receives the information sent by the application server in a fourth preset time period, combines the information according to the information type, and pushes the merged information to the terminal, so as to reduce the information pushed to the terminal. Quantity, reducing interference to users.
具体的, 所述推送服务器可根据推送所述信息的服务商分类, 如将 XX 网推送的信息合并, 将合并后的信息推送至所述终端; 或者所述推送服务 器可根据所述信息的类型分类, 如将应用服务器发送的新闻信息合并, 将 合并后的信息推送至所述终端; 或将应用服务器发送的视频信息合并, 将 合并后的信息推送至所述终端。  Specifically, the push server may be classified according to a service provider that pushes the information, such as combining information pushed by the XX network, and pushing the merged information to the terminal; or the push server may be based on the type of the information. Classification, such as combining the news information sent by the application server, pushing the merged information to the terminal; or combining the video information sent by the application server, and pushing the merged information to the terminal.
作为另一种实施方式, 当所述推送服务器与所述终端建立连接的模式 为实时工作模式时, 所述推送服务器接收到应用服务器发送的信息, 将所 述信息推送至所述终端, 包括: As another implementation manner, when the push server establishes a connection mode with the terminal In the real-time working mode, the push server receives the information sent by the application server, and pushes the information to the terminal, including:
所述推送服务器接收到应用服务器发送的信息;  The push server receives the information sent by the application server;
识别所述信息的类型为实时推送类型或定时推送类型;  Identifying the type of the information as a real-time push type or a timing push type;
将所述信息类型为实时推送类型的信息实时推送至所述终端; 将所述 信息类型为定时推送类型的信息每隔第五预设时间段推送至所述终端。  And transmitting the information of the information type to the real-time push type to the terminal in real time; and pushing the information of the information type to the timing push type to the terminal every fifth preset time period.
这里, 当所述推送服务器与所述终端建立连接的模式为实时工作模式 时, 终端的电量和网络流量的消耗较大, 因此可根据信息的类型向所述终 端推送信息。 例如, 用户订阅的新闻信息、 用户所述的群组的通知消息等 需要用户实时接收到的信息为实时推送类型; 娱乐八卦信息、 广告信息或 视频信息等不需要用户实时接收到的信息为定时推送类型。 具体的, 所述 推送服务器识别所述信息的类型可根据发送所述信息的服务商的优先级确 定, 所述信息的服务商的优先级可由用户根据自身需求预先配置, 例如, 用户要实时接收新闻信息, 则可以配置发送所述新闻信息的服务商的优先 级为高优先级; 用户不需要实时接收视频信息, 则可以配置发送所述视频 信息的服务商的优先级为低; 终端将上述配置信息发送至所述推送服务器。 相应的, 所述推送服务器根据所述配置信息将优先级为高的服务商的应用 服务器发送的信息识别为实时推送类型, 将所述实时推送类型的信息实时 推送至所述终端; 将优先级为低的服务商的应用服务器发送的信息识别为 定时推送类型, 将所述定时推送类型的信息每隔第五预设时间段推送至所 述终端。 其中, 所述第五预设时间段由所述推送服务器预先配置。  Here, when the mode in which the push server establishes a connection with the terminal is a real-time working mode, the power consumption of the terminal and the consumption of the network traffic are large, so that information can be pushed to the terminal according to the type of information. For example, the news information subscribed by the user, the notification message of the group described by the user, and the like that the user needs to receive in real time is a real-time push type; the entertainment gossip information, the advertisement information, or the video information does not require the user to receive the information in real time as a timing. Push type. Specifically, the type of the information that the push server identifies the information may be determined according to the priority of the service provider that sends the information, and the priority of the service provider of the information may be pre-configured by the user according to his own needs, for example, the user needs to receive in real time. For the news information, the priority of the service provider that sends the news information may be set to a high priority; if the user does not need to receive the video information in real time, the priority of the service provider that sends the video information may be set to be low; Configuration information is sent to the push server. Correspondingly, the push server identifies, according to the configuration information, information sent by an application server of a service provider with a high priority as a real-time push type, and pushes the information of the real-time push type to the terminal in real time; The information sent by the application server of the low service provider is identified as a timing push type, and the information of the timing push type is pushed to the terminal every fifth preset time period. The fifth preset time period is pre-configured by the push server.
作为另一种实施方式, 所述终端解析或解码后获得的信息可通过 WEB 浏览器展示, 所述 WEB浏览器为终端出厂时预先设置的, 无需用户自行下 载安装其他的客户端, 可以提升用户的操作体验; 另一方面, 所述终端解 析或解码后获得的信息也可以通过推送信息客户端展示, 所述推送信息客 户端为应用客户端, 即运行在所述终端上的应用程序。 具体的, 展示的信 息可以通过提醒消息的方式展示。 As another implementation manner, the information obtained by the terminal after parsing or decoding may be displayed by using a WEB browser, where the WEB browser is pre-set when the terminal is shipped from the factory, and the user may download and install other clients without upgrading the user. Operation experience; on the other hand, the information obtained after the terminal parses or decodes can also be displayed by pushing the information client, and the push information guest The client is an application client, that is, an application running on the terminal. Specifically, the displayed information can be displayed by means of a reminder message.
具体的,所述终端可通过终端自身的内部接口将信息通过 WEB浏览器 展示, 或通过所述推送信息客户端展示。 所述内部接口可以是二次开发接 口。  Specifically, the terminal may display the information through the internal interface of the terminal through the WEB browser, or display the information through the push information client. The internal interface can be a secondary development interface.
本发明实施例还提供了一种推送服务器。 图 4 为本发明实施例的推送 服务器的组成结构示意图; 如图 4所示, 所述推送服务器包括: 第一连接 建立单元 41、 第一接收单元 43和推送单元 42; 其中,  The embodiment of the invention also provides a push server. 4 is a schematic structural diagram of a push server according to an embodiment of the present invention; as shown in FIG. 4, the push server includes: a first connection establishing unit 41, a first receiving unit 43, and a pushing unit 42;
所述第一连接建立单元 41,配置为建立与终端的 WEBSOCKET通信连 接;  The first connection establishing unit 41 is configured to establish a WEBSOCKET communication connection with the terminal;
所述第一接收单元 43, 配置为接收应用服务器发送的信息;  The first receiving unit 43 is configured to receive information sent by an application server;
所述推送单元 42, 配置为根据所述第一连接建立单元 41 建立的 WEBSOCKET通信连接,将所述第一接收单元 43接收的信息推送至所述终 端。  The pushing unit 42 is configured to push the information received by the first receiving unit 43 to the terminal according to the WEBSOCKET communication connection established by the first connection establishing unit 41.
作为另一种实施方式, 所述推送服务器与所述终端建立连接的模式为 实时工作模式; 所述推送服务器还包括检测单元 44, 配置为所述推送单元 42在第一预设时间段内无信息推送至所述终端时, 每隔第二预设时间段检 测所述第一连接建立单元 41与所述终端之间的通信连接是否中断;  In another embodiment, the mode in which the push server establishes a connection with the terminal is a real-time working mode; the push server further includes a detecting unit 44 configured to: the pushing unit 42 is not in the first preset time period. When the information is pushed to the terminal, it is detected whether the communication connection between the first connection establishing unit 41 and the terminal is interrupted every second preset time period;
所述第一连接建立单元 41,还配置为当所述检测单元 44检测到所述第 一连接建立单元 41与所述终端之间的通信连接中断时, 重新与所述终端建 立 WEBSOCKET通信连接。  The first connection establishing unit 41 is further configured to re-establish a WEBSOCKET communication connection with the terminal when the detecting unit 44 detects that the communication connection between the first connection establishing unit 41 and the terminal is interrupted.
作为另一种实施方式, 所述推送服务器与所述终端建立连接的模式为 定时工作模式; 所述第一连接建立单元 41, 配置为每隔第三预设时间段与 所述终端建立 WEBSOCKET通信连接。  In another embodiment, the mode in which the push server establishes a connection with the terminal is a timing working mode; the first connection establishing unit 41 is configured to establish a WEBSOCKET communication with the terminal every third preset time period. connection.
作为另一种实施方式, 所述推送服务器还包括合并单元 45, 配置为将 所述接收单 43元在第四预设时间段内接收的所述应用服务器发送的信息, 按信息类型合并; As another implementation manner, the push server further includes a merging unit 45 configured to The information sent by the application server received by the receiving unit 43 in the fourth preset time period is merged according to the information type;
所述推送单元 42,配置为将根据所述第一连接建立单元 41建立的所述 WEBSOCKET通信连接所述合并单元 45合并的信息推送至所述终端。  The push unit 42 is configured to push the information merged by the merge unit 45 according to the WEBSOCKET communication established by the first connection establishing unit 41 to the terminal.
作为另一种实施方式, 所述推送服务器还包括识别单元 46, 配置为识 别所述第一接收单元 43接收到的信息的类型为实时推送类型或定时推送类 型;  In another embodiment, the push server further includes an identifying unit 46 configured to identify that the type of information received by the first receiving unit 43 is a real-time push type or a timing push type;
所述推送单元 42, 配置为将所述识别单元识别出的信息类型为实时推 送类型的信息实时推送至所述终端; 将所述识别单元 46识别出的信息类型 为定时推送类型的信息每隔第五预设时间段推送至所述终端。  The pushing unit 42 is configured to push the information of the real-time push type identified by the identifying unit to the terminal in real time; and the information type recognized by the identifying unit 46 is a timing push type information every The fifth preset time period is pushed to the terminal.
本领域技术人员应当理解, 本发明实施例的推送服务器中各处理单元 的功能, 可参照前述信息推送方法的相关描述而理解, 本发明实施例的推 送服务器中各处理单元, 可通过实现本发明实施例所述的功能的模拟电路 而实现, 也可以通过执行本发明实施例所述的功能的软件在智能终端上的 运行而实现。  It should be understood by those skilled in the art that the functions of the processing units in the push server of the embodiment of the present invention can be understood by referring to the related description of the information pushing method, and the processing units in the push server according to the embodiment of the present invention can implement the present invention. The implementation of the analog circuit of the functions described in the embodiments can also be implemented by running the software of the functions described in the embodiments of the present invention on the smart terminal.
其中, 所述推送服务器中的第一连接建立单元 41、 第一接收单元 43和 推送单元 42在实际应用中, 均可由所述推送服务器的收发器或收发天线实 现; 所述推送服务器中的检测单元 44、 合并单元 45和识别单元 46在实际 应用中, 均可由所述推送服务器的中央处理器 (CPU, Central Processing Unit )、 或数字信号处理器(DSP, Digital Signal Processor ), 或可编程门阵 列 (FPGA, Field-Programmable Gate Array ) 实现。  The first connection establishing unit 41, the first receiving unit 43 and the pushing unit 42 in the push server may be implemented by a transceiver or a transceiver antenna of the push server in an actual application; the detection in the push server The unit 44, the merging unit 45 and the identification unit 46 can be used by the central processing unit (CPU) of the push server, or a digital signal processor (DSP), or a programmable gate. Array (FPGA, Field-Programmable Gate Array) implementation.
本发明实施例还提供了一种终端。 图 5 为本发明实施例的终端的组成 结构示意图; 如图 5所示, 所述终端包括: 第二连接建立单元 51和第二接 收单元 52; 其中,  The embodiment of the invention further provides a terminal. FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention; as shown in FIG. 5, the terminal includes: a second connection establishing unit 51 and a second receiving unit 52;
所述第二连接建立单元 51, 配置为建立与推送服务器的 WEBSOCKET 通信连接; The second connection establishing unit 51 is configured to establish a WEBSOCKET with a push server. Communication connection
所述第二接收单元 52,配置为根据所述第二连接建立单元 51建立的所 述 WEBSOCKET通信连接接收所述推送服务器推送的信息。  The second receiving unit 52 is configured to receive the information pushed by the push server according to the WEBSOCKET communication connection established by the second connection establishing unit 51.
作为另一种实施方式, 所述终端还包括展示单元 53, 配置为通过 WEB 浏览器展示所述信息, 或通过推送信息客户端展示所述信息。  As another implementation manner, the terminal further includes a display unit 53, configured to display the information through a WEB browser, or display the information by pushing the information client.
其中, 所述第二连接建立单元 51, 配置为通过 WEB SOCKET接口建 立与所述推送服务器的通信连接。  The second connection establishing unit 51 is configured to establish a communication connection with the push server through the WEB SOCKET interface.
本领域技术人员应当理解, 本发明实施例的终端中各处理单元的功能, 可参照前述信息推送方法的相关描述而理解, 本发明实施例的终端中各处 理单元, 可通过实现本发明实施例所述的功能的模拟电路而实现, 也可以 通过执行本发明实施例所述的功能的软件在智能终端上的运行而实现。  It should be understood by those skilled in the art that the functions of the processing units in the terminal of the embodiment of the present invention can be understood by referring to the related description of the foregoing information pushing method, and the processing units in the terminal of the embodiment of the present invention can implement the embodiments of the present invention. The function of the analog circuit is implemented, and can also be implemented by running the software of the function described in the embodiment of the present invention on the smart terminal.
其中, 所述终端在实际应用中, 可通过手机、 平板电脑等智能终端设 备实现; 所述终端中的第二连接建立单元 51在实际应用中, 可由所述终端 的收发器或收发天线,结合所述终端的 WEB SOCKET接口实现; 所述第二 接收单元 52在实际应用中, 可由所述终端的收发器或收发天线实现; 所述 展示单元 53在实际应用中, 可通过所述终端的显示器或显示屏实现。  The terminal may be implemented by an intelligent terminal device such as a mobile phone or a tablet computer in an actual application; the second connection establishing unit 51 in the terminal may be combined by a transceiver or a transceiver antenna of the terminal in an actual application. The WEB SOCKET interface of the terminal is implemented; the second receiving unit 52 can be implemented by the transceiver or the transceiver antenna of the terminal in an actual application; the display unit 53 can be used by the display of the terminal in an actual application. Or the display is implemented.
本发明实施例还提供了一种信息推送系统。 图 6 为本发明实施例的信 息推送系统的组成结构示意图, 如图 6 所示, 所述信息推送系统包括: 终 端 50和推送服务器 40; 其中,  The embodiment of the invention further provides an information push system. FIG. 6 is a schematic structural diagram of a information push system according to an embodiment of the present invention. As shown in FIG. 6, the information push system includes: a terminal 50 and a push server 40;
所述终端 50,配置为建立与推送服务器 40的 WEBSOCKET通信连接; 所述推送服务器 40, 配置为接收应用服务器 60发送的信息,根据建立 的所述 WEBSOCKET通信连接将所述信息推送至所述终端 50。  The terminal 50 is configured to establish a WEBSOCKET communication connection with the push server 40. The push server 40 is configured to receive information sent by the application server 60, and push the information to the terminal according to the established WEBSOCKET communication connection. 50.
优选地, 所述推送服务器 40与所述终端 50建立连接的模式为实时工 作模式; 所述推送服务器 40, 还配置为在第一预设时间段内无信息推送至 所述终端 50时, 每隔第二预设时间段检测与所述终端 50之间的通信连接 是否中断; 当检测到与所述终端 50之间的通信连接中断时, 重新与所述终 端 50建立 WEBSOCKET通信连接。 Preferably, the mode in which the push server 40 establishes a connection with the terminal 50 is a real-time working mode; and the push server 40 is further configured to: when no information is pushed to the terminal 50 within a first preset time period, Detecting a communication connection with the terminal 50 every second preset time period Whether it is interrupted; when it is detected that the communication connection with the terminal 50 is interrupted, a WEBSOCKET communication connection is established with the terminal 50 again.
优选地, 所述推送服务器 40与所述终端 50建立连接的模式为定时工 作模式; 所述推送服务器 40, 还配置为每隔第三预设时间段与所述终端 50 建立 WEBSOCKET通信连接。  Preferably, the mode in which the push server 40 establishes a connection with the terminal 50 is a timed operation mode; and the push server 40 is further configured to establish a WEBSOCKET communication connection with the terminal 50 every third preset time period.
优选地, 所述推送服务器 40, 还配置为在第四预设时间段内接收应用 服务器 60 发送的信息, 按信息类型将所述信息合并, 根据建立的所述 WEBSOCKET通信连接将合并后的信息推送至所述终端 50。  Preferably, the push server 40 is further configured to receive the information sent by the application server 60 in a fourth preset time period, merge the information according to the information type, and combine the merged information according to the established WEBSOCKET communication connection. Pushed to the terminal 50.
优选地, 所述推送服务器 40,还配置为当与所述终端 50建立实时连接 时, 接收到应用服务器 60发送的信息; 识别所述信息的类型为实时推送类 型或定时推送类型; 将所述信息类型为实时推送类型的信息实时推送至所 述终端 50; 将所述信息类型为定时推送类型的信息每隔第五预设时间段推 送至所述终端 50。  Preferably, the push server 40 is further configured to: when establishing a real-time connection with the terminal 50, receive information sent by the application server 60; identify the type of the information as a real-time push type or a timing push type; The information type is real-time push type information is pushed to the terminal 50 in real time; the information of the information type being the timing push type is pushed to the terminal 50 every fifth preset time period.
优选地, 所述终端 50, 还配置为通过 WEB浏览器展示所述信息, 或 通过推送信息客户端展示所述信息。  Preferably, the terminal 50 is further configured to display the information through a WEB browser, or display the information by pushing the information client.
具体的, 所述终端 50为图 5所示的终端; 所述推送服务器 40为图 4 所述的推送服务器。  Specifically, the terminal 50 is the terminal shown in FIG. 5; the push server 40 is the push server described in FIG.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可釆用硬件实施例、 软件实施例、 或结 合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器和光学存储器等 )上实施的计算机程序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment of a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。 The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each of the processes and/or blocks in the flowcharts and/or block diagrams, and in the flowcharts and/or block diagrams, can be implemented by computer program instructions. / or a combination of boxes. These computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device processor to produce a machine such that a flow or a block diagram of a flow or a block diagram or A device that has multiple functions specified in the box.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的步骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 工业实用性  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Industrial applicability
本发明实施例通过终端与推送服务器建立 WEBSOCKET通信连接,所 述推送服务器接收到应用服务器发送的信息, 根据建立的所述 WEBSOCKET通信连接将所述信息推送至所述终端。 如此, 本发明实施例 的技术方案通过 WEBSOCKET通信方案与所述推送服务器建立了信息推送 通道, 使得终端设备无需安装应用的客户端便可以接收到所述应用推送的 信息, 在一定程度上可以减少终端设备中安装的应用程序的数量, 提升终 端设备的性能, 另一方面也提升了用户的操作体验。  In the embodiment of the present invention, a WEBSOCKET communication connection is established between the terminal and the push server, and the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection. In this way, the technical solution of the embodiment of the present invention establishes an information push channel with the push server through the WEBSOCKET communication scheme, so that the terminal device can receive the information pushed by the application without installing the client of the application, which can be reduced to a certain extent. The number of applications installed in the terminal device improves the performance of the terminal device, and on the other hand, improves the user's operating experience.

Claims

权利要求书 claims
1、 一种信息推送方法, 应用于推送服务器中; 所述方法包括: 所述推送服务器与终端建立 WEBSOCKET通信连接; 1. An information push method, applied to a push server; the method includes: establishing a WEBSOCKET communication connection between the push server and the terminal;
所述推送服务器接收到应用服务器发送的信息, 根据建立的所述 WEBSOCKET通信连接将所述信息推送至所述终端。 The push server receives the information sent by the application server and pushes the information to the terminal according to the established WEBSOCKET communication connection.
2、 根据权利要求 1所述的方法, 其中, 所述推送服务器与所述终端建 立连接的模式为实时工作模式; 所述推送服务器与终端建立 WEBSOCKET 连接之后, 所述方法还包括: 2. The method according to claim 1, wherein the mode in which the push server establishes a connection with the terminal is a real-time working mode; after the push server establishes a WEBSOCKET connection with the terminal, the method further includes:
所述推送服务器在第一预设时间段内无信息推送至所述终端时, 每隔 断; 当检测到所述推送服务器与所述终端之间的通信连接中断时, 重新与 所述终端建立 WEBSOCKET通信连接。 When the push server has no information pushed to the terminal within the first preset time period, it will interrupt every time; when it detects that the communication connection between the push server and the terminal is interrupted, re-establish WEBSOCKET with the terminal. Communication connection.
3、 根据权利要求 1所述的方法, 其中, 所述推送服务器与所述终端建 立连接的模式为定时工作模式; 所述推送服务器与终端建立 WEBSOCKET 通信连接, 包括: 3. The method according to claim 1, wherein the mode in which the push server establishes a connection with the terminal is a scheduled working mode; the push server establishes a WEBSOCKET communication connection with the terminal, including:
所述推送服务器每隔第三预设时间段与所述终端建立 WEBSOCKET通 信连接。 The push server establishes a WEBSOCKET communication connection with the terminal every third preset time period.
4、 根据权利要求 1所述的方法, 其中, 所述推送服务器接收到应用服 务器发送的信息,根据建立的所述 WEBSOCKET通信连接将所述信息推送 至所述终端, 包括: 4. The method according to claim 1, wherein the push server receives the information sent by the application server and pushes the information to the terminal according to the established WEBSOCKET communication connection, including:
所述推送服务器在第四预设时间段内接收所述应用服务器发送的信 息, 按信息类型将所述信息合并, 根据建立的所述 WEBSOCKET通信连接 将合并后的信息推送至所述终端。 The push server receives the information sent by the application server within a fourth preset time period, merges the information according to the information type, and pushes the merged information to the terminal according to the established WEBSOCKET communication connection.
5、 根据权利要求 2所述的方法, 其中, 当所述推送服务器与所述终端 建立实时连接时, 所述推送服务器接收到应用服务器发送的信息, 根据建 立的所述 WEBSOCKET通信连接将所述信息推送至所述终端, 包括: 5. The method according to claim 2, wherein when the push server and the terminal When establishing a real-time connection, the push server receives the information sent by the application server, and pushes the information to the terminal according to the established WEBSOCKET communication connection, including:
所述推送服务器接收到所述应用服务器发送的信息; The push server receives the information sent by the application server;
识别所述信息的类型为实时推送类型或定时推送类型; Identify the type of information as real-time push type or scheduled push type;
将所述信息类型为实时推送类型的信息实时推送至所述终端; 将所述 信息类型为定时推送类型的信息每隔第五预设时间段推送至所述终端。 Push the information type that is a real-time push type to the terminal in real time; push the information type that is a scheduled push type to the terminal every fifth preset time period.
6、 一种信息推送方法, 应用于终端中; 所述方法包括: 6. An information push method, applied to a terminal; the method includes:
所述终端建立与推送服务器的 WEBSOCKET通信连接; The terminal establishes a WEBSOCKET communication connection with the push server;
根据所述 WEBSOCKET通信连接接收所述推送服务器推送的信息。 Receive information pushed by the push server according to the WEBSOCKET communication connection.
7、 根据权利要求 6所述的方法, 其中, 所述方法还包括: 通过 WEB 浏览器展示所述信息, 或通过推送信息客户端展示所述信息。 7. The method according to claim 6, wherein the method further includes: displaying the information through a WEB browser, or displaying the information through a push information client.
8、 一种信息推送方法, 所述方法包括: 8. An information push method, the method includes:
终端建立与推送服务器的 WEBSOCKET通信连接; The terminal establishes a WEBSOCKET communication connection with the push server;
所述推送服务器接收到应用服务器发送的信息, 根据建立的所述 WEBSOCKET通信连接将所述信息推送至所述终端。 The push server receives the information sent by the application server and pushes the information to the terminal according to the established WEBSOCKET communication connection.
9、 一种推送服务器, 所述推送服务器包括: 第一连接建立单元、 第一 接收单元和推送单元; 其中, 9. A push server, the push server includes: a first connection establishment unit, a first receiving unit and a push unit; wherein,
所述第一连接建立单元, 配置为与终端建立 WEBSOCKET通信连接; 所述第一接收单元, 配置为接收应用服务器发送的信息; The first connection establishing unit is configured to establish a WEBSOCKET communication connection with the terminal; the first receiving unit is configured to receive information sent by the application server;
所述推送单元, 配置为根据所述第一连接建立单元建立的 WEBSOCKET通信连接,将所述第一接收单元接收的信息推送至所述终端。 The push unit is configured to push the information received by the first receiving unit to the terminal according to the WEBSOCKET communication connection established by the first connection establishing unit.
10、 根据权利要求 9所述的推送服务器, 其中, 所述推送服务器与所 述终端建立连接的模式为实时工作模式; 所述推送服务器还包括检测单元, 配置为所述推送单元在第一预设时间段内无信息推送至所述终端时, 每隔 第二预设时间段检测所述第一连接建立单元与所述终端之间的通信连接是 否中断; 10. The push server according to claim 9, wherein the mode in which the push server establishes a connection with the terminal is a real-time working mode; the push server further includes a detection unit configured such that the push unit Assume that when no information is pushed to the terminal within a time period, detect whether the communication connection between the first connection establishment unit and the terminal is detected every second preset time period. No interruption;
所述第一连接建立单元, 还配置为当所述检测单元检测到所述第一连 接建立单元与所述终端之间的通信连接中断时, 重新与所述终端建立 The first connection establishment unit is also configured to re-establish the connection with the terminal when the detection unit detects that the communication connection between the first connection establishment unit and the terminal is interrupted.
WEBSOCKET通信连接。 WEBSOCKET communication connection.
11、 根据权利要求 9 所述的推送服务器, 其中, 所述推送服务器与所 述终端建立连接的模式为定时工作模式; 所述第一连接建立单元, 配置为 每隔第三预设时间段与所述终端建立 WEBSOCKET通信连接。 11. The push server according to claim 9, wherein the mode in which the push server establishes a connection with the terminal is a scheduled working mode; the first connection establishing unit is configured to communicate with the push server every third preset time period. The terminal establishes a WEBSOCKET communication connection.
12、 根据权利要求 9所述的推送服务器, 其中, 所述推送服务器还包 括合并单元, 配置为将所述第一接收单元在第四预设时间段内接收的所述 应用服务器发送的信息, 按信息类型合并; 12. The push server according to claim 9, wherein the push server further includes a merging unit configured to combine the information sent by the application server received by the first receiving unit within a fourth preset time period, Merge by information type;
所述推送单元, 配置为将根据所述第一连接建立单元建立的所述 WEBSOCKET通信连接所述合并单元合并的信息推送至所述终端。 The push unit is configured to push the information merged by the merging unit according to the WEBSOCKET communication connection established by the first connection establishing unit to the terminal.
13、 根据权利要求 10所述的推送服务器, 其中, 所述推送服务器还包 括识别单元, 配置为识别所述第一接收单元接收到的信息的类型为实时推 送类型或定时推送类型; 13. The push server according to claim 10, wherein the push server further includes an identification unit configured to identify the type of information received by the first receiving unit as a real-time push type or a scheduled push type;
所述推送单元, 配置为将所述识别单元识别出的信息类型为实时推送 类型的信息实时推送至所述终端; 将所述识别单元识别出的信息类型为定 时推送类型的信息每隔第五预设时间段推送至所述终端。 The push unit is configured to push information of the real-time push type identified by the identification unit to the terminal in real time; and push information of the scheduled push type of information identified by the identification unit every fifth Push to the terminal within a preset time period.
14、 一种终端, 所述终端包括: 第二连接建立单元和第二接收单元; 其中, 14. A terminal, the terminal including: a second connection establishing unit and a second receiving unit; wherein,
所述第二连接建立单元, 配置为建立与推送服务器的 WEBSOCKET通 信连接; The second connection establishment unit is configured to establish a WEBSOCKET communication connection with the push server;
所述第二接收单元, 配置为根据所述第二连接建立单元建立的所述 WEBSOCKET通信连接接收所述推送服务器推送的信息。 The second receiving unit is configured to receive information pushed by the push server according to the WEBSOCKET communication connection established by the second connection establishing unit.
15、根据权利要求 14所述的终端, 其中, 所述终端还包括: 展示单元, 配置为通过 WEB浏览器展示所述信息, 或推送信息客户端展示所述信息。 15. The terminal according to claim 14, wherein the terminal further includes: a display unit, Configure to display the information through a WEB browser, or push the information client to display the information.
16、 一种信息推送系统, 所述信息推送系统包括: 终端和推送服务器; 其中, 16. An information push system, the information push system includes: a terminal and a push server; wherein,
所述终端, 配置为与推送服务器建立 WEBSOCKET通信连接; 所述推送服务器, 配置为接收应用服务器发送的信息, 根据建立的所 述 WEBSOCKET通信连接将所述信息推送至所述终端。 The terminal is configured to establish a WEBSOCKET communication connection with the push server; the push server is configured to receive information sent by the application server, and push the information to the terminal according to the established WEBSOCKET communication connection.
17、 根据权利要求 16所述的系统, 其中, 所述推送服务器, 还配置为 与所述终端建立连接的模式为实时工作模式时, 在第一预设时间段内无信 息推送至所述终端时, 每隔第二预设时间段检测所述推送服务器与所述终 端之间的通信连接是否中断; 当检测到所述推送服务器与所述终端之间的 通信连接中断时, 重新与所述终端建立 WEBSOCKET通信连接。 17. The system according to claim 16, wherein the push server is further configured to push no information to the terminal within the first preset time period when the mode for establishing a connection with the terminal is a real-time working mode. , detect whether the communication connection between the push server and the terminal is interrupted every second preset time period; when it is detected that the communication connection between the push server and the terminal is interrupted, reconnect with the The terminal establishes a WEBSOCKET communication connection.
18、 根据权利要求 16所述的系统, 其中, 所述推送服务器, 配置为与 所述终端建立连接的模式为定时工作模式时, 每隔第三预设时间段与所述 终端建立 WEBSOCKET通信连接。 18. The system according to claim 16, wherein the push server is configured to establish a WEBSOCKET communication connection with the terminal every third preset time period when the mode of establishing a connection with the terminal is a scheduled working mode. .
19、 根据权利要求 16所述的系统, 其中, 所述推送服务器, 配置为在 第四预设时间段内接收所述应用服务器发送的信息, 按信息类型将所述信 息合并,根据建立的所述 WEBSOCKET通信连接将合并后的信息推送至所 述终端。 19. The system according to claim 16, wherein the push server is configured to receive the information sent by the application server within a fourth preset time period, merge the information according to the information type, and merge the information according to the established The WEBSOCKET communication connection pushes the combined information to the terminal.
20、 根据权利要求 17所述的系统, 其中, 所述推送服务器, 配置为与 所述终端建立实时连接时, 接收到所述应用服务器发送的信息; 识别所述 信息的类型为实时推送类型或定时推送类型; 将所述信息类型为实时推送 类型的信息实时推送至所述终端; 将所述信息类型为定时推送类型的信息 每隔第五预设时间段推送至所述终端。 20. The system according to claim 17, wherein the push server is configured to receive the information sent by the application server when establishing a real-time connection with the terminal; identify the type of the information as a real-time push type or Timing push type; Push the information type that is a real-time push type to the terminal in real time; Push the information type that is a scheduled push type to the terminal every fifth preset time period.
21、 根据权利要求 16 所述的系统, 其中, 所述终端, 还配置为通过 WEB浏览器展示所述信息, 或通过推送信息客户端展示所述信息。 21. The system according to claim 16, wherein the terminal is further configured to display the information through a WEB browser or display the information through a push information client.
22、 一种计算机存储介质, 所述计算机存储介质中存储有计算机可执 行指令, 所述计算机可执行指令用于执行权利要求 1至 5任一项所述的信 息推送方法。 22. A computer storage medium, the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information push method described in any one of claims 1 to 5.
23、 一种计算机存储介质, 所述计算机存储介质中存储有计算机可执 行指令, 所述计算机可执行指令用于执行权利要求 6或 7所述的信息推送 方法。 23. A computer storage medium, the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information pushing method according to claim 6 or 7.
PCT/CN2014/084921 2014-04-04 2014-08-21 Information pushing method, system and device and computer storage medium WO2015149471A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410136862.7 2014-04-04
CN201410136862.7A CN104980898A (en) 2014-04-04 2014-04-04 Information pushing method, system and equipment

Publications (1)

Publication Number Publication Date
WO2015149471A1 true WO2015149471A1 (en) 2015-10-08

Family

ID=54239357

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084921 WO2015149471A1 (en) 2014-04-04 2014-08-21 Information pushing method, system and device and computer storage medium

Country Status (2)

Country Link
CN (1) CN104980898A (en)
WO (1) WO2015149471A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017173657A1 (en) * 2016-04-08 2017-10-12 深圳业拓讯通信科技有限公司 System and method for realizing display upon calling service
CN112511580A (en) * 2019-09-16 2021-03-16 北京国双科技有限公司 Message pushing method, device, storage medium and equipment
CN114039961A (en) * 2021-10-08 2022-02-11 中移(杭州)信息技术有限公司 Message pushing method, device, server and storage medium based on WebSocket
CN115134404A (en) * 2021-03-22 2022-09-30 花瓣云科技有限公司 Method for managing push connection and electronic equipment

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105337973B (en) * 2015-10-27 2019-07-09 上海找钢网信息科技股份有限公司 Method for message interaction and its system
CN105491056A (en) * 2015-12-25 2016-04-13 深圳市金立通信设备有限公司 Information pushing method and terminal
CN105635137A (en) * 2015-12-28 2016-06-01 普天新能源有限责任公司 Method and apparatus for obtaining charge information
CN106453593B (en) * 2016-10-26 2020-09-04 腾讯科技(深圳)有限公司 Message pushing method and device
CN107146151A (en) * 2017-05-04 2017-09-08 太仓鸿策腾达网络科技有限公司 A kind of tax system for being used to manage the user that pays taxes
CN107742336A (en) * 2017-09-19 2018-02-27 深圳市几米软件有限公司 A kind of data transmission method and terminal device for being used to share bicycle smart lock
CN107911484B (en) * 2017-12-13 2020-07-07 浪潮软件股份有限公司 Message processing method and device
CN107846478A (en) * 2017-12-21 2018-03-27 知而行(上海)营销咨询有限公司 Information-pushing method
CN108377247B (en) * 2018-03-08 2021-02-26 北京车和家信息技术有限公司 Message pushing method and device
CN110601865A (en) * 2018-06-13 2019-12-20 十维度股份有限公司 Message transmission system, receiving apparatus thereof, receiving method thereof, and computer-readable recording medium
CN109660603A (en) * 2018-11-27 2019-04-19 浙江万朋教育科技股份有限公司 A method of it realizes immediately or timing controlled remote device data is shown
CN110445879A (en) * 2019-09-11 2019-11-12 上海二三四五网络科技有限公司 The control method and device of pushed information are unified on a kind of backstage

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101466092A (en) * 2007-12-18 2009-06-24 北京华星广视数码技术服务有限公司 Method for implementing propelling movement in mobile communication network
CN103475904A (en) * 2013-05-29 2013-12-25 深圳市九洲电器有限公司 Publishing method and publishing system of EPG (electronic program guide), and Websocket server
CN103501486A (en) * 2013-09-29 2014-01-08 华为软件技术有限公司 Message pushing method and pushing server
CN103518342A (en) * 2013-04-26 2014-01-15 华为技术有限公司 Transmitting control method and device for heartbeat signal
CN103546584A (en) * 2013-11-13 2014-01-29 深圳市中兴移动通信有限公司 Information pushing method and system
CN103905504A (en) * 2012-12-27 2014-07-02 海尔集团公司 Information pushing method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516588B (en) * 2012-06-30 2016-12-21 北京神州泰岳软件股份有限公司 A kind of client carries out the method and system of background process
CN103581131A (en) * 2012-07-31 2014-02-12 上海凌攀信息科技有限公司 Method for processing automatic repeated logins in mobile environment
CN102970356A (en) * 2012-11-08 2013-03-13 百度在线网络技术(北京)有限公司 Communication method, system and device for cloud side server and client side
CN103067292B (en) * 2012-12-26 2016-12-28 华为技术有限公司 The load-balancing method of a kind of sing on web Socket transmission and device
CN103259683B (en) * 2013-05-16 2016-06-01 烽火通信科技股份有限公司 Based on the Web network management system L2 cache method for pushing of HTML5
CN103607423A (en) * 2013-10-23 2014-02-26 深圳海联讯科技股份有限公司 Distributed broadcast system based on WebSocket protocol

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101466092A (en) * 2007-12-18 2009-06-24 北京华星广视数码技术服务有限公司 Method for implementing propelling movement in mobile communication network
CN103905504A (en) * 2012-12-27 2014-07-02 海尔集团公司 Information pushing method and system
CN103518342A (en) * 2013-04-26 2014-01-15 华为技术有限公司 Transmitting control method and device for heartbeat signal
CN103475904A (en) * 2013-05-29 2013-12-25 深圳市九洲电器有限公司 Publishing method and publishing system of EPG (electronic program guide), and Websocket server
CN103501486A (en) * 2013-09-29 2014-01-08 华为软件技术有限公司 Message pushing method and pushing server
CN103546584A (en) * 2013-11-13 2014-01-29 深圳市中兴移动通信有限公司 Information pushing method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017173657A1 (en) * 2016-04-08 2017-10-12 深圳业拓讯通信科技有限公司 System and method for realizing display upon calling service
CN112511580A (en) * 2019-09-16 2021-03-16 北京国双科技有限公司 Message pushing method, device, storage medium and equipment
CN115134404A (en) * 2021-03-22 2022-09-30 花瓣云科技有限公司 Method for managing push connection and electronic equipment
CN115134404B (en) * 2021-03-22 2024-01-30 花瓣云科技有限公司 Method for managing push connection and electronic equipment
CN114039961A (en) * 2021-10-08 2022-02-11 中移(杭州)信息技术有限公司 Message pushing method, device, server and storage medium based on WebSocket

Also Published As

Publication number Publication date
CN104980898A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
WO2015149471A1 (en) Information pushing method, system and device and computer storage medium
CN106487928B (en) Message pushing method and device
CN103024590B (en) The method and system of a kind of intelligent terminal and intelligent television video calling
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
CN104991850A (en) Heartbeat package control method and apparatus for application program
EP2712126A2 (en) Networking method, server end device, client end device and network system
WO2015010645A1 (en) Method and apparatus for message transmission
WO2015000379A1 (en) Method for remotely controlling air conditioner and remote control system for air conditioner
CN105471720A (en) Message pushing method, message pushing device and message pushing system
CN104486755A (en) System and method for realizing WIFI (Wireless Fidelity) configuration of intelligent equipment based on ibeacon
WO2015143934A1 (en) Information sending method and information sending apparatus
EP3091712B1 (en) Smart device for realizing multiple-device collaboration and working method for multiple-device collaboration
US10652185B2 (en) Information sending method and information sending apparatus
WO2016026313A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
WO2019076387A1 (en) Application switching method and apparatus
EP2854027B1 (en) Method for downloading application program, user equipment and application server
WO2015196656A1 (en) Notification message processing method, terminal and computer storage medium
WO2017096794A1 (en) Method, device, and system for transmitting advertising data
CN105791987A (en) Media data playing method and terminal
CN110830527A (en) Method and device for data communication between networks and data communication system
WO2013091449A1 (en) Connecting wireless devices
WO2014199585A1 (en) Distribution control device and method for same, push distribution system, and storage medium
CN104506535A (en) Data pushing method and data pushing system
CN102355475A (en) Information subscription system
CN115174512A (en) Message pushing method and device, storage medium and electronic device

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: 14888538

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14888538

Country of ref document: EP

Kind code of ref document: A1