CN111284429A - A vehicle alarm method, vehicle-mounted device, computer storage medium and system - Google Patents

A vehicle alarm method, vehicle-mounted device, computer storage medium and system Download PDF

Info

Publication number
CN111284429A
CN111284429A CN202010077074.0A CN202010077074A CN111284429A CN 111284429 A CN111284429 A CN 111284429A CN 202010077074 A CN202010077074 A CN 202010077074A CN 111284429 A CN111284429 A CN 111284429A
Authority
CN
China
Prior art keywords
vehicle
alarm
microkernel
signal processing
digital signal
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.)
Granted
Application number
CN202010077074.0A
Other languages
Chinese (zh)
Other versions
CN111284429B (en
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.)
Pateo Connect and Technology Shanghai Corp
Original Assignee
Shanghai Pateo Electronic Equipment Manufacturing 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 Shanghai Pateo Electronic Equipment Manufacturing Co Ltd filed Critical Shanghai Pateo Electronic Equipment Manufacturing Co Ltd
Priority to CN202010077074.0A priority Critical patent/CN111284429B/en
Publication of CN111284429A publication Critical patent/CN111284429A/en
Application granted granted Critical
Publication of CN111284429B publication Critical patent/CN111284429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • B60R16/0232Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

本发明公开了一种车辆报警方法、车载设备、计算机存储介质及系统,所述车辆报警方法应用于车载设备,所述车载设备包括片上系统、微控制单元、开关、数字信号处理芯片、功率放大器;其中,所述片上系统包括大核、微内核、第一串口和第二串口,所述方法包括:微内核在检测到运行于所述大核上的控制系统崩溃时进行启动,并通过所述微控制单元实时获取车辆状态信息;所述微内核根据车辆状态信息确定所述车辆出现故障时,通过所述数字信号处理芯片向功率放大器发送报警音频信号,以使功率放大器通过车辆内的扬声器播放所述报警音频信号。本发明提供的车辆报警方法、车载设备、计算机存储介质及系统,能够提高行车安全性,并提升用户使用体验。

Figure 202010077074

The invention discloses a vehicle alarm method, vehicle-mounted equipment, computer storage medium and system. The vehicle alarm method is applied to the vehicle-mounted equipment, and the vehicle-mounted equipment includes an on-chip system, a micro-control unit, a switch, a digital signal processing chip, and a power amplifier. ; wherein, the system-on-chip includes a large core, a micro-kernel, a first serial port and a second serial port, and the method includes: the micro-kernel starts when the control system running on the large core is detected to be crashed, and through all the The micro-control unit acquires the vehicle status information in real time; when the micro-kernel determines that the vehicle is faulty according to the vehicle status information, it sends an alarm audio signal to the power amplifier through the digital signal processing chip, so that the power amplifier can pass the speaker in the vehicle. The alarm audio signal is played. The vehicle alarm method, vehicle-mounted device, computer storage medium and system provided by the present invention can improve driving safety and enhance user experience.

Figure 202010077074

Description

