CN107872495A - A kind of information processing method and terminal device - Google Patents
A kind of information processing method and terminal device Download PDFInfo
- Publication number
- CN107872495A CN107872495A CN201610860527.0A CN201610860527A CN107872495A CN 107872495 A CN107872495 A CN 107872495A CN 201610860527 A CN201610860527 A CN 201610860527A CN 107872495 A CN107872495 A CN 107872495A
- Authority
- CN
- China
- Prior art keywords
- information
- terminal device
- preset time
- time range
- instruction
- 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.)
- Granted
Links
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 a kind of information processing method, methods described includes:When terminal device determines that the first information is sent successfully, the instruction of generation first;First instruction is responded, judges the second information for pushing to the terminal device whether is received in the first preset time range, obtains the first judged result;When first judged result is not receive second information in first preset time range, the first request message for the second information described in active pull is sent.The invention also discloses a kind of terminal device.
Description
Technical field
The present invention relates to the information processing technology, more particularly to a kind of information processing method and terminal device.
Background technology
In the prior art, connect and carried out data transmission by a long-chain between terminal device and server, when there is data hair
When changing more, server is connected by the long-chain knows that terminal device data are changed, and then realizes terminal device and clothes
The real time propelling movement of data between business device.
But connect between terminal device and server by long-chain and carry out data transmission that there is following drawback:On the one hand, tie up
Holding the length between terminal device and server and linking needs cost;On the other hand, when long link disconnects, become when there are data
When more, server can not be connected by long-chain again knows terminal device, only waits terminal device to re-create between server
Long link after, the data transfer between terminal device and server could be recovered, caused between server and terminal device not
It can carry out data transmission in real time.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of information processing method to solve problems of the prior art
And terminal device.
The embodiment of the present invention provides a kind of information processing method, including:When terminal device determines that the first information is sent successfully,
The instruction of generation first;
First instruction is responded, judges whether received in the first preset time range for pushing to the terminal
Second information of equipment, obtain the first judged result;
When first judged result is not receive second information in first preset time range, send
The first request message for the second information described in active pull.
In such scheme, methods described also includes:Do not received when based on first request message for pushing to institute
When stating the second information of terminal device, the instruction of generation second;
Second instruction is responded, judges whether received in the second preset time range for pushing to the terminal
Second information of equipment, obtain the second judged result;
When second judged result is not receive second information in second preset time range, again
Send the first request message for the second information described in active pull.
In such scheme, methods described also includes:It is described for pushing to when being received based on first request message
During the second information of terminal device, the second information described in output display.
In such scheme, methods described also includes:When first judged result is in first preset time range
When receiving the second information, the second information described in output display.
In such scheme, first preset time range is less than second preset time range.
The embodiment of the present invention also provides a kind of terminal device, and the terminal device includes:Generation unit, judging unit and hair
Send unit;Wherein,
The generation unit, during for determining that the first information is sent successfully, the instruction of generation first;
The judging unit, for responding first instruction, judge whether received in the first preset time range
For pushing to the second information of the terminal device, the first judged result is obtained;
The transmitting element, for judging judged result described first not receive in first preset time range
During to second information, the first request message for the second information described in active pull is sent.
In such scheme, the generation unit, it is additionally operable to not receive for pushing when based on first request message
To the terminal device the second information when, generation second instruction;
The judging unit, it is additionally operable to respond second instruction, judges whether received in the second preset time range
To the second information for pushing to the terminal device, the second judged result is obtained;
The transmitting element, it is additionally operable to when second judged result is not received in second preset time range
During second information, the first request message for the second information described in active pull is sent again.
In such scheme, the terminal device also includes output unit, for being received when based on first request message
During to the second information for pushing to the terminal device, the second information described in output display.
In such scheme, the output unit, it is additionally operable to when first judged result is the first preset time model
When receiving the second information in enclosing, the second information described in output display.
In such scheme, first preset time range is less than second preset time range.
Information processing method and terminal device provided in the embodiment of the present invention, terminal device send message to server
After success, when terminal device judges not receiving the message of server push in predetermined time delay, send and lead to server
The dynamic request message for pulling information;In this way, terminal device is according to whether receive server asking based on the active pull information
The information sought message and sent judges whether itself long link between the server disconnects, and then guarantee server
Message can farthest be back to terminal device in time.
Brief description of the drawings
Fig. 1 is each side's hardware entities schematic diagram that the embodiment of the present invention carries out information exchange;
Fig. 2 is a kind of basic handling schematic flow sheet of information processing method of the embodiment of the present invention;
Fig. 3 is a kind of detailed process schematic diagram of information processing method of the embodiment of the present invention;
Fig. 4 is a kind of detailed process schematic diagram of information processing method of the embodiment of the present invention;
Fig. 5 is a kind of composition structural representation of terminal device of the embodiment of the present invention;
Fig. 6 is the composition structural representation of another kind terminal device of the embodiment of the present invention;
Fig. 7 is that a kind of hardware entities of terminal device of the embodiment of the present invention form structural representation.
Embodiment
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
Fig. 1 is the schematic diagram for each side's hardware entities that information exchange is carried out in the embodiment of the present invention, and Fig. 1 includes:Service
Device 11, terminal device 21, terminal device 22, terminal device 23, terminal device 21-23 enter row information by long link with server
Interaction, terminal device include the types such as mobile phone, desktop computer, PC, all-in-one.
Above-mentioned Fig. 1 example is a system architecture example for realizing the embodiment of the present invention, and the embodiment of the present invention is not
It is limited to the system architecture described in above-mentioned Fig. 1, based on the system architecture, proposes each embodiment of the present invention.
The basic handling schematic flow sheet of a kind of information processing method of the embodiment of the present invention, as shown in Fig. 2 including following step
Suddenly:
Step 101, when terminal device determines that the first information is sent successfully, the instruction of generation first;
Specifically, when terminal device determines that the first information is successfully transmitted to server, the instruction of generation first;
Here, first instruction can be a delay operation.
Step 102, first instruction is responded, judges whether received in the first preset time range for pushing to
Second information of the terminal device, obtain the first judged result;
Specifically, the terminal device response first instruction, judges in the first preset time range, if receive
It is used for the second information for pushing to the terminal device to server, obtains the first judged result;
Here, when the described first instruction is a delay logic, first preset time is the delay logic
Time, first preset time can be according to being actually needed flexible setting, such as 500ms;Generally according to terminal device and server
The first preset time for carrying out the current application scene settings of information exchange is to be bound to occur in first preset time
Server is to terminal device active push message;Therefore, it can determine whether that server is set with terminal according to first judged result
Whether the information transfer link between standby disconnects.
Step 103, when first judged result is not receive second letter in first preset time range
During breath, the first request message for the second information described in active pull is sent;
Specifically, the terminal device does not receive the server in the first preset time range and is used to push to institute
When stating the second information of terminal device, the terminal device is sent to disappear for the first request of the second information described in active pull
Breath.
Using the embodiment of the present invention, after terminal device sends message success to server, terminal device is in the predetermined time
When judging not receiving the message of server push in delay, the request message of active pull information is sent to server;In this way, eventually
End equipment is according to whether the information that receives request message of the server based on the active pull information and send judges itself
Whether long link between the server disconnects, and then ensures that the message of server farthest can be back in time
Terminal device.
The detailed process schematic diagram of a kind of information processing method of the embodiment of the present invention, as shown in figure 3, including following step
Suddenly:
Step 201, when terminal device determines that the first information is sent successfully, the instruction of generation first;
Specifically, when terminal device determines that the first information is successfully transmitted to server, the instruction of generation first;
Here, first instruction can be a delay operation.
Step 202, first instruction is responded, judges whether received in the first preset time range for pushing to
Second information of the terminal device, obtain the first judged result;
Specifically, the terminal device response first instruction, judges in the first preset time range, if receive
It is used for the second information for pushing to the terminal device to server, obtains the first judged result;
Here, when the described first instruction is a delay logic, first preset time is the delay logic
Time, first preset time can be according to being actually needed flexible setting, such as 500ms.
Step 203, when first judged result is not receive second letter in first preset time range
During breath, the first request message for the second information described in active pull is sent;
Specifically, the terminal device does not receive the server in the first preset time range and is used to push to institute
When stating the second information of terminal device, the terminal device is sent to disappear for the first request of the second information described in active pull
Breath.
Step 204;When based on first request message do not receive for push to the terminal device second letter
During breath, the instruction of generation second;
Specifically, terminal device is after the first request message for the message of active pull second is sent to server, not
When receiving the second information of server transmission, the instruction of generation second;
Here, it can be a delay operation that second instruction, which is,.
Step 205, second instruction is responded, judges whether received in the second preset time range for pushing to
Second information of the terminal device, obtain the second judged result;
Specifically, terminal device response second instruction, judges clothes whether are received in the second preset time range
Business device is used for the second information for pushing to the terminal device, obtains the second judged result;
Here, when the described second instruction is a delay logic, second preset time is the delay logic
Time, second preset time can be according to being actually needed flexible setting, such as 1S;Carried out generally according to terminal device and server
Second preset time of the current application scene settings of information exchange is to be bound to service in second preset time
Device is to terminal device active push message;Therefore, can determine whether according to second judged result server and terminal device it
Between information transfer link whether disconnect.
Step 206, handled according to second judged result;
Specifically, when second judged result is to receive second information in second preset time range
When, the second information described in output display;When second judged result not receive institute in second preset time range
When stating the second information, the first request message for the second information described in active pull is sent again;
When receive that server push delivers to the terminal device based on first request message sent again second
During message, the second information described in output display;When not receiving server push based on first request message sent again
When delivering to the second message of the terminal device, confirm that the link between the terminal device and the server disconnects.
Using the embodiment of the present invention, after terminal device sends message success to server, terminal device is in the predetermined time
When judging not receiving the message of server push in delay, the request message of active pull information is sent to server;In this way, eventually
End equipment is according to whether the information that receives request message of the server based on the active pull information and send judges itself
Whether long link between the server disconnects, and then ensures that the message of server farthest can be back in time
Terminal device.
A kind of detailed process of information processing method of the embodiment of the present invention, as shown in figure 4, comprising the following steps:
Step 301, when terminal device determines that the first information is sent successfully, the instruction of generation first;
Specifically, when terminal device determines that the first information is successfully transmitted to server, the instruction of generation first;
Here, first instruction can be a delay operation.
Step 302, first instruction is responded, judges whether received in the first preset time range for pushing to
Second information of the terminal device, obtain the first judged result;
Specifically, the terminal device response first instruction, judges in the first preset time range, if receive
It is used for the second information for pushing to the terminal device to server, obtains the first judged result;
Here, when the described first instruction is a delay logic, first preset time is the delay logic
Time, first preset time can be according to being actually needed flexible setting, such as 500ms.
Step 303, when first judged result is not receive second letter in first preset time range
During breath, the first request message for the second information described in active pull is sent;
Specifically, the terminal device does not receive the server in the first preset time range and is used to push to institute
When stating the second information of terminal device, the terminal device is sent to disappear for the first request of the second information described in active pull
Breath.
Step 304;When based on first request message do not receive for push to the terminal device second letter
During breath, the instruction of generation second;
Specifically, terminal device is after the first request message for the message of active pull second is sent to server, not
When receiving the second information of server transmission, the instruction of generation second;
Here, it can be a delay operation that second instruction, which is,.
Step 305, second instruction is responded, judges whether received in the second preset time range for pushing to
Second information of the terminal device, obtain the second judged result;
Specifically, terminal device response second instruction, judges clothes whether are received in the second preset time range
Business device is used for the second information for pushing to the terminal device, obtains the second judged result;
Here, when the described first instruction is a delay logic, second preset time is the delay logic
Time, second preset time can be according to being actually needed flexible setting, such as 1S.
Step 306, when second judged result is not receive second letter in second preset time range
During breath, the first request message for the second information described in active pull is sent for the third time;
Specifically, the terminal device does not receive the server in the first preset time range and is used to push to institute
When stating the second information of terminal device, the terminal device is sent to disappear for the first request of the second information described in active pull
Breath.
Step 307, when based on first request message do not receive for push to the terminal device second letter
During breath, the instruction of generation the 3rd;
Specifically, terminal device is after the first request message for the message of active pull second is sent to server, not
When receiving the second information of server transmission, the instruction of generation the 3rd;
Here, it can be a delay operation that the 3rd instruction, which is,.
Step 308, the 3rd instruction is responded, judges whether received in the 3rd preset time range for pushing to
Second information of the terminal device, obtain the 3rd judged result;
Specifically, terminal device response the 3rd instruction, judges whether receive clothes in the 3rd preset time range
Business device is used for the second information for pushing to the terminal device, obtains the 3rd judged result;
Here, when the described 3rd instruction is a delay logic, the 3rd preset time is the delay logic
Time, the 3rd preset time can be according to being actually needed flexible setting, such as 1.5S;Enter generally according to terminal device and server
3rd preset time of the current application scene settings of row information interaction is in the 3rd preset time, is bound to send clothes
Device be engaged in terminal device active push message;Therefore, server and terminal device can determine whether according to the 3rd judged result
Between information transfer link whether disconnect.
Step 309, handled according to the 3rd judged result;
Specifically, when the 3rd judged result is to receive second information in the 3rd preset time range
When, the second information described in output display;When first request message sent based on third time does not receive server push
To the terminal device the second message when, confirm that link between the terminal device and the server disconnects.
Application with communication function, the above method of the invention can be installed in terminal device described in the embodiment of the present invention
Embodiment may be applicable to any scene that terminal device carries out information exchange with server, such as:Terminal is set in wechat business
Information exchange, octopus assistant's business in standby information exchange between server, QQ business between terminal device and server
Information exchange between middle terminal device and server or other purchase by group terminal in class business, social class business, communication class business
Information exchange between equipment and server.
Using the embodiment of the present invention, after terminal device sends message success to server, terminal device is in the predetermined time
When judging not receiving the message of server push in delay, the request message of active pull information is sent to server;In this way, eventually
End equipment is according to whether the information that receives request message of the server based on the active pull information and send judges itself
Whether long link between the server disconnects, and then ensures that the message of server farthest can be back in time
Terminal device.
In above method embodiment of the present invention, first preset time, the second preset time and the 3rd preset time
Can also be identical;The value of first preset time, the second preset time and the 3rd preset time is flexible according to being actually needed
Setting, the preset time of setting in short-term, can ensure that server carries out information transfer real-time with terminal device to greatest extent,
But flow consumption and electric quantity consumption can be increased;When the preset time of setting is long, although server feedback to terminal can be caused to set
Standby message has delay, but can reduce flow consumption and electric quantity consumption;Described first set in the embodiment of the present invention is pre-
If the time is less than the second preset time, can while ensureing that server and terminal device carry out the real-time of information transfer,
Reduce flow consumption and electric quantity consumption.
Terminal device embodiment
To realize above method embodiment of the present invention, the present invention also provides a kind of terminal device, the group of the terminal device
Into structural representation, as shown in figure 5, including:Generation unit 31, judging unit 32 and transmitting element 33;Wherein,
The generation unit 31, when determining that the first information is sent successfully for terminal device, the instruction of generation first;
The judging unit 32, for responding first instruction, judge whether received in the first preset time range
To the second information for pushing to the terminal device, the first judged result is obtained;
The transmitting element 33, for judging judged result described first not connect in first preset time range
When receiving second information, the first request message for the second information described in active pull is sent.
In the embodiment of the present invention, when the described first instruction is a delay logic, first preset time is described
The time for the logic that is delayed, first preset time can be according to being actually needed flexible setting, such as 500ms;Set generally according to terminal
First preset time of the standby current application scene settings that information exchange is carried out with server is in first preset time
It is bound to occur server to terminal device active push message;Therefore, can determine whether to service according to first judged result
Whether the information transfer link between device and terminal device disconnects.
Using the embodiment of the present invention, after terminal device sends message success to server, terminal device is in the predetermined time
When judging not receiving the message of server push in delay, the request message of active pull information is sent to server;In this way, eventually
End equipment is according to whether the information that receives request message of the server based on the active pull information and send judges itself
Whether long link between the server disconnects, and then ensures that the message of server farthest can be back in time
Terminal device.
The embodiment of the present invention also provides a kind of terminal device, the composition structural representation of the terminal device, such as Fig. 6 institutes
Show, including:Generation unit 31, judging unit 32, transmitting element 33 and output unit 34;Wherein,
The generation unit 31, when determining that the first information is sent successfully for terminal device, the instruction of generation first;
The judging unit 32, for responding first instruction, judge whether received in the first preset time range
To the second information for pushing to the terminal device, the first judged result is obtained;
The transmitting element 33, for judging judged result described first not connect in first preset time range
When receiving second information, the first request message for the second information described in active pull is sent;
In the embodiment of the present invention, the generation unit 31, it is additionally operable to receive use based on first request message
When the second information of the terminal device is pushed to, the instruction of generation second;
Accordingly, the judging unit 32, it is additionally operable to respond second instruction, judges in the second preset time range
The second information for pushing to the terminal device whether is received, obtains the second judged result;
Accordingly, the transmitting element 33, it is additionally operable to when second judged result is second preset time range
When not receiving second information inside, the first request message for the second information described in active pull is sent again.
In the embodiment of the present invention, when the described second instruction is a delay logic, second preset time is described
The time for the logic that is delayed, second preset time can be according to being actually needed flexible setting, such as 1S;Generally according to terminal device with
The second preset time that server carries out the current application scene settings of information exchange is certain in second preset time
Server can occur to terminal device active push message;Therefore, according to second judged result i.e. can determine whether server with
Whether the information transfer link between terminal device disconnects.
In the embodiment of the present invention, the terminal device also includes output unit 34, for disappearing when based on the described first request
When breath receives the second information for pushing to the terminal device, the second information described in output display.
The output unit 34, it is additionally operable to when first judged result is to be received in first preset time range
During the second information, the second information described in output display.
In the embodiment of the present invention, first preset time range is less than second preset time range.
Using the embodiment of the present invention, after terminal device sends message success to server, terminal device is in the predetermined time
When judging not receiving the message of server push in delay, the request message of active pull information is sent to server;In this way, eventually
End equipment is according to whether the information that receives request message of the server based on the active pull information and send judges itself
Whether long link between the server disconnects, and then ensures that the message of server farthest can be back in time
Terminal device.
The embodiment of the present invention also provides a kind of terminal device, the composition structural representation of the terminal device, such as Fig. 6 institutes
Show, including:Generation unit 31, judging unit 32, transmitting element 33 and output unit 34;Wherein,
The generation unit 31, when determining that the first information is sent successfully for terminal device, the instruction of generation first;
The judging unit 32, for responding first instruction, judge whether received in the first preset time range
To the second information for pushing to the terminal device, the first judged result is obtained;
The transmitting element 33, for judging judged result described first not connect in first preset time range
When receiving second information, the first request message for the second information described in active pull is sent;
In the embodiment of the present invention, the generation unit 31, it is additionally operable to receive use based on first request message
When the second information of the terminal device is pushed to, the instruction of generation second;
Accordingly, the judging unit 32, it is additionally operable to respond second instruction, judges in the second preset time range
The second information for pushing to the terminal device whether is received, obtains the second judged result;
Accordingly, the transmitting element 33, it is additionally operable to when second judged result is second preset time range
When not receiving second information inside, the first request message for the second information described in active pull is sent again.
In the embodiment of the present invention, the generation unit 31 is additionally operable to not received based on first request message and is used for
When pushing to the second information of the terminal device, the instruction of generation the 3rd;
Accordingly, the judging unit 32, it is additionally operable to respond the 3rd instruction, judges in the 3rd preset time range
The second information for pushing to the terminal device whether is received, obtains the 3rd judged result;
In the embodiment of the present invention, when the described 3rd instruction is a delay logic, the 3rd preset time is described
The time for the logic that is delayed, the 3rd preset time can be according to being actually needed flexible setting, such as 1.5S;Generally according to terminal device
The 3rd preset time that the current application scene settings of information exchange are carried out with server is in the 3rd preset time one
Surely server can be sent to terminal device active push message;Therefore, server can determine whether according to the 3rd judged result
Whether the information transfer link between terminal device disconnects.
The output unit 34, for receiving institute in the 3rd preset time range when the 3rd judged result
When stating the second information, the second information described in output display.
In the embodiment of the present invention, first preset time range is less than second preset time range, and described second
Preset time range is less than the 3rd preset time range.
Using the embodiment of the present invention, after terminal device sends message success to server, terminal device is in the predetermined time
When judging not receiving the message of server push in delay, the request message of active pull information is sent to server;In this way, eventually
End equipment is according to whether the information that receives request message of the server based on the active pull information and send judges itself
Whether long link between the server disconnects, and then ensures that the message of server farthest can be back in time
Terminal device.
It need to be noted that be:Above is referred to the description of terminal device item, is similar, Tongfang with above method description
The beneficial effect description of method, is not repeated.For the ins and outs not disclosed in server example of the present invention, this hair refer to
The description of bright embodiment of the method.
In the present embodiment, an example of the terminal device as hardware entities, as shown in Figure 7.The terminal device includes
Processor 61, storage medium 62 and at least one external communication interface 63;The processor 61, storage medium 62 and outside
Communication interface 63 is connected by bus 64.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only
A kind of division of logic function, there can be other dividing mode when actually realizing, such as:Multiple units or component can combine, or
Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion
Point mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, equipment or unit
Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can positioned at a place, can also be distributed to multiple network lists
In member;Partly or entirely unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used
To be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned
Integrated unit can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:It is movable storage device, read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Or if the above-mentioned integrated unit of the present invention is realized in the form of software function module and is used as independent product
Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented
The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product,
The computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be with
It is personal computer, server or network equipment etc.) perform all or part of each embodiment methods described of the present invention.
And foregoing storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of information processing method, it is characterised in that methods described includes:
When terminal device determines that the first information is sent successfully, the instruction of generation first;
First instruction is responded, judges whether received in the first preset time range for pushing to the terminal device
The second information, obtain the first judged result;
When first judged result is not receive second information in first preset time range, sends and be used for
First request message of the second information described in active pull.
2. according to the method for claim 1, it is characterised in that methods described also includes:
When not receiving the second information for pushing to the terminal device based on first request message, generation second
Instruction;
Second instruction is responded, judges whether received in the second preset time range for pushing to the terminal device
The second information, obtain the second judged result;
When second judged result is not receive second information in second preset time range, send again
The first request message for the second information described in active pull.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
When receiving the second information for pushing to the terminal device based on first request message, output display institute
State the second information.
4. according to the method for claim 1, it is characterised in that methods described also includes:
When first judged result is to receive the second information in first preset time range, the described in output display
Two information.
5. according to the method described in any one of claim 2 to 4, it is characterised in that first preset time range is less than institute
State the second preset time range.
6. a kind of terminal device, it is characterised in that the terminal device includes:Generation unit, judging unit and transmitting element;Its
In,
The generation unit, during for determining that the first information is sent successfully, the instruction of generation first;
The judging unit, for responding first instruction, judge whether to receive in the first preset time range and be used for
The second information of the terminal device is pushed to, obtains the first judged result;
The transmitting element, for judging judged result described first not receive institute in first preset time range
When stating the second information, the first request message for the second information described in active pull is sent.
7. terminal device according to claim 6, it is characterised in that
The generation unit, it is additionally operable to not receive for pushing to the terminal device based on first request message
During the second information, the instruction of generation second;
The judging unit, it is additionally operable to respond second instruction, judges whether receive use in the second preset time range
In the second information for pushing to the terminal device, the second judged result is obtained;
The transmitting element, it is additionally operable to described not received in second preset time range when second judged result
During the second information, the first request message for the second information described in active pull is sent again.
8. the terminal device according to claim 6 or 7, it is characterised in that the terminal device also includes output unit, uses
In when receiving the second information for pushing to the terminal device based on first request message, described in output display
Second information.
9. terminal device according to claim 8, it is characterised in that the output unit, be additionally operable to when described first sentences
Disconnected result is the second information described in output display when receiving the second information in first preset time range.
10. according to the terminal device described in any one of claim 7 to 9, it is characterised in that first preset time range is small
In second preset 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 true CN107872495A (en) | 2018-04-03 |
CN107872495B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174587A (en) * | 2022-06-06 | 2022-10-11 | 蚂蚁区块链科技(上海)有限公司 | Data transmission system, method and device |
CN115174587B (en) * | 2022-06-06 | 2024-05-03 | 蚂蚁区块链科技(上海)有限公司 | Data transmission system, method and device, computer readable storage medium and electronic equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090249244A1 (en) * | 2000-10-10 | 2009-10-01 | Addnclick, Inc. | Dynamic information management system and method for content delivery and sharing in content-, metadata- & 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 |
CN102802178A (en) * | 2012-08-03 | 2012-11-28 | 中国联合网络通信集团有限公司 | Method and device for business application optimization process, terminal and communication system |
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 |
CN104904309A (en) * | 2013-11-28 | 2015-09-09 | 华为终端有限公司 | Method for sending heartbeat message and mobile terminal |
CN105188037A (en) * | 2015-10-16 | 2015-12-23 | 珠海格力电器股份有限公司 | Message push method, mobile terminal, and message push server |
CN105553762A (en) * | 2015-12-11 | 2016-05-04 | 美的集团股份有限公司 | Communication method and communication system between domestic appliance and mobile terminal and corresponding devices |
CN105554151A (en) * | 2015-12-29 | 2016-05-04 | 联想(北京)有限公司 | Keep-alive time determining method and electronic device |
CN105898442A (en) * | 2015-12-09 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Advertisement pre-downloading method and system, terminal equipment and push server |
-
2016
- 2016-09-28 CN CN201610860527.0A patent/CN107872495B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090249244A1 (en) * | 2000-10-10 | 2009-10-01 | Addnclick, Inc. | Dynamic information management system and method for content delivery and sharing in content-, metadata- & viewer-based, live social networking among users concurrently engaged in the same and/or similar content |
US8825710B2 (en) * | 2011-05-26 | 2014-09-02 | Planet Technologies | Cloud computing method for dynamically scaling a process across physical machine boundaries |
CN102307098A (en) * | 2011-09-05 | 2012-01-04 | 华为技术有限公司 | Authentication authorization method and apparatus thereof |
CN102802178A (en) * | 2012-08-03 | 2012-11-28 | 中国联合网络通信集团有限公司 | Method and device for business application optimization process, terminal and communication system |
CN103139303A (en) * | 2013-02-07 | 2013-06-05 | 网易(杭州)网络有限公司 | Method, device and system used for maintaining connected heartbeat |
CN104904309A (en) * | 2013-11-28 | 2015-09-09 | 华为终端有限公司 | Method for sending heartbeat message and mobile terminal |
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 |
CN105553762A (en) * | 2015-12-11 | 2016-05-04 | 美的集团股份有限公司 | Communication method and communication system between domestic appliance and mobile terminal and corresponding devices |
CN105554151A (en) * | 2015-12-29 | 2016-05-04 | 联想(北京)有限公司 | Keep-alive time determining method and electronic device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174587A (en) * | 2022-06-06 | 2022-10-11 | 蚂蚁区块链科技(上海)有限公司 | Data transmission system, method and device |
CN115174587B (en) * | 2022-06-06 | 2024-05-03 | 蚂蚁区块链科技(上海)有限公司 | Data transmission system, method and device, computer readable storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107872495B (en) | 2020-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170109013A1 (en) | Method for organizing group icon in messenger service, and apparatus therefor | |
CN102958008B (en) | Method, system and mobile terminals for realizing instant messaging | |
US9692846B2 (en) | System, device and method for providing push service using feedback message | |
CN105553833A (en) | Customer service system and service method and robot customer service thereof | |
CN104348697B (en) | The processing method of video communication information, apparatus and system | |
CN103491162B (en) | Information sharing method based on mobile Internet and system | |
CN104935612A (en) | Data processing method and server | |
CN110493122A (en) | A kind of synchronous method of session information, calculates equipment and storage medium at device | |
CN113342235A (en) | Information processing method, information processing device, electronic equipment and storage medium | |
CN108197210B (en) | User interactive reading method based on friend relationship and computing equipment | |
CN109684114A (en) | Message distributing method, device, terminal and medium based on iOS system | |
CN107493229A (en) | Message group sending method, server and the computer-readable storage medium of converged communication | |
CN104216739B (en) | A kind of download process method and device, terminal | |
JP5363498B2 (en) | Apparatus and method for notifying user status | |
CN107872495A (en) | A kind of information processing method and terminal device | |
CN107241788A (en) | The power consumption control method and device of wearable device | |
CN113542301B (en) | Interaction method and device, electronic equipment and storage medium | |
EP4240037A1 (en) | Data processing method and apparatus, storage medium, terminal, and network access point device | |
CN113452948B (en) | Conference terminal control method, device, equipment and storage medium | |
CN105117183A (en) | Printing method and device applicable to IOS system | |
CN104618499A (en) | Information processing method and electronic equipment | |
CN108390815A (en) | Advertisement sending method, device, server and storage medium | |
CN104363579A (en) | Online application implementing method and device | |
CN113300895A (en) | Cable processing method and system and computing device | |
CN107592313B (en) | Data transmission method and network equipment |
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 |