Data conversion method and device, electronic equipment and car networking platform
By converting data according to vehicle model and enterprise type in the Internet of Vehicles platform, the problem of data processing complexity of vehicle-mounted communication terminals in different enterprises and vehicle models is solved, and the flexibility and efficiency of data conversion is improved, and real-time uploading of national standards is met need.
Patent Information
- Application Number
- CN202411200681.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-17
AI Technical Summary
The signals collected by the on-board communication terminals of different enterprises and models vary greatly, resulting in a large amount of workload during national standard data processing, and the rules configuration and iterative updates are complex, so they cannot be flexibly processed.
In the Internet of Vehicles platform, by receiving the original data uploaded by the on-board communication terminal, determining the enterprise standard data based on the vehicle model, and determining the national standard data based on the enterprise type, and using the enterprise standard data as an intermediate bridge for data conversion, realizing data flexibility and Unified configuration to reduce the difficulty of rule configuration.
It improves the flexibility and efficiency of data conversion, reduces the complexity of rule configuration and resource waste, meets the business needs of enterprises, and realizes real-time upload of data that meets national standards.
Smart Images

Figure CN119149618A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle data processing technology, and in particular to a data conversion method, device, electronic equipment and vehicle networking platform. Background Art
[0002] The national standard technical specification GB / T 32960 "Technical Specification for Electric Vehicle Remote Service and Management System" defines the communication protocol between the on-board communication terminal and the monitoring platform. The protocol requires that the on-board communication terminal needs to collect data on the entire vehicle and its components from the vehicle and report it to the monitoring platform in real time.
[0003] The above-mentioned protocol only defines the data content and specifications that need to be transmitted between the vehicle-mounted communication terminal and the monitoring platform. However, there are large differences in the signals collected by the vehicle-mounted communication terminals of different enterprises and different models under different enterprises. The workload is large when processing national standard data, and the enterprise to which the vehicle-mounted communication terminal belongs cannot directly use the signal processed by the national standard data, resulting in redundant data processing processes. Summary of the invention
[0004] In view of this, the purpose of this application is to propose a data conversion method, device, electronic device and vehicle networking platform to solve the problem of large rule configuration and data processing volume caused by configuring national data conversion rules for different models of different enterprises, and the inability to flexibly handle rule iterations and updates.
[0005] Based on the above purpose, the present application provides a data conversion method, which is applied to a vehicle networking platform, including:
[0006] In response to receiving the original data uploaded by the vehicle-mounted communication terminal, determining the enterprise standard data corresponding to the original data according to the original data and the vehicle model corresponding to the original data;
[0007] According to the enterprise standard data and the enterprise type corresponding to the original data, the national standard data corresponding to the original data is determined.
[0008] Based on the above purpose, the present application also provides a data conversion device, which is configured on a vehicle networking platform and includes:
[0009] A first conversion module, configured to, in response to receiving the original data uploaded by the vehicle-mounted communication terminal, determine the enterprise standard data corresponding to the original data according to the original data and the vehicle model corresponding to the original data;
[0010] The second conversion module is used to determine the national standard data corresponding to the original data according to the enterprise standard data and the enterprise type corresponding to the original data.
[0011] Based on the above purpose, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a data conversion method as provided in any embodiment of the present application is implemented.
[0012] Based on the above purpose, the present application also provides a vehicle networking platform, which includes an electronic device provided in any embodiment of the present application.
[0013] From the above, it can be seen that the data conversion method provided by the present application is applied to the Internet of Vehicles platform. In response to receiving the original data uploaded by the on-board communication terminal, the enterprise standard data corresponding to the original data is determined according to the original data and the vehicle model corresponding to the original data, so as to perform the first data conversion, so that the converted enterprise standard data has business application value. Furthermore, according to the enterprise standard data and the enterprise type corresponding to the original data, the national standard data corresponding to the original data is determined to perform the second data conversion, so that the converted national standard data can be uploaded in real time and comply with national standards. By using enterprise standard data as an intermediate bridge for data conversion, national standard data conversion is performed on the basis of meeting the business needs of the enterprise, thereby increasing the flexibility of data conversion. In addition, data conversion is performed by uniformly configuring rules on the platform instead of configuring rules on each vehicle for data conversion, thereby reducing the difficulty of rule configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1 A flowchart of a data conversion method provided in an embodiment of the present application;
[0016] Figure 2 A flowchart of another data conversion method provided in an embodiment of the present application;
[0017] Figure 3 A schematic diagram of storing a first data conversion rule in an operation platform provided in an embodiment of the present application;
[0018] Figure 4 A schematic diagram of the contents in a database provided in an embodiment of the present application;
[0019] Figure 5 An information interaction diagram of a data conversion method provided in an embodiment of the present application;
[0020] Figure 6 A schematic diagram of the structure of a data conversion device provided in an embodiment of the present application;
[0021] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0023] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0024] At present, based on the national standard technical specification GB / T 32960, the collected data can be converted into national standard data through the vehicle communication terminal using pre-configured data conversion rules. However, since there are certain differences in the signals collected by the vehicle communication terminals of different companies and even different models of different companies, directly converting the data collected by the vehicle communication terminal requires separate configuration for each model, which will lead to a large workload for configuring the conversion rules and complex processing when iterating and updating the rules. Moreover, the national standard data is only used for uploading to the monitoring platform and has no actual business function. Therefore, the use of the above-mentioned repeated data conversion process will also lead to the problem of waste of resources and configuration.
[0025] Figure 1 The flowchart of a data conversion method provided in the embodiment of the present application is mainly applied to the Internet of Vehicles platform, and is suitable for converting enterprise standard data according to different models of vehicle communication terminals on the Internet of Vehicles platform, and converting national labeled data according to different enterprises using enterprise labeled data as intermediate data. This method can be configured in the electronic equipment of the Internet of Vehicles platform. Figure 1 As shown, the method may specifically include the following steps:
[0026] S110 , in response to receiving the original data uploaded by the vehicle-mounted communication terminal, determining the enterprise standard data corresponding to the original data according to the original data and the vehicle model corresponding to the original data.
[0027] Among them, the vehicle-mounted communication terminal (Telematics BOX, TBOX) can communicate with the vehicle's electronic control unit (Electronic Control Unit, ECU) to obtain the vehicle's operating status information, such as vehicle speed, engine speed, fault code, etc. The vehicle-mounted communication terminal can also communicate wirelessly with the vehicle networking platform, for example: uploading the vehicle's operating status information to the vehicle networking platform, and can also receive instructions and data issued by the vehicle networking platform. The vehicle networking platform (Telematics Service Provider, TSP) can obtain the vehicle's information and status by communicating with the TBOX on the vehicle. In this example, the vehicle networking platform can also be used for data conversion. Of course, the vehicle networking platform also has other functions that are not described in this example. The original data is the data collected by the vehicle-mounted communication terminal, such as the vehicle's operating status information, etc., which can be specifically CAN (Controller Area Network, Controller Local Area Network) signal. It can be understood that there are large differences in the original data collected by the vehicle-mounted communication terminal under different models, so it will cause greater complexity to the data conversion process. The vehicle model is a set of codes or names used to identify a specific vehicle, which may include the company name code, vehicle category code (such as sedan, bus, truck, etc.), main parameter code (such as vehicle length, displacement, load capacity, etc.) and product serial number (such as the production order of the vehicle among the same type of vehicles in the company), etc. Enterprise standard data is data defined by standard enterprise signal identification and value standards based on enterprise characteristics. For example, the enterprise signal identification is 2001001 and the value is 1, which means that the vehicle is in driving state. The enterprise standard data corresponding to different vehicle models under the same enterprise will not be different due to differences in vehicle models.
[0028] Specifically, the on-board communication terminal of each vehicle can collect the original data of the corresponding vehicle, and upload these original data to the Internet of Vehicles platform in real time for subsequent data processing. Furthermore, when the Internet of Vehicles platform receives the original data uploaded by the on-board communication terminal, it can determine the vehicle model corresponding to the original data, that is, the vehicle model corresponding to the on-board communication terminal that uploaded the original data. Furthermore, in the predetermined rules for converting to enterprise standard data, the conversion rules for converting the original data to enterprise standard data can be determined according to the vehicle model, and the original data can be converted according to the determined conversion rules to obtain the enterprise standard data corresponding to the original data, which can be used for the enterprise's business applications or subsequent second data conversion processing.
[0029] Based on the above example, after determining the enterprise standard data corresponding to the original data, the enterprise standard data can also be used for various businesses of the enterprise, and therefore, can also be called by the enterprise terminal, specifically:
[0030] In response to a service data request of an enterprise terminal corresponding to the vehicle-mounted communication terminal, service feedback data corresponding to the service data request is determined from the enterprise standard data, and the service feedback data is sent to the enterprise terminal.
[0031] Among them, the enterprise terminal is the business terminal in each automobile enterprise. The business data request is a data request issued according to business needs to request to obtain the enterprise standard data used to complete the corresponding business. The business feedback data is part or all of the enterprise standard data corresponding to the business data request.
[0032] Specifically, the enterprise terminal can perform various business processing, but the business processing requires enterprise standard data that is uniformly processed according to the enterprise's standards. Therefore, the enterprise terminal can send business data requests to the Internet of Vehicles platform according to business needs. After receiving the business data request, the Internet of Vehicles platform can parse and process the business data request, determine the business feedback data corresponding to the business data request from the enterprise standard data, and send the business feedback data to the enterprise terminal, so that the enterprise terminal can use the functional business feedback data to complete the business processing.
[0033] S120. Determine the national standard data corresponding to the original data according to the enterprise standard data and the enterprise type corresponding to the original data.
[0034] The enterprise type may be the enterprise name, which can be used to distinguish different types of enterprise standard data. National standard data is data defined by the national standard technical specification GB / T 32960.
[0035] Specifically, in the pre-set rules for converting to enterprise standard data, the conversion rules for converting enterprise standard data into national standard data can be determined according to the enterprise type, and the enterprise standard data can be converted according to the determined conversion rules to obtain national standard data corresponding to the original data for uploading to the monitoring platform.
[0036] Based on the above example, after determining the national standard data corresponding to the original data, due to the monitoring requirements of the target monitoring platform, it is necessary to upload the national standard data in real time, which can be:
[0037] The national standard data and the vehicle identification corresponding to the national standard data are uploaded to the target monitoring platform in real time.
[0038] The vehicle identification is an identification used to distinguish different vehicles, and may be a VIN (Vehicle Identification Number), etc. The target monitoring platform is a national / local monitoring platform for new energy vehicles.
[0039] Specifically, since the national standard data needs to be uploaded to the target monitoring platform in real time, after the original signal is converted into the enterprise standard signal and then into the national standard signal, the national standard signal and the vehicle identification corresponding to the national standard signal can be uploaded to the target monitoring platform in real time, so as to facilitate the corresponding monitoring and processing of the national standard signal and the vehicle identification in the target monitoring platform.
[0040] It is understandable that enterprise standard data is data with actual business functions, and is the unified data of the original data corresponding to various models under each enterprise type under the enterprise standard requirements. On this basis, a rule for data conversion with national standard data can be established for each enterprise type, so that the complexity of data conversion for transmitting data to the monitoring platform can be reduced on the basis of executing enterprise business.
[0041] The data conversion method provided in this embodiment is applied to the Internet of Vehicles platform. In response to receiving the original data uploaded by the on-board communication terminal, the enterprise standard data corresponding to the original data is determined according to the original data and the vehicle model corresponding to the original data, so as to perform the first data conversion, so that the converted enterprise standard data has business application value. Furthermore, according to the enterprise standard data and the enterprise type corresponding to the original data, the national standard data corresponding to the original data is determined, so as to perform the second data conversion, so that the converted national standard data can be uploaded in real time and comply with national standards. By using the enterprise standard data as an intermediate bridge for data conversion, the national standard data is converted on the basis of meeting the business needs of the enterprise, thereby increasing the flexibility of data conversion. In addition, the data conversion is performed by uniformly configuring rules on the platform instead of configuring rules on each vehicle to perform data conversion, thereby reducing the difficulty of rule configuration.
[0042] The above embodiment describes the data conversion method. In addition to converting the original data into enterprise standard data according to the vehicle model and converting the enterprise standard data into national standard data according to the enterprise type, in this embodiment, further description can be made on how to select appropriate data conversion rules and how to construct data conversion rules, such as Figure 2 shown. Figure 2 This is a flowchart of another data conversion method provided by an embodiment of the present application, wherein the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here. Figure 2 As shown, the method may specifically include the following steps:
[0043] S210 , in response to receiving the original data uploaded by the vehicle-mounted communication terminal, analyzing the original data according to a signal matrix corresponding to the original data to determine various analyzed data.
[0044] Among them, the signal matrix is a matrix used to parse the original data, which may include the signal name, that is, used to identify a specific signal, such as engine speed, vehicle speed, etc., may include the signal length, that is, the number of bits occupied by the signal, usually in bits, may include the signal unit, that is, the physical quantity unit describing the signal, such as rpm (revolutions per minute), km / h (kilometers per hour), may include the start bit, that is, the starting position of the signal in the data frame, the sending node, that is, the node that generates and sends the signal, and may also include the receiving node that receives the signal. The signal matrix is related to the vehicle type. The composition of the original signal collected by different vehicle types is different, and the corresponding signal matrix is also different. The parsed data is the data obtained by parsing the original data according to the signal matrix.
[0045] Specifically, when the Internet of Vehicles platform receives the raw data uploaded by the vehicle communication terminal, it can determine the vehicle model corresponding to the raw data, and then determine the signal matrix corresponding to the vehicle model. The corresponding raw data is analyzed using the determined signal matrix to determine the analyzed data corresponding to the raw data.
[0046] S220 . Determine a first target rule from each first data conversion rule according to the vehicle model corresponding to the original data.
[0047] The first data conversion rule is a rule for converting raw data into enterprise standard data, and each vehicle model corresponds to a first data conversion rule. The first target rule is a data conversion rule for converting raw data, and is one of the first data conversion rules.
[0048] Specifically, since the first data conversion rules correspond one-to-one to the vehicle model, after knowing the vehicle model corresponding to the original data, a corresponding rule can be determined from the first data conversion rules as the first target rule corresponding to the original data.
[0049] Based on the above example, the first data conversion rule can be constructed in the following manner:
[0050] For each vehicle model, determine the signal matrix corresponding to the vehicle model, and determine the coding identifier corresponding to each data identifier in the signal matrix according to the signal matrix;
[0051] For each data identifier, construct a value conversion rule corresponding to the data identifier according to the data type corresponding to the data identifier, the data to be converted, and the target data;
[0052] According to the coding identifier and value conversion rule corresponding to each data identifier, a first data conversion rule corresponding to the vehicle model is constructed.
[0053] Among them, the data identifier is each identifier used to parse the data in the signal matrix, that is, the identifier corresponding to each parsed data. The coding identifier is the identifier after the enterprise standard data conversion, and is the identifier after the data identifiers of various vehicle types are unified. The data type can be a state type or a numerical type. The data to be converted is the initial data in the process of converting the original data to the corresponding enterprise standard data. The target data is the result data in the process of converting the original data to the corresponding enterprise standard data. The value conversion rule is the conversion rule established between the data to be converted and the target data, which can be a mathematical processing method, etc.
[0054] Specifically, for each vehicle model, determine to obtain the signal matrix corresponding to the vehicle model, and disassemble the data according to the signal matrix, determine the data identifiers contained in the signal matrix, and establish a corresponding relationship between each data identifier and a coding identifier. Further, for each data identifier, the data type corresponding to the data identifier can be known, and the data to be converted that needs to be converted, as well as the result of the data conversion, that is, the target data, can be known, and then the value conversion rule corresponding to each data identifier can be constructed. Finally, the coding identifier and the value conversion rule corresponding to each data identifier can be combined to construct the first data conversion rule corresponding to the vehicle model. In the above manner, the first data conversion rule corresponding to each vehicle model can be constructed.
[0055] Optionally, for each data identifier, if the data type corresponding to the data identifier is a numerical type, a functional relationship is established based on the data to be converted and the target data, and the functional relationship is determined as a value conversion rule; if the data type corresponding to the data identifier is a state type, a data correspondence relationship is established between the data to be converted and the target data of each module, and the data correspondence relationship is determined as a value conversion rule.
[0056] S230: Determine each enterprise standard data corresponding to the original data according to the first target rule and each parsed data.
[0057] Specifically, each parsed data is converted according to the rule setting in the first target rule, and what is obtained after the conversion is each enterprise standard data corresponding to the original data.
[0058] S240: In response to the vehicle model corresponding to the original data belonging to the target attribute, determine the enterprise type corresponding to the original data.
[0059] Among them, the target attribute is a pre-defined attribute that needs to be converted into national standard data, such as new energy attributes.
[0060] Specifically, determine whether the vehicle model corresponding to the original data belongs to the target attribute. If it does not belong to the target attribute, it means that the original data does not need to be converted to national standard data. Therefore, the data conversion process can be ended by converting it to enterprise standard data. If it belongs to the target attribute, it means that the national standard data needs to be uploaded in accordance with national requirements. Therefore, subsequent conversion of enterprise standard data to national standard data is required. Therefore, the enterprise type corresponding to the original data is first determined. It can be determined according to the vehicle model corresponding to the original data to determine the enterprise type to which the vehicle signal belongs. It can also be other methods, which are not specifically limited here.
[0061] S250: Determine a second target rule from each second data conversion rule according to the enterprise type.
[0062] The second data conversion rule is a rule for converting enterprise standard data to national standard data, and each enterprise type corresponds to a second data conversion rule. The second target rule is a data conversion rule for converting enterprise standard data, and is one of the second data conversion rules.
[0063] Specifically, since the second data conversion rules correspond one-to-one to the enterprise type, after knowing the enterprise type corresponding to the original data, a corresponding rule can be determined from the second data conversion rules as the second target rule corresponding to the original data.
[0064] Based on the above example, the second data conversion rule can be constructed in the following manner:
[0065] For each enterprise type, determine the coding identifiers corresponding to the enterprise type;
[0066] For each coding identifier, construct a coding conversion rule corresponding to the coding identifier according to the data type corresponding to the coding identifier, the data to be encoded and the standard encoding data;
[0067] According to the code conversion rule corresponding to each code identifier, a second data conversion rule corresponding to the enterprise type is constructed.
[0068] The data to be coded refers to the initial data before the enterprise standard data is converted to the corresponding national standard data. The standard coded data refers to the result data in the process of converting the enterprise standard data to the corresponding national standard data. The coding conversion rule is the conversion rule established between the data to be coded and the standard coded data, which can be a corresponding relationship rule, a function rule, etc.
[0069] Specifically, when the enterprise type is determined, the coding identifiers corresponding to the enterprise type are also determined, that is, the types and quantities of coding identifiers covered by the enterprise standard signal corresponding to the enterprise type are determined. The association between the original signal and the enterprise standard signal and the national standard signal can be established through the coding identifier. Therefore, for each enterprise type, the coding identifiers corresponding to the enterprise type can be obtained. Further, for each coding identifier, the data type corresponding to the coding identifier can be known, and the data to be encoded that needs to be converted, as well as the result of the data conversion, that is, the standard encoding data, can be known, and then the encoding conversion rules corresponding to each coding identifier can be constructed. For example: if the data type is a state class, then the encoding conversion rule can be a rule of corresponding relationship, and if the data type is a numerical class, then the encoding conversion rule can be a rule of functional relationship. Finally, the coding identifier encoding conversion rules corresponding to each coding identifier can be combined to construct the second data conversion rule corresponding to the enterprise type. In the above manner, the second data conversion rules corresponding to each enterprise type can be constructed.
[0070] Optionally, both the first data conversion rule and the second data conversion rule can be operated in the following manner:
[0071] Receive a data conversion rule operation, and determine a rule type, an operation type, and content to be operated corresponding to the data conversion rule operation;
[0072] In response to the rule type being the first data conversion rule, updating the first data conversion rule according to the operation type and the content to be operated;
[0073] In response to the rule type being a second data conversion rule, the second data conversion rule is updated according to the operation type and the content to be operated.
[0074] The data conversion rule operation is an operation performed by a user on the first data conversion rule or the second data conversion rule. The rule type may be the first data conversion rule or the second data conversion rule. The operation type may be operations such as adding, deleting, and modifying. The content to be operated is the content of the rule that needs to be processed further.
[0075] Specifically, the Internet of Vehicles platform can receive the data conversion rule operation performed by the user on the first data conversion rule or the second data conversion rule, and parse the data conversion rule operation to obtain the rule type, operation type and content to be operated corresponding to the data conversion rule operation. According to the rule type, it can be determined whether to update the first data conversion rule or the second data conversion rule, and then the content to be operated can be processed according to the operation type. For example: if the operation type is an add operation, the content to be operated can be added to the first data conversion rule or the second data conversion rule; if the operation type is a delete operation, the content to be operated can be deleted from the first data conversion rule or the second data conversion rule; if the operation type is a modify operation, the corresponding content in the first data conversion rule or the second data conversion rule can be modified according to the content to be operated.
[0076] S260. Determine the national standard data corresponding to the original data according to the second target rule and the enterprise standard data.
[0077] Specifically, each enterprise standard data is converted according to the rule setting in the second target rule, and the data obtained after the conversion is the national standard data corresponding to the original data.
[0078] It can be understood that the original data of various vehicle models under the same enterprise type can be converted into the same form of enterprise standard data, and further, various forms of enterprise standard data under different enterprise types can be converted into national standard data.
[0079] Different first data conversion rules can be stored on the Internet of Vehicles platform, such as Figure 3 As shown in Figure 1, data maintenance can be performed through the operation platform in the Internet of Vehicles platform, where the maintenance content includes database identification, platform version, database type, and database name. Figure 4 As shown, the content in the database can be understood as the parsed content of the signal matrix and each first data conversion rule, which may include data identification, bus position, data frame start bit, data frame end bit, acquisition cycle, category code and coding identification under the category code, and may also include value conversion rules. Through the maintenance, editing, addition and change of the database, it is convenient to iterate each first data conversion rule and the signal matrix content. Correspondingly, the second data conversion rule can also be stored on the Internet of Vehicles platform, and data maintenance can be performed through the operation platform in the Internet of Vehicles platform. Through the flexible configuration of the operation platform, the conversion of original data-enterprise standard data and enterprise standard data-national standard data for different vehicle models can be realized, which reduces the development cost of the Internet of Vehicles platform and can support flexible changes.
[0080] The data conversion method provided in this embodiment is applied to a vehicle networking platform. In response to receiving the original data uploaded by the vehicle-mounted communication terminal, the original data is parsed according to the signal matrix corresponding to the original data, and each parsed data is determined to parse the original data according to different vehicle types. Then, according to the vehicle model corresponding to the original data, a first target rule is determined from each first data conversion rule, and according to the first target rule and each parsed data, each enterprise standard data corresponding to the original data is determined to perform a first data conversion, so that the converted enterprise standard data has business application value. Further, in response to the vehicle model corresponding to the original data belonging to the target attribute, the enterprise type corresponding to the original data is determined to convert the national standard data for new energy vehicles. Then, according to the enterprise type, a second target rule is determined from each second data conversion rule, and according to the second target rule and each enterprise standard data, each national standard data corresponding to the original data is determined to perform a second data conversion, so that the converted national standard data can be uploaded in real time and meet the national standards. By configuring the first data conversion rule and the second data conversion rule separately, the flexibility of rule configuration is improved, and iterative update of the rules is facilitated.
[0081] Data conversion is achieved by linking the on-board communication terminal with the Internet of Vehicles platform. Usually, vehicles under various vehicle models that have been launched on the market need to convert the data collected by the on-board communication terminal into national standard data in real time and upload it to the target monitoring platform. However, data conversion based on the on-board communication terminal needs to be configured separately according to the corresponding vehicle model. If there is an iterative update of the signal matrix or data conversion rules, it needs to be configured in the on-board communication terminal of each vehicle through remote upgrades, etc., and the ability to upload accurate national standard signals in a timely manner is closely related to whether the on-board communication terminal can successfully complete the upgrade. Therefore, the data conversion process is transplanted to the Internet of Vehicles platform to avoid the impact of vehicle-side upgrades on national standard data transmission, and it can be configured more flexibly. Since the Internet of Vehicles platform has business functions, the enterprise standard data used to achieve business needs under the enterprise type can be used as intermediate data to reduce the configuration of rules for national standard data conversion.
[0082] Figure 5 This is an information interaction diagram of a data conversion method provided by an embodiment of the present application, wherein the explanations of terms that are the same or corresponding to the above-mentioned embodiments are not repeated here. Figure 5 As shown, it includes TBOX, TSP and target monitoring platform.
[0083] Specifically, rule maintenance is performed in TSP. According to the vehicle model, the first data conversion rule is maintained. According to the enterprise type, the second data conversion rule is maintained. Each vehicle signal is adapted to the corresponding first data conversion rule and second data conversion rule. TBOX collects the CAN signal (raw data) of the vehicle, uploads the CAN signal to TSP, TSP receives the CAN signal, and determines the first target data conversion rule according to the first data conversion rule to perform enterprise standard signal conversion. Further, it is determined whether the vehicle type is a new energy vehicle. If so, the second data conversion rule is obtained, and the second target conversion rule is determined from the second data conversion rule to assemble the national standard data, obtain the national standard data, and synchronize the national standard data to the target monitoring platform. If not, the process ends.
[0084] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0085] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0086] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a data conversion device configured on a vehicle networking platform. Figure 6 A schematic diagram of a data conversion device provided in an embodiment of the present application is provided. Figure 6 , the data conversion device includes: a first conversion module 610 and a second conversion module 620.
[0087] Among them, the first conversion module 610 is used to determine the enterprise standard data corresponding to the original data based on the original data and the vehicle model corresponding to the original data in response to receiving the original data uploaded by the vehicle-mounted communication terminal; the second conversion module 620 is used to determine the national standard data corresponding to the original data based on the enterprise standard data and the enterprise type corresponding to the original data.
[0088] Based on the above example, optionally, the first conversion module 610 is also used to parse the original data according to the signal matrix corresponding to the original data to determine each parsed data; determine the first target rule from each first data conversion rule according to the vehicle model corresponding to the original data; and determine each enterprise standard data corresponding to the original data according to the first target rule and each parsed data.
[0089] Based on the above example, optionally, the first data conversion rule is constructed based on a first construction module; the first construction module is used to determine, for each vehicle model, a signal matrix corresponding to the vehicle model, and determine, based on the signal matrix, a coding identifier corresponding to each data identifier in the signal matrix; for each data identifier, a value conversion rule corresponding to the data identifier is constructed based on the data type, data to be converted, and target data corresponding to the data identifier; based on the coding identifier and value conversion rule corresponding to each data identifier, a first data conversion rule corresponding to the vehicle model is constructed.
[0090] Based on the above example, optionally, the second conversion module 620 is also used to determine the enterprise type corresponding to the original data in response to the vehicle model corresponding to the original data belonging to the target attribute; determine the second target rule from each second data conversion rule according to the enterprise type; and determine each national standard data corresponding to the original data according to the second target rule and each enterprise standard data.
[0091] Based on the above example, optionally, the second data conversion rule is constructed based on the second construction module; the second construction module is used to determine, for each enterprise type, the coding identifiers corresponding to the enterprise type; for each coding identifier, according to the data type corresponding to the coding identifier, the data to be encoded and the standard coding data, construct the coding conversion rule corresponding to the coding identifier; according to the coding conversion rule corresponding to each coding identifier, construct the second data conversion rule corresponding to the enterprise type.
[0092] Based on the above example, optionally, after determining the enterprise standard data corresponding to the original data, it also includes: an enterprise standard data feedback module, which is used to respond to the business data request of the enterprise terminal corresponding to the vehicle-mounted communication terminal, determine the business feedback data corresponding to the business data request from the enterprise standard data, and send the business feedback data to the enterprise terminal.
[0093] Based on the above example, optionally, after determining the national standard data corresponding to the original data, it also includes: a national standard data uploading module, which is used to upload the national standard data and the vehicle identification corresponding to the national standard data to the target monitoring platform in real time.
[0094] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0095] The device of the above embodiment is used to implement the corresponding data conversion method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0096] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the data conversion method described in any of the above embodiments is implemented.
[0097] Figure 7 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0098] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0099] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0100] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0101] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0102] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0103] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0104] The electronic device of the above embodiment is used to implement the corresponding data conversion method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0105] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle networking platform, which includes an electronic device as described in any of the above embodiments, and the electronic device is used to execute the data conversion method as described in any of the above embodiments.
[0106] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the data conversion method described in any of the above embodiments.
[0107] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0108] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the data conversion method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0109] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0110] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0111] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0112] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A data conversion method, characterized in that: Applied to the Internet of Vehicles platform, including: In response to receiving the original data uploaded by the vehicle-mounted communication terminal, determining the enterprise standard data corresponding to the original data according to the original data and the vehicle model corresponding to the original data; According to the enterprise standard data and the enterprise type corresponding to the original data, the national standard data corresponding to the original data is determined.
2. The method according to claim 1, characterized in that The determining, based on the original data and the vehicle model corresponding to the original data, the enterprise standard data corresponding to the original data includes: Analyze the original data according to the signal matrix corresponding to the original data to determine various analyzed data; Determining a first target rule from each first data conversion rule according to the vehicle model corresponding to the original data; According to the first target rule and the parsed data, the enterprise standard data corresponding to the original data are determined.
3. The method according to claim 2, characterized in that The method for constructing the first data conversion rule includes: For each vehicle model, determine a signal matrix corresponding to the vehicle model, and determine, based on the signal matrix, a coding identifier corresponding to each data identifier in the signal matrix; For each data identifier, construct a value conversion rule corresponding to the data identifier according to the data type corresponding to the data identifier, the data to be converted, and the target data; According to the coding identifier and the value conversion rule corresponding to each data identifier, a first data conversion rule corresponding to the vehicle model is constructed.
4. The method according to claim 1, characterized in that: Determining the national standard data corresponding to the original data according to the enterprise standard data and the enterprise type corresponding to the original data includes: In response to the vehicle model corresponding to the original data belonging to the target attribute, determining the enterprise type corresponding to the original data; Determining a second target rule from each second data conversion rule according to the enterprise type; According to the second target rule and the enterprise standard data, the national standard data corresponding to the original data are determined.
5. The method according to claim 4, characterized in that The method for constructing the second data conversion rule includes: For each enterprise type, determine the coding identifiers corresponding to the enterprise type; For each coding identifier, construct a coding conversion rule corresponding to the coding identifier according to the data type corresponding to the coding identifier, the data to be encoded and the standard encoding data; According to the coding conversion rule corresponding to each coding identifier, a second data conversion rule corresponding to the enterprise type is constructed.
6. The method according to claim 1, characterized in that After determining the enterprise standard data corresponding to the original data, the method further includes: In response to a service data request from an enterprise terminal corresponding to the in-vehicle communication terminal, service feedback data corresponding to the service data request is determined from the enterprise standard data, and the service feedback data is sent to the enterprise terminal.
7. The method according to claim 1, characterized in that After determining the national standard data corresponding to the original data, the method further includes: The national standard data and the vehicle identification corresponding to the national standard data are uploaded to the target monitoring platform in real time.
8. A data conversion device, characterized in that: Configured on the Internet of Vehicles platform, including: A first conversion module, configured to, in response to receiving the original data uploaded by the vehicle-mounted communication terminal, determine the enterprise standard data corresponding to the original data according to the original data and the vehicle model corresponding to the original data; The second conversion module is used to determine the national standard data corresponding to the original data according to the enterprise standard data and the enterprise type corresponding to the original data.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the data conversion method according to any one of claims 1 to 7 is implemented.
10. A vehicle networking platform, characterized in that: The Internet of Vehicles platform includes the electronic device as claimed in claim 9.
