CN106205157B - Traffic data processing method, apparatus and system - Google Patents

Traffic data processing method, apparatus and system Download PDF

Info

Publication number
CN106205157B
CN106205157B CN201610626517.0A CN201610626517A CN106205157B CN 106205157 B CN106205157 B CN 106205157B CN 201610626517 A CN201610626517 A CN 201610626517A CN 106205157 B CN106205157 B CN 106205157B
Authority
CN
China
Prior art keywords
data
traffic
hash
server
control device
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
CN201610626517.0A
Other languages
Chinese (zh)
Other versions
CN106205157A (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.)
Beijing Digital Video Payment Technology Co Ltd
Original Assignee
Beijing Digital Video Payment 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 Beijing Digital Video Payment Technology Co Ltd filed Critical Beijing Digital Video Payment Technology Co Ltd
Priority to CN201610626517.0A priority Critical patent/CN106205157B/en
Publication of CN106205157A publication Critical patent/CN106205157A/en
Application granted granted Critical
Publication of CN106205157B publication Critical patent/CN106205157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/087Override of traffic control, e.g. by signal transmitted by an emergency vehicle

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the present invention provides a kind of traffic data processing method, apparatus and system, which comprises establishes interface channel on board unit and signal control device respectively;The initial information that the on board unit is sent is received and stored, the initial information includes information of vehicles and traffic route;Receive the current location information that the on board unit is sent every prefixed time interval;When the current location of the vehicle at a distance from the traffic intersection within a preset range, to the signal control device send traffic let pass instruction so that the vehicle pass through the traffic intersection;After the vehicle passes through the traffic intersection, traffic is sent to the signal control device and restores instruction, so that the signal control device carries out the control of traffic lights according to preset rules.The method is conducive to the arrival scene of special vehicle quickly, safe, executes task;And due to storing information of vehicles and traffic route in server, it is advantageously implemented monitoring and management to vehicle.

Description

Traffic data processing method, apparatus and system
Technical field
The present invention relates to field of traffic, in particular to a kind of traffic data processing method, apparatus and system.
Background technique
Currently, special vehicle, such as: fire-fighting vehicle, ambulance, public security vehicle drive to when the task of execution The case where encountering red light is often had when each traffic intersection, when encountering red light, special vehicle often does following two processing mode: (1) traffic lights is waited to become green light clearance, it is continuous that traffic is waited to let pass since special vehicle carries out an urgent task, by This may cause emergency task and cannot timely handle, and jeopardize people's property or even life security;(2) in order to Prestissimo handles task, and special vehicle may directly make a dash across the red light through crossing, at this time may be with the vehicle in normal clearance direction Traffic accident occurs, traffic accident causes: jeopardizing the personal safety of personnel on normally travel vehicle, causes simultaneously The property loss of the people;Since traffic accident causes special vehicle that can not reach scene in time, people group can be also jeopardized Many properties or even life security.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of traffic data processing method, apparatus and system, with It solves the above problems.
In a first aspect, the embodiment of the present invention provides a kind of traffic data processing method, which comprises respectively with it is vehicle-mounted Unit and signal control device establish interface channel;The initial information that the on board unit is sent is received and stored, it is described initial Information includes information of vehicles and traffic route;Receive the present bit confidence that the on board unit is sent every prefixed time interval Breath;When the current location of the vehicle at a distance from the traffic intersection within a preset range, to the signal control device send out Logical instruction of letting pass is delivered, so that the vehicle passes through the traffic intersection;After the vehicle passes through the traffic intersection, to The signal control device sends traffic and restores instruction, so that the signal control device carries out traffic signals according to preset rules The control of lamp.
Second aspect, the embodiment of the present invention provide a kind of traffic data processing method, which comprises build with server Vertical interface channel;Initial information is sent to the server, the initial information includes information of vehicles and traffic route;Each Prefixed time interval sends current location information to the server, so that the server is in the current location and the friendship The distance of access mouth sends traffic clearance instruction within a preset range, to the signal control device, so that the vehicle passes through The traffic intersection sends traffic to the signal control device and refers to after the vehicle passes through the traffic intersection It enables, so that the signal control device carries out the control of traffic lights according to preset rules.
The third aspect, the embodiment of the present invention provide a kind of traffic data processing method, which comprises build with server Vertical interface channel;The traffic clearance instruction that the server is sent is received, the control of traffic lights is carried out, so that vehicle passes through The traffic road;It receives the traffic that the server is sent and restores instruction, the control of traffic lights is carried out according to preset rules.
Fourth aspect, the embodiment of the present invention provide a kind of traffic data processing apparatus, and described device includes: the first connection list Member, for establishing interface channel on board unit and signal control device respectively;First receiving unit, for receiving and storing The initial information of on board unit transmission is stated, the initial information includes information of vehicles and traffic route;Receive the vehicle-mounted list The current location information that member is sent every prefixed time interval;First transmission unit, for when the vehicle current location with The distance of the traffic intersection sends traffic clearance instruction within a preset range, to the signal control device, so that the vehicle Pass through the traffic intersection;After the vehicle passes through the traffic intersection, traffic is sent to the signal control device Restore instruction, so that the signal control device carries out the control of traffic lights according to preset rules.
5th aspect, the embodiment of the present invention provide a kind of traffic data processing system, and the system comprises servers, vehicle-mounted Unit and signal control device, the server, for establishing interface channel on board unit and signal control device respectively;It connects The initial information that the on board unit is sent is received and stores, the initial information includes information of vehicles and traffic route;It receives The current location information that the on board unit is sent every prefixed time interval;Current location and the traffic when the vehicle The distance at crossing sends traffic clearance instruction within a preset range, to the signal control device;When the vehicle is described in After traffic intersection, traffic is sent to the signal control device and restores instruction;The on board unit, for being established with server Interface channel;Initial information is sent to the server, the initial information includes information of vehicles and traffic route;It is each pre- If time interval sends current location information to the server;The signal control device, for establishing connection with server Channel;The traffic clearance instruction that the server is sent is received, the control of traffic lights is carried out, so that vehicle passes through the friendship Access;It receives the traffic that the server is sent and restores instruction, the control of traffic lights is carried out according to preset rules.
Compared with prior art, a kind of traffic data processing method provided in an embodiment of the present invention, apparatus and system, pass through The current location information of vehicle is constantly obtained, and according to the traffic route of the current location information and vehicle, to judge vehicle At that time whether exterior traffic crossing, if reached, the signal control device sends traffic and lets pass instruction, so that the vehicle By the traffic intersection, after vehicle passes through crossing, traffic is sent to the signal control device and restores instruction, so that described Signal control device carries out the control of traffic lights according to preset rules, and it is quick, safe that this mode is conducive to special vehicle Arrival scene, execute task;And it due to storing information of vehicles and traffic route in server, is advantageously implemented to vehicle Monitoring and management.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the signal that a kind of server provided in an embodiment of the present invention is interacted on board unit and signal control device Figure.
Fig. 2 is the block diagram of server provided in an embodiment of the present invention.
Fig. 3 is a kind of flow chart for traffic data processing method that first embodiment of the invention provides.
Fig. 4 is a kind of partial process view for traffic data processing method that first embodiment of the invention provides.
Fig. 5 is a kind of flow chart for traffic data processing method that second embodiment of the invention provides.
Fig. 6 is a kind of partial process view for traffic data processing method that second embodiment of the invention provides.
Fig. 7 is a kind of flow chart for traffic data processing method that third embodiment of the invention provides.
Fig. 8 is a kind of partial process view for traffic data processing method that third embodiment of the invention provides.
Fig. 9 is a kind of the functional block diagram of traffic data processing apparatus provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention In description, term " first ", " second " etc. be only used for distinguish description, be not understood to indicate or imply relative importance or when Between successively.
As shown in Figure 1, being that a kind of server 200 provided in an embodiment of the present invention is filled on board unit 100 and signal control Set the schematic diagram of 300 interactions.The server 200 is communicated by network 400 with the on board unit 100, and data are completed Interaction.The server 200 is communicated by network 400 with the signal control device 300, and data interaction is completed.Wherein The on board unit 100 can be fixed by the radio communication network (such as GSM net, CDMA net) of telecommunications mobile operator and outside Position mode (such as: GPS) realizes positioning and navigation feature, and has and start switch, and can control on board unit and be in work shape State or closed state.The signal control device 300 can control traffic lights and let pass.
As shown in Fig. 2, being the block diagram of the server 200.The server 200 is filled including transport data processing Set 210, memory 220, storage control 230, processor 240.
The memory 220, storage control 230, each element of processor 240 directly or indirectly electrically connect between each other It connects, to realize the transmission or interaction of data.For example, these elements can pass through one or more communication bus or signal between each other Line, which is realized, to be electrically connected.The traffic data processing apparatus 210 includes that at least one can be with software or firmware (firmware) Form is stored in the memory or is solidificated in the operating system (operating system, OS) of the server-side 200 Software function module.The processor 240 is for executing the executable module stored in memory 220, such as the traffic The software function module or computer program that data processing equipment 210 includes.
Wherein, memory 220 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read- Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 220 is for storing program, and the processor 240 is after receiving and executing instruction, described in execution Program, method performed by the server-side that the stream process that aforementioned any embodiment of the embodiment of the present invention discloses defines can be applied to In processor, or realized by processor.
Processor 240 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor can be General processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable Gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It can be with Realize or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be micro- place Reason device or the processor are also possible to any conventional processor etc..
It is appreciated that structure shown in FIG. 1 is only to illustrate, server 200 may also include than shown in Fig. 1 more or more Few component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software or its group It closes and realizes.
Fig. 3 shows a kind of flow chart of traffic data processing method of first embodiment of the invention offer, please refers to figure 3, the present embodiment describes the process flow of server, which comprises
Step S310, establishes interface channel on board unit and signal control device respectively.
Referring to Fig. 4, the step S310 includes:
Step S311 receives the first encryption data and signal control device hair that the on board unit is sent respectively The second encryption data sent.
Wherein, first encryption data is to generate and send server by board unit.
As an implementation, the on board unit generates the first data at random, and first data are breathed out with default The second data are obtained after uncommon algorithm operation, wherein the default hash algorithm can be MD5, SHA1 etc.;By described first Data and the second data obtain the first encryption data after being encrypted with the first preset-key, and are sent to the server, Wherein the Encryption Algorithm can be 3DES, AES etc..
For example, it is assumed that the first data are Rand0, will be obtained after the default hash algorithm operation of the first data Rand0 Second data HASH0, first preset-key are MK1, will (Rand0, HASH0) using Encryption Algorithm 3DES, with described the One preset-key is to obtain the first encryption data Data0 ' after MK1 is encrypted, and sends server for the Data0 '.
Second encryption data is to generate and send server by signal control device.
As an implementation, the signal control device generates third data at random, by the third data in advance If obtaining the 4th data after hash algorithm operation;The third data and the 4th data are carried out with the second preset-key The second encryption data is obtained after encryption, and is sent to the server.
It is understood that keep up with an embodiment similar for the embodiment, be not described in more detail here.
Step S312 decrypts first encryption data with the first preset-key to obtain the first ciphertext data respectively, will Second encryption data is decrypted to obtain the second ciphertext data with the second preset-key, and first encryption data includes the first number Accordingly and the second data, second ciphertext data include third data and the 4th data.
Wherein, decipherment algorithm can be 3DES, AES etc..
Example is connected, server does decryption processing to Data0 ' using the first preset-key MK, obtains the second ciphertext data (Rand0、HASH0)。
The process of signal control device is similar, is not described in more detail here.
Step S313 obtains the first Hash number after first data are carried out Hash operation with default hash algorithm, when When the first Hash number is consistent with second data, the first random number is generated, and described in using first random number Default hash algorithm obtains the second Hash number after carrying out Hash operation, and first random number and the second Hash number is pre- with first If key obtains third encryption data after being encrypted, third encryption data is sent to the on board unit, so that described vehicle-mounted Unit is verified after receiving the third encryption data, and when verifying is completed, then the on board unit is built with the server Vertical interface channel.
Example is connected, server carries out Hash operation with default hash algorithm to (Rand0), if obtaining is cryptographic Hash and solution Close obtained cryptographic Hash HASH0 is identical, then generates the first random number R and1, carries out Hash fortune with default hash algorithm to Rand1 It calculates, obtains HASH1;And using MK1 encryption (Rand1, HASH1), Data1 ' is obtained, and Data1 ' is sent on board unit.
Step S314 obtains third Hash number after the third data are carried out Hash operation with default hash algorithm, when When the third Hash number is consistent with the 4th data, the second random number is generated, and described in using second random number Default hash algorithm obtains the 4th Hash number after carrying out Hash operation, and second random number and the 4th Hash number is pre- with second If key obtains the 4th encryption data after being encrypted, the 4th encryption data is sent to the signal control device, so that described Signal control device is verified after receiving the 4th encryption data, when verifying complete, then the signal control device with The server establishes interface channel.
The process of signal control device is similar, is not described in more detail here.
Preferably, first data and first random number can be subjected to Hash fortune using default hash algorithm First key is obtained after calculation, i.e., Hash is done to (Rand0+Rand1), uses cryptographic Hash as first key TK1, that is, subsequent vehicle-mounted Data transmission between unit and server all carries out encryption and decryption with TK1.
Likewise, the third data and second random number can also be carried out Hash using default hash algorithm The second cipher key T K2 is obtained after operation, that is, the data transmission between follow-up signal control device and server is all added with TK2 Decryption.
Step S320, receives and stores the initial information that the on board unit is sent, and the initial information includes vehicle letter Breath and traffic route.
Wherein, information of vehicles may include license plate number, type (fire-fighting, public security, rescue etc.), it is possible to understand that, not office It is limited to this.
If the initial information that the on board unit is sent to server is encrypted with the first key TK1, step S320 It may include: to receive the on board unit encrypted initial information of the first key;By the encrypted initial letter Breath is decrypted with the first key, obtains the initial information.
Step S330, if receiving the current location information that the on board unit is sent every prefixed time interval.
Wherein, prefixed time interval can be preset according to demand, such as 1 second.
If the current location information that the on board unit is sent to server is encrypted with the first key TK1, step S330 may include: receive the on board unit is sent every prefixed time interval it is encrypted currently with the first key Location information;Current location information is obtained after the encrypted current location information is decrypted with the first password.
Step S340, when the current location of the vehicle at a distance from the traffic intersection within a preset range, to described Signal control device sends traffic clearance instruction, so that the vehicle passes through the traffic intersection.
Referring to Fig. 1, vehicle driving is let pass as from west to east, in order to make vehicle quickly through crossing, the traffic is let pass Instruction can be with are as follows: west straight trip eastwards, west south are turned right, west is northwards turned left;No through traffic in other directions.
At this point, the server can for communication security, can the traffic let pass instruction encryption, therefore the step S340 may include: that the traffic is let pass to instruct to be encrypted with second key, obtain encrypted clearance instruction;It will The encrypted clearance instruction is sent to the signal control device, so that the signal control device second key Decryption obtains the traffic clearance instruction.
It is extensive to send traffic to the signal control device after vehicle passes through the traffic intersection by step S350 Multiple instruction, so that the signal control device carries out the control of traffic lights according to preset rules.
At this point, the server can for communication security, can the traffic restore instruction, therefore the step S350 It may include: that the traffic is restored instruction to be encrypted with second key, obtain encrypted recovery instruction;It will be described Encrypted recovery instruction is sent to the signal control device, so that the signal control device the second key solution It is close, it obtains the traffic and restores instruction.
Traffic data processing method provided in an embodiment of the present invention, by constantly obtaining the current location information of vehicle, and According to the traffic route of the current location information and vehicle, come judge vehicle at that time whether exterior traffic crossing, if reached, Then the signal control device sends traffic clearance instruction, so that the vehicle passes through the traffic intersection, when vehicle passes through road After mouthful, traffic is sent to the signal control device and restores instruction, so that the signal control device is carried out according to preset rules The control of traffic lights, this mode are conducive to the arrival scene of special vehicle quickly, safe, execute task;And due to Information of vehicles and traffic route are stored in server, are advantageously implemented monitoring and management to vehicle.Further, Ke Yitong It crosses between server and on board unit, server and signal control device and establishes exit passageway, complete the safe transmission of data.And And, it is to be understood that the method input cost is low, favorable expandability.
Fig. 5 shows a kind of flow chart of data processing method of second embodiment of the invention offer, referring to Fig. 5, this Embodiment describes the process flow of on board unit, which comprises
Step S410 establishes interface channel with server.
Referring to Fig. 6, the step S410 may include:
Step S411, it is random to generate the first data, second will be obtained after the default hash algorithm operation of first data Data.
For example, it is assumed that the first data are Rand0, will be obtained after the default hash algorithm operation of the first data Rand0 Second data HASH0.
Step S412 obtains after being encrypted first data and the second data with the first preset-key One encryption data, and it is sent to the server.
Assuming that first preset-key is MK1, (Rand0, HASH0) is used into Encryption Algorithm 3DES, with described first Preset-key is to obtain the first encryption data Data0 ' after MK1 is encrypted, and sends server for the Data0 '.
Step S413 receives the third encryption data that the server is sent, and the third encryption data is pre- with first If obtaining third ciphertext data after key decryption, the third ciphertext data includes the first random number and the second Hash number.
First embodiment is connect, the Data1 ' that server is sent is received, the first preset-key MK1 of the Data1 ' is decrypted After obtain (Rand1, HASH1).
Step S414 obtains the 5th Hash number after first random number is carried out Hash operation with default hash algorithm, When the 5th Hash number is consistent with the second Hash number, the on board unit and the server establish interface channel.
The 5th Hash number is obtained after the Rand1 is carried out budget with default hash algorithm to be compared with the HASH1, If consistent, the on board unit and the server establish interface channel.
Further, it is possible to which first data and first random number are carried out Hash fortune using default hash algorithm First key is obtained after calculation, i.e., Hash is done to (Rand0+Rand1), uses cryptographic Hash as first key TK1, that is, subsequent vehicle-mounted Data transmission between unit and server all carries out encryption and decryption with TK1.
Step S420 sends initial information to the server, and the initial information includes information of vehicles and roadway Line.
Wherein, information of vehicles may include license plate number, type (fire-fighting, public security, rescue etc.), it is possible to understand that, not office It is limited to this.
If the initial information that the on board unit is sent to server is encrypted with the first key TK1, step S420 It may include: to encrypt the initial information first key TK1, and send institute for the encrypted initial information State server;
Step S430, each prefixed time interval sends current location information to the server, so that the server The current location at a distance from the traffic intersection within a preset range, to the signal control device send traffic let pass Instruction, so that the vehicle passes through the traffic intersection, after the vehicle passes through the traffic intersection, to the signal control Device processed sends traffic and restores instruction, so that the signal control device carries out the control of traffic lights according to preset rules.
If the current location information that the on board unit is sent to server is encrypted with the first key TK1, step S430 may include: to encrypt the current location information with the first key to obtain encrypted location information, each pre- If time interval sends the encrypted current location information to the server.
Traffic data processing method provided in an embodiment of the present invention, by constantly obtaining the current location information of vehicle, and According to the traffic route of the current location information and vehicle, come judge vehicle at that time whether exterior traffic crossing, if reached, Then the signal control device sends traffic clearance instruction, so that the vehicle passes through the traffic intersection, when vehicle passes through road After mouthful, traffic is sent to the signal control device and restores instruction, so that the signal control device is carried out according to preset rules The control of traffic lights, this mode are conducive to the arrival scene of special vehicle quickly, safe, execute task;And due to Information of vehicles and traffic route are stored in server, are advantageously implemented monitoring and management to vehicle.Further, Ke Yitong It crosses between server and on board unit, server and signal control device and establishes exit passageway, complete the safe transmission of data.
Fig. 7 shows a kind of flow chart of data processing method of third embodiment of the invention offer, referring to Fig. 7, this Embodiment describes the process flow of signal control device, which comprises
Step S510 establishes interface channel with server.
Referring to Fig. 8, the step S510 may include:
Step S511, it is random to generate third data, the 4th will be obtained after the default hash algorithm operation of the third data Data.
Step S512 obtains after being encrypted the third data and the 4th data with the second preset-key Two encryption datas, and it is sent to the server.
Step S513 receives the 4th encryption data that the server is sent, and the 4th encryption data is pre- with second If obtaining the 4th ciphertext data after key decryption, the 4th ciphertext data includes the second random number and the 4th Hash number.
Step S514 obtains the 6th Hash number after second random number is carried out Hash operation with default hash algorithm, When the 4th Hash number is consistent with the 6th Hash number, the signal control device and the server establish interface channel.
It is understood that the embodiment party of the step S411 to step S414 in the embodiment and a upper embodiment Formula is not described in more detail here.
It is understood that can also be by the third data and second random number using default in the present embodiment Hash algorithm obtains the second key after carrying out Hash operation, and the subsequent communication with server also use Encryption Algorithm into Row encryption, and send encrypted data.
Step S520 receives the traffic clearance instruction that the server is sent, the control of traffic lights is carried out, so that vehicle Pass through the traffic road.
Step S520 may include: the encrypted clearance instruction for receiving the server and sending, will be described encrypted Instruction of letting pass is decrypted with second key, obtains traffic clearance instruction.
Step S530 receives the traffic that the server is sent and restores instruction, carries out traffic lights according to preset rules Control.
Wherein the preset rules refer to traffic pass-through rule preset in original traffic lights.
The step S530 may include: the encrypted recovery instruction for receiving the server and sending, by the encryption Recovery instruction afterwards is decrypted with second key, is obtained traffic and is restored instruction.
Traffic data processing method provided in an embodiment of the present invention, by constantly obtaining the current location information of vehicle, and According to the traffic route of the current location information and vehicle, come judge vehicle at that time whether exterior traffic crossing, if reached, Then the signal control device sends traffic clearance instruction, so that the vehicle passes through the traffic intersection, when vehicle passes through road After mouthful, traffic is sent to the signal control device and restores instruction, so that the signal control device is carried out according to preset rules The control of traffic lights, this mode are conducive to the arrival scene of special vehicle quickly, safe, execute task;And due to Information of vehicles and traffic route are stored in server, are advantageously implemented monitoring and management to vehicle.Further, Ke Yitong It crosses between server and on board unit, server and signal control device and establishes exit passageway, complete the safe transmission of data.
Referring to Fig. 9, being the functional block diagram of traffic data processing apparatus 210 provided in an embodiment of the present invention.Institute It states traffic data processing apparatus 210 and runs on the server 200.The traffic data processing apparatus 210 includes the first connection Unit 211, the first receiving unit 212, the first transmission unit 213.
First connection unit 211, for establishing interface channel on board unit and signal control device respectively;
First receiving unit 212, the initial information sent for receiving and storing the on board unit are described initial Information includes information of vehicles and traffic route;Receive the present bit confidence that the on board unit is sent every prefixed time interval Breath;
First transmission unit 213, for the current location when the vehicle pre- at a distance from the traffic intersection If in range, traffic clearance instruction is sent to the signal control device, so that the vehicle passes through the traffic intersection;Work as institute Vehicle is stated by traffic being sent to the signal control device and restoring instruction, so that the signal control after the traffic intersection Device processed carries out the control of traffic lights according to preset rules.
Above each module can be by software code realization, can also equally be realized by hardware such as IC chip.
Referring to Fig. 1, the embodiment of the invention provides a kind of traffic data processing system, the system comprises server, On board unit and signal control device.
The server 200, for establishing interface channel on board unit 100 and signal control device 300 respectively;It receives And the initial information that the on board unit 100 is sent is stored, the initial information includes information of vehicles and traffic route;It receives The current location information that the on board unit 100 is sent every prefixed time interval;When the vehicle current location with it is described The distance of traffic intersection sends traffic clearance instruction within a preset range, to the signal control device 300;When the vehicle is logical It crosses after the traffic intersection, sends traffic to the signal control device 300 and restore instruction.
The on board unit 100, for establishing interface channel with server 200;Initial letter is sent to the server 200 Breath, the initial information includes information of vehicles and traffic route;Each prefixed time interval is worked as to the server 200 transmission Front position information.
The signal control device 300, for establishing interface channel with server 200;The server 200 is received to send Traffic let pass instruction, carry out the control of traffic lights so that vehicle pass through the traffic road;Receive the server 200 The traffic of transmission restores instruction, and the control of traffic lights is carried out according to preset rules.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
The technical effect of traffic data processing apparatus provided by the embodiment of the present invention, realization principle and generation and aforementioned Embodiment of the method is identical, and to briefly describe, Installation practice part does not refer to place, can refer to corresponding in preceding method embodiment Content.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server-side or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access The various media that can store program code such as memory (RAM, Random Access Memory), magnetic or disk.It needs It is noted that herein, relational terms such as first and second and the like are used merely to an entity or operation It is distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation, there are any this Actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, article or equipment for including a series of elements not only includes those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, article or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method, article or equipment of element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. a kind of traffic data processing method, which is characterized in that the described method includes:
Interface channel is established on board unit and signal control device respectively;
The initial information that the on board unit is sent is received and stored, the initial information includes information of vehicles and roadway Line;
Receive the current location information that the on board unit is sent every prefixed time interval;
When the current location of the vehicle at a distance from the traffic intersection within a preset range, to the signal control device send out Logical instruction of letting pass is delivered, so that the vehicle passes through the traffic intersection;
After the vehicle passes through the traffic intersection, traffic is sent to the signal control device and restores instruction, so that institute State the control that signal control device carries out traffic lights according to preset rules;
Wherein, interface channel is established on board unit and signal control device respectively, comprising:
The first encryption data that the on board unit is sent and the second encryption that the signal control device is sent are received respectively Data;
It decrypts first encryption data to obtain the first ciphertext data with the first preset-key respectively, by the second encryption number Decrypt to obtain the second ciphertext data according to the second preset-key, first encryption data includes the first data and the second number According to second ciphertext data includes third data and the 4th data;
The first Hash number is obtained after first data are carried out Hash operation with default hash algorithm, when the first Hash number When consistent with second data, generate the first random number, and with by the first random number default hash algorithm into The second Hash number is obtained after row Hash operation, and first random number and the second Hash number are encrypted with the first preset-key After obtain third encryption data, send third encryption data to the on board unit so that the on board unit receive it is described It is verified after third encryption data, when verifying is completed, then the on board unit and the server establish interface channel;
Third Hash number is obtained after the third data are carried out Hash operation with default hash algorithm, when the third Hash number When consistent with the 4th data, generate the second random number, and with by the second random number default hash algorithm into The 4th Hash number is obtained after row Hash operation, and second random number and the 4th Hash number are encrypted with the second preset-key After obtain the 4th encryption data, to the signal control device send the 4th encryption data so that the signal control device connects It is verified after receiving the 4th encryption data, when verifying is completed, then the signal control device and the server are established Interface channel.
2. the method according to claim 1, wherein the method also includes: by first data and institute It states after the first random number carries out Hash operation using default hash algorithm and obtains first key;
The initial information for receiving the on board unit and sending, comprising: receive the on board unit and added with the first key Initial information after close;The encrypted initial information is decrypted with the first key, obtains the initial information;
The current location information for receiving the on board unit and being sent every prefixed time interval, comprising: receive described vehicle-mounted Unit every prefixed time interval send with the encrypted current location information of the first key;Encrypted work as described Front position information obtains current location information after being decrypted with the first password.
3. the method according to claim 1, wherein the method also includes: by the third data and institute It states after the second random number carries out Hash operation using default hash algorithm and obtains the second key;
It is described to send traffic clearance instruction to the signal control device, comprising:
The traffic is let pass to instruct and is encrypted with second key, encrypted clearance instruction is obtained;By the encryption Clearance instruction afterwards is sent to the signal control device, so that the signal control device is decrypted with second key, obtains Obtain the traffic clearance instruction;
It is described to send traffic recovery instruction to the signal control device, comprising:
The traffic is restored instruction to be encrypted with second key, obtains encrypted recovery instruction;By the encryption Recovery instruction afterwards is sent to the signal control device, so that the signal control device is decrypted with second key, obtains It obtains the traffic and restores instruction.
4. a kind of traffic data processing method, which is characterized in that the described method includes:
Interface channel is established with server;
Initial information is sent to the server, the initial information includes information of vehicles and traffic route;
Each prefixed time interval sends current location information to the server, so that the server is in the current location With at a distance from the traffic intersection within a preset range, to the signal control device send traffic let pass instruction so that described Vehicle is sent to the signal control device and is handed over after the vehicle passes through the traffic intersection by the traffic intersection It is logical to restore instruction, so that the signal control device carries out the control of traffic lights according to preset rules;
Wherein, interface channel is established with server, comprising:
The first encryption data sent to the server;So that the server is respectively by first encryption data with first Preset-key is decrypted to obtain the first ciphertext data, and first encryption data includes the first data and the second data;So that institute It states after first data are carried out Hash operation with default hash algorithm by server and obtains the first Hash number, when first Kazakhstan When uncommon several consistent with second data, the first random number is generated, and calculated with by the first random number default Hash Method obtains the second Hash number after carrying out Hash operation, and first random number and the second Hash number are carried out with the first preset-key Third encryption data is obtained after encryption, sends third encryption data to the on board unit;
It is verified after receiving the third encryption data, when verifying is completed, then the on board unit is built with the server Vertical interface channel.
5. according to the method as claimed in claim 4, which is characterized in that described to establish interface channel with server, comprising: with Machine generates the first data, will obtain the second data after the default hash algorithm operation of first data;By first data And second data encrypted with the first preset-key after obtain the first encryption data, and be sent to the server;It receives The third encryption data that the server is sent obtains third solution after decrypting the third encryption data with the first preset-key Ciphertext data, the third ciphertext data include the first random number and the second Hash number;By the default Hash of first random number Algorithm obtains the 5th Hash number after carrying out Hash operation, described vehicle-mounted when the 5th Hash number is consistent with the second Hash number Unit and the server establish interface channel;
The method also includes: first data and first random number are subjected to Hash fortune using default hash algorithm First key is obtained after calculation;
It is described to send initial information to the server, comprising: to encrypt the initial information first key, and by institute It states encrypted initial information and is sent to the server;
Each prefixed time interval sends current location information to the server, comprising: by the current location information It is encrypted to obtain encrypted location information with the first key, each prefixed time interval sends described add to the server Current location information after close.
6. a kind of traffic data processing method, which is characterized in that the described method includes:
Interface channel is established with server;
The traffic clearance instruction that the server is sent is received, the control of traffic lights is carried out, so that vehicle passes through the friendship Access;
It receives the traffic that the server is sent and restores instruction, the control of traffic lights is carried out according to preset rules;
Wherein, establishing interface channel with server includes:
The second encryption data sent to the server, so that the server presets second encryption data with second Key is decrypted to obtain the second ciphertext data, and second ciphertext data includes third data and the 4th data;So that the clothes Business device obtains third Hash number after the third data are carried out Hash operation with default hash algorithm, when the third Hash number When consistent with the 4th data, generate the second random number, and with by the second random number default hash algorithm into The 4th Hash number is obtained after row Hash operation, and second random number and the 4th Hash number are encrypted with the second preset-key After obtain the 4th encryption data, to the signal control device send the 4th encryption data;
It is verified after receiving the 4th encryption data, when verifying completion, the then signal control device and the service Device establishes interface channel.
7. according to the method described in claim 6, it is characterized in that, establishing interface channel with server, comprising: generate at random Three data will obtain the 4th data after the default hash algorithm operation of the third data;By the third data and the 4th Data obtain the second encryption data after being encrypted with the second preset-key, and are sent to the server;Receive the service The 4th encryption data that device is sent obtains the 4th ciphertext data after decrypting the 4th encryption data with the second preset-key, 4th ciphertext data includes the second random number and the 4th Hash number;Second random number is carried out with default hash algorithm The 6th Hash number is obtained after Hash operation, when the 4th Hash number is consistent with the 6th Hash number, the signal control device Interface channel is established with the server;
The method also includes: the third data and second random number are subjected to Hash fortune using default hash algorithm The second key is obtained after calculation;
The traffic clearance instruction for receiving the server and sending, comprising: receive encrypted the putting of the server transmission Row instructs, and the encrypted clearance instruction second key is decrypted, and acquisition traffic, which is let pass, to be instructed;
The traffic recovery instruction for receiving the server and sending, comprising: receive the encrypted extensive of the server transmission The encrypted recovery instruction second key is decrypted, obtains traffic and restore instruction by multiple instruction.
8. a kind of traffic data processing apparatus, which is characterized in that described device includes:
First connection unit, for establishing interface channel on board unit and signal control device respectively;
First receiving unit, the initial information sent for receiving and storing the on board unit, the initial information includes vehicle Information and traffic route;Receive the current location information that the on board unit is sent every prefixed time interval;
First transmission unit, for when the vehicle current location at a distance from the traffic intersection within a preset range, to The signal control device sends traffic clearance instruction, so that the vehicle passes through the traffic intersection;When the vehicle passes through After the traffic intersection, to the signal control device send traffic restore instruction so that the signal control device according to The control of preset rules progress traffic lights;
Wherein, the first connection unit is specifically used for:
The first encryption data that the on board unit is sent and the second encryption that the signal control device is sent are received respectively Data;
It decrypts first encryption data to obtain the first ciphertext data with the first preset-key respectively, by the second encryption number Decrypt to obtain the second ciphertext data according to the second preset-key, first encryption data includes the first data and the second number According to second ciphertext data includes third data and the 4th data;
The first Hash number is obtained after first data are carried out Hash operation with default hash algorithm, when the first Hash number When consistent with second data, generate the first random number, and with by the first random number default hash algorithm into The second Hash number is obtained after row Hash operation, and first random number and the second Hash number are encrypted with the first preset-key After obtain third encryption data, send third encryption data to the on board unit so that the on board unit receive it is described It is verified after third encryption data, when verifying is completed, then the on board unit and the server establish interface channel;
Third Hash number is obtained after the third data are carried out Hash operation with default hash algorithm, when the third Hash number When consistent with the 4th data, generate the second random number, and with by the second random number default hash algorithm into The 4th Hash number is obtained after row Hash operation, and second random number and the 4th Hash number are encrypted with the second preset-key After obtain the 4th encryption data, to the signal control device send the 4th encryption data so that the signal control device connects It is verified after receiving the 4th encryption data, when verifying is completed, then the signal control device and the server are established Interface channel.
9. a kind of traffic data processing system, which is characterized in that the system comprises server, on board unit and signal control dress It sets,
The server, for establishing interface channel on board unit and signal control device respectively;Receive and store the vehicle The initial information that carrier unit is sent, the initial information includes information of vehicles and traffic route;It is every to receive the on board unit Every the current location information that prefixed time interval is sent;When the current location of the vehicle at a distance from the traffic intersection pre- If in range, sending traffic clearance instruction to the signal control device;After the vehicle passes through the traffic intersection, to The signal control device sends traffic and restores instruction;
The on board unit, for establishing interface channel with server;Initial information, the initial letter are sent to the server Breath includes information of vehicles and traffic route;Each prefixed time interval sends current location information to the server;
The signal control device, for establishing interface channel with server;The traffic clearance that the server is sent is received to refer to It enables, carries out the control of traffic lights, so that vehicle passes through the traffic intersection;The traffic that the server is sent is received to restore Instruction carries out the control of traffic lights according to preset rules;
Wherein, the server, for establishing interface channel on board unit and signal control device respectively, specifically: respectively Receive the first encryption data that the on board unit is sent and the second encryption data that the signal control device is sent;
It decrypts first encryption data to obtain the first ciphertext data with the first preset-key respectively, by the second encryption number Decrypt to obtain the second ciphertext data according to the second preset-key, first encryption data includes the first data and the second number According to second ciphertext data includes third data and the 4th data;
The first Hash number is obtained after first data are carried out Hash operation with default hash algorithm, when the first Hash number When consistent with second data, generate the first random number, and with by the first random number default hash algorithm into The second Hash number is obtained after row Hash operation, and first random number and the second Hash number are encrypted with the first preset-key After obtain third encryption data, send third encryption data to the on board unit so that the on board unit receive it is described It is verified after third encryption data, when verifying is completed, then the on board unit and the server establish interface channel;
Third Hash number is obtained after the third data are carried out Hash operation with default hash algorithm, when the third Hash number When consistent with the 4th data, generate the second random number, and with by the second random number default hash algorithm into The 4th Hash number is obtained after row Hash operation, and second random number and the 4th Hash number are encrypted with the second preset-key After obtain the 4th encryption data, to the signal control device send the 4th encryption data so that the signal control device connects It is verified after receiving the 4th encryption data, when verifying is completed, then the signal control device and the server are established Interface channel.
CN201610626517.0A 2016-08-02 2016-08-02 Traffic data processing method, apparatus and system Active CN106205157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610626517.0A CN106205157B (en) 2016-08-02 2016-08-02 Traffic data processing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610626517.0A CN106205157B (en) 2016-08-02 2016-08-02 Traffic data processing method, apparatus and system

Publications (2)

Publication Number Publication Date
CN106205157A CN106205157A (en) 2016-12-07
CN106205157B true CN106205157B (en) 2019-01-25

Family

ID=57497079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610626517.0A Active CN106205157B (en) 2016-08-02 2016-08-02 Traffic data processing method, apparatus and system

Country Status (1)

Country Link
CN (1) CN106205157B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652500A (en) * 2017-01-05 2017-05-10 湖南金环交通设施市政建设有限公司 Guard route traffic signal lamp automatic control system
CN107424424A (en) * 2017-01-22 2017-12-01 斑马信息科技有限公司 The DAS (Driver Assistant System) and auxiliary driving method and vehicle of Chinese herbaceous peony road conditions based on vehicle
CN107507437B (en) * 2017-08-18 2020-01-31 攀枝花学院 Rescue vehicle priority passing system and method
CN108091149A (en) * 2017-11-06 2018-05-29 华为技术有限公司 The dispatching method and device of a kind of emergency vehicle
CN108986490A (en) * 2018-08-27 2018-12-11 杨森彪 A kind of method and system for supporting special purpose vehicles barrier free accessibility
CN109523646A (en) * 2018-11-19 2019-03-26 深圳如果技术有限公司 A kind of Vehicular intelligent passing method and system
CN111260916A (en) * 2018-11-30 2020-06-09 广州慧睿思通信息科技有限公司 Intelligent traffic regulation and control method and system
CN113053144A (en) * 2019-12-27 2021-06-29 宇龙计算机通信科技(深圳)有限公司 Traffic dispersion method, device, server and storage medium
CN111462507B (en) * 2020-02-28 2022-09-23 平安国际智慧城市科技股份有限公司 Signal data processing method, system, computer device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103035129A (en) * 2012-12-19 2013-04-10 江苏省智通交通科技有限公司 Special vehicle signal priority control method based on global position system (GPS)
EP2618320A1 (en) * 2012-01-19 2013-07-24 Siemens Aktiengesellschaft Traffic management system for clearing paths for an emergency vehicle
CN104064042A (en) * 2014-07-02 2014-09-24 重庆市城投金卡信息产业股份有限公司 Intelligent traffic management method and intelligent traffic management system supporting emergency rescue
CN105321364A (en) * 2015-11-23 2016-02-10 上海汽车集团股份有限公司 Privileged vehicle passage method, device and system
CN105513382A (en) * 2016-01-27 2016-04-20 宇龙计算机通信科技(深圳)有限公司 Vehicle warning processing method, server and system
JP2016110413A (en) * 2014-12-08 2016-06-20 三洋テクノソリューションズ鳥取株式会社 Traffic control system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2618320A1 (en) * 2012-01-19 2013-07-24 Siemens Aktiengesellschaft Traffic management system for clearing paths for an emergency vehicle
CN103035129A (en) * 2012-12-19 2013-04-10 江苏省智通交通科技有限公司 Special vehicle signal priority control method based on global position system (GPS)
CN104064042A (en) * 2014-07-02 2014-09-24 重庆市城投金卡信息产业股份有限公司 Intelligent traffic management method and intelligent traffic management system supporting emergency rescue
JP2016110413A (en) * 2014-12-08 2016-06-20 三洋テクノソリューションズ鳥取株式会社 Traffic control system
CN105321364A (en) * 2015-11-23 2016-02-10 上海汽车集团股份有限公司 Privileged vehicle passage method, device and system
CN105513382A (en) * 2016-01-27 2016-04-20 宇龙计算机通信科技(深圳)有限公司 Vehicle warning processing method, server and system

Also Published As

Publication number Publication date
CN106205157A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106205157B (en) Traffic data processing method, apparatus and system
EP3286870B1 (en) Random cipher pad cryptography
US20200082333A1 (en) Delivery method, device, unmanned vehicle and computer readable storage medium
CN104935593B (en) The transmission method and device of data message
CN106375390B (en) Data transmission method, system and its apparatus in a kind of Internet of Things
CN104917787A (en) File secure sharing method and system based on group key
CN111178884A (en) Information processing method, device, equipment and readable storage medium
CN107968707B (en) Method and system for classified storage of secret keys
CN104253801A (en) Method, device and system for realizing login authentication
CN106487659A (en) Information ciphering method and device, information decryption method and device and terminal
CN105307160A (en) Data transmission method and device by use of Wi-Fi network
CN103746815A (en) Secure communication method and device
KR20180136625A (en) The CCTV monitoring system by certifying security system with mixed quantum random numbers and pseudo random numbers
CN108141353B (en) Method and equipment for upgrading cryptographic algorithm
CN104935433A (en) Secret key-hopping method during communication process, communication device and communication system
CN103354637B (en) A kind of internet-of-things terminal M2M communication encrypting method
CN106682459A (en) Information safety device production method, information safety device production equipment and information safety device production system
CN104281415A (en) Data processing method and device for air conditioner
CN111786987B (en) Task issuing method, device, system and equipment
CN113259901A (en) Message protection method and device for Internet of vehicles
CN105279443A (en) Picture encrypting and decrypting methods and devices
KR20180136641A (en) How to certify the claude quantum security with transferring technology of one-side quantum random number codes
CN103650457A (en) Detection method, device and terminal device of share access
CN103795549B (en) Communication content encryption and decryption method and encryption management method based on CS mode
CN114039771A (en) Data processing method, device and system, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant