Automobile historical signal data processing method, system and vehicle

By classifying, analyzing and processing the historical signal data of smart cars and distinguishing abnormal and invalid data, the problems of high repetitiveness and low efficiency in existing technologies are solved, the flexibility and intelligence of data processing are achieved, and the development and maintenance costs are reduced.

CN116756500BActive Publication Date: 2025-09-16HOZON NEW ENERGY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310475846.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-26
Publication Date
2025-09-16
Estimated Expiration
2043-04-26

AI Technical Summary

Technical Problem

The existing technology for processing historical signal data of smart cars has problems such as a large amount of repeated development work, difficult iterative maintenance, and low work efficiency.

Method used

By classifying and analyzing the data returned by the background, defining the basic information of the data, distinguishing abnormal and invalid data, and processing the abnormal and invalid data, the method of configuring the basic information of the data and encapsulating the data processing module is used to replace repeated logical judgments.

Benefits of technology

It improves data quality and availability, supports custom data processing, and can be flexibly configured according to different data analysis needs, reducing the difficulty and cost of development work and simplifying maintenance workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116756500B_ABST
    Figure CN116756500B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, and vehicle for processing historical vehicle signal data. The method comprises obtaining backend return data, classifying and analyzing the data, defining basic data information based on the classification analysis, distinguishing abnormal and invalid data based on the basic data information, and processing the abnormal and invalid data. The present invention effectively solves or, to a certain extent, improves existing problems in the processing of historical vehicle signal data, such as extensive duplication of development work, difficulty in iterative maintenance, and low efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric vehicle historical signal data processing, and in particular to a method, system and vehicle for processing automobile historical signal data. Background Art

[0002] In recent years, with the continuous development of the new energy vehicle industry, new energy vehicles have gradually become intelligent, and the number of users has shown an explosive growth trend. In the process of digital vehicle development, tasks such as integrated testing, analysis, and virtual experiments have increasingly demanded support for underlying data. However, as the amount of data continues to increase, the challenges faced in processing this data are also becoming increasingly complex. These include extensive duplication of development work, difficulty in iterative maintenance, and low work efficiency. Therefore, how to address the existing problems of processing historical signal data for intelligent vehicles, such as extensive duplication of development work, difficulty in iterative maintenance, and low work efficiency, has become a pressing issue. Summary of the Invention

[0003] The object of the present invention is to solve one of the above-mentioned technical problems at least to a certain extent.

[0004] To this end, the first purpose of the present invention is to propose a method for processing automobile historical signal data, which effectively solves or to a certain extent improves the problems existing in the existing technology for processing intelligent automobile historical signal data, such as a large amount of repeated development work, difficult iterative maintenance, and low work efficiency.

[0005] The second object of the present invention is to provide a vehicle historical signal data processing system.

[0006] A third object of the present invention is to provide a vehicle.

[0007] A fourth object of the present invention is to provide an electronic device.

[0008] A fifth object of the present invention is to provide a non-transitory computer-readable storage medium.

[0009] To achieve the above-mentioned object, a method for processing automobile historical signal data is proposed in a first embodiment of the present invention, comprising:

[0010] Obtaining backend return data, and classifying and analyzing the backend return data;

[0011] Defining basic data information based on the classification analysis;

[0012] Based on the data basic information, abnormal and invalid data are distinguished and processed.

[0013] According to one embodiment of the present invention, the obtaining of background return data and the classification and analysis of the background return data include:

[0014] Calling the data processing module to process the braking force data, driving force data, voltage value and temperature value;

[0015] Convert the timestamps of the reporting time and the receiving time into a standard string time format, and obtain the braking force and the driving force data based on whether the background return data contains the gears attribute; if the background return data contains the gears attribute, obtain the braking force and the driving force data as Data.gears;

[0016] Determine whether the voltage value and the temperature value exist in the background return data; based on whether the voltage value and the temperature value exist in the background return data, separate them into arrays with commas, retain three decimal places respectively, and splice the units V and ℃.

[0017] According to one embodiment of the present invention, defining basic data information based on the classification analysis includes:

[0018] According to the agreed agreement, the required data basic information is defined, wherein the data basic information includes type type, prefix prefix, unit symbol, valid interval between, key-value pair map and custom calculation method convert.

[0019] According to an embodiment of the present invention, the type type is used to distinguish abnormal values ​​from invalid values, wherein the abnormal values ​​include BYTE type 254 as abnormal values, and the invalid values ​​include BYTE type 255 as invalid values.

[0020] According to one embodiment of the present invention, the data basic information required for definition according to the agreed agreement further includes:

[0021] Assuming that a signal state is 50% on, define the prefix value as on and the symbol value as %;

[0022] Assuming that the effective value of a signal is between 0 and 100, the between value is defined as [0,100];

[0023] Assuming that a signal state 1 represents the start state and 2 represents the shutdown state, the key-value pair map value is defined as {1:'start state', 2:'shutdown state'};

[0024] If none of the above conditions are met, customize the convert method to meet the requirements.

[0025] According to one embodiment of the present invention, the distinguishing abnormal and invalid data based on the data basic information and processing the abnormal and invalid data includes:

[0026] Calling a formatted data method to process the data according to the attributes of the basic data information;

[0027] Among them, first determine whether the attribute of the basic information of the data has a between attribute, then determine whether the data is within the valid interval, and finally concatenate the prefix and unit of the data;

[0028] Determine whether the attribute of the data basic information has a convert attribute, and call the custom convert method to perform custom calculations;

[0029] Determine whether the attribute of the basic data information has a symbol attribute, and splice the units of the data;

[0030] Determine whether the attributes of the basic data information have the compose attribute. First, split the data into an array and traverse it. Then, use each item as a key to obtain the value corresponding to the map attribute. Finally, use the symbols defined by compose to splice it into a string.

[0031] Determine whether the attribute of the data basic information has a map attribute, and obtain the value corresponding to the map array;

[0032] If the above judgments are all negative, the initial value is returned.

[0033] To achieve the above objectives, a second embodiment of the present invention provides a vehicle historical signal data processing system, comprising:

[0034] An acquisition and analysis module is used to acquire the backend return data and classify and analyze the backend return data;

[0035] A definition module, configured to define basic data information based on the classification analysis;

[0036] The distinguishing and processing module is used to distinguish abnormal and invalid data based on the basic data information and process the abnormal and invalid data.

[0037] To achieve the above-mentioned object, a third aspect of the present invention provides a vehicle, which includes any embodiment of the automobile historical signal data processing system in the second aspect.

[0038] To achieve the above-mentioned object, an electronic device provided in a fourth embodiment of the present invention includes:

[0039] a memory for storing computer-executable instructions; and

[0040] A processor is used to run the computer executable instructions to execute any embodiment of the automobile historical signal data processing method in the first aspect.

[0041] In order to achieve the above-mentioned purpose, the fifth aspect of the present invention proposes a non-temporary computer-readable storage medium, on which computer-executable instructions are stored. When the instructions are executed by a computer, the computer executes any embodiment of the automobile historical signal data processing method in the first aspect.

[0042] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned through practice of the present invention.

[0043] Compared with the prior art, the vehicle historical signal data processing method, system, and vehicle provided by the embodiments of the present application have the following beneficial effects:

[0044] First, by distinguishing abnormal and invalid data, the impact of these data on subsequent data analysis and processing is avoided, thus improving data quality and availability;

[0045] Second, it supports custom data processing and can be flexibly configured according to different data analysis requirements, making data processing more flexible and intelligent;

[0046] Third, the method of configuring basic data information and encapsulating data processing modules replaces repeated logical judgments, thereby reducing the difficulty and cost of development work; making the development of automobile historical signal data processing simpler and more efficient, and reducing maintenance workload.

[0047] To better understand the technical means of the present invention and to facilitate implementation in accordance with the description, and to make the above-mentioned and other purposes, features, and advantages of the present invention more readily apparent, preferred embodiments are described below in detail with reference to the accompanying drawings. Other features and advantages of the present invention will be explained in the subsequent description and, in part, will become apparent from the description or be demonstrated through the practice of the present invention. The purposes and other advantages of the present invention may be achieved and attained through the structures particularly noted in the description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1is a flow chart of a method for processing automobile historical signal data provided by one embodiment of the present invention;

[0050] Figure 2 This is a schematic diagram of the structure of automobile historical signal data processing provided by one embodiment of the present invention;

[0051] Figure 3 is a flow chart of an automobile historical signal data preprocessing algorithm provided according to one embodiment of the present invention;

[0052] Figure 4 is a flow chart of an algorithm for distinguishing invalid data from automobile historical signals provided in accordance with one embodiment of the present invention;

[0053] Figure 5 is a flow chart of an automobile historical signal data processing algorithm provided according to one embodiment of the present invention;

[0054] Figure 6 2 is a schematic diagram of the structure of a vehicle historical signal data processing system provided by one embodiment of the present invention;

[0055] Figure 7 FIG. 1 is a schematic structural diagram of an electronic device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0056] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present invention, but are not to be construed as limiting the present invention.

[0057] In the digital vehicle development process, tasks such as integrated testing, analysis, and virtual experimentation increasingly require underlying data support. As data volumes continue to grow, the challenges of processing them become increasingly complex. Consequently, addressing existing issues with intelligent vehicle historical signal data processing, such as extensive duplication of development work, difficulty in iterative maintenance, and low efficiency, has become a pressing challenge.

[0058] To this end, the present invention proposes a method, system, and vehicle for processing historical vehicle signal data. By analyzing the protocol documents agreed upon by the front-end and back-end, basic information attributes are defined for each field to facilitate processing. Attributes such as type, name, between, prefix, symbol, compose, map, and convert are defined. A network request is sent to the server, and the JSON-formatted data returned by the interface is retrieved. Data processing is then performed based on the defined basic information.

[0059] The key to this invention is to classify and analyze each data returned by the background, define the basic information of the data, distinguish abnormal and invalid data based on this information, and process the data. In addition, the convert attribute is set to facilitate the customization of the data processing scheme, so as to make the entire processing process more flexible and intelligent.

[0060] Specifically, a method, system, and vehicle for processing automobile historical signal data according to an embodiment of the present invention will be described below with reference to the accompanying drawings.

[0061] Figure 1 This is a flowchart of a method for processing vehicle historical signal data according to one embodiment of the present invention. It should be noted that the method for processing vehicle historical signal data according to this embodiment of the present invention can be applied to a vehicle historical signal data processing system according to this embodiment of the present invention. This system can be configured on an electronic device or a server. The electronic device can be a PC or a mobile terminal (e.g., a smartphone, tablet computer, etc.). This is not limited to this embodiment of the present invention.

[0062] Figure 2 1 is a schematic diagram of the structure of automobile historical signal data processing according to an embodiment of the present invention. Figure 3 is a flowchart of an automotive historical signal data preprocessing algorithm provided according to one embodiment of the present invention; Figure 1-3 This embodiment provides a method for processing automobile historical signal data, wherein the method includes:

[0063] S110, obtaining the backend return data, and classifying and analyzing the backend return data;

[0064] Among them, obtaining the backend return data and classifying and analyzing the backend return data includes:

[0065] Calling the data processing module to process the braking force data, driving force data, voltage value and temperature value;

[0066] Convert the timestamps of the reporting time and the receiving time into a standard string time format, and obtain the braking force and driving force data based on whether the background return data contains the gears attribute; if the background return data contains the gears attribute, obtain the braking force and driving force data as Data.gears;

[0067] Determine whether the data returned by the background contains voltage and temperature values; if the data returned by the background contains voltage and temperature values, separate them into arrays with commas, retain three decimal places, and splice the units V and ℃.

[0068] S120, defining basic data information based on classification analysis;

[0069] Among them, please refer to Figure 4, based on classification analysis, the basic data information includes:

[0070] According to the agreed protocol, define the required basic data information, where the basic data information includes type type, prefix prefix, unit symbol, valid interval between, key-value pair map and custom calculation method convert.

[0071] As an embodiment of the present invention, type type is used to distinguish abnormal values ​​from invalid values, wherein abnormal values ​​include BYTE type 254 as abnormal values, and invalid values ​​include BYTE type 255 as invalid values.

[0072] As an embodiment of the present invention, according to the agreed agreement, the required data basic information is further defined as follows:

[0073] Assuming that a signal state is 50% on, define the prefix value as on and the symbol value as %;

[0074] Assuming that the effective value of a signal is between 0 and 100, the between value is defined as [0,100];

[0075] Assuming that a signal state 1 represents the start state and 2 represents the shutdown state, the key-value pair map value is defined as {1:'start state', 2:'shutdown state'};

[0076] If none of the above conditions are met, customize the convert method to meet the requirements.

[0077] S130, distinguishing abnormal and invalid data based on the basic data information, and processing the abnormal and invalid data;

[0078] Among them, please refer to Figure 5 , distinguish abnormal and invalid data based on basic data information, and process abnormal and invalid data including:

[0079] Call the formatted data method to process the data according to the attributes of the basic data information;

[0080] First, determine whether the attribute of the basic information of the data has the between attribute, then determine whether the data is within the valid interval, and finally concatenate the prefix and unit of the data;

[0081] Determine whether the attributes of the basic data information have the convert attribute, and call the custom convert method to perform custom calculations;

[0082] Determine whether the attribute of the basic data information has the symbol attribute and the unit of the spliced ​​data;

[0083] Determine whether the attributes of the basic data information have the compose attribute. First, split the data into an array and traverse it. Then use each item as a key to obtain the value corresponding to the map attribute. Finally, use the symbols defined by compose to splice it into a string.

[0084] Determine whether the attribute of the basic data information has a map attribute, and obtain the corresponding value of the map array;

[0085] If the above judgments are all negative, the initial value is returned.

[0086] An embodiment of the present invention provides a method for processing historical vehicle signal data. By distinguishing abnormal and invalid data, this data is prevented from impacting subsequent data analysis and processing, thereby improving data quality and usability. Furthermore, the method supports custom data processing and can be flexibly configured according to different data analysis requirements, making data processing more flexible and intelligent. Furthermore, by configuring basic data information and encapsulating data processing modules instead of repetitive logical judgments, the method reduces the difficulty and cost of development, making the development of historical vehicle signal data processing more convenient and efficient, and reducing maintenance workload.

[0087] Corresponding to the automobile historical signal data processing methods provided in the above-mentioned embodiments, an embodiment of the present invention also provides an automobile historical signal data processing system. Since the automobile historical signal data processing system provided in this embodiment of the present invention corresponds to the automobile historical signal data processing methods provided in the above-mentioned embodiments, the implementation method of the automobile historical signal data processing method is also applicable to the automobile historical signal data processing system provided in this embodiment, and will not be described in detail in this embodiment.

[0088] Figure 6 2 is a schematic diagram of the structure of a vehicle historical signal data processing system provided by one embodiment of the present invention;

[0089] refer to Figure 6 The automobile historical signal data processing system 600 includes: an acquisition and analysis module 610, a definition module 620 and a differentiation processing module 630, wherein:

[0090] The acquisition and analysis module 610 is used to acquire the backend return data and classify and analyze the backend return data;

[0091] A definition module 620 is used to define basic data information based on classification analysis;

[0092] The distinguishing and processing module 630 is used to distinguish abnormal and invalid data based on the basic data information and process the abnormal and invalid data.

[0093] The vehicle historical signal data processing system provided by the embodiments of the present invention distinguishes abnormal and invalid data, preventing this data from impacting subsequent data analysis and processing, thereby improving data quality and usability. Furthermore, the vehicle historical signal data processing method provided by this embodiment supports customized data processing and can be flexibly configured according to different data analysis requirements, making data processing more flexible and intelligent. Furthermore, by configuring basic data information and encapsulating data processing modules instead of repetitive logical judgments, the system reduces the difficulty and cost of development, making the development of vehicle historical signal data processing more convenient and efficient, and reducing maintenance workload.

[0094] In one embodiment of the present invention, the acquisition and analysis module 610 is specifically configured to call the data processing module to process the braking force data, the driving force data, the voltage value, and the temperature value;

[0095] Convert the timestamps of the reporting time and the receiving time into a standard string time format, and obtain the braking force and driving force data based on whether the background return data contains the gears attribute; if the background return data contains the gears attribute, obtain the braking force and driving force data as Data.gears;

[0096] Determine whether the data returned by the background contains voltage and temperature values; if the data returned by the background contains voltage and temperature values, separate them into arrays with commas, retain three decimal places for each, and concatenate the units V and ℃.

[0097] In one embodiment of the present invention, the definition module 620 is specifically used to define the required data basic information according to the agreed protocol, wherein the data basic information includes type type, prefix prefix, unit symbol, valid interval between, key-value pair map and custom calculation method convert.

[0098] As an embodiment of the present invention, type type is used to distinguish abnormal values ​​from invalid values, wherein abnormal values ​​include BYTE type 254 as abnormal values, and invalid values ​​include BYTE type 255 as invalid values.

[0099] As an embodiment of the present invention, according to the agreed agreement, the required data basic information is further defined as follows:

[0100] Assuming that a signal state is 50% on, define the prefix value as on and the symbol value as %;

[0101] Assuming that the effective value of a signal is between 0 and 100, the between value is defined as [0,100];

[0102] Assuming that a signal state 1 represents the start state and 2 represents the shutdown state, the key-value pair map value is defined as {1:'start state', 2:'shutdown state'};

[0103] If none of the above conditions are met, customize the convert method to meet the requirements.

[0104] In one embodiment of the present invention, the differentiation processing module 630 is specifically configured to call a formatted data method and process data according to the attributes of the basic data information;

[0105] First, determine whether the attribute of the basic information of the data has the between attribute, then determine whether the data is within the valid interval, and finally concatenate the prefix and unit of the data;

[0106] Determine whether the attributes of the basic data information have the convert attribute, and call the custom convert method to perform custom calculations;

[0107] Determine whether the attribute of the basic data information has the symbol attribute and the unit of the spliced ​​data;

[0108] Determine whether the attributes of the basic data information have the compose attribute. First, split the data into an array and traverse it. Then use each item as a key to obtain the value corresponding to the map attribute. Finally, use the symbols defined by compose to splice it into a string.

[0109] Determine whether the attribute of the basic data information has a map attribute, and obtain the corresponding value of the map array;

[0110] If the above judgments are all negative, the initial value is returned.

[0111] In another embodiment of the present invention, a vehicle is provided. The vehicle includes any embodiment of the above-mentioned automobile historical signal data processing system.

[0112] In another embodiment of the present invention, an electronic device is provided, including:

[0113] a memory for storing computer-executable instructions; and

[0114] A processor configured to execute computer-executable instructions to perform the method for processing vehicle historical signal data as described in any of the aforementioned embodiments. The electronic device may include one or more processors and a memory. The memory stores computer-executable instructions that, when executed by the processor, cause the electronic device to perform any of the aforementioned embodiments of the method for processing vehicle historical signal data. The electronic device may also include a communication interface.

[0115] The processor can be any suitable processing device, such as a microprocessor, microcontroller, integrated circuit, or other suitable processing device. The memory can include any suitable computing system or medium, including but not limited to non-transitory computer-readable media, random access memory (RAM), read-only memory (ROM), hard disk, flash memory, or other memory devices. The memory can store computer-executable instructions that can be executed by the processor to cause the electronic device to perform any embodiment of the above-mentioned vehicle historical signal data processing method. The memory can also store data.

[0116] In the embodiment of the present invention, the processor can execute various modules included in the instructions to implement the embodiment of the automobile historical signal data processing method in the above automobile historical signal data processing system. For example, the electronic device can implement various modules in the above automobile historical signal data processing system to execute Figure 1 The methods S110, S120 and S130 shown and Figure 2 、 Figure 3 、 Figure 4 and Figure 5 The method shown.

[0117] In yet another embodiment of the present invention, a non-transitory computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions that, when executed by a computer, cause the computer to execute any embodiment of the method for processing vehicle historical signal data in the aforementioned vehicle historical signal data processing system.

[0118] In yet another embodiment of the present invention, a computer program product comprising instructions is provided. When the computer program product is run on a computer, the computer is enabled to execute any one of the methods for processing automobile historical signal data in the above embodiments.

[0119] According to the device of the embodiment of the present invention, the following reference Figure 7 , which shows a schematic structural diagram of an electronic device 700 suitable for implementing an embodiment of the present invention. The terminal device in the embodiment of the present invention may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers.

[0120] Figure 7 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention.

[0121] like Figure 7As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. Various programs and data required for the operation of the electronic device 700 are also stored in the RAM 703. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0122] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data.

[0123] Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.

[0124] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present invention are performed.

[0125] It should be noted that the computer-readable medium described above in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0126] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0127] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0128] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device is enabled to: obtain background return data, classify and analyze the background return data, define data basic information based on the classification analysis, distinguish abnormal and invalid data based on the data basic information, and process the abnormal and invalid data.

[0129] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0130] The flow charts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0131] The units involved in the embodiments of the present invention may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."

[0132] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0133] In the context of the present invention, machine-readable medium can be a tangible medium that can contain or store a program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0134] The above description is merely a preferred embodiment of the present invention and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present invention is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in the present invention.

[0135] In addition, although adopting specific order to describe each operation, this should not be interpreted as requiring these operations to be executed in the specific order shown or in sequential order.Under certain environment, multitasking and parallel processing may be advantageous.Similarly, although comprising some specific implementation details in the above discussion, these should not be interpreted as limiting the scope of the present invention.Some features described in the context of independent embodiment can also be implemented in single embodiment in combination.On the contrary, the various features described in the context of independent embodiment also can be implemented in multiple embodiments individually or in the mode of any suitable subcombination.

[0136] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

[0137] Finally, it should be noted that the above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be encompassed by the scope of the pending claims.

Claims

1. A method for processing automobile historical signal data, characterized in that: include: Obtaining backend return data, and classifying and analyzing the backend return data; Defining data basic information based on the classification analysis includes: defining the required data basic information according to the agreed agreement, wherein the data basic information includes type type, prefix prefix, unit symbol, valid interval between, key-value pair map and custom calculation method convert; the type type is used to distinguish abnormal values ​​from invalid values, wherein the abnormal value includes BYTE type 254 as an abnormal value, and the invalid value includes BYTE type 255 as an invalid value; assuming that a certain signal state is 50% on, the prefix value is defined as on, and the symbol value is defined as %; assuming that the valid value of a certain signal is between 0-100, the between value is defined as [0,100]; assuming that a certain signal state 1 represents the on state and 2 represents the off state, the key-value pair map value is defined as {1: 'on state', 2: 'off state'}; if none of the above situations are met, the convert method is customized to meet the requirements; Based on the data basic information, abnormal and invalid data are distinguished and processed.

2. The method for processing automobile historical signal data according to claim 1, characterized in that: The obtaining of the backend return data and the classification and analysis of the backend return data include: Calling the data processing module to process the braking force data, driving force data, voltage value and temperature value; Convert the timestamps of the reporting time and the receiving time into a standard string time format, and obtain the braking force and the driving force data based on whether the background return data contains the gears attribute; if the background return data contains the gears attribute, obtain the braking force and the driving force data as Data.gears; Determine whether the voltage value and the temperature value exist in the background return data; based on whether the voltage value and the temperature value exist in the background return data, separate them into arrays with commas, retain three decimal places respectively, and splice the units V and ℃.

3. The method for processing automobile historical signal data according to claim 1, characterized in that: The distinguishing abnormal and invalid data based on the data basic information and processing the abnormal and invalid data includes: Calling a formatted data method to process the data according to the attributes of the basic data information; Among them, first determine whether the attribute of the basic information of the data has a between attribute, then determine whether the data is within the valid interval, and finally concatenate the prefix and unit of the data; Determine whether the attribute of the data basic information has a convert attribute, and call the custom convert method to perform custom calculations; Determine whether the attribute of the basic data information has a symbol attribute, and splice the units of the data; Determine whether the attributes of the basic data information have the compose attribute. First, split the data into an array and traverse it. Then, use each item as a key to obtain the value corresponding to the map attribute. Finally, use the symbols defined by compose to splice it into a string. Determine whether the attribute of the data basic information has a map attribute, and obtain the value corresponding to the map array; If the above judgments are all negative, the initial value is returned.

4. A vehicle historical signal data processing system, characterized in that: The method for processing automobile historical signal data according to any one of claims 1 to 3 is implemented, and the automobile historical signal data processing system comprises: An acquisition and analysis module is used to acquire the backend return data and classify and analyze the backend return data; A definition module, configured to define basic data information based on the classification analysis; The distinguishing and processing module is used to distinguish abnormal and invalid data based on the basic data information and process the abnormal and invalid data.

5. A vehicle, characterized in that: The vehicle includes the automobile historical signal data processing system according to claim 4.

6. An electronic device, characterized in that: include: a memory for storing computer-executable instructions; as well as A processor, configured to run the computer-executable instructions to execute the automobile historical signal data processing method according to any one of claims 1 to 3.

7. A non-transitory computer-readable storage medium, characterized in that The storage medium stores computer-executable instructions, and when the instructions are executed by a computer, the computer executes the automobile historical signal data processing method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Vehicle data error detection method and device, server and storage medium

    CN112183367A

  • Automobile diagnosis data processing method, device, equipment and medium

    CN114936211A