CN112015559A - Asynchronous real-time data updating system and method based on http protocol - Google Patents

Asynchronous real-time data updating system and method based on http protocol Download PDF

Info

Publication number
CN112015559A
CN112015559A CN202010915341.7A CN202010915341A CN112015559A CN 112015559 A CN112015559 A CN 112015559A CN 202010915341 A CN202010915341 A CN 202010915341A CN 112015559 A CN112015559 A CN 112015559A
Authority
CN
China
Prior art keywords
asynchronous
thread
service
holder
module
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.)
Pending
Application number
CN202010915341.7A
Other languages
Chinese (zh)
Inventor
罗涛
陈军
李斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hongchuan Technology Co ltd
Original Assignee
Shenzhen Hongchuan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hongchuan Technology Co ltd filed Critical Shenzhen Hongchuan Technology Co ltd
Priority to CN202010915341.7A priority Critical patent/CN112015559A/en
Publication of CN112015559A publication Critical patent/CN112015559A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Abstract

The invention discloses an asynchronous real-time data updating system and method based on an http protocol, belonging to a data updating method, wherein the system comprises a connector module and an asynchronous module; the connector module is used for creating and destroying a main thread pool, taking out a thread from the main thread pool to establish connection when receiving an http request initiated by the connector, and then judging whether the thread is started asynchronously, the asynchronous module is used for creating and destroying a service thread pool, registering a monitor by an asynchronous holder, setting the timeout time of the asynchronous thread, and then releasing the connection thread to the main thread pool; a connection thread pool and a service thread pool are created through a connector module and an asynchronous module, so that when a system receives an http request initiated by a browser, an asynchronous holder calls a service thread to execute service logic processing of the request, and the connection thread does not need to be occupied for a long time; therefore, for a large number of time-consuming requests in the application of the Internet of things, the asynchronous processing is adopted to improve the system performance and improve the system processing capacity.

Description

Asynchronous real-time data updating system and method based on http protocol
Technical Field
The invention relates to a data updating method, in particular to an asynchronous real-time data updating system and method based on an http protocol.
Background
With the application of the Internet of things to the ground of various industries, a large amount of intelligent equipment generates a large amount of monitoring data at regular time. And a display layer of the Internet of things system displays real-time remote measurement values and statistical analysis data of various intelligent devices. At present, a large amount of applications exchange data based on an http protocol, one connection thread is occupied by one http request, if the request is time-consuming operation, the http connection thread is always occupied, and serious performance problems can be caused under large concurrent requests. Because the application of the Internet of things manages a large amount of intelligent equipment, remote measurement values of a large amount of equipment can be updated in real time, and a performance problem exists in a mode that one http request occupies one connection thread. In view of the foregoing problems, some solutions have been developed in the art, such as the HTTP asynchronous request method disclosed in the chinese patent with publication number CN108055311A, which includes receiving HTTP request information sent by a client; generating corresponding response result data according to the http request information, and adding the response result data into a response queue; and when receiving the data request information of the calling response result of the client, connecting and returning the response result data in the response queue to the client through the data request of the calling response result corresponding to the data request information of the calling response result within the preset time. In the scheme, a mode of buffering response data in a preset time through a queue is adopted, so that the problems of response result data loss and wrong throwing in the process of network disconnection and reconnection can be reduced, the problem that system connection thread resources are greatly occupied cannot be solved, and the problems of system abnormity, slowness and false death are caused, so that further research and improvement are needed for a real-time data updating mode in the internet of things.
Disclosure of Invention
The invention aims to provide an asynchronous real-time data updating system and method based on an http protocol, aiming at solving the technical problems that connection thread resources are easily occupied due to the fact that a large number of requests occur in the similar request method in the prior art, and therefore the system is abnormally slow and is falsely dead, so that the performance of the system is affected and the like.
In order to solve the technical problems, the invention adopts the following technical scheme:
the invention provides an asynchronous real-time data updating system based on an http protocol, which comprises a connector module and an asynchronous module; the connector module is used for creating and destroying a main thread pool, taking out a thread from the main thread pool to establish connection when receiving an http request initiated by a connector, judging whether the connection is asynchronous starting, if the judgment result is negative, returning data to a browser after the current request is processed, otherwise, creating an asynchronous holder to the asynchronous module, and the asynchronous holder holds the current request; the asynchronous module is used for creating and destroying a service thread pool, registering a monitor by an asynchronous holder, setting the timeout time of an asynchronous thread, and then releasing a connecting thread to the main thread pool; the asynchronous holder acquires and starts a service thread from the service thread pool, the service thread executes specific service logic, the service in the current request is processed within overtime, the listener is called back, then the service thread is released to the service thread pool, and the listener returns the service thread data to the browser; otherwise, the asynchronous holder forcibly ends the current service thread, releases the current service thread to the service thread pool, and the monitor returns abnormal data to the browser.
Preferably, the further technical scheme is as follows: the system also comprises a daemon module which is respectively connected with the connector module and the asynchronous module, and the daemon module is used for starting and stopping the system and creating and destroying the connector module and the asynchronous module.
The further technical scheme is as follows: the asynchronous owner first initializes before registering the listener and setting the asynchronous thread timeout time.
The further technical scheme is as follows: the connector module is used for simultaneously creating a plurality of asynchronous holders, each asynchronous holder acquires a service thread from the service thread pool, the service thread executes respective service logic, processes the service in respective requests, and respectively returns respective thread processing data or abnormal data to the browser by the monitor.
The further technical scheme is as follows: and after the listener returns thread processing data or abnormal data to the browser, the asynchronous holder cleans the held current request data and releases resources.
The invention also provides an asynchronous real-time data updating method based on the http protocol, which comprises the following steps:
step A, when a connector module receives an http request initiated by a connector, taking out a thread from a main thread pool to establish connection, then judging whether the connection is asynchronous starting, if not, returning data to a browser after the service processing in the current request is finished, otherwise, creating an asynchronous holder, and the asynchronous holder holds the current request;
step B, registering the listener by the asynchronous holder, setting the timeout time of the asynchronous thread, and then releasing the connection thread to the main thread pool;
step C, the asynchronous holder acquires and starts a service thread from the service thread pool, completes the processing of the current request within the timeout time, calls back the monitor, releases the service thread to the service thread pool, and returns the service thread data to the browser by the monitor; otherwise, the asynchronous holder forcibly ends the current service thread, releases the current service thread to the service thread pool, and the monitor returns abnormal data to the browser.
Preferably, the further technical scheme is as follows: the main thread pool in the step A is created and destroyed by a connection module; and the service thread pool in the step B is created and destroyed by an asynchronous module.
The further technical scheme is as follows: in step B, the asynchronous owner first initializes before registering the listener and setting the timeout time of the asynchronous thread.
The further technical scheme is as follows: and D, after the listener returns thread processing data or abnormal data to the browser, the asynchronous holder cleans the held current request data and releases resources.
The further technical scheme is as follows: in the step a, the connector module simultaneously creates a plurality of asynchronous holders, and each asynchronous holder respectively acquires a service thread from the service thread pool, and the service thread executes respective service logic, processes the service in respective request, and respectively returns respective thread processing data or abnormal data to the browser by the listener.
Compared with the prior art, the invention has the beneficial effects that: a connection thread pool and a service thread pool are created through a connector module and an asynchronous module, so that when a system receives an http request initiated by a browser, an asynchronous holder calls a service thread to execute service logic processing of the request, and the connection thread does not need to be occupied for a long time; therefore, one http request is asynchronously processed by the system on the server side, but is synchronous to the browser, so that a large number of time-consuming requests exist in the application of the Internet of things, the system performance is improved by adopting asynchronous processing, and the system processing capacity is improved.
Drawings
Fig. 1 is a schematic block diagram illustrating the structure of one embodiment of the present invention.
Fig. 2 is a flow diagram for explaining the implementation of another embodiment of the present invention.
Detailed Description
The invention is further elucidated with reference to the drawing.
In the invention, based on the problems existing in the current application system of the Internet of things, one http request occupies one connection thread, and each request is time-consuming operations such as IO read-write or other system data request. Such a large number of devices may have a large number of requests, resulting in a large number of occupied connection threads, an abnormally slow system, and a false death. If the occupation of time-consuming operation on the connection thread can be reduced, the processing capacity of the system can be greatly improved.
In view of the above, the inventor developed the software, which can be presented as an asynchronous real-time data updating system, and specifically, referring to fig. 1, an embodiment of the present invention is an http protocol-based asynchronous real-time data updating system, which includes a connector module and an asynchronous module, wherein:
the connector module is used for creating and destroying a main thread pool, when an http request initiated by the connector is received, taking out a thread from the main thread pool to establish connection, then judging whether the connection is asynchronous starting, if the judgment result is negative, returning data to the browser after the current request is processed, and if the judgment result is positive, namely the current request is an asynchronous request, creating an asynchronous holder AsyncHoler to the asynchronous module by the connector module, wherein the asynchronous holder holds the current request; the asynchronous holder AsyncHoler has the functions of registering a listener, acquiring a service thread to asynchronously execute a service logic and setting the timeout upper limit of the asynchronous thread;
the asynchronous module is used for creating and destroying a service thread pool, after an asynchronous holder is initialized, the asynchronous holder has request/response, registers a monitor, sets the timeout time of the asynchronous thread, and then releases a connection thread to the main thread pool, and at this time, the connection thread in the main thread pool is not occupied any more; the asynchronous holder acquires and starts a service thread from the service thread pool, the service thread executes specific service logic, the service in the current request is processed within timeout time, the listener is called back, then the service thread is released to the service thread pool, and the listener returns the service thread data to the browser; if the processing is not completed within the overtime, the asynchronous holder forcibly ends the current service thread, releases the current service thread to the service thread pool, and the monitor returns abnormal data to the browser, so that the browser can resend an http request attempt to avoid the system from being jammed, and the processing capacity of the system is improved. As shown in fig. 2, the connection thread in the main thread pool and the business thread in the business thread pool can be recycled.
Based on the above, in order to control the start and stop of the system, a daemon module is further added in the system, the daemon module is respectively connected to the connector module and the asynchronous module, and the daemon module is used for starting and stopping the system and creating and destroying the connector module and the asynchronous module.
In this embodiment, one http request corresponds to one connection thread, the connection thread does not perform specific service processing but is handed over to the specific service thread for processing, and the connection thread is released immediately; and returning the data after the business thread is processed. Therefore, in the service processing process in the request, the connection thread is not occupied, and the service processing is completed within the timeout time upper limit.
A connection thread pool and a service thread pool are established through the connector module and the asynchronous module, so that when the system receives an http request initiated by a browser, an asynchronous holder calls a service thread to execute service logic processing of the request, and the connection thread does not need to be occupied for a long time; therefore, one http request is asynchronously processed by the system on the server side, but is synchronous to the browser, so that a large amount of time-consuming requests exist in the application of the Internet of things, the system performance is improved by adopting asynchronous processing, and the system processing capacity is improved.
Further, it has been mentioned above that, when the system is used, one http request corresponds to one connection thread, so in a typical application example of the above embodiment, there may be multiple http requests respectively corresponding to multiple connection threads, and in this case, based on the same idea, multiple asynchronous holders are created simultaneously by the connector module, and each asynchronous holder respectively obtains a service thread from the service thread pool, executes respective service logic by the service thread, processes the service in the respective request, and after the processing is completed, respectively returns the respective thread processing data to the browser by the monitor; and if the processing exceeds the timeout upper limit, the monitor returns the abnormal data to the browser to wait for the next attempt. And meanwhile, after the listener returns thread processing data or abnormal data to the browser, the asynchronous holder cleans the held current request data and releases resources.
One of the greatest improvements of the invention is that the created service thread pool is utilized, and when the asynchronous holder calls the service thread to process the held request according to the service logic, the connection thread is not occupied, so that the system resources are not consumed and occupied, and the server side can receive http requests of more corresponding browsers. Namely, in another embodiment of the invention, an asynchronous real-time data updating method based on the http protocol is provided.
Referring specifically to fig. 2, the method of the present embodiment includes, and is preferably performed according to, the following steps:
step S1, when the connector module receives the http request initiated by the connector, a thread is taken out from the main thread pool to establish connection, then whether asynchronous starting is carried out is judged, if the judgment result is negative, data is returned to the browser after the business processing in the current request is finished, otherwise, an asynchronous holder is created, and the asynchronous holder holds the current request; the main thread pool called in the step is created and destroyed by a connection module;
step S2, after the asynchronous holder completes initialization, the listener is registered, the timeout time of the asynchronous thread is set, and then the connection thread is released to the main thread pool; the service thread pool called in the step is created and destroyed by an asynchronous module;
step S3, the asynchronous holder obtains the service thread from the service thread pool and starts, and completes the processing of the current request within the overtime, calls back the monitor, then releases the service thread to the service thread pool, and the monitor returns the service thread data to the browser; otherwise, the asynchronous holder forcibly finishes the current service thread, releases the current service thread to the service thread pool, and the monitor returns abnormal data to the browser;
in the method of the present embodiment, the following steps can be performed
And step S4, after the listener returns thread processing data or abnormal data to the browser, the asynchronous holder cleans the held current request data and releases resources.
In step S1, the connector module creates multiple asynchronous holders at the same time, and each asynchronous holder obtains a service thread from the service thread pool, executes its service logic by the service thread, processes the service in its request, and returns its thread processing data or exception data to the browser by the listener.
In addition to the foregoing, it should be noted that reference throughout this specification to "one embodiment," "another embodiment," "an embodiment," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment described generally throughout this application. The appearances of the same phrase in various places in the specification are not necessarily all referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with any embodiment, it is submitted that it is within the scope of the invention to effect such feature, structure, or characteristic in connection with other embodiments.
Although the invention has been described herein with reference to a number of illustrative embodiments thereof, it should be understood that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure. More specifically, various variations and modifications are possible in the component parts and/or arrangements of the subject combination arrangement within the scope of the disclosure, the drawings and the appended claims. In addition to variations and modifications in the component parts and/or arrangements, other uses will also be apparent to those skilled in the art.

Claims (10)

1. An asynchronous real-time data updating system based on an http protocol is characterized in that: the system comprises a connector module and an asynchronous module;
the connector module is used for creating and destroying a main thread pool, taking out a thread from the main thread pool to establish connection when receiving an http request initiated by a connector, judging whether the connection is asynchronous starting, if the judgment result is negative, returning data to a browser after the current request is processed, otherwise, creating an asynchronous holder to the asynchronous module, and the asynchronous holder holds the current request;
the asynchronous module is used for creating and destroying a service thread pool, registering a monitor by an asynchronous holder, setting the timeout time of an asynchronous thread, and then releasing a connecting thread to the main thread pool;
the asynchronous holder acquires and starts a service thread from the service thread pool, the service thread executes specific service logic, the service in the current request is processed within overtime, the listener is called back, then the service thread is released to the service thread pool, and the listener returns the service thread data to the browser; otherwise, the asynchronous holder forcibly ends the current service thread, releases the current service thread to the service thread pool, and the monitor returns abnormal data to the browser.
2. The http protocol-based asynchronous real-time data update system of claim 1, wherein: the system also comprises a daemon module which is respectively connected with the connector module and the asynchronous module, and the daemon module is used for starting and stopping the system and creating and destroying the connector module and the asynchronous module.
3. The http protocol-based asynchronous real-time data update system of claim 1, wherein: the asynchronous owner first initializes before registering the listener and setting the asynchronous thread timeout time.
4. The http protocol-based asynchronous real-time data update system of claim 1, wherein: the connector module is used for simultaneously creating a plurality of asynchronous holders, each asynchronous holder acquires a service thread from the service thread pool, the service thread executes respective service logic, processes the service in respective requests, and respectively returns respective thread processing data or abnormal data to the browser by the monitor.
5. Asynchronous real-time data update system based on the http protocol according to claim 1 or 4, characterized in that: and after the listener returns thread processing data or abnormal data to the browser, the asynchronous holder clears the held current request and releases resources.
6. An asynchronous real-time data updating method based on an http protocol is characterized by comprising the following steps:
step A, when a connector module receives an http request initiated by a connector, taking out a thread from a main thread pool to establish connection, then judging whether the connection is asynchronous starting, if not, returning data to a browser after the service processing in the current request is finished, otherwise, creating an asynchronous holder, and the asynchronous holder holds the current request;
step B, registering the listener by the asynchronous holder, setting the timeout time of the asynchronous thread, and then releasing the connection thread to the main thread pool;
step C, the asynchronous holder acquires and starts a service thread from the service thread pool, completes the processing of the current request within the timeout time, calls back the monitor, releases the service thread to the service thread pool, and returns the service thread data to the browser by the monitor; otherwise, the asynchronous holder forcibly ends the current service thread, releases the current service thread to the service thread pool, and the monitor returns abnormal data to the browser.
7. The asynchronous real-time data updating method based on the http protocol as recited in claim 6, wherein: the main thread pool in the step A is created and destroyed by a connection module; and the service thread pool in the step B is created and destroyed by an asynchronous module.
8. The asynchronous real-time data updating method based on the http protocol as recited in claim 6, wherein: in step B, the asynchronous owner first initializes before registering the listener and setting the timeout time of the asynchronous thread.
9. The asynchronous real-time data updating method based on the http protocol as recited in claim 6, wherein: and D, after the listener returns thread processing data or abnormal data to the browser, the asynchronous holder cleans the held current request data and releases resources.
10. The asynchronous real-time data updating method based on the http protocol as recited in claim 6, wherein: in the step a, the connector module simultaneously creates a plurality of asynchronous holders, and each asynchronous holder respectively acquires a service thread from the service thread pool, and the service thread executes respective service logic, processes the service in respective request, and respectively returns respective thread processing data or abnormal data to the browser by the listener.
CN202010915341.7A 2020-09-03 2020-09-03 Asynchronous real-time data updating system and method based on http protocol Pending CN112015559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010915341.7A CN112015559A (en) 2020-09-03 2020-09-03 Asynchronous real-time data updating system and method based on http protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010915341.7A CN112015559A (en) 2020-09-03 2020-09-03 Asynchronous real-time data updating system and method based on http protocol

Publications (1)

Publication Number Publication Date
CN112015559A true CN112015559A (en) 2020-12-01

Family

ID=73517153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010915341.7A Pending CN112015559A (en) 2020-09-03 2020-09-03 Asynchronous real-time data updating system and method based on http protocol

Country Status (1)

Country Link
CN (1) CN112015559A (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6412018B1 (en) * 1998-08-19 2002-06-25 International Business Machines Corporation System for handling asynchronous message packet in a multi-node threaded computing environment
US20030097455A1 (en) * 2001-11-21 2003-05-22 International Business Machines Corporation Method for continuous I/O request processing in an asynchronous environment
CN101599027A (en) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 A kind of thread pool management method and system thereof
CN103530172A (en) * 2012-07-03 2014-01-22 上海宝信软件股份有限公司 Simple and efficient socket communication framework based on nio
CN104793999A (en) * 2014-01-21 2015-07-22 航天信息股份有限公司 Servo server framework system
JP2017033095A (en) * 2015-07-29 2017-02-09 エヌ・ティ・ティ・コムウェア株式会社 Information processing system, information processing method, program, and information processing device
CN106506389A (en) * 2016-10-19 2017-03-15 广州华多网络科技有限公司 Network request asynchronous processing method and device
CN106685937A (en) * 2016-12-16 2017-05-17 华数传媒网络有限公司 Custom Internet TV http protocol method based on Netty encapsulation
CN106997307A (en) * 2017-02-13 2017-08-01 上海大学 A kind of Socket thread pool design methods towards multiple terminals radio communication
CN107038645A (en) * 2016-12-21 2017-08-11 阿里巴巴集团控股有限公司 Method for processing business, apparatus and system and server
CN108183871A (en) * 2017-11-23 2018-06-19 北京三快在线科技有限公司 A kind of virtual switch, virtual switch start method, electronic equipment
CN108243222A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 Server network architecture method and device
CN109727595A (en) * 2018-12-29 2019-05-07 神思电子技术股份有限公司 A kind of software design approach of speech recognition server
CN110781018A (en) * 2019-10-28 2020-02-11 深圳市思迪信息技术股份有限公司 Method and device for isolating, limiting current and preventing avalanche of distributed system service assembly
CN111343239A (en) * 2020-02-10 2020-06-26 中国银联股份有限公司 Communication request processing method, communication request processing device and transaction system
CN111352715A (en) * 2020-03-03 2020-06-30 浪潮通用软件有限公司 Method, system, terminal and storage medium for destroying flash thread
CN111427751A (en) * 2020-04-15 2020-07-17 赞同科技股份有限公司 Method and system for processing service based on asynchronous processing mechanism

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6412018B1 (en) * 1998-08-19 2002-06-25 International Business Machines Corporation System for handling asynchronous message packet in a multi-node threaded computing environment
US20030097455A1 (en) * 2001-11-21 2003-05-22 International Business Machines Corporation Method for continuous I/O request processing in an asynchronous environment
CN101599027A (en) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 A kind of thread pool management method and system thereof
CN103530172A (en) * 2012-07-03 2014-01-22 上海宝信软件股份有限公司 Simple and efficient socket communication framework based on nio
CN104793999A (en) * 2014-01-21 2015-07-22 航天信息股份有限公司 Servo server framework system
JP2017033095A (en) * 2015-07-29 2017-02-09 エヌ・ティ・ティ・コムウェア株式会社 Information processing system, information processing method, program, and information processing device
CN106506389A (en) * 2016-10-19 2017-03-15 广州华多网络科技有限公司 Network request asynchronous processing method and device
CN106685937A (en) * 2016-12-16 2017-05-17 华数传媒网络有限公司 Custom Internet TV http protocol method based on Netty encapsulation
CN107038645A (en) * 2016-12-21 2017-08-11 阿里巴巴集团控股有限公司 Method for processing business, apparatus and system and server
CN108243222A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 Server network architecture method and device
CN106997307A (en) * 2017-02-13 2017-08-01 上海大学 A kind of Socket thread pool design methods towards multiple terminals radio communication
CN108183871A (en) * 2017-11-23 2018-06-19 北京三快在线科技有限公司 A kind of virtual switch, virtual switch start method, electronic equipment
CN109727595A (en) * 2018-12-29 2019-05-07 神思电子技术股份有限公司 A kind of software design approach of speech recognition server
CN110781018A (en) * 2019-10-28 2020-02-11 深圳市思迪信息技术股份有限公司 Method and device for isolating, limiting current and preventing avalanche of distributed system service assembly
CN111343239A (en) * 2020-02-10 2020-06-26 中国银联股份有限公司 Communication request processing method, communication request processing device and transaction system
CN111352715A (en) * 2020-03-03 2020-06-30 浪潮通用软件有限公司 Method, system, terminal and storage medium for destroying flash thread
CN111427751A (en) * 2020-04-15 2020-07-17 赞同科技股份有限公司 Method and system for processing service based on asynchronous processing mechanism

Similar Documents

Publication Publication Date Title
US6988140B2 (en) Mechanism for servicing connections by disassociating processing resources from idle connections and monitoring the idle connections for activity
US9015315B2 (en) Identification and monitoring of distributed business transactions
US9537786B2 (en) Method, device, and system for information processing based on distributed buses
CN108449239B (en) Heartbeat packet detection method, device, equipment and storage medium
US20030200329A1 (en) Polling-based mechanism for improved RPC timeout handling
CN108055311B (en) HTTP asynchronous request method, device, server, terminal and storage medium
CN114237937A (en) Multithreading data transmission method and device
US20030158883A1 (en) Message processing
CN110555019A (en) Data cleaning method based on service end
CN106547566B (en) Communications service process pool management method and system
CN105373563B (en) Database switching method and device
CN112380028A (en) Asynchronous non-blocking response type message processing method
CN110727523B (en) Service request processing method, service request processing device and readable storage medium
CN111651320A (en) High-concurrency connection method and system
CN108429703B (en) DHCP client-side online method and device
CN112953769B (en) Data transmission method, device, computer system and readable storage medium
CN112068963B (en) Distributed scheduling system of embedded system
CN112015559A (en) Asynchronous real-time data updating system and method based on http protocol
CN110413398B (en) Task scheduling method and device, computer equipment and storage medium
CN112448977A (en) System, method, apparatus and computer readable medium for assigning tasks
CN113590252B (en) Information pushing method and device, electronic equipment and storage medium
CN112379952B (en) Method for implementing cross-process callback
US7089265B1 (en) Database management system for implementing independent database actions in response to events of interest
CN115525411A (en) Method, device, electronic equipment and computer readable medium for processing service request
CN115037606B (en) Network data acquisition method and terminal

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