Information processing method and device, electronic equipment and vehicle

Through testing SOC status information and storing fault task logs, the problem of poor SOC's accompanying functions is solved, which makes it impossible to read task logs, and the ability to read fault task logs in the MCU is realized, improving the efficiency of fault repair.

CN118897769APending Publication Date: 2024-11-05BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310499419.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-05
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

When the system-on-chip (SOC) comes with poor functions, the interaction cannot be performed, resulting in the task log being unable to be read and failure analysis cannot be performed.

Method used

By testing the status information of the SOC, obtaining abnormal test item information, generating a fault task log, and storing it in the microcontroller unit (MCU), users can read the fault task log in the MCU and performing maintenance and processing in a timely manner.

Benefits of technology

When the SOC fails, it can intelligently determine whether the fault affects the reading of the task log, ensure that the user can read the fault task log from the MCU, speed up the progress of fault repair, and read the complete task log from the SOC after the fault is repaired. Conduct analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897769A_ABST
    Figure CN118897769A_ABST
Patent Text Reader

Abstract

The invention relates to an information processing method and device, electronic equipment and a vehicle, and relates to the technical field of information processing.The method comprises the steps that firstly, state information of an SOC is tested, and multiple pieces of first test item information are obtained; if it is judged that the task log cannot be read from the SOC according to the multiple pieces of first test item information, all pieces of abnormal first test item information are obtained from the multiple pieces of first test item information, and the task log stored in the SOC cannot be read through interactive operation corresponding to the abnormal first test item information; then generating a fault task log based on the information of each abnormal first test item; and the fault task log is stored in the MCU. According to the method and the device, when the SOC fails and the task logs stored in the SOC cannot be read, the corresponding fault task logs are stored in the MCU, so that a user can read the fault task logs from the MCU and perform fault maintenance processing in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to an information processing method, device, electronic equipment and vehicle. Background Art

[0002] The task log (LOG) is stored in the system on chip (SOC) of the vehicle computer. Currently, you can insert a USB flash drive first, and through interactive operations such as touching or clicking buttons on the vehicle computer screen, copy the task log information stored in the SOC to the USB flash drive for fault analysis.

[0003] However, if the functions attached to the SOC are malfunctioning, such as a malfunctioning car screen, malfunctioning buttons, or a malfunctioning Universal Serial Bus (USB) interface corresponding to the SOC, etc., interactive operations cannot be performed, and the task log in the SOC cannot be read, making it impossible to perform task log analysis. Summary of the invention

[0004] In view of this, the present application provides an information processing method, device, electronic device and vehicle, the main purpose of which is to improve the current existing information processing method. When the functions attached to the SOC are poor and interactive operations cannot be performed, the task log in the SOC cannot be read, resulting in a technical problem that the task log analysis cannot be performed.

[0005] In a first aspect, the present application provides an information processing method, comprising:

[0006] Testing the state information of the SOC to obtain a plurality of first test item information;

[0007] If it is determined that the task log cannot be read from the SOC based on the plurality of first test item information, obtaining each of the first test item information having an abnormality from the plurality of first test item information, wherein the interactive operation corresponding to the first test item information having an abnormality cannot read the task log stored in the SOC;

[0008] Generate a fault task log for each first test item with abnormality;

[0009] The fault task log is stored in the Microcontroller Unit (MCU).

[0010] In a second aspect, the present application provides an information processing device, including:

[0011] A test module is configured to test the state information of the SOC to obtain a plurality of first test item information;

[0012] an acquisition module configured to acquire each abnormal first test item information from the plurality of first test item information if it is determined that the task log cannot be read from the SOC according to the plurality of first test item information, wherein the interactive operation corresponding to the abnormal first test item information cannot read the task log stored in the SOC;

[0013] A generating module is configured to generate a fault task log based on the information of each first test item in which an exception occurs;

[0014] The storage module is configured to store the fault task log in the MCU.

[0015] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the information processing method described in the first aspect.

[0016] In a fourth aspect, the present disclosure provides an electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the information processing method described in the first aspect when executing the computer program.

[0017] In a fifth aspect, the present disclosure provides a vehicle, comprising: the device as described in the second aspect, or the electronic device as described in the fourth aspect.

[0018] By means of the above technical scheme, a data processing method, device, electronic device and vehicle, compared with the existing data processing method, the present application starts the switching storage mechanism when the SOC fails and the task log stored therein cannot be read. Specifically, the state information of the SOC is tested first to obtain multiple first test item information; if it is determined that the task log cannot be read from the SOC based on the multiple first test item information, then the first test item information with each abnormality is obtained from the multiple first test item information, wherein the interactive operation corresponding to the first test item information with the abnormality cannot read the task log stored in the SOC; then a fault task log is generated based on each first test item information with the abnormality; and then the fault task log is stored in the MCU. By applying the technical scheme of the present application, when the SOC fails, it can be intelligently judged whether the fault affects the reading of the task log stored therein. If the task log stored therein cannot be read, the corresponding fault task log of the SOC is stored in the MCU, so that the user can read the fault task log from the MCU and perform fault repair in time. After the fault is repaired, the complete task log can be read from the SOC for analysis. This method speeds up the progress of fault repair.

[0019] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0022] Figure 1 A schematic diagram showing a flow chart of an information processing method provided in an embodiment of the present application is shown;

[0023] Figure 2 A schematic diagram showing an arrangement of test items provided in an embodiment of the present application is shown;

[0024] Figure 3 A schematic diagram showing a flow chart of another information processing method provided in an embodiment of the present application is shown;

[0025] Figure 4 A structural block diagram of an application example provided by an embodiment of the present application is shown;

[0026] Figure 5 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0027] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0028] In order to improve the technical problem that the function of the SOC is poor, which makes it impossible to perform interactive operations, and then the task log in the SOC cannot be read out, so that the task log analysis cannot be performed, this embodiment provides an information processing method, such as Figure 1 As shown, the method includes:

[0029] Step 101: Test the state information of the SOC to obtain a plurality of first test item information.

[0030] SOC is a system-on-chip, also known as system on chip, which can be an integrated circuit with a dedicated purpose, containing all the contents of a complete system and embedded software. At the same time, it is a technology used to realize the entire process from determining the system function to software / hardware division and completing the design.

[0031] In the embodiment of the present application, SOC is a system-on-chip, which contains an SOC storage unit inside, which can be used to store task logs, and an external USB port, which can be used to read the task logs inside the SOC. The SOC is also connected to a wireless module, such as Bluetooth, WIFI, etc. These can be considered as incidental functions of the SOC.

[0032] In an embodiment of the present application, the status information of the SOC may include status information of the SOC's ancillary functions, such as screen status information, button status information, status information of the USB interface corresponding to the SOC, status information of the wireless module corresponding to the SOC, etc., which is not specifically limited here.

[0033] This embodiment tests the status information of the SOC to obtain relevant information of multiple test items, that is, multiple first test item information. These test items may include test items of different aspects related to the SOC, which may include relevant tests of the ancillary functions of the SOC, such as testing whether the USB interface corresponding to the SOC is defective; testing whether the car computer screen is defective; testing whether the control buttons corresponding to the SOC are defective, etc.

[0034] Step 102: If it is determined that the task log cannot be read from the SOC based on the plurality of first test item information, then each piece of first test item information having an abnormality is obtained from the plurality of first test item information.

[0035] Among them, the interactive operation corresponding to the first test item information with an abnormality cannot read the task log stored in the SOC. For example, the test item information of a bad screen, a bad button, a bad USB, etc., all of which will cause the user to be unable to perform the interactive operation of reading the task log from the SOC, and thus unable to read the task log from the SOC.

[0036] Step 103: Generate a fault task log based on the information of each first test item where an exception occurs.

[0037] The fault task log refers to the fault task log generated based on the first test item information where these abnormalities occur. Maintenance personnel can identify the content of the fault task log, obtain the cause of the SOC failure in a timely manner, and improve maintenance efficiency.

[0038] Step 104: Store the fault task log in the MCU.

[0039] MCU refers to a microcontroller unit, also known as a single chip microcomputer or a single chip microcomputer. It appropriately reduces the frequency and specifications of the central processing unit (CPU), and integrates peripheral interfaces such as memory, timer, USB, analog-to-digital conversion (A / D conversion), universal asynchronous receiver / transmitter (UART), programmable logic controller (PLC), direct memory access (DMA), and even LCD driver circuits on a single chip to form a chip-level computer, which can perform different combination controls for different applications. MCUs can be seen in mobile phones, PC peripherals, remote controls, automotive electronics, industrial stepper motors, and robot arm control.

[0040] In the embodiment of the present application, the MCU contains an MCU storage unit that can be used to store task logs. The MCU is connected to an external USB port that can be used to read the task logs inside the SOC. The MCU is also connected to a wireless module, such as Bluetooth, WIFI, etc.

[0041] For example, task logs are usually stored in the SOC of the vehicle computer. Currently, there are generally three ways for users to read task logs:

[0042] Method 1 is to insert a USB flash drive, and then copy the information of the SOC storage unit to the USB flash drive through interactive operations such as the screen or buttons; Method 2 is to copy the information of the SOC storage unit to the computer through the Android Debug Bridge (ADB) command; Method 3 is to store the task log to the cloud wirelessly.

[0043] However, during production testing and actual use, it is inevitable that some of the SOC functions of the car computer will be malfunctioning, such as a bad screen, bad buttons, bad USB, or bad wireless, which will result in the inability to export the system's task logs, affecting fault analysis.

[0044] In an embodiment of the present application, when a fault occurs in the SOC, it is possible to intelligently determine whether the fault affects the reading of the task log stored therein. If the task log stored therein cannot be read, the corresponding fault task log is stored in the MCU, so that the user can read the fault task log from the MCU, perform fault repair processing in a timely manner, and speed up the progress of fault repair.

[0045] In the embodiment of the present application, if the SOC is tested and there is test item information that affects the reading of the stored task log by the SOC among the multiple first test item information obtained, a blacklist of test items is established according to the impact of the failure of the test item on the storage of the task log. For example, if the screen is not bright, the task log cannot be read by operating the touch screen, or the USB is faulty and the task log cannot be read through the USB flash drive. When a fault occurs that affects the storage of the task log, the startup process is started, such as Figure 2 shown.

[0046] Compared with the current existing technology, by applying the technical solution of this embodiment, when a fault occurs in the SOC, it is possible to intelligently determine whether the fault affects the reading of the task log stored therein. If the task log stored therein cannot be read, the corresponding fault task log of the SOC is stored in the MCU, so that the user can read the fault task log from the MCU and perform fault repair processing in time. After the fault is repaired, the complete task log can be read from the SOC for analysis. This method speeds up the progress of fault repair.

[0047] Further, as a refinement and extension of the above embodiment, in order to fully illustrate the specific implementation process of the method of the embodiment of the present application, the embodiment of the present application provides the following Figure 3 The specific method shown includes:

[0048] Step 201: Test the state information of the SOC to obtain a plurality of first test item information.

[0049] Exemplarily, a task log is input into the SOC, the SOC is tested, and a test result of the SOC is obtained, including a plurality of test information of the accompanying functions of the SOC.

[0050] Step 202: If it is determined that the task log cannot be read from the SOC based on the plurality of first test item information, each abnormal first test item information is obtained from the plurality of first test item information.

[0051] Among them, the interactive operation corresponding to the first test item information where the exception occurs cannot read the task log stored in the SOC.

[0052] Exemplarily, based on step 201, the multiple first test item information of the obtained SOC is analyzed. If it is determined based on the multiple first test item information whether the SOC can read the input task log normally, if it cannot be read normally, then the abnormal first test item information that affects the reading of the input task log is obtained from the multiple first test items.

[0053] If it is determined according to the plurality of first test item information that the SOC can read the input task log normally, the input task log is read in the SOC.

[0054] Step 203: Generate a fault task log based on the information of each first test item in which an exception occurs.

[0055] Optionally, step 203 may specifically include: arranging the priority of each first test item information with abnormalities; selecting a preset number of first test item information with abnormalities in order of priority from high to low for compression processing to obtain a fault task log. In this way, storage space can be saved, especially for the storage space of the MCU, so that the fault task log containing the test item information with higher priority (the first test item information with abnormalities) can be stored as much as possible in the limited storage space of the MCU.

[0056] Priority arrangement may refer to arranging the obtained abnormal test items according to the severity of the impact of the abnormality occurring in the test items.

[0057] The preset number means that if multiple abnormal test items are obtained, due to the small memory of the MCU, it is necessary to compress the multiple first test item information with abnormalities obtained. Specifically, it is preset the number of first test item information with abnormalities that are finally obtained, and compress all the first test item information with abnormalities according to the preset number.

[0058] In some examples, based on step 202, the first test item information of the exception is obtained. If the number of the first test item information of the exception is one, a corresponding fault task log is generated for the test item with the exception; if the number of the first test item information of the exception is multiple, the multiple pieces of the obtained test item information with the exception are prioritized, and a preset number of multiple pieces of the test item information with the exception are selected for compression processing in order of priority from high to low.

[0059] Step 204a: If it is determined that the task log can be read from the MCU based on the information of the plurality of second test items, the faulty task log is stored in the MCU.

[0060] In some examples, before step 204, the method of this embodiment further includes: testing the state information of the MCU to obtain a plurality of second test item information, such as Figure 2 shown.

[0061] The status information of the MCU refers to the status information of the functions attached to the MCU, for example, the status information of the USB interface corresponding to the MCU, the status information of the wireless module corresponding to the MCU, etc., which is not specifically limited here.

[0062] This embodiment tests the status information of the MCU to obtain relevant information of multiple test items, that is, multiple second test item information. These test items may include test items of different aspects related to the MCU, which may include related tests of the MCU's accompanying functions, such as testing whether the USB interface corresponding to the MCU is defective; testing whether the car computer screen is defective; testing whether the control buttons corresponding to the MCU are defective, etc.

[0063] Optionally, the MCU is tested to obtain the test results of the MCU, including multiple test information of the MCU's additional functions, and the multiple second test item information of the obtained MCU is analyzed, and it is determined whether the MCU can read the input task log normally based on the multiple second test item information. If it can be read normally, the fault task log obtained in step 203 is stored in the MCU. By applying the technical solution of this embodiment, when a fault occurs in the SOC, it can be intelligently determined whether the fault affects the reading of the task log stored therein. If the task log stored therein cannot be read, the corresponding fault task log of the SOC is stored in the MCU, so that the user can read the fault task log from the MCU, perform fault repair processing in time, and read the complete task log from the SOC for analysis after the fault is repaired. This method speeds up the progress of fault repair.

[0064] In step 204b, which is parallel to step 204a, if it is determined that the task log cannot be read from the MCU based on the information of the plurality of second test items, the task log in the SOC is stored in the public storage unit.

[0065] The task log in the SOC includes the fault task log obtained in step 203. The public storage unit may be a chip, or a storage hard disk, etc.

[0066] In the embodiment of the present application, the public storage unit is used to store the task log when both the SOC and the MCU fail and the task log cannot be read, so that the user can get the required task log content in time when both the SOC and the MCU fail. And the storage space of the public storage unit can be pre-set to be large to accommodate all the task logs in the SOC.

[0067] This embodiment establishes a common task log storage unit. When the function of SOC or MCU affects the storage of task logs, the task log storage mechanism is automatically started. It can automatically determine whether the fault affects the reading of task logs. The system will automatically adopt a strategy based on the influencing factors of the fault and place the task log in a pre-set location to facilitate the location and analysis of the fault problem.

[0068] Optionally, the common storage unit also stores a task log of the MCU, and the task log of the MCU includes information of a plurality of second test items, so that maintenance personnel can understand the fault information of the MCU and perform maintenance on the relevant faults of the MCU in a timely manner.

[0069] Optionally, step 204b further includes: if the task log in the SOC is stored in the public storage unit, outputting second indication information, where the second indication information is used to indicate that the task log in the SOC is stored in the public storage unit.

[0070] In some embodiments, the method of this embodiment further includes: if the fault task log is stored in the MCU, outputting first indication information; if the task log in the SOC is stored in the public storage unit, outputting second indication information.

[0071] The first indication information is used to indicate that the fault task log is stored in the MCU; the second indication information is used to indicate that the task log in the SOC is stored in the public storage unit.

[0072] For example, the first indication information may be the indication module display state 2, which is used to indicate that the fault task log is stored in the MCU; the second indication information may be the indication module display state 3, which is used to indicate that the task log in the SOC is stored in the public storage unit.

[0073] Optionally, when the indication module displays status 1, it is used to display that the task logs are stored in the SOC, and these task logs can be read normally from the SOC.

[0074] Exemplarily, based on step 204b, if it is determined based on multiple first test item information that the task log can be read from the SOC, the indication module displays state 1, and the maintenance personnel can read the task log in the SOC based on the display state 1, such as by inserting a USB flash drive, etc.; if the task log cannot be read from the SOC, and it is determined based on multiple second test item information that the task log can be read normally from the MCU, the SOC-related fault task log is stored in the MCU, the indication module displays state 2, and the maintenance personnel read the fault task log from the MCU based on the display state 2, and then understand the information that the accompanying function of the SOC has a fault, and then repair it in time. After the fault is repaired, the complete task log can be read from the SOC for analysis; if it is determined based on multiple second test item information that the task log cannot be read from the MCU, the task log in the SOC is stored in the public storage unit, and the public storage unit can also store the task log in the MCU, etc., the indication module displays indication state 3, and the maintenance personnel can read the task log in the SOC from the public storage unit based on the display state 3. Through the indication status 1, 2, 3, the user can clearly understand where to read the task log content, thereby improving maintenance efficiency.

[0075] Compared with the current existing technology, when a SOC fails, this embodiment can intelligently determine whether the failure affects the reading of the task log stored therein. If the task log stored therein cannot be read, the corresponding task log is stored in the MCU or the public storage unit, so that the user can read the task log from the MCU or the public storage unit, perform fault repair processing in time, and speed up the progress of fault repair.

[0076] Further, in order to fully illustrate the specific implementation process of the method of this embodiment, this embodiment provides the following examples, but is not limited thereto: Figure 4 The following is a structural block diagram of an example.

[0077] Test the status information of SOC and MCU respectively, and then test the additional functions of SOC and MCU respectively. According to the impact of the failure of the test item on the task log storage, establish a blacklist of test items. For example, if the screen is not bright, the task log cannot be read by operating the touch screen, or the USB is bad, the task log cannot be read through the USB flash drive. When a fault occurs that affects the task log storage, start the startup process.

[0078] When the system works normally, the entire task log is stored in the SOC storage unit through the public bus 1 to define a task log storage partition, the indication module displays status 1, and the task log reads the information in the SOC storage unit task log partition through normal channels.

[0079] When a SOC failure is detected and the task log cannot be read, the SOC compresses the bad test items into the task log, and then stores them in the MCU storage unit through the common bus 1, the indicator module displays status 2, and the task log is read out through the external interface of the MCU.

[0080] In general, the storage unit of MCU is relatively small. If there are many faulty phenomena in SOC, only high-priority fault task logs will be stored according to the priority in the fault list. If the maintenance personnel repair the fault and the fault is restored after retesting, the SOC will issue a command to clear the corresponding task log information from the storage space of MCU. The overall task log will still exist in the designated storage partition of SOC.

[0081] When it is detected that both the SOC and MCU have failed and the task log cannot be read, the task log is stored in the public storage unit, and the indicator module displays status 3. The public storage unit chip can be removed and then placed in other normal vehicle computers or dedicated equipment to import into the computer.

[0082] Compared with the current existing technology, when a SOC fails, this embodiment can intelligently determine whether the fault affects the reading of the task log stored therein. If the task log stored therein cannot be read, the corresponding fault task log is stored in the MCU or the public storage unit, so that the user can read the fault task log from the MCU or the public storage unit, perform fault repair processing in time, and speed up the progress of fault repair.

[0083] Further, as Figure 1 and Figure 2 The specific implementation of the method shown in this embodiment provides an information processing device, such as Figure 5 As shown, the device includes: a testing module 31, an acquisition module 32, a generation module 33, and a storage module 34.

[0084] The testing module 31 is configured to test the state information of the SOC to obtain a plurality of first test item information;

[0085] The acquisition module 32 is configured to acquire each abnormal first test item information from the plurality of first test item information if it is determined that the task log cannot be read from the SOC according to the plurality of first test item information, wherein the interactive operation corresponding to the abnormal first test item information cannot read the task log stored in the SOC;

[0086] A generating module 33 is configured to generate a fault task log based on each of the first test item information where an exception occurs;

[0087] The storage module 34 is configured to store the fault task log in the MCU.

[0088] In a specific application scenario, the test module 31 is further configured to test the status information of the MCU to obtain a plurality of second test item information.

[0089] Correspondingly, the storage module 34 is specifically configured to store the faulty task log in the MCU if it is determined that the task log can be read from the MCU based on the multiple second test item information; and to store the task log in the SOC in a common storage unit if it is determined that the task log cannot be read from the MCU based on the multiple second test item information, wherein the task log in the SOC includes the faulty task log.

[0090] In a specific application scenario, the storage module 34 is further configured to output first indication information if the fault task log is stored in the MCU, wherein the first indication information is used to indicate that the fault task log is stored in the MCU.

[0091] In a specific application scenario, the common storage unit also stores the task log of the MCU, and the task log of the MCU includes the plurality of second test item information.

[0092] In a specific application scenario, the storage module 34 is specifically configured to output second indication information if the task log in the SOC is stored in the public storage unit, wherein the second indication information is used to indicate that the task log in the SOC is stored in the public storage unit.

[0093] In a specific application scenario, the generation module 33 is further configured to prioritize the first test item information where each exception occurs; select a preset number of the first test item information where the exception occurs in order of the priority from high to low for compression processing to obtain the fault task log.

[0094] It should be noted that for other corresponding descriptions of the functional units involved in the information processing device provided in this embodiment, please refer to Figure 1 and Figure 3 The corresponding description in will not be repeated here.

[0095] Based on the above Figure 1 and Figure 3 The method shown in the figure, accordingly, the embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned Figure 1 and Figure 3 The method shown.

[0096] Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various implementation scenarios of the present disclosure.

[0097] Based on the above Figure 1 and Figure 3 The method shown, and Figure 5 In order to achieve the above-mentioned purpose, the embodiment of the present disclosure also provides an electronic device, which can be configured on a computer terminal, etc. The device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 1 and Figure 3 The method shown.

[0098] In some embodiments, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may include a standard wired interface, a wireless interface (such as a WI-FI interface), etc. in some embodiments.

[0099] Those skilled in the art will appreciate that the above-mentioned physical device structure provided in the embodiments of the present disclosure does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.

[0100] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.

[0101] Based on the above electronic device, the embodiment of the present disclosure further provides a vehicle, which may specifically include: Figure 5 The device shown in the figure or the electronic device as described above. The vehicle can be a new energy vehicle or a traditional vehicle.

[0102] Through the description of the above disclosed implementation methods, those skilled in the art can clearly understand that the present disclosure can be implemented by means of software plus the necessary general hardware platform, or by hardware. By applying the solution of the disclosed embodiment, in the process of information processing, a common task log storage unit is set up, and the storage of the task log is automatically started when the function of the SOC or MCU affects the storage of the task log. It can automatically determine whether the fault affects the reading of the task log. The system will automatically adopt a strategy based on the influencing factors of the fault and place the task log in a pre-set position to facilitate the location and analysis of the fault problem.

[0103] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0104] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features applied herein.

Claims

1. An information processing method, characterized in that: include: Testing the status information of the system-on-chip (SOC) to obtain a plurality of first test item information; If it is determined that the task log cannot be read from the SOC according to the plurality of first test item information, obtaining each abnormal first test item information from the plurality of first test item information, wherein the interactive operation corresponding to the abnormal first test item information cannot read the task log stored in the SOC; Generate a fault task log based on the first test item information where each of the abnormalities occurs; The fault task log is stored in the microcontroller unit MCU.

2. The method according to claim 1, characterized in that Before storing the fault task log in the MCU, the method further includes: Testing the status information of the MCU to obtain a plurality of second test item information; The storing the fault task log in the MCU includes: If it is determined that the task log can be read from the MCU based on the plurality of second test item information, the faulty task log is stored in the MCU.

3. The method according to claim 2, characterized in that The method further comprises: If the fault task log is stored in the MCU, first indication information is output, where the first indication information is used to indicate that the fault task log is stored in the MCU.

4. The method according to claim 2, characterized in that: The method further comprises: If it is determined that the task log cannot be read from the MCU based on the plurality of second test item information, the task log in the SOC is stored in a common storage unit, wherein the task log in the SOC includes the fault task log.

5. The method according to claim 4, characterized in that The public storage unit also stores the task log of the MCU, and the task log of the MCU includes the plurality of second test item information.

6. The method according to claim 4 or 5, characterized in that: The method further comprises: If the task log in the SOC is stored in the public storage unit, second indication information is output, where the second indication information is used to indicate that the task log in the SOC is stored in the public storage unit.

7. The method according to claim 1, characterized in that The generating of the fault task log based on the first test item information of each abnormality includes: Prioritize each of the first test item information in which the abnormality occurs; According to the order of the priorities from high to low, a preset number of the first test item information with abnormalities are selected for compression processing to obtain the fault task log.

8. An information processing device, characterized in that: include: A test module is configured to test the state information of the SOC to obtain a plurality of first test item information; an acquisition module, configured to acquire each abnormal first test item information from the plurality of first test item information if it is determined that the task log cannot be read from the SOC according to the plurality of first test item information, wherein the interactive operation corresponding to the abnormal first test item information cannot read the task log stored in the SOC; A generating module is configured to generate a fault task log based on each of the first test item information in which the exception occurs; The storage module is configured to store the fault task log in the micro control unit MCU.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

11. A vehicle, characterized in that: include: The device as claimed in claim 8 or the electronic device as claimed in claim 10.