Data processing method, device and equipment
By electrically extracting and linking the waveform graph data tested by the vehicle load oscilloscope, data tables are generated and folders are automatically integrated, the problems of low efficiency and inconsistent format in the existing technology are solved, and efficient waveform graph data management and retrieval are achieved.
Patent Information
- Application Number
- CN202510507297.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, the processing and analysis of waveform data are highly dependent on manual operations, resulting in inefficiency. The differences in electrical architectures of different vehicle models and platforms lead to inconsistent waveform data formats, which increases the difficulty of data maintenance and retrieval, and seriously restricts the development efficiency of the vehicle power distribution system.
Provide a data processing method and device, by obtaining the waveform diagram data tested by the vehicle load oscilloscope, performing electrical feature data extraction and linking processing, generating data tables, and automatically integrating the waveform diagram folder based on preset classification requirements to realize batch automation processing and efficient classification of waveform diagram data.
It improves the processing efficiency of waveform graph data, simplifies the preliminary collection and post-maintenance of data, meets the search needs of different types of waveform graph data during vehicle development, and realizes efficient automatic classification and retrieval.
Smart Images

Figure CN120372031A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of computer technology, and particularly to a data processing method, apparatus, and device. Background Art
[0002] In modern automotive electrical systems, with the diversification of consumer demands and the exponential growth in the number of electronic devices, the number of protection circuits that an electrical box (a modular component integrating protection components such as fuses and relays) needs to manage has increased exponentially. As a key tool, a low-voltage load test oscilloscope provides data support for fuse selection and relay configuration by capturing the load current / voltage waveform diagram of a real vehicle, ensuring the reliability of the power distribution design.
[0003] In the related art, the waveform data obtained from the test (including the waveform diagram) usually relies on manual collation. Engineers need to manually record the waveform characteristics captured by the oscilloscope (such as peak current and duration), and manually associate and file the screenshots with the recorded data.
[0004] However, the traditional method of manually collating waveform data is inefficient, and the waveform data formats generated by different vehicle models and load characteristics are not unified, making subsequent data maintenance and retrieval inconvenient and resulting in low development efficiency of the vehicle's power distribution. Summary of the Invention
[0005] Embodiments of the present application provide a data processing method, apparatus, and device, which can improve the processing and maintenance efficiency of waveform diagram data. The technical solutions are as follows:
[0006] On the one hand, a data processing method is provided, and the method includes:
[0007] Obtain waveform diagram data, where the waveform diagram data is data obtained by a vehicle-mounted load oscilloscope testing the power consumption circuit of a vehicle-mounted electrical appliance. The vehicle-mounted load oscilloscope is used to monitor the load condition of the vehicle-mounted electrical appliance in the vehicle's low-voltage circuit, and the waveform diagram data is used to characterize the change of the electrical parameters of the vehicle-mounted electrical appliance;
[0008] Obtain electrical characteristic data of the waveform diagram data, where the electrical characteristic data is used to characterize the change characteristics of the electrical parameters in the waveform diagram data, and the electrical parameters include at least one of current and voltage;
[0009] Perform link processing on the waveform diagram data to obtain a graphic viewing link corresponding to the waveform diagram data, where the graphic viewing link is used to direct to display the waveform diagram corresponding to the waveform diagram data;
[0010] Generate a data table based on the electrical characteristic data and the graph viewing link, where the data table contains the correspondence between the electrical characteristic data and the graph viewing link;
[0011] In response to receiving a folder generation operation, filter the data table based on a preset classification requirement to generate at least one waveform graph folder, where the waveform graph folder contains at least one waveform graph.
[0012] On the other hand, a data processing device is provided, and the device includes:
[0013] An acquisition module, configured to acquire waveform graph data, where the waveform graph data is data obtained by a vehicle-mounted load oscilloscope testing the power consumption circuit of a vehicle-mounted electrical appliance, and the vehicle-mounted load oscilloscope is used to monitor the load condition of the vehicle-mounted electrical appliance in the vehicle's low-voltage circuit, and the waveform graph data is used to characterize the change condition of the electrical parameters of the vehicle-mounted electrical appliance;
[0014] The acquisition module is further configured to acquire the electrical characteristic data of the waveform graph data, where the electrical characteristic data is used to characterize the change characteristics of the electrical parameters in the waveform graph data, and the electrical parameters include at least one of current and voltage;
[0015] A link module, configured to perform link processing on the waveform graph data to obtain a graph viewing link corresponding to the waveform graph data, where the graph viewing link is used to direct the display of the waveform graph corresponding to the waveform graph data;
[0016] A generation module, configured to generate a data table based on the electrical characteristic data and the graph viewing link, where the data table contains the correspondence between the electrical characteristic data and the graph viewing link;
[0017] The generation module is further configured to, in response to receiving a folder generation operation, filter the data table based on a preset classification requirement to generate at least one waveform graph folder, where the waveform graph folder contains at least one waveform graph.
[0018] In an optional embodiment, the waveform graph data contains at least two waveform graphs, and the at least two waveform graphs correspond to the test waveforms of different vehicle-mounted electrical appliances, or the at least two waveform graphs correspond to the test waveforms of the same vehicle-mounted electrical appliance at different time periods;
[0019] The link module is further configured to perform naming processing on the at least two waveform diagrams respectively based on a preset naming rule, so as to obtain at least two waveform diagrams marked with graphic names; perform format conversion on the at least two waveform diagrams marked with graphic names to obtain at least two waveform diagrams meeting the preset link requirements; perform link processing on the at least two waveform diagrams meeting the preset link requirements to obtain the graphic viewing links corresponding to the at least two waveform diagrams respectively, where the i-th graphic viewing link corresponds to the i-th waveform diagram, and the link name of the i-th graphic viewing link matches the graphic name of the i-th waveform diagram, and i is a positive integer.
[0020] In an optional embodiment, the link module is further configured to obtain the image information of the at least two waveform diagrams, where the image information includes at least one of the following information: the target platform for generating the waveform diagram, the vehicle model corresponding to the waveform diagram, and the device information of the in-vehicle load oscilloscope for collecting the waveform diagram; for the i-th waveform diagram, determine the i-th graphic name corresponding to the i-th waveform diagram based on the matching condition between the image information of the i-th waveform diagram and the preset naming rule, so as to obtain the i-th waveform diagram marked with the i-th graphic name.
[0021] In an optional embodiment, the link module is further configured to perform classification processing on the at least two waveform diagrams based on the graphic names of the at least two waveform diagrams to obtain at least one type folder, where the j-th type folder contains waveform diagrams belonging to the j-th type, and j is a positive integer; store the at least one type folder.
[0022] In an optional embodiment, the acquisition module is further configured to perform denoising preprocessing on the waveform diagram data to obtain preprocessed waveform diagram data meeting the clarity requirement; perform feature extraction on the preprocessed waveform diagram data to determine the electrical parameter features with a variation amplitude reaching the preset variation requirement in the preprocessed waveform diagram data, so as to obtain the electrical feature data.
[0023] In an optional embodiment, the link module is further configured to perform abnormal point marking on the preprocessed waveform diagram data based on the electrical feature data to obtain updated waveform diagram data; perform link processing on the updated waveform diagram data to obtain the graphic viewing link.
[0024] In an optional embodiment, the electrical feature data includes at least two sub-data, and the waveform diagram data includes at least two waveform diagrams;
[0025] The generating module is further configured to obtain at least two corresponding relationships between the at least two sub-data and the at least two waveform diagrams; generate at least two data items based on the at least two corresponding relationships, where the k-th corresponding relationship corresponds to the k-th data item, and the k-th data item includes the k-th sub-data and the corresponding k-th graphic viewing link; k is a positive integer; integrate the at least two data items to obtain the data table.
[0026] In an alternative embodiment, the data table includes at least two data items. The k-th data item includes the k-th sub-data in the electrical characteristic data and the corresponding k-th graphic viewing link. The k-th data item corresponds to the k-th data item identifier, and k is a positive integer.
[0027] The generating module is further configured to receive the folder generating operation, where the folder generating operation corresponds to at least one keyword, and the at least one keyword is used to describe the data types included in the at least one waveform diagram folder to be generated; perform matching analysis based on the data item identifiers respectively corresponding to the at least one keyword and the at least two data items to obtain at least one set of data items that meet the preset matching requirements. The n-th set of data items includes at least one data item, and n is a positive integer; generate the corresponding at least one waveform diagram folder based on the at least one set of data items.
[0028] On the other hand, a computer device is provided. The computer device includes a processor and a memory. At least one instruction, at least one program, a code set, or an instruction set is stored in the memory. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the data processing method as described in any one of the above embodiments of the present application.
[0029] On the other hand, a computer-readable storage medium is provided. At least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the data processing method as described in any one of the above embodiments of the present application.
[0030] On the other hand, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the data processing method as described in any one of the above embodiments.
[0031] The beneficial effects brought by the technical solutions provided in the embodiments of the present application at least include:
[0032] By obtaining the waveform diagram data and its corresponding electrical characteristic data obtained through in-vehicle load oscilloscope testing, batch automatically linking the waveform diagram data, converting the waveform diagram data into triggerable display link data, and integrating the links and electrical characteristic data into a data table based on the correspondence between the electrical characteristic data and the waveform diagram data, the processing efficiency of waveform diagram-related data can be improved, facilitating the preliminary collection and subsequent maintenance of waveform diagram data. Compared with the method of manually sorting and viewing waveform diagram data, the data processing efficiency can be improved. Through the receiving folder generation operation, the data items in the data table can be automatically classified, and the same type of waveform diagrams can be integrated into the same folder to achieve efficient automatic classification, meeting the requirements for retrieving and viewing different types of waveform diagram data during vehicle development. Brief Description of the Drawings
[0033] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0034] Figure 1 is a schematic diagram of a data processing system provided by an exemplary embodiment of the present application;
[0035] Figure 2 is a waveform diagram containing 4 waveform segments provided by an exemplary embodiment of the present application;
[0036] Figure 3 is a flowchart of a data processing method provided by an exemplary embodiment of the present application;
[0037] Figure 4 is a structural block diagram of a data processing device provided by an exemplary embodiment of the present application;
[0038] Figure 5 is a structural block diagram of a computer device provided by an exemplary embodiment of the present application. Detailed Description of the Embodiments
[0039] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the drawings.
[0040] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms "a", "the", and "said" used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0041] It should be noted that the information and data involved in this application are all information and data authorized by users or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.
[0042] First, a brief introduction to the nouns involved in the embodiments of this application:
[0043] Electrical box: It is a centralized power distribution unit in the automotive electrical system, mainly used for distributing electrical energy and protecting the circuit. It usually contains components such as fuses and relays inside, playing the role of circuit management and short-circuit protection.
[0044] Fuse: It is an overcurrent protection device that melts to cut off the circuit when the current exceeds the rated value, preventing damage to the circuit or equipment. It is commonly used for the protection of sensitive components in the automotive electrical system.
[0045] Relay: It is an electromagnetic switch that controls a large current with a small current, used for isolating high and low voltage circuits or expanding the load capacity of control signals, such as the indirect control of high-power devices such as vehicle lights and fans.
[0046] On-vehicle load oscilloscope: It is a tool used to monitor and analyze the waveforms of automotive electrical signals, helping to diagnose problems such as voltage fluctuations, signal interference, or abnormal loads, and improving the efficiency of fault troubleshooting.
[0047] On-vehicle electrical appliances: Refer to the devices in the vehicle that rely on electrical energy to work, such as air conditioners, stereos, vehicle lights, etc. Their types and power consumption directly affect the design of the vehicle's entire electrical system.
[0048] Among them, the power consumption circuit of on-vehicle electrical appliances refers to the complete current path from the power source (battery or generator) to the electrical appliance, including wires, switches, protection devices, etc. Its design needs to ensure safety and stability.
[0049] The relationship between the on-vehicle load oscilloscope and on-vehicle electrical appliances is mainly reflected in fault diagnosis and performance monitoring. When an on-vehicle electrical appliance is working, its electrical parameters will change, generating specific current and voltage signals. The on-vehicle load oscilloscope can capture and analyze these signal waveforms in real time and output a waveform diagram. By observing the waveform diagram, it can be found whether there are voltage fluctuations, current changes or abnormal interferences in the electrical appliance, and then it can be judged whether the electrical appliance is working properly. For example, problems such as motor blockage, poor line contact or relay failure can be identified. Therefore, the oscilloscope is an important tool for troubleshooting abnormalities in electrical appliances and their circuits, helping to ensure the stability and reliability of the electrical system.
[0050] In the field of automotive electrical systems, with the continuous improvement of users' requirements for vehicle intelligence and multi-functionality, the types and quantities of electronic devices installed in vehicles have increased rapidly, resulting in an increasingly complex electrical system architecture. As the core hub for the power distribution of the entire vehicle, the electrical box needs to manage a corresponding increase in the number of protection circuits. Among them, the low-voltage load test oscilloscope, with its accurate data acquisition ability, provides a solid data basis for core design links such as the scientific selection of fuse rated parameters and the optimized configuration of relay working characteristics by real-time monitoring and recording the waveforms of key parameters such as load current and voltage under the actual operating conditions of the vehicle, thus effectively ensuring the stable operation of the power distribution system under various working conditions.
[0051] In related technologies, the processing and analysis of waveform data still highly rely on manual operations. Engineering technicians need to manually extract the waveform characteristic parameters captured by the oscilloscope, such as key indicators like peak current values and duration intervals, and manually match and file the waveform screenshots with the corresponding test records one by one.
[0052] However, this traditional data processing method not only consumes a large amount of time and manpower, but also easily causes data association errors due to human factors. In addition, due to the differences in the electrical architectures of different vehicle platforms and the different characteristics of various on-vehicle loads, the waveform data formats generated lack a unified standard, which further increases the difficulty of subsequent data maintenance and retrieval, seriously restricting the development efficiency of the vehicle power distribution system.
[0053] Secondly, the data processing system involved in the embodiments of the present application will be described. Schematically, please refer to Figure 1 , in this system, there are a terminal 110 and a server 120, and there is a communication network 100 between the terminal 110 and the server 120.
[0054] The terminal 110 obtains waveform diagram data, which is data obtained by an on-vehicle load oscilloscope testing the power consumption circuit of an on-vehicle electrical appliance. The on-vehicle load oscilloscope is used to monitor the load conditions of on-vehicle electrical appliances in the low-voltage circuit of the vehicle, and the waveform diagram data is used to characterize the changes in the electrical parameters of on-vehicle electrical appliances.
[0055] The waveform graph data contains multiple waveform graphs, and each waveform graph reflects the variation of electrical parameters of vehicles of different models during test runs.
[0056] Exemplarily, the waveform graph is a two-dimensional image, with the abscissa being time and the ordinate being the value of voltage / current. The waveform graph is used to record the waveforms of electrical parameters such as voltage / current changing with time.
[0057] The sources of the waveform graph data include but are not limited to the following: (1) Public network platforms that provide waveform graphs obtained when in-vehicle load oscilloscopes of various vehicle models are tested. Users can upload or download waveform graphs through this platform; (2) The terminal 110 is connected to the in-vehicle load oscilloscope to directly obtain waveform graph data from the in-vehicle load oscilloscope; (3) Taking a photo / screenshot of the in-vehicle load oscilloscope displaying the waveform graph to obtain waveform graph data and uploading it to the terminal 110.
[0058] After the terminal 110 obtains the waveform graph data, it sends the waveform graph data to the server 120. The server 120 analyzes the waveform graph data to obtain electrical characteristic data corresponding to the waveform graph data. The electrical characteristic data is used to characterize the variation characteristics of the electrical parameters in the waveform graph data, and the electrical parameters include at least one of current and voltage.
[0059] Among them, the electrical characteristic data is obtained by analyzing the waveform variation in the waveform graph data.
[0060] Exemplarily, the waveform graph data contains multiple waveform graphs, and each waveform graph includes at least one of the following waveform segments: (1) Stable segment: The waveform variation trend is stable, which is used to reflect the waveform during the normal operation of in-vehicle electrical appliances. For example, the current when the vehicle headlight is constantly on is 20 A (amperes); (2) Pulse segment: The waveform contains regular pulses, which is usually used to reflect the waveform when the relay is periodically switched on and off. For example, the windshield wiper operates periodically; (3) Instantaneous spike: The waveform presents a spike and then drops within a preset threshold duration, which is usually used to reflect the waveform when the electrical appliance starts instantaneously. For example, when the air conditioner compressor starts, the current tends to be stable after the spike drops; (4) Abnormal waveform: The waveform shows irregular jitter or the electrical parameters continuously maintain abnormal values (for example, the value of the electrical parameter is higher than the parameter value range during normal operation and the duration reaches the preset duration), which is usually used to reflect the waveform when the relay contact is poorly contacted. For example, when the window is raised or lowered with a stutter, the waveform jitters.
[0061] Schematically, as Figure 2 shown, Figure 2 is a waveform graph containing 4 waveform segments provided by an exemplary embodiment of the present application.
[0062] Among them, the waveform diagram is a two-dimensional image, with the horizontal axis being time (unit: ms / millisecond) and the vertical axis being voltage (unit: V / volt). The stable segment 210 is a continuously stable waveform segment; the pulse segment 220 is a waveform segment representing a periodic load; the instantaneous spike 230 is a narrow pulse waveform segment in the vertical direction; the abnormal waveform 240 is a waveform segment containing low-frequency oscillations.
[0063] Based on the above example standard, the waveform diagram data is analyzed to obtain electrical characteristic data. The electrical characteristic data is a description of the waveforms in the waveform diagram, converting the data in image form into symbolic data (including numbers, texts, etc.). The server 120 returns the electrical characteristic data to the terminal 110.
[0064] Among them, after the terminal 110 obtains the electrical characteristic data, it performs batch linking processing on the waveform diagram data, converting at least two waveform diagrams included in the waveform diagram data into corresponding graphic viewing links respectively. The graphic viewing links are used to direct the display of the waveform diagrams corresponding to the waveform diagram data.
[0065] For example, for the waveforms in the waveform diagram data Figure 1 After performing the linking processing, link 1 is obtained. After triggering link 1, the waveform Figure 1 can be viewed.
[0066] Among them, the number of graphic viewing links is determined by the number of waveform diagrams. One or more waveform diagrams can be included in the same graphic viewing link, and this embodiment does not limit this.
[0067] Since the electrical characteristic data is the data obtained by analyzing each waveform diagram in the waveform diagram data one by one, therefore, the electrical characteristic data actually contains multiple sub-data, and there is a corresponding relationship between each sub-data and the waveform diagram in the waveform diagram data. Based on the corresponding relationship between the electrical characteristic data and the waveform diagram data, the electrical characteristic data and the graphic viewing links obtained through batch processing are integrated into a table to obtain a data table. Each data item in the data table contains a pair of sub-data and graphic viewing links with an indexing relationship.
[0068] In some embodiments, after obtaining the data table, the data in the data table can be classified to generate different waveform diagram folders.
[0069] Optionally, the terminal 110 receives a folder generation operation, determines the folder generation conditions based on the preset classification requirements indicated by the folder generation operation, filters the data items in the data table, and generates at least one waveform diagram folder. Among them, each waveform diagram folder contains at least one waveform diagram.
[0070] For example, the folder generation operation instructs to divide all data items in the data table into three different types of folders, resulting in Folder 1, Folder 2, and Folder 3. The waveform diagrams contained in each folder belong to the same type. The waveform diagrams contained in different folders can be of different types or the same type. For example, there is a waveform Figure 1 that conforms to both the type of Folder 1 and the type of Folder 2, and thus can appear in both Folder 1 and Folder 2 simultaneously.
[0071] Again, for example, in some embodiments, the folder generation operation only instructs to screen out the data items in the data table that meet the preset classification requirements, and generate one or more folders. The waveform diagrams contained in the generated folders can be some of the waveform diagrams in the data table or all of the waveform diagrams. This embodiment does not limit this.
[0072] It should be noted that the above data processing process can be jointly executed by the terminal 110 and the server 120, or only by the terminal 110, or only by the server 120. This application does not limit this. As Figure 1 shown, the process of processing the waveform diagram data by the data processing system shown is only for illustration.
[0073] The above terminal 110 can be various forms of terminal devices such as mobile phones, tablet computers, desktop computers, portable laptops, smart TVs, vehicle-mounted terminals, and smart home devices. This embodiment of the application does not limit this.
[0074] It should be noted that the above server 120 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms.
[0075] In some embodiments, the above server 120 can also be implemented as a node in a blockchain system.
[0076] Combined with the above noun introduction and application scenarios, the data processing method provided by this application is described. This method can be executed by the server or the terminal, or jointly executed by the server and the terminal. In this embodiment of the application, it is described by taking the example that this method is executed by the terminal. As Figure 3 shown, Figure 3 is a flowchart of the data processing method provided by an exemplary embodiment of this application. This method includes the following steps.
[0077] Step 310, obtain waveform data.
[0078] Among them, the waveform data is the data obtained by testing the power consumption circuit of in-vehicle electrical appliances with an in-vehicle load oscilloscope. The in-vehicle load oscilloscope is used to monitor the load conditions of in-vehicle electrical appliances in the low-voltage circuit of the vehicle, and the waveform data is used to characterize the changes in the electrical parameters of in-vehicle electrical appliances. The waveform data contains at least two waveforms, and the at least two waveforms correspond to at least one in-vehicle electrical appliance. That is, the at least two waveforms correspond to the test waveforms of different in-vehicle electrical appliances, or the at least two waveforms correspond to the test waveforms of the same in-vehicle electrical appliance at different time periods.
[0079] Exemplarily, the in-vehicle load oscilloscope is connected to the circuit under test in a way that the current probe is in series and the voltage probe is in parallel, and it captures the dynamic current and voltage signals in real time when the electrical appliance is working, and converts these signals into waveforms corresponding to time. During the test, appropriate ranges, sampling rates, and trigger conditions are set according to the load type. By comparing the characteristic parameters (such as amplitude, rise time, ripple, etc.) of the measured waveform with the standard waveform, it is possible to accurately judge whether there are problems such as abnormal starting current, unstable operation, and incomplete shutdown of the electrical appliance, and at the same time identify potential faults such as impedance changes and poor contact in the power supply line, thus providing a direct basis for the status assessment and fault diagnosis of the in-vehicle electrical system.
[0080] That is, what the in-vehicle load oscilloscope records is the waveform of the electrical parameter (including at least one of current and voltage) changing with time. The waveform data contains at least two waveforms, and each waveform is presented as a two-dimensional image.
[0081] Among them, the horizontal axis and the vertical axis of the waveform respectively represent different data units: (1) Time axis (horizontal axis): with a millisecond / second-level accuracy, recording the process of time change; (2) Amplitude axis (vertical axis): current (unit: ampere A) or voltage (unit: volt V).
[0082] That is, the waveform is used to record the waveform of electrical parameters such as voltage / current changing with time.
[0083] Among them, the sources of the waveform data include but are not limited to the following several.
[0084] (1) Public network platforms that provide waveforms obtained when testing in-vehicle load oscilloscopes of various vehicle models. Users can upload or download waveforms through this platform.
[0085] Exemplarily, taking an automotive electronic data sharing platform as an example, this platform targets automotive engineers, enthusiasts, and researchers, and provides oscilloscope waveforms of in-vehicle loads for various vehicle models. Users can retrieve data through tags such as vehicle models and test locations. For example, they can search for the charging current waveform diagram of a specific vehicle model. The platform also supports users to upload data, and ensures the quality of the waveform diagram data in the platform through review and user evaluation.
[0086] (2) The terminal is connected to the in-vehicle load oscilloscope to directly obtain waveform diagram data from the in-vehicle load oscilloscope.
[0087] Exemplarily, in automotive detection, the terminal is connected to the in-vehicle load oscilloscope through methods such as Universal Serial Bus (USB) and Bluetooth. There is waveform viewing software / application program running in the terminal that is compatible with the in-vehicle load oscilloscope and can receive and store the data output by the in-vehicle load oscilloscope. After starting the vehicle, the in-vehicle load oscilloscope collects waveform diagram data in real time and transmits it to the terminal.
[0088] In some embodiments, the terminal can perform operations such as magnifying, measuring, and analyzing the waveform diagram through the running waveform viewing software, and can also generate a detection report containing information such as working conditions and parameters.
[0089] (3) Take a photo / screenshot of the in-vehicle load oscilloscope displaying the waveform diagram to obtain waveform diagram data and upload it to the terminal.
[0090] Exemplarily, when the terminal cannot be directly connected to the in-vehicle load oscilloscope, the waveform diagram can be obtained by taking a photo or screenshot. Use an image acquisition device (such as a mobile phone) with a camera component to photograph the screen of the in-vehicle load oscilloscope, ensuring that the picture is clear and contains key information (such as the time axis, scale, etc.), transmit the collected image to the terminal, perform relevant format processing through image editing software, and then upload and save it to obtain waveform diagram data.
[0091] It should be noted that the above several ways of obtaining waveform diagram data are only for illustration, and in some embodiments, waveform diagram data can also be obtained through other means.
[0092] Among them, the data presentation forms and data formats of the waveform diagram data obtained by different methods can be different, including but not limited to: PDF format (Portable Document Format), data table format, picture format, etc., and this embodiment does not limit this.
[0093] Step 320, obtain the electrical characteristic data of the waveform diagram data.
[0094] Among them, the electrical characteristic data is used to characterize the change characteristics of electrical parameters in the waveform graph data, and the electrical parameters include at least one of current and voltage.
[0095] Optionally, the waveform graph data is preprocessed for denoising to obtain preprocessed waveform graph data that meets the clarity requirements.
[0096] Optionally, the preset clarity requirements refer to: (1) In terms of the image: the line edges of the waveform graph should be sharp without blurring, and the scale numbers and axis labels should be clear; (2) In terms of data: the amplitude of the noise signal does not exceed 5% of the peak value of the effective signal, and the error of the waveform sampling point spacing is less than ±0.1 sampling periods.
[0097] Exemplarily, the median filtering algorithm is used to preprocess the waveform graph data for denoising. By replacing each point in the waveform graph data with the median value in its neighborhood, the noise is effectively removed. If there is high-frequency noise interference, low-pass filtering can filter out the high-frequency components and retain the low-frequency effective signals. With the help of wavelet transform, the waveform can be decomposed into different frequency layers. After removing the coefficients of the high-frequency layer where the noise is located and then reconstructing, accurate denoising can be achieved. Then, through contrast enhancement and sharpening operations, the clarity of the waveform graph is further improved to ensure that the data accurately reflects the real state and meets the requirements of subsequent analysis and applications.
[0098] Feature extraction is performed on the preprocessed waveform graph data to determine the electrical parameter characteristics in the preprocessed waveform graph data whose change amplitude reaches the preset change requirements, and electrical characteristic data is obtained.
[0099] Exemplarily, the waveform graph data contains multiple waveform graphs, and each waveform graph includes at least one of the following waveform segments: (1) Steady segment: The waveform change trend is steady, which is used to reflect the waveform during the normal operation of in-vehicle electrical appliances; (2) Pulse segment: The waveform contains regular pulses, which are usually used to reflect the waveform during the periodic on-off of the relay; (3) Instantaneous spike: The waveform shows a spike and then drops within a preset threshold duration, which is usually used to reflect the waveform at the moment when the electrical appliance starts. After the spike drops, the current tends to be stable; (4) Abnormal waveform: The waveform shows irregular jitter or the electrical parameters continuously maintain abnormal values.
[0100] Optionally, different change amplitude requirements are set for each waveform segment in the waveform graph.
[0101] For example, for the steady segment, the preset change requirements are as follows: The current / voltage fluctuation amplitude is within a set small range (such as ±2% of the rated value).
[0102] For example, for the pulse segment, the preset change requirements are as follows: Pulse frequency, amplitude (such as 50%-150% of the rated value), width (1ms-10ms).
[0103] For example, for instantaneous spikes, the preset change requirements are as follows: the spike amplitude exceeds a certain proportion of the rated value (e.g., more than 200%), and the duration is within a specific range (0.1 ms - 1 ms).
[0104] For example, for abnormal waveforms, the preset change requirements are as follows: the current / voltage continuously exceeds the normal range by a certain amplitude (±10%) for a certain duration (more than 500 ms), or the amplitude of irregular jitter exceeds the set value (30% of the rated value).
[0105] Exemplarily, based on the above preset change requirements, corresponding feature extraction methods are adopted for different waveform segments.
[0106] (1) For the steady segment: Calculate the mean and standard deviation to reflect the overall level and fluctuation; (2) For the pulse segment: Statistically analyze the pulse frequency and extract the pulse amplitude and width; (3) For the instantaneous spike: Measure the spike amplitude and duration; (4) For the abnormal waveform: Statistically analyze the abnormal amplitude and the duration exceeding the range, and extract the features of irregular jitter through frequency domain analysis.
[0107] That is, first divide the waveform diagram data of the preprocessed waveform into waveform segments, then obtain the corresponding electrical parameter features according to the feature extraction method of each segment, and finally integrate the feature data corresponding to all waveform segments to obtain the electrical feature data.
[0108] In some embodiments, the terminal is directly connected to the vehicle load oscilloscope. When acquiring the waveform diagram data, the electrical feature data can be directly obtained through the vehicle load oscilloscope.
[0109] Exemplarily, the terminal is directly connected to the vehicle load oscilloscope through a dedicated communication interface to achieve data interaction. During the test, the vehicle load oscilloscope captures the analog signal generated by the vehicle load. The analog signal contains the feature information of electrical parameters, such as the waveform changes of current and voltage. Among them, the signal conditioning circuit inside the vehicle load oscilloscope amplifies, filters, etc. the captured analog signal to optimize the signal quality, and then converts it into an electrical signal. The vehicle load oscilloscope discretely samples the electrical signal according to the preset parameters to obtain the original electrical feature data. Among them, the preset parameters include at least one of parameters such as the sampling rate and resolution. The sampling rate refers to the number of times of sampling the electrical signal per unit time, and the resolution is used to determine the accuracy of the sampled data.
[0110] After the terminal obtains the original electrical feature data from the vehicle load oscilloscope through the communication interface, based on the pre-set electrical data coding rule and storage format standard, these discretely collected data are converted into a unified format to obtain the electrical feature data.
[0111] For example, the original electrical characteristic data is converted into the XML (Extensible Markup Language, a markup language for storing and transmitting data) format. The structure and meaning of the data are defined by tags.
[0112] In some embodiments, the original data output by the vehicle-borne load oscilloscope can be used as the electrical characteristic data.
[0113] Step 330: Perform link processing on the waveform graph data to obtain a graphic viewing link corresponding to the waveform graph data.
[0114] Among them, the graphic viewing link is used to direct to display the waveform graph corresponding to the waveform graph data.
[0115] Performing link processing on the waveform graph data means converting the waveform graph in image form into a link, and the corresponding waveform graph is displayed after triggering the link.
[0116] Optionally, the waveform graph data contains at least two waveform graphs. Perform batch link processing on at least two waveform graphs to obtain links corresponding to at least two waveform graphs respectively, that is, graphic viewing links.
[0117] In some embodiments, before performing link processing on the waveform graph data, pre-processing / before-link processing can be performed on the waveform graphs in the waveform graph data so that the waveform graph data meets the link requirements, and a more manageable graphic viewing link can be obtained.
[0118] Optionally, name at least two waveform graphs respectively based on a preset naming rule to obtain at least two waveform graphs marked with graphic names.
[0119] Exemplarily, obtain the image information of at least two waveform graphs, and the image information contains at least one of the following information.
[0120] 1. The target platform for generating the waveform graph: When the waveform graph is obtained by the terminal from a network public platform, the target platform for generating the waveform graph refers to the platform from which the waveform graph is downloaded, and the relevant information of the target platform is included in the image information. For example, the name of the target platform, the time information for downloading the waveform graph, the account name for uploading the waveform graph to the target platform (with the consent of the account user), the time information for uploading the waveform graph to the target platform, etc.;
[0121] 2. Vehicle model corresponding to the waveform diagram: Since the waveform diagram data is obtained by testing the in-vehicle electrical appliances of a specific vehicle with an in-vehicle load oscilloscope, the waveform diagram data corresponds to the vehicle model. The test results of different vehicle models are different, and the corresponding waveform diagram data also varies. The image information contains the vehicle model information of the test vehicle used to collect the waveform diagram. For example, information such as the vehicle model, the operating state of the vehicle during the test, and the production batch of the vehicle;
[0122] 3. Equipment information of the in-vehicle load oscilloscope for collecting the waveform diagram: There is a correlation between the equipment specifications of the in-vehicle load oscilloscope and the graphical representation form of the waveform diagram. The image information contains information such as the model of the in-vehicle load oscilloscope, the bandwidth (which determines the signal frequency range that the oscilloscope can accurately measure), and the sampling rate (the number of times the signal is collected per second, which determines the accuracy of waveform restoration);
[0123] 4. Equipment information of the measured circuit / electrical appliance: The waveform diagram output by the in-vehicle load oscilloscope is usually for a specific measured circuit or a single electrical appliance. Each time a test is conducted, the in-vehicle load oscilloscope monitors the current loop signal being accessed, and the output waveform diagram only represents the current / voltage characteristics of that loop; therefore, each waveform diagram corresponds to a measured circuit / electrical appliance.
[0124] For example, the equipment information includes information such as the equipment identifier of the electrical appliance, the equipment operating state, the equipment model, the equipment version, and the equipment brand.
[0125] Exemplarily, for the i-th waveform diagram, based on the matching situation between the image information of the i-th waveform diagram and the preset naming rule, the i-th graphic name corresponding to the i-th waveform diagram is determined, and the i-th waveform diagram marked with the i-th graphic name is obtained. i is a positive integer.
[0126] Optionally, the preset naming rule means that if the image information of the i-th waveform diagram contains the equipment information of the measured electrical appliance and the vehicle model information of the vehicle to which the measured electrical appliance belongs, then the i-th waveform diagram is named based on the naming rule of "vehicle model - electrical appliance identifier - electrical appliance name - operating state".
[0127] For example, the i-th waveform diagram is data obtained from a load test on a vacuum pump in a vehicle with a vehicle model of T1. The equipment identifier of this vacuum pump is FF01, and the operating state of the vacuum pump is normal during the load test. The waveform change situation in the i-th waveform diagram meets the preset normal waveform requirements. Therefore, the i-th graphic name of the i-th waveform diagram is "T1 - FF01 - vacuum pump - normal".
[0128] In some embodiments, the i-th waveform diagram can be directly numbered according to the generation order / obtaining time order, and the number of each diagram is used as the i-th graphic name of the i-th waveform diagram.
[0129] Among them, due to the correspondence between the electrical characteristic data and the waveform diagram data, there is a matching relationship between the name of the sub-data of the electrical characteristic data generated based on the waveform diagram and the waveform diagram.
[0130] For example, the i-th waveform diagram and the sub-data of the electrical characteristic data generated based on the i-th waveform diagram are named with the same name.
[0131] It should be noted that the above method of naming at least two waveform diagrams is only for illustration. The waveform diagrams can be named in other ways, or only the preset codes or symbols can be used as the unique identifier of the waveform diagram, so that each waveform diagram can be identified and the content information it expresses can be understood through a unique identifier such as a graphic name.
[0132] Among them, the process of naming each sub-data in the electrical characteristic data will not be elaborated here. The sub-data can be named with reference to the above rules for naming the waveform diagrams. After processing the waveform diagrams, an index relationship between the waveform diagrams and the sub-data is established.
[0133] In some embodiments, after naming each waveform diagram, the terminal can first perform a preliminary classification of the waveform diagrams to facilitate subsequent search and maintenance.
[0134] Optionally, at least two waveform diagrams are classified based on the graphic names of at least two waveform diagrams to obtain at least one type folder. The j-th type folder contains the waveform diagrams belonging to the j-th type, where j is a positive integer.
[0135] Store at least one type folder.
[0136] Exemplarily, the device identifier of the electrical appliance included in the graphic name is recognized, and at least two waveform diagrams are classified based on the device identifier. The waveform diagrams belonging to the same device identifier are stored in the same folder.
[0137] For example, there are a total of 10 waveform diagrams. Among them, 4 waveform diagrams have the first device identifier FF01 in their graphic names, 3 waveform diagrams have the second device identifier FF02 in their graphic names, and 3 waveform diagrams have the third device identifier FF03 in their graphic names. Among them, FF01 corresponds to a vacuum pump, FF02 corresponds to a temperature sensor, and FF03 corresponds to a vehicle taillight.
[0138] Then the above 10 waveform diagrams are stored in 3 folders respectively. The first type folder contains the waveform diagrams of the device type of the vacuum pump; the second type folder contains the waveform diagrams of the device type of the temperature sensor; the third type folder contains the waveform diagrams of the device type of the vehicle taillight.
[0139] Optionally, format conversion is performed on at least two waveform diagrams marked with graphic names to obtain at least two waveform diagrams that meet the preset link requirements.
[0140] Linking processing is performed on at least two waveform diagrams that meet the preset link requirements to obtain graphic viewing links corresponding to the at least two waveform diagrams respectively. Among them, the i-th graphic viewing link corresponds to the i-th waveform diagram, and the link name of the i-th graphic viewing link matches the graphic name of the i-th waveform diagram, where i is a positive integer.
[0141] Exemplarily, the preset link requirement means that the size of the waveform diagram is a×b pixels in length×width, where a and b are positive numbers, and the storage space occupied by the waveform diagram does not exceed the preset space threshold.
[0142] For waveform diagrams whose sizes do not meet the preset link requirements, processing such as cropping, scaling, and ratio adjustment is performed, and for waveform diagrams whose file sizes do not meet the preset link requirements, compression processing is performed.
[0143] Among them, the link name of the i-th graphic viewing link can be the same as the graphic name of the i-th waveform diagram, or, based on a preset rule, the graphic name of the i-th waveform diagram is encoded to obtain a special code as the link name, or, a partial name of the graphic name of the i-th waveform diagram is selected as the link name of the i-th graphic viewing link.
[0144] In some embodiments, in order to make the waveform diagram easier to understand and enable users to obtain graphic information more efficiently when viewing electrical characteristic data in comparison with the waveform diagram, after obtaining the electrical characteristic data, the position points that need to be concerned in the waveform diagram can be marked based on the electrical characteristic data.
[0145] Optionally, based on the electrical characteristic data, abnormal point marking is performed on the preprocessed waveform diagram data to obtain updated waveform diagram data, and linking processing is performed on the updated waveform diagram data to obtain a graphic viewing link.
[0146] Exemplarily, the electrical characteristic data contains multiple sub-data, which respectively correspond to different waveform diagrams in the waveform diagram data. The abnormal point refers to the coordinate point when at least one of the following changes occurs in the waveform of the waveform diagram:
[0147] (1) The coordinate point when the instantaneous peak reaches the peak / valley value;
[0148] (2) The coordinate points corresponding to the start and end moments of the pulse segment;
[0149] (3) The coordinate points corresponding to the start and end moments of the abnormal waveform.
[0150] Step 340, generate a data table based on the electrical characteristic data and the graphic viewing link.
[0151] Among them, the data table contains the correspondence between electrical characteristic data and graphic viewing links.
[0152] Optionally, the electrical characteristic data contains at least two sub-data, and the waveform diagram data contains at least two waveform diagrams.
[0153] Obtain at least two correspondences between at least two sub-data and at least two waveform diagrams.
[0154] Generate at least two data items based on at least two correspondences. Among them, the kth correspondence corresponds to the kth data item, and the kth data item contains the kth sub-data and the corresponding kth graphic viewing link, where k is a positive integer.
[0155] Integrate at least two data items to obtain a data table.
[0156] The kth correspondence means that the k sub-data are obtained by analyzing the kth group of waveform diagrams, and the kth group of waveform diagrams contains at least one waveform diagram.
[0157] In some embodiments, in order to more intuitively display the graphic viewing link, the position of the graphic viewing link in the table can be associated with the position of the sub-data in the table to obtain a data item.
[0158] For example, for the same waveform diagram, each row of content is a data item, and its corresponding sub-data and graphic viewing link are in different columns of the same row in the table.
[0159] At this time, the naming process of the graphic viewing link can be omitted, and the link name can be directly set to the text content for guiding and triggering, for example: " Open "; or, highlight the graphic viewing link, for example, the color of the link is the first color, and the text of the sub-data is the second color.
[0160] Exemplarily, the form of the data table is as shown in Table 1 below. Table 1 contains the data item numbers of each data item, and multiple data items are arranged in order based on the data item numbers.
[0161] Table 1
[0162] Data Item Number (Filterable) Sub-Data File Name (Filterable) Open Waveform Diagram EF01 T18FL3-FF01 Vacuum Pump Link 1 EF02 T18FL3-FF02 Oxygen Sensor Link 2 EF03 T18FL3-FF03 Ignition Wire Link 3 …… …… …… EFN T18FL3-FFN Starter Relay Link N
[0163] Among them, the first column is used to display the data item number, the second column is used to display the electrical characteristic data, and the third column is used to display the graphic viewing link. Among them, the data table is configured as a table with filter conditions, and the data item number column and the sub-data file name column can view the specified data item by inputting filter conditions.
[0164] Each data item occupies one row in the table. For the same data item, trigger the graphical view link in the third column to view the waveform graph corresponding to the sub - data in the second column of the same row.
[0165] Step 350, in response to receiving a folder generation operation, filter the data table based on preset classification requirements to generate at least one waveform graph folder.
[0166] Among them, the waveform graph folder contains at least one waveform graph.
[0167] Optionally, the data table contains at least two data items. The k - th data item contains the k - th sub - data in the electrical characteristic data and the corresponding k - th graphical view link. The k - th data item corresponds to the k - th data item identifier, where k is a positive integer.
[0168] Receive a folder generation operation. The folder generation operation corresponds to at least one keyword, and at least one keyword is used to describe the data type contained in the at least one waveform graph folder to be generated.
[0169] Based on the matching analysis of the at least one keyword and the data item identifiers corresponding to the at least two data items respectively, obtain at least one set of data items that meet the preset matching requirements. The n - th set of data items contains at least one data item, where n is a positive integer.
[0170] Exemplarily, the types of the at least one keyword include but are not limited to: type of electrical appliance, waveform characteristics, test conditions, test purposes.
[0171] If one keyword is input, the data item identifier and the keyword can be matched. When the keyword is included in the data item identifier, it indicates that the data item meets the preset matching requirements.
[0172] If multiple keywords are input, match each keyword one by one based on the data item identifier. For each data item identifier, if it contains any keyword, the data item belongs to the waveform graph folder corresponding to the keyword.
[0173] For example, input 3 keywords (keyword A, B, C), and the data table contains 10,000 data items. Among them, 100 data items match keyword A, and these 100 data items are stored in waveform graph folder 1 corresponding to keyword A; 200 data items match keyword B, and these 200 data items are stored in waveform graph folder 2 corresponding to keyword B; 50 data items match keyword C, and these 50 data items are stored in waveform graph folder 3 corresponding to keyword C.
[0174] Generate the corresponding at least one waveform graph folder based on at least one set of data items.
[0175] For example, the folder generation operation instructs to divide all data items in the data table into three groups of data items, with each group of data items corresponding to a type of folder. The waveform diagrams in the data items are respectively stored in the corresponding folders to obtain Folder 1, Folder 2, and Folder 3.
[0176] The waveform diagrams contained in each folder belong to the same type. The waveform diagrams contained in different folders can be of different types or the same type. For example, there is a waveform Figure 1 that conforms to both the type of Folder 1 and the type of Folder 2, and thus can appear in both Folder 1 and Folder 2 simultaneously.
[0177] Again, for example, in some embodiments, the folder generation operation only instructs to screen out the data items in the data table that meet the preset classification requirements, and generate one or more folders. The waveform diagrams contained in the generated folders can be some or all of the waveform diagrams in the data table, and this embodiment does not limit this.
[0178] In summary, the data processing method provided in this application, by obtaining the waveform diagram data and its corresponding electrical characteristic data obtained from the in-vehicle load oscilloscope test, performing batch automatic linking processing on the waveform diagram data, converting the waveform diagram data into triggerable display link data, and integrating the links and electrical characteristic data into the data table based on the correspondence between the electrical characteristic data and the waveform diagram data, can improve the processing efficiency of waveform diagram-related data, facilitate the early collection and later maintenance of waveform diagram data. Compared with the method of manually organizing and viewing waveform diagram data, it can improve the data processing efficiency. By receiving the folder generation operation, the data items in the data table can be automatically classified, and the waveform diagrams of the same type can be integrated into the same folder to achieve efficient automatic classification and meet the requirements for retrieving and viewing different types of waveform diagram data during vehicle development.
[0179] Figure 4 is the structural block diagram of a data processing device provided by an exemplary embodiment of this application. As Figure 4 shown, the device includes the following parts.
[0180] An acquisition module 410, configured to acquire waveform diagram data, where the waveform diagram data is data obtained by an in-vehicle load oscilloscope testing the power consumption circuit of an in-vehicle electrical appliance. The in-vehicle load oscilloscope is used to monitor the load condition of the in-vehicle electrical appliance in the vehicle's low-voltage circuit, and the waveform diagram data is used to characterize the change of the electrical parameters of the in-vehicle electrical appliance;
[0181] The obtaining module 410 is further configured to obtain electrical characteristic data of the waveform graph data, where the electrical characteristic data is used to characterize the change characteristics of the electrical parameters in the waveform graph data, and the electrical parameters include at least one of current and voltage;
[0182] The linking module 420 is configured to perform a linking process on the waveform graph data to obtain a graphic viewing link corresponding to the waveform graph data, where the graphic viewing link is used to direct to display the waveform graph corresponding to the waveform graph data;
[0183] The generating module 430 is configured to generate a data table based on the electrical characteristic data and the graphic viewing link, where the data table contains the corresponding relationship between the electrical characteristic data and the graphic viewing link;
[0184] The generating module 430 is further configured to, in response to receiving a folder generating operation, filter the data table based on a preset classification requirement, and generate at least one waveform graph folder, where the waveform graph folder contains at least one waveform graph.
[0185] In an optional embodiment, the waveform graph data includes at least two waveform graphs, where the at least two waveform graphs correspond to test waveforms of different in-vehicle electrical appliances, or the at least two waveform graphs correspond to test waveforms of the same in-vehicle electrical appliance at different time periods;
[0186] The linking module 420 is further configured to perform a naming process on the at least two waveform graphs respectively based on a preset naming rule to obtain at least two waveform graphs marked with graphic names; perform a format conversion on the at least two waveform graphs marked with graphic names to obtain at least two waveform graphs that meet the preset link requirements; perform a linking process on the at least two waveform graphs that meet the preset link requirements to obtain the graphic viewing links respectively corresponding to the at least two waveform graphs, where the i-th graphic viewing link corresponds to the i-th waveform graph, and the link name of the i-th graphic viewing link matches the graphic name of the i-th waveform graph, and i is a positive integer.
[0187] In an optional embodiment, the linking module 420 is further configured to obtain image information of the at least two waveform graphs, where the image information includes at least one of the following information: the target platform for generating the waveform graph, the vehicle model of the vehicle corresponding to the waveform graph, and the device information of the in-vehicle load oscilloscope for collecting the waveform graph; for the i-th waveform graph, determine the i-th graphic name corresponding to the i-th waveform graph based on the matching situation between the image information of the i-th waveform graph and the preset naming rule, and obtain the i-th waveform graph marked with the i-th graphic name.
[0188] In an alternative embodiment, the linking module 420 is further configured to classify the at least two waveform diagrams based on the graphic names of the at least two waveform diagrams to obtain at least one type folder, where the j-th type folder contains waveform diagrams belonging to the j-th type, and j is a positive integer; and store the at least one type folder.
[0189] In an alternative embodiment, the obtaining module 410 is further configured to perform denoising preprocessing on the waveform diagram data to obtain preprocessed waveform diagram data that meets the clarity requirements; perform feature extraction on the preprocessed waveform diagram data to determine electrical parameter features in the preprocessed waveform diagram data whose change amplitude reaches a preset change requirement, so as to obtain the electrical feature data.
[0190] In an alternative embodiment, the linking module 420 is further configured to mark abnormal points on the preprocessed waveform diagram data based on the electrical feature data to obtain updated waveform diagram data; perform linking processing on the updated waveform diagram data to obtain the graphic viewing link.
[0191] In an alternative embodiment, the electrical feature data includes at least two sub-data, and the waveform diagram data includes at least two waveform diagrams;
[0192] The generating module 430 is further configured to obtain at least two corresponding relationships between the at least two sub-data and the at least two waveform diagrams; generate at least two data items based on the at least two corresponding relationships, where the k-th corresponding relationship corresponds to the k-th data item, and the k-th data item includes the k-th sub-data and the corresponding k-th graphic viewing link; k is a positive integer; integrate the at least two data items to obtain the data table.
[0193] In an alternative embodiment, the data table includes at least two data items, the k-th data item includes the k-th sub-data in the electrical feature data and the corresponding k-th graphic viewing link, and the k-th data item corresponds to a k-th data item identifier, where k is a positive integer;
[0194] The generating module 430 is further configured to receive the folder generating operation, where the folder generating operation corresponds to at least one keyword, and the at least one keyword is used to describe the data type included in the at least one waveform diagram folder to be generated; perform matching analysis on the at least one keyword and the data item identifiers corresponding to the at least two data items respectively to obtain at least one group of data items that meet the preset matching requirements, and the n-th group of data items includes at least one data item, where n is a positive integer; generate the corresponding at least one waveform diagram folder based on the at least one group of data items.
[0195] In summary, the data processing device provided by the present application obtains the waveform diagram data and its corresponding electrical characteristic data obtained by the in-vehicle load oscilloscope test, performs batch automatic linking processing on the waveform diagram data, converts the waveform diagram data into triggerable display link data, and integrates the link and the electrical characteristic data into a data table based on the corresponding relationship between the electrical characteristic data and the waveform diagram data, which can improve the processing efficiency of waveform diagram-related data and facilitate the pre-collection and post-maintenance of waveform diagram data. Compared with the method of manually sorting and viewing waveform diagram data, the data processing efficiency can be improved. By receiving the folder generation operation, the data items in the data table can be automatically classified, and the same type of waveform diagrams can be integrated into the same folder to achieve efficient automatic classification and meet the requirements of retrieving and viewing different types of waveform diagram data during the vehicle development process.
[0196] It should be noted that: for the data processing device provided in the above embodiment, only the above-mentioned division of each functional module is used for illustration. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the data processing device provided in the above embodiment and the data processing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment and will not be repeated here.
[0197] Figure 5 The block diagram of a computer device 500 provided by an exemplary embodiment of the present application is shown. The computer device 500 may be: a smart phone, a tablet computer, a Moving Picture Experts Group Audio Layer III player (MP3), a Moving Picture Experts Group Audio Layer IV (MP4) player, a notebook computer or a desktop computer. The computer device 500 may also be referred to by other names such as a user device, a portable terminal, a laptop terminal, a desktop terminal, etc.
[0198] Generally, the computer device 500 includes: a processor 501 and a memory 502.
[0199] The processor 501 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 501 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 501 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may further include an artificial intelligence (AI) processor, and the AI processor is used to process computational operations related to machine learning.
[0200] The memory 502 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 502 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 502 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 501 to implement the data processing method provided in the method embodiments of the present application.
[0201] In some embodiments, the computer device 500 further includes some other components 503, and the types and quantities of the other components 503 may be selected based on the functional requirements of the computer device 500. Those skilled in the art can understand that Figure 5 the structure shown does not constitute a limitation on the computer device 500, and it may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component layout.
[0202] Optionally, the computer-readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), Solid State Drives (SSD), or optical discs, etc. Among them, the random access memory may include Resistance Random Access Memory (ReRAM) and Dynamic Random Access Memory (DRAM). The serial numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0203] An embodiment of the present application further provides a computer device, which includes a processor and a memory. At least one instruction, at least one program, a code set, or an instruction set is stored in the memory. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the data processing method as described in any one of the above embodiments of the present application.
[0204] An embodiment of the present application further provides a computer-readable storage medium. At least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the data processing method as described in any one of the above embodiments of the present application.
[0205] An embodiment of the present application further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the data processing method as described in any one of the above embodiments.
[0206] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by a program instructing related hardware. The program can be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk, or an optical disc, etc.
[0207] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A data processing method, characterized in that, The method includes: Obtaining waveform graph data, where the waveform graph data is data obtained by a vehicle load oscilloscope testing the power consumption circuit of a vehicle electrical appliance. The vehicle load oscilloscope is used to monitor the load condition of the vehicle electrical appliance in the vehicle low-voltage circuit, and the waveform graph data is used to characterize the change condition of the electrical parameters of the vehicle electrical appliance; Obtaining electrical characteristic data of the waveform graph data, where the electrical characteristic data is used to characterize the change characteristics of the electrical parameters in the waveform graph data, and the electrical parameters include at least one of current and voltage; Performing a linking process on the waveform graph data to obtain a graphic viewing link corresponding to the waveform graph data, where the graphic viewing link is used to direct to display the waveform graph corresponding to the waveform graph data; Generating a data table based on the electrical characteristic data and the graphic viewing link, where the data table contains the corresponding relationship between the electrical characteristic data and the graphic viewing link; In response to receiving a folder generation operation, filtering the data table based on a preset classification requirement to generate at least one waveform graph folder, where the waveform graph folder contains at least one waveform graph; 2. The method according to claim 1, wherein The waveform graph data contains at least two waveform graphs, where the at least two waveform graphs correspond to the test waveforms of different vehicle electrical appliances, or the at least two waveform graphs correspond to the test waveforms of the same vehicle electrical appliance at different time periods; The performing a linking process on the waveform graph data to obtain a graphic viewing link corresponding to the waveform graph data includes: Performing a naming process on the at least two waveform graphs respectively based on a preset naming rule to obtain at least two waveform graphs marked with graphic names; Performing a format conversion on the at least two waveform graphs marked with graphic names to obtain at least two waveform graphs that meet the preset link requirements; Performing a linking process on the at least two waveform graphs that meet the preset link requirements to obtain the graphic viewing links corresponding to the at least two waveform graphs respectively, where the i-th graphic viewing link corresponds to the i-th waveform graph, and the link name of the i-th graphic viewing link matches the graphic name of the i-th waveform graph, and i is a positive integer; 3. The method according to claim 2, wherein The performing a naming process on the at least two waveform graphs respectively based on a preset naming rule to obtain at least two waveform graphs marked with graphic names includes: Obtaining the image information of the at least two waveform graphs, where the image information contains at least one of the following information: the target platform for generating the waveform graph, the vehicle model of the vehicle corresponding to the waveform graph, and the device information of the vehicle load oscilloscope for collecting the waveform graph; For the i-th waveform graph, determining the i-th graphic name corresponding to the i-th waveform graph based on the matching situation between the image information of the i-th waveform graph and the preset naming rule, to obtain the i-th waveform graph marked with the i-th graphic name; 4. The method according to claim 3, wherein The method further includes: Performing a classification process on the at least two waveform graphs based on the graphic names of the at least two waveform graphs to obtain at least one type folder, where the j-th type folder contains the waveform graphs belonging to the j-th type, and j is a positive integer; Store the at least one type of folder.
5. The method according to any one of claims 1 to 4, characterized in that, The obtaining of the electrical characteristic data of the waveform diagram data includes: Performing denoising preprocessing on the waveform diagram data to obtain preprocessed waveform diagram data meeting the clarity requirement; Performing feature extraction on the preprocessed waveform diagram data to determine the electrical parameter features with a variation amplitude reaching a preset variation requirement in the preprocessed waveform diagram data, thereby obtaining the electrical characteristic data.
6. The method according to any one of claims 1 to 4, characterized in that Before the performing of the linking process on the waveform diagram data to obtain a graphic viewing link corresponding to the waveform diagram data, it further includes: Performing abnormal point marking on the preprocessed waveform diagram data based on the electrical characteristic data to obtain updated waveform diagram data; The performing of the linking process on the waveform diagram data to obtain a graphic viewing link corresponding to the waveform diagram data includes: Performing a linking process on the updated waveform diagram data to obtain the graphic viewing link.
7. According to the method according to any one of claims 1 to 4, characterized in that The electrical characteristic data contains at least two sub-data, and the waveform diagram data contains at least two waveform diagrams; The generating of a data table based on the electrical characteristic data and the graphic viewing link includes: Obtaining at least two corresponding relationships between the at least two sub-data and the at least two waveform diagrams; Generating at least two data items based on the at least two corresponding relationships, wherein the k-th corresponding relationship corresponds to the k-th data item, and the k-th data item contains the k-th sub-data and the corresponding k-th graphic viewing link; k is a positive integer; Integrating the at least two data items to obtain the data table.
8. The method according to any one of claims 1 to 4, characterized in that The data table contains at least two data items, the k-th data item contains the k-th sub-data in the electrical characteristic data and the corresponding k-th graphic viewing link, and the k-th data item corresponds to a k-th data item identifier, k is a positive integer; In response to receiving a folder generation operation, filtering the data table based on a preset classification requirement to generate at least one waveform diagram folder, including: Receiving the folder generation operation, the folder generation operation corresponding to at least one keyword, the at least one keyword being used to describe the data types included in the at least one waveform diagram folder to be generated; Performing matching analysis based on the at least one keyword and the data item identifiers corresponding to the at least two data items respectively to obtain at least one set of data items meeting the preset matching requirement, the n-th set of data items containing at least one data item, n is a positive integer; Generating the corresponding at least one waveform diagram folder based on the at least one set of data items respectively.
9. A data processing device, characterized in that, The device includes: An obtaining module, configured to obtain waveform diagram data, the waveform diagram data being data obtained by a vehicle-mounted load oscilloscope testing the power consumption circuit of a vehicle-mounted electrical appliance, the vehicle-mounted load oscilloscope being used to monitor the load condition of the vehicle-mounted electrical appliance in the vehicle low-voltage circuit, and the waveform diagram data being used to characterize the variation condition of the electrical parameters of the vehicle-mounted electrical appliance; The obtaining module is further configured to obtain electrical characteristic data of the waveform graph data, where the electrical characteristic data is used to characterize the change characteristics of the electrical parameters in the waveform graph data, and the electrical parameters include at least one of current and voltage; The linking module is configured to perform a linking process on the waveform graph data to obtain a graphic viewing link corresponding to the waveform graph data, where the graphic viewing link is used to direct to display the waveform graph corresponding to the waveform graph data; The generating module is configured to generate a data table based on the electrical characteristic data and the graphic viewing link, where the data table contains the correspondence between the electrical characteristic data and the graphic viewing link; The generating module is further configured to, in response to receiving a folder generating operation, filter the data table based on a preset classification requirement to generate at least one waveform graph folder, where the waveform graph folder contains at least one waveform graph.
10. A computer device, characterized in that, The computer device includes a processor and a memory, and at least one program is stored in the memory, and the at least one program is loaded and executed by the processor to implement the data processing method according to any one of claims 1 to 8.