Vehicle alarm method, vehicle-mounted equipment, computer storage medium and system
Technical Field
The invention relates to the field of alarming, in particular to a vehicle alarming method, vehicle-mounted equipment, a computer storage medium and a system.
Background
In the process that the automobile is used, various faults usually occur to the automobile due to factors such as improper operation of a driver or long service life of the driver, or corresponding faults need to be solved in time when certain parameters of the automobile are close to or exceed a threshold value, and in order to remind the driver of paying attention to and/or timely solve the faults so as to avoid influencing driving safety, the automobile usually sends out an alarm sound to prompt the driver. In the related art, a speaker in a vehicle is driven to give an alarm sound through a digital processing chip and a power amplifier in a vehicle-mounted device such as a car machine or a smart car cabin. However, the functions of the vehicle-mounted device are complex and the vehicle-mounted device is frequently used, and the situation of system breakdown is inevitable in actual operation and use, once the vehicle-mounted device breaks down and the vehicle breaks down, the vehicle alarm sound cannot be sent out normally, so that a driver cannot take corresponding measures in time due to the fact that the driver cannot acquire fault information in time, accidents may occur, and driving safety and user experience are affected.
Disclosure of Invention
The invention aims to provide a vehicle alarm method, vehicle-mounted equipment, a computer storage medium and a system, which can improve driving safety and improve user experience.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a vehicle alarm method, which is applied to a vehicle-mounted device, where the vehicle-mounted device includes a system on a chip, a micro control unit, a switch, a digital signal processing chip, and a power amplifier; the system on chip comprises a big core, a microkernel, a first serial port and a second serial port, wherein the big core is communicated with the digital signal processing chip sequentially through the first serial port and the switch, the microkernel is communicated with the digital signal processing chip sequentially through the second serial port and the switch, the digital signal processing chip is connected with the power amplifier, and the system on chip is connected with the micro control unit; the vehicle alarm method comprises the following steps:
the microkernel is started when detecting that the control system running on the macrokernel is crashed, and vehicle state information is obtained in real time through the micro control unit;
and when the microkernel determines that the vehicle has a fault according to the vehicle state information, an alarm audio signal is sent to the power amplifier through the digital signal processing chip, so that the power amplifier plays the alarm audio signal through a loudspeaker in the vehicle.
As one implementation mode, the vehicle-mounted device further comprises a memory storing an alarm audio file, and the microkernel reads an alarm audio signal from the alarm audio file stored in the memory.
As one embodiment, before the micro core sends an alarm audio signal to the power amplifier through the digital signal processing chip, the method further includes:
the microkernel determines the fault type of the vehicle with faults according to the vehicle state information, and determines the corresponding alarm type according to the fault type;
and the microkernel acquires a corresponding alarm audio signal according to the alarm type.
As one embodiment, before the micro core sends an alarm audio signal to the power amplifier through the digital signal processing chip, the method further includes:
and the microkernel switches the communication between the system on chip and the digital signal processing chip to the second serial port through the switch.
As one embodiment, the acquiring, by the micro control unit, vehicle state information in real time by the micro core includes:
the microkernel sends a vehicle state information acquisition request to the micro control unit and receives vehicle state information which is sent by the micro control unit in real time and acquired through a CAN bus.
In a second aspect, an embodiment of the present invention provides an on-board device, where the on-board device includes a system on a chip, a micro control unit, a switch, a digital signal processing chip, and a power amplifier; the system on chip comprises a big core, a microkernel, a first serial port and a second serial port, wherein the big core is communicated with the digital signal processing chip sequentially through the first serial port and the switch, the microkernel is communicated with the digital signal processing chip sequentially through the second serial port and the switch, the digital signal processing chip is connected with the power amplifier, and the system on chip is connected with the micro control unit; wherein the microkernel is configured to perform the vehicle alert method of the first aspect.
In a third aspect, an embodiment of the present invention provides a computer storage medium, which stores a computer program, and when the computer program is executed by a processor, the vehicle alarm method according to the first aspect is implemented.
In a fourth aspect, an embodiment of the present invention provides a vehicle alarm system, where the vehicle alarm system includes an in-vehicle device and a speaker; the vehicle-mounted equipment comprises a system on chip, a micro control unit, a switch, a digital signal processing chip and a power amplifier; the system on chip comprises a big core, a microkernel, a first serial port and a second serial port, wherein the big core is communicated with the digital signal processing chip sequentially through the first serial port and the switch, the microkernel is communicated with the digital signal processing chip sequentially through the second serial port and the switch, the digital signal processing chip is connected with the power amplifier, and the system on chip is connected with the micro control unit; wherein,
the microkernel is used for starting when detecting that the control system running on the macrokernel is crashed, and acquiring vehicle state information in real time through the micro control unit; when the vehicle is determined to have a fault according to the vehicle state information, sending an alarm audio signal to the power amplifier through the digital signal processing chip so that the power amplifier can play the alarm audio signal through a loudspeaker in the vehicle;
and the loudspeaker is used for playing the alarm audio signal after receiving the alarm audio signal sent by the power amplifier.
As one implementation mode, the vehicle-mounted device further comprises a memory storing an alarm audio file, and the microkernel is used for reading an alarm audio signal from the alarm audio file stored in the memory.
As one embodiment, the microkernel is further configured to switch communication between the system on chip and the digital signal processing chip to the second serial port through the switch.
The vehicle alarm method, the vehicle-mounted equipment, the computer storage medium and the system are provided by the embodiment of the invention, the vehicle alarm method is applied to the vehicle-mounted equipment, and the vehicle-mounted equipment comprises a system on a chip, a micro control unit, a switch, a digital signal processing chip and a power amplifier; the system on chip comprises a big core, a microkernel, a first serial port and a second serial port, and the method comprises the following steps: the microkernel is started when detecting that the control system running on the macrokernel is crashed, and vehicle state information is obtained in real time through the micro control unit; and when the microkernel determines that the vehicle has a fault according to the vehicle state information, an alarm audio signal is sent to the power amplifier through the digital signal processing chip, so that the power amplifier plays the alarm audio signal through a loudspeaker in the vehicle. So, under the condition of the control system collapse of operation on the big core of mobile unit, if the vehicle breaks down, then send out the warning through the little kernel control vehicle in speaker of mobile unit, solved the mobile unit and broken down and the vehicle breaks down this moment, the problem that can't normally broadcast vehicle alarm sound for the driver can in time obtain trouble information, has improved driving safety, and has promoted user and used experience. In addition, the cost of the vehicle-mounted equipment does not need to be additionally increased.
Drawings
FIG. 1 is a schematic structural diagram of a vehicle warning system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a vehicle warning method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a vehicle machine according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an on-board device according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further elaborated by combining the drawings and the specific embodiments in the specification. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, a vehicle alarm system provided for an embodiment of the present invention includes an in-vehicle device 1 and a speaker 2; the vehicle-mounted equipment 1 comprises a system on chip 10, a micro control unit 11, a switch 12, a digital signal processing chip 13 and a power amplifier 14; the system on chip 10 includes a large core 101, a micro core 102, a first serial port 103 and a second serial port 104, the large core 101 communicates with the digital signal processing chip 13 sequentially through the first serial port 103 and the switch 12, the micro core 102 communicates with the digital signal processing chip 13 sequentially through the second serial port 104 and the switch 12, the digital signal processing chip 13 is connected with the power amplifier 14, and the system on chip 10 is connected with the micro control unit 11; wherein,
the microkernel 102 is configured to start when detecting that a control system running on the macrokernel 101 crashes, and obtain vehicle state information in real time through the microcontrol unit 11; when the vehicle is determined to have a fault according to the vehicle state information, an alarm audio signal is sent to the power amplifier 14 through the digital signal processing chip 13;
the power amplifier 14 is used for sending the alarm audio signal to a loudspeaker 2 in the vehicle;
the loudspeaker 2 is configured to play the alarm audio signal after receiving the alarm audio signal sent by the power amplifier 14.
It should be noted that the large core 101 refers to a relatively high-performance or high-power-consumption core, the micro core 102 refers to a relatively low-performance or low-power-consumption core, and the control system operates on the large core 101 when the vehicle-mounted device 1 normally operates, so that the large core 101 controls the digital processing chip to send 13 various audio frequencies, including multimedia sound, navigation sound, electric voice, and the like. The control system crash running on the big core 101 may refer to an operating system crash running on the big core 101, and when the control system crashes, the big core 101 loses control over the memory, the Flash, and the serial port, and cannot control the digital processing chip 13 to send out audio.
Here, microkernel 102 may detect the state of macrokernel 101 through a heartbeat packet detection mechanism, that is, detect whether a control system running on macrokernel 101 has a crash situation. The microkernel 102 is started when detecting that the control system running on the macrocore 101 crashes, and at this time, the switch 12 switches the communication between the system on chip 10 and the digital signal processing chip 13 to the second serial port 104, so as to form a system capable of generating sound with the memory, the Flash, the micro control unit 11, the digital signal processing chip 13, the power amplifier 14 and the power supply unit.
Here, the in-vehicle device 1 further includes a memory 15 storing an alarm audio file, and the microkernel 102 is configured to read an alarm audio signal from the alarm audio file stored in the memory 15. In one embodiment, microkernel 102 is specifically configured to: determining the fault type of the vehicle with faults according to the vehicle state information, and determining the corresponding alarm type according to the fault type; and acquiring a corresponding alarm audio signal according to the alarm type. It will be appreciated that for different types of fault, the corresponding warning audio signal may be different to facilitate driver differentiation between different fault warnings. For example, the warning audio signal for excessive engine water temperature and the warning audio signal for insufficient remaining fuel may be different. Therefore, the corresponding alarm audio signal is determined according to the fault type, so that different alarm information can be distinguished conveniently, and the user experience is further improved.
Here, the microkernel 102 may acquire the vehicle state information in real time through the micro control unit 11, where the microkernel 102 sends a vehicle state information acquisition request to the micro control unit 11, and receives the vehicle state information acquired through the CAN bus sent by the micro control unit 11 in real time. It CAN be understood that the micro control unit 11 may acquire the vehicle state information through the CAN bus, where the micro control unit 11 receives the vehicle state information sent by the vehicle body controller through the CAN bus, or sends a vehicle state information acquisition request to the vehicle body controller through the CAN bus, and receives the vehicle state information returned by the vehicle body controller, and in addition, may also read the vehicle state information from the CAN bus.
Here, the power amplifier 14 is connected to the speaker 2, and the power amplifier 14 gives an alarm by driving the speaker 2.
In summary, in the vehicle alarm system provided in the above embodiment, under the condition that the control system running on the large core of the vehicle-mounted device is broken down, if the vehicle is broken down, the micro-core of the vehicle-mounted device controls the speaker in the vehicle to send an alarm, so that the problem that the vehicle alarm sound cannot be played normally when the vehicle is broken down due to the system breakdown of the vehicle-mounted device is solved, a driver can acquire fault information in time, driving safety is improved, and user experience is improved. In addition, the cost of the vehicle-mounted equipment does not need to be additionally increased.
Based on the same inventive concept of the foregoing embodiment, referring to fig. 2, a vehicle alarm method provided in an embodiment of the present invention may be executed by a vehicle alarm device provided in an embodiment of the present invention, where the vehicle alarm device may be implemented in a software and/or hardware manner, and in a specific application, the vehicle alarm device may specifically be a vehicle-mounted device such as a car machine and an intelligent cabin, and in this embodiment, the vehicle alarm method is applied to the vehicle-mounted device as an example, and referring to fig. 1 again, the vehicle-mounted device includes a system on chip 10, a micro control unit 11, a switch 12, a digital signal processing chip 13, and a power amplifier 14; the system on chip 10 includes a large core 101, a micro core 102, a first serial port 103 and a second serial port 104, the large core 101 communicates with the digital signal processing chip 13 sequentially through the first serial port 103 and the switch 12, the micro core 102 communicates with the digital signal processing chip 13 sequentially through the second serial port 104 and the switch 12, the digital signal processing chip 13 is connected with the power amplifier 14, and the system on chip 10 is connected with the micro control unit 11; the vehicle alarming method comprises the following steps:
step S201: the microkernel is started when detecting that the control system running on the macrokernel is crashed, and vehicle state information is obtained in real time through the micro control unit;
here, microkernel 102 may detect the state of macrokernel 101 through a heartbeat packet detection mechanism, that is, detect whether a control system running on macrokernel 101 has a crash situation. The microkernel 102 is started when detecting that the control system running on the macrocore 101 crashes, and at this time, the switch 12 switches the communication between the system on chip 10 and the digital signal processing chip 13 to the second serial port 104, so as to form a system capable of generating sound with the memory, the Flash, the micro control unit 11, the digital signal processing chip 13, the power amplifier 14 and the power supply unit. It should be noted that the large core 101 refers to a relatively high-performance or high-power-consumption core, the micro core 102 refers to a relatively low-performance or low-power-consumption core, and the control system operates on the large core 101 when the vehicle-mounted device 1 normally operates, so that the large core 101 controls the digital processing chip to send 13 various audio frequencies, including multimedia sound, navigation sound, electric voice, and the like. The control system crash running on the big core 101 may refer to an operating system crash running on the big core 101, and when the control system crashes, the big core 101 loses control over the memory, the Flash, and the serial port, and cannot control the digital processing chip 13 to send out audio.
Step S202: and when the microkernel determines that the vehicle has a fault according to the vehicle state information, an alarm audio signal is sent to the power amplifier through the digital signal processing chip, so that the power amplifier plays the alarm audio signal through a loudspeaker in the vehicle.
Specifically, when determining that the vehicle has a fault according to the vehicle state information, the microkernel 102 sends an alarm audio signal to the power amplifier 14 through the digital signal processing chip 13, so that the power amplifier 14 sends the alarm audio signal to a speaker in the vehicle connected to the power amplifier 14, so that the speaker in the vehicle plays the alarm audio signal, and if the vehicle has a fault, the microkernel 102 of the vehicle-mounted device controls the speaker in the vehicle to send an alarm.
In one embodiment, the vehicle-mounted device further includes a memory 15 storing an alarm audio file, and the microkernel 102 reads an alarm audio signal from the alarm audio file stored in the memory 15. In one embodiment, before the micro core sends an alarm audio signal to the power amplifier through the digital signal processing chip, the method further includes: the microkernel 102 determines the fault type of the vehicle with fault according to the vehicle state information, and determines the corresponding alarm type according to the fault type; and the microkernel 102 acquires a corresponding alarm audio signal according to the alarm type. It will be appreciated that for different types of fault, the corresponding warning audio signal may be different to facilitate driver differentiation between different fault warnings. For example, the warning audio signal for excessive engine water temperature and the warning audio signal for insufficient remaining fuel may be different. Therefore, the corresponding alarm audio signal is determined according to the fault type, so that different alarm information can be distinguished conveniently, and the user experience is further improved.
In one embodiment, the obtaining, by the micro control unit, vehicle state information in real time by the micro core includes: the microkernel 102 sends a vehicle status information acquisition request to the micro control unit 11, and receives vehicle status information acquired through a CAN bus, which is sent by the micro control unit 11 in real time. It CAN be understood that the micro control unit 11 may acquire the vehicle state information through the CAN bus, where the micro control unit 11 receives the vehicle state information sent by the vehicle body controller through the CAN bus, or sends a vehicle state information acquisition request to the vehicle body controller through the CAN bus, and receives the vehicle state information returned by the vehicle body controller, and in addition, may also read the vehicle state information from the CAN bus.
In summary, in the vehicle alarm method provided in the above embodiment, when the control system running on the large core of the vehicle-mounted device is in a breakdown state, if the vehicle fails, the micro-core of the vehicle-mounted device controls the speaker in the vehicle to issue an alarm, so that the problem that the vehicle alarm sound cannot be played normally when the vehicle fails due to the system breakdown of the vehicle-mounted device is solved, a driver can acquire failure information in time, driving safety is improved, and user experience is improved. In addition, the cost of the vehicle-mounted equipment does not need to be additionally increased.
Based on the same inventive concept of the foregoing embodiments, the present embodiment describes technical solutions of the foregoing embodiments in detail through specific examples. In this embodiment, the vehicle-mounted device is taken as a vehicle-mounted device as an example for description. Referring to fig. 3, a schematic structural diagram of the car machine provided in this embodiment is shown, where the car machine uses a System-on-a-chip (SoC) 20 with multiple cores and multiple heterogeneous cores, and the SoC20 has multiple Central Processing Units (CPUs), that is, core controllers such as a large core 21, a Graphics Processing Unit (GPU), and a micro core 22. The microkernel 22 has the highest authority, has a Static Random-Access Memory (SRAM) that is shared by itself, can directly run without depending on an operating system, and has control and Access to a Double Data Rate Synchronous Random-Access Memory (DDR) 23, a Flash24, and a Power Management Integrated Circuit (PMIC) 25, has a serial port configuration that is controlled independently, and can perform work state monitoring and on-chip Power-on timing configuration for a CPU and a GPU in the SoC. Two groups of serial ports (I2C/SPI/UART and the like) output by the SoC are switched by the Switch26 and then communicate with the DSP 27. When the system normally operates, the big core 21 controls a group of common serial ports to control the DSP27, and various rich audio frequencies such as media sound, navigation sound, electric voice, system prompt sound, automobile alarm sound and the like can be played. When the system crashes, the big core 21 loses the control of the memory, the Flash24 and the serial port, and can not control the DSP27 to make sound. At the moment, the microkernel 22 starts to work, the communication with the DSP27 is switched to a serial port controlled by the microkernel 22, a small system capable of producing sound is formed by the memory, the Flash24, a Micro Control Unit (MCU) 28, the DSP26, the built-in power amplifier 29 and the like, the vehicle body CAN information is obtained through the MCU28, the MCU28 sends the vehicle fault information to the microkernel 22, and the microkernel 22 drives the loudspeaker 30 to give out alarm sound through the built-in power amplifier 29 by using a sound file in the memory after receiving the information. At the moment, videos, audio such as navigation, multimedia and telephone cannot be played, but all alarm sounds can be played, so that driving safety is guaranteed.
Here, the process of the vehicle warning is as follows:
1) the SoC keeps serial port communication with the DSP through Switch in design, the system communicates with the DSP through a large-core serial port during normal operation, and communicates with the DSP through a micro-core serial port during system crash.
2) When the car machine works normally, the operating system runs on the big core, and the big core controls the DSP to send out various audios including multimedia sounds, navigation sounds, electric voices and the like.
3) When the system crashes, the microkernel is started and is communicated with the DSP through independent serial port configuration. The MCU keeps working and acquires the automobile state information through the CAN bus.
4) When the automobile has a fault, the MCU is informed to the MCU through the CAN bus, the MCU reports the information to the micro-kernel of the SoC, and the micro-kernel receives the information and then drives the loudspeaker to send out an alarm sound through the built-in power amplifier by utilizing the sound file in the memory.
In summary, in the vehicle alarm method provided in the above embodiment, the main controller, i.e., the large core and the micro core of the SoC, is used to control the memory and the DSP under normal and breakdown conditions of the system, and the speaker can continue to send out the alarm sound of the vehicle when the vehicle system is broken down through the bus information obtained by the MCU without adding additional hardware, so as to save cost, ensure driving safety, and avoid property and life loss.
Based on the same inventive concept of the foregoing embodiments, an embodiment of the present invention provides an on-board device, which may be a car machine, an intelligent cabin, or the like, and as shown in fig. 4, the on-board device includes: a processor 110 and a memory 111 for storing computer programs capable of running on the processor 110; the processor 110 illustrated in fig. 4 is not used to refer to the number of the processors 110 as one, but is only used to refer to the position relationship of the processor 110 relative to other devices, and in practical applications, the number of the processors 110 may be one or more; similarly, the memory 111 illustrated in fig. 4 is also used in the same sense, that is, it is only used to refer to the position relationship of the memory 111 relative to other devices, and in practical applications, the number of the memory 111 may be one or more. The processor 110 is configured to implement the vehicle alarm method applied to the vehicle-mounted device when the computer program is executed.
The vehicle-mounted device may further include: at least one network interface 112. The various components in the in-vehicle device are coupled together by a bus system 113. It will be appreciated that the bus system 113 is used to enable communications among the components. The bus system 113 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 113 in FIG. 4.
The memory 111 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (DRMB Random Access Memory), Synchronous joint Dynamic Random Access Memory (DRAM). The memory 111 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 111 in the embodiment of the present invention is used to store various types of data to support the operation of the in-vehicle apparatus. Examples of such data include: any computer program for operating on the in-vehicle device, such as an operating system and an application program; contact data; telephone book data; a message; a picture; video, etc. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs may include various application programs such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. Here, the program that implements the method of the embodiment of the present invention may be included in an application program.
Based on the same inventive concept of the foregoing embodiments, this embodiment further provides a computer storage medium, where a computer program is stored in the computer storage medium, where the computer storage medium may be a Memory such as a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a flash Memory (flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read Only Memory (CD-ROM), and the like; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc. When the computer program stored in the computer storage medium is executed by a processor, the vehicle alarm method applied to the above-mentioned vehicle-mounted device is realized. Please refer to the description of the embodiment shown in fig. 2 for a specific step flow realized when the computer program is executed by the processor, which is not described herein again.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
As used herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, including not only those elements listed, but also other elements not expressly listed.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A vehicle alarm method is applied to vehicle-mounted equipment, wherein the vehicle-mounted equipment comprises a system on a chip, a micro control unit, a switch, a digital signal processing chip and a power amplifier; the system on chip comprises a big core, a microkernel, a first serial port and a second serial port, wherein the big core is communicated with the digital signal processing chip sequentially through the first serial port and the switch, the microkernel is communicated with the digital signal processing chip sequentially through the second serial port and the switch, the digital signal processing chip is connected with the power amplifier, and the system on chip is connected with the micro control unit; characterized in that the method comprises:
the microkernel is started when detecting that the control system running on the macrokernel is crashed, and vehicle state information is obtained in real time through the micro control unit;
and when the microkernel determines that the vehicle has a fault according to the vehicle state information, an alarm audio signal is sent to the power amplifier through the digital signal processing chip, so that the power amplifier plays the alarm audio signal through a loudspeaker in the vehicle.
2. The vehicle alarm method of claim 1, wherein the in-vehicle device further comprises a memory storing an alarm audio file, and the microkernel reads the alarm audio signal from the alarm audio file stored in the memory.
3. The vehicle alarm method of claim 1, wherein before the microkernel sends an alarm audio signal to the power amplifier through the digital signal processing chip, the method further comprises:
the microkernel determines the fault type of the vehicle with faults according to the vehicle state information, and determines the corresponding alarm type according to the fault type;
and the microkernel acquires a corresponding alarm audio signal according to the alarm type.
4. The vehicle alarm method of claim 1, wherein before the microkernel sends an alarm audio signal to the power amplifier through the digital signal processing chip, the method further comprises:
and the microkernel switches the communication between the system on chip and the digital signal processing chip to the second serial port through the switch.
5. The vehicle warning method according to claim 1, wherein the microkernel obtains vehicle status information in real time through the micro control unit, and comprises:
the microkernel sends a vehicle state information acquisition request to the micro control unit and receives vehicle state information which is sent by the micro control unit in real time and acquired through a CAN bus.
6. An in-vehicle apparatus characterized in that the in-vehicle apparatus includes a processor and a memory for storing a program; when the program is executed by the processor, the processor is caused to implement the vehicle alarm method according to any one of claims 1 to 5.
7. A computer storage medium, characterized in that a computer program is stored which, when executed by a processor, implements the vehicle alarm method of any one of claims 1 to 5.
8. A vehicle alarm system is characterized by comprising an on-board device and a loudspeaker; the vehicle-mounted equipment comprises a system on chip, a micro control unit, a switch, a digital signal processing chip and a power amplifier; the system on chip comprises a big core, a microkernel, a first serial port and a second serial port, wherein the big core is communicated with the digital signal processing chip sequentially through the first serial port and the switch, the microkernel is communicated with the digital signal processing chip sequentially through the second serial port and the switch, the digital signal processing chip is connected with the power amplifier, and the system on chip is connected with the micro control unit; wherein,
the microkernel is used for starting when detecting that the control system running on the macrokernel is crashed, and acquiring vehicle state information in real time through the micro control unit; when the vehicle is determined to have a fault according to the vehicle state information, an alarm audio signal is sent to the power amplifier through the digital signal processing chip;
the power amplifier is used for sending the alarm audio signal to a loudspeaker in a vehicle;
and the loudspeaker is used for playing the alarm audio signal after receiving the alarm audio signal sent by the power amplifier.
9. The vehicle warning system of claim 8, wherein the in-vehicle device further includes a memory storing a warning audio file, the microkernel being configured to read a warning audio signal from the warning audio file stored in the memory.
10. The vehicle alarm system of claim 8, wherein the microkernel is further configured to switch communication between the system on chip and the digital signal processing chip to the second serial port via the switch.
CN202010077074.0A 2020-01-23 2020-01-23 Vehicle alarm method, vehicle-mounted equipment, computer storage medium and system Active CN111284429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010077074.0A CN111284429B (en) 2020-01-23 2020-01-23 Vehicle alarm method, vehicle-mounted equipment, computer storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010077074.0A CN111284429B (en) 2020-01-23 2020-01-23 Vehicle alarm method, vehicle-mounted equipment, computer storage medium and system

Publications (2)

Publication Number Publication Date
CN111284429A true CN111284429A (en) 2020-06-16
CN111284429B CN111284429B (en) 2022-06-24

Family

ID=71018106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010077074.0A Active CN111284429B (en) 2020-01-23 2020-01-23 Vehicle alarm method, vehicle-mounted equipment, computer storage medium and system

Country Status (1)

Country Link
CN (1) CN111284429B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113352987A (en) * 2021-05-31 2021-09-07 湖北亿咖通科技有限公司 Method and system for controlling warning tone of vehicle machine
CN114801990A (en) * 2022-04-27 2022-07-29 中国第一汽车股份有限公司 Instrument alarm sound processing method and system, electronic equipment and vehicle
CN115661976A (en) * 2022-10-18 2023-01-31 摩尔线程智能科技(北京)有限责任公司 Vehicle video processing method, device, device, storage medium and program product
CN116353480A (en) * 2021-12-27 2023-06-30 上海擎感智能科技有限公司 Vehicle alarm device and vehicle
CN116853121A (en) * 2023-08-14 2023-10-10 北斗星通智联科技有限责任公司 Vehicle early warning control methods, equipment and vehicles
WO2025145607A1 (en) * 2024-01-05 2025-07-10 中国第一汽车股份有限公司 Safety icon control method and system, electronic device, and storage medium
WO2026020871A1 (en) * 2024-07-26 2026-01-29 广州汽车集团股份有限公司 Vehicle fault alarm method and apparatus, and computer program product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10000337A1 (en) * 2000-01-07 2001-09-13 Volkswagen Ag Management arrangement for vehicle has parameterizing unit built into vehicle and operationally connectable to control unit(s) via field bus providing temporary connection
CN101043310A (en) * 2007-04-27 2007-09-26 北京佳讯飞鸿电气有限责任公司 Image backup method for dual-core control of core controlled system
CN204287828U (en) * 2014-11-06 2015-04-22 联合汽车电子有限公司 Vehicle-mounted power management device
CN204936837U (en) * 2015-07-30 2016-01-06 常州英科尔车辆配件有限公司 A kind of intelligent electric motor car instrument avoiding crashing
CN106904122A (en) * 2017-03-08 2017-06-30 歌尔丹拿音响有限公司 Vehicle speech sound alarming method and apparatus
CN107545908A (en) * 2016-06-29 2018-01-05 比亚迪股份有限公司 The acoustic signal processing method and onboard system of onboard system
CN110032540A (en) * 2019-04-11 2019-07-19 北京宙心科技有限公司 A kind of artificial intelligence edge calculations equipment
CN110389743A (en) * 2018-04-16 2019-10-29 比亚迪股份有限公司 In-vehicle audio systems and vehicles

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10000337A1 (en) * 2000-01-07 2001-09-13 Volkswagen Ag Management arrangement for vehicle has parameterizing unit built into vehicle and operationally connectable to control unit(s) via field bus providing temporary connection
CN101043310A (en) * 2007-04-27 2007-09-26 北京佳讯飞鸿电气有限责任公司 Image backup method for dual-core control of core controlled system
CN204287828U (en) * 2014-11-06 2015-04-22 联合汽车电子有限公司 Vehicle-mounted power management device
CN204936837U (en) * 2015-07-30 2016-01-06 常州英科尔车辆配件有限公司 A kind of intelligent electric motor car instrument avoiding crashing
CN107545908A (en) * 2016-06-29 2018-01-05 比亚迪股份有限公司 The acoustic signal processing method and onboard system of onboard system
CN106904122A (en) * 2017-03-08 2017-06-30 歌尔丹拿音响有限公司 Vehicle speech sound alarming method and apparatus
CN110389743A (en) * 2018-04-16 2019-10-29 比亚迪股份有限公司 In-vehicle audio systems and vehicles
CN110032540A (en) * 2019-04-11 2019-07-19 北京宙心科技有限公司 A kind of artificial intelligence edge calculations equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
施威等: "《嵌入式双核实验平台的设计策略与实现方法》", 《实验室研究与探索》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113352987A (en) * 2021-05-31 2021-09-07 湖北亿咖通科技有限公司 Method and system for controlling warning tone of vehicle machine
CN116353480A (en) * 2021-12-27 2023-06-30 上海擎感智能科技有限公司 Vehicle alarm device and vehicle
CN114801990A (en) * 2022-04-27 2022-07-29 中国第一汽车股份有限公司 Instrument alarm sound processing method and system, electronic equipment and vehicle
CN115661976A (en) * 2022-10-18 2023-01-31 摩尔线程智能科技(北京)有限责任公司 Vehicle video processing method, device, device, storage medium and program product
CN116853121A (en) * 2023-08-14 2023-10-10 北斗星通智联科技有限责任公司 Vehicle early warning control methods, equipment and vehicles
WO2025145607A1 (en) * 2024-01-05 2025-07-10 中国第一汽车股份有限公司 Safety icon control method and system, electronic device, and storage medium
WO2026020871A1 (en) * 2024-07-26 2026-01-29 广州汽车集团股份有限公司 Vehicle fault alarm method and apparatus, and computer program product

Also Published As

Publication number Publication date
CN111284429B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN111284429A (en) A vehicle alarm method, vehicle-mounted device, computer storage medium and system
US7130656B2 (en) Automotive information system and method of controlling the same, recording medium storing control program, disk playback apparatus, and semiconductor integrated circuit
CN112298208A (en) Automatic driving transverse auxiliary control method and transverse auxiliary system
US20230138838A1 (en) Media Stream Playing Method and Apparatus
CN114801990A (en) Instrument alarm sound processing method and system, electronic equipment and vehicle
CN101462518A (en) Vehicle electronic system and vehicle
CN113682321A (en) Method and apparatus for transferring control of a vehicle in an automotive electronic system
CN113454599B (en) Seamless audio switching in multi-processor audio systems
JP2009176200A (en) Data processing apparatus and mount method of logical drive
CN109080565A (en) A kind of emergency method and system applied to vehicle
WO2025201367A1 (en) Control method, system and apparatus for intelligent assisted driving mode of vehicle
CN112860144B (en) Control method and system
CN115696173B (en) Chip, vehicle audio playing method, vehicle-mounted equipment and storage medium
US11663035B2 (en) Agent control device
CN112065628B (en) Engine double-start control method, device and equipment
CN111107532B (en) Information processing method and device and electronic equipment
CN115771475A (en) Audio playing control method, equipment and storage medium
CN116853121B (en) Vehicle early warning and control methods, equipment and vehicles
CN114924870A (en) Interaction method, device, mobile terminal, and computer-readable storage medium
KR20130003976A (en) Electronic control power steering electronic control unit and running reset processing method using the same
CN116476763A (en) Hierarchical power management system and method for vehicles
CN117002257A (en) Vehicle instrument preparation light control method, device and vehicle
KR100622087B1 (en) Control method of multimedia playback module in mobile communication terminal
CN121773399A (en) Systems and methods for reducing startup latency in systems running automotive operating systems
CN118025050A (en) Vehicle power management method, vehicle system, vehicle and storage medium

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

Address after: Room 208, building 4, 1411 Yecheng Road, Jiading District, Shanghai, 201821

Applicant after: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Address before: Room 208, building 4, 1411 Yecheng Road, Jiading District, Shanghai, 201821

Applicant before: SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Room 3701, No. 866 East Changzhi Road, Hongkou District, Shanghai, 200080

Patentee after: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Country or region after: China

Address before: Room 208, building 4, 1411 Yecheng Road, Jiading District, Shanghai, 201821

Patentee before: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A vehicle alarm method, onboard equipment, computer storage medium and system

Granted publication date: 20220624

Pledgee: Agricultural Bank of China Shanghai Yangpu Branch

Pledgor: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Registration number: Y2025980049880

PE01 Entry into force of the registration of the contract for pledge of patent right