CN106162609B - Data pushing method and device - Google Patents

Data pushing method and device Download PDF

Info

Publication number
CN106162609B
CN106162609B CN201510237923.3A CN201510237923A CN106162609B CN 106162609 B CN106162609 B CN 106162609B CN 201510237923 A CN201510237923 A CN 201510237923A CN 106162609 B CN106162609 B CN 106162609B
Authority
CN
China
Prior art keywords
pushed
resource
terminal
feedback information
access server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510237923.3A
Other languages
Chinese (zh)
Other versions
CN106162609A (en
Inventor
罗谚君
李富强
吴春成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510237923.3A priority Critical patent/CN106162609B/en
Publication of CN106162609A publication Critical patent/CN106162609A/en
Application granted granted Critical
Publication of CN106162609B publication Critical patent/CN106162609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

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

Abstract

The invention discloses a method and a device for pushing data, and belongs to the field of communication. The method comprises the following steps: sending description information of data to be pushed to a first terminal; receiving a downloading command returned by the first terminal according to the description information; acquiring a feedback information set corresponding to the data to be pushed, wherein the feedback information set comprises feedback information fed back by a second terminal to the data to be pushed, and the second terminal is a terminal which has received the data to be pushed; determining whether the data to be pushed is abnormal or not according to the acquired feedback information; and if the data to be pushed does not exist, sending the data to be pushed to the first terminal. The device comprises: the device comprises a sending module, a receiving module, an obtaining module and a determining module. The invention can avoid pushing abnormal data to the terminal.

Description

Data pushing method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for pushing data.
Background
With the development of terminal technology, terminals are widely used, for example, mobile phones are widely used at present. A user downloads and installs different software to the terminal from time to time while using the terminal. In order to improve the software, a software developer develops a higher version of software at intervals, and at this time, the server needs to push the higher version of software to the terminal so that the terminal updates the software.
At present, after a software developer develops a new version of software, a server pushes description information of the new version of software to a terminal, wherein the description information comprises information such as the name and the version number of the software, and functions added in the new version of software. The terminal displays the description information to the user, and if the user determines to update the software of the new version, the terminal sends a downloading command to the server. And the server side sends the new version of software to the terminal, and the terminal updates the software stored in the terminal into the new version of software.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the software of the new version may have defects, which may cause an exception when the terminal operates, and the user may want to return to the previous version and cannot return after finding the exception, or finds that the software of the new version has an exception in the updating process, at this time, because the software is updated to half, the software is continuously updated, the problem of the software is not suitable, the user wants to return, and because the updated half cannot return to the old version, the user is greatly troubled.
Disclosure of Invention
In order to avoid pushing abnormal data to a terminal, the invention provides a method and a device for pushing data. The technical scheme is as follows:
a method of pushing data, the method comprising:
sending description information of data to be pushed to a first terminal;
receiving a downloading command returned by the first terminal according to the description information;
acquiring a feedback information set corresponding to the data to be pushed, wherein the feedback information set comprises feedback information fed back by a second terminal to the data to be pushed, and the second terminal is a terminal which has received the data to be pushed;
determining whether the data to be pushed is abnormal or not according to the acquired feedback information;
and if the data to be pushed does not exist, sending the data to be pushed to the first terminal.
An apparatus to push data, the apparatus comprising:
the sending module is used for sending description information of data to be pushed to the first terminal;
a receiving module, configured to receive a download command returned by the first terminal according to the description information;
the acquisition module is used for acquiring a feedback information set corresponding to the data to be pushed, wherein the feedback information set comprises feedback information fed back by a second terminal to the data to be pushed, and the second terminal is a terminal which has received the data to be pushed;
the determining module is used for determining whether the data to be pushed is abnormal or not according to the acquired feedback information;
the sending module is further configured to send the data to be pushed to the first terminal if there is no exception.
In the embodiment of the invention, before the data is pushed to the terminal, whether the data is abnormal or not is judged, if the data is not abnormal, the data is pushed to the terminal, so that the abnormal data can be prevented from being pushed to the terminal.
Drawings
Fig. 1 is a flowchart of a method for pushing data according to embodiment 1 of the present invention;
fig. 2-1 is a schematic diagram of a network architecture according to embodiment 2 of the present invention;
fig. 2-2 is a flowchart of a method for pushing data according to embodiment 2 of the present invention;
fig. 2-3 are schematic diagrams of an update prompt window provided in embodiment 2 of the present invention;
FIGS. 2-4 are schematic views of a complaint interface provided in example 2 of the present invention;
fig. 3-1 is a schematic diagram of a network architecture according to embodiment 3 of the present invention;
fig. 3-2 is a flowchart of a method for pushing data according to embodiment 3 of the present invention;
fig. 4-1 is a schematic diagram of a network architecture according to embodiment 4 of the present invention;
fig. 4-2 is a flowchart of a method for pushing data according to embodiment 4 of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for pushing data according to embodiment 5 of the present invention;
fig. 6 is a schematic structural diagram of a server according to embodiment 6 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example 1
Referring to fig. 1, an embodiment of the present invention provides a method for pushing data, including:
step 101: and sending description information of the data to be pushed to the first terminal.
Step 102: and receiving a downloading command returned by the first terminal according to the description information.
Step 103: and acquiring a feedback information set corresponding to the data to be pushed, wherein the feedback information set comprises feedback information fed back by the second terminal to the data to be pushed, and the second terminal is a terminal which has received the data to be pushed.
Step 104: and determining whether the data to be pushed is abnormal or not according to the acquired feedback information.
Step 105: and if the abnormity does not exist, sending the data to be pushed to the first terminal.
In the embodiment of the invention, before the data is pushed to the terminal, whether the data is abnormal or not is judged, if the data is not abnormal, the data is pushed to the terminal, so that the abnormal data can be prevented from being pushed to the terminal.
Example 2
The embodiment of the invention provides a method for pushing data. The embodiment of the invention is applied to an application updating scene, and the server side pushes the application of the new version to the first terminal, so that the first terminal updates the application of the old version stored by the first terminal into the application of the new version.
Fig. 2-1 is a network architecture diagram applied in the embodiment of the present invention, where the network architecture includes a first terminal and a server, and the server includes an access server and an update server, where the first terminal may access the access server, and the access server may push, to the first terminal, an application of a new version in the update server by using the method provided in the embodiment of the present invention. Referring to fig. 2-2, the method includes:
step 201: and when the first terminal starts the application, establishing communication connection between the access servers corresponding to the application.
The first terminal can be a computer, a tablet computer, a mobile phone and the like. Typically at least one application is installed in the first terminal. Each application in the at least one application corresponds to an access server, and the access server is used for carrying out information interaction with the first terminal when the first terminal runs the application. For example, antivirus software and social applications, such as a computer manager, a mobile phone manager, an instant messaging application and the like, may be installed in the first terminal, such that the mobile phone manager corresponds to one access server, and when the mobile phone manager is operated, the terminal performs information interaction with the access server corresponding to the mobile phone manager.
In the embodiment of the invention, when a user starts an application on a first terminal, the first terminal requests to establish communication connection with an access server corresponding to the application. After the communication connection is established, the first terminal can quickly and effectively perform information interaction with the access server through the communication connection, so that the information sent by the access server can be received at any time and fed back in real time. For example, assuming that the first terminal is a mobile terminal in this example, when a user starts a mobile phone housekeeping installed on the mobile terminal, the mobile terminal establishes a communication connection between access servers corresponding to the mobile phone housekeeping.
Step 202: the access server establishes communication connection with the first terminal and sends an online notification message to the update server.
In the embodiment of the invention, each application also corresponds to an update server, and the update server corresponding to a certain application comprises various versions corresponding to the application. Different versions of the application are developed by the application developer and stored in the update server. For example, for applications such as a cell phone manager, application developers are constantly improving the cell phone manager, so that a new version of the cell phone manager is developed at regular intervals, and the cell phone manager developed each time is stored in the update server. Assume that the versions of the phone steward that the application developer has developed include the stewards V1.0, V2.0, and V3.0, and store the phone steward of version V1.0, the phone steward of version V2.0, and the phone steward of version V3.0 in the update server.
Often, multiple applications are stored in the update server, which may belong to the same application developer. For example, different versions of a cell phone housekeeper and different versions of a social application may be stored in the update server. In order to enable the update server to distinguish which application the first terminal starts, when the access server establishes a communication connection with the first terminal, the access server also obtains application identification information of the application started by the first terminal, and an online notification message sent to the update server also contains the application identification information of the application.
For example, for an access server corresponding to a mobile phone steward, the access server further obtains application identification information of the mobile phone steward started by the mobile terminal when establishing a communication connection with the mobile terminal, and sends an online notification message to an update server corresponding to the mobile phone steward after completing the communication connection, where the online notification message carries the application identification information of the mobile phone steward.
Step 203: and the updating server receives the online notification message and acquires the description information of the latest version corresponding to the application.
The description information may include application identification information of the application, a version number of the latest version, and/or function description information newly added in the application of the latest version, and the like.
The method comprises the following steps: the updating server obtains the version with the highest version number from the stored applications with different versions, the version with the highest version number is the latest version of the application, and the description information of the application with the latest version is obtained from the application with the latest version.
If the update server comprises a plurality of applications, the online notification message also carries application identification information of the applications. Correspondingly, the update server obtains different versions corresponding to the application according to the application identification information of the application carried by the online notification message, selects the version with the highest version number, which is the latest version of the application, and obtains the description information of the latest version from the application of the latest version.
For example, the update server receives an online notification message, where the online notification message carries application identification information of a cell phone manager; the update server obtains different versions of the mobile phone housekeeper, namely V1.0, V2.0 and V3.0, according to the application identification information of the mobile phone housekeeper carried by the online notification message, selects the version V3.0 with the highest version number, namely the latest version of the mobile phone housekeeper, and obtains the description information of the mobile phone housekeeper of the latest version from the mobile phone housekeeper of the latest version, wherein the description information can be' housekeeper releases 3.0 new version! Accelerating faster and not blocking, version updating is stable ", the description information comprises version number 3.0 of the latest version, and the function description information" accelerating faster and not blocking, version updating is stable ".
Step 204: and the updating server sends a push command to the access server, wherein the push command carries the description information of the application in the latest version.
Step 205: and the access server receives the push command and forwards the push command to the first terminal.
Step 206: and the first terminal receives the push command and prompts a user to update the application according to the push command.
The first terminal receives the push command, the push command is firstly placed in a cloud instruction frame of the application, then a service plug-in is called, an update prompt window is created through the service plug-in and displayed to a user, the update prompt window comprises description information of the application of the latest version, a button used for triggering update and a button used for canceling update, and the user is prompted to update software through the update prompt window.
Step 207: and when detecting a confirmation command triggered by the user, the first terminal returns a downloading command to the access server according to the indication of the confirmation command.
After the first terminal displays the update prompt window, if the user needs to update, the user can click the button for triggering update to trigger a confirmation command to the first terminal, and when the first terminal detects the confirmation command, the first terminal returns a download command to the access server according to the indication of the confirmation command.
For example, assuming that the push command carries description information of a latest version of a mobile phone housekeeper, the first terminal places the push command in a cloud instruction frame, calls a service plug-in, creates an update prompt window as shown in fig. 2-3 through the service plug-in, and displays the update prompt window to a user, where the update prompt window includes description information of the application of the latest version, an immediate update button, and an ignore button; wherein the description information is "Care releases a 3.0 New version! The acceleration is faster and is not blocked, the version is updated stably, the immediate update button is used for triggering update, and the ignore button is used for canceling update. If the user needs to update, the user can click the immediate update button to trigger a confirmation command to the first terminal, and when the first terminal detects the confirmation command, the first terminal returns a downloading command to the access server according to the indication of the confirmation command.
Step 208: and the access server receives the download command and acquires a feedback information set corresponding to the application, wherein the feedback information set comprises feedback information fed back by the second terminal to the application with the latest version, and the second terminal updates the application to the terminal with the latest version.
The access server may obtain the corresponding feedback information set from the correspondence between the application identification information and the feedback information set according to the application identification information of the application. Each piece of feedback information in the feedback information set comprises an information type, and each piece of feedback information is sent by the second terminal, and the second terminal is a terminal of the application with the latest version updated.
In the process that the user uses the application of the latest version on the second terminal, if the application of the latest version is found to have abnormality, the user can complain the application of the latest version to the access server on the second terminal. For example, as shown in fig. 2 to 4, a user may open a complaint interface on a second terminal, leave a message in the complaint interface, then click a complaint button to trigger the second terminal, the second terminal obtains the message information of the user and uses the message information as feedback information, sets the information type of the feedback information as a complaint type, and then feeds back the feedback information to an access server. And the access server stores the feedback information in a feedback information set corresponding to the application.
Step 209: the access server determines whether the application of the latest version has an abnormality according to the feedback information set, and if the application of the latest version has no abnormality, step 210 is executed.
Specifically, feedback information with the information type being a complaint type is obtained from the feedback information set; calculating the complaint rate of the latest version of application according to the feedback information and the feedback information set of the complaint type; and if the complaint rate is greater than a preset threshold value, determining that the application of the latest version has an exception, otherwise, determining that the application of the latest version has no exception.
The access server can respectively extract the information type of each piece of feedback information from the feedback information included in the feedback information set, obtain the feedback information of which the information type is a complaint type from the feedback information set, and count the feedback information of the complaint type to obtain a first number; and counting the feedback information included in the feedback information set to obtain a second number, and calculating the ratio of the first number to the second number to obtain the complaint rate of the application of the latest version.
If the fact that the application of the latest version is abnormal is determined, the access server can feed back prompt information to the first terminal to inform a user that the application of the latest version is abnormal, and the application of the latest version is suspended to be updated.
Step 210: the access server sends the latest version of the application to the first terminal, so that the first terminal updates the application stored by the first terminal into the latest version of the application.
Specifically, the access server sends an update notification to the update server, the update server receives the update notification and returns application data of the application of the latest version to the access server, and the access server sends the application data of the application of the latest version to the first terminal; and the first terminal receives the application data of the latest version of application and updates the application data of the application stored by the first terminal into the received application data.
In the embodiment of the invention, before the application with the latest version is pushed to the terminal, whether the application with the latest version is abnormal or not is judged, if the application with the latest version is not abnormal, the application with the latest version is pushed to the terminal, so that the application with the abnormality can be prevented from being pushed to the terminal.
Example 3
The embodiment of the invention provides a method for pushing data. The embodiment of the invention is applied to a plug-in pushing scene, and the server side pushes the plug-in to the first terminal, so that the first terminal installs the plug-in.
Fig. 3-1 is a network architecture diagram applied in the embodiment of the present invention, where the network architecture includes a first terminal and a server, and the server includes an access server and a plug-in server, where the first terminal may access the access server, and the access server may push a plug-in the plug-in server to the first terminal by using the method provided in the embodiment of the present invention. Referring to fig. 3-2, the method includes:
step 301: and the first terminal establishes communication connection with the access server when starting.
The first terminal can be a computer, a tablet computer, a mobile phone and the like. In the embodiment of the invention, the first terminal requests to establish communication connection with the access server, and after the communication connection is established, the first terminal can quickly and effectively perform information interaction with the access server through the communication connection, so that the information sent by the access server can be received at any time and fed back in real time.
Step 302: the access server establishes communication connection with the first terminal and sends an online notification message to the plug-in server.
In the embodiment of the invention, the plug-in server is used for storing the plug-ins, and one or more plug-ins can be stored in the plug-in server.
Step 303: and the plug-in server receives the online notification message and acquires the description information of the plug-in needing to be pushed.
The description information may include plug-in identification information of the plug-in, function description information of the plug-in, and the like. The description information of the plug-in needing to be pushed, which is acquired by the plug-in server, can comprise the description information of one plug-in or a plurality of plug-ins.
Step 304: the plug-in server sends a push command to the access server, wherein the push command carries description information of the plug-in to be pushed.
Step 305: and the access server receives the push command and forwards the push command to the first terminal.
Step 306: and the first terminal receives the push command and prompts a user to select the plug-in to be pushed according to the push command.
And the first terminal receives the push command, creates a plug-in prompt window and displays the plug-in prompt window to the user, wherein the plug-in prompt window comprises the description information of the plug-in needing to be pushed carried by the push command, so that the user can select one plug-in.
Step 307: the first terminal obtains the plug-in to be pushed selected by the user and returns a downloading command to the access server, wherein the downloading command carries the plug-in identification information of the plug-in to be pushed.
The user can select the description information of a plug-in needing to be pushed from the plug-in prompt window. The first terminal obtains the description information of the plug-in selected by the user, takes the plug-in selected by the user as the plug-in to be pushed, extracts the plug-in identification information of the plug-in to be pushed from the description information of the plug-in to be pushed, and returns a downloading command to the access server, wherein the downloading command comprises the plug-in identification information of the plug-in to be pushed.
Step 308: and the access server receives the download command and acquires a feedback information set corresponding to the plug-in to be pushed, wherein the feedback information set comprises feedback information fed back by the plug-in to be pushed by the second terminal, and the second terminal is a terminal provided with the plug-in to be pushed.
The access server may obtain the corresponding feedback information set from the corresponding relationship between the plug-in identification information and the feedback information set according to the plug-in identification information of the plug-in to be pushed. Each piece of feedback information in the feedback information set comprises an information type, and each piece of feedback information is sent by the second terminal.
In the process that the user uses the plug-in to be pushed on the second terminal, if the plug-in to be pushed is found to be abnormal, the user can complain the plug-in to be pushed to the access server on the second terminal. For example, as shown in fig. 2 to 4, a user may open a complaint interface on a second terminal, leave a message in the complaint interface, then click a complaint button to trigger the second terminal, the second terminal obtains the message information of the user and uses the message information as feedback information, sets the information type of the feedback information as a complaint type, and then feeds back the feedback information to an access server. And the access server stores the feedback information in a feedback information set corresponding to the plug-in to be pushed.
Step 309: the access server determines whether the plug-in to be pushed has an abnormality according to the feedback information set, and if the plug-in does not have the abnormality, step 310 is executed.
Specifically, feedback information with the information type being a complaint type is obtained from the feedback information set; calculating the complaint rate of the plug-in to be pushed according to the feedback information and the feedback information set of the complaint type; and if the complaint rate is greater than the preset threshold value, determining that the plug-in to be pushed is abnormal, otherwise, determining that the plug-in to be pushed is not abnormal.
The access server can respectively extract the information type of each piece of feedback information from the feedback information included in the feedback information set, obtain the feedback information of which the information type is a complaint type from the feedback information set, and count the feedback information of the complaint type to obtain a first number; and counting feedback information included in the feedback information set to obtain a second number, and calculating the ratio of the first number to the second number to obtain the complaint rate of the plug-in to be pushed.
If the situation that the plug-in to be pushed is abnormal is determined, the access server can feed back prompt information to the first terminal so as to inform a user that the plug-in to be pushed is abnormal, and the plug-in to be pushed is paused to be pushed.
Step 310: the access server sends the plug-in to be pushed to the first terminal so that the first terminal can install the plug-in to be pushed.
Specifically, the access server sends an update notification to the update server, the update server receives the update notification and returns plug-in data of the plug-in to be pushed to the access server, and the access server sends the plug-in data of the plug-in to be pushed to the first terminal; and the first terminal receives the plug-in data and installs the plug-in to be pushed according to the plug-in data.
In the embodiment of the invention, before the plug-in is pushed to the terminal, whether the plug-in to be pushed is abnormal or not is judged, if the plug-in to be pushed is not abnormal, the plug-in to be pushed is pushed to the terminal, so that the plug-in with the abnormality can be prevented from being pushed to the terminal.
Example 4
The embodiment of the invention provides a method for pushing data. The embodiment of the invention is applied to a scene of resource package pushing, and the server side pushes the resource package to the first terminal, so that the first terminal installs the resource package.
Fig. 4-1 is a network architecture diagram applied in the embodiment of the present invention, where the network architecture includes a first terminal and a server, and the server includes an access server and a resource server, where the first terminal may access the access server, and the access server may push a resource packet in the resource server to the first terminal by using the method provided in the embodiment of the present invention. Referring to fig. 4-2, the method includes:
step 401: and the first terminal establishes communication connection with the access server when starting.
The first terminal can be a computer, a tablet computer, a mobile phone and the like. In the embodiment of the invention, the first terminal requests to establish communication connection with the access server, and after the communication connection is established, the first terminal can quickly and effectively perform information interaction with the access server through the communication connection, so that the information sent by the access server can be received at any time and fed back in real time.
Step 402: the access server establishes communication connection with the first terminal and sends an online notification message to the resource server.
In the embodiment of the present invention, the resource server is used for storing the resource packages, and one or more resource packages may be stored in the resource server.
Step 403: and the resource server receives the online notification message and acquires the description information of the resource packet to be pushed.
The description information may include resource identification information of the resource package, function description information of the resource package, and the like. The description information of the resource package to be pushed, which is acquired by the resource server, may include description information of one resource package or multiple resource packages.
Step 404: and the resource server sends a push command to the access server, wherein the push command carries the description information of the resource packet to be pushed.
Step 405: and the access server receives the push command and forwards the push command to the first terminal.
Step 406: and the first terminal receives the push command and prompts a user to select a resource packet to be pushed according to the push command.
And the first terminal receives the push command, creates a resource prompt window and displays the resource prompt window to the user, wherein the resource prompt window comprises the description information of the resource packet to be pushed carried by the push command, so that the user can select one resource packet.
Step 407: the first terminal obtains the resource package to be pushed selected by the user and returns a downloading command to the access server, wherein the downloading command carries the resource identifier of the resource package to be pushed.
The user can select the description information of a resource package needing to be pushed from the resource prompt window. The first terminal takes the resource package selected by the user as the resource package to be pushed, extracts the resource identifier of the resource package to be pushed from the description information of the resource package to be pushed, and returns a downloading command to the access server, wherein the downloading command comprises the resource identifier of the resource package to be pushed.
Step 408: and the access server receives the download command and acquires a feedback information set corresponding to the resource packet to be pushed, wherein the feedback information set comprises feedback information fed back by the second terminal to the resource packet to be pushed, and the second terminal is a terminal provided with the resource packet to be pushed.
The access server may obtain the corresponding feedback information set from the corresponding relationship between the resource identification information and the feedback information set according to the resource identification information of the resource packet to be pushed. Each piece of feedback information in the feedback information set comprises an information type, and each piece of feedback information is sent by the second terminal.
When the user uses the resource packet to be pushed at the second terminal, if the resource packet to be pushed is found to be abnormal, the user can complain the resource packet to be pushed to the access server at the second terminal. For example, as shown in fig. 2 to 4, a user may open a complaint interface on a second terminal, leave a message in the complaint interface, then click a complaint button to trigger the second terminal, the second terminal obtains the message information of the user and uses the message information as feedback information, sets the information type of the feedback information as a complaint type, and then feeds back the feedback information to an access server. And the access server stores the feedback information in a feedback information set corresponding to the resource packet to be pushed.
Step 409: the access server determines whether the resource packet to be pushed is abnormal according to the feedback information set, and if the resource packet to be pushed is abnormal, step 410 is executed.
Specifically, feedback information with the information type being a complaint type is obtained from the feedback information set; calculating the complaint rate of the resource packet to be pushed according to the feedback information and the feedback information set of the complaint type; and if the complaint rate is greater than the preset threshold value, determining that the resource packet to be pushed is abnormal, otherwise, determining that the resource packet to be pushed is not abnormal.
The access server can respectively extract the information type of each piece of feedback information from the feedback information included in the feedback information set, obtain the feedback information of which the information type is a complaint type from the feedback information set, and count the feedback information of the complaint type to obtain a first number; and counting the feedback information included in the feedback information set to obtain a second number, and calculating the ratio of the first number to the second number to obtain the complaint rate of the resource packet to be pushed.
If the fact that the resource package is abnormal is determined, the access server can feed back prompt information to the first terminal so as to inform a user that the application of the latest version is abnormal, and the resource package to be pushed is paused to be pushed.
Step 410: the access server sends the resource packet to be pushed to the first terminal, so that the first terminal installs the resource packet to be pushed.
Specifically, the access server sends an update notification to the update server, the update server receives the update notification and returns resource data of a resource packet to be pushed to the access server, and the access server sends the resource data of the resource packet to be pushed to the first terminal; and the first terminal receives the resource data and installs a resource packet to be pushed according to the resource data.
In the embodiment of the invention, before the resource packet is pushed to the terminal, whether the resource packet to be pushed is abnormal or not is judged, if the resource packet to be pushed is not abnormal, the resource packet to be pushed is pushed to the terminal, so that the resource packet with the abnormal situation can be prevented from being pushed to the terminal.
Example 5
Referring to fig. 5, an embodiment of the present invention provides an apparatus for pushing data, including:
a sending module 501, configured to send description information of data to be pushed to a first terminal;
a receiving module 502, configured to receive a download command returned by the first terminal according to the description information;
an obtaining module 503, configured to obtain a feedback information set corresponding to the data to be pushed, where the feedback information set includes feedback information for a second terminal to feed back the data to be pushed, and the second terminal is a terminal that has received the data to be pushed;
a determining module 504, configured to determine whether the data to be pushed is abnormal according to the obtained feedback information;
the sending module 501 is further configured to send the data to be pushed to the first terminal if there is no exception.
Optionally, the determining module 504 includes:
the first acquisition unit is used for acquiring feedback information with the information type being a complaint type from the feedback information set;
the calculating unit is used for calculating the complaint rate of the data to be pushed according to the feedback information of the complaint type and the feedback information set;
and the determining unit is used for determining that the data to be pushed is abnormal if the complaint rate is greater than a preset threshold value, and otherwise, determining that the data to be pushed is not abnormal.
Optionally, the obtaining module 503 includes:
the extracting unit is used for extracting the data identification information of the data to be pushed from the description information of the data to be pushed;
and the second obtaining unit is used for obtaining the feedback information set corresponding to the data to be pushed from the corresponding relation between the data identification information and the feedback information set according to the data identification information of the data to be pushed.
Further, the apparatus further comprises:
and the collection module is used for collecting feedback information fed back by the data to be pushed by the second terminal which has received the data to be pushed, and storing the obtained feedback information in a feedback information set corresponding to the data to be pushed.
Further, the apparatus further comprises:
and the notification module is used for establishing communication connection with the first terminal, sending an online notification message to an update server, and receiving the description information of the data to be pushed, which is returned by the update server according to the online notification message.
In the embodiment of the invention, before the data is pushed to the terminal, whether the data is abnormal or not is judged, if the data is not abnormal, the data is pushed to the terminal, so that the abnormal data can be prevented from being pushed to the terminal.
Example 6
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention, where the server provides a hardware operating environment for the information platform. Server 1900 may vary widely by configuration or performance, and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
Server 1900 may include memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors include instructions for:
sending description information of data to be pushed to a first terminal;
receiving a downloading command returned by the first terminal according to the description information;
acquiring a feedback information set corresponding to the data to be pushed, wherein the feedback information set comprises feedback information fed back by a second terminal to the data to be pushed, and the second terminal is a terminal which has received the data to be pushed;
determining whether the data to be pushed is abnormal or not according to the acquired feedback information;
and if the data to be pushed does not exist, sending the data to be pushed to the first terminal.
Optionally, the determining whether the data to be pushed is abnormal according to the obtained feedback information includes:
feedback information with the information type being the complaint type is obtained from the feedback information set;
calculating the complaint rate of the data to be pushed according to the feedback information of the complaint type and the feedback information set;
and if the complaint rate is greater than a preset threshold value, determining that the data to be pushed is abnormal, otherwise, determining that the data to be pushed is not abnormal.
Optionally, the obtaining of the feedback information set of the data to be pushed includes:
extracting data identification information of the data to be pushed from the description information of the data to be pushed;
and acquiring a feedback information set corresponding to the data to be pushed from the corresponding relation between the data identification information and the feedback information set according to the data identification information of the data to be pushed.
Further, before the obtaining of the feedback information set corresponding to the data to be pushed, the method further includes:
and collecting feedback information for feeding back the data to be pushed by a second terminal which has received the data to be pushed, and storing the obtained feedback information in a feedback information set corresponding to the data to be pushed.
Further, before sending the description information of the data to be pushed to the first terminal, the method further includes:
and establishing communication connection with the first terminal, sending an online notification message to an update server, and receiving the description information of the data to be pushed, which is returned by the update server according to the online notification message.
In the embodiment of the invention, before the data is pushed to the terminal, whether the data is abnormal or not is judged, if the data is not abnormal, the data is pushed to the terminal, so that the abnormal data can be prevented from being pushed to the terminal.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A method for pushing data is characterized in that when the method is applied to a resource package pushing scene, a server side pushes a resource package to be pushed to a first terminal so that the first terminal installs the resource package to be pushed; the server comprises an access server and a resource server, and the method comprises the following steps:
the access server establishes communication connection with the first terminal when the first terminal is started, and sends an online notification message to the resource server;
the resource server receives the online notification message and acquires the description information of the resource packet to be pushed;
the resource server sends a push command to the access server, wherein the push command carries description information of the resource packet to be pushed;
the access server receives the push command and forwards the push command to the first terminal, so that the first terminal can create and display a resource prompt window according to the push command after receiving the push command, and a user can select the resource packet to be pushed; after receiving the resource package to be pushed selected by the user through the resource prompt window, the first terminal extracts the resource identification information of the resource package to be pushed from the description information of the resource package to be pushed, and returns a downloading command containing the resource identification information of the resource package to be pushed to the access server;
the access server receives a downloading command returned by the first terminal according to the description information;
the access server acquires a feedback information set corresponding to the resource packet to be pushed, wherein the feedback information set comprises feedback information fed back by a second terminal to the resource packet to be pushed, and the second terminal is a terminal provided with the resource packet to be pushed;
the access server determines whether the resource packet to be pushed is abnormal or not according to the acquired feedback information set;
the access server feeds back prompt information to the first terminal under the condition that the resource packet to be pushed is abnormal, wherein the prompt information is used for prompting a user to suspend pushing the resource packet to be pushed;
and the access server sends the resource packet to be pushed to the first terminal under the condition that the resource packet to be pushed is not abnormal, so that the first terminal installs the resource packet to be pushed.
2. The method of claim 1, wherein the determining, by the access server, whether the resource package to be pushed is abnormal according to the acquired feedback information set comprises:
the access server acquires feedback information with the information type being a complaint type from the feedback information set;
the access server calculates the complaint rate of the resource packet to be pushed according to the feedback information of the complaint type and the feedback information set;
and the access server determines that the resource packet to be pushed is abnormal under the condition that the complaint rate is greater than a preset threshold value, otherwise, determines that the resource packet to be pushed is not abnormal.
3. The method of claim 1, wherein the obtaining, by the access server, the set of feedback information for the resource package to be pushed comprises:
the access server extracts the resource identification information of the resource packet to be pushed from the description information of the resource packet to be pushed;
and the access server acquires a feedback information set corresponding to the resource packet to be pushed from the corresponding relation between the resource identification information and the feedback information set according to the resource identification information of the resource packet to be pushed.
4. The method as claimed in any one of claims 1 to 3, wherein before the access server obtains the feedback information set corresponding to the resource packet to be pushed, the method further comprises:
the access server collects feedback information fed back by the second terminal installed with the resource package to be pushed, and stores the obtained feedback information in a feedback information set corresponding to the resource package to be pushed.
5. A device for pushing data is applied to a resource package pushing scene, and a server pushes a resource package to be pushed to a first terminal so that the first terminal installs the resource package to be pushed; the server side comprises an access server and a resource server, and the device comprises:
the notification module is used for the access server to establish communication connection with the first terminal when the first terminal is started and send an online notification message to the resource server;
a sending module, configured to receive the online notification message by the resource server, and obtain description information of the resource packet to be pushed; the resource server sends a push command to the access server, wherein the push command carries description information of the resource packet to be pushed;
a receiving module, configured to receive, by the access server, the push command;
the sending module is used for the access server to forward the push command to the first terminal, so that the first terminal can create and display a resource prompt window according to the push command after receiving the push command, and a user can select the resource packet to be pushed; after receiving the resource package to be pushed selected by the user through the resource prompt window, the first terminal extracts the resource identification information of the resource package to be pushed from the description information of the resource package to be pushed, and returns a downloading command containing the resource identification information of the resource package to be pushed to the access server;
the receiving module is used for the access server to receive a downloading command returned by the first terminal according to the description information;
an obtaining module, configured to obtain, by the access server, a feedback information set corresponding to the resource packet to be pushed, where the feedback information set includes feedback information for a second terminal to feed back the resource packet to be pushed, and the second terminal is a terminal to which the resource packet to be pushed is installed;
a determining module, configured to determine, by the access server, whether the resource packet to be pushed is abnormal according to the acquired feedback information set;
the sending module is further configured to feed back, by the access server, a prompt message to the first terminal when the resource packet to be pushed is abnormal, where the prompt message is used to prompt a user to suspend pushing the resource packet to be pushed;
the sending module is further configured to send, by the access server, the resource packet to be pushed to the first terminal when the resource packet to be pushed is not abnormal, so that the first terminal installs the resource packet to be pushed.
6. The apparatus of claim 5, wherein the determining module comprises:
a first obtaining unit, configured to obtain, by the access server, feedback information with an information type of complaint from the feedback information set;
a calculating unit, configured to calculate, by the access server, a complaint rate of the resource packet to be pushed according to the feedback information of the complaint type and the feedback information set;
a determining unit, configured to determine that the resource packet to be pushed is abnormal when the complaint rate is greater than a preset threshold, and otherwise, determine that the resource packet to be pushed is not abnormal.
7. The apparatus of claim 5, wherein the acquisition module comprises:
an extracting unit, configured to extract, by the access server, resource identification information of the resource packet to be pushed from description information of the resource packet to be pushed;
and a second obtaining unit, configured to obtain, by the access server, a feedback information set corresponding to the resource packet to be pushed from a correspondence between the resource identification information and the feedback information set according to the resource identification information of the resource packet to be pushed.
8. The apparatus of any of claims 5 to 7, further comprising:
and the collection module is used for the access server to collect feedback information fed back by the second terminal provided with the resource packet to be pushed, and store the obtained feedback information in a feedback information set corresponding to the resource packet to be pushed.
CN201510237923.3A 2015-05-11 2015-05-11 Data pushing method and device Active CN106162609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510237923.3A CN106162609B (en) 2015-05-11 2015-05-11 Data pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510237923.3A CN106162609B (en) 2015-05-11 2015-05-11 Data pushing method and device

Publications (2)

Publication Number Publication Date
CN106162609A CN106162609A (en) 2016-11-23
CN106162609B true CN106162609B (en) 2019-12-24

Family

ID=57348170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510237923.3A Active CN106162609B (en) 2015-05-11 2015-05-11 Data pushing method and device

Country Status (1)

Country Link
CN (1) CN106162609B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763233A (en) * 2017-04-21 2018-11-06 北京京东尚科信息技术有限公司 The method and apparatus of the identification of doubtful fake products commodity and classification based on big data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856368A (en) * 2011-06-27 2014-06-11 北京奇虎科技有限公司 Method and system for monitoring program
CN104298526A (en) * 2014-09-28 2015-01-21 北京畅游天下网络技术有限公司 Software updating method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7490268B2 (en) * 2004-06-01 2009-02-10 The Trustees Of Columbia University In The City Of New York Methods and systems for repairing applications
CN102404616B (en) * 2011-11-30 2014-07-30 深圳市同洲电子股份有限公司 Method and system for pushing data cloud based on digital television network
CN104052774B (en) * 2013-03-14 2019-03-01 腾讯科技(深圳)有限公司 A kind of data transmission method and system
CN104065693A (en) * 2013-04-16 2014-09-24 腾讯科技(深圳)有限公司 Method, device and system for accessing network data in webpage applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856368A (en) * 2011-06-27 2014-06-11 北京奇虎科技有限公司 Method and system for monitoring program
CN104298526A (en) * 2014-09-28 2015-01-21 北京畅游天下网络技术有限公司 Software updating method and device

Also Published As

Publication number Publication date
CN106162609A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN109474688B (en) Method, device, equipment and medium for sending instant communication network request message
US20120222120A1 (en) Malware detection method and mobile terminal realizing the same
US20180359140A1 (en) Method, device, and system for processing a terminal fault
CN110650503B (en) Network access method, device, system and computer readable storage medium
CN107360179B (en) Risk information sharing method, terminal and computer readable storage medium
CN105553770B (en) Data acquisition control method and device
CN112118352B (en) Method and device for processing notification trigger message, electronic equipment and computer readable medium
CN108764866B (en) Method and equipment for allocating resources and drawing resources
CN109343944B (en) Data processing method and device for eSIM card, terminal and storage medium
CN112804160B (en) Application program-based current limiting method, device, equipment, medium and product
CN113329345A (en) Method and device for improving short message sending success rate
CN106162609B (en) Data pushing method and device
CN111382259A (en) Analysis method and device for APP crash logs
CN106293814B (en) Upgrading method and device
CN112965799A (en) Task state prompting method and device, electronic equipment and medium
CN110324432B (en) Data processing method, device and medium applied to terminal and computing equipment
CN111966425A (en) Process cleaning method and device, storage medium and mobile terminal
CN106156210B (en) Method and device for determining application identifier matching list
CN111240952A (en) Log collection method and device
CN108347456B (en) Application program downloading method and device
CN106708737B (en) Test method and device
CN108959955B (en) File processing method and device
CN108897639B (en) File processing method and device
CN112732728A (en) Data synchronization method and system
CN112083945A (en) NPM installation package update prompting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant