CN117032178A - OTA mode test method, OTA mode test device, terminal and storage medium - Google Patents

OTA mode test method, OTA mode test device, terminal and storage medium Download PDF

Info

Publication number
CN117032178A
CN117032178A CN202311090776.2A CN202311090776A CN117032178A CN 117032178 A CN117032178 A CN 117032178A CN 202311090776 A CN202311090776 A CN 202311090776A CN 117032178 A CN117032178 A CN 117032178A
Authority
CN
China
Prior art keywords
ota
tested vehicle
vehicle
remote control
control message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311090776.2A
Other languages
Chinese (zh)
Inventor
赵伟博
谷原野
王邵龙
赵跃
姬楠
张万友
张鹏
陆昊楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Bestune Car Co Ltd
Original Assignee
FAW Bestune Car Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Bestune Car Co Ltd filed Critical FAW Bestune Car Co Ltd
Priority to CN202311090776.2A priority Critical patent/CN117032178A/en
Publication of CN117032178A publication Critical patent/CN117032178A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application discloses an OTA mode test method, a device, a terminal and a storage medium, which belong to the technical field of vehicle OTA test, wherein the application matches a plurality of controllers of a tested vehicle through a three-level security algorithm, obtains SK key codes and sequence numbers of the tested vehicle, and obtains OTA power-on mode remote control messages and whole vehicle power-off remote control messages through a remote control message encryption algorithm according to the SK key codes and the sequence numbers of the tested vehicle; the OTA power-on mode remote control message and the whole vehicle power-off remote control message are respectively sent to the vehicle body control module of the tested vehicle, and then the consistency of the functional performance of a plurality of controllers of the tested vehicle and the defined state of the functional specification is verified to be stored to generate a test report, the OTA of a full link is not needed, the test difficulty of the OTA mode test work is reduced, the manpower is greatly saved, the time can be fully utilized, the control test process is better, and the research and development period is shortened.

Description

OTA mode test method, OTA mode test device, terminal and storage medium
Technical Field
The application discloses an OTA mode test method, an OTA mode test device, a terminal and a storage medium, and belongs to the technical field of vehicle OTA test.
Background
Along with the rapid development of intelligent network automobiles, a plurality of on-sale vehicles at home and abroad now have multifunctional intelligent network and driving auxiliary systems, the software on the automobile is updated more and faster, and the traditional vehicle software upgrading mode can not meet the current vehicle upgrading requirements, so that the OTA upgrading technology is more and more important in the current automobile market. However, with the application of the protection of the OTA technology, in order to ensure that the software on the vehicle can be upgraded normally, we need to perform the OTA test on the software. In the development process of a new vehicle type, the OTA full link test involves a plurality of professions, the development progress is uneven, the OTA full link in the existing scheme starts to carry out the whole vehicle OTA test after the OTA full link is developed, a long development period is required, and the full link test can make the test work of the vehicle OTA mode very tedious and the test time is long.
Disclosure of Invention
Aiming at the defects of the prior art, the application provides an OTA mode testing method, an OTA mode testing device, a terminal and a storage medium, and solves the problems that in the existing OTA testing method, the OTA mode testing work is prolonged in OTA development period, testing steps are complex and testing time is long.
The technical scheme of the application is as follows:
according to a first aspect of an embodiment of the present application, there is provided an OTA mode test method, including:
responding to a test program, matching a plurality of controllers of a tested vehicle through a three-level security algorithm, acquiring an SK key code and a sequence number of the tested vehicle, and acquiring an OTA power-on mode remote control message and a whole vehicle power-off remote control message through a remote control message encryption algorithm according to the SK key code and the sequence number of the tested vehicle;
transmitting the OTA power-on mode remote control message to a body control module of a tested vehicle, verifying the consistency of the function performance of a plurality of controllers of the tested vehicle and the function specification definition performance, and storing the consistency;
the power-off remote control message of the whole vehicle is sent to a body control module or a program of a tested vehicle, the power-off remote control message is controlled by a hard wire to be restarted, and consistency of a plurality of controller function states of the tested vehicle and a function specification definition state of an exit OTA mode is verified and stored;
and generating a test report through the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state and the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state exiting the OTA mode.
Preferably, verifying and saving the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state further comprises: and sending a diagnosis command for prohibiting communication to a plurality of controllers of the tested vehicle.
According to a second aspect of an embodiment of the present application, there is provided an OTA mode test device, including:
the remote control message module is used for responding to a test program, matching a plurality of controllers of the tested vehicle through a three-level security algorithm, acquiring an SK key code and a sequence number of the tested vehicle, and obtaining an OTA power-on mode remote control message and a whole vehicle power-off remote control message through a remote control message encryption algorithm according to the SK key code and the sequence number of the tested vehicle;
an OTA mode entering module is used for transmitting the OTA power-on mode remote control message to a body control module of a tested vehicle, verifying the consistency of the function states of a plurality of controllers of the tested vehicle and the function specification definition state and storing the consistency;
the OTA mode exiting module is used for sending the whole vehicle power-down remote control message to a vehicle body control module or a program of the tested vehicle, restarting the vehicle after the power-down remote control message is controlled by a hard wire, verifying the consistency of the function states of a plurality of controllers of the tested vehicle and the function specification definition state of the OTA mode exiting module and storing the consistency;
and the test report module is used for generating a test report through the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state and the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state exiting the OTA mode.
Preferably, the entering OTA mode module is further configured to:
verifying and storing the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state, and further comprising the following steps: and sending a diagnosis command for prohibiting communication to a plurality of controllers of the tested vehicle.
According to a third aspect of an embodiment of the present application, there is provided a terminal including:
one or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
the method according to the first aspect of the embodiment of the application is performed.
According to a fourth aspect of embodiments of the present application, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a terminal, enables the terminal to perform the method according to the first aspect of embodiments of the present application.
According to a fifth aspect of embodiments of the present application, there is provided an application program product for causing a terminal to carry out the method according to the first aspect of embodiments of the present application when the application program product is run at the terminal.
The application has the beneficial effects that:
the application provides an OTA mode test method, a device, a terminal and a storage medium, wherein a plurality of controllers of a tested vehicle are matched through a three-level security algorithm, SK key codes and sequence numbers of the tested vehicle are obtained, and an OTA power-on mode remote control message and a whole vehicle power-off remote control message are obtained through a remote control message encryption algorithm according to the SK key codes and the sequence numbers of the tested vehicle; the OTA power-on mode remote control message and the whole vehicle power-off remote control message are respectively sent to the vehicle body control module of the tested vehicle, and then the consistency of the functional performance of a plurality of controllers of the tested vehicle and the defined state of the functional specification is verified to be stored to generate a test report, the OTA of a full link is not needed, the test difficulty of the OTA mode test work is reduced, the manpower is greatly saved, the time can be fully utilized, the control test process is better, and the research and development period is shortened.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
Fig. 1 is a flow chart illustrating a method of OTA mode testing according to one exemplary embodiment.
Fig. 2 is a schematic block diagram illustrating a structure of an OTA mode test device according to one exemplary embodiment.
Fig. 3 is a schematic block diagram of a terminal structure according to an exemplary embodiment.
Detailed Description
The following description of the embodiments of the present application will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the application are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
The embodiment of the application provides an OTA mode testing method, which is realized by a terminal, wherein the terminal can be a desktop computer or a notebook computer and the like, and at least comprises a CPU and the like.
Example 1
Fig. 1 is a diagram illustrating an OTA mode test method according to one exemplary embodiment, including:
step 101, responding to a test program, matching a plurality of controllers of a tested vehicle through a three-level security algorithm, acquiring an SK key code and a sequence number of the tested vehicle, and obtaining an OTA power-on mode remote control message and a whole vehicle power-off remote control message through a remote control message encryption algorithm according to the SK key code and the sequence number of the tested vehicle, wherein the specific contents are as follows:
firstly, before responding to a test program, a terminal is connected with CANoe hardware, a tested vehicle is connected with the CANoe hardware, and it is required to explain that equipment for connecting the terminal and the tested vehicle is not only of the CANoe, but also other tools are in a protection range. And then responding to the test program, and matching a plurality of controllers of the tested vehicle through a three-level safety algorithm, wherein the controller at least comprises: the method comprises the steps of simultaneously obtaining SK key codes and sequence numbers of a tested vehicle by controllers such as a gateway, a TBOX remote communication terminal, a BCM body control module, an EMS engine management system, a TCU automatic transmission adjusting system and the like, and obtaining OTA power-on mode remote control messages and whole vehicle power-off remote control messages through a remote control message encryption algorithm according to the SK key codes and the sequence numbers of the tested vehicle.
Step 102, sending the OTA power-on mode remote control message to a body control module of the tested vehicle, and verifying the consistency of the function performance of the plurality of controllers of the tested vehicle and the function specification definition performance, wherein the specific contents are as follows:
and sending the remote control message of the OTA power-on mode to a body control module of the tested vehicle, and controlling the whole vehicle to enter the OTA power-on mode after the BCM body control module receives the remote control message. And verifying the consistency of the function performances of the plurality of controllers of the tested vehicle and the function specification definition performance, and storing.
Another implementation of this embodiment is: firstly, after sending diagnosis commands for prohibiting communication to a plurality of controllers of a tested vehicle, verifying and storing consistency of the function performance of the plurality of controllers of the tested vehicle and the function specification definition performance.
Step 103, sending the power-down remote control message of the whole vehicle to a body control module or a program of the tested vehicle, controlling the power-down remote control message to be powered off and then restarting through a hard wire, verifying the consistency of the function states of a plurality of controllers of the tested vehicle and the function specification definition state of the exiting OTA mode, and storing the consistency, wherein the specific contents are as follows:
and sending a complete vehicle power-down remote control message to a vehicle body control module program of the tested vehicle, controlling normal power-off and restarting through a hard wire, controlling the complete vehicle to exit an OTA mode or controlling normal power-off of the vehicle after the BCM vehicle body control module receives the remote control message, verifying the consistency of the function states of a plurality of controllers of the tested vehicle and the function specification definition states of the exiting OTA mode, and storing.
And 104, generating a test report through the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state and the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state exiting the OTA mode.
Example two
Fig. 2 is a schematic block diagram illustrating a structure of an OTA mode test apparatus according to one exemplary embodiment, the apparatus comprising:
the remote control message module 210 is configured to respond to a test program, match a plurality of controllers of a tested vehicle through a three-level security algorithm, obtain an SK key code and a sequence number of the tested vehicle, and obtain an OTA power-on mode remote control message and a whole vehicle power-off remote control message through a remote control message encryption algorithm according to the SK key code and the sequence number of the tested vehicle;
an OTA mode entering module 220, configured to send the OTA power-on mode remote control message to a body control module of a vehicle under test, verify consistency of a plurality of controller function states of the vehicle under test with a function specification definition state, and store the consistency;
the exit OTA mode module 230 is configured to send the entire vehicle power-down remote control message to a vehicle body control module or a program of the tested vehicle, restart the vehicle after power failure by hard wire control, verify consistency of a plurality of controller function states of the tested vehicle and an exit OTA mode function specification definition state, and store the consistency;
and the test report module 240 is configured to generate a test report according to the consistency of the plurality of controller function states of the tested vehicle and the function specification definition state and the consistency of the plurality of controller function states of the tested vehicle and the exit OTA mode function specification definition state.
Preferably, the OTA mode entering module 220 is further configured to:
verifying and storing the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state, and further comprising the following steps: and sending a diagnosis command for prohibiting communication to a plurality of controllers of the tested vehicle.
According to the application, a plurality of controllers of a tested vehicle are matched through a three-level security algorithm, SK key codes and sequence numbers of the tested vehicle are obtained, and an OTA power-on mode remote control message and a whole vehicle power-off remote control message are obtained through a remote control message encryption algorithm according to the SK key codes and the sequence numbers of the tested vehicle; the OTA power-on mode remote control message and the whole vehicle power-off remote control message are respectively sent to the vehicle body control module of the tested vehicle, and then the consistency of the functional performance of a plurality of controllers of the tested vehicle and the defined state of the functional specification is verified to be stored to generate a test report, the OTA of a full link is not needed, the test difficulty of the OTA mode test work is reduced, the manpower is greatly saved, the time can be fully utilized, the control test process is better, and the research and development period is shortened.
Example III
Fig. 3 is a block diagram of a terminal according to an embodiment of the present application, and the terminal may be a terminal according to the above embodiment. The terminal 300 may be a portable mobile terminal such as: smart phone, tablet computer. The terminal 300 may also be referred to by other names of user equipment, portable terminals, etc.
In general, the terminal 300 includes: a processor 301 and a memory 302.
Processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 301 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 301 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 301 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 301 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 302 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement an OTA mode test method provided in the present application.
In some embodiments, the terminal 300 may further optionally include: a peripheral interface 303, and at least one peripheral. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, touch screen 305, camera 306, audio circuitry 307, positioning component 308, and power supply 309.
The peripheral interface 303 may be used to connect at least one Input/Output (I/O) related peripheral to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and peripheral interface 303 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 301, the memory 302, and the peripheral interface 303 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 304 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 304 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 304 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 304 may also include NFC (Near Field Communication ) related circuitry, which is not limiting of the application.
The touch display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch screen 305 also has the ability to collect touch signals at or above the surface of the touch screen 305. The touch signal may be input as a control signal to the processor 301 for processing. The touch screen 305 is used to provide virtual buttons and/or virtual keyboards, also known as soft buttons and/or soft keyboards. In some embodiments, the touch display 305 may be one, providing a front panel of the terminal 300; in other embodiments, the touch display 305 may be at least two, respectively disposed on different surfaces of the terminal 300 or in a folded design; in still other embodiments, the touch display 305 may be a flexible display disposed on a curved surface or a folded surface of the terminal 300. Even more, the touch display screen 305 may be arranged in an irregular pattern that is not rectangular, i.e., a shaped screen. The touch display 305 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 306 is used to capture images or video. Optionally, the camera assembly 306 includes a front camera and a rear camera. In general, a front camera is used for realizing video call or self-photographing, and a rear camera is used for realizing photographing of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and the rear cameras are any one of a main camera, a depth camera and a wide-angle camera, so as to realize fusion of the main camera and the depth camera to realize a background blurring function, and fusion of the main camera and the wide-angle camera to realize a panoramic shooting function and a Virtual Reality (VR) shooting function. In some embodiments, camera assembly 306 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
Audio circuitry 307 is used to provide an audio interface between the user and terminal 300. The audio circuit 307 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 301 for processing, or inputting the electric signals to the radio frequency circuit 304 for voice communication. For the purpose of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the terminal 300. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 301 or the radio frequency circuit 304 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 307 may also include a headphone jack.
The location component 308 is used to locate the current geographic location of the terminal 300 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 308 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, or the Galileo system of Russia.
The power supply 309 is used to power the various components in the terminal 300. The power source 309 may be alternating current, direct current, disposable or rechargeable. When the power source 309 comprises a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 300 further includes one or more sensors 310. The one or more sensors 310 include, but are not limited to: acceleration sensor 311, gyroscope sensor 312, pressure sensor 313, fingerprint sensor 314, optical sensor 315, and proximity sensor 316.
The acceleration sensor 311 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 300. For example, the acceleration sensor 311 may be used to detect components of gravitational acceleration on three coordinate axes. The processor 301 may control the touch display screen 305 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal acquired by the acceleration sensor 311. The acceleration sensor 311 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 312 may detect a body direction and a rotation angle of the terminal 300, and the gyro sensor 312 may collect 3D (three-dimensional) motion of the user to the terminal 300 in cooperation with the acceleration sensor 311. The processor 301 may implement the following functions according to the data collected by the gyro sensor 312: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 313 may be disposed at a side frame of the terminal 300 and/or at a lower layer of the touch screen 305. When the pressure sensor 313 is provided at the side frame of the terminal 300, a grip signal of the terminal 300 by a user may be detected, and left-right hand recognition or shortcut operation may be performed according to the grip signal. When the pressure sensor 313 is disposed at the lower layer of the touch screen 305, control of the operability control on the UI interface can be achieved according to the pressure operation of the user on the touch screen 305. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 314 is used to collect a fingerprint of a user to identify the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 301 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 314 may be provided on the front, back or side of the terminal 300. When a physical key or a manufacturer Logo is provided on the terminal 300, the fingerprint sensor 314 may be integrated with the physical key or the manufacturer Logo.
The optical sensor 315 is used to collect the ambient light intensity. In one embodiment, processor 301 may control the display brightness of touch screen 305 based on the intensity of ambient light collected by optical sensor 315. Specifically, when the intensity of the ambient light is high, the display brightness of the touch display screen 305 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 305 is turned down. In another embodiment, the processor 301 may also dynamically adjust the shooting parameters of the camera assembly 306 according to the ambient light intensity collected by the optical sensor 315.
A proximity sensor 316, also referred to as a distance sensor, is typically disposed on the front face of the terminal 300. The proximity sensor 316 is used to collect the distance between the user and the front of the terminal 300. In one embodiment, when the proximity sensor 316 detects a gradual decrease in the distance between the user and the front face of the terminal 300, the processor 301 controls the touch screen 305 to switch from the on-screen state to the off-screen state; when the proximity sensor 316 detects that the distance between the user and the front surface of the terminal 300 gradually increases, the processor 301 controls the touch display screen 305 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 3 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
Example IV
In an exemplary embodiment, there is also provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements an OTA mode test method as provided by all inventive embodiments of the present application.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Example five
In an exemplary embodiment, an application product is also provided that includes one or more instructions executable by the processor 301 of the above apparatus to perform an OTA mode test method as described above.
Although embodiments of the application have been disclosed above, they are not limited to the use listed in the specification and embodiments. It can be applied to various fields suitable for the present application. Additional modifications will readily occur to those skilled in the art. Therefore, the application is not to be limited to the specific details and illustrations shown and described herein, without departing from the general concepts defined in the claims and their equivalents.

Claims (6)

1. An OTA mode test method, comprising:
responding to a test program, matching a plurality of controllers of a tested vehicle through a three-level security algorithm, acquiring an SK key code and a sequence number of the tested vehicle, and acquiring an OTA power-on mode remote control message and a whole vehicle power-off remote control message through a remote control message encryption algorithm according to the SK key code and the sequence number of the tested vehicle;
the OTA power-on mode remote control message is sent to a body control module of a tested vehicle, and then consistency of function performance and function specification definition performance of a plurality of controllers of the tested vehicle is verified and stored;
the power-off remote control message of the whole vehicle is sent to a body control module or a program of a tested vehicle, the power-off remote control message is controlled by a hard wire to be restarted, and consistency of a plurality of controller function states of the tested vehicle and a function specification definition state of an exit OTA mode is verified and stored;
and generating a test report through the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state and the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state exiting the OTA mode.
2. The OTA mode test method of claim 1 wherein verifying the consistency of the plurality of controller function states and function specification definition states of the vehicle under test and saving further comprises, before: and sending a diagnosis command for prohibiting communication to a plurality of controllers of the tested vehicle.
3. An OTA mode test device, comprising:
the remote control message module is used for responding to a test program, matching a plurality of controllers of the tested vehicle through a three-level security algorithm, acquiring an SK key code and a sequence number of the tested vehicle, and obtaining an OTA power-on mode remote control message and a whole vehicle power-off remote control message through a remote control message encryption algorithm according to the SK key code and the sequence number of the tested vehicle;
an OTA mode entering module is used for transmitting the OTA power-on mode remote control message to a body control module of a tested vehicle, verifying the consistency of the function states of a plurality of controllers of the tested vehicle and the function specification definition state and storing the consistency;
the OTA mode exiting module is used for sending the whole vehicle power-down remote control message to a vehicle body control module or a program of the tested vehicle, restarting the vehicle after the power-down remote control message is controlled by a hard wire, verifying the consistency of the function states of a plurality of controllers of the tested vehicle and the function specification definition state of the OTA mode exiting module and storing the consistency;
and the test report module is used for generating a test report through the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state and the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state exiting the OTA mode.
4. The OTA mode testing device of claim 1 wherein the entering OTA mode module is further configured to:
verifying and storing the consistency of the function states of the plurality of controllers of the tested vehicle and the function specification definition state, and further comprising the following steps: and sending a diagnosis command for prohibiting communication to a plurality of controllers of the tested vehicle.
5. A terminal, comprising:
one or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
an OTA mode test method according to claim 1 or 2.
6. A non-transitory computer readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform an OTA mode test method according to claim 1 or 2.
CN202311090776.2A 2023-08-28 2023-08-28 OTA mode test method, OTA mode test device, terminal and storage medium Pending CN117032178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311090776.2A CN117032178A (en) 2023-08-28 2023-08-28 OTA mode test method, OTA mode test device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311090776.2A CN117032178A (en) 2023-08-28 2023-08-28 OTA mode test method, OTA mode test device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN117032178A true CN117032178A (en) 2023-11-10

Family

ID=88631617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311090776.2A Pending CN117032178A (en) 2023-08-28 2023-08-28 OTA mode test method, OTA mode test device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN117032178A (en)

Similar Documents

Publication Publication Date Title
CN110636477B (en) Device connection method, device, terminal and storage medium
CN108897659B (en) Method, device and storage medium for modifying log level
CN110827820B (en) Voice awakening method, device, equipment, computer storage medium and vehicle
CN112256320B (en) Version number generation method, device, terminal and storage medium
CN110784370B (en) Method and device for testing equipment, electronic equipment and medium
CN116871982A (en) Device and method for detecting spindle of numerical control machine tool and terminal equipment
CN109783176B (en) Page switching method and device
CN114801889B (en) Intelligent charging control method, system, terminal and storage medium for electric automobile
CN110992954A (en) Method, device, equipment and storage medium for voice recognition
CN115891691B (en) Wireless charging control method, system, terminal and storage medium for power battery
CN114595019A (en) Theme setting method, device and equipment of application program and storage medium
CN110764808B (en) Client upgrade detection method, device and computer readable storage medium
CN110045999B (en) Method, device, terminal and storage medium for drawing assembly
CN117032178A (en) OTA mode test method, OTA mode test device, terminal and storage medium
CN111522576B (en) Application management method, device, equipment and computer storage medium
CN110944294B (en) Movement track recording method, device, system, computer equipment and storage medium
CN118820255A (en) Data model vehicle assembly verification method and device based on optional mounting mode
CN116557327A (en) Charging and distribution system assembly cooling fan control method, device and terminal
CN113581100A (en) Prompting method and device for position calibration mode and computer storage medium
CN116822052A (en) Automatic calculation method, device, terminal and storage medium for wind vibration of automobile
CN113450799A (en) Vehicle-mounted schedule management method, system, terminal and storage medium
CN113138782A (en) Method, device, terminal and storage medium for OTA (over the air) upgrading calibration data
CN116665671A (en) Effective communication method, device, terminal and storage medium for following vehicle
CN111083274A (en) Voice acquisition method, device and system and computer readable storage medium
CN118457143A (en) Method, terminal and medium for identifying working noise of compressor system in whole vehicle state

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 130012 no.4888, Yushan Road, Changchun high tech Development Zone, Jilin Province

Applicant after: FAW Besturn Automotive Co.,Ltd.

Address before: No. 4888, Yushan Road, Changchun high tech Industrial Development Zone, Changchun City, Jilin Province

Applicant before: FAW Pentium Car Co.,Ltd.

Country or region before: China

CB02 Change of applicant information