System signal processing method and system, electronic equipment and storage medium
By introducing a system signal processing system developed with a standard software architecture in automotive electronic systems, the original signal is sent to the target data processing module for processing according to the signal type, the redundancy and inconsistency of signal processing by different applications in the prior art is solved, and the unified management and centralized processing of system signals is realized, and the system flexibility and operation efficiency are improved.
Patent Information
- Application Number
- CN202411307530.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-04-01
AI Technical Summary
In existing automotive electronic systems, different applications process multiple signals separately, resulting in redundant code, repeated development, low system flexibility, inconsistent processing logic and poor communication data transmission, affecting the system operation efficiency and security.
By introducing a system signal processing system developed by a standard software architecture in the automotive electronic system, the system includes multiple data processing modules, and the original signal is sent to the target data processing module for processing according to the signal type, obtain the processed information data, and send it to the target application.
It realizes unified management and centralized processing of system signals, reduces code redundancy and repeated development, improves system flexibility and operation efficiency, simplifies application processing flow, reduces the possibility of data transmission errors, and improves the security of system operation.
Smart Images

Figure CN119739379A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal data processing, and in particular to a system signal processing method, system, electronic equipment and storage medium. Background Art
[0002] In automotive electronic systems, microcontrollers coordinate the operation of multiple signals and functions of different modules to realize the functions corresponding to different applications. With the development of automotive intelligence, the functional requirements of automotive electronic systems are constantly increasing, and different applications are developed. In the existing research and development methods, different applications perform corresponding logical processing on the multiple signals generated in the automotive electronic system separately, and each application needs to be developed separately, resulting in code redundancy and repeated development, and low system flexibility. At the same time, since different applications process signals separately, there may be inconsistencies in the processing logic, and problems such as poor communication and data transmission may occur between different applications, making application collaboration difficult, resulting in low system operation efficiency. Summary of the invention
[0003] The main purpose of the embodiments of the present invention is to provide a method, system, electronic device and storage medium for processing system signals, which can improve system flexibility and improve system operation efficiency.
[0004] To achieve the above object, an embodiment of the present invention provides a method for processing a system signal. The system for processing the system signal is developed based on a standard software architecture. The processing system includes several data processing modules. The method includes:
[0005] Acquire an original signal, analyze the original signal, and determine a signal type of the original signal;
[0006] Sending the original signal to a target data processing module for processing according to the signal type to obtain processed information data;
[0007] The processed information data is sent to a target application so that the target application processes the processed information data.
[0008] In some embodiments, the signal type includes a first type, a second type, and a third type, and sending the original signal to a target data processing module for processing according to the signal type to obtain processed information data specifically includes:
[0009] If the signal type is the first type, the original signal is sent to a first data processing module, and the first data processing module performs a first operation on the original signal to obtain the processed information data; wherein the first type of signal includes a wake-up sleep signal, a storage signal or a diagnostic signal;
[0010] If the signal type is the second type, the original signal is sent to a second data processing module, and the second data processing module performs a second operation on the original signal to obtain the processed information data; wherein the second type of signal includes a drive signal or a communication signal;
[0011] If the signal type is the third type, the original signal is sent to a third data processing module, and the third data processing module performs a third operation on the original signal to obtain the processed information data; wherein the third type of signal includes a system status signal.
[0012] In some embodiments, the first data processing module performs a first operation on the original signal to obtain the processed information data, specifically including:
[0013] Extracting data from the original signal to obtain first information; wherein the first information includes awakening and sleeping event information, storage data information, and fault abnormality information;
[0014] The first information is encapsulated to obtain the processed information data.
[0015] In some embodiments, the second data processing module performs a second operation on the original signal to obtain the processed information data, specifically including:
[0016] Extracting data from the original signal to obtain second information; wherein the second information includes driving information and communication information;
[0017] The second information is preprocessed to obtain first standard data; the first standard data is encapsulated to obtain the processed information data.
[0018] In some embodiments, the third data processing module performs a third operation on the original signal to obtain the processed information data, specifically including:
[0019] Identifying the original signal to obtain current state information of the original signal;
[0020] The original signal is converted according to the current state information and the preset corresponding relationship to obtain the processed information data.
[0021] In some embodiments, converting the original signal according to the current state information and the preset corresponding relationship to obtain the processed information data specifically includes:
[0022] According to the current state information, the preset corresponding relationship is matched to obtain the target mark information and the corresponding data format;
[0023] The target flag information is encapsulated according to the data format to obtain the processed information data.
[0024] To achieve the above object, another aspect of an embodiment of the present invention provides a system for processing system signals, the system comprising:
[0025] The first module is used to obtain an original signal, analyze the original signal, and determine the signal type of the original signal;
[0026] The second module is used to send the original signal to the target data processing module for processing according to the signal type to obtain processed information data;
[0027] The third module is used to send the processed information data to the target application, so that the target application processes the processed information data.
[0028] To achieve the above objective, another aspect of an embodiment of the present invention provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.
[0029] To achieve the above objective, another aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method is implemented.
[0030] To achieve the above objective, another aspect of an embodiment of the present invention provides a vehicle, wherein the vehicle includes the above-mentioned system or the above-mentioned electronic device.
[0031] Implementation of the embodiments of the present invention includes the following beneficial effects: the embodiments of the present invention provide a method, system, electronic device and storage medium for processing system signals, the scheme acquires the original signal generated in the system, analyzes the original signal and determines the signal type of the original signal; sends the acquired original signal to the corresponding target data processing module for corresponding processing according to the determined signal type to obtain information data after processing, and then sends the obtained processed information data to the target application, so that the target application corresponding to the interface receives and processes the sent information data; develops a processing system through a standard software architecture, in which the signal type of the original signal is determined, and the original signal is sent to the corresponding data processing module for processing according to the signal type, and then the processed original signal is sent to the application, so as to realize unified management and centralized processing of the original signal, develop data processing modules based on the standard architecture, improve the correlation between different modules, facilitate the collaborative work of different modules, and improve the flexibility of the system; at the same time, through the unified management and centralized processing of the original signal, the processing flow of the application program for the original signal is simplified, thereby improving the system operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic flow chart of the steps of a method for processing a system signal provided by an embodiment of the present invention;
[0033] Figure 2 It is a schematic flow chart of the steps of processing an original signal in a method for processing a system signal provided by an embodiment of the present invention;
[0034] Figure 3 is a schematic flow chart of steps for performing a first operation in a method for processing a system signal provided by an embodiment of the present invention;
[0035] Figure 4 is a schematic flow chart of steps for performing a second operation in a method for processing a system signal provided by an embodiment of the present invention;
[0036] Figure 5 is a schematic flow chart of steps for performing a third operation in a method for processing a system signal provided by an embodiment of the present invention;
[0037] Figure 6 It is a schematic flow chart of the steps of converting an original signal in a method for processing a system signal provided by an embodiment of the present invention;
[0038] Figure 7 It is a system structure block diagram of a method for processing system signals in a specific embodiment provided by an embodiment of the present invention;
[0039] Figure 8 is a flowchart of steps for implementing system signal processing in a specific embodiment provided by an embodiment of the present invention;
[0040] Fig. 9 is a structural schematic diagram of a first signal processing module in a specific embodiment provided by an embodiment of the present invention;
[0041] Fig.10 is a structural schematic diagram of a second signal processing module in a specific embodiment provided by an embodiment of the present invention;
[0042] Fig.11 is a structural block diagram of a system signal processing system provided by an embodiment of the present invention;
[0043] Fig.12 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0045] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0046] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.
[0047] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present invention have the same meanings as those commonly understood by those skilled in the art of the present invention. The terms used in the embodiments of the present invention are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.
[0048] Microcontroller Unit: MCU is a chip that integrates core components such as a central processing unit, memory, timer, input / output ports, etc., and is used to perform various computing and control tasks. In smart cars, MCU is usually used to control various functions of the vehicle, such as engine control, braking system, driver assistance system, etc. The performance and function of MCU play a vital role in the performance and function of the car.
[0049] Automotive Open System Architecture: Autosar is a standardized software architecture designed to simplify the development and integration of automotive electronic systems. Autosar uses a layered architecture to decouple the communication and functions between application software and underlying hardware, improving the maintainability and scalability of the system. In this architecture, the system service module can be used as a middleware component to provide standardized interfaces and services to meet the needs of different applications.
[0050] In the related art, automotive electronic systems implement different functions, such as autonomous driving and vehicle networking, by developing different applications. In automotive electronic systems, applications perform corresponding logical processing on multiple received signals to implement their corresponding functions. As the functional requirements of automotive electronic systems increase, corresponding applications need to be developed based on the functional requirements. In existing automotive electronic systems, each application performs separate logical processing on multiple received signals. Therefore, in the development of applications for new functions, separate program development is performed for different applications, resulting in code redundancy and repeated development, and low system flexibility. At the same time, different applications perform separate logical processing on multiple signals in the system, and the processing logics between different applications may be different, which may lead to problems such as transmission errors in data communication between different applications, resulting in difficulties in collaboration between different applications, affecting system operation efficiency, and even affecting vehicle driving safety.
[0051] In view of this, an embodiment of the present invention provides a method, system, electronic device and storage medium for processing system signals. The method uniformly manages and centrally processes multiple signals in the system, sends the processed signals to corresponding applications, simplifies the processing flow of multiple signals by different applications in the system, and can uniformly manage and transmit communication data between different applications to reduce data transmission errors, thereby improving system operation efficiency and improving system operation security. At the same time, by uniformly managing and centrally processing multiple signals generated in the system, the same set of signal processing logic is used during application development and actual application operation to reduce code redundancy and repeated development, thereby improving system flexibility.
[0052] Figure 1 is an optional flowchart of a method for processing a system signal provided by an embodiment of the present invention. Figure 1 The method may include but is not limited to steps S101 to S103.
[0053] Step S101, obtaining an original signal, analyzing the original signal, and determining the signal type of the original signal;
[0054] Step S102, sending the original signal to the target data processing module for processing according to the signal type to obtain processed information data;
[0055] Step S103: sending the processed information data to the target application so that the target application processes the processed information data.
[0056] In steps S101 to S103 shown in the embodiment of the present invention, the electronic system of the vehicle generates many signals during operation; illustratively, the sensor installed in the vehicle transmits the information data it monitors to the microcontroller or domain control module in the form of signals; or, the functional module installed in the vehicle generates different instructions or control signals, such as a power management module, and the functional module sends the generated different instructions or control signals to the microcontroller; the embodiment of the present invention uniformly manages various signals received by the microcontroller by setting a system functional module, and the system functional module receives original signals sent by various sensors or functional modules; then, the received original signal is analyzed to determine the signal type of the original signal, such as a wake-up sleep signal, a diagnostic signal, a drive signal, a system status signal, etc.; after obtaining the signal type of the original signal, the system functional module converts the original signal into a signal according to the signal type. The data is sent to the data processing module under the standard architecture for corresponding processing, including information extraction and data conversion of the original signal; after processing the original signal, the processed information data is obtained, and the obtained information data is sent to the application program, which receives the processed information data and performs corresponding operations according to the information data; illustratively, the corresponding control instructions are generated according to the vehicle caliper status information to control the vehicle caliper to clamp or release; through the system function module, the signals generated in the system are centrally managed and processed, and the processed information is sent to the application program for subsequent processing, which simplifies the processing flow of the application program and thereby improves the operation efficiency of the system; at the same time, the system function module based on the standard architecture centrally processes the sent and received signals, and the application program only needs to process the processed information data, and the processing modules can work together to improve the flexibility of the system.
[0057] In step S101 of some embodiments, different sensors or functional modules may be connected to the system functional module, and different applications may be connected to the system functional module; different sensors or functional modules and applications may also constitute a corresponding relationship table, and the system functional module uniformly manages and processes the received signals according to the set relationship table. This is not limited thereto.
[0058] See also Figure 2 In some embodiments, step S102 may include but is not limited to steps S201 to S203:
[0059] Step S201, if the signal type is the first type, the original signal is sent to the first data processing module, and the first data processing module performs a first operation on the original signal to obtain processed information data; wherein the first type of signal includes a wake-up sleep signal, a storage signal or a diagnostic signal;
[0060] Step S202, if the signal type is the second type, the original signal is sent to the second data processing module, and the second data processing module performs a second operation on the original signal; wherein the second type of signal includes a drive signal or a communication signal;
[0061] Step S203: if the signal type is the third type, the original signal is sent to a third data processing module, and the third data processing module performs a third operation on the original signal; wherein the third type of signal includes a system status signal.
[0062] In step S201 of some embodiments, the system function module analyzes the received original signal to determine the signal type of the current original signal. If the current signal type is a wake-up sleep signal, a storage signal or a diagnostic signal, the original signal is sent to the first data processing module, and the current original signal is processed by the first data processing module to extract information data in the original signal, convert the information data into information data that conforms to the corresponding data format, and then send the converted information data to the corresponding application. Exemplarily, for the wake-up sleep signal, the system function module developed based on AUTOSAR extracts the specific event that triggers the wake-up signal in the original signal through the first data processing module, and sends the specific event to the corresponding application. The application performs corresponding operations according to the received wake-up event, initializes the corresponding hardware, runs the corresponding software program, etc.
[0063] In step S202 of some embodiments, the system function module analyzes the received original signal to determine the signal type of the current original signal. If the current signal type is a drive signal or a communication signal, etc., the current original signal is preprocessed accordingly through the second data processing module. For example, the information in the original signal is filtered, calibrated, and error-checked to improve the accuracy and reliability of the information in the current original signal, and to improve the anti-interference capability during the communication process. Exemplarily, for the communication signal, the system function module extracts the communication information therein, performs error detection and correction on the extracted communication information, performs data packaging on the processed communication information, and sends the packaged communication information to the corresponding application through the corresponding interface. The reliability and anti-interference capability of the communication are improved through the processing of the system function module.
[0064] In step S203 of some embodiments, the system function module analyzes the received original signal to determine the signal type of the current original signal. If the current signal type is a system status signal, the third data processing module performs signal recognition on the current original signal, and converts the status signal in the original signal into a data format suitable for application processing, such as a corresponding data flag, etc.; the converted data is sent to the corresponding target application through the corresponding interface for processing; illustratively, the system function module receives the caliper status signal sent by the braking system, converts the status information in the caliper status signal into flag information such as "caliper clamped" and "temperature is normal", and sends the converted flag information to the application for controlling the braking system through the interface for processing.
[0065] See also Figure 3 In some embodiments, step S201 may include but is not limited to steps S301 to S302:
[0066] Step S301, extracting data from the original signal to obtain first information; wherein the first information includes awakening and sleeping event information, storage data information and fault abnormality information;
[0067] Step S302: encapsulate the first information to obtain processed information data.
[0068] In step S301 of some embodiments, for a signal type of a wake-up sleep signal, a storage signal or a diagnostic signal, the system function module extracts data from the received original signal to obtain information in the original signal, which can be directly processed by the application; exemplarily, for a wake-up sleep signal, the wake-up sleep information therein is extracted, including an external event that generates a wake-up signal, or an object that executes sleep; for a storage signal, the data processing module in the system function module extracts storage information in the storage signal, including data to be stored and a corresponding memory for executing storage; the system function module can also process communication between different memories to realize data transmission between different memories; and for a diagnostic signal, the system function module extracts system fault information or exception information therein, thereby reducing the application's analysis and processing of the diagnostic signal, which results in the inability to timely process system faults or exceptions, and improving the timeliness of system processing.
[0069] In step S302 of some embodiments, after the data is extracted in step S301, the extracted data is encapsulated so that the corresponding target application can directly process the received information data, simplifying the application's data conversion process, improving the application's operating efficiency, and thereby improving the system's operating efficiency.
[0070] See also Figure 4In some embodiments, step S202 may include but is not limited to steps S401 to S402:
[0071] Step S401, extracting data from the original signal to obtain second information; wherein the second information includes driving information and communication information;
[0072] Step S402, preprocessing the second information to obtain first standard data; encapsulating the first standard data to obtain processed information data.
[0073] In step S401 of some embodiments, for the original signal whose signal type is a drive signal or a communication signal, this type of signal directly controls or adjusts various actuators set on the vehicle, such as brakes, steering gears, or realizes information exchange and coordination between different control units, and needs to maintain a high data transmission accuracy; therefore, the system function module extracts key information from this type of signal through the corresponding data processing module; illustratively, for the drive signal, the system function module extracts the control instructions therein and converts the control instructions into physical signals such as voltage and current; for the communication signal, the system function module extracts the communication data therein.
[0074] In step S402 of some embodiments, the key information extracted in step S401 is preprocessed to reduce data errors of the key information due to interference or other reasons during signal transmission; illustratively, the physical signal extracted and converted from the driving signal is subjected to signal filtering, calibration and other processing to improve the accuracy of the driving signal; the processed physical signal is then encapsulated; for the communication signal, the system function module performs error detection on the extracted communication data, corrects the detected data errors, and encapsulates the processed communication data to improve the anti-interference ability and reliability of the communication data.
[0075] See also Figure 5 In some embodiments, step S203 may include but is not limited to steps S501 to S502:
[0076] Step S501, identifying the original signal to obtain current state information of the original signal;
[0077] Step S502: converting the original signal according to the current state information and the preset corresponding relationship to obtain processed information data.
[0078] In step S501 of some embodiments, the system status signal includes the system status, parameters and input and output signals, and the application program set in the controller processes the various information carried in the system status signal to predict the working trend and demand of the vehicle electronic system; the corresponding data processing module in the system function module set in the embodiment of the present invention receives the system status signal generated by the vehicle electronic system, identifies the system status signal, and extracts the status information carried by the system status signal, and the application program can directly process according to the extracted status information; illustratively, the power management module in the vehicle electronic system sends a power status signal, which includes whether the power is currently turned on, the current temperature information of the power, etc., and the system function module identifies the status of the received power status signal and extracts the status information therein;
[0079] In step S502 of some embodiments, the system function module converts the status information extracted in step S501 into a signal according to a preset logical rule, obtains a signal format corresponding to the original status information that can be directly calculated and processed by the target application, and sends the converted signal information to the application for processing; illustratively, the system function module converts the status information in the extracted power status signal into a status flag, such as a power-on flag, a power temperature normal flag, etc.; and then encapsulates the converted status flag according to the signal format of the target application to obtain processed information data.
[0080] See also Figure 6 In some embodiments, step S502 may include but is not limited to steps S601 to S602:
[0081] Step S601, matching the current state information with the preset corresponding relationship to obtain target flag information and the corresponding data format;
[0082] Step S602, encapsulating the target flag information according to the data format to obtain processed information data.
[0083] In step S601 of some embodiments, a conversion logic corresponding to a system status signal is pre-set in the system function module, which identifies the received system status signal, extracts the system status information therein, and then matches the extracted system status information with the pre-set conversion logic to determine the corresponding converted target flag information and data format; illustratively, the system function model receives a vehicle caliper status signal, extracts the vehicle caliper working status data, vehicle caliper working temperature data, etc., matches the preset conversion logic with the extracted status data, determines that the vehicle caliper working status is clamped and the working temperature is high, converts the extracted caliper status information into a "caliper clamped" flag and a "high temperature" flag, and obtains the data format corresponding to the target application that processes the status information for subsequent data processing.
[0084] In step S602 of some embodiments, the converted status flag is data-encapsulated according to the data format obtained in step S601 to achieve conversion of the received system status signal and obtain converted data.
[0085] The following is a detailed description and explanation of the solution of the embodiment of the present invention in conjunction with a specific application example:
[0086] See also Figure 7 , Figure 7 is a structural function diagram of a method for processing system signals proposed in an embodiment of the present invention in a specific embodiment; wherein the system function module receives and processes various signals generated in the vehicle electronic system, and sends the processed signals to, including wake-up sleep signals, drive signals, diagnostic signals, etc.; each vehicle function component is used to detect the state of each actuator in the vehicle, or control each vehicle function module, such as a vehicle caliper controller, a vehicle steering system monitoring module, etc.; the application receives the processed signals sent by the system function module, performs calculation processing and decision-making, generates corresponding control signals or communication signals, sends them to the system function module for processing, and then distributes them to the corresponding vehicle function components; please refer to Figure 8 The power monitoring component of the vehicle monitors the working status of the power supply and collects power status data, and sends the power status data to the system function module through the power status signal. The system function module receives the power status signal and identifies it, determines the type of the power status signal, and sends it to the Fig. 9In the first signal processing module shown, the first signal processing module extracts the power status data therein, matches the power status data with the preset logic rules, determines that the corresponding power status flag is that the power is turned on and the power temperature is too high, encapsulates the determined power status flag according to the preset data format, obtains the converted power status data, and sends it to the target application; the target application receives the sent converted power status data, performs logic processing according to the converted power status data, generates power communication information and power drive information, and sends them to the system function module; the system function module receives the power communication information and the power drive information, determines the corresponding signal type according to the power communication information, and encapsulates the power drive information. The power communication information is sent to the second signal processing module, the corresponding signal type is determined according to the power drive information, and the power communication information is sent to the second signal processing module. The second signal processing module determines the corresponding power control application and the corresponding heat dissipation actuator according to the received power communication information and power drive information, and extracts key information from the power communication information and the power drive information, pre-processes the extracted key information, and sends the pre-processed key information to the corresponding power control application and the heat dissipation actuator respectively; the power control application receives the corresponding key information and switches the current working mode of the vehicle power; the heat dissipation actuator receives the corresponding drive key information and performs heat dissipation operations on the power supply.
[0087] Implementation of the embodiments of the present invention includes the following beneficial effects: the embodiments of the present invention provide a method, system, electronic device and storage medium for processing system signals, the scheme acquires the original signal generated in the system, analyzes the original signal and determines the signal type of the original signal; sends the acquired original signal to the corresponding target data processing module for corresponding processing according to the determined signal type to obtain information data after processing, and then sends the obtained processed information data to the target application, so that the target application corresponding to the interface receives and processes the sent information data; develops a processing system through a standard software architecture, in which the signal type of the original signal is determined, and the original signal is sent to the corresponding data processing module for processing according to the signal type, and then the processed original signal is sent to the application, so as to realize unified management and centralized processing of the original signal, develop data processing modules based on the standard architecture, improve the correlation between different modules, facilitate the collaborative work of different modules, and improve the flexibility of the system; at the same time, through the unified management and centralized processing of the original signal, the processing flow of the application program for the original signal is simplified, thereby improving the system operation efficiency.
[0088] like Fig.11 As shown, an embodiment of the present invention further provides a system for processing system signals, which can implement the above-mentioned system signal processing method, and the system includes:
[0089] The first module is used to obtain an original signal, analyze the original signal, and determine the signal type of the original signal and the interface information corresponding to the original signal;
[0090] The second module is used to process the original signal according to the signal type and the interface information to obtain processed information data;
[0091] The third module is used to send the processed information data to the target application corresponding to the interface information according to the interface information, so that the target application processes the processed information data.
[0092] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0093] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned system signal processing method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0094] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0095] See also Fig.12 , Fig.12 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0096] The processor 1201 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0097] The memory 1202 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1202 can store an operating system and other applications. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1202, and the processor 1201 calls and executes a method for processing a system signal in the embodiments of this application;
[0098] Input / output interface 1203, used to implement information input and output;
[0099] The communication interface 1204 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0100] A bus 1205 that transmits information between various components of the device (e.g., the processor 1201, the memory 1202, the input / output interface 1203, and the communication interface 1204);
[0101] The processor 1201 , the memory 1202 , the input / output interface 1203 and the communication interface 1204 are connected to each other in communication within the device via the bus 1205 .
[0102] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method for processing the system signal is implemented.
[0103] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0104] Among them, the memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. The memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a remote memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0105] In addition, an embodiment of the present invention further discloses a computer program product or a computer program, which is stored in a computer-readable storage medium. A processor of a computer device can read the computer program from a computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above method. Similarly, the contents of the above method embodiment are all applicable to the storage medium embodiment, and the functions specifically implemented by the storage medium embodiment are the same as those of the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.
[0106] An embodiment of the present invention further provides a computer-readable storage medium, which stores a program executable by a processor. The program executable by the processor is used to implement the above method when executed by the processor.
[0107] In addition, an embodiment of the present invention further provides a vehicle, which includes the above-mentioned system signal processing system or the electric drive assembly of the electronic device. Specifically, the vehicle can be a private car, such as a sedan, SUV, MPV or pickup truck. The vehicle can also be an operating vehicle, such as a van, bus, small truck or large trailer. The vehicle can be a gasoline vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle.
[0108] It is understood that all or some steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0109] The embodiments of the present invention provide a method for processing system signals, a system signal processing system, an electronic device and a storage medium. The method acquires an original signal generated in the system, analyzes the original signal and determines the signal type of the original signal; sends the acquired original signal to a corresponding target data processing module for corresponding processing according to the determined signal type to obtain information data after processing, and then sends the obtained processed information data to a target application, so that the target application corresponding to the interface receives and processes the sent information data; develops a processing system through a standard software architecture, in which the signal type of the original signal is determined, and sends the original signal to a corresponding data processing module for processing according to the signal type, and then sends the processed original signal to the application, so as to realize unified management and centralized processing of the original signal, develop a data processing module based on a standard architecture, improve the correlation between different modules, facilitate the collaborative work of different modules and improve the flexibility of the system; at the same time, through the unified management and centralized processing of the original signal, the processing flow of the application program for the original signal is simplified, thereby improving the system operation efficiency.
[0110] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A method for processing a system signal, characterized in that: The system signal processing system is developed based on a standard software architecture. The processing system includes several data processing modules. The method includes: Acquire an original signal, analyze the original signal, and determine a signal type of the original signal; Sending the original signal to a target data processing module for processing according to the signal type to obtain processed information data; The processed information data is sent to a target application so that the target application processes the processed information data.
2. The processing method according to claim 1, characterized in that: The signal type includes a first type, a second type and a third type, and sending the original signal to a target data processing module for processing according to the signal type to obtain processed information data specifically includes: If the signal type is the first type, the original signal is sent to a first data processing module, and the first data processing module performs a first operation on the original signal to obtain the processed information data; wherein the first type of signal includes a wake-up sleep signal, a storage signal or a diagnostic signal; If the signal type is the second type, the original signal is sent to a second data processing module, and the second data processing module performs a second operation on the original signal to obtain the processed information data; wherein the second type of signal includes a drive signal or a communication signal; If the signal type is the third type, the original signal is sent to a third data processing module, and the third data processing module performs a third operation on the original signal to obtain the processed information data; wherein the third type of signal includes a system status signal.
3. The processing method according to claim 2, characterized in that: The first data processing module performs a first operation on the original signal to obtain the processed information data, specifically including: Extracting data from the original signal to obtain first information; wherein the first information includes awakening and sleeping event information, storage data information, and fault abnormality information; The first information is encapsulated to obtain the processed information data.
4. The processing method according to claim 2, characterized in that: The second data processing module performs a second operation on the original signal to obtain the processed information data, specifically including: Extracting data from the original signal to obtain second information; wherein the second information includes driving information and communication information; The second information is preprocessed to obtain first standard data; the first standard data is encapsulated to obtain the processed information data.
5. The processing method according to claim 2, characterized in that: The third data processing module performs a third operation on the original signal to obtain the processed information data, specifically including: Identifying the original signal to obtain current state information of the original signal; The original signal is converted according to the current state information and the preset corresponding relationship to obtain the processed information data.
6. The processing method according to claim 5, characterized in that: The converting the original signal according to the current state information and the preset corresponding relationship to obtain the processed information data specifically includes: According to the current state information, the preset corresponding relationship is matched to obtain the target mark information and the corresponding data format; The target flag information is encapsulated according to the data format to obtain the processed information data.
7. A system signal processing system, characterized in that: include: The first module is used to obtain an original signal, analyze the original signal, and determine the signal type of the original signal; The second module is used to send the original signal to the target data processing module for processing according to the signal type to obtain processed information data; The third module is used to send the processed information data to the target application, so that the target application processes the processed information data.
8. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 6.
9. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 6 when executed by the processor.
10. A vehicle, characterized in that: The vehicle comprises the system of claim 7 or the electronic device of claim 8.
Citation Information
Patent Citations
System development method, device and equipment based on module decoupling
CN114115814A
Vehicle data processing method and device, vehicle and storage medium
CN118427260A