CN110120970A - Data processing method, device and gateway system based on car networking - Google Patents

Data processing method, device and gateway system based on car networking Download PDF

Info

Publication number
CN110120970A
CN110120970A CN201910299398.6A CN201910299398A CN110120970A CN 110120970 A CN110120970 A CN 110120970A CN 201910299398 A CN201910299398 A CN 201910299398A CN 110120970 A CN110120970 A CN 110120970A
Authority
CN
China
Prior art keywords
gateway
gateway node
configuration data
information
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910299398.6A
Other languages
Chinese (zh)
Other versions
CN110120970B (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.)
Tihe Exhibition Shanghai Network Technology Co ltd
Original Assignee
Taima Information Network 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 Taima Information Network Technology Co Ltd filed Critical Taima Information Network Technology Co Ltd
Priority to CN201910299398.6A priority Critical patent/CN110120970B/en
Publication of CN110120970A publication Critical patent/CN110120970A/en
Application granted granted Critical
Publication of CN110120970B publication Critical patent/CN110120970B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention discloses a kind of data processing method based on car networking, device and gateway systems, wherein this method is applied to each gateway node in gateway system, comprising: obtains the starting information of gateway node;Starting information and pre-set configuration information library based on gateway node obtain the corresponding configuration data of gateway node, and the configuration data that will acquire is stored in gateway node.Above-mentioned gateway system includes more than two gateway server clusters for serving different automobile types, and each gateway server cluster includes more than two gateway nodes, and each gateway node is connect with more than one vehicle communication of corresponding vehicle.The access of various terminal can be supported and be facilitated to scheme disclosed by the invention, improve the applicability of gateway.

Description

Data processing method, device and gateway system based on car networking
Technical field
The present invention relates to vehicle networking technical field more particularly to a kind of data processing method based on car networking, device and Gateway system.
Background technique
With the continuous improvement of living standards, requirement of the people to automobile is also no longer only simple walking-replacing tool, and To the comfort level of automobile, safety, energy saving, even more stringent requirements are proposed for entertainment.With the development of the automobile industry, The quantity and type of vehicle increase sharply, and requirement of the people to automobile is also only no longer simple walking-replacing tool, to automobile Comfort level, safety and controllability etc. more stringent requirements are proposed.Car networking technology is come into being as a result, car networking It is that vehicle is interacted with cloud service, to realize the dynamic mobile telecommunication system of vehicle and public network communication.
Vehicle access gateway (hereinafter referred to as gateway) is that car-mounted terminal and cloud system are communicated in car networking system Server node is the important component of car networking system.However, existing gateway is only capable of serving specific vehicle, fit It is lower with property.
Summary of the invention
The present invention provides a kind of data processing method based on car networking, device and gateway systems, can effectively change The kind above problem.
In a first aspect, the embodiment of the invention provides a kind of data processing methods based on car networking, which is characterized in that answer For each gateway node in car networking gateway system, the gateway system includes more than two nets for serving different automobile types Server cluster is closed, each gateway server cluster includes more than two gateway nodes, each gateway node and phase More than one vehicle communication of vehicle is answered to connect.The described method includes: obtaining the starting information of the gateway node;Based on described The starting information of gateway node and pre-set configuration information library obtain the corresponding configuration data of the gateway node, and The configuration data that will acquire is stored in the gateway node, wherein is stored with multiple groups in the configuration information library and is corresponded to not With vehicle configuration data and accordingly start information, the configuration data includes the communication packet encoding and decoding rule of corresponding vehicle Then.
Further, the configuration data further includes between the communication packet encoding and decoding rule and respective version information Mapping relation information.It is described to obtain the corresponding configuration data of the gateway node, and the configuration data that will acquire be stored in it is described After in gateway node, further includes: when receiving object message, obtain the version carried in the message header of the object message Information;Based on the version information and the mapping relation information, determine that the corresponding communication packet of the object message compiles solution Code rule, to be parsed according to the corresponding communication packet encoding and decoding rule of the object message to the object message.
Further, described to obtain the corresponding configuration data of the gateway node, and the configuration data that will acquire is stored in After in the gateway node, further includes: when receiving object message, obtain and carry in the message header of the object message Identification information;It is identified based on operational mode of the identification information to the object message, obtains recognition result;When described When recognition result is test packet, then corresponding debugging processing is carried out to based on the object message;When the recognition result is When formal message, then corresponding business processing is carried out based on the object message.
Further, the configuration data that obtains the corresponding configuration data of the gateway node and will acquire is stored in institute After stating in gateway node, further includes: when getting the instruction for triggering updating operation, the gateway node is adjusted to Down status, and the corresponding configuration data of gateway node in down status is updated;It will complete updated gateway Node readjusts as online state.
Second aspect, the embodiment of the invention also provides a kind of data processing equipments based on car networking, are applied to vehicle and join Each gateway node in net gateway system.The gateway system includes more than two gateway servers for serving different automobile types Cluster, each gateway server cluster include more than two gateway nodes, each gateway node and corresponding vehicle More than one vehicle communication connection.The data processing equipment includes: parameter acquisition module, for obtaining the gateway node Start information;Data loading module, for based on the gateway node starting information and pre-set configuration information library, The corresponding configuration data of the gateway node is obtained, and the configuration data that will acquire is stored in the gateway node, wherein institute It states and is stored with multiple groups in configuration information library corresponding to the configuration data of different automobile types and starts information accordingly, the configuration number According to the communication packet encoding and decoding rule for including corresponding vehicle.
The third aspect, the embodiment of the invention also provides a kind of car networking gateway systems, comprising: more than two gateway services Device cluster, described two above gateway server clusters serve different vehicles, each gateway server cluster respectively Including more than two gateway nodes, each gateway node is connect with more than one vehicle communication of corresponding vehicle.Wherein, often A gateway node is used to: obtaining the starting information of the gateway node;Based on the starting information of the gateway node with And pre-set configuration information library, the configuration data storage that obtains the corresponding configuration data of the gateway node, and will acquire In the gateway node, wherein be stored in the configuration information library multiple groups corresponding to different automobile types configuration data and Corresponding starting information, the configuration data include the communication packet encoding and decoding rule of corresponding vehicle.
Further, the configuration data further includes between the communication packet encoding and decoding rule and respective version information Mapping relation information.Each gateway node is also used to: when receiving object message, obtaining the message of the object message The version information carried in head;Based on the version information and the mapping relation information, determine that the object message is corresponding Communication packet encoding and decoding rule, with according to the corresponding communication packet encoding and decoding rule of the object message to the object message It is parsed.
Further, above-mentioned car networking gateway system further includes load balancer, and each gateway node passes through described Load balancer is connect with more than one vehicle communication of corresponding vehicle.
Fourth aspect, the embodiment of the invention also provides a kind of gateway servers, comprising: processor and memory, it is described Memory is couple to the processor, and the memory store instruction makes described when executed by the processor Gateway server executes the above-mentioned data processing method based on car networking.
5th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program, the program realize the above-mentioned data processing method based on car networking when being executed by processor.
In technical solution provided in an embodiment of the present invention, gateway system framework is configured, so that gateway system packet More than two gateway server clusters for serving different automobile types are included, each gateway server cluster includes more than two gateway sections Point, each gateway node are connect with more than one vehicle communication of corresponding vehicle, and each gateway node is opened by obtaining target Dynamic parameter, is then based on the target start parameter and pre-set configuration information library, obtains that the gateway node is corresponding to match The configuration data setting data, and will acquire is stored in the gateway node.By disposing gateway server cluster for vehicle, and The corresponding configuration data of corresponding vehicle is loaded in each gateway node, can support and facilitate the access of various terminal, The applicability of gateway is improved, and can be according to the access reasonable quantity configuration server resource of a variety of models vehicle.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others Attached drawing.
Fig. 1 is a kind of structural schematic diagram for gateway system that first aspect of the embodiment of the present invention provides;
Fig. 2 is a kind of flow chart for data processing method based on car networking that second aspect of the embodiment of the present invention provides;
Rule determines in a kind of data processing method based on car networking that Fig. 3 provides for second aspect of the embodiment of the present invention The step flow chart of process;
Fig. 4 is a kind of module frame for data processing equipment based on car networking that the third aspect of the embodiment of the present invention provides Figure;
Fig. 5 is a kind of structural schematic diagram for gateway server that fourth aspect of the embodiment of the present invention provides.
Specific embodiment
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to this specification embodiment Technical solution be described in detail, it should be understood that the specific features in this specification embodiment and embodiment are to this explanation The detailed description of book embodiment technical solution, rather than the restriction to this specification technical solution, in the absence of conflict, Technical characteristic in this specification embodiment and embodiment can be combined with each other.It should be noted that this specification embodiment In, term " more than one " includes the case where one or greater than one, and " two or more " includes the case where two or greater than two.
In a first aspect, one embodiment of the invention provides a kind of car networking gateway system.As shown in Figure 1, the gateway system 10 include more than two gateway server clusters, and more than two gateway server clusters serve different vehicles respectively.? That is each gateway server cluster service is in a kind of vehicle of vehicle, and the vehicle of different gateway server cluster services It is different.It should be noted that three gateway server clusters 101,102 shown in Fig. 1 and 103 merely illustrative, are not intended to limit The particular number of the particular number of gateway server cluster in gateway system 10, gateway server cluster can be according to practical application The vehicle type setting that middle gateway system 10 services.For example, the gateway system 10 serves 20 kinds of vehicles in a kind of application scenarios 20 gateway server clusters are then arranged in type.
As shown in Figure 1, each gateway server cluster includes more than two gateway nodes, each gateway node and corresponding vehicle More than one vehicle communication of type connects, i.e., is communicatively coupled with the car borne gateway of vehicle end such as T-BOX, is corresponding vehicle Vehicle provides access service.It should be noted that the gateway node quantity that each gateway server cluster includes can be according to phase The vehicle fleet size of vehicle is answered to be arranged.
The framework of gateway system 10 for convenience of explanation with each gateway server cluster includes three gateways in Fig. 1 Node is example, and gateway server cluster 101 includes gateway node w11, gateway node w12 and gateway node w13, gateway service Device cluster 102 includes gateway node w21, gateway node w22 and gateway node w23, and gateway server cluster 103 includes gateway section Point w31, gateway node w32 and gateway node w33.Gateway node w11, gateway node w12 and gateway node w13 are served and are belonged to The vehicle P of vehicle 111、P12... and P1m;Gateway node w21, gateway node w22 and gateway node w23 are served and are belonged to The vehicle P of vehicle 221、P22... and P2n;Gateway node w31, gateway node w32 and gateway node w33 are served and are belonged to The vehicle P of vehicle 331、P32... and P3k.Wherein, m, n, k are positive integer.
It should be noted that each gateway node operates in independent process, it in practical applications, can be according to each The vehicle fleet size of gateway node service configures a gateway node and monopolizes a server, alternatively, it is total to configure several gateway nodes A server is enjoyed, reasonable disposition server resource is conducive to.
Certainly, in order to enable gateway node can serve the access of corresponding vehicle vehicle, it is being directed to the good net of automobile type configuration After closing server cluster, need to carry out initialization process to each gateway node in each cluster, with each gateway node of determination The vehicle of service.Initialisation process includes: the starting information for obtaining the gateway node;Based on opening for the gateway node Dynamic parameter and pre-set configuration information library, obtain the corresponding configuration data of the gateway node, and the configuration that will acquire Data are stored in the gateway node.Wherein, the configuration data that multiple groups correspond to different automobile types is stored in configuration information library And start information accordingly.
For example, it if gateway system is provided with the gateway server cluster for being directed to 20 kinds of vehicles, needs to exist in advance This corresponding configuration data of 20 kinds of vehicles is at least stored in configuration information library.In configuration information library, one group of configuration data corresponds to A kind of vehicle, and different configuration datas correspond to different automobile types.Specifically, the corresponding configuration data of vehicle includes the vehicle Communication packet encoding and decoding rule.Communication packet encoding and decoding rule is used to parse the communication packet that vehicle end reports and needs issue To the communication packet of vehicle end.It is understood that the coding/decoding mode of different automobile types communication packet is had any different, therefore, it is necessary to For the corresponding communication packet encoding and decoding rule of the gateway node automobile type configuration to be serviced.
In the present embodiment, the starting information of gateway node can be opening of getting when the corresponding process initiation of gateway node Dynamic parameter, can be inputted by related personnel, can also be obtained by other means.Configuration information is stored with configuration data in library With the mapping relation information between corresponding starting information, in order to search and obtain in configuration information library to start information as index Take corresponding configuration data.The starting information that gateway node is got as a result, just determines the vehicle of the gateway node service.
The corresponding configuration data of each gateway node is assured that by above-mentioned initialization procedure, and by the configuration data Be stored in the gateway node, with facilitate each gateway node can the vehicle efficiently for corresponding vehicle Communications service is provided.
It is understood that in certain application scenarios, the communication packet coding/decoding of the different batches vehicle of same model Mode is also had any different.Therefore, the corresponding configuration data of vehicle may include a kind of communication packet encoding and decoding rule of the vehicle, or Person, also may include the two or more communication packet encoding and decoding rule of the vehicle, and every kind of communication packet encoding and decoding rule is suitable for The vehicle of one batch of the vehicle.As a result, as an implementation, configuration data can also include communication packet encoding and decoding Mapping relation information between rule and respective version information, i.e. in each group of configuration data, each communication packet encoding and decoding rule It is then corresponding to be stored with version information, and the corresponding version information of different communication packet encoding and decoding rules is different.At this point, in vehicle When access, so that it may from pre-stored configuration data, determine the communication packet for being suitable for the vehicle based on version information Encoding and decoding rule.Gateway node loads the communication packet encoding and decoding rule of multiple versions under vehicle, runs simultaneously, thus can be with The vehicle for solving same vehicle dispatches from the factory in batches, the compatibility operation problem of the inconsistent generation of terminal versions.
Accordingly, as a kind of optional embodiment, the present embodiment also configures the access procedure of gateway node, Each gateway node can be also used for: when receiving object message, obtain the version letter carried in the message header of object message Breath;Based on the version information and the mapping relation information, the corresponding communication packet encoding and decoding of the object message are determined Rule, to be parsed according to the corresponding communication packet encoding and decoding rule of the object message to the object message.
In the present embodiment, object message can be the message that vehicle end reports, and be also possible to operation system under vehicle end The message of hair can parse object message by the corresponding communication packet encoding and decoding rule of object message, to realize Communication between vehicle end and operation system.
In order to realize the above process, the present embodiment is directed to vehicle end in advance and the communications protocol of gateway communication use carries out Corresponding design.It is understood that vehicle end and gateway communication use ICP/IP protocol, communication pack arrangement is divided into: segmentation section, school Test section and message section.Wherein, divide section: using one section of special byte arrays, for dividing two in interactive process communications Packet.Verification section: message section content is picked using hash algorithm and is wanted, communication two party using this segment data carry out information correctness with Integrity verification.Message section: communication information is put into message section, is divided into message header and message body two parts, and message header storage disappears The description information (metadata) of data is ceased, the particular content of communication information stored by message body.Specifically, the present embodiment is to message Message header is specifically designed, so that including version field in message header, compiles solution for the corresponding communication packet of storage of cars The version information of code rule.It had not both needed to carry out excessive extension and modification to car networking communication standard agreement in this way to cause to assist View loses standard and authority, and gateway node can be facilitated to extract version information from the message header of object message, with reality Existing terminal multi-version compatibility operation.
In order to facilitate debugging stage of the depot before vehicle release either investigation failure after factory when to vehicle into Row debugging, as a kind of optional embodiment, each gateway node be can be also used in gateway system: when receiving object message When, obtain the identification information carried in the message header of the object message;Based on the identification information to the object message Operational mode is identified, recognition result is obtained;When the recognition result be test packet when, then based on the object message into The corresponding debugging processing of row;When the recognition result is formal message, then corresponding business is carried out based on the object message Processing.Debugging/formal two kinds of operational modes thus may be implemented, it is normal convenient for carrying out service operation in commencement of commercial operation environment Property detection and fault location.It should be noted that commencement of commercial operation environment refers to production environment, that is, serve the ring of actual customer Border, corresponding to have exploitation environment and test environment, the two environment are in face of developer and tester.
When for example, identification information can have " 0 " and " 1 " two kinds of expressions to indicate the mesh when identification information is " 0 " Mark message is formal message, after needing gateway node to be parsed according to corresponding message encoding and decoding rule to the object message, The object message is carried out at corresponding business according to the Communications service code of the object message and Communications service type of message Reason is such as sent to corresponding operation system processing.When identification information is " 1 ", indicate the object message for debugging message, debugging Message can be to be issued by vehicle end and either be issued by the related personnel of depot by simulator, specifically debug treatment process Can according to actually should scene setting, for example, backstage industry will not be carried the data to when gateway node receives test packet Business layer replys sender, that is, vehicle end or simulator only to inform whether sender receives debugging message, to guarantee logical It is normal for interrogating process.
In order to realize the above process, the communications protocol that the present embodiment is also used for vehicle end and gateway communication in advance is carried out Corresponding design.Specifically, a message head part is specifically designed, so that including identification field in message header, is used for Storage indicates the identification information of message operational mode.It had not both needed to carry out excessive extension to car networking communication standard agreement in this way And modification causes agreement to lose standard and authority, and gateway node can be facilitated to extract from the message header of object message Identification information realizes two kinds of operational modes i.e. debugging mode and formality mode to determine the operational mode of object message.
In a kind of application scenarios of the present embodiment, the key element that the message header after being specifically designed includes can be such as table 1 It is shown.Wherein, TestFlag field is above-mentioned identification field, is that formal message still tests report for defining object message Text.EncryptKeyType field is encrypted using encryption operator key for defining object message, or uses non-encrypted operator Key encryption.EncryptFlag field, for defining whether object message encrypts.ApplicationID field is for defining mesh The Communications service code of message is marked, such as: 0 indicates connection certification, and 1 indicates that connection keeps (heartbeat), and 2 indicate that remote diagnosis is self-service Diagnosis reports, and 3 expression vehicle condition data report, and 4 indicate long-range control, and 5 indicate terminal remote upgrading, and 6 indicate ECU remote upgrade etc. Deng.MessageType field is for defining Communications service type of message, such as 0 expression message ACK, and 1 expression issues etc.. Version field is above-mentioned version field, for defining protocol version, as above-mentioned version information.TimeStamp Field is for defining timestamp.Body Length field is used to indicate the byte length of corresponding message body.
Table 1
In addition, gateway system can also include load balancer, each gateway node in an alternate embodiment of the present invention It can be connected by load balancer to more than one vehicle communication of corresponding vehicle in vehicle net system.It in this way can be according to this The bearing capacity of each gateway node in gateway server cluster, reasonably distributes to phase in the cluster for object message to be processed The gateway node processing answered.At this point, when the gateway node of some gateway server cluster needs to upgrade, it can be successively by the collection The each gateway node for needing to upgrade in group is as gateway node to be upgraded.Notification payload balanced device stops distribution access request and gives The corresponding access request of the vehicle of corresponding vehicle is distributed to other nets in the gateway server cluster by gateway node to be upgraded Artis processing.Until the gateway node for completing upgrading is online after the completion of gateway node to be upgraded upgrading, do not risen next The gateway node of grade as gateway node to be upgraded, and so on, until completing the upgrading of all gateway nodes in the cluster.By In the completion that above-mentioned escalation process is one node of a node, other gateway nodes are still when upgrading a certain node, in cluster It is working, the online upgrading of gateway node can effectively realized in this way, and can be pointedly to the corresponding net of each vehicle Artis is upgraded, and is not interacted.
Specifically, when needing to upgrade some gateway node, which is used for: being used for when getting When triggering the instruction of updating operation, the gateway node is adjusted to down status, and to the gateway node for being in down status Corresponding configuration data is updated;Updated gateway node will be completed to readjust as online state.
In above-mentioned escalation process, the instruction for triggering updating operation can be what related personnel triggered manually, by phase Pass personnel carry out triggering upgrading to gateway node one by one.Alternatively, upgrading can also be preset in gateway node Condition, when meeting promotion condition, automatic trigger is used to trigger the instruction of updating operation.Wherein, promotion condition specifically can basis Actual upgrade requirement setting, such as can be set to clocked flip, the specific time cycle can be set according to actual needs, such as It is set as 10 days, one month or a season etc..
For example, it can be directed to each gateway server cluster, preset the upgrading sequence of each gateway node, and Gateway node to come first is pre-configured with promotion condition.When meeting the promotion condition, first gateway section is come Point executes escalation process, sends after upgrading is completed and is again online to the gateway node for coming second and grasps for triggering upgrading The instruction of work, so that coming second gateway node executes escalation process, to coming the after upgrading is completed and is again online Three gateway nodes send the instruction for triggering updating operation, and so on, until completing in the gateway server cluster The upgrading of all gateway nodes.
It should be noted that indicate that the gateway node stops processing access request when gateway node is in down status, I.e. load balancer stops distribution access request to the gateway node;When gateway node is in online state, the gateway is indicated Node can normally handle access request.In the present embodiment, gateway node is adjusted to the mode of down status or online state It can be set according to actual needs, for example, gateway node can send first message to load balancer, so that load is equal Weighing apparatus stops distributing access request to the gateway node after receiving first message, i.e., the gateway node is adjusted to lower threadiness State.Similarly, after the completion of gateway node upgrades, second message can be sent to load balancer, so that load balancer receives Start to distribute access request to the gateway node after to second message, i.e., the gateway node is adjusted to upper threadiness by down status State.
Specifically, the gateway node in down status can be updated the configuration data of storage, i.e., add again Carry the configuration data of corresponding vehicle.For example, above-mentioned initialisation process can be re-executed, with the new configuration number got It is stored in the gateway node according to original configuration data is replaced.Alternatively, can also replacement program operation packet by way of into Row is to the upgrading of client, that is, vehicle end gateway.
In a kind of exemplary implementation of gateway system provided in this embodiment, access vehicle can have tens sections, It can be related to passenger car, truck and new energy vehicle etc..Each vehicle signal difference is big, and the net connection vehicle of support is using different.Every money Vehicle is offline to be required by signal definition, protocol debugging, real steering vectors, formal online several stages.Implemented specifically Cheng Zhong can will grind vehicle and the less corresponding gateway node of vehicle of vehicle is deployed on several virtual servers, with full Foot debugging and testing requirement.Amount large-scale vechicle is then arranged on physical server cluster and independently disposes corresponding gateway node.
Car networking gateway system provided in an embodiment of the present invention is disposed by configuring to system architecture for vehicle Gateway server cluster, and load in each gateway node the corresponding configuration data of corresponding vehicle, can support and conveniently The access of various terminal improves the applicability of gateway, and can be according to the access reasonable quantity of a variety of models vehicle Configuration server resource.
Second aspect, the embodiment of the invention also provides a kind of data processing methods based on car networking.The data processing Method is applied to each gateway node in car networking gateway system.The gateway system includes that two or more serves different automobile types Gateway server cluster, each gateway server cluster includes more than two gateway nodes, each gateway node and phase More than one vehicle communication of vehicle is answered to connect.As shown in Fig. 2, data processing method provided in this embodiment includes at least:
Step S201 obtains the starting information of the gateway node;
Step S202, starting information and pre-set configuration information library based on the gateway node, described in acquisition The corresponding configuration data of gateway node, and the configuration data that will acquire is stored in the gateway node, wherein it is described to match confidence Multiple groups are stored with corresponding to the configuration data of different automobile types in breath library and start information accordingly, and the configuration data includes phase Answer the communication packet encoding and decoding rule of vehicle.
Specifically, above-mentioned steps S201 and step S202 corresponds to the initialization of gateway node in the above system embodiment The specific implementation process for the treatment of process, above-mentioned steps S201 and step S202 are referred to accordingly retouching in the above system embodiment It states, details are not described herein again.
After the initialization for completing gateway node, so that it may carry out the access of vehicle.It is above-mentioned as a kind of optional embodiment Configuration data further includes the mapping relation information between communication packet encoding and decoding rule and respective version information.At this point, obtaining The corresponding configuration data of the gateway node, and after the configuration data that will acquire is stored in the gateway node, this implementation The data processing method that example provides can also include regular determination process, as shown in figure 3, the rule determination process includes:
Step S301 obtains the version information carried in the message header of the object message when receiving object message;
Step S302 is based on the version information and the mapping relation information, determines that the object message is corresponding Communication packet encoding and decoding rule, with according to the corresponding communication packet encoding and decoding rule of the object message to the object message into Row parsing.
Specifically, the specific implementation process of above-mentioned steps S301 and step S302 are referred in the above system embodiment Corresponding description, details are not described herein again.
As a kind of optional embodiment, the corresponding configuration data of the gateway node, and the configuration that will acquire are being obtained After data are stored in the gateway node, data processing method provided in this embodiment can also include that operational mode determines Process, to facilitate the on-line debugging of vehicle.Specifically, above-mentioned operational mode determination process may include: and work as to receive target When message, the identification information carried in the message header of the object message is obtained;Based on the identification information to the target report The operational mode of text is identified, recognition result is obtained;When the recognition result is test packet, then to based on the target Message carries out corresponding debugging processing;When the recognition result is formal message, then carried out based on the object message corresponding Business processing.It should be noted that the specific implementation of above-mentioned operational mode determination process is referred to the above system embodiment In corresponding description, details are not described herein again.
As a kind of optional embodiment, in the configuration number that obtains the corresponding configuration data of the gateway node and will acquire After being stored in the gateway node, data processing method provided in this embodiment can also include that operational mode determined Journey can also include escalation process, to realize the online upgrading of gateway system.Above-mentioned escalation process includes: to work as to get to be used for When triggering the instruction of updating operation, the gateway node is adjusted to down status, and to the gateway node for being in down status Corresponding configuration data is updated;Updated gateway node will be completed to readjust as online state.It should be noted that The specific implementation of above-mentioned escalation process is referred to the corresponding description in the above system embodiment, and details are not described herein again.
The third aspect, the embodiment of the invention also provides a kind of data processing equipments based on car networking.The data processing Device is applied to each gateway node in car networking gateway system.The gateway system includes that two or more serves different vehicles The gateway server cluster of type, each gateway server cluster include more than two gateway nodes, each gateway node and corresponding More than one vehicle communication of vehicle connects.As shown in figure 4, the data processing equipment 40 includes:
Parameter acquisition module 401, for obtaining the starting information of the gateway node;
Data loading module 402, for based on the gateway node starting information and pre-set configuration information Library obtains the corresponding configuration data of the gateway node, and the configuration data that will acquire is stored in the gateway node, In, it is stored with multiple groups in the configuration information library corresponding to the configuration data of different automobile types and starts information accordingly, it is described Configuration data includes the communication packet encoding and decoding rule of corresponding vehicle.
As a kind of optional embodiment, the configuration data further includes the communication packet encoding and decoding rule and corresponding version Mapping relation information between this information, above-mentioned data processing equipment 40 can also include: regular determining module 403, for working as When receiving object message, the version information carried in the message header of the object message is obtained;Based on the version information with And the mapping relation information, the corresponding communication packet encoding and decoding rule of the object message is determined, according to the target report The corresponding communication packet encoding and decoding rule of text parses the object message.
As a kind of optional embodiment, above-mentioned data processing equipment 40 can also include: operational mode determining module 404, the identification information carried in the message header for when receiving object message, obtaining the object message;Based on described Identification information identifies the operational mode of the object message, obtains recognition result;When the recognition result is test report Wen Shi then carries out corresponding debugging processing to based on the object message;When the recognition result is formal message, then it is based on The object message carries out corresponding business processing.
As a kind of optional embodiment, above-mentioned data processing equipment 40 can also include: upgraded module 405, for working as When getting the instruction for triggering updating operation, the gateway node is adjusted to down status, and in down status The corresponding configuration data of gateway node be updated;Updated gateway node will be completed to readjust as online state.
It should be noted that above each module can be by software code realization, it can also be by hardware such as integrated circuit Chip is realized.
It should also be noted that, above each module realizes the detailed process of respective function, above system and side are referred to Particular content described in method embodiment, details are not described herein again.
Fourth aspect, the embodiment of the invention also provides a kind of gateway server, including processor and memory, memories It is couple to the processor, memory store instruction executes the gateway server when the instruction is executed by processor State the data processing method based on vehicle net.
Fig. 5 shows a kind of structural block diagram that can be applied to the gateway server in this specification embodiment.Such as Fig. 5 institute Show, gateway server 50 includes: memory 501, processor 502 and network module 503.
Memory 501 can be used for storing software program and module, as in this specification embodiment based on vehicle net Data processing method and the corresponding program instruction/module of device, processor 502 are stored in soft in memory 501 by operation Part program and module, thereby executing various function application and data processing, i.e., in the realization embodiment of the present invention based on vehicle Net data processing method.Memory 501 may include high speed random access memory, may also include nonvolatile memory, such as one A or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.Further, above-mentioned memory 501 Interior software program and module may also include that operating system 521 and service module 522.Wherein operating system 521, such as Can be LINUX, UNIX, WINDOWS, may include it is various for management system task (such as memory management, storage equipment control System, power management etc.) component software and/or driving, and can mutually be communicated with various hardware or component software, to provide it The running environment of his component software.Service module 522 operates on the basis of operating system 521, and passes through operating system 521 The request for carrying out automatic network is monitored in network service, completes corresponding data processing according to request, and return to processing result to client That is vehicle end.That is, service module 522 is used to provide network service to client.
Network module 503 is for receiving and transmitting network signal.Above-mentioned network signal may include wireless signal or have Line signal.
It is understood that structure shown in fig. 5 be only illustrate, gateway server 50 may also include than shown in Fig. 5 more More perhaps less component or with the configuration different from shown in Fig. 5.Each component shown in Fig. 5 can be using hardware, soft Part or combinations thereof is realized.
5th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program, the program realize the previously described data processing method based on vehicle net when being executed by processor.
This specification is referring to the flow chart according to the method for this specification embodiment, system and computer program product And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The equipment for the function of being specified in 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 spy Determine 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 equipment, the commander equipment realize in one box of one or more flows of the flowchart and/or block diagram or The 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 counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of this specification has been described, once a person skilled in the art knows basic wounds The property made concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as includes Preferred embodiment and all change and modification for falling into this specification range.
Obviously, those skilled in the art can carry out various modification and variations without departing from this specification to this specification Spirit and scope.In this way, if these modifications and variations of this specification belong to this specification claim and its equivalent skill Within the scope of art, then this specification is also intended to include these modifications and variations.

Claims (10)

1. a kind of data processing method based on car networking, which is characterized in that applied to each net in car networking gateway system Artis, the gateway system include more than two gateway server clusters for serving different automobile types, each gateway clothes Business device cluster includes more than two gateway nodes, more than one vehicle communication of each gateway node and corresponding vehicle connects It connects, which comprises
Obtain the starting information of the gateway node;
Starting information and pre-set configuration information library based on the gateway node, it is corresponding to obtain the gateway node Configuration data, and the configuration data that will acquire is stored in the gateway node, wherein it is stored in the configuration information library more Group corresponds to the configuration data of different automobile types and starts information accordingly, and the configuration data includes the communication report of corresponding vehicle Literary encoding and decoding rule.
2. the method according to claim 1, wherein the configuration data further includes the communication packet encoding and decoding Mapping relation information between rule and respective version information, it is described to obtain the corresponding configuration data of the gateway node, and will After the configuration data of acquisition is stored in the gateway node, further includes:
When receiving object message, the version information carried in the message header of the object message is obtained;
Based on the version information and the mapping relation information, the corresponding communication packet encoding and decoding of the object message are determined Rule, to be parsed according to the corresponding communication packet encoding and decoding rule of the object message to the object message.
3. the method according to claim 1, wherein described obtain the corresponding configuration data of the gateway node, And after the configuration data that will acquire is stored in the gateway node, further includes:
When receiving object message, the identification information carried in the message header of the object message is obtained;
It is identified based on operational mode of the identification information to the object message, obtains recognition result;
When the recognition result is test packet, then corresponding debugging processing is carried out to based on the object message;
When the recognition result is formal message, then corresponding business processing is carried out based on the object message.
4. the method according to claim 1, wherein described obtain the corresponding configuration data of the gateway node simultaneously After the configuration data that will acquire is stored in the gateway node, further includes:
When getting the instruction for triggering updating operation, the gateway node is adjusted to down status, and to being in down The corresponding configuration data of the gateway node of linear state is updated;
Updated gateway node will be completed to readjust as online state.
5. a kind of data processing equipment based on car networking, which is characterized in that applied to each net in car networking gateway system Artis, the gateway system include more than two gateway server clusters for serving different automobile types, each gateway clothes Business device cluster includes more than two gateway nodes, more than one vehicle communication of each gateway node and corresponding vehicle connects It connects, the data processing equipment includes:
Parameter acquisition module, for obtaining the starting information of the gateway node;
Data loading module, for based on the gateway node starting information and pre-set configuration information library, obtain The corresponding configuration data of the gateway node, and the configuration data that will acquire is stored in the gateway node, wherein it is described to match It sets and is stored with multiple groups in information bank corresponding to the configuration data of different automobile types and starts information accordingly, the configuration data packet Include the communication packet encoding and decoding rule of corresponding vehicle.
6. a kind of car networking gateway system characterized by comprising
More than two gateway server clusters, described two above gateway server clusters serve different vehicles respectively, often A gateway server cluster includes more than one of more than two gateway nodes, each gateway node and corresponding vehicle Vehicle communication connection, wherein
Each gateway node is used to: obtaining the starting information of the gateway node;Starting based on the gateway node Information and pre-set configuration information library, the configuration number that obtains the corresponding configuration data of the gateway node, and will acquire According to being stored in the gateway node, wherein be stored with the configuration number that multiple groups correspond to different automobile types in the configuration information library Start information accordingly and accordingly, the configuration data includes the communication packet encoding and decoding rule of corresponding vehicle.
7. system according to claim 6, which is characterized in that the configuration data further includes the communication packet encoding and decoding Mapping relation information between rule and respective version information,
Each gateway node is also used to: when receiving object message, being obtained and is carried in the message header of the object message Version information;Based on the version information and the mapping relation information, the corresponding communication report of the object message is determined Literary encoding and decoding rule, to be solved according to the corresponding communication packet encoding and decoding rule of the object message to the object message Analysis.
8. system according to claim 6, which is characterized in that it further include load balancer,
Each gateway node is connect by the load balancer with more than one vehicle communication of corresponding vehicle.
9. a kind of gateway server characterized by comprising processor and memory, the memory are couple to the processing Device, the memory store instruction when executed by the processor want the gateway server perform claim Seek method described in any one of 1-4.
10. a kind of computer readable storage medium, is stored thereon with computer program, power is realized when which is executed by processor Benefit requires method described in any one of 1-4.
CN201910299398.6A 2019-04-15 2019-04-15 Data processing method and device based on Internet of vehicles and gateway system Active CN110120970B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910299398.6A CN110120970B (en) 2019-04-15 2019-04-15 Data processing method and device based on Internet of vehicles and gateway system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910299398.6A CN110120970B (en) 2019-04-15 2019-04-15 Data processing method and device based on Internet of vehicles and gateway system

Publications (2)

Publication Number Publication Date
CN110120970A true CN110120970A (en) 2019-08-13
CN110120970B CN110120970B (en) 2022-04-05

Family

ID=67520990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910299398.6A Active CN110120970B (en) 2019-04-15 2019-04-15 Data processing method and device based on Internet of vehicles and gateway system

Country Status (1)

Country Link
CN (1) CN110120970B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629029A (en) * 2020-04-17 2020-09-04 金蝶软件(中国)有限公司 Service publishing method and system
CN112235195A (en) * 2020-09-30 2021-01-15 上海博泰悦臻电子设备制造有限公司 Reported data processing method and related equipment
CN112787862A (en) * 2021-01-04 2021-05-11 东风柳州汽车有限公司 Vehicle data flashing method and device based on gateway and storage medium
CN113055253A (en) * 2019-12-27 2021-06-29 中兴通讯股份有限公司 Method, device, equipment and storage medium for rapidly opening home gateway
CN113760723A (en) * 2021-01-13 2021-12-07 北京京东乾石科技有限公司 Business process debugging method and device
CN114531354A (en) * 2022-04-22 2022-05-24 北京金山云网络技术有限公司 Cluster upgrading method and device, cluster controller and server
CN114531468A (en) * 2020-11-06 2022-05-24 上海博泰悦臻网络技术服务有限公司 Method, system, medium and device for improving vehicle remote control rate

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040176935A1 (en) * 2003-03-04 2004-09-09 Microsoft Corporation Facilitating communication with automotive vehicle buses
CN102267480A (en) * 2011-05-18 2011-12-07 长沙南睿轨道交通电气设备有限公司 Locomotive wireless reconnection control method based on wireless broadband communication
CN102114883B (en) * 2010-09-21 2012-11-28 浙江吉利汽车研究院有限公司 Self-test device for configurations of automotive electronic control unit and self-test method of the self-test device
US20130124703A1 (en) * 2011-11-11 2013-05-16 Electronics And Telecommunications Research Institute Method and apparatus for setting up gateway for autosar-based vehicle network
CN103873595A (en) * 2014-04-03 2014-06-18 奇瑞汽车股份有限公司 Multifunctional gateway used for vehicle and control method thereof
CN105346485A (en) * 2015-11-04 2016-02-24 华晨汽车集团控股有限公司 CAN/LIN bus network erecting system for hybrid electric vehicle
US20160180604A1 (en) * 2014-12-17 2016-06-23 Allstate Insurance Company Toll Payment Equipment
CN106444568A (en) * 2016-12-22 2017-02-22 北京汽车研究总院有限公司 Data updating method and data updating device
CN106506629A (en) * 2016-10-27 2017-03-15 武汉奥泽电子有限公司 Method and system based on the offline configuration being wirelessly transferred
CN106972944A (en) * 2016-12-07 2017-07-21 北京金蚂蚁德创科技有限公司 The collocation method of vehicle-mounted configurable gateway
CN107878367A (en) * 2017-12-07 2018-04-06 上海太鼎汽车工程技术有限公司 A kind of automotive universal bus control system and automobile
CN108173925A (en) * 2017-12-25 2018-06-15 北京车联天下信息技术有限公司 Car networking multiple gateway control system and method
CN108234174A (en) * 2016-12-21 2018-06-29 华为技术有限公司 The management method and device of virtual network function
CN207565520U (en) * 2017-12-07 2018-07-03 上海太鼎汽车工程技术有限公司 A kind of automotive universal bus control system and automobile
CN108683594A (en) * 2018-05-10 2018-10-19 宝沃汽车(中国)有限公司 Vehicle gateway method for routing, device, vehicle and storage medium
CN108845562A (en) * 2018-06-09 2018-11-20 铠龙东方汽车有限公司 A kind of intelligent vehicle-carried service system based on car networking
CN109347946A (en) * 2018-10-15 2019-02-15 武汉格罗夫氢能汽车有限公司 A kind of new-energy automobile communication network structure

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040176935A1 (en) * 2003-03-04 2004-09-09 Microsoft Corporation Facilitating communication with automotive vehicle buses
CN102114883B (en) * 2010-09-21 2012-11-28 浙江吉利汽车研究院有限公司 Self-test device for configurations of automotive electronic control unit and self-test method of the self-test device
CN102267480A (en) * 2011-05-18 2011-12-07 长沙南睿轨道交通电气设备有限公司 Locomotive wireless reconnection control method based on wireless broadband communication
US20130124703A1 (en) * 2011-11-11 2013-05-16 Electronics And Telecommunications Research Institute Method and apparatus for setting up gateway for autosar-based vehicle network
CN103873595A (en) * 2014-04-03 2014-06-18 奇瑞汽车股份有限公司 Multifunctional gateway used for vehicle and control method thereof
US20160180604A1 (en) * 2014-12-17 2016-06-23 Allstate Insurance Company Toll Payment Equipment
CN105346485A (en) * 2015-11-04 2016-02-24 华晨汽车集团控股有限公司 CAN/LIN bus network erecting system for hybrid electric vehicle
CN106506629A (en) * 2016-10-27 2017-03-15 武汉奥泽电子有限公司 Method and system based on the offline configuration being wirelessly transferred
CN106972944A (en) * 2016-12-07 2017-07-21 北京金蚂蚁德创科技有限公司 The collocation method of vehicle-mounted configurable gateway
CN108234174A (en) * 2016-12-21 2018-06-29 华为技术有限公司 The management method and device of virtual network function
CN106444568A (en) * 2016-12-22 2017-02-22 北京汽车研究总院有限公司 Data updating method and data updating device
CN107878367A (en) * 2017-12-07 2018-04-06 上海太鼎汽车工程技术有限公司 A kind of automotive universal bus control system and automobile
CN207565520U (en) * 2017-12-07 2018-07-03 上海太鼎汽车工程技术有限公司 A kind of automotive universal bus control system and automobile
CN108173925A (en) * 2017-12-25 2018-06-15 北京车联天下信息技术有限公司 Car networking multiple gateway control system and method
CN108683594A (en) * 2018-05-10 2018-10-19 宝沃汽车(中国)有限公司 Vehicle gateway method for routing, device, vehicle and storage medium
CN108845562A (en) * 2018-06-09 2018-11-20 铠龙东方汽车有限公司 A kind of intelligent vehicle-carried service system based on car networking
CN109347946A (en) * 2018-10-15 2019-02-15 武汉格罗夫氢能汽车有限公司 A kind of new-energy automobile communication network structure

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
WEI-YAO CHOU等: ""Intelligent eco-driving suggestion system based on vehicle loading model"", 《2012 12TH INTERNATIONAL CONFERENCE ON ITS TELECOMMUNICATIONS》 *
周红英等: ""基于独立网关的汽车网络总线系统设计"", 《汽车实用技术》 *
王文蓉等: ""基于CAN总线的汽车智能网关/节点的设计"", 《自动化与仪器仪表》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055253A (en) * 2019-12-27 2021-06-29 中兴通讯股份有限公司 Method, device, equipment and storage medium for rapidly opening home gateway
CN111629029A (en) * 2020-04-17 2020-09-04 金蝶软件(中国)有限公司 Service publishing method and system
CN112235195A (en) * 2020-09-30 2021-01-15 上海博泰悦臻电子设备制造有限公司 Reported data processing method and related equipment
CN114531468A (en) * 2020-11-06 2022-05-24 上海博泰悦臻网络技术服务有限公司 Method, system, medium and device for improving vehicle remote control rate
CN112787862A (en) * 2021-01-04 2021-05-11 东风柳州汽车有限公司 Vehicle data flashing method and device based on gateway and storage medium
CN113760723A (en) * 2021-01-13 2021-12-07 北京京东乾石科技有限公司 Business process debugging method and device
CN113760723B (en) * 2021-01-13 2024-04-16 北京京东乾石科技有限公司 Business process debugging method and device
CN114531354A (en) * 2022-04-22 2022-05-24 北京金山云网络技术有限公司 Cluster upgrading method and device, cluster controller and server

Also Published As

Publication number Publication date
CN110120970B (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN110120970A (en) Data processing method, device and gateway system based on car networking
US10599420B2 (en) Updating a controller unit in a vehicle
CN104363264B (en) The SDK access systems by all kinds of means of mobile terminal software
CN104378342B (en) Many accounts verification method, Apparatus and system
CN111385191A (en) Vehicle-mounted interconnected gateway, vehicle OTA upgrading system and method and computer storage medium
CN107579848A (en) The method that common recognition node is dynamically changed in practical Byzantine failure tolerance common recognition mechanism
CN106856434A (en) The method and apparatus of access request conversion
CN106484453B (en) Method and device for realizing system upgrading
CN104811979B (en) Method for testing pressure based on FOTA upgrading and device
CN105468393B (en) Module release upgrade method and terminal installation
EP3405923B1 (en) Updating a controller unit in a vehicle
CN112652089A (en) Diagnostic method, vehicle, system, and storage medium
CN109725952A (en) A kind of method of application plug, system and relevant apparatus
CN110377308A (en) Data updating method, system
CN112286705A (en) Kubernetes-based container web service interface aggregation system
CN110830822A (en) Resource updating method, device and computer readable storage medium
CN110825538A (en) MQ-based method for dynamically interacting data by self-defining data types
CN109298869A (en) A kind of generation method and relevant apparatus of target channel packet
CN106452815A (en) Informatization management method, device and system
CN109286689A (en) A kind of method for sending information, device and vehicle-mounted people-car interaction terminal
CN110417736B (en) Method and device for issuing bank cross-isolated area software and computer readable storage medium
CN114285739A (en) Node information batch configuration method, device, terminal and storage medium
CN110231965A (en) A kind of cloud device, applied program processing method and electronic equipment
CN109542487A (en) Upgrade method, device, Cloud Server and computer readable storage medium
CN111082984A (en) Method and device for simulating login of network equipment to carry out command line interaction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231228

Address after: 200000 Building 1, No.1 Haikun Road, Fengxian District, Shanghai

Patentee after: Tihe Exhibition (Shanghai) Network Technology Co.,Ltd.

Address before: 200120 building 11, No.99, Huanhu West 1st Road, Nanhui new town, Pudong New Area, Shanghai

Patentee before: TAIMA INFORMATION NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right