CN108306926B - Method and device for pushing gateway service data of Internet of vehicles equipment - Google Patents

Method and device for pushing gateway service data of Internet of vehicles equipment Download PDF

Info

Publication number
CN108306926B
CN108306926B CN201711238132.8A CN201711238132A CN108306926B CN 108306926 B CN108306926 B CN 108306926B CN 201711238132 A CN201711238132 A CN 201711238132A CN 108306926 B CN108306926 B CN 108306926B
Authority
CN
China
Prior art keywords
data receiving
thread
data
service data
receiving 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
Application number
CN201711238132.8A
Other languages
Chinese (zh)
Other versions
CN108306926A (en
Inventor
赵芳明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Klclear Technology Co ltd
Original Assignee
Shenzhen Klclear 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 Klclear Technology Co ltd filed Critical Shenzhen Klclear Technology Co ltd
Priority to CN201711238132.8A priority Critical patent/CN108306926B/en
Publication of CN108306926A publication Critical patent/CN108306926A/en
Application granted granted Critical
Publication of CN108306926B publication Critical patent/CN108306926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention provides a method and a device for pushing gateway service data of Internet of vehicles, wherein the method comprises the following steps: establishing a link between the Internet of vehicles equipment and the data receiving thread; receiving service data sent by the Internet of vehicles equipment by adopting the data receiving thread group; sending the service data to the data pushing thread group through the double cache group module; the data pushing thread group is adopted to push the service data to the distributed publishing and subscribing message system, so that the phenomenon that a data receiving thread group is surprised when a vehicle network device is connected to a gateway to establish a link is avoided, further, the phenomenon that the whole process is influenced when a certain link is delayed and jittered in the process of connecting the vehicle networking device to the gateway is avoided, further, the data exchange between the thread groups is avoided by using a lock, the process processing speed is accelerated, the processing speed of a single gateway is improved, and the manufacturing cost of the vehicle networking is reduced.

Description

Method and device for pushing gateway service data of Internet of vehicles equipment
Technical Field
The invention relates to the technical field of data transmission, in particular to a pushing method and a pushing device for gateway service data of Internet of vehicles equipment.
Background
The Internet of Vehicles (Internet of Vehicles) is a huge interactive network consisting of information such as vehicle position, speed, and route. The vehicle can complete the collection of self environment and state information through devices such as a GPS, an RFID, a sensor, a camera image processing device and the like; through the internet technology, all vehicles can transmit and gather various information of the vehicles to the central processing unit; through computer technology, the information of a large number of vehicles can be analyzed and processed, so that the optimal routes of different vehicles can be calculated, road conditions can be reported in time, and signal lamp periods can be arranged.
With the rapid development of the car networking, when a large number of car networking devices access a gateway, a great deal of pressure is applied to the gateway, because the gateway processing flow generally receives and analyzes data sent by the car networking devices first, and then forwards the data to a distributed publishing and subscribing message system, if a single thread is adopted to complete the whole data transmission flow, the processing speed of the whole data transmission flow is affected when any one link is delayed, and when a large number of terminal devices access the gateway, although the access pressure of a single gateway can be dispersed by using the LVS to perform horizontal expansion on the gateway to disperse the access pressure of the single gateway, if the processing speed of the single gateway is not improved, the number of clusters cannot be reduced, and finally the cost of the car networking is very high.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a method for pushing gateway service data of an internet of vehicles and a corresponding device for pushing gateway service data of an internet of vehicles, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for pushing gateway service data of an internet of vehicles device, where the gateway includes a data receiving thread group, a data pushing thread group, and a dual-cache group module, the gateway has a distributed publish-subscribe message system connected to the gateway, the data receiving thread group includes a data receiving thread, and the method includes:
establishing a link between the Internet of vehicles equipment and the data receiving thread;
receiving service data sent by the Internet of vehicles equipment by adopting the data receiving thread group;
sending the service data to the data pushing thread group through the double cache group module;
and pushing the service data to the distributed publishing and subscribing message system by adopting the data pushing thread group.
Preferably, the data receiving thread has a thread connection number for displaying the number of the internet of vehicles devices with which a link has been currently established, and a contention lock, and the step of establishing a link between an internet of vehicles device and the data receiving thread includes:
monitoring the thread connection number and judging whether the thread connection number is larger than a preset threshold value or not;
if yes, continuing to receive the service data sent by the vehicle networking equipment which is linked with the data receiving thread at present, and refusing to receive the service data sent by the vehicle networking equipment which is not linked with the data receiving thread;
if not, establishing a link between the Internet of vehicles equipment and the data receiving thread through the competition lock, and storing the link in the data receiving thread.
Preferably, the car networking device has a socket listenfd, and the step of rejecting to receive the service data sent by the car networking device which is not linked with the data receiving thread comprises:
monitoring the socket listenfd and judging whether the socket listenfd exists in a multiplex interface EPOLL of the data receiving thread group;
if so, removing the data receiving thread group from a multiplex interface EPOLL of the data receiving thread group, marking a flag bit holdID of the socket listenfd, and returning to the step of judging whether the thread connection number is greater than a preset threshold value;
if not, returning to the step of judging whether the thread connection number is larger than a preset threshold value.
Preferably, the step of establishing a link between the car networking device and the data receiving thread through the competitive lock, and saving the link in the data receiving thread includes:
adopting the competition lock to lock the current Internet of vehicles equipment linked with the data receiving thread, and judging whether the locking is successful;
if not, returning to the step of judging whether the thread connection number is larger than a preset threshold value;
if so, acquiring a zone bit threshold value of a socket listenfd of the vehicle networking equipment which is linked with the data receiving thread currently;
judging whether the value of a flag bit holdID of a socket listenfd of the vehicle-to-vehicle networking equipment which is currently linked with the data receiving thread is greater than-1;
if so, unlocking the current Internet of vehicles equipment linked with the data receiving thread, and returning to the step of judging whether the thread connection number is greater than a preset threshold value;
if not, marking the flag bit holdID of the socket listenfd of the vehicle networking equipment which is currently linked with the data receiving thread, unlocking the vehicle networking equipment which is currently linked with the data receiving thread after marking is finished, and returning to the step of judging whether the thread connection number is greater than a preset threshold value.
Preferably, the double-cache module includes a first cache region and a second cache region, and the step of sending the service data to the data push thread group through the double-cache module includes:
when the service data are written into the first cache region by adopting the data receiving thread group, judging whether the service data to be sent exist in the second cache region;
if so, sending the service data to be sent in the second cache region to the data pushing thread group, and emptying the service data to be sent in the second cache region after the sending is finished;
and if not, adopting the second cache region to write the data service when the data service is written next time.
On the other hand, the embodiment of the invention discloses a pushing device for gateway service data of car networking equipment, which is characterized in that the gateway comprises a data receiving thread group, a data pushing thread group and a double-cache module, the gateway is provided with a distributed publishing and subscribing message system connected with the gateway, the data receiving thread group comprises a data receiving thread, and the device comprises:
the link establishing module is used for establishing a link between the Internet of vehicles equipment and the data receiving thread;
the service data receiving module is used for receiving the service data sent by the Internet of vehicles equipment by adopting the data receiving thread group;
the service data sending module is used for sending the service data to the data pushing thread group through the double-cache group module;
and the service data pushing module is used for pushing the service data to the distributed publishing and subscribing message system by adopting the data pushing thread group.
Preferably, the data receiving thread has a thread connection number for displaying the number of the car networking devices with which a link has been currently established, and a contention lock, and the link establishing module includes:
the threshold value judging submodule is used for monitoring the thread connection number and judging whether the thread connection number is greater than a preset threshold value; if yes, calling a service data receiving submodule; if not, calling the car networking equipment locking submodule;
the service data receiving submodule is used for continuously receiving the service data sent by the vehicle networking equipment which is currently linked with the data receiving thread and refusing to receive the service data sent by the vehicle networking equipment which is not linked with the data receiving thread;
and the vehicle networking equipment locking submodule is used for establishing a link between the vehicle networking equipment and the data receiving thread through the competition lock and storing the link in the data receiving thread.
Preferably, the car networking device has a socket listenfd, and the service data receiving submodule includes:
a socket monitoring unit, configured to monitor the socket listenfd and determine whether the socket listenfd exists in the EPOLL of the multiplexing interface of the data receiving thread group; if yes, calling a socket removal unit; if not, calling a first return unit;
a socket removing unit, configured to remove the socket from the EPOLL of the data receiving thread group, mark a flag bit holdID of the socket listenfd, and return to the step of determining whether the thread connection number is greater than a preset threshold;
and the first returning unit is used for returning to the step of judging whether the thread connection number is greater than a preset threshold value.
Preferably, the car networking device locking sub-module comprises:
the vehicle networking equipment locking unit is used for locking the vehicle networking equipment which is currently linked with the data receiving thread by adopting the competition lock and judging whether the locking is successful; if not, calling a second return unit; if yes, calling a socket acquisition unit;
a second returning unit, configured to return to the step of determining whether the thread connection number is greater than a preset threshold;
the socket acquisition unit is used for acquiring a zone bit threshold value of a socket listenfd of the vehicle networking equipment which is currently linked with the data receiving thread;
the socket judgment unit is used for judging whether the value of a flag bit holdID of a socket listenfd of the vehicle-to-vehicle networking equipment which is currently linked with the data receiving thread is greater than-1; if yes, calling an unlocking unit; if not, calling a socket marking unit;
the unlocking unit is used for unlocking the current Internet of vehicles equipment linked with the data receiving thread and returning to the step of judging whether the thread connection number is greater than a preset threshold value;
and the socket marking unit is used for marking a flag bit holdID of a socket listenfd of the vehicle networking equipment which is currently linked with the data receiving thread, unlocking the vehicle networking equipment which is currently linked with the data receiving thread after marking is finished, and returning to the step of judging whether the thread connection number is greater than a preset threshold value.
Preferably, the double-buffer module includes a first buffer area and a second buffer area, and the service data sending module includes:
a to-be-sent service data judgment submodule, configured to judge whether to-be-sent service data exists in the second cache region when the data receiving thread group is used to write the service data into the first cache region; if yes, calling a service data sending submodule to be sent; if not, calling a data service writing submodule;
the to-be-sent service data sending submodule is used for sending the to-be-sent service data in the second cache region to the data pushing thread group and clearing the to-be-sent service data in the second cache region after the sending is finished;
and the data service writing submodule is used for writing the data service by adopting the second cache region when the data service is written next time.
The embodiment of the invention has the following advantages:
the embodiment of the invention divides the gateway into two modules of a data receiving thread group and a data pushing thread group, establishes the link between the vehicle networking equipment and the data receiving thread in a load balancing mode, adopts the data receiving thread group to receive the service data sent by the vehicle networking equipment, sends the service data to the data pushing thread group through the double-cache module, and finally pushes the service data to the downstream distributed publishing and subscribing message system through the data pushing thread group, thereby avoiding the occurrence of group surprise of the data receiving thread group when the vehicle networking equipment establishes the link when accessing the gateway, further avoiding the occurrence of the influence on the whole flow processing when a certain link has delay jitter in the process of accessing the vehicle networking equipment to the gateway, further avoiding the use of locks between the thread groups to realize data exchange and quicken the flow processing speed, and further, the processing speed of a single gateway is improved, and the manufacturing cost of the Internet of vehicles is reduced.
Drawings
FIG. 1 is a flowchart illustrating steps of an embodiment of a method for pushing gateway service data of a vehicle networking device according to the present invention;
FIG. 2 is a flowchart of exemplary steps for implementing an embodiment of the present invention;
FIG. 3 is a flowchart of exemplary steps for another application of an embodiment of the present invention;
fig. 4 is a block diagram of an embodiment of a device for pushing gateway service data of an internet of vehicles according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core ideas of the embodiment of the invention is to introduce the pipelining processing, divide the working thread of the gateway into a data receiving thread group and a data pushing thread group to avoid the influence on the processing capacity of the gateway due to short time delay, avoid the influence on the whole process processing due to delay jitter of a certain link by pipelining the service, and use a double-cache technology to avoid the use of locks among thread groups to realize data exchange, thereby accelerating the process processing speed, and simultaneously, carry out load balancing on the car networking equipment when accessing the gateway to avoid the occurrence of group frightening phenomenon, and make the connection number received by each thread approximately equal to realize the load balancing among the threads, thereby improving the processing speed of a single gateway and further reducing the manufacturing cost of the car networking.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for pushing gateway service data of a vehicle networking device of the present invention is shown, which may specifically include the following steps:
step 101, establishing a link between the Internet of vehicles equipment and the data receiving thread;
in practical applications, the embodiments of the present invention may be applied to mobile terminals, such as mobile phones, tablet computers, personal digital assistants, wearable devices (e.g., wristbands, glasses, watches, etc.), and the like.
In a specific implementation, the gateway according to an embodiment of the present invention may include a data receiving thread group and a data pushing thread group, and the gateway may have a thread connection number for displaying the number of the car networking devices that have currently established a link with the gateway, and the new data receiving thread group may include a plurality of data receiving threads.
Generally, when the car networking device accesses the gateway, because all threads IN the ReadThread group of the data receiving thread group have EPOLL _ IN event processing for the listening socket, when a new car networking device accesses, all threads IN the ReadThread group of the data receiving thread group will be woken up, but IN fact, only one thread will successfully receive the car networking device, so that other threads are woken up due to failed reception, which results IN a frightening group phenomenon IN the ReadThread group of the data receiving thread group, and IN addition, because the number of thread connections between the threads IN the ReadThread group of the data receiving thread group is far, some threads are overloaded, and the others are idle, which results IN resource waste.
In a preferred embodiment of the present invention, the link between the car networking device and the data receiving thread may be established by:
monitoring the thread connection number and judging whether the thread connection number is greater than a preset threshold value; if yes, continuing to receive the service data sent by the vehicle networking equipment which is currently linked with the data receiving thread, and refusing to receive the service data sent by the vehicle networking equipment which is not linked with the data receiving thread; if not, establishing the link between the vehicle networking equipment and the data receiving thread through the competition lock, and storing the link in the data receiving thread.
In practical applications, the threshold of the embodiment of the present invention may be set to 20% of the average connection number of the ReadThread group of the data receiving threads.
In a specific implementation, if the number of connections of the current thread is greater than 20% of the average number of connections of the ReadThread group of the data receiving thread group, the thread does not accept new connections any more, and at this time, data sent by the sockets listenfd that have been connected and managed by the thread are still managed by the thread, that is, the new connections are rejected in the case of overload, the existing connections continue to be managed by the thread, and if the number of connections of the current thread is less than 20% of the average number of connections of the ReadThread group of the data receiving thread group, the link between the car networking device and the gateway can be saved in the data receiving thread group by locking the car networking device that has currently established a link with the gateway.
In a more preferred embodiment of the present invention, the service data sent by the car networking device which does not establish a link with the data receiving thread may be rejected as follows:
monitoring the socket listenfd and judging whether the socket listenfd exists in a multiplex interface EPOLL of the data receiving thread group; if so, removing the data receiving thread group from the EPOLL of the multiplexing interface of the data receiving thread group, marking a flag bit holdID of the socket listenfd, and returning to the step of judging whether the thread connection number is greater than a preset threshold value; if not, returning to the step of judging whether the thread connection number is larger than the preset threshold value.
In practical application, if the connection number of the current thread is more than 20% of the average connection number of the ReadThread group of the data receiving thread group, if the socket listenfd of the vehicle networking device is monitored to exist in the EPOLL of the local thread, the socket listenfd is removed, the flag bit holdID of the socket listenfd is set to be-1, and if the flag bit is not-1, the step of judging whether the connection number of the thread is more than the preset threshold is returned.
In another more preferred embodiment of the present invention, the link between the car networking device and the data receiving thread may be established through the contention lock and saved in the data receiving thread as follows:
adopting the competition lock to lock the current Internet of vehicles equipment linked with the data receiving thread, and judging whether the locking is successful; if not, returning to the step of judging whether the thread connection number is larger than a preset threshold value; if so, acquiring a zone bit threshold value of a socket listenfd of the vehicle networking equipment which is linked with the data receiving thread currently; judging whether the value of a flag bit holdID of a socket listenfd of the vehicle networking equipment which is linked with the data receiving thread currently is larger than-1; if so, unlocking the current Internet of vehicles equipment linked with the data receiving thread, and returning to the step of judging whether the thread connection number is greater than a preset threshold value; if not, marking a flag bit holdID of a socket listenfd of the vehicle networking equipment which is currently linked with the data receiving thread, unlocking the vehicle networking equipment which is currently linked with the data receiving thread after marking is finished, and returning to the step of judging whether the thread connection number is greater than a preset threshold value after unlocking the vehicle networking equipment which is currently linked with the data receiving thread.
In a specific implementation, if the connection number of the current thread is less than 20% of the average connection number of the ReadThread group of the data receiving thread group, in a first step, the thread first attempts to lock the accept mutex command accept _ mutex of the vehicle networking device, if the locking fails, it indicates that another thread has added the socket listenfd of the vehicle networking device to the multiplex interface EPOLL of the another thread, the thread returns to the step of determining whether the number of thread connections is greater than a preset threshold, and attempts to lock the accept mutex command accept _ mutex when next load balancing load balance is executed, if the locking succeeds, it is determined whether the threshold did not exceed-1, if the number of thread connections is greater than-1, it indicates that the socket listenfd of the vehicle networking device is already in the EPOLL of the another thread at this time, the lock is released and the step of determining whether the number of thread connections is greater than the preset threshold is returned, if the value is less than-1, the socket listenfd of the vehicle networking equipment is not in the EPOLL of other threads at the moment, at this moment, the vehicle networking equipment socket listenfd can be added into the EPOLL of the thread, the holdID is set as the ID of the thread, and after the setting of the holdID of the vehicle networking equipment is completed, the lock is released and the step of judging whether the thread connection number is greater than the preset threshold value is returned, namely, the new link is received by which thread in which multiplexing interface EPOLL of which thread the socket listenfd of the vehicle networking equipment is.
In practical application, the multiplexing interface EPOLL of the embodiment of the present invention may be a poll in which a Linux kernel is modified to process a large number of file descriptors, and is an enhanced version of a multiplexing IO interface select/poll in Linux.
In order to better understand the present invention for those skilled in the art, the following provides a specific reference example of the embodiment of the present invention:
if there are 4 readthreadable threads in a read thread group to handle the access of the device and data reception, 1 array variable szConn with global INT type length of 4 is applied to store the current connection number of each thread, readthreadable 0 writes szConn [0], readthreadable 3 writes szConn [3], and the sum of the four unit data of szConn is the total connection number of the current gateway, which is recorded as sum (szConn). Then, a global variable holdID of INT type of vollatile is applied for recording the thread ID of the multiplex interface EPOLL to which the socket listenfd is currently added.
As shown in fig. 2, readstem periodically executes load balance and doWork operations on the thread through a while loop, where load balance is a function designed to avoid a frightened group phenomenon, doWork is used to process operations such as access, exit, data unpacking, data pushing to double buffering, and the like of the device, and the number of connections of the current thread when the device is accessed is increased by 1, and the number of connections of the current thread when the device is exited is decreased by 1.
As shown in fig. 3, in the process of establishing a link between the car networking device and the gateway, load balancing of the data receiving thread group may be implemented through the following procedures:
and judging whether the connection number of the thread is greater than a preset threshold value, if so, executing a first flow, and if so, executing a second flow. The threshold is defined as exceeding 20% of the average number of connections, i.e. threshold ═ (sum (szconn)/4) × (1+ 20%).
The first process is that if the locking return result is not 0, the locking return is immediately carried out, at this time, the fact that the wire thread is processing the socket listenfd of the car networking device is indicated, if the return result is 0, whether the holdID is larger than-1 is judged, if the holdID is larger than-1, the fact that the socket listenfd of the car networking device is added into the EPOLL by the holdID thread is indicated, at this time, the unlocking is directly carried out and the return is carried out, if the result is smaller than or equal to-1, the socket listenfd of the car networking device is added into the EPOLL of the thread, the holdID is set as the thread ID, and then the unlocking is carried out and the return is carried out.
And a second process, judging whether listenfd is in the local EPOLL, if yes, removing the socket listenfd of the vehicle networking equipment from the local EPOLL, and setting a threshold ID to-1, which indicates that no thread processes the listenfd currently. If not, returning directly, which indicates that the current thread exceeds the connection average value, and waiting below the threshold value to continue receiving new connections.
Of course, the above example is only used as a reference example, and those skilled in the art may also implement load balancing of data receiving thread groups in other ways, which is not limited to this application.
Therefore, only one readThread processes the monitoring socket in the EPOLL of the monitoring socket at the same time, so that the occurrence of a frightening group phenomenon can be avoided, and meanwhile, when the connection number processed by the threads is greater than a threshold value, the monitoring socket is moved out of the local EPOLL to refuse to accept more connections until the connection number processed by the threads is less than the threshold value, so that the connection number processed by each thread is approximately equal.
Step 102, receiving service data sent by the Internet of vehicles equipment by adopting the data receiving thread group;
in a specific implementation, the embodiment of the present invention may use a data receiving thread group to receive service data sent by the car networking device.
103, sending the service data to the data push thread group through the double cache group module;
in a specific implementation, the gateway according to the embodiment of the present invention may include a dual cache module, where the dual cache module may include a first cache region and a second cache region:
in the embodiment of the present invention, the service data may be sent to the data push thread group through the double cache group module in the following manner:
when the service data are written into the first cache region by adopting the data receiving thread group, judging whether the service data to be sent exist in the second cache region; if so, sending the service data to be sent in the second cache region to the data pushing thread group, and emptying the service data to be sent in the second cache region after the sending is finished; and if not, adopting the second cache region to write the data service when the data service is written next time.
For example, ReadThread and PushThread perform data exchange through dual buffers, so as to avoid using locks, and thus increase the processing speed of the gateway, the specific method is to assume that there are two buffers, B1 and B2, when ReadThread writes B1, it may be first determined whether to-be-sent service data exists in B2, if yes, PushThread marks B2 as a read buffer region, and sends the to-be-sent service data in B2 to a downstream distributed publish-subscribe message system, and empties the to-be-sent service data in B2 after sending is completed; if not, that is, if it is determined that B2 is empty, setting B2 as a write cache region, marking B1 as a read cache region, when writing to B1 is completed, sending the service data to be sent in B1 to the downstream distributed publish-subscribe message system, and writing the service data into B2 when writing the data next time. Therefore, the processing speed of the thread is improved by reading and writing different buffers to avoid lock overhead.
And 104, pushing the service data to the distributed publish-subscribe message system by adopting the data pushing thread group.
In practical applications, the gateway may have a downstream distributed publish-subscribe message system connected thereto, and may use the data push thread group to push the service data to the downstream distributed publish-subscribe message system.
The embodiment of the invention divides the gateway into two modules of a data receiving thread group and a data pushing thread group, establishes the link between the vehicle networking equipment and the data receiving thread in a load balancing mode, adopts the data receiving thread group to receive the service data sent by the vehicle networking equipment, sends the service data to the data pushing thread group through the double-cache module, and finally pushes the service data to the downstream distributed publishing and subscribing message system through the data pushing thread group, thereby avoiding the occurrence of group surprise of the data receiving thread group when the vehicle networking equipment establishes the link when accessing the gateway, further avoiding the occurrence of the influence on the whole flow processing when a certain link has delay jitter in the process of accessing the vehicle networking equipment to the gateway, further avoiding the use of locks between the thread groups to realize data exchange and quicken the flow processing speed, and further, the processing speed of a single gateway is improved, and the manufacturing cost of the Internet of vehicles is reduced.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of a pushing apparatus of gateway service data of a car networking device according to an embodiment of the present invention is shown, and specifically, the pushing apparatus may include the following modules:
a link establishing module 201, configured to establish a link between the car networking device and the data receiving thread;
a service data receiving module 202, configured to receive, by using the data receiving thread group, service data sent by the internet of vehicles;
a service data sending module 203, configured to send the service data to the data push thread group through the double cache group module;
a service data pushing module 204, configured to push the service data to the distributed publish-subscribe message system by using the data pushing thread group.
In a preferred embodiment of the present invention, the link establishing module 201 may further include the following sub-modules:
the threshold value judging submodule is used for monitoring the thread connection number and judging whether the thread connection number is greater than a preset threshold value; if yes, calling a service data receiving submodule; if not, calling the car networking equipment locking submodule;
the service data receiving submodule is used for continuously receiving the service data sent by the vehicle networking equipment which is currently linked with the data receiving thread and refusing to receive the service data sent by the vehicle networking equipment which is not linked with the data receiving thread;
and the vehicle networking equipment locking submodule is used for establishing a link between the vehicle networking equipment and the data receiving thread through the competition lock and storing the link in the data receiving thread.
In a preferred embodiment of the present invention, the service data receiving submodule may further include the following unit:
a socket monitoring unit, configured to monitor the socket listenfd and determine whether the socket listenfd exists in the EPOLL of the multiplexing interface of the data receiving thread group; if yes, calling a socket removal unit; if not, calling a first return unit;
a socket removing unit, configured to remove the socket from the EPOLL of the data receiving thread group, mark a flag bit holdID of the socket listenfd, and return to the step of determining whether the thread connection number is greater than a preset threshold;
and the first returning unit is used for returning to the step of judging whether the thread connection number is greater than a preset threshold value.
In a preferred embodiment of the present invention, the car networking device locking sub-module may further include the following units:
the vehicle networking equipment locking unit is used for locking the vehicle networking equipment which is currently linked with the data receiving thread by adopting the competition lock and judging whether the locking is successful; if not, calling a second return unit; if yes, calling a socket acquisition unit;
a second returning unit, configured to return to the step of determining whether the thread connection number is greater than a preset threshold;
the socket acquisition unit is used for acquiring a zone bit threshold value of a socket listenfd of the vehicle networking equipment which is currently linked with the data receiving thread;
the socket judgment unit is used for judging whether the value of a flag bit holdID of a socket listenfd of the vehicle-to-vehicle networking equipment which is currently linked with the data receiving thread is greater than-1; if yes, calling an unlocking unit; if not, calling a socket marking unit;
the unlocking unit is used for unlocking the current Internet of vehicles equipment linked with the data receiving thread and returning to the step of judging whether the thread connection number is greater than a preset threshold value;
and the socket marking unit is used for marking a flag bit holdID of a socket listenfd of the vehicle networking equipment which is currently linked with the data receiving thread, unlocking the vehicle networking equipment which is currently linked with the data receiving thread after marking is finished, and returning to the step of judging whether the thread connection number is greater than a preset threshold value.
In a preferred embodiment of the present invention, the service data sending module 203 may further include the following sub-modules:
a to-be-sent service data judgment submodule, configured to judge whether to-be-sent service data exists in the second cache region when the data receiving thread group is used to write the service data into the first cache region; if yes, calling a service data sending submodule to be sent; if not, calling a data service writing submodule;
the to-be-sent service data sending submodule is used for sending the to-be-sent service data in the second cache region to the data pushing thread group and clearing the to-be-sent service data in the second cache region after the sending is finished;
and the data service writing submodule is used for writing the data service by adopting the second cache region when the data service is written next time.
The embodiment of the invention divides the gateway into two modules of a data receiving thread group and a data pushing thread group, establishes the link between the vehicle networking equipment and the data receiving thread in a load balancing mode, adopts the data receiving thread group to receive the service data sent by the vehicle networking equipment, sends the service data to the data pushing thread group through the double-cache module, and finally pushes the service data to the downstream distributed publishing and subscribing message system through the data pushing thread group, thereby avoiding the occurrence of group surprise of the data receiving thread group when the vehicle networking equipment establishes the link when accessing the gateway, further avoiding the occurrence of the influence on the whole flow processing when a certain link has delay jitter in the process of accessing the vehicle networking equipment to the gateway, further avoiding the use of locks between the thread groups to realize data exchange and quicken the flow processing speed, and further, the processing speed of a single gateway is improved, and the manufacturing cost of the Internet of vehicles is reduced.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for pushing gateway service data of the car networking equipment and the device for pushing gateway service data of the car networking equipment provided by the invention are described in detail, specific examples are applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A method for pushing gateway service data of Internet of vehicles equipment is characterized in that the gateway comprises a data receiving thread group, a data pushing thread group and a double-cache group module, the gateway is provided with a distributed publishing and subscribing message system connected with the gateway, the data receiving thread group comprises a plurality of data receiving threads, and the method comprises the following steps:
establishing a link between the Internet of vehicles equipment and the data receiving thread;
receiving service data sent by the Internet of vehicles equipment by adopting the data receiving thread group;
sending the service data to the data pushing thread group through the double cache group module;
pushing the service data to the distributed publishing and subscribing message system by adopting the data pushing thread group;
wherein the step of establishing a link between the vehicle networking device and the data receiving thread comprises:
monitoring the thread connection number of the vehicle networking devices linked with the data receiving thread, and judging whether the thread connection number is greater than a preset threshold value; the preset threshold value is associated with the average connection number of the data receiving thread group;
if yes, continuing to receive the service data sent by the vehicle networking equipment which is linked with the data receiving thread at present, and refusing to receive the service data sent by the vehicle networking equipment which is not linked with the data receiving thread;
the vehicle networking device is provided with a socket listenfd, and the refusing to receive the service data sent by the vehicle networking device which is not linked with the data receiving thread comprises:
monitoring the socket listenfd and judging whether the socket listenfd exists in a multiplex interface EPOLL of the data receiving thread group;
if so, removing the data receiving thread group from a multiplex interface EPOLL of the data receiving thread group, marking a flag bit holdID of the socket listenfd, and returning to the step of judging whether the thread connection number is greater than a preset threshold value;
if not, returning to the step of judging whether the thread connection number is larger than a preset threshold value.
2. The method of claim 1, wherein the data receiving thread has a contention lock, and wherein establishing the link between the vehicle networking device and the data receiving thread comprises:
and if the thread connection number is less than or equal to the preset threshold value, establishing a link between the vehicle networking equipment and the data receiving thread through the competition lock, and storing the link in the data receiving thread.
3. The method of claim 2, wherein the step of establishing a link between the vehicle networking device and the data receiving thread through the competitive lock and saving the link in the data receiving thread comprises:
adopting the competition lock to lock the current Internet of vehicles equipment linked with the data receiving thread, and judging whether the locking is successful;
if not, returning to the step of judging whether the thread connection number is larger than a preset threshold value;
if so, acquiring a zone bit threshold value of a socket listenfd of the vehicle networking equipment which is linked with the data receiving thread currently;
judging whether the value of a flag bit holdID of a socket listenfd of the vehicle-to-vehicle networking equipment which is currently linked with the data receiving thread is greater than-1;
if so, unlocking the current Internet of vehicles equipment linked with the data receiving thread, and returning to the step of judging whether the thread connection number is greater than a preset threshold value;
if not, marking the flag bit holdID of the socket listenfd of the vehicle networking equipment which is currently linked with the data receiving thread, unlocking the vehicle networking equipment which is currently linked with the data receiving thread after marking is finished, and returning to the step of judging whether the thread connection number is greater than a preset threshold value.
4. The method of claim 1, wherein the double cache module comprises a first cache region and a second cache region, and wherein the step of sending the service data to the data push thread group via the double cache module comprises:
when the service data are written into the first cache region by adopting the data receiving thread group, judging whether the service data to be sent exist in the second cache region;
if so, sending the service data to be sent in the second cache region to the data pushing thread group, and emptying the service data to be sent in the second cache region after the sending is finished;
and if not, adopting the second cache region to write the service data when the service data is written next time.
5. The utility model provides a pusher of car networking equipment gateway service data which characterized in that, the gateway includes data receiving thread group, data propelling movement thread group to and, two buffer memory organizes the module, the gateway has the distributed publish-subscribe message system who is connected with it, data receiving thread group includes a plurality of data receiving thread, the device includes:
the link establishing module is used for establishing a link between the Internet of vehicles equipment and the data receiving thread;
the service data receiving module is used for receiving the service data sent by the Internet of vehicles equipment by adopting the data receiving thread group;
the service data sending module is used for sending the service data to the data pushing thread group through the double-cache group module;
the service data pushing module is used for pushing the service data to the distributed publishing and subscribing message system by adopting the data pushing thread group;
wherein the link establishment module comprises:
the threshold judgment submodule is used for monitoring the thread connection number of the Internet of vehicles equipment linked with the data receiving thread and judging whether the thread connection number is greater than a preset threshold; the preset threshold value is associated with the average connection number of the data receiving thread group; if yes, calling a service data receiving submodule;
the service data receiving submodule is used for continuously receiving the service data sent by the vehicle networking equipment which is currently linked with the data receiving thread and refusing to receive the service data sent by the vehicle networking equipment which is not linked with the data receiving thread;
wherein, the car networking equipment has socket listenfd, and the service data receiving submodule comprises:
a socket monitoring unit, configured to monitor the socket listenfd and determine whether the socket listenfd exists in the EPOLL of the multiplexing interface of the data receiving thread group; if yes, calling a socket removal unit; if not, calling a first return unit;
a socket removing unit, configured to remove the socket from the EPOLL of the data receiving thread group, mark a flag bit holdID of the socket listenfd, and return to the step of determining whether the thread connection number is greater than a preset threshold;
and the first returning unit is used for returning to the step of judging whether the thread connection number is greater than a preset threshold value.
6. The apparatus of claim 5, wherein the data receiving thread has a contention lock, and wherein the link establishment module comprises:
the threshold judgment sub-module is used for calling the car networking equipment locking sub-module if the thread connection number is equal to or higher than the preset threshold;
and the vehicle networking equipment locking submodule is used for establishing a link between the vehicle networking equipment and the data receiving thread through the competition lock and storing the link in the data receiving thread.
7. The apparatus of claim 6, wherein the internet of vehicles device locking sub-module comprises:
the vehicle networking equipment locking unit is used for locking the vehicle networking equipment which is currently linked with the data receiving thread by adopting the competition lock and judging whether the locking is successful; if not, calling a second return unit; if yes, calling a socket acquisition unit;
a second returning unit, configured to return to the step of determining whether the thread connection number is greater than a preset threshold;
the socket acquisition unit is used for acquiring a zone bit threshold value of a socket listenfd of the vehicle networking equipment which is currently linked with the data receiving thread;
the socket judgment unit is used for judging whether the value of a flag bit holdID of a socket listenfd of the vehicle-to-vehicle networking equipment which is currently linked with the data receiving thread is greater than-1; if yes, calling an unlocking unit; if not, calling a socket marking unit;
the unlocking unit is used for unlocking the current Internet of vehicles equipment linked with the data receiving thread and returning to the step of judging whether the thread connection number is greater than a preset threshold value;
and the socket marking unit is used for marking a flag bit holdID of a socket listenfd of the vehicle networking equipment which is currently linked with the data receiving thread, unlocking the vehicle networking equipment which is currently linked with the data receiving thread after marking is finished, and returning to the step of judging whether the thread connection number is greater than a preset threshold value.
8. The apparatus of claim 5, wherein the double buffer module comprises a first buffer area and a second buffer area, and the service data sending module comprises:
a to-be-sent service data judgment submodule, configured to judge whether to-be-sent service data exists in the second cache region when the data receiving thread group is used to write the service data into the first cache region; if yes, calling a service data sending submodule to be sent; if not, calling the service data writing submodule;
the to-be-sent service data sending submodule is used for sending the to-be-sent service data in the second cache region to the data pushing thread group and clearing the to-be-sent service data in the second cache region after the sending is finished;
and the service data writing submodule is used for writing the service data by adopting the second cache region when the service data is written next time.
CN201711238132.8A 2017-11-30 2017-11-30 Method and device for pushing gateway service data of Internet of vehicles equipment Active CN108306926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711238132.8A CN108306926B (en) 2017-11-30 2017-11-30 Method and device for pushing gateway service data of Internet of vehicles equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711238132.8A CN108306926B (en) 2017-11-30 2017-11-30 Method and device for pushing gateway service data of Internet of vehicles equipment

Publications (2)

Publication Number Publication Date
CN108306926A CN108306926A (en) 2018-07-20
CN108306926B true CN108306926B (en) 2021-08-13

Family

ID=62870280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711238132.8A Active CN108306926B (en) 2017-11-30 2017-11-30 Method and device for pushing gateway service data of Internet of vehicles equipment

Country Status (1)

Country Link
CN (1) CN108306926B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552273B (en) * 2020-05-08 2022-03-11 广州小鹏汽车制造有限公司 Vehicle data acquisition method and acquisition system thereof, vehicle and readable storage medium
CN114221818A (en) * 2021-12-21 2022-03-22 深圳铸泰科技有限公司 Method, system, terminal and storage medium for reporting quintuple based on exchange tree

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610407A (en) * 2009-07-15 2009-12-23 北京化工大学 The gateway implementation method of Ethernet data and digital video frequency flow conversion
CN102082680A (en) * 2009-11-27 2011-06-01 中国移动通信集团北京有限公司 Method for controlling network element connection by acquisition machines, acquisition machines and system
CN103684944A (en) * 2012-09-10 2014-03-26 西门子信号有限公司 Embedded gateway, railway monitoring system adopting gateway, and railway monitoring method
CN104601434A (en) * 2013-10-31 2015-05-06 深圳市赛格导航科技股份有限公司 Data transmission method and data transmission device
CN106776080A (en) * 2016-12-29 2017-05-31 北京奇虎科技有限公司 The connection method for building up and device of worker thread
CN107135279A (en) * 2017-07-07 2017-09-05 网宿科技股份有限公司 It is a kind of to handle the method and apparatus that request is set up in long connection

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143428A1 (en) * 2005-12-21 2007-06-21 Shruti Kumar Method and system for displaying indications of messages from important persons and from new persons at a high display priority in a gathered threads view of an electronic mail ("email") user interface
CN101860572A (en) * 2010-06-23 2010-10-13 中兴通讯股份有限公司 Vehicle gateway, network element, automotive remote control system and method based on M2M (Machine-to-Machine)
CN102955474A (en) * 2011-08-26 2013-03-06 中国航空工业集团公司第六三一研究所 Measurement control method and system of automobile ECU (electronic control unit)
CN106254461B (en) * 2016-08-06 2019-04-05 中国科学院合肥物质科学研究院 A kind of method of data synchronization of intelligent vehicle sensing capability test platform
CN106971589B (en) * 2017-03-29 2020-06-05 深圳市金溢科技股份有限公司 Intelligent public transportation system and implementation method thereof
CN107103657B (en) * 2017-04-24 2020-10-20 北京首发公路养护工程有限公司 Sanitation vehicle working state collector and collecting method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610407A (en) * 2009-07-15 2009-12-23 北京化工大学 The gateway implementation method of Ethernet data and digital video frequency flow conversion
CN102082680A (en) * 2009-11-27 2011-06-01 中国移动通信集团北京有限公司 Method for controlling network element connection by acquisition machines, acquisition machines and system
CN103684944A (en) * 2012-09-10 2014-03-26 西门子信号有限公司 Embedded gateway, railway monitoring system adopting gateway, and railway monitoring method
CN104601434A (en) * 2013-10-31 2015-05-06 深圳市赛格导航科技股份有限公司 Data transmission method and data transmission device
CN106776080A (en) * 2016-12-29 2017-05-31 北京奇虎科技有限公司 The connection method for building up and device of worker thread
CN107135279A (en) * 2017-07-07 2017-09-05 网宿科技股份有限公司 It is a kind of to handle the method and apparatus that request is set up in long connection

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Nginx如何解决"惊群"现象;hello_world_hust;《https://blog.csdn.net/wan_hust/article/details/38958545》;20140831;第1-5页 *
Nginx惊群处理;`Elaine;《https://www.cnblogs.com/chenyang920/p/5527078.html》;20160525;第1-2页 *
Nginx解决惊群现象;sa;《https://www.centos.bz/2017/07/nginx-disturbing-the-phenomenon/》;20170730;第1-4页 *

Also Published As

Publication number Publication date
CN108306926A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
CN109144414B (en) Multi-level storage method and device for block chain data
US8225048B2 (en) Systems and methods for resource access
CN110750341B (en) Task scheduling method, device, system, terminal equipment and storage medium
CN111818136B (en) Data processing method, device, electronic equipment and computer readable medium
CN108647104B (en) Request processing method, server and computer readable storage medium
CN101582850A (en) Method and system for realizing load balance
CN103150149A (en) Method and device for processing redo data of database
CN108306926B (en) Method and device for pushing gateway service data of Internet of vehicles equipment
CN110708369B (en) File deployment method and device for equipment nodes, scheduling server and storage medium
CN108228812B (en) Self-adaptive main node switching method and device
CN110908797B (en) Call request data processing method, device, equipment, storage medium and system
CN116069493A (en) Data processing method, device, equipment and readable storage medium
CN111913807A (en) Event processing method, system and device based on multiple storage areas
CN111831408A (en) Asynchronous task processing method and device, electronic equipment and medium
CN109067864B (en) Notification message pushing method and device and electronic equipment
CN107395765B (en) Distributed file system, network communication method, platform and creation method thereof
CN109791534B (en) switchable topology machine
CN101308469A (en) Soft interruption load balancing realization method and apparatus
CN114936106A (en) Method, device and medium for processing host fault
CN110716814B (en) Performance optimization method and device for inter-process large-data-volume communication
CN111984202A (en) Data processing method and device, electronic equipment and storage medium
CN113296972A (en) Information registration method, computing device and storage medium
CN111737297A (en) Method and device for processing link aggregation call information
US9703506B2 (en) Storage apparatus and data storage method
CN110909389B (en) Personal information storage method and device for internet financial platform and electronic 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