CN108306926A - A kind of method for pushing and device of car networking device gateway business datum - Google Patents

A kind of method for pushing and device of car networking device gateway business datum Download PDF

Info

Publication number
CN108306926A
CN108306926A CN201711238132.8A CN201711238132A CN108306926A CN 108306926 A CN108306926 A CN 108306926A CN 201711238132 A CN201711238132 A CN 201711238132A CN 108306926 A CN108306926 A CN 108306926A
Authority
CN
China
Prior art keywords
car networking
data receiver
thread
business datum
threads
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711238132.8A
Other languages
Chinese (zh)
Other versions
CN108306926B (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.)
Ke Lie Technical Concern Co Ltd Of Shenzhen
Original Assignee
Ke Lie Technical Concern Co Ltd Of Shenzhen
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 Ke Lie Technical Concern Co Ltd Of Shenzhen filed Critical Ke Lie Technical Concern Co Ltd Of Shenzhen
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

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

An embodiment of the present invention provides a kind of method for pushing and device of car networking device gateway business datum, the method includes:Establish linking between car networking equipment and the data receiver thread;The business datum sent by the car networking equipment is received using the data receiver sets of threads;The business datum is sent to the data-pushing sets of threads by the Double buffer group mould;The business datum is pushed to by the distributed post using the data-pushing sets of threads and subscribes to message system, data receiver sets of threads is caused to occur shying group phenomena when access gateway establishes the link so as to avoid vehicle net equipment, furthermore, it also avoids during car networking equipment access gateway, some part occurs influencing whole flow process processing when delay jitter, more specifically, it also avoids realizing data exchange with lock between sets of threads, accelerate flow processing speed, and then improve the processing speed of single gateway, reduce the manufacturing cost of car networking.

Description

A kind of method for pushing and device of car networking device gateway business datum
Technical field
The present invention relates to technical field of data transmission, more particularly to a kind of push of car networking device gateway business datum Method and a kind of pusher of car networking device gateway business datum.
Background technology
Car networking (Internet of Vehicles) is the huge friendship being made of information such as vehicle location, speed and routes Mutual network.By devices such as GPS, RFID, sensor, camera image processing, vehicle can complete itself environment and state letter The acquisition of breath;By Internet technology, all vehicles can be by the various information Transmission Convergences of itself to central processing unit;It is logical Cross computer technology, the information of these a large amount of vehicles can be analyzed and processed, to calculate different vehicle best route, It reports without delay road conditions and arranges signal lamp cycle.
With the fast development of car networking, a large amount of car networking equipment cause prodigious pressure in access gateway, to gateway Power, this is because gateway processes flow is typically first received and parsed through by the data transmitted by car networking equipment, then by data It is forwarded to distributed post and subscribes to message system, if entire data transmission flow is completed using single thread, at any one When link postpones, the processing speed of entire data transmission flow will be all influenced, and in a large amount of terminal device access gateway When, although can by using LVS to gateway do cluster carry out it is extending transversely disperse the access pressure of single gateway, if The processing speed of single gateway is not improved, still can not reduce number of clusters, and the cost for eventually leading to car networking is very high.
Invention content
In view of the above problems, it is proposed that the embodiment of the present invention overcoming the above problem or at least partly in order to provide one kind A kind of method for pushing of the car networking device gateway business datum to solve the above problems and a kind of corresponding car networking device gateway The pusher of business datum.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of push sides of car networking device gateway business datum Method, which is characterized in that the gateway includes data receiver sets of threads, data-pushing sets of threads, and, Double buffer group mould is described There is gateway coupled distributed post to subscribe to message system, and the data receiver sets of threads includes data receiver line Journey, the method includes:
Establish linking between car networking equipment and the data receiver thread;
The business datum sent by the car networking equipment is received using the data receiver sets of threads;
The business datum is sent to the data-pushing sets of threads by the Double buffer group mould;
The business datum is pushed to by the distributed post using the data-pushing sets of threads and subscribes to message system.
Preferably, the data receiver thread has for showing the current car networking number of devices established the link with it Thread connect number, and, competition lock, it is described establish between car networking equipment and the data receiver thread the step of link Including:
The thread connection number is monitored, and judges whether the thread connection number is more than predetermined threshold value;
If so, continuing to the industry transmitted by the car networking equipment currently established the link with the data receiver thread Business data, and reject the business datum transmitted by the car networking equipment not established the link with the data receiver thread;
If it is not, linking between the car networking equipment and the data receiver thread is then established by competition lock, And the link is stored in the data receiver thread.
Preferably, the car networking equipment has a socket listenfd, the rejection not with the data receiver The step of business datum transmitted by the car networking equipment that thread establishes the link includes:
The socket listenfd is monitored, and judges that the socket listenfd whether there is in the data receiver In the multiplex interface EPOLL of sets of threads;
If so, it is removed from the multiplex interface EPOLL of the data receiver sets of threads, and mark the set The flag bit holdID of word listenfd is met, return judges the step of whether the thread connection number is more than predetermined threshold value;
The step of whether the thread connection number is more than predetermined threshold value judged if it is not, then returning.
Preferably, described that chain between the car networking equipment and the data receiver thread is established by the competition lock It connects, and includes by the step being stored in the data receiver thread that links:
The car networking equipment currently established the link with the data receiver thread using the competition lock locking, and judge Whether locking is successful;
The step of whether the thread connection number is more than predetermined threshold value judged if it is not, then returning;
If so, obtaining the socket of the current car networking equipment established the link with the data receiver thread The flag bit holdID values of listenfd;
Judge the socket of the current vehicle car networking equipment established the link with the data receiver thread Whether the value of the flag bit holdID of listenfd is more than -1;
If so, the current car networking equipment established the link with the data receiver thread that unlocks, and return It returns and the step of whether the thread connection number is more than predetermined threshold value is judged;
If it is not, then marking the socket of the current car networking equipment established the link with the data receiver thread The flag bit holdID of listenfd, and described current established with the data receiver thread that unlock after the completion of label The car networking equipment of link, return judge the step of whether the thread connection number is more than predetermined threshold value.
Preferably, the Double buffer group mould includes the first buffer zone, and, the second buffer zone is described by described double The step of business datum is sent to the data-pushing sets of threads by caching group mould include:
When first buffer zone is written in the business datum using the data receiver sets of threads, described in judgement It whether there is business datum to be sent in second buffer zone;
If so, the business datum to be sent of the second buffer zone is sent to the data-pushing sets of threads, and sending out The business datum to be sent in second buffer zone is emptied after sending;
If it is not, then when the data service being written next time, data service is written using second buffer zone.
On the other hand, the embodiment of the invention discloses a kind of pushers of car networking device gateway business datum, special Sign is, the gateway includes data receiver sets of threads, data-pushing sets of threads, and, Double buffer group mould, the gateway has Coupled distributed post subscribes to message system, and the data receiver sets of threads includes data receiver thread, the dress Set including:
Module is established in link, for establishing linking between car networking equipment and the data receiver thread;
Business datum receiving module, for what is sent by the car networking equipment using data receiver sets of threads reception Business datum;
Business datum sending module is pushed away for the business datum to be sent to the data by the Double buffer group mould Send sets of threads;
Business datum pushing module, for the business datum to be pushed to described point using the data-pushing sets of threads Cloth distribution subscription message system.
Preferably, the data receiver thread has for showing the current car networking number of devices established the link with it Thread connect number, and, competition lock, the link establishes module and includes:
Threshold decision submodule connects number for monitoring the thread, and it is pre- to judge whether the thread connection number is more than If threshold value;If so, calling business datum receiving submodule;If it is not, car networking equipment is then called to lock submodule;
Business datum receiving submodule, the vehicle connection for continuing to currently establish the link with the data receiver thread Business datum transmitted by net equipment, and reject the car networking equipment not established the link with the data receiver thread and sent out The business datum sent;
Car networking equipment locks submodule, is connect with the data for establishing the car networking equipment by competition lock Link between take-up journey, and the link is stored in the data receiver thread.
Preferably, the car networking equipment includes with socket listenfd, the business datum receiving submodule:
Socket monitoring unit for monitoring the socket listenfd, and judges that the socket listenfd is It is no to be present in the multiplex interface EPOLL of the data receiver sets of threads;If so, socket is called to remove unit;If It is no, then call the first returning unit;
Socket removes unit, for it to be removed from the multiplex interface EPOLL of the data receiver sets of threads, And the flag bit holdID of the socket listenfd is marked, return judges whether the thread connection number is more than predetermined threshold value The step of;
The step of whether the thread connection number is more than predetermined threshold value judged for returning for first returning unit.
Preferably, the car networking equipment locking submodule includes:
Car networking equipment lock cell, for having been established with the data receiver thread using competition lock locking is current The car networking equipment of link, and judge whether to lock successfully;If it is not, then calling the second returning unit;If so, calling socket Acquiring unit;
The step of whether the thread connection number is more than predetermined threshold value judged for returning for second returning unit;
Socket acquiring unit is set for obtaining the current car networking established the link with the data receiver thread The flag bit holdID values of standby socket listenfd;
Socket judging unit, for judging the current vehicle car networking established the link with the data receiver thread Whether the value of the flag bit holdID of the socket listenfd of equipment is more than -1;If so, call release lock cell;If It is no, then call socket marking unit;
Unlock unit, for the current car networking established the link with the data receiver thread that unlocks Equipment, and return and the step of whether the thread connection number is more than predetermined threshold value judged;
Socket marking unit, for marking the current car networking established the link with the data receiver thread to set The flag bit holdID of standby socket listenfd, and unlock and described currently connect with the data after the completion of label The car networking equipment that take-up journey establishes the link, return judge the step of whether the thread connection number is more than predetermined threshold value.
Preferably, the Double buffer group mould includes the first buffer zone, and, the second buffer zone, the business datum hair The module is sent to include:
Business datum judging submodule to be sent, for writing the business datum using the data receiver sets of threads When entering first buffer zone, judge to whether there is business datum to be sent in second buffer zone;If so, calling Business datum sending submodule to be sent;If it is not, then calling data service that submodule is written;
Business datum sending submodule to be sent, it is described for the business datum to be sent of the second buffer zone to be sent to Data-pushing sets of threads, and empty after being sent the business datum to be sent in second buffer zone;
Submodule is written in data service, is used for when the data service being written next time, using second buffer zone Data service is written.
The embodiment of the present invention includes following advantages:
The embodiment of the present invention is led to by the way that gateway is split as data receiver sets of threads and data hump lead journey two group moulds of group After the mode of overload balance establishes the link between car networking equipment and data receiving thread, connect using data receiver sets of threads The business datum sent by car networking equipment is received, then business datum is sent to by data-pushing sets of threads by Double buffer group mould, Business datum is finally pushed into downstream distribution formula distribution subscription message system by data-pushing sets of threads, so as to avoid vehicle Net equipment causes data receiver sets of threads to occur shying group phenomena when access gateway establishes the link, furthermore, it is understood that also avoiding The car networking equipment access gateway during, some part occurs influencing whole flow process processing when delay jitter, more into one For step, also avoids realizing data exchange with lock between sets of threads, accelerate flow processing speed, and then improve single gateway Processing speed reduces the manufacturing cost of car networking.
Description of the drawings
Fig. 1 is a kind of step flow chart of the method for pushing embodiment of car networking device gateway business datum of the present invention;
Fig. 2 is a kind of exemplary flow chart of steps using the embodiment of the present invention of the present invention;
Fig. 3 is the exemplary flow chart of steps of the another kind application embodiment of the present invention of the present invention;
Fig. 4 is a kind of structure diagram of the pusher embodiment of car networking device gateway business datum of the present invention.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is described in further detail.
One of the core concepts of the embodiments of the present invention is, introduces pipeline, the worker thread of gateway is divided into Data receiver sets of threads and data hump lead journey group avoid influencing the processing capacity of gateway because of of short duration delay, by business Pipelining avoids some part delay jitter from influencing whole flow process processing, and quotes dual-cache mechanism and avoid using lock between sets of threads It realizes data exchange, accelerates flow processing speed, meanwhile, load balancing is carried out in access gateway to car networking equipment, is kept away Exempt from frightened group phenomena occur, and the connection number for making per thread receive is roughly equal to realize the load balancing of cross-thread, to carry The processing speed of high single gateway, and then reduce the manufacturing cost of car networking.
Referring to Fig.1, a kind of step of the method for pushing embodiment of car networking device gateway business datum of the present invention is shown Rapid flow chart, can specifically include following steps:
Step 101, linking between car networking equipment and the data receiver thread is established;
In practical applications, the embodiment of the present invention can be applied in the terminal, for example, mobile phone, tablet computer, individual Digital assistants, wearable device (such as bracelet, glasses, wrist-watch) etc..
In the concrete realization, the gateway of the embodiment of the present invention may include data receiver sets of threads and data hump lead journey Group, and gateway can have and for showing currently connect number with the thread of its car networking number of devices established the link, and it is new May include multiple data receiver threads in data receiver sets of threads, in addition, in embodiments of the present invention, car networking equipment can be with With socket listenfd.
Under normal circumstances, in car networking equipment access gateway, due in data receiver sets of threads ReadThread groups Thread has carries out EPOLL_IN event handlings to monitoring socket, so when there is new car networking equipment access, data connect Receiving all threads in sets of threads ReadThread groups will all be waken up, but in fact finally only can successfully receive this there are one thread Car networking equipment, in this way other threads are waken up in vain because receiving failure, are caused in data receiver sets of threads ReadThread Occur shying group phenomena in group, in addition, since the thread between each thread in data receiver sets of threads ReadThread groups connects It connects number to differ greatly, so as to cause some thread traffic overloads, other are then idle, and then resource is caused to be wasted.
In a preferred embodiment of the invention, car networking equipment and data receiver line can be established in the following way Link between journey:
Watcher thread connects number, and judges whether thread connection number is more than predetermined threshold value;If so, continuing to currently The business datum transmitted by car networking equipment established the link with data receiver thread, and reject not with data receiver thread The business datum transmitted by car networking equipment established the link;It is connect with data if it is not, then establishing car networking equipment by competition lock Link between take-up journey, and link is stored in data receiver thread.
In practical applications, it is flat to can be set as data receiver sets of threads ReadThread groups for the threshold value of the embodiment of the present invention It is all connected with several 20%.
In the concrete realization, if the embodiment of the present invention is more than data receiver sets of threads in the connection number of current thread When ReadThread groups averagely connect the 20% of number, then the thread no longer receives new connection, at this point, and those have been connected to And socket listenfd by the thread management transmitted by data be also to continue with by the thread management, that is, overloading In the case of refuse new connection, existing connection continues by the thread management, and if the connection number in current thread is less than When data receiver sets of threads ReadThread groups averagely connect the 20% of number, then currently chain can have been established with gateway by locking Linking between the car networking equipment and gateway is stored in the data receiver sets of threads by the car networking equipment connect.
In a particularly preferred embodiment of the invention, can reject in the following way not with data receiver line The business datum transmitted by car networking equipment that journey establishes the link:
Socket listenfd is monitored, and judges that socket listenfd whether there is in the multichannel of data receiver sets of threads In multiplex interface EPOLL;If so, by being removed in its multiplex interface EPOLL from data receiver sets of threads, and sign Case for holding The flag bit holdID of word listenfd is met, return judges the step of whether thread connection number is more than predetermined threshold value;If it is not, then returning It returns and the step of whether thread connection number is more than predetermined threshold value is judged.
In practical applications, if the embodiment of the present invention is more than data receiver sets of threads in the connection number of current thread When ReadThread groups averagely connect the 20% of number, if the socket listenfd for listening to car networking equipment is present in the line The EPOLL of journey local then removes away socket listenfd, and the flag bit holdID of socket listenfd is set Being -1, the step of whether thread connection number is more than predetermined threshold value judged if do not returned if.
In another particularly preferred embodiment of the invention, car networking can be established by competing lock in the following way Linking between equipment and data receiver thread, and link is stored in data receiver thread:
The car networking equipment currently established the link with data receiver thread using the competition lock locking, and judge whether It locks successfully;The step of whether thread connection number is more than predetermined threshold value judged if it is not, then returning;If so, obtain it is current with The flag bit holdID values of the socket listenfd for the car networking equipment that data receiver thread establishes the link;Judge it is current with Whether the value of the flag bit holdID of the socket listenfd for the car networking equipment that data receiver thread establishes the link is more than -1; If so, releasing the locking to the car networking equipment currently established the link with data receiver thread, and returns and judge that thread connects The step of whether number is more than predetermined threshold value connect;If it is not, the car networking that then label has currently been established the link with data receiver thread is set The flag bit holdID of standby socket listenfd, and released after the completion of label to currently being established with data receiver thread The locking of the car networking equipment of link is releasing the locking to the car networking equipment currently established the link with data receiver thread Afterwards, it returns and the step of whether thread connection number is more than predetermined threshold value is judged.
In the concrete realization, if the embodiment of the present invention is less than data receiver sets of threads in the connection number of current thread When ReadThread groups averagely connect the 20% of number, then the first step, which first attempts to go the receiving to car networking equipment mutual Reprimand order accept_mutex is locked, if locking failure, shows have socket of other threads by the car networking equipment at this time Word listenfd is added into the multiplex interface EPOLL of other threads, and then thread return judges that thread connects number for this It the step of whether being more than predetermined threshold value, is reattempted when executing load balancing loadBalance next time to receiving mutual exclusion order Accept_mutex is locked, if locked successfully, whether judges holdID more than -1, if it is greater than then showing the vehicle at this time The socket listenfd of networked devices in the EPOLL of other threads, judges the line then then discharging lock and returning Journey connects the step of whether number is more than predetermined threshold value, the socket for showing the car networking equipment at this time if it is less than -1 Listenfd is not in the EPOLL of other threads, at this moment, can car networking equipment socket listenfd be added to the line The ID of the thread is set as in the EPOLL of journey and by holdID, after completing to the setting of car networking equipment holdID, release lock And return and the step of whether the thread connection number is more than predetermined threshold value judged, that is, the socket listenfd of car networking equipment In the multiplex interface EPOLL of which thread, which thread just to receive new link by.
In practical applications, it is that processing is large quantities of that the multiplex interface EPOLL of the embodiment of the present invention, which can be linux kernel, It measures filec descriptor and has made improved poll, be the enhancing version for multiplexing I/O interface select/poll under Linux.
To make those skilled in the art be better understood from the present invention, here is that the embodiment of the present invention provides a specific ginseng Examine example:
Assuming that have access and the data receiver for reading to there are 4 ReadThread threads to carry out processing equipment in sets of threads at one, The aray variable szConn that so then 1 global I NT type length of first to file is 4, for preserving the current connection number of per thread, ReadThread0 writes szConn [0], and ReadThread3 writes szConn [3], and the sum of tetra- cell datas of szConn are current Total connection number of gateway, is denoted as sum (szConn).Then apply for the INT type global variable holdID of a volatile again, use To record the current Thread Id that socket listenfd has been added to multiplex interface EPOLL.
As shown in Fig. 2, ReadThread is allowed by a while cyclic periodicity to execute load balancing to this thread LoadBalance and doWork operation, load balancing loadBalance be to avoid the occurrence of the function that frightened group phenomena designs, DoWork for processing equipment access, exit, data unpackings, the operations such as data-pushing to double buffering, when equipment access is current Thread connection number adds 1, subtracts 1 when exiting.
As shown in figure 3, establish between car networking equipment and the gateway during link, can by such as flow down Cheng Shixian data receiver sets of threads load balancing:
Judge whether this thread connection number is more than pre-set threshold value, if it is less than then executing flow one, if it is greater than then executing Flow two.Threshold values is defined as being more than averagely to connect the 20% of number, i.e. threshold=(sum (szConn)/4) * (1+20%).
Flow one, if attempt to lock return the result not be 0 if return immediately, show to have thread to join to the vehicle at this time The socket listenfd processing of net equipment judges whether holdID is more than -1 if it is 0 to return the result, if it is greater than Then show that the socket listenfd of the car networking equipment has been added to by holdID threads in EPOLL, directly unlocks at this time And return, the socket listenfd of the car networking equipment is added in the EPOLL of this thread if result≤- 1, and will HoldID is set to this Thread Id, then unlocks and returns.
Flow two judges listenfd whether in local EPOLL, if then by the socket of the car networking equipment Listenfd is removed from local EPOLL, and holdID=-1 is arranged, and is shown currently without thread to listenfd Reason.If it is not, then directly returning, shows that current thread has been more than connection average value at this time, need to continue below threshold values Receive new connection.
Certainly, above-mentioned example example for reference only, those skilled in the art can also realize data by other means Receiving thread group load balancing, is not restricted this application.
In this way, by synchronization, only there are one readThread handle monitoring socket in the EPOLL of oneself, can be with The generation of frightened group phenomena is avoided, meanwhile, it is removed locally when the connection number of thread process is more than threshold values by the way that socket will be monitored EPOLL, refusal receive more connections, until being less than threshold values, the connection number of each thread process can be made roughly equal.
Step 102, the business datum sent by the car networking equipment is received using the data receiver sets of threads;
In the concrete realization, the embodiment of the present invention may be used what the reception of data receiver sets of threads was sent by car networking equipment Business datum.
Step 103, the business datum is sent to by the data-pushing sets of threads by the Double buffer group mould;
In the concrete realization, the gateway of the embodiment of the present invention may include Double buffer group mould, wherein Double buffer group mould can be with Including the first buffer zone and the second buffer zone:
In embodiments of the present invention, can business datum data be sent to by Double buffer group mould in the following way to push away Send sets of threads:
When first buffer zone is written in the business datum using the data receiver sets of threads, described in judgement It whether there is business datum to be sent in second buffer zone;If so, the business datum to be sent of the second buffer zone is sent out It send to the data-pushing sets of threads, and empties the business datum to be sent in second buffer zone after being sent; If it is not, then when the data service being written next time, data service is written using second buffer zone.
For example, ReadThread and PushThread carries out data exchange by Double buffer, avoid with locking, to promote gateway Processing speed, specific practice have assumed that B1 and B2 two cachings, when ReadThread is when writing B1, can first judge be in B2 It is no there are business datum to be sent, if so, B2 is labeled as read buffer region by PushThread, and by the industry to be sent in B2 Business data are sent to downstream distribution formula distribution subscription message system, empty the business datum to be sent in B2 after being sent completely; If it is not, that is, it is judged that when B2 is empty, then B2 is set to write buffer region, B1 is labeled as read buffer region, when B1 is write in completion It is fashionable, the business datum to be sent in B1 is sent to downstream distribution formula distribution subscription message system, and data will be written next time When, business datum is written in B2.In this way, avoiding lock expense from promoting the place of thread by reading and writing different Buffer (caching) Manage speed.
Step 104, the business datum distributed post is pushed to using the data-pushing sets of threads to subscribe to Message system.
In practical applications, gateway can have coupled downstream distribution formula distribution subscription message system, and can Business datum is pushed to downstream distribution formula distribution subscription message system using data-pushing sets of threads.
The embodiment of the present invention is led to by the way that gateway is split as data receiver sets of threads and data hump lead journey two group moulds of group After the mode of overload balance establishes the link between car networking equipment and data receiving thread, connect using data receiver sets of threads The business datum sent by car networking equipment is received, then business datum is sent to by data-pushing sets of threads by Double buffer group mould, Business datum is finally pushed into downstream distribution formula distribution subscription message system by data-pushing sets of threads, so as to avoid vehicle Net equipment causes data receiver sets of threads to occur shying group phenomena when access gateway establishes the link, furthermore, it is understood that also avoiding The car networking equipment access gateway during, some part occurs influencing whole flow process processing when delay jitter, more into one For step, also avoids realizing data exchange with lock between sets of threads, accelerate flow processing speed, and then improve single gateway Processing speed reduces the manufacturing cost of car networking.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
With reference to Fig. 4, a kind of knot of the pusher embodiment of car networking device gateway business datum of the present invention is shown Structure block diagram, can specifically include following module:
Module 201 is established in link, for establishing linking between car networking equipment and the data receiver thread;
Business datum receiving module 202 is sent out for being received using the data receiver sets of threads by the car networking equipment The business datum sent;
Business datum sending module 203, for the business datum to be sent to the number by the Double buffer group mould According to push sets of threads;
Business datum pushing module 204, for the business datum to be pushed to institute using the data-pushing sets of threads It states distributed post and subscribes to message system.
In a preferred embodiment of the invention, it can also include following submodule that module 201 is established in the link:
Threshold decision submodule connects number for monitoring the thread, and it is pre- to judge whether the thread connection number is more than If threshold value;If so, calling business datum receiving submodule;If it is not, car networking equipment is then called to lock submodule;
Business datum receiving submodule, the vehicle connection for continuing to currently establish the link with the data receiver thread Business datum transmitted by net equipment, and reject the car networking equipment not established the link with the data receiver thread and sent out The business datum sent;
Car networking equipment locks submodule, is connect with the data for establishing the car networking equipment by competition lock Link between take-up journey, and the link is stored in the data receiver thread.
In a preferred embodiment of the invention, the business datum receiving submodule can also include such as lower unit:
Socket monitoring unit for monitoring the socket listenfd, and judges that the socket listenfd is It is no to be present in the multiplex interface EPOLL of the data receiver sets of threads;If so, socket is called to remove unit;If It is no, then call the first returning unit;
Socket removes unit, for it to be removed from the multiplex interface EPOLL of the data receiver sets of threads, And the flag bit holdID of the socket listenfd is marked, return judges whether the thread connection number is more than predetermined threshold value The step of;
The step of whether the thread connection number is more than predetermined threshold value judged for returning for first returning unit.
In a preferred embodiment of the invention, the car networking equipment locking submodule can also include such as lower unit:
Car networking equipment lock cell, for having been established with the data receiver thread using competition lock locking is current The car networking equipment of link, and judge whether to lock successfully;If it is not, then calling the second returning unit;If so, calling socket Acquiring unit;
The step of whether the thread connection number is more than predetermined threshold value judged for returning for second returning unit;
Socket acquiring unit is set for obtaining the current car networking established the link with the data receiver thread The flag bit holdID values of standby socket listenfd;
Socket judging unit, for judging the current vehicle car networking established the link with the data receiver thread Whether the value of the flag bit holdID of the socket listenfd of equipment is more than -1;If so, call release lock cell;If It is no, then call socket marking unit;
Unlock unit, for the current car networking established the link with the data receiver thread that unlocks Equipment, and return and the step of whether the thread connection number is more than predetermined threshold value judged;
Socket marking unit, for marking the current car networking established the link with the data receiver thread to set The flag bit holdID of standby socket listenfd, and unlock and described currently connect with the data after the completion of label The car networking equipment that take-up journey establishes the link, return judge the step of whether the thread connection number is more than predetermined threshold value.
In a preferred embodiment of the invention, the business datum sending module 203 can also include following submodule:
Business datum judging submodule to be sent, for writing the business datum using the data receiver sets of threads When entering first buffer zone, judge to whether there is business datum to be sent in second buffer zone;If so, calling Business datum sending submodule to be sent;If it is not, then calling data service that submodule is written;
Business datum sending submodule to be sent, it is described for the business datum to be sent of the second buffer zone to be sent to Data-pushing sets of threads, and empty after being sent the business datum to be sent in second buffer zone;
Submodule is written in data service, is used for when the data service being written next time, using second buffer zone Data service is written.
The embodiment of the present invention is led to by the way that gateway is split as data receiver sets of threads and data hump lead journey two group moulds of group After the mode of overload balance establishes the link between car networking equipment and data receiving thread, connect using data receiver sets of threads The business datum sent by car networking equipment is received, then business datum is sent to by data-pushing sets of threads by Double buffer group mould, Business datum is finally pushed into downstream distribution formula distribution subscription message system by data-pushing sets of threads, so as to avoid vehicle Net equipment causes data receiver sets of threads to occur shying group phenomena when access gateway establishes the link, furthermore, it is understood that also avoiding The car networking equipment access gateway during, some part occurs influencing whole flow process processing when delay jitter, more into one For step, also avoids realizing data exchange with lock between sets of threads, accelerate flow processing speed, and then improve single gateway Processing speed reduces the manufacturing cost of car networking.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments In computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows And/or in one box of block diagram or multiple boxes specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also include other elements that are not explicitly listed, or further include for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device including the element.
Method for pushing to a kind of car networking device gateway business datum provided by the present invention and a kind of car networking above The pusher of device gateway business datum, is described in detail, and specific case used herein is to the principle of the present invention And embodiment is expounded, the explanation of above example is only intended to help to understand that the method for the present invention and its core are thought Think;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, in specific embodiments and applications There will be changes, in conclusion the content of the present specification should not be construed as limiting the invention.

Claims (10)

1. a kind of method for pushing of car networking device gateway business datum, which is characterized in that the gateway includes data receiver line Journey group, data-pushing sets of threads, and, there is Double buffer group mould, the gateway coupled distributed post subscription to disappear Breath system, the data receiver sets of threads include data receiver thread, the method includes:
Establish linking between car networking equipment and the data receiver thread;
The business datum sent by the car networking equipment is received using the data receiver sets of threads;
The business datum is sent to the data-pushing sets of threads by the Double buffer group mould;
The business datum is pushed to by the distributed post using the data-pushing sets of threads and subscribes to message system.
2. according to the method described in claim 1, it is characterized in that, the data receiver thread have for show it is current with The thread of its car networking number of devices established the link connects number, and, competition lock is described to establish car networking equipment and the number Include according to the step of link between receiving thread:
The thread connection number is monitored, and judges whether the thread connection number is more than predetermined threshold value;
If so, continuing to the business number transmitted by the car networking equipment currently established the link with the data receiver thread According to, and reject the business datum transmitted by the car networking equipment not established the link with the data receiver thread;
If it is not, linking between the car networking equipment and the data receiver thread is then established by competition lock, and will The link is stored in the data receiver thread.
3. according to the method described in claim 2, it is characterized in that, the car networking equipment has socket listenfd, institute The step of stating the business datum transmitted by the car networking equipment that is not established the link with the data receiver thread of rejection include:
The socket listenfd is monitored, and judges that the socket listenfd whether there is in the data receiver thread In the multiplex interface EPOLL of group;
If so, it is removed from the multiplex interface EPOLL of the data receiver sets of threads, and mark the socket The flag bit holdID of listenfd, return judge the step of whether the thread connection number is more than predetermined threshold value;
The step of whether the thread connection number is more than predetermined threshold value judged if it is not, then returning.
4. according to the method described in claim 2, it is characterized in that, described establish the car networking equipment by competition lock Linking between the data receiver thread, and include by the step being stored in the data receiver thread that links:
The car networking equipment currently established the link with the data receiver thread using the competition lock locking, and judge whether It locks successfully;
The step of whether the thread connection number is more than predetermined threshold value judged if it is not, then returning;
If so, obtaining the socket of the current car networking equipment established the link with the data receiver thread The flag bit holdID values of listenfd;
Judge the socket listenfd's of the current vehicle car networking equipment established the link with the data receiver thread Whether the value of flag bit holdID is more than -1;
If so, the current car networking equipment established the link with the data receiver thread that unlocks, and return and sentence The step of whether disconnected thread connection number is more than predetermined threshold value;
If it is not, then marking the socket of the current car networking equipment established the link with the data receiver thread The flag bit holdID of listenfd, and described current established with the data receiver thread that unlock after the completion of label The car networking equipment of link, return judge the step of whether the thread connection number is more than predetermined threshold value.
5. according to the method described in claim 1, it is characterized in that, the Double buffer group mould includes the first buffer zone, and, the Two buffer zones, the described the step of business datum is sent to by the data-pushing sets of threads by the Double buffer group mould Including:
When first buffer zone is written in the business datum using the data receiver sets of threads, described second is judged It whether there is business datum to be sent in buffer zone;
If so, the business datum to be sent of the second buffer zone is sent to the data-pushing sets of threads, and sending The business datum to be sent in second buffer zone is emptied after finishing;
If it is not, then when the data service being written next time, data service is written using second buffer zone.
6. a kind of pusher of car networking device gateway business datum, which is characterized in that the gateway includes data receiver line Journey group, data-pushing sets of threads, and, there is Double buffer group mould, the gateway coupled distributed post subscription to disappear Breath system, the data receiver sets of threads includes data receiver thread, and described device includes:
Module is established in link, for establishing linking between car networking equipment and the data receiver thread;
Business datum receiving module, for receiving the business sent by the car networking equipment using the data receiver sets of threads Data;
Business datum sending module, for the business datum to be sent to the data-pushing line by the Double buffer group mould Journey group;
Business datum pushing module, for the business datum to be pushed to the distribution using the data-pushing sets of threads Distribution subscription message system.
7. device according to claim 6, which is characterized in that the data receiver thread have for show it is current with The thread of its car networking number of devices established the link connects number, and, competition lock, the link establishes module and includes:
Threshold decision submodule connects number for monitoring the thread, and judges whether the thread connection number is more than default threshold Value;If so, calling business datum receiving submodule;If it is not, car networking equipment is then called to lock submodule;
Business datum receiving submodule, the car networking for continuing to currently establish the link with the data receiver thread are set Standby transmitted business datum, and reject transmitted by the car networking equipment not established the link with the data receiver thread Business datum;
Car networking equipment locks submodule, for establishing the car networking equipment and the data receiver line by competition lock Link between journey, and the link is stored in the data receiver thread.
8. device according to claim 7, which is characterized in that the car networking equipment has socket listenfd, institute Stating business datum receiving submodule includes:
Socket monitoring unit for monitoring the socket listenfd, and judges whether the socket listenfd deposits It is in the multiplex interface EPOLL of the data receiver sets of threads;If so, socket is called to remove unit;If it is not, then Call the first returning unit;
Socket removes unit, for removing it from the multiplex interface EPOLL of the data receiver sets of threads, and marks Remember the flag bit holdID of the socket listenfd, returns to the step for judging whether the thread connection number is more than predetermined threshold value Suddenly;
The step of whether the thread connection number is more than predetermined threshold value judged for returning for first returning unit.
9. device according to claim 7, which is characterized in that the car networking equipment locks submodule and includes:
Car networking equipment lock cell, for currently having been established the link with the data receiver thread using competition lock locking Car networking equipment, and judge whether to lock successfully;If it is not, then calling the second returning unit;If so, socket is called to obtain Unit;
The step of whether the thread connection number is more than predetermined threshold value judged for returning for second returning unit;
Socket acquiring unit, for obtaining the current car networking equipment established the link with the data receiver thread The flag bit holdID values of socket listenfd;
Socket judging unit, for judging the current vehicle car networking equipment established the link with the data receiver thread Socket listenfd flag bit holdID value whether be more than -1;If so, call release lock cell;If it is not, then Call socket marking unit;
Unlock unit, and for unlocking, the current car networking established the link with the data receiver thread is set It is standby, and return and the step of whether the thread connection number is more than predetermined threshold value judged;
Socket marking unit, for marking the current car networking equipment established the link with the data receiver thread The flag bit holdID of socket listenfd, and unlock after the completion of label it is described it is current with the data receiver line The car networking equipment that journey establishes the link, return judge the step of whether the thread connection number is more than predetermined threshold value.
10. device according to claim 6, which is characterized in that the Double buffer group mould includes the first buffer zone, and, Second buffer zone, the business datum sending module include:
Business datum judging submodule to be sent, for institute to be written in the business datum using the data receiver sets of threads When stating the first buffer zone, judge to whether there is business datum to be sent in second buffer zone;If so, calling pending Send business datum sending submodule;If it is not, then calling data service that submodule is written;
Business datum sending submodule to be sent, for the business datum to be sent of the second buffer zone to be sent to the data Sets of threads is pushed, and empties the business datum to be sent in second buffer zone after being sent;
Submodule is written in data service, for when the data service being written next time, being written using second buffer zone Data service.
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 true CN108306926A (en) 2018-07-20
CN108306926B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552273A (en) * 2020-05-08 2020-08-18 广州小鹏汽车制造有限公司 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 (12)

* 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
CN101610407A (en) * 2009-07-15 2009-12-23 北京化工大学 The gateway implementation method of Ethernet data and digital video frequency flow conversion
CN101860572A (en) * 2010-06-23 2010-10-13 中兴通讯股份有限公司 Vehicle gateway, network element, automotive remote control system and method based on M2M (Machine-to-Machine)
CN102082680A (en) * 2009-11-27 2011-06-01 中国移动通信集团北京有限公司 Method for controlling network element connection by acquisition machines, acquisition machines and system
CN102955474A (en) * 2011-08-26 2013-03-06 中国航空工业集团公司第六三一研究所 Measurement control method and system of automobile ECU (electronic control unit)
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
CN106254461A (en) * 2016-08-06 2016-12-21 中国科学院合肥物质科学研究院 A kind of intelligent vehicle perception test platform and method of data synchronization thereof
CN106776080A (en) * 2016-12-29 2017-05-31 北京奇虎科技有限公司 The connection method for building up and device of worker thread
CN106971589A (en) * 2017-03-29 2017-07-21 深圳市金溢科技股份有限公司 Wisdom public transit system and its implementation
CN107103657A (en) * 2017-04-24 2017-08-29 北京首发公路养护工程有限公司 A kind of environmental sanitation vehicles working condition collector and acquisition method
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

Patent Citations (12)

* 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
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
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)
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
CN106254461A (en) * 2016-08-06 2016-12-21 中国科学院合肥物质科学研究院 A kind of intelligent vehicle perception test platform and method of data synchronization thereof
CN106776080A (en) * 2016-12-29 2017-05-31 北京奇虎科技有限公司 The connection method for building up and device of worker thread
CN106971589A (en) * 2017-03-29 2017-07-21 深圳市金溢科技股份有限公司 Wisdom public transit system and its implementation
CN107103657A (en) * 2017-04-24 2017-08-29 北京首发公路养护工程有限公司 A kind of environmental sanitation vehicles working condition collector and acquisition method
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
`ELAINE: "Nginx惊群处理", 《HTTPS://WWW.CNBLOGS.COM/CHENYANG920/P/5527078.HTML》 *
HELLO_WORLD_HUST: "Nginx如何解决"惊群"现象", 《HTTPS://BLOG.CSDN.NET/WAN_HUST/ARTICLE/DETAILS/38958545》 *
SA: "Nginx解决惊群现象", 《HTTPS://WWW.CENTOS.BZ/2017/07/NGINX-DISTURBING-THE-PHENOMENON/》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552273A (en) * 2020-05-08 2020-08-18 广州小鹏汽车制造有限公司 Vehicle data acquisition method and acquisition system thereof, vehicle and readable storage medium
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

Also Published As

Publication number Publication date
CN108306926B (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN103348640B (en) Relay
CN108564470B (en) Transaction distribution method for parallel building blocks in block chain
CA2635969C (en) Systems and methods for improved network based content inspection
CN106844041B (en) Memory management method and memory management system
CN113347164B (en) Block chain-based distributed consensus system, method, device and storage medium
CN108512672B (en) Service arranging method, service management method and device
CN111492625B (en) Illegal detection method and illegal detection device
CN109672628A (en) A kind of V2X data package processing method, device, equipment and storage medium
CN108306926A (en) A kind of method for pushing and device of car networking device gateway business datum
RU2641250C2 (en) Device and method of queue management
EP2923461B1 (en) Device and method for retransmitting data in a network switch
Houtan et al. Schedulability analysis of best-effort traffic in tsn networks
CN114090555A (en) AIS data processing method and system
US20170331719A1 (en) Method for configuring stream communication path in network
US20170250920A1 (en) Method of releasing resource reservation in network
CN103560939A (en) Scheme for avoiding deadlock in multi-ring interconnect, with additional application to congestion control
CN116094651B (en) Message retry method, system, electronic device and storage medium
CN112422635B (en) Data checking method, device, equipment, system and storage medium
CN112804162B (en) Scheduling method, scheduling device, terminal equipment and storage medium
CN113645151A (en) DUP equipment message management method and device
CN109558744B (en) Data processing method and system
US20200267054A1 (en) Determining the importance of network devices based on discovered topology, managed endpoints, and activity
CN111245581B (en) Ethernet frame configuration method and service pipeline distribution method and system
CN117061633A (en) Method, system, equipment and medium for extracting message
Bouabdallah et al. A simple priority mechanism for shared-protection schemes

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