CN107872495B - Information processing method and terminal equipment - Google Patents
Information processing method and terminal equipment Download PDFInfo
- Publication number
- CN107872495B CN107872495B CN201610860527.0A CN201610860527A CN107872495B CN 107872495 B CN107872495 B CN 107872495B CN 201610860527 A CN201610860527 A CN 201610860527A CN 107872495 B CN107872495 B CN 107872495B
- Authority
- CN
- China
- Prior art keywords
- information
- preset time
- terminal device
- received
- time range
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Abstract
The invention discloses an information processing method, which comprises the following steps: when the terminal equipment determines that the first information is successfully sent, a first instruction is generated; responding to the first instruction, judging whether second information used for being pushed to the terminal equipment is received within a first preset time range, and obtaining a first judgment result; and when the first judgment result shows that the second information is not received within the first preset time range, sending a first request message for actively pulling the second information. The invention also discloses a terminal device.
Description
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and a terminal device.
Background
In the prior art, data transmission is performed between a terminal device and a server through a long chain, when data change occurs, the server informs that the data of the terminal device change through the long chain, and then real-time pushing of the data between the terminal device and the server is achieved.
However, the data transmission between the terminal device and the server through long-chain connection has the following disadvantages: on one hand, the cost is needed for maintaining the long link between the terminal equipment and the server; on the other hand, when the long-link connection is disconnected, when data is changed, the server cannot inform the terminal device through the long link, and data transmission between the terminal device and the server can be recovered only after the terminal device reestablishes the long-link connection with the server, so that data transmission cannot be performed between the server and the terminal device in real time.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information processing method and a terminal device to solve the problems in the prior art.
The embodiment of the invention provides an information processing method, which comprises the following steps: when the terminal equipment determines that the first information is successfully sent, a first instruction is generated;
responding to the first instruction, judging whether second information used for being pushed to the terminal equipment is received within a first preset time range, and obtaining a first judgment result;
and when the first judgment result shows that the second information is not received within the first preset time range, sending a first request message for actively pulling the second information.
In the above scheme, the method further comprises: generating a second instruction when second information used for being pushed to the terminal equipment is not received based on the first request message;
responding to the second instruction, judging whether second information used for being pushed to the terminal equipment is received within a second preset time range, and obtaining a second judgment result;
and when the second judgment result is that the second information is not received within the second preset time range, sending the first request message for actively pulling the second information again.
In the above scheme, the method further comprises: and when second information pushed to the terminal equipment is received based on the first request message, outputting and displaying the second information.
In the above scheme, the method further comprises: and when the first judgment result shows that second information is received within the first preset time range, outputting and displaying the second information.
In the above scheme, the first preset time range is smaller than the second preset time range.
An embodiment of the present invention further provides a terminal device, where the terminal device includes: a generation unit, a judgment unit and a transmission unit; wherein the content of the first and second substances,
the generating unit is used for generating a first instruction when the first information is determined to be successfully sent;
the judging unit is used for responding to the first instruction, judging whether second information used for being pushed to the terminal equipment is received within a first preset time range, and obtaining a first judging result;
the sending unit is configured to send a first request message for actively pulling the second information when the first determination result indicates that the second information is not received within the first preset time range.
In the foregoing solution, the generating unit is further configured to generate a second instruction when second information for being pushed to the terminal device is not received based on the first request message;
the judging unit is further configured to respond to the second instruction, judge whether second information for being pushed to the terminal device is received within a second preset time range, and obtain a second judgment result;
the sending unit is further configured to send the first request message for actively pulling the second information again when the second determination result indicates that the second information is not received within the second preset time range.
In the foregoing solution, the terminal device further includes an output unit, configured to output and display second information when the second information pushed to the terminal device is received based on the first request message.
In the foregoing scheme, the output unit is further configured to output and display the second information when the first determination result indicates that the second information is received within the first preset time range.
In the above scheme, the first preset time range is smaller than the second preset time range.
According to the information processing method and the terminal device provided by the embodiment of the invention, after the terminal device successfully sends the message to the server, when the terminal device judges that the message pushed by the server is not received within the preset time delay, the terminal device sends the request message of actively pulling the information to the server; therefore, the terminal equipment judges whether the long-chain connection between the terminal equipment and the server is disconnected according to whether the terminal equipment receives the information sent by the server based on the request message of the active pulling information, and the message of the server can be timely returned to the terminal equipment to the maximum extent.
Drawings
FIG. 1 is a diagram of hardware entities for performing information interaction according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a basic processing flow of an information processing method according to an embodiment of the present invention;
FIG. 3 is a detailed processing flow diagram of an information processing method according to an embodiment of the present invention;
FIG. 4 is a detailed processing flow diagram of an information processing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another terminal device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware entity structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples.
Fig. 1 is a schematic diagram of hardware entities performing information interaction in an embodiment of the present invention, where fig. 1 includes: the system comprises a server 11, terminal equipment 21, terminal equipment 22 and terminal equipment 23, wherein the terminal equipment 21-23 carries out information interaction with the server through long links, and the terminal equipment comprises mobile phones, desktop computers, PCs, all-in-one machines and the like.
The above example of fig. 1 is only an example of a system architecture for implementing the embodiment of the present invention, and the embodiment of the present invention is not limited to the system architecture described in the above fig. 1, and various embodiments of the present invention are proposed based on the system architecture.
A basic processing flow diagram of an information processing method according to an embodiment of the present invention, as shown in fig. 2, includes the following steps:
specifically, the terminal device generates a first instruction when determining that the first information is successfully sent to the server;
here, the first instruction may be a delay operation.
specifically, the terminal device responds to the first instruction, and judges whether second information which is used by a server for pushing to the terminal device is received within a first preset time range, so as to obtain a first judgment result;
here, when the first instruction is a delay logic, the first preset time is a time of the delay logic, and the first preset time can be flexibly set according to actual needs, such as 500 ms; the method comprises the steps that a first preset time is set according to a current application scene of information interaction between a terminal device and a server, and the server actively pushes a message to the terminal device within the first preset time; therefore, whether the information transmission link between the server and the terminal equipment is disconnected or not can be judged according to the first judgment result.
103, when the first judgment result is that the second information is not received within the first preset time range, sending a first request message for actively pulling the second information;
specifically, when the terminal device does not receive second information used by the server to be pushed to the terminal device within a first preset time range, the terminal device sends a first request message for actively pulling the second information.
After the terminal equipment successfully sends the message to the server and the terminal equipment judges that the message pushed by the server is not received within the preset time delay, the terminal equipment sends a request message for actively pulling the message to the server; therefore, the terminal equipment judges whether the long-chain connection between the terminal equipment and the server is disconnected according to whether the terminal equipment receives the information sent by the server based on the request message of the active pulling information, and the message of the server can be timely returned to the terminal equipment to the maximum extent.
A detailed processing flow diagram of an information processing method according to an embodiment of the present invention is shown in fig. 3, and includes the following steps:
specifically, the terminal device generates a first instruction when determining that the first information is successfully sent to the server;
here, the first instruction may be a delay operation.
specifically, the terminal device responds to the first instruction, and judges whether second information which is used by a server for pushing to the terminal device is received within a first preset time range, so as to obtain a first judgment result;
here, when the first instruction is a delay logic, the first preset time is a time of the delay logic, and the first preset time can be flexibly set according to actual needs, for example, 500 ms.
specifically, when the terminal device does not receive second information used by the server to be pushed to the terminal device within a first preset time range, the terminal device sends a first request message for actively pulling the second information.
specifically, the terminal device generates a second instruction when not receiving the second information sent by the server after sending a first request message for actively pulling the second information to the server;
here, the second instruction may be a delay operation.
specifically, the terminal device responds to the second instruction, and judges whether second information which is used by the server for pushing to the terminal device is received within a second preset time range, so as to obtain a second judgment result;
here, when the second instruction is a delay logic, the second preset time is a time of the delay logic, and the second preset time can be flexibly set according to actual needs, such as 1S; a second preset time which is usually set according to a current application scene of information interaction between the terminal equipment and the server is that the server actively pushes a message to the terminal equipment within the second preset time; therefore, whether the information transmission link between the server and the terminal equipment is disconnected or not can be judged according to the second judgment result.
specifically, when the second judgment result is that the second information is received within the second preset time range, outputting and displaying the second information; when the second judgment result is that the second information is not received within the second preset time range, the first request message for actively pulling the second information is sent again;
when a second message pushed to the terminal equipment by a server is received based on the first request message sent again, outputting and displaying the second message; and when a second message pushed to the terminal equipment by a server is not received based on the first request message sent again, confirming that the link between the terminal equipment and the server is disconnected.
After the terminal equipment successfully sends the message to the server and the terminal equipment judges that the message pushed by the server is not received within the preset time delay, the terminal equipment sends a request message for actively pulling the message to the server; therefore, the terminal equipment judges whether the long-chain connection between the terminal equipment and the server is disconnected according to whether the terminal equipment receives the information sent by the server based on the request message of the active pulling information, and the message of the server can be timely returned to the terminal equipment to the maximum extent.
As shown in fig. 4, a detailed processing flow of an information processing method according to an embodiment of the present invention includes the following steps:
specifically, the terminal device generates a first instruction when determining that the first information is successfully sent to the server;
here, the first instruction may be a delay operation.
specifically, the terminal device responds to the first instruction, and judges whether second information which is used by a server for pushing to the terminal device is received within a first preset time range, so as to obtain a first judgment result;
here, when the first instruction is a delay logic, the first preset time is a time of the delay logic, and the first preset time can be flexibly set according to actual needs, for example, 500 ms.
specifically, when the terminal device does not receive second information used by the server to be pushed to the terminal device within a first preset time range, the terminal device sends a first request message for actively pulling the second information.
specifically, the terminal device generates a second instruction when not receiving the second information sent by the server after sending a first request message for actively pulling the second information to the server;
here, the second instruction may be a delay operation.
specifically, the terminal device responds to the second instruction, and judges whether second information which is used by the server for pushing to the terminal device is received within a second preset time range, so as to obtain a second judgment result;
here, when the first instruction is a delay logic, the second preset time is a time of the delay logic, and the second preset time may be flexibly set according to actual needs, such as 1S.
specifically, when the terminal device does not receive second information used by the server to be pushed to the terminal device within a first preset time range, the terminal device sends a first request message for actively pulling the second information.
specifically, the terminal device generates a third instruction when not receiving the second information sent by the server after sending a first request message for actively pulling the second information to the server;
here, the third instruction may be a delay operation.
specifically, the terminal device responds to the third instruction, and judges whether second information which is used by the server for being pushed to the terminal device is received within a third preset time range, so as to obtain a third judgment result;
here, when the third instruction is a delay logic, the third preset time is a time of the delay logic, and the third preset time can be flexibly set according to actual needs, such as 1.5S; a third preset time which is usually set according to a current application scene of information interaction between the terminal equipment and the server is within the third preset time, and the server is sent to actively push a message to the terminal equipment; therefore, whether the information transmission link between the server and the terminal equipment is disconnected or not can be judged according to the third judgment result.
specifically, when the third judgment result is that the second information is received within the third preset time range, outputting and displaying the second information; and when the first request message sent for the third time does not receive a second message pushed to the terminal equipment by a server, confirming that the link between the terminal equipment and the server is disconnected.
The terminal device according to the embodiment of the present invention may be installed with an application having a communication function, and the method embodiment of the present invention may be applied to any scene where information interaction between the terminal device and a server is required, such as: the information interaction between the terminal equipment and the server in the WeChat service, the information interaction between the terminal equipment and the server in the QQ service, the information interaction between the terminal equipment and the server in the Octopus helper service, or the information interaction between the terminal equipment and the server in other group purchase services, social services and communication services.
After the terminal equipment successfully sends the message to the server and the terminal equipment judges that the message pushed by the server is not received within the preset time delay, the terminal equipment sends a request message for actively pulling the message to the server; therefore, the terminal equipment judges whether the long-chain connection between the terminal equipment and the server is disconnected according to whether the terminal equipment receives the information sent by the server based on the request message of the active pulling information, and the message of the server can be timely returned to the terminal equipment to the maximum extent.
In the above method embodiment of the present invention, the first preset time, the second preset time, and the third preset time may also be the same; the values of the first preset time, the second preset time and the third preset time are flexibly set according to actual needs, and when the set preset time is short, the real-time performance of information transmission between the server and the terminal equipment can be guaranteed to the maximum extent, but the flow consumption and the electric quantity consumption can be increased; when the preset time is long, although the message fed back to the terminal equipment by the server is delayed, the flow consumption and the electric quantity consumption can be reduced; the first preset time set in the embodiment of the invention is shorter than the second preset time, so that the real-time performance of information transmission between the server and the terminal equipment can be ensured, and the flow consumption and the electric quantity consumption can be reduced.
Terminal device embodiment
In order to implement the above method embodiment of the present invention, the present invention further provides a terminal device, where a schematic diagram of a composition structure of the terminal device is shown in fig. 5, and the method includes: a generation unit 31, a judgment unit 32, and a transmission unit 33; wherein the content of the first and second substances,
the generating unit 31 is configured to generate a first instruction when the terminal device determines that the first information is successfully sent;
the determining unit 32 is configured to determine, in response to the first instruction, whether second information for being pushed to the terminal device is received within a first preset time range, and obtain a first determination result;
the sending unit 33 is configured to send a first request message for actively pulling the second information when the first determination result indicates that the second information is not received within the first preset time range.
In the embodiment of the present invention, when the first instruction is a delay logic, the first preset time is the time of the delay logic, and the first preset time can be flexibly set according to actual needs, for example, 500 ms; the method comprises the steps that a first preset time is set according to a current application scene of information interaction between a terminal device and a server, and the server actively pushes a message to the terminal device within the first preset time; therefore, whether the information transmission link between the server and the terminal equipment is disconnected or not can be judged according to the first judgment result.
After the terminal equipment successfully sends the message to the server and the terminal equipment judges that the message pushed by the server is not received within the preset time delay, the terminal equipment sends a request message for actively pulling the message to the server; therefore, the terminal equipment judges whether the long-chain connection between the terminal equipment and the server is disconnected according to whether the terminal equipment receives the information sent by the server based on the request message of the active pulling information, and the message of the server can be timely returned to the terminal equipment to the maximum extent.
An embodiment of the present invention further provides a terminal device, where a schematic diagram of a composition structure of the terminal device is shown in fig. 6, and the terminal device includes: a generation unit 31, a judgment unit 32, a transmission unit 33, and an output unit 34; wherein the content of the first and second substances,
the generating unit 31 is configured to generate a first instruction when the terminal device determines that the first information is successfully sent;
the determining unit 32 is configured to determine, in response to the first instruction, whether second information for being pushed to the terminal device is received within a first preset time range, and obtain a first determination result;
the sending unit 33 is configured to send a first request message for actively pulling the second information when the first determination result indicates that the second information is not received within the first preset time range;
in this embodiment of the present invention, the generating unit 31 is further configured to generate a second instruction when second information for being pushed to the terminal device is not received based on the first request message;
correspondingly, the determining unit 32 is further configured to determine, in response to the second instruction, whether second information for being pushed to the terminal device is received within a second preset time range, so as to obtain a second determination result;
correspondingly, the sending unit 33 is further configured to send the first request message for actively pulling the second information again when the second determination result indicates that the second information is not received within the second preset time range.
In the embodiment of the present invention, when the second instruction is a delay logic, the second preset time is the time of the delay logic, and the second preset time can be flexibly set according to actual needs, such as 1S; a second preset time which is usually set according to a current application scene of information interaction between the terminal equipment and the server is that the server actively pushes a message to the terminal equipment within the second preset time; therefore, whether the information transmission link between the server and the terminal equipment is disconnected or not can be judged according to the second judgment result.
In this embodiment of the present invention, the terminal device further includes an output unit 34, configured to output and display second information for pushing to the terminal device when the second information is received based on the first request message.
The output unit 34 is further configured to output and display the second information when the first determination result indicates that the second information is received within the first preset time range.
In an embodiment of the present invention, the first preset time range is smaller than the second preset time range.
After the terminal equipment successfully sends the message to the server and the terminal equipment judges that the message pushed by the server is not received within the preset time delay, the terminal equipment sends a request message for actively pulling the message to the server; therefore, the terminal equipment judges whether the long-chain connection between the terminal equipment and the server is disconnected according to whether the terminal equipment receives the information sent by the server based on the request message of the active pulling information, and the message of the server can be timely returned to the terminal equipment to the maximum extent.
An embodiment of the present invention further provides a terminal device, where a schematic diagram of a composition structure of the terminal device is shown in fig. 6, and the terminal device includes: a generation unit 31, a judgment unit 32, a transmission unit 33, and an output unit 34; wherein the content of the first and second substances,
the generating unit 31 is configured to generate a first instruction when the terminal device determines that the first information is successfully sent;
the determining unit 32 is configured to determine, in response to the first instruction, whether second information for being pushed to the terminal device is received within a first preset time range, and obtain a first determination result;
the sending unit 33 is configured to send a first request message for actively pulling the second information when the first determination result indicates that the second information is not received within the first preset time range;
in this embodiment of the present invention, the generating unit 31 is further configured to generate a second instruction when second information for being pushed to the terminal device is not received based on the first request message;
correspondingly, the determining unit 32 is further configured to determine, in response to the second instruction, whether second information for being pushed to the terminal device is received within a second preset time range, so as to obtain a second determination result;
correspondingly, the sending unit 33 is further configured to send the first request message for actively pulling the second information again when the second determination result indicates that the second information is not received within the second preset time range.
In this embodiment of the present invention, the generating unit 31 is further configured to generate a third instruction when the second information for being pushed to the terminal device is not received based on the first request message;
correspondingly, the determining unit 32 is further configured to determine, in response to the third instruction, whether to receive second information for being pushed to the terminal device within a third preset time range, and obtain a third determination result;
in the embodiment of the present invention, when the third instruction is a delay logic, the third preset time is the time of the delay logic, and the third preset time can be flexibly set according to actual needs, for example, 1.5S; a third preset time which is usually set according to a current application scene of information interaction between the terminal equipment and the server is within the third preset time, and the server is sent to actively push a message to the terminal equipment; therefore, whether the information transmission link between the server and the terminal equipment is disconnected or not can be judged according to the third judgment result.
The output unit 34 is configured to output and display the second information when the third determination result indicates that the second information is received within the third preset time range.
In the embodiment of the present invention, the first preset time range is smaller than the second preset time range, and the second preset time range is smaller than the third preset time range.
After the terminal equipment successfully sends the message to the server and the terminal equipment judges that the message pushed by the server is not received within the preset time delay, the terminal equipment sends a request message for actively pulling the message to the server; therefore, the terminal equipment judges whether the long-chain connection between the terminal equipment and the server is disconnected according to whether the terminal equipment receives the information sent by the server based on the request message of the active pulling information, and the message of the server can be timely returned to the terminal equipment to the maximum extent.
Here, it should be noted that: the above description related to the terminal device items is similar to the above description of the method, and the description of the beneficial effects of the same method is omitted for brevity. For technical details not disclosed in the server embodiment of the present invention, refer to the description of the method embodiment of the present invention.
In this embodiment, a terminal device is shown in fig. 7 as an example of a hardware entity. The terminal device comprises a processor 61, a storage medium 62 and at least one external communication interface 63; the processor 61, the storage medium 62 and the external communication interface 63 are all connected by a bus 64.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. An information processing method, characterized in that the method comprises:
when the terminal equipment determines that the first information is successfully sent to the server, a first instruction is generated, wherein the first instruction is delay logic, and the first preset time is delay logic time;
responding to the first instruction, judging whether second information used for being pushed to the terminal equipment is received within a first preset time range, and obtaining a first judgment result;
and when the first judgment result shows that the second information is not received within the first preset time range, sending a first request message for actively pulling the second information.
2. The method of claim 1, further comprising:
generating a second instruction when second information used for being pushed to the terminal equipment is not received based on the first request message;
responding to the second instruction, judging whether second information used for being pushed to the terminal equipment is received within a second preset time range, and obtaining a second judgment result;
and when the second judgment result is that the second information is not received within the second preset time range, sending the first request message for actively pulling the second information again.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and when second information pushed to the terminal equipment is received based on the first request message, outputting and displaying the second information.
4. The method of claim 1, further comprising:
and when the first judgment result shows that second information is received within the first preset time range, outputting and displaying the second information.
5. The method of claim 2, wherein the first predetermined time range is less than the second predetermined time range.
6. A terminal device, characterized in that the terminal device comprises: a generation unit, a judgment unit and a transmission unit; wherein the content of the first and second substances,
the generating unit is used for generating a first instruction when the first information is determined to be successfully sent to the server, wherein the first instruction is delay logic, and the first preset time is the time of the delay logic;
the judging unit is used for responding to the first instruction, judging whether second information used for being pushed to the terminal equipment is received within a first preset time range, and obtaining a first judging result;
the sending unit is configured to send a first request message for actively pulling the second information when the first determination result indicates that the second information is not received within the first preset time range.
7. The terminal device of claim 6,
the generating unit is further configured to generate a second instruction when second information for pushing to the terminal device is not received based on the first request message;
the judging unit is further configured to respond to the second instruction, judge whether second information for being pushed to the terminal device is received within a second preset time range, and obtain a second judgment result;
the sending unit is further configured to send the first request message for actively pulling the second information again when the second determination result indicates that the second information is not received within the second preset time range.
8. The terminal device according to claim 6 or 7, wherein the terminal device further comprises an output unit configured to output and display the second information when the second information for pushing to the terminal device is received based on the first request message.
9. The terminal device according to claim 8, wherein the output unit is further configured to output and display second information when the first determination result indicates that the second information is received within the first preset time range.
10. The terminal device according to claim 7, wherein the first predetermined time range is smaller than the second predetermined time range.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610860527.0A CN107872495B (en) | 2016-09-28 | 2016-09-28 | Information processing method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610860527.0A CN107872495B (en) | 2016-09-28 | 2016-09-28 | Information processing method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107872495A CN107872495A (en) | 2018-04-03 |
CN107872495B true CN107872495B (en) | 2020-06-26 |
Family
ID=61761315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610860527.0A Active CN107872495B (en) | 2016-09-28 | 2016-09-28 | Information processing method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107872495B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174587A (en) * | 2022-06-06 | 2022-10-11 | 蚂蚁区块链科技(上海)有限公司 | Data transmission system, method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139303A (en) * | 2013-02-07 | 2013-06-05 | 网易(杭州)网络有限公司 | Method, device and system used for maintaining connected heartbeat |
US8825710B2 (en) * | 2011-05-26 | 2014-09-02 | Planet Technologies | Cloud computing method for dynamically scaling a process across physical machine boundaries |
CN105554151A (en) * | 2015-12-29 | 2016-05-04 | 联想(北京)有限公司 | Keep-alive time determining method and electronic device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8707185B2 (en) * | 2000-10-10 | 2014-04-22 | Addnclick, Inc. | Dynamic information management system and method for content delivery and sharing in content-, metadata- and viewer-based, live social networking among users concurrently engaged in the same and/or similar content |
CN102307098A (en) * | 2011-09-05 | 2012-01-04 | 华为技术有限公司 | Authentication authorization method and apparatus thereof |
CN102802178B (en) * | 2012-08-03 | 2016-03-16 | 中国联合网络通信集团有限公司 | Service application optimized treatment method, device, terminal and communication system |
CN104904309B (en) * | 2013-11-28 | 2019-04-05 | 华为终端(东莞)有限公司 | A kind of method and mobile terminal sending heartbeat message |
CN105188037A (en) * | 2015-10-16 | 2015-12-23 | 珠海格力电器股份有限公司 | Message push method, mobile terminal, and message push server |
CN105898442A (en) * | 2015-12-09 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Advertisement pre-downloading method and system, terminal equipment and push server |
CN105553762B (en) * | 2015-12-11 | 2019-03-12 | 美的集团股份有限公司 | Communication means, system and related device between household electrical appliance and mobile terminal |
-
2016
- 2016-09-28 CN CN201610860527.0A patent/CN107872495B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8825710B2 (en) * | 2011-05-26 | 2014-09-02 | Planet Technologies | Cloud computing method for dynamically scaling a process across physical machine boundaries |
CN103139303A (en) * | 2013-02-07 | 2013-06-05 | 网易(杭州)网络有限公司 | Method, device and system used for maintaining connected heartbeat |
CN105554151A (en) * | 2015-12-29 | 2016-05-04 | 联想(北京)有限公司 | Keep-alive time determining method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107872495A (en) | 2018-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103313216B (en) | Message prompt method, system and device for communication account | |
CN109347934B (en) | Message pushing method and system, server, storage medium and electronic device | |
CN104348697B (en) | The processing method of video communication information, apparatus and system | |
CN110333956A (en) | Message storage method, device, medium and electronic equipment in message queue | |
CN104935612A (en) | Data processing method and server | |
CN110445632B (en) | Method and device for preventing client from crashing | |
CN108234659B (en) | Data processing method, device and system | |
CN109636460B (en) | Service processing method, device, equipment and storage medium | |
CN110703974B (en) | Message interaction method, device and storage medium | |
CN107908481A (en) | A kind of method of data synchronization, device and system | |
CN104216739B (en) | A kind of download process method and device, terminal | |
CN107872495B (en) | Information processing method and terminal equipment | |
CN104243272A (en) | Media message pushing method and device | |
CN110995780A (en) | API calling method and device, storage medium and electronic equipment | |
CN107368376B (en) | Message sending method and device, expansion method and terminal | |
CN114268799B (en) | Streaming media transmission method and device, electronic equipment and medium | |
CN113535020B (en) | Method, apparatus, device, medium and product for generating application icons | |
CN106844502B (en) | Data consistency processing method and equipment | |
CN112965799A (en) | Task state prompting method and device, electronic equipment and medium | |
CN111580882A (en) | Application program starting method, device, computer system and medium | |
CN111555894A (en) | Data processing method, device, equipment and storage medium | |
CN111625371A (en) | Text transmission method, device, PC (personal computer) terminal, mobile terminal and system | |
CN113747185B (en) | Information interaction method, device, system, equipment and storage medium | |
CN114157917B (en) | Video editing method and device and terminal equipment | |
CN114237752B (en) | Push page display method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |