CN112235195B - Method for processing reported data and related equipment - Google Patents

Method for processing reported data and related equipment Download PDF

Info

Publication number
CN112235195B
CN112235195B CN202011069936.1A CN202011069936A CN112235195B CN 112235195 B CN112235195 B CN 112235195B CN 202011069936 A CN202011069936 A CN 202011069936A CN 112235195 B CN112235195 B CN 112235195B
Authority
CN
China
Prior art keywords
server
vehicle
data
message
reported data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011069936.1A
Other languages
Chinese (zh)
Other versions
CN112235195A (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.)
Pateo Connect and Technology Shanghai Corp
Original Assignee
Pateo Connect and Technology Shanghai Corp
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 Pateo Connect and Technology Shanghai Corp filed Critical Pateo Connect and Technology Shanghai Corp
Priority to CN202011069936.1A priority Critical patent/CN112235195B/en
Publication of CN112235195A publication Critical patent/CN112235195A/en
Application granted granted Critical
Publication of CN112235195B publication Critical patent/CN112235195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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

Landscapes

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

Abstract

The embodiment of the invention discloses a reported data processing method and related equipment, wherein after a reported data message generated by a vehicle-mounted TBOX according to a preset data protocol is received, the preset data protocol comprises a message head and a message body, the message head comprises a service identifier for identifying a manufacturer of the vehicle-mounted TBOX, and the message body comprises vehicle data; analyzing according to the message header of the reported data message to obtain a service identifier; determining a corresponding server group according to the service identifier, wherein the server group comprises at least one server; and determining at least one server in the server group as an analysis server, and routing the reported data message to the analysis server so that the analysis server analyzes the reported data message to obtain vehicle data. By using the method, the reported data messages of the vehicle TBOX of different manufacturers are processed by different server groups, so that the data processing independence is good, the compatibility is strong, and the processing efficiency of the reported data can be effectively improved.

Description

Method for processing reported data and related equipment
Technical Field
The present invention relates to the field of vehicle technologies, and in particular, to a method and a related device for processing reported data.
Background
With the increasing popularity of the internet of vehicles, the cloud platform of the internet of vehicles needs to meet the data reporting requirements of different vehicle manufacturers. In the prior art, a cloud platform processes reported data messages of different vehicle manufacturers (the reported data of different vehicle manufacturers are different), the coupling is high, when the reported data message of one vehicle manufacturer is wrong, the data processing of all the vehicle manufacturers is affected, and the independence is poor. And the service processing speed is slow. Therefore, there is a need to improve the above technical problems.
Disclosure of Invention
The embodiment of the invention provides a reported data processing method and related equipment, which have good data processing independence and can effectively improve the processing efficiency of reported data.
In a first aspect, an embodiment of the present invention provides a method for processing reported data, including:
receiving a reported data message generated by a vehicle-mounted TBOX according to a preset data protocol, wherein the preset data protocol comprises a message head and a message body, the message head comprises a service identifier for identifying a manufacturer of the vehicle-mounted TBOX, and the message body comprises vehicle data;
analyzing according to the message header of the reported data message to obtain the service identifier;
determining a corresponding server group according to the service identification, wherein the server group comprises at least one server;
determining at least one server in the server group as a resolution server;
and routing the reported data message to the analysis server so that the analysis server analyzes the reported data message to obtain the vehicle data.
Optionally, the determining at least one server in the server group as a resolution server includes:
polling the servers in the server group according to a preset polling sequence, and determining at least one idle server in the server group as the analysis server.
Optionally, the determining at least one server in the server group as a resolution server includes:
acquiring the load of each server in the server group;
and determining at least one server with the minimum load as the resolution server.
Optionally, the determining at least one server in the server group as a resolution server includes:
and polling the servers in the server group according to the configuration priority, and determining the server which does not reach the preset processing amount as the analysis server, wherein the higher the configuration priority of the server is, the larger the preset processing amount of the server is.
Optionally, the method further comprises:
configuring at least one server as a server group;
and configuring and storing the corresponding relation between the server group and the service identification of the manufacturer of the vehicle-mounted TBOX.
Optionally, the message header further includes at least one of a data reporting location, a data reporting time, and an equipment identifier of the vehicle-mounted TBOX.
In a second aspect, an embodiment of the present invention provides a device for processing reported data, including:
the system comprises a receiving module, a sending module and a sending module, wherein the receiving module is used for receiving a reported data message generated by a vehicle-mounted TBOX according to a preset data protocol, the preset data protocol comprises a message head and a message body, the message head comprises a service identifier used for identifying a manufacturer of the vehicle-mounted TBOX, and the message body comprises vehicle data;
the analysis module is used for obtaining the service identifier according to the analysis of the message header of the reported data message;
a first determining module, configured to determine a corresponding server group according to the service identifier, where the server group includes at least one server;
a second determining module, configured to determine at least one server in the server group as a resolution server;
and the routing module is used for routing the reported data message to the analysis server so that the analysis server analyzes the reported data message to obtain the vehicle data.
In a third aspect, an embodiment of the present invention provides a device for processing reporting data, including: a processor and a memory;
the processor is connected to the memory, wherein the memory is configured to store a program code, and the processor is configured to call the program code to execute the method for processing report data according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides an internet of vehicles cloud platform, including at least one server group and the reported data processing apparatus in the second aspect or the reported data processing device in the third aspect.
In a fifth aspect, an embodiment of the present invention provides a computer storage medium, where a computer program is stored in the computer storage medium, where the computer program includes program instructions, and when the program instructions are executed by a processor, the method for processing reported data according to the first aspect is performed.
In the embodiment of the invention, after a reported data message generated by a vehicle-mounted TBOX according to a preset data protocol is received, the preset data protocol comprises a message header and a message body, the message header comprises a service identifier for identifying a manufacturer of the vehicle-mounted TBOX, and the message body comprises vehicle data; analyzing according to the message header of the reported data message to obtain a service identifier; determining a corresponding server group according to the service identification, wherein the server group comprises at least one server; and determining at least one server in the server group as an analysis server, and routing the reported data message to the analysis server so that the analysis server analyzes the reported data message to obtain vehicle data. By using the method, the reported data messages of the vehicle TBOX of different manufacturers are processed by different server groups, so that the data processing independence is good, the compatibility is strong, and the processing efficiency of the reported data can be effectively improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for processing reported data according to an embodiment of the present invention;
fig. 2 is a schematic view of a scenario of a method for processing reported data according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for processing reported data according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a reporting data processing device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
It should be understood that the terms "first," "second," and the like in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by the person skilled in the art that the described embodiments of the invention can be combined with other embodiments.
In the embodiment of the application, the vehicle-mounted TBOX, also called a vehicle box, can generally read vehicle Can bus data and a private protocol deeply, the vehicle-mounted TBOX terminal is provided with a dual-core processing OBD module and a dual-core processing CPU framework, bus data and private protocol reverse control related to vehicle buses Dcan, kcan and PTcan are respectively collected, the vehicle data are transmitted to a vehicle networking cloud platform through a network, and vehicle data such as vehicle condition reports, driving reports, oil consumption statistics, fault reminding, violation inquiry, position tracks, driving behaviors, safety theft prevention, reservation service, remote vehicle finding, vehicle door control by using a mobile phone, windows, lamps, locks, loudspeakers, double flashes, reflector folding, skylights, monitoring central control warning, airbag states and the like are provided.
In particular, vehicles manufactured by different vehicle manufacturers have different vehicle-mounted TBOXs on the vehicles, and different vehicle data, such as different data structures or different data types, are carried in report data of the vehicle-mounted TBOXs.
In the prior art, an internet of vehicles cloud platform needs to meet data reporting requirements of vehicles of different vehicle manufacturers. The cloud platform processes the reported data messages of different vehicle manufacturers, the coupling is high, when the reported data message of one vehicle manufacturer is wrong, the vehicle data processing of all the vehicle manufacturers can be influenced, and the independence is poor. And the service processing speed is slow. Therefore, the embodiment of the present invention provides a method for processing reported data, which can effectively improve high coupling of data processing, has strong compatibility, and can effectively improve processing efficiency of the reported data.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for processing reported data according to an embodiment of the present invention; the reported data processing method comprises the following steps:
step 101, receiving a reported data message generated by a vehicle-mounted TBOX according to a preset data protocol, wherein the preset data protocol comprises a message header and a message body, the message header comprises a service identifier for identifying a manufacturer of the vehicle-mounted TBOX, and the message body comprises vehicle data;
specifically, the reported data processing method provided by the embodiment of the invention can be executed by a cloud platform of the internet of vehicles. Referring to fig. 2, fig. 2 is a schematic view of a scenario of a method for processing reported data according to an embodiment of the present invention; the vehicles 201, 202 and 203 are vehicles manufactured by different vehicle manufacturers, wherein the data types reported by the vehicle-mounted TBOX of each vehicle or the data structures of the reported data are different. Taking the vehicle 201 as an example, the vehicle-mounted TBOX on the vehicle 201 triggers or responds to the data acquisition request of the internet of vehicles cloud platform 200, and sends a report data message to the internet of vehicles cloud platform 200.
The reported data message is generated according to a preset data protocol, the preset data protocol includes a message header and a message body, the message header includes a service identifier for identifying a manufacturer (also referred to as a vehicle manufacturer) of the vehicle-mounted TBOX, and the message body includes vehicle data. The service identifiers in the reported data messages of vehicles of different vehicle manufacturers are different.
102, analyzing according to a message header of a reported data message to obtain a service identifier;
specifically, the car networking cloud platform analyzes a message header of the received reported data message to obtain a service identifier.
103, determining a corresponding server group according to the service identifier, wherein the server group comprises at least one server;
specifically, the car networking cloud platform comprises at least one server group, and the car networking cloud platform prestores corresponding relations between different service identifiers and different server groups, so that the car networking cloud platform can process reported data messages uploaded by vehicles corresponding to at least one vehicle manufacturer. In addition, each server group includes at least one server. Therefore, according to the service identifier obtained in step 102 and the pre-stored correspondence relationship, the server group corresponding to the service identifier can be determined. The server group is configured to process the reported data packet carrying the corresponding service identifier, in other words, the reported data packets of different service identifiers are processed by different server groups.
104, determining at least one server in the server group as a resolution server;
specifically, the car networking cloud platform may determine, according to actual needs, that at least one server in each server group is used as an analysis server for processing a corresponding reported data packet. For example, for a report data packet, a server in the server group is configured to process the report data packet. For one reported data message, two servers in the server group are configured to process the reported data message, where one server is used to analyze the reported data message to obtain vehicle data, and the other server is used to process the vehicle data, for example, to perform processing operations such as deduplication on the vehicle data (there may be duplication of the vehicle data carried in the message), and send the data to other devices.
And 105, routing the reported data message to an analysis server so that the analysis server analyzes the reported data message to obtain vehicle data.
Specifically, after the parsing server is determined, the report data message is then forwarded to the parsing server, so that the parsing server can parse the report data message to obtain the vehicle data, and further, the parsing server can further process the vehicle data, such as storing, continuing routing, and the like.
By using the method, the reported data messages of the vehicle TBOX of different manufacturers are processed by different server groups, so that the data processing independence is good, the compatibility is strong, and the processing efficiency of the reported data can be effectively improved.
In one possible embodiment, before receiving the report data message of a vehicle of a certain vehicle manufacturer, the method further comprises:
step S1, configuring at least one server as a server group;
specifically, at least one server is configured on the internet of vehicles cloud platform as a server group, and actually, the number of the server groups to be configured is determined according to the number of the vehicle manufacturers connected to the internet of vehicles cloud platform, for example, when the internet of vehicles cloud platform is connected to 3 vehicle manufacturers, at this time, 3 server groups need to be configured on the cloud platform, and one server group is used for processing a data report of one vehicle manufacturer. Step S1 and step S2 need to be performed before the vehicle manufacturer accesses the platform.
And S2, configuring and saving the corresponding relation between the server group and the service identifier of the manufacturer of the vehicle TBOX.
Specifically, the corresponding relation between the server group and the service identification of the manufacturer of the vehicle-mounted TBOX is configured on the vehicle networking cloud platform, and the corresponding relation is stored.
Particularly, when a new reported data message of a vehicle manufacturer is accessed subsequently, the method provided by the embodiment of the invention only needs to define a new unique service identifier on the vehicle networking cloud platform, add a corresponding server group newly, does not need to change the setting of an original server on the platform, and has strong expansibility, thereby achieving the purpose of transversely expanding the cloud heterogeneous data analysis service.
In addition, a server can be added in the server group at any time, and the expansibility of the Internet of vehicles cloud platform is effectively improved. For example, the accessed service of the vehicle manufacturer is rapidly developed, the number of the reported data messages is increased, and the cloud end can be accessed only by newly adding service configuration on the cloud platform of the vehicle network, namely, newly adding a server in a server group corresponding to the vehicle manufacturer, so that the purpose of longitudinally expanding the cloud end data analysis service is achieved.
In a possible embodiment, when the corresponding relationship between the service identifier and the server group is configured for the vehicle manufacturer, since the number of vehicles listed by the vehicle manufacturer is known or can be estimated, the configuration of the server group can be selected according to the number of vehicles listed, and for a large number of vehicles listed, that is, a large magnitude of the reported data message, the server resource at this time can be configured optimally, and the configured server is selected as the server group corresponding to the vehicle manufacturer, so as to optimize the resource utilization rate of the server. In addition, the server groups of different vehicle manufacturers are in a physical isolation state and cannot affect each other.
In a possible embodiment, the message header may further include at least one of a data reporting location, a data reporting time, and a device identifier of the vehicle-mounted TBOX, so that the vehicle networking cloud platform can process the vehicle data according to the carried information, for example, the cloud platform may count the number of vehicle data reported by vehicles of the same vehicle manufacturer at the same location according to the data reporting location.
In one possible embodiment, step 104 includes:
step 1041, polling the servers in the server group according to a preset polling sequence, and determining at least one idle server in the server group as an analysis server.
Specifically, the preset polling sequence and the number of idle servers may be set according to actual needs, for example, a certain server group includes 3 servers, which are respectively server a, server B and server C, and if the preset polling sequence is server B, server C and server a and the number of idle servers is one, the servers are polled according to the above sequence, and when an idle server is polled, polling is stopped, and the idle server is taken as an analysis server.
A certain number of idle servers are determined as analysis servers through polling, and the processing response speed of the reported data messages can be effectively improved.
In another possible embodiment, step 104 includes:
step 1042, acquiring the load of each server in the server group;
specifically, the embodiment of the present invention is a further supplement to the method for determining an idle server as an analysis server by polling a server, and when no idle server is found after polling, a load condition of each server in a server group may be determined by a polling algorithm.
In step 1043, at least one server with the smallest load is determined as the resolution server.
Specifically, the number of servers of the at least one server with the smallest load may be set according to actual needs, for example, set to 1, 2, or 3, and so on. Taking the setting as 2 as an example, the first two servers with the smallest load are taken as the resolution servers.
The analysis server is determined according to the load condition of each server in the server group, so that the high availability of the analysis server and the load balance of the servers can be achieved, and the server with low load is determined to be used as the analysis server, so that the processing speed of the reported data message can be effectively improved.
In another possible embodiment, step 104 includes:
and step 1044, polling the servers in the server group according to the configuration priority, and determining the server which does not reach the preset processing amount as an analysis server, wherein the higher the configuration priority of the server is, the larger the preset processing amount of the server is.
Specifically, the configuration priority is determined according to the configuration information of each server in the server group, the preset processing amount of the servers with different configuration priorities is preset, the specific numerical value of the preset processing amount can be set according to actual needs, and the preset processing amount is the number of the reported data messages that can be processed by the servers at the same time. In short, if the server is configured a little better, some report data packets may be processed. For example, when the configuration priority is determined to be server C, server a, and server B, and the corresponding preset processing amounts are 3, 2, and 1, respectively, polling is performed according to the configuration priority, whether the polled server reaches the preset processing amount is determined, and when the polled server reaches the preset processing amount, the server is taken as an analysis server; otherwise, if the polled server has reached a predetermined throughput, then the next server is polled.
By polling according to the configuration priority, determining the servers which do not reach the preset processing amount as the analysis servers, and preferentially selecting the servers with better configuration to process the reported data messages, the processing speed of the messages can be effectively improved.
It is particularly noted that the steps 1041 to 1044 are only used for distinguishing different steps, and the execution order of the steps is not limited.
In one possible embodiment, when the analysis server analyzes that an abnormality occurs, the abnormal alarm information is output, and the service identifier of the server group corresponding to the abnormal analysis server is output, so that a worker knows the analysis abnormal condition and quickly knows the specific position of the abnormal analysis server. Wherein, the mode of output abnormal alarm information can be at least one mode in pilot lamp scintillation warning, buzzer sound production warning, voice broadcast warning etc..
Based on the description of the above reported data processing method embodiment, an embodiment of the present invention further discloses a reported data processing apparatus, referring to fig. 3, fig. 3 is a schematic structural diagram of a reported data processing apparatus provided in an embodiment of the present invention; the device comprises:
a receiving module 301, configured to receive a report data packet generated by a vehicle-mounted TBOX according to a preset data protocol, where the preset data protocol includes a message header and a message body, the message header includes a service identifier for identifying a manufacturer of the vehicle-mounted TBOX, and the message body includes vehicle data;
the parsing module 302 is configured to parse a message header of the reported data packet to obtain a service identifier;
a first determining module 303, configured to determine a corresponding server group according to the service identifier, where the server group includes at least one server;
a second determining module 304, configured to determine at least one server in the server group as a resolution server;
the routing module 305 is configured to route the report data packet to the parsing server, so that the parsing server parses the report data packet to obtain vehicle data.
In one possible embodiment, the apparatus further comprises:
a configuration module for configuring at least one server as a server group; and configuring and storing the corresponding relation between the server group and the service identification of the manufacturer of the vehicle-mounted TBOX.
In one possible embodiment, the message header further includes at least one of a data reporting location, a data reporting time, and a device identifier of the vehicle TBOX.
In one possible embodiment, the second determining module 304 includes:
the first submodule is used for polling the servers in the server group according to a preset polling sequence and determining at least one idle server in the server group as an analysis server.
In another possible embodiment, the second determining module 304 includes:
the second submodule is used for acquiring the load of each server in the server group;
and the third submodule is used for determining at least one server with the minimum load as a resolution server.
In another possible embodiment, the second determining module 304 includes:
and the fourth submodule is used for polling the servers in the server group according to the configuration priority and determining the server which does not reach the preset processing amount as an analysis server, wherein the higher the configuration priority of the server is, the larger the preset processing amount of the server is.
It should be noted that, for a specific implementation manner of the reported data processing apparatus, reference may be made to the description of the reported data processing method, and details are not described herein again. Each unit or module in the reported data processing apparatus may be respectively or completely merged into one or several other units or modules to form the reported data processing apparatus, or some unit(s) or module(s) therein may be further split into multiple units or modules with smaller functions to form the reported data processing apparatus, which may implement the same operation without affecting the implementation of the technical effect of the embodiment of the present invention. The units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may also be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Based on the description of the method embodiment and the device embodiment, the embodiment of the present invention further provides a device for reporting data.
Fig. 4 is a schematic structural diagram of a reporting data processing device according to an embodiment of the present invention. As shown in fig. 4, the report data processing apparatus may be applied to the report data processing device 400, where the report data processing device 400 may include: the processor 401, the network interface 404 and the memory 405, and the device 400 for processing reported data may further include: a user interface 403, and at least one communication bus 402. Wherein a communication bus 402 is used to enable connective communication between these components. The user interface 403 may include a Display (Display) and a Keyboard (Keyboard), and the selectable user interface 403 may also include a standard wired interface and a standard wireless interface. The network interface 404 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 405 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 405 may alternatively be at least one storage device located remotely from the aforementioned processor 401. As shown in fig. 4, the memory 405, which is a type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the reporting data processing apparatus 400 shown in fig. 4, the network interface 404 may provide a network communication function; and the user interface 403 is primarily an interface for providing input to a user; and processor 401 may be used to invoke a device control application stored in memory 405 to implement:
receiving a reported data message generated by the vehicle-mounted TBOX according to a preset data protocol, wherein the preset data protocol comprises a message header and a message body, the message header comprises a service identifier for identifying a manufacturer of the vehicle-mounted TBOX, and the message body comprises vehicle data;
analyzing according to a message header of the reported data message to obtain a service identifier;
determining a corresponding server group according to the service identification, wherein the server group comprises at least one server;
determining at least one server in the server group as a resolution server;
and routing the reported data message to an analysis server so that the analysis server analyzes the reported data message to obtain vehicle data.
In one embodiment, the processor 401 further performs the steps of:
configuring at least one server as a server group;
and configuring and saving the corresponding relation between the server group and the service identification of the manufacturer of the vehicle-mounted TBOX.
In one possible embodiment, the message header further comprises at least one of a data reporting location, a data reporting time, and a device identifier of the onboard TBOX.
In an embodiment, the processor 401 specifically performs the following steps when determining at least one server in the server group as the resolution server:
polling the servers in the server group according to a preset polling sequence, and determining at least one idle server in the server group as an analysis server.
In an embodiment, the processor 401 specifically performs the following steps when determining at least one server in the server group as the resolution server:
acquiring the load of each server in a server group;
and determining at least one server with the minimum load as a resolution server.
In an embodiment, the processor 401 specifically performs the following steps when determining at least one server in the server group as the resolution server:
polling the servers in the server group according to the configuration priority, and determining the server which does not reach the preset processing amount as an analysis server, wherein the higher the configuration priority of the server is, the larger the preset processing amount of the server is.
It should be understood that the device 400 for processing reported data described in the embodiments of the present invention may perform the method for processing reported data as described above, and may also perform the description of the device for processing reported data as described above, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Based on the reported data processing device, an embodiment of the present invention further provides an internet of vehicles cloud platform, which includes at least one server group and the reported data processing device or the reported data processing equipment.
Referring to fig. 2, a possible car networking platform is illustrated, where the possible car networking platform includes a data access gateway 204, a configuration center 205, and a plurality of server groups, and taking a first server group 206, a second server group 207, a third server group 208, and a fourth server group 209 as an example, the data access gateway 204 and the configuration center 205 are configured to execute the above reported data processing method, and specifically, the configuration center 205 stores a corresponding relationship between a service identifier and a server group. Taking the vehicle 201 as an example, the vehicle-mounted TBOX of the vehicle 201 accesses the data access gateway 204 through the HTTP, and sends the reported data packet to the data access gateway 204, the data access gateway 204 services and parses a service identifier in a message header of the packet, finds a server group corresponding to the service identifier in the configuration center through the service identifier, and the data access gateway 204 determines a parsing server in the server group according to a preset method for determining the parsing server, and then routes the packet to the parsing server for processing.
Further, here, it is to be noted that: an embodiment of the present invention further provides a computer storage medium, where the computer program executed by the aforementioned reported data processing apparatus is stored in the computer storage medium, and the computer program includes program instructions, and when a processor executes the program instructions, the description of the reported data processing method can be executed, so that details are not repeated herein. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium to which the present invention relates, reference is made to the description of the method embodiments of the present invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer-readable storage medium, and when executed, the processes of the embodiments of the methods described above can be included. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A method for processing reported data is characterized by comprising the following steps:
receiving a reported data message generated by a vehicle-mounted TBOX according to a preset data protocol, wherein the preset data protocol comprises a message header and a message body, the message header comprises a service identifier for identifying a manufacturer of the vehicle-mounted TBOX, and the message body comprises vehicle data;
analyzing according to the message header of the reported data message to obtain the service identifier;
determining a corresponding server group according to the service identification, wherein the server group comprises at least one server;
determining at least one server in the server group as a resolution server;
and routing the reported data message to the analysis server so that the analysis server analyzes the reported data message to obtain the vehicle data.
2. The method of claim 1, wherein determining at least one server in the set of servers as a resolution server comprises:
polling the servers in the server group according to a preset polling sequence, and determining at least one idle server in the server group as the analysis server.
3. The method of claim 1, wherein determining at least one server in the set of servers as a resolution server comprises:
acquiring the load of each server in the server group;
and determining at least one server with the minimum load as the resolution server.
4. The method of claim 1, wherein determining at least one server in the set of servers as a resolution server comprises:
and polling the servers in the server group according to the configuration priority, and determining the server which does not reach the preset processing amount as the analysis server, wherein the higher the configuration priority of the server is, the larger the preset processing amount of the server is.
5. The method according to any one of claims 1 to 4, further comprising:
configuring at least one server as a server group;
and configuring and storing the corresponding relation between the server group and the service identification of the manufacturer of the vehicle-mounted TBOX.
6. The method of any one of claims 1 to 4, wherein the message header further comprises at least one of a data reporting location, a data reporting time, and a device identification of the vehicle TBOX.
7. A device for processing reported data, comprising:
the system comprises a receiving module, a sending module and a sending module, wherein the receiving module is used for receiving a reported data message generated by a vehicle-mounted TBOX according to a preset data protocol, the preset data protocol comprises a message head and a message body, the message head comprises a service identifier used for identifying a manufacturer of the vehicle-mounted TBOX, and the message body comprises vehicle data;
the analysis module is used for obtaining the service identifier according to the analysis of the message header of the reported data message;
a first determining module, configured to determine a corresponding server group according to the service identifier, where the server group includes at least one server;
a second determining module, configured to determine at least one server in the server group as a resolution server;
and the routing module is used for routing the reported data message to the analysis server so that the analysis server analyzes the reported data message to obtain the vehicle data.
8. A device for processing reported data, comprising: a processor and a memory;
the processor is connected with the memory, wherein the memory is used for storing program codes, and the processor is used for calling the program codes to execute the report data processing method according to any one of claims 1 to 6.
9. A vehicle networking cloud platform, comprising at least one server group and the reported data processing apparatus of claim 7 or the reported data processing device of claim 8.
10. A computer storage medium, characterized in that it stores a computer program comprising program instructions which, when executed by a processor, perform a method of processing reported data according to any of claims 1 to 6.
CN202011069936.1A 2020-09-30 2020-09-30 Method for processing reported data and related equipment Active CN112235195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011069936.1A CN112235195B (en) 2020-09-30 2020-09-30 Method for processing reported data and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011069936.1A CN112235195B (en) 2020-09-30 2020-09-30 Method for processing reported data and related equipment

Publications (2)

Publication Number Publication Date
CN112235195A CN112235195A (en) 2021-01-15
CN112235195B true CN112235195B (en) 2022-10-11

Family

ID=74119942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011069936.1A Active CN112235195B (en) 2020-09-30 2020-09-30 Method for processing reported data and related equipment

Country Status (1)

Country Link
CN (1) CN112235195B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107919955A (en) * 2017-12-28 2018-04-17 北京奇虎科技有限公司 A kind of vehicle network safety certifying method, system, vehicle, device and medium
CN109474671A (en) * 2018-10-23 2019-03-15 深圳市体数科科技有限公司 A kind of intelligent vehicle-carried equipment and its communication means
CN109714327A (en) * 2018-12-21 2019-05-03 深圳市元征科技股份有限公司 Data processing method, device, terminal, system and server
CN110682918A (en) * 2019-10-09 2020-01-14 南京领行科技股份有限公司 Vehicle control method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120970B (en) * 2019-04-15 2022-04-05 钛马信息网络技术有限公司 Data processing method and device based on Internet of vehicles and gateway system
CN111145380A (en) * 2019-12-31 2020-05-12 上海能塔智能科技有限公司 Reported data processing method and device adaptive to vehicle-mounted equipment and electronic equipment
CN111726414B (en) * 2020-06-29 2023-05-09 亿咖通(湖北)技术有限公司 Vehicle reporting data processing method and vehicle data reporting system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107919955A (en) * 2017-12-28 2018-04-17 北京奇虎科技有限公司 A kind of vehicle network safety certifying method, system, vehicle, device and medium
CN109474671A (en) * 2018-10-23 2019-03-15 深圳市体数科科技有限公司 A kind of intelligent vehicle-carried equipment and its communication means
CN109714327A (en) * 2018-12-21 2019-05-03 深圳市元征科技股份有限公司 Data processing method, device, terminal, system and server
CN110682918A (en) * 2019-10-09 2020-01-14 南京领行科技股份有限公司 Vehicle control method and device

Also Published As

Publication number Publication date
CN112235195A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN112291124B (en) Vehicle-mounted network ECU communication method based on SOME/IP protocol
CN112367233B (en) Vehicle-mounted network ECU communication method and device based on service-oriented architecture
WO2022088160A1 (en) Anomaly detection method and apparatus
CN110635933B (en) Apparatus, control method, and recording medium for managing network of SDN
CN111245776A (en) Vehicle-mounted data transmission method, device, equipment and storage medium
CN111182659B (en) Mode switching method and mode switching device of Mesh equipment and Mesh equipment
US20190217869A1 (en) Control apparatus, control method, and program
CN111726414B (en) Vehicle reporting data processing method and vehicle data reporting system
CN112235195B (en) Method for processing reported data and related equipment
CN112511396A (en) Whole vehicle communication monitoring method and device
Dekanic et al. Integration of CAN bus drivers and UDS on Aurix platform
JP2021196997A (en) Log transmission control device
CN113938844B (en) Network connection monitoring method, system, computer device and storage medium
CN113259200B (en) Vehicle-mounted Ethernet switch hardware testing method, device, equipment and storage medium
WO2021106446A1 (en) Detection device, vehicle, detection method, and detection program
CN110177032B (en) Message routing quality monitoring method and gateway controller
CN109379211B (en) Network monitoring method and device, server and storage medium
CN113892247A (en) Relay device, vehicle, communication method, and communication program
CN114944969B (en) Vehicle data processing method, internet of vehicles terminal and computer readable storage medium
CN108259626B (en) Remote monitoring service system and method compatible with multiple communication protocols
CN116074399B (en) Data acquisition and control system and method based on visual configuration flexible access
CN115412588B (en) Method and device for remotely updating configuration file and electronic equipment
US20230198954A1 (en) Method for analyzing services of nodes of a network
CN115701034A (en) Bus control method and related device
CN116909830A (en) Vehicle-mounted system monitoring method and device, vehicle and server

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 201821 room 208, building 4, No. 1411, Yecheng Road, Jiading Industrial Zone, Jiading District, Shanghai

Applicant after: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Address before: Room 208, building 4, 1411 Yecheng Road, Jiading Industrial Zone, Jiading District, Shanghai, 201800

Applicant before: SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Reporting data processing methods and related equipment

Effective date of registration: 20230920

Granted publication date: 20221011

Pledgee: Jiading Branch of Shanghai Bank Co.,Ltd.

Pledgor: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Registration number: 2019110000002

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 3701, No. 866 East Changzhi Road, Hongkou District, Shanghai, 200000

Patentee after: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Country or region after: China

Address before: 201821 room 208, building 4, No. 1411, Yecheng Road, Jiading Industrial Zone, Jiading District, Shanghai

Patentee before: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Country or region before: China