CN104601523B - A kind of method and device for transmitting data - Google Patents
A kind of method and device for transmitting data Download PDFInfo
- Publication number
- CN104601523B CN104601523B CN201310530769.XA CN201310530769A CN104601523B CN 104601523 B CN104601523 B CN 104601523B CN 201310530769 A CN201310530769 A CN 201310530769A CN 104601523 B CN104601523 B CN 104601523B
- Authority
- CN
- China
- Prior art keywords
- operating system
- data
- return value
- terminal
- worker thread
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of method and devices for transmitting data, belong to field of communication technology.The described method includes: worker thread initiates asynchronous read requests to terminal operating system, so that the operating system stores the data when receiving server and returning to the data of the terminal;The worker thread receives the operating system and is used to indicate the first return value for detecting the operating system and returning to message according to what the asynchronous read requests returned, whether returns to message according to operating system described in the instruction real-time detection of first return value;After the operating system, which stores the server, returns to the data of the terminal, if the worker thread detects the second return value for being used to indicate processing data that the operating system returns, the data of the return are handled according to the instruction of second return value.The invention avoids worker threads to be blocked the defect that can not execute other operations during request data, improves the efficiency of socket connection transmission data.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of method and device for transmitting data.
Background technique
With the development of communication technology, the technology that the network connection established between terminal and server carries out data transmission,
It has been the highly developed communication technology.Wherein, socket is to TCP(Transmission in network connection
Control Protocol, transmission control protocol) encapsulation, by establish socket connection can distinguish from different application into
Communication between journey and network connection.
In the prior art, it applies after establishing socket connection between terminal and server, creation is used for transmission data
Worker thread, worker thread transmit and receive the request of data to operating system when receiving data, at this time if server returns
Data then return the spatial cache of the data copy response and to worker thread and receive successful message, if service
The non-returned data of device, then operating system can wait the data of the return not return to any message, worker thread to worker thread
The operation that other transmission data can not be carried out if the message for not receiving return, until operating system confirmation receives clothes
It after device be engaged in by socket connection returned data, returned to worker thread and receives successful message, worker thread can just carry out
Other send data or receive the operation of data.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Worker thread can not carry out other operations, reduce work when waiting operating system to return to the successful message of reception
The efficiency for making thread will affect the utilization efficiency of data.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of method and devices for transmitting data.Institute
It is as follows to state technical solution:
On the one hand, a kind of method for transmitting data is provided, which comprises
Worker thread initiates asynchronous read requests to terminal operating system, so that the operating system is receiving server
The data are stored when returning to the data of the terminal;
The worker thread receives the operating system and is used to indicate detection institute according to what the asynchronous read requests returned
The first return value that operating system returns to message is stated, is according to operating system described in the instruction real-time detection of first return value
No return message;
After the operating system, which stores the server, returns to the data of the terminal, if the worker thread is examined
The second return value for being used to indicate processing data that the operating system returns is measured, then according to the instruction of second return value
Handle the data of the return.
On the other hand, a kind of device for transmitting data is provided, described device includes:
Initiation module is requested, asynchronous read requests are initiated to terminal operating system for worker thread, so that the operation
System stores the data when receiving server and returning to the data of the terminal;
Execution module receives the use that the operating system is returned according to the asynchronous read requests for the worker thread
The first return value that the operating system returns to message is detected in instruction, according to the instruction real-time detection institute of first return value
State whether operating system returns to message;
First processing module, for after the operating system stores the server and returns to the data of the terminal,
If the worker thread detects the second return value for being used to indicate processing data that the operating system returns, according to institute
The instruction for stating the second return value handles the data of the return.
Asynchronous read requests are initiated to operating system by worker thread, receive the first return value that operating system returns
Afterwards, other operations in addition to asynchronous read operations are executed, and are returned according to the notification message processing server that operating system is sent
Back to the data of terminal.It avoids worker thread and is blocked the defect that can not execute other operations during request data,
Improve the efficiency of socket connection transmission data.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the method flow diagram for the transmission data that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of transmission data provided by Embodiment 2 of the present invention;
Fig. 3 is the method exited in real time in the method provided by Embodiment 2 of the present invention for transmitting data to worker thread
Flow chart;
Fig. 4 is in the method for transmission data provided by Embodiment 2 of the present invention to the connection disconnection between terminal and server
The method flow diagram of reconnection afterwards;
Fig. 5 be it is provided by Embodiment 2 of the present invention transmission data method in worker thread to server send heartbeat message
Method flow diagram;
Fig. 6 is the apparatus structure schematic diagram for the transmission data that the embodiment of the present invention three provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
The embodiment of the invention provides a kind of methods for transmitting data, and referring to Fig. 1, method flow includes:
101: worker thread initiates asynchronous read requests to terminal operating system, so that the operating system is receiving clothes
Business device stores the data when returning to the data of the terminal;
102: the worker thread receives the operating system and is used to indicate inspection according to what the asynchronous read requests returned
The first return value that the operating system returns to message is surveyed, system is operated according to the instruction real-time detection of first return value
Whether system returns to message;
103: after the operating system, which stores the server, returns to the data of the terminal, the worker thread is such as
Fruit detects the second return value for being used to indicate processing data that the operating system returns, then according to second return value
Indicate the data of the processing return.
The embodiment of the present invention initiates asynchronous read requests to operating system by worker thread, receives what operating system returned
After first return value, execute in addition to asynchronous read operations other operation, and according to operating system send notification message at
Reason server returns to the data of terminal.Other behaviour can not be executed by avoiding worker thread and being blocked during request data
The defect of work improves the efficiency of socket connection transmission data.
Embodiment two
The embodiment of the invention provides a kind of methods for transmitting data, and referring to fig. 2, method flow includes:
201: worker thread initiates asynchronous read requests to terminal operating system, so that the operating system is receiving clothes
Business device stores the data when returning to the data of the terminal.
When application starting, creation first is used for transmission the worker thread of data, and establishes terminal and clothes by worker thread
Socket connection between business device.Wherein, by completing to complete with the three-way handshake of server and server foundation
Socket connection.
Wherein, buffer zone address and call back function address are carried in asynchronous read requests.Specifically, asynchronous read requests are
WSARecv() function is realized, purpose sends reading service device to operating system and passes through the socket connection return established
Data, therefore the mark and buffer zone address and readjustment letter using corresponding socket can be at least carried in the function
Number address.
Wherein, it after terminal receives the data that server returns, first stores data in the buffer area of operating system, answers
With if necessary to handle the data, it is necessary to copy to the data using corresponding buffer area, therefore asynchronous reading
The buffer zone address carried in request applies the address of corresponding buffer area, for this then to indicate that operating system, terminal are passing through
Using the data that corresponding socket is received, the behaviour of unloading is carried out according to the buffer zone address carried in asynchronous read requests
Make.
Wherein, call back function address is a pointer, for informing that operating system applies the storage of corresponding call back function
Address.Therefore, call back function is the function called by function pointer, passes through the readjustment letter carried in asynchronous read requests
Number address is informed to operating system, then is that the pointer address of the call back function is passed to operating system as parameter, works as operation
When system calls the call back function, the corresponding function of pointer address, the corresponding letter of the pointer address can be called according to pointer address
Number is to belong to the application for sending asynchronous read requests, and function is the data that processing server returns to terminal.Further, when
When the socket connection established between terminal and server disconnects, i.e. when socket connection disconnects, operating system can also pass through
Call back function is called, a message is returned to the worker thread of application, is disconnected for informing using socket connection.
202: the worker thread receives the operating system and is used to indicate inspection according to what the asynchronous read requests returned
The first return value that the operating system returns to message is surveyed, system is operated according to the instruction real-time detection of first return value
Whether system returns to message.
Specifically, passing through call operation system API(Application after receiving the first return value
Programming Interface, application programming interface) function: WaitForSingleObjectEx (event,
Waittime, TRUE), congestion control is carried out to worker thread, worker thread is in suspended state at this time, and worker thread can basis
After calling the function, operating system can return to a variety of different return values, worker thread to worker thread according to specific event
Suspended state is released further according to different return values, and carries out different processing.After having handled the corresponding task of various return values,
It is again introduced into the return value that suspended state waits operating system.
Specifically, the process that worker thread periodically sends heartbeat message to server may be implemented, so that server obtains
The terminal for knowing the transmission heartbeat message is presence always, therefore socket connection is not disconnected;It can also realize informing
Whether worker thread itself is in the state that can be reminded to system, and operating system can be to the work if in the state that can be reminded
Make thread and send various return values, otherwise is set as FALSE and does not then send return value to the worker thread;It can also realize to work
Make the operation of process exited in real time.
203: after the operating system, which stores the server, returns to the data of the terminal, the worker thread is such as
Fruit detects the second return value for being used to indicate processing data that the operating system returns, then according to second return value
Indicate the data of the processing return.
Operating system passes through the buffering carried in asynchronous read requests after receiving server and returning to the data of terminal
Regional address carries out unloading to data.Worker thread is called to execute call back function according to call back function address later, for handling clothes
Business device returns to the data of terminal, wherein calling the process of worker thread is to send a notification message to worker thread to execute readjustment
Function.Operating system can be transmitted to call back function according to call back function address and transmit some parameters, such as: server returns to terminal
The storage address of data, server return to size of data of terminal etc..
204: if detecting the 4th return value for being used to indicate asynchronous read operations completion that the operating system returns
When, it is determined that the asynchronous read operations are completed.
After worker thread is by calling call back function to handle server and return to the data of terminal, operating system according to
WaitForSingleObjectEx (event, waittime, the TRUE) function that worker thread calls is returned to worker thread
The return value of WAIT_IO_COMPLETION, i.e. the 4th return value.Worker thread confirms the different of this after receiving the return value
It walks read operation to complete, asynchronous read requests next time can be initiated to operating system, that is, re-execute the steps 201 process,
Carry out next time etc. server returned data to be received and the process that is handled.
It in embodiments of the present invention additionally provides and worker thread to be exited in real time in a kind of method for transmitting data
Method, referring to Fig. 3, this method comprises:
301: the worker thread creates the event object exited for controlling thread, the original state of the event object
For unactivated state, so that the thing of thread is exited in triggering when the state of the event object is set state of activation by the application
Part.
Worker thread passes through the api function of call operation system, and: CreateEvent () creates Event object, at the beginning of the object
Beginning state is unactivated state.
302: if detecting when being used to indicate five return value for exiting threading operation of the operating system return,
The worker thread is exited according to the 5th return value.
When needing that worker thread is notified to be exited, then call SetEvent function by the state of the Event object more
It is changed to state of activation.
When applications trigger exits the event of thread, API calls that operating system is called according to worker thread
WaitForSingleObjectEx (event, waittime, TRUE) monitors the kernel objects Event's of worker thread creation
State is changed to activate, then operating system can return to the return value of WAIT_OBJECT_0, i.e. the 5th return value to worker thread.
After worker thread receives the WAIT_OBJECT_0 return value, then the operation for exiting thread is immediately performed.
The mode for exiting worker thread in real time in embodiments of the present invention, during Socket blocking model can be made up,
If the defect that worker thread can not be exited in waiting for server returned data always.
It is additionally provided in a kind of method of transmission data in embodiments of the present invention to the connection between terminal and server
The method of reconnection after disconnection, referring to fig. 4, this method comprises:
401: according to the parameter that instruction connection disconnects in second return value, judge the terminal and the server it
Between connection whether disconnect.
Specifically, operating system calls worker thread according to readjustment letter when the connection between terminal and server disconnects
Number address executes call back function, i.e. operating system can send the second return value, the company of instruction in second return value to worker thread
The parameter for connecing disconnection is that the parameter being transmitted in call back function by operating system according to call back function address is realized, is provided with
Server return to the data of terminal size be " 0 " or " NULL " when, worker thread judges out terminal and server at this time
Between connection disconnect.
402: when determining that the connection between the terminal and the server disconnects, re-establishing the terminal and service
Connection between device.
It is additionally provided in a kind of method of transmission data in embodiments of the present invention and the heart is sent to server to worker thread
The method of hop-information, to maintain the socket connection between terminal and server, so that terminal keeps presence in server,
Referring to Fig. 5, this method comprises:
501: if detecting the third return value for being used to indicate transmission heartbeat message that the operating system returns, root
According to the third return value to the server send heartbeat message, with maintain the terminal in the server in threadiness
State.
Wherein, worker thread periodically receives the third return value that the operating system returns.It therefore, can be periodic
Heartbeat message is sent to server.
Specifically, second parameter waittime in WaitForSingleObjectEx (event, waittime, TRUE)
For carrying out timing, timing is carried out according to preset timing time, when reaching the time, operating system is returned to worker thread
The message of WAIT_TIMEOUT, that is, third return value, worker thread are connected by socket to clothes after receiving the return value
Business device sends heartbeat message.
Wherein, which can modify, and mode can be but be not limited to: receive what server returned
The message for modifying timing time in data is modified.
Further, worker thread call operation API calls in step 201: WaitForSingleObjectEx
(event, waittime, TRUE) can receive different return after carrying out congestion control to worker thread according to specific circumstances
It returns value (including: the first return value, the second return value, third return value, the 4th return value, the 5th return value).Therefore step 201
Later, the process of progress can execute step 202- step 204 or step 301- step 302 or step 401- step 402, or
Process during any one in step 501, point for the sequence being not carried out between these flow operations.
The embodiment of the present invention initiates asynchronous read requests to operating system by worker thread, receives what operating system returned
After first return value, execute in addition to asynchronous read operations other operation, and according to operating system send notification message at
Reason server returns to the data of terminal.Other behaviour can not be executed by avoiding worker thread and being blocked during request data
The defect of work improves the efficiency of socket connection transmission data.Further, the period is realized according to the system API of calling
Property to server send heartbeat message, the process that real-time perfoming reconnects when socket disconnecting further improves
The working efficiency of socket connection.
Embodiment three
The embodiment of the invention provides a kind of devices for transmitting data, and referring to Fig. 6, which includes:
Initiation module 601 is requested, asynchronous read requests are initiated to terminal operating system for worker thread, so that the behaviour
Make system and stores the data when receiving server and returning to the data of the terminal;
Execution module 602 receives the operating system for the worker thread and is returned according to the asynchronous read requests
Be used to indicate and detect the first return value that the operating system returns to message, examined in real time according to the instruction of first return value
Survey whether the operating system returns to message;
First processing module 603, for storing the data that the server returns to the terminal when the operating system
Afterwards, if the worker thread detects the second return value for being used to indicate processing data that the operating system returns, root
The data of the return are handled according to the instruction of second return value.
Wherein, described device further include:
Second processing module 604, if for detecting that the operating system returned is used to indicate transmission heartbeat message
Third return value, then according to the third return value to the server send heartbeat message, to maintain the terminal in institute
State the presence in server.
Wherein, described device further include:
Judgment module 605, for according in second return value instruction connection disconnect parameter, judge the terminal with
Whether the connection between the server disconnects;
Module 606 is established, for re-establishing institute when determining that the connection between the terminal and the server disconnects
State the connection between terminal and server.
Wherein, described device further include:
Determining module 607, if the asynchronous read operations that are used to indicate for detecting that the operating system returns are completed
Four return values when, it is determined that the asynchronous read operations are completed.
Wherein, described device further include:
Module 608 is exited, if exiting the of threading operation for being used to indicate of detecting that the operating system returns
When five return values, then the worker thread is exited according to the 5th return value.
Wherein, described device further include:
Creation module 609 creates the event object exited for controlling thread, the event pair for the worker thread
The original state of elephant is unactivated state, so that triggering when the state of the event object is set state of activation by the application
Exit the event of thread.
The embodiment of the present invention initiates asynchronous read requests to operating system by worker thread, receives what operating system returned
After first return value, execute in addition to asynchronous read operations other operation, and according to operating system send notification message at
Reason server returns to the data of terminal.Other behaviour can not be executed by avoiding worker thread and being blocked during request data
The defect of work improves the efficiency of socket connection transmission data.Further, the period is realized according to the system API of calling
Property to server send heartbeat message, the process that real-time perfoming reconnects when socket disconnecting further improves
The working efficiency of socket connection.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of method for transmitting data, which is characterized in that the described method includes:
Worker thread initiates asynchronous read requests to the operating system of terminal, so that the operating system is returned receiving server
Back to the terminal data when store the data;Wherein, buffer zone address is carried in the asynchronous read requests and is returned
Adjust function address;The buffer zone address be the operating system after receiving and storing the data by the data conversion storage extremely
Used address when the buffer area of the corresponding application of the worker thread;The call back function address is to call the active line
Cheng Zhihang call back function handles used address when the data;
The worker thread receives the operating system and is used to indicate the detection behaviour according to what the asynchronous read requests returned
Make the first return value that system returns to message, whether is returned according to operating system described in the instruction real-time detection of first return value
Return message;
After the operating system, which stores the server, returns to the data of the terminal, if the worker thread detects
What the operating system returned is used to indicate the second return value of processing data, then is handled according to the instruction of second return value
The data of the return.
2. the method according to claim 1, wherein the instruction real-time detection according to first return value
After whether the operating system returns to message, the method also includes:
If detecting that the operating system returned is used to indicate the third return value for sending heartbeat message, according to described the
Three return values send heartbeat message to the server, to maintain presence of the terminal in the server.
3. the method according to claim 1, wherein if the worker thread detects that the operating system is returned
That returns is used to indicate after the second return value of processing data, the method also includes:
According to the parameter that instruction connection disconnects in second return value, the connection between the terminal and the server is judged
Whether disconnect;
When determining that the connection between the terminal and the server disconnects, re-establish between the terminal and server
Connection.
4. the method according to claim 1, wherein described according to the instruction of second return value processing
After the data of return, the method also includes:
If detect four return value for being used to indicate asynchronous read operations completion that the operating system returns, it is determined that
The asynchronous read operations are completed.
5. the method according to claim 1, wherein the instruction real-time detection according to first return value
After whether the operating system returns to message, the method also includes:
If when being used to indicate five return value for exiting threading operation of the operating system return is detected, according to
5th return value exits the worker thread.
6. according to the method described in claim 5, it is characterized in that, described detect being used to indicate for the operating system return
It exits before the 5th return value of threading operation, the method also includes:
The worker thread creates the event object exited for controlling thread, and the original state of the event object is un-activation
State, so as to exit the event of thread using triggering when setting state of activation for the state of the event object.
7. a kind of device for transmitting data, which is characterized in that described device includes:
Initiation module is requested, asynchronous read requests are initiated to the operating system of terminal for worker thread, so that the operation is
System stores the data when receiving server and returning to the data of the terminal;Wherein, it is taken in the asynchronous read requests
With buffer zone address and call back function address;The buffer zone address is that the operating system is receiving and storing the data
Used address when afterwards by the data conversion storage to the buffer area of the corresponding application of the worker thread;The call back function
Location is to call the worker thread to execute call back function to handle used address when the data;
Execution module receives the operating system for the worker thread and is used to refer to according to what the asynchronous read requests returned
Show and detect the first return value that the operating system returns to message, is grasped according to the instruction real-time detection of first return value
Make whether system returns to message;
First processing module, it is described for after the operating system stores the server and returns to the data of the terminal
If worker thread detects the second return value for being used to indicate processing data that the operating system returns, according to described the
The instruction of two return values handles the data of the return.
8. device according to claim 7, which is characterized in that described device further include:
Second processing module, if the third for being used to indicate transmission heartbeat message for detecting that the operating system returns is returned
Value is returned, then heartbeat message is sent to the server according to the third return value, to maintain the terminal in the server
In presence.
9. device according to claim 7, which is characterized in that described device further include:
Judgment module, for judging the terminal and the clothes according to the parameter that instruction connection disconnects in second return value
Whether the connection between business device disconnects;
Module is established, for re-establishing the terminal when determining that the connection between the terminal and the server disconnects
Connection between server.
10. device according to claim 7, which is characterized in that described device further include:
Determining module, if the 4th of asynchronous read operations completion returned for being used to indicate of detecting that the operating system returns
When returning value, it is determined that the asynchronous read operations are completed.
11. device according to claim 7, which is characterized in that described device further include:
Module is exited, if exiting the 5th return value of threading operation for being used to indicate of detecting that the operating system returns
When, then the worker thread is exited according to the 5th return value.
12. device according to claim 11, which is characterized in that described device further include:
Creation module creates the event object that exits for controlling thread for the worker thread, the event object just
Beginning state is unactivated state, so as to exit thread using triggering when setting state of activation for the state of the event object
Event.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310530769.XA CN104601523B (en) | 2013-10-31 | 2013-10-31 | A kind of method and device for transmitting data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310530769.XA CN104601523B (en) | 2013-10-31 | 2013-10-31 | A kind of method and device for transmitting data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104601523A CN104601523A (en) | 2015-05-06 |
CN104601523B true CN104601523B (en) | 2019-02-22 |
Family
ID=53127034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310530769.XA Active CN104601523B (en) | 2013-10-31 | 2013-10-31 | A kind of method and device for transmitting data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104601523B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657256A (en) * | 2016-10-27 | 2017-05-10 | 乐视控股(北京)有限公司 | Resource acquisition processing method and device |
CN107688502B (en) * | 2017-08-18 | 2021-04-06 | 苏州科达特种视讯有限公司 | Inter-process communication method and device |
CN107484010B (en) * | 2017-10-09 | 2020-03-17 | 武汉斗鱼网络科技有限公司 | Video resource decoding method and device |
CN108280020B (en) * | 2018-01-23 | 2021-09-14 | 广州视源电子科技股份有限公司 | Monitoring method and device of computer equipment, terminal and computer storage medium |
CN109918209B (en) * | 2019-01-28 | 2021-02-02 | 深兰科技(上海)有限公司 | Method and equipment for communication between threads |
CN112769824B (en) * | 2021-01-07 | 2023-03-07 | 深圳市大富网络技术有限公司 | Information transmission state updating method, terminal, device and storage medium |
CN113360302B (en) * | 2021-08-10 | 2021-10-29 | 成都市奇点软件有限公司 | Method and system for time-consuming operation cancellation and blocking asynchronous conversion |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196813A (en) * | 2007-12-26 | 2008-06-11 | 上海科泰世纪科技有限公司 | Method for implementing event call-back based on component interface in computer software system |
CN102222023A (en) * | 2010-04-15 | 2011-10-19 | 微软公司 | Asynchronous workflows |
CN102413133A (en) * | 2011-11-17 | 2012-04-11 | 曙光信息产业(北京)有限公司 | Client server transmission method with controllable time |
CN102567111A (en) * | 2011-12-23 | 2012-07-11 | 深圳市融创天下科技股份有限公司 | Method, system and terminal device capable of calling asynchronous procedure |
-
2013
- 2013-10-31 CN CN201310530769.XA patent/CN104601523B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196813A (en) * | 2007-12-26 | 2008-06-11 | 上海科泰世纪科技有限公司 | Method for implementing event call-back based on component interface in computer software system |
CN102222023A (en) * | 2010-04-15 | 2011-10-19 | 微软公司 | Asynchronous workflows |
US20110258594A1 (en) * | 2010-04-15 | 2011-10-20 | Microsoft Corporation | Asynchronous workflows |
CN102413133A (en) * | 2011-11-17 | 2012-04-11 | 曙光信息产业(北京)有限公司 | Client server transmission method with controllable time |
CN102567111A (en) * | 2011-12-23 | 2012-07-11 | 深圳市融创天下科技股份有限公司 | Method, system and terminal device capable of calling asynchronous procedure |
Also Published As
Publication number | Publication date |
---|---|
CN104601523A (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104601523B (en) | A kind of method and device for transmitting data | |
EP3075111B1 (en) | Method for providing a connection of a client to an unmanaged service in a client-server remote access system | |
US9921902B2 (en) | System and method for providing a watchdog timer to enable collection of crash data | |
JP2015228663A (en) | Context awareness proximity-based establishment of wireless communication connection | |
CN103139157B (en) | A kind of based on the network communication method of socket, Apparatus and system | |
US20150067146A1 (en) | Custom correlation of a distributed business transaction | |
RU2554570C2 (en) | Method and system for executing services on server and client of client-server architecture | |
CN103546917B (en) | Data transmission method and device | |
CN104597789B (en) | A kind of self-checking unit of charging pile, system and method | |
CN105874773A (en) | Task processing device, intelligent apparatus, task processing method and baseband processor | |
CN110321203B (en) | Background process false death processing method and client | |
CN107508916A (en) | Server link management method for intelligent robot | |
CN108063809B (en) | Machine equipment data acquisition method and acquisition system | |
CN104079634B (en) | A kind of method, equipment and the system at display device interface | |
US9628366B2 (en) | Methods, systems, and computer readable media for sustaining active control over concurrent session connections | |
CN116260747A (en) | Monitoring method and device of terminal test equipment and electronic equipment | |
CN108990025A (en) | A kind of method and device of Internet of Things Network Communication | |
CN113010285B (en) | Method, apparatus, device, medium, and article for processing data | |
KR20160036846A (en) | Method and Apparatus for Managing Channel Connect | |
CN110995530B (en) | Method and equipment for solving data one-way arrival problem | |
CN107682212A (en) | A kind of embedded device multiple-user network communication abnormality processing method | |
CN112671814B (en) | Cross-platform equipment development method, device and system | |
CN104185204B (en) | A kind of connection status inspection method and device | |
CN103220187B (en) | A kind of detection method of three layer interface states and device | |
CN102769604B (en) | Operation data processing method and processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |