Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment andTechnical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application oneSection Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doingEvery other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
In one or more embodiments in the present specification, the method for data processing be can be applied in car networking systemThe processing of any one data.
Specifically, the car networking data can be the driving meaning of for example each car-mounted terminal in any car networking systemThe information for interaction such as figure, driving environment, classifying rules can be preset by designer.Such as it can be joined according to vehicleFunction possessed by network data is classified;Corresponding, the vehicle network data can be used to indicate that the coordinate data of position,Length, area, speed, weight etc. be can be for indicating the data of things quantative attribute.Car networking data can be according to vehicleThe form of expression of network data is classified;Corresponding, it is digital that the vehicle network data can be statistical data and metric data etc.Data are also possible to graph data (such as point, line, surface), symbol data, lteral data and image data analogue data.
In further embodiments, intrinsic information can be the lower information of change frequency in car networking system, can beThe hardware attributes information of road measuring device, cloud platform or car-mounted terminal in car networking system, typically directly local storage is arrived in storageIn, quickly to read or to call, and achieve the purpose that verification.
In one or more embodiments of this specification, frame as shown in Figure 1 is can be used in the data processing methodStructure.In the framework, the car networking platform passes through standard interface or custom interface in the form of cloud serverThere is provided service with car-mounted terminal and road measuring device, itself can have the function of it is a variety of conventional, for example, high accuracy positioning, 5G/LET-V communication, vehicle control, over the air (Over-the-Air Technology, OTA) etc..
The car networking platform includes such as secure subsystem, O&M subsystem, cloud computing subsystem, data fusionSystem, service application subsystem etc. do not have to functional subsystem with support basic platform realize data fusion, storage, user authentication andThe service functions such as authorization, Data Audit and protection, and pass through the cloud computings energy such as message queue, cache, load balancingPower provides monitoring and early warning, traffic control, service of the traveling etc. of forming into columns to car-mounted terminal, to realize that such as vehicle is shared, in terms of premiumThe functions such as calculation, intelligence maintenance.
The car-mounted terminal can be provided unique identification by car networking platform to carry out authentication (for example, by platformAs the ITU-TX.509 certificate signing and issuing mechanism and issuing, in conjunction with vehicle identification code (Vehicle IdentificationNumber, VIN)), specific data acquisition modes, data communication mode, communication protocol etc. in the art more atRipe, details are not described herein again.
The road measuring device can be the terminal in car networking system except car-mounted terminal and cloud platform, can set in measurement equipmentIt is equipped with wireless connection device, for carrying out data interaction with cloud platform or car-mounted terminal;Specifically, road measuring device can be set inIt is needed in vehicle travel process by region, to guarantee the stability of the connection signal between road measuring device and car-mounted terminal.ShowExample property, road measuring device can send data broadcasting to the car-mounted terminal under institute's coverage area.
The data processing method for being used for car networking system is provided in this specification embodiment, can be set by cloud platform, drive testStandby and car-mounted terminal executes jointly, can as shown in Fig. 2, specifically includes the following steps:
Step S201: the data category of car networking data and the car networking data is obtained.
Specifically, the executing subject of data processing method described in the present embodiment can be car networking platform, vehicle-mountedAny one in terminal and road measuring device.Illustratively, it is unfolded to illustrate using car-mounted terminal as executing subject.
Car-mounted terminal can be established during obtaining vehicle network data with the outlet terminal of the car networking data firstConnection, connection type can be cellular radio Communication or by WIFI connections.
The data category can be determined according to the data category identification code of car networking data.
Step S203: from preset priority factor allocation list, according to data category determination and the data classThe priority factor not matched.
Priority factor is used for from operation performance, efficiency, safety etc. expression car networking data in car networking systemIn emergency and importance.For example, priority factor can be including environmentally friendly coefficient, the coefficient of performance and safety coefficient.PreferentiallyGrade coefficient allocation list is used to record the mapping relations of data category and priority factor, and then is determined preferentially according to the mapping relationsGrade coefficient.
Step S205: the transmission sequence priority of the car networking data is determined according to the priority factor.
Optionally, the setting of priority factor can be set according to concrete scene.
Illustratively, the numerical value of the priority factor is higher, then it represents that the significance level of the car networking data and/or tightAnxious degree is higher, then car networking data described in prioritised transmission.The transmission sequence priority can be understood as car networking numberAccording to a kind of form of expression of transmission sequence.
Step S207: according to car networking data described in the transmission sequence priority transmission.
In the present embodiment, the transmission sequence priority is used to provide ginseng for channel occupied by transmission vehicle networking dataIt examines.Illustratively, when the car networking data be automobile turn signal when, corresponding to priority factor be 8, then its is rightThe transmission sequence priority answered is the first priority, then distributes idle channel and prioritised transmission at this time for turn signal.
The data processing side for car networking system provided on the basis of the above embodiments in this specification embodimentMethod, as shown in figure 3, specifically includes the following steps:
Step S300: real time status information corresponding with the car networking data is obtained.
The real time status information, can be that the change frequency in car networking system is higher and the information of real-time change.ToolBody, during car networking system running, the real time status information inscribed when each is different from, and then in real time based on thisThe dynamic key that status information obtains is not also identical, to ensure that the flexible generation of dynamic key.
Wherein, the real time status information include but is not limited to intelligent automobile in car networking system real-time movement speed,Real time position, current mileage number, the humidity of institute's track and coefficient of friction, steering angle of wheel, engine speed and currentMoment.
Step S302: dynamic key is generated according to the real time status information.
Wherein, the dynamic key and the real time status information are corresponding.The dynamic key is used to join the vehicleNetwork data realizes dynamic encryption.
Step S304: the data category of car networking data and the car networking data is obtained.
Data category described in the present embodiment is preset by developer, and specific rules can be based on specific usage scenarioIt is set, for example, can be set according to the delay serious forgiveness and packet loss serious forgiveness of vehicle network data transmission process.
Step S306: from preset priority factor allocation list, according to data category determination and the data classThe priority factor not matched;Wherein, the priority factor includes environmentally friendly coefficient, the coefficient of performance and safety coefficient.
Wherein, the environmentally friendly coefficient for indicate the data to using energy source, to from the relevant influence degree of thermal environment institute;The coefficient of performance is used to indicate the data to the influence degree of the aspect of performance such as such as vehicle driving, data transmission;Safety coefficient is usedIn the expression data to the influence degree of passenger's personal safety, data transmission security etc..It can be with coupling collar in the present embodimentProtect the priority of coefficient, the coefficient of performance and safety coefficient assessment of data.
Step S308: according to the environmentally friendly coefficient, the coefficient of performance, safety coefficient and weight corresponding with each coefficientValue, calculates the priority assessed value.
Specifically, the weighted value is arranged according to the influence degree of each priority.Influence degree is bigger, corresponding weighted valueIt is bigger;Influence degree is smaller, and corresponding weighted value is smaller.
1 signal score value evaluation form of table
2 priority level of table defines table
Illustratively, as shown in table 1, the weighted value of environmentally friendly coefficient can be can be set to 2, the weighted value of the coefficient of performance3 are set as, the weighted value of safety coefficient is set as 5.As shown in table 2, N is priority factor.Corresponding, priority level can divideIt is four, by taking vehicle network data is turn signal as an example, turn signal is the delay serious forgiveness and lower data of packet loss serious forgiveness,Its basic score value is 8 points, and environmentally friendly coefficient is set as 0, and the coefficient of performance is set as 3, and the coefficient of performance is set as 3, then its is corresponding excellentFirst grade assessed value is Y=8+0 × 2+3 × 3+5 × 3=32 points, and according to the definition of table 2, transmission sequence priority should be the 1stGrade.
In another example by car networking data be voice signal for, voice signal be delay serious forgiveness and packet loss serious forgiveness compared withHigh data, basic score value are 1 point, and environmentally friendly coefficient and safety coefficient are disposed as 0, and the coefficient of performance is set as 2, to safety without shadowIt rings, clearing score value is Y=1+0 × 2+3 × 2+5 × 0=7, and according to the definition of table 2, then its transmission sequence priority can determineThe 4th grade of position.
Step S310: the transmission sequence priority of the car networking data is determined according to the priority assessed value.
Continue to be unfolded to describe to above-described embodiment, transmission sequence priority is lower, then requires to transmit the car networking dataReal-time it is lower;Transmission sequence priority is higher, it is desirable that the real-time for transmitting the car networking data is higher, needs preferentially to passIt is defeated.Corresponding, turn signal is prior to transmitting voice signal.
Step S312: according to the transmission sequence priority, and it is dynamic to the car networking data using the dynamic keyState is encrypted and is transmitted.
Illustratively, car-mounted terminal in the process of moving, can historical data to vehicle, fix information, driving information,Bus message is grouped coding, and forms buffering of packets queue according to data category, and the highest data of current priority are passedEnter double-port RAM (dual-port random access memory, DPRAM), SOC chip is obtained by DPRAMData be packaged arbitration, different transmission sequences is assigned to by scheduling mechanism after encryption, carries out signal transmission.Likewise, rightThe signal received, data pass through queue, and by decryption, DPRAM is passed in arbitration back again after unpacking, for the reading of embedded main systemIt takes.Further, which also provides GPIO (General Purpose Input Output) and terrestrial wireless access sideFormula (Umts Terrestrial Radio Access, UTRA) is read and transmission data.
Alternatively, before the data category of acquisition car networking data and the car networking data, further includes: according to pre-The intrinsic information deposited and the output end of the car networking data are verified for the first time;Wherein, the intrinsic information includes but unlimitedIt is numbered in vehicle frame number, the dynamical system of intelligent automobile in car networking system, the terminal software number of intelligent automobile car-mounted terminal,Hardware version numbers;If verifying for the first time successfully, historical data is sent to the outlet terminal of the car networking data, so that the vehicleThe outlet terminal of networking data carries out secondary verification to the historical data;If secondary verify successfully, with the car networking numberAccording to output end establish connection.If for the first time verification failure or secondary verification fail, not with the output end of the car networking dataEstablish connection.
The present embodiment can be based on intrinsic information and historical information, to car networking before transmitting the car networking dataConnection between data input pin and output end carries out secondary verification.Wherein, the secondary verification can be understood as " school againTest ", verification number can be greater than 2, that is, can based on other information either statically or dynamically to car networking data input pin andConnection between output end is verified, to guarantee the safety of data transmission.
In further embodiments, it can be completed for car networking private network connection and feature, a variety of methods of calibration of propositionVerification to data interaction both ends.Optionally, the verification operation can by car networking system cloud platform, car-mounted terminal andRoad measuring device mutually cooperates with completion.
For example, the cloud platform can use preset motion model or picture depth recognition methods, and it is based on vehicle-mounted endEnd, the intrinsic information of road measuring device and historical information carry out plausibility check.Optionally, when cloud platform utilizes motion model to vapourThe acceleration request that vehicle terminal issues is when being verified, cloud platform can according to the initial velocity of automobile, can travel safe distance plusThe acceleration value carried in speed request, and plausibility check is carried out to the acceleration request based on preset motion model, and then sentenceIt is disconnected whether to execute the assisted instruction.
Based on above content, in practical applications, a complete flow chart of data processing can be as follows, specifically includes following stepIt is rapid:
Step S401: car-mounted terminal powers on and establishes connection, is verified according to the registration information of fix information.Verification is logicalLater dynamic key is generated, and carries out encryption communication using the dynamic key.
Step S403: car-mounted terminal compares data such as vehicle historical data, including vehicle operation data, image, video etc.,Both sides' validation-cross timestamp or Hash table, server distributes key, terminal check key if data and timestamp are coincideAfter information, secondary encryption carries out information transmission.
Step S405: car-mounted terminal carries out priority to various vehicles, environmental data according to vehicle message, by allocation listEvaluation is grouped packing according to priority, while unpacking to the data received, completes the interaction of data efficient.
Step S407: car-mounted terminal, cloud platform and road measuring device collaboration verification data, cloud platform is according to car-mounted terminal, roadThe data such as measurement equipment do plausibility check with motion model and picture depth identification, if there is unreasonable attack is then made rationallyMovement, the dynamic generation key if through verifying carry out dynamic encryption transmission.
Step S409: car-mounted terminal carries out the data packet of vehicle by SOC (System on Chip) device of customizationReal Time Compression/decompression, encryption/decryption etc. meet the real-time encrypted transmission demand of data.
Step S411: car-mounted terminal data are handed over after upper layer is handled using firewall with cloud platform, road measuring deviceMutual data.
The above are several embodiments of data processing method provided by the present application, are based on same thinking, and the application also mentionsThe embodiment of data processing equipment is supplied, as shown in figure 4, this specification embodiment is also provided at the data for car networking systemDevice is managed, described device includes:
Car networking data acquisition module 501 obtains the data category of car networking data and the car networking data;
Priority factor obtains module 502, from preset priority factor allocation list, is obtained according to the data categoryThe priority factor to match with the data category;
Determining module 503 determines the transmission sequence priority of the car networking data according to the priority factor;
Transmission module 504, according to car networking data described in the transmission sequence priority transmission.
On the basis of the above embodiments, the priority factor includes environmentally friendly coefficient, the coefficient of performance and safety coefficient;
Corresponding, the determining module is distinguished according to the environmentally friendly coefficient, the coefficient of performance, safety coefficient and with each coefficientCorresponding weighted value calculates the priority assessed value;The biography of the car networking data is determined according to the priority assessed valueDefeated order priority.
On the basis of the above embodiments, the data processing equipment further include: real time status information obtains module, obtainsReal time status information corresponding with the car networking data;It is close to generate dynamic according to the real time status information for generation moduleKey;It is corresponding, the transmission module, according to the transmission sequence priority, and using the dynamic key to the car networkingData dynamic encryption is simultaneously transmitted.
On the basis of the above embodiments, the real time status information includes but is not limited to intelligent automobile in car networking systemReal-time movement speed, real time position, current mileage number, the humidity of institute's track and coefficient of friction, steering angle of wheel, hairMotivation revolving speed and current time.
On the basis of the above embodiments, the data processing equipment, further includes:
Correction verification module is verified for the first time according to the intrinsic information prestored and the output end of the car networking data;Wherein,The intrinsic information includes but is not limited to the vehicle frame number of intelligent automobile in car networking system, dynamical system number, intelligent automobileTerminal software number, the hardware version numbers of car-mounted terminal;
Secondary correction verification module sends historical data to the outlet terminal of the car networking data if verifying for the first time successfully,So that the outlet terminal of the car networking data carries out secondary verification to the historical data;
Link block establishes connection with the output end of the car networking data if secondary verify successfully.
On the basis of the above embodiments, the data processing equipment, further includes:
Connection shelve module, if for the first time verification failure or secondary verification fail, not with the output of the car networking dataConnection is established at end.
In addition, this specification embodiment is also providing the data processing method equipment for being used for car networking system, comprising:
Memory, storing data processing routine;
Communication interface receives the acquisition request of car networking data;
Processor calls the data stored in memory after the acquisition request that communication interface receives car networking dataProcessing routine, and execute:
Obtain the data category of car networking data and the car networking data;
From preset priority factor allocation list, matched according to data category determination with the data categoryPriority factor;
The transmission sequence priority of the car networking data is determined according to the priority factor;
According to car networking data described in the transmission sequence priority transmission.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodimentDividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,For equipment and medium class embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related placeIllustrate referring to the part of embodiment of the method, just no longer repeats one by one here.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claimsIt is interior.In some cases, the movement or step recorded in detail in the claims or module can be according to different from embodimentsSequence executes and still may be implemented desired result.In addition, process depicted in the drawing is not necessarily required and is shownParticular order or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processingIt is also possible or may be advantageous.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).SoAnd with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.CauseThis, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable GateArray, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designerVoluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip makerDedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolledVolume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(RubyHardware Description Language) etc., VHDL (Very-High-Speed is most generally used at presentIntegrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answerThis understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processingThe computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor canRead medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontrollerDevice: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are depositedMemory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition toPure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logicController is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in itThe device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functionsFor either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be usedThink personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media playIt is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipmentThe combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing thisThe function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer programProduct.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present inventionApply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) producesThe form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program productFigure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructionsThe combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programsInstruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produceA raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realThe device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram orThe function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that countingSeries of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer orThe instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram oneThe step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, netNetwork interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/orThe forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable mediumExample.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any methodOr technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), movesState random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasableProgrammable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devicesOr any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculatesMachine readable medium does not include temporary computer readable media (transitory media), the data letter number and carrier wave of such as modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludabilityIt include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrapInclude other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic wantElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described wantThere is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the applicationForm.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program codeThe shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)Formula.
The application can describe in the general context of computer-executable instructions executed by a computer, such as programModule.Generally, program module includes routine, programs, objects, the group for executing particular transaction or realizing particular abstract data typePart, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, byAffairs are executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be withIn the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodimentDividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system realityFor applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the methodPart explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the artFor, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equalReplacement, improvement etc., should be included among the interest field of the application.