CN114801736A - Alarm information display method, device and storage medium - Google Patents

Alarm information display method, device and storage medium Download PDF

Info

Publication number
CN114801736A
CN114801736A CN202210358512.XA CN202210358512A CN114801736A CN 114801736 A CN114801736 A CN 114801736A CN 202210358512 A CN202210358512 A CN 202210358512A CN 114801736 A CN114801736 A CN 114801736A
Authority
CN
China
Prior art keywords
alarm information
display
information
priority
displaying
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
CN202210358512.XA
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.)
Chery Automobile Co Ltd
Original Assignee
Chery Automobile 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 Chery Automobile Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN202210358512.XA priority Critical patent/CN114801736A/en
Publication of CN114801736A publication Critical patent/CN114801736A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • B60K35/20Output arrangements, i.e. from vehicle to user, associated with vehicle functions or specially adapted therefor
    • B60K35/28Output arrangements, i.e. from vehicle to user, associated with vehicle functions or specially adapted therefor characterised by the type of the output information, e.g. video entertainment or vehicle dynamics information; characterised by the purpose of the output information, e.g. for attracting the attention of the driver
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • B60K35/20Output arrangements, i.e. from vehicle to user, associated with vehicle functions or specially adapted therefor
    • B60K35/29Instruments characterised by the way in which information is handled, e.g. showing information on plural displays or prioritising information according to driving conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K2360/00Indexing scheme associated with groups B60K35/00 or B60K37/00 relating to details of instruments or dashboards
    • B60K2360/16Type of output information
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K2360/00Indexing scheme associated with groups B60K35/00 or B60K37/00 relating to details of instruments or dashboards
    • B60K2360/18Information management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiment of the application discloses an alarm information display method, an alarm information display device and a storage medium, and belongs to the technical field of automobiles. In the embodiment of the application, the alarm information can be displayed based on the display type of the currently detected alarm information, that is, when the display type of the currently detected alarm information is an immediate display type, even if the priority of the alarm information is lower than that of the alarm information currently being displayed, the currently displayed alarm information can still be interrupted, and the detected alarm information starts to be displayed. Or when the priority of the currently detected alarm information is not lower than the currently displayed alarm information, the currently displayed alarm information can be interrupted to display the detected alarm information, so that a user can see all the alarm information in time, and the probability of accidents is reduced.

Description

Alarm information display method, device and storage medium
Technical Field
The present disclosure relates to the field of automotive technologies, and in particular, to a method and an apparatus for displaying alarm information, and a storage medium.
Background
With the development of automobile technology, more and more alarm information for alarming vehicle faults or vehicle abnormal conditions can be displayed on an instrument of an automobile.
In the related art, when the instrument displays the alarm information, the alarm information with high priority is preferentially displayed, and the alarm information with high priority is not released or confirmed, so that the instrument cannot display the alarm information with low priority. Therefore, the instrument cannot display all alarm information of the vehicle in time, and the user cannot control the vehicle based on the alarm information displayed by the instrument in time, so that some accidents can be caused.
Disclosure of Invention
The embodiment of the application provides an alarm information display method, an alarm information display device and a storage medium, which can display alarm information of a vehicle in time so as to remind a user to control the vehicle, and therefore the probability of accidents is reduced. The technical scheme is as follows:
in one aspect, a method for displaying alarm information is provided, and the method includes:
when a notification message used for indicating first alarm information is detected in a message queue, acquiring the display type of the first alarm information, wherein the message queue comprises a plurality of received notification messages, the notification messages are in one-to-one correspondence with the alarm information, and each alarm information corresponds to a priority;
if the display type of the first alarm information is an immediate display type or the priority of the first alarm information is not lower than the priority of second alarm information currently being displayed, stopping displaying the second alarm information and displaying the first alarm information;
acquiring at least one target alarm information with the highest priority in the plurality of alarm information;
and after the first alarm information is displayed, displaying the at least one target alarm information.
Optionally, if the target alert information includes the first alert information and the second alert information, the displaying the at least one target alert information after displaying the first alert information includes:
if the display duration of the second alarm information does not reach the first duration, displaying the second duration on the second alarm information after displaying the second duration on the first alarm information;
and after the second alarm information is displayed, alternately displaying the second duration for each alarm information according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information.
Optionally, if the target alarm information is alarm information to be solved or confirmed, and the plurality of alarm information further includes third alarm information with a priority lower than that of the target alarm information, the method further includes:
and when a confirmation signal or a solution signal or a display duration of the target alarm information is detected to reach the maximum display duration, stopping displaying the target alarm information, and displaying the third alarm information.
Optionally, if the display type of the first alarm information is an immediate display type, the priority of the first alarm information is lower than the priority of the second alarm information, and the target alarm information includes the second alarm information and at least one fourth alarm information, displaying the at least one target alarm information after displaying the first alarm information includes:
if the display duration of the second alarm information does not reach the first duration, displaying a second duration on the second alarm information after the first alarm information displays a third duration;
and after the second alarm information is displayed, alternately displaying the second duration for each alarm information according to the receiving sequence of the notification messages respectively corresponding to the second alarm information and the at least one fourth alarm information.
Optionally, the method further comprises:
and when a confirmation signal or a solution signal of the target alarm information is detected, stopping displaying the target alarm information, and displaying alarm information of which the priority is the priority of the first alarm information in the plurality of alarm information.
In another aspect, there is provided an alarm information display apparatus including:
the alarm information display method comprises the steps that an obtaining module is used for obtaining the display type of first alarm information when a notification message used for indicating the first alarm information is detected in a message queue, the message queue comprises a plurality of received notification messages, the notification messages correspond to the alarm information one by one, and each alarm information corresponds to a priority;
the display module is used for stopping displaying the second alarm information and displaying the first alarm information if the display type of the first alarm information is an immediate display type or the priority of the first alarm information is not lower than the priority of the second alarm information currently being displayed;
the acquisition module is further configured to acquire at least one target alarm information with the highest priority among the plurality of alarm information;
the display module is further configured to display the at least one piece of target alarm information after the first alarm information is displayed.
Optionally, if the target alert information includes the first alert information and the second alert information, the display module is further configured to:
if the display duration of the second alarm information does not reach the first duration, displaying the second duration on the second alarm information after displaying the second duration on the first alarm information;
and after the second alarm information is displayed, alternately displaying the second duration for each alarm information according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information.
Optionally, if the target alarm information is alarm information to be solved or confirmed, and the plurality of alarm information further includes third alarm information with a priority lower than that of the target alarm information, the apparatus is further configured to:
and when a confirmation signal or a solution signal or a display duration of the target alarm information is detected to reach the maximum display duration, stopping displaying the target alarm information, and displaying the third alarm information.
Optionally, if the display type of the first alarm information is an immediate display type, the priority of the first alarm information is lower than the priority of the second alarm information, and the target alarm information includes the second alarm information and at least one fourth alarm information, the display module is further configured to:
if the display duration of the second alarm information does not reach the first duration, displaying a second duration on the second alarm information after the first alarm information displays a third duration;
and after the second alarm information is displayed, alternately displaying the second duration for each alarm information according to the receiving sequence of the notification messages respectively corresponding to the second alarm information and the at least one fourth alarm information.
Optionally, the apparatus is further configured to:
and when a confirmation signal or a solution signal of the target alarm information is detected, stopping displaying the target alarm information, and displaying alarm information of which the priority is the priority of the first alarm information in the plurality of alarm information.
In another aspect, an alarm information display apparatus is provided, the apparatus includes a processor and a memory, the memory is used for storing computer programs, and the processor is used for executing the programs stored in the memory to realize the steps of the alarm information display method.
In another aspect, a computer-readable storage medium is provided, in which a computer program is stored, and the computer program realizes the steps of the alarm information display method described above when executed by a computer.
In another aspect, a computer program product is provided comprising instructions which, when run on a computer, cause the computer to perform the steps of the alert information display method described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
in the embodiment of the application, when a notification message indicating first alert information is detected in a message queue, a display type of the first alert information may be acquired. And if the display type of the first alarm information is an immediate display type or the priority of the first alarm information is not lower than that of the second alarm information currently being displayed, stopping displaying the second alarm information and displaying the first alarm information. Therefore, in the embodiment of the application, the alarm information can be displayed based on the display type of the currently detected alarm information, that is, when the display type of the currently detected alarm information is the immediate display type, even if the priority of the alarm information is lower than the priority of the alarm information currently being displayed, the currently displayed alarm information can still be interrupted, and the detected alarm information starts to be displayed. Or when the priority of the currently detected alarm information is not lower than the currently displayed alarm information, the currently displayed alarm information can be interrupted to display the detected alarm information, so that a user can see all the alarm information in time, and the probability of accidents is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram of a system architecture according to an alarm information display method provided in an embodiment of the present application;
fig. 2 is a flowchart of an alarm information display method according to an embodiment of the present application;
fig. 3 is a mapping relationship diagram of alarm information provided in an embodiment of the present application;
fig. 4 is a schematic diagram of an operation performed based on priorities of first alarm information and second alarm information according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an alarm information display apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a display device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Before explaining the embodiments of the present application in detail, a system architecture related to the embodiments of the present application will be described.
Fig. 1 is a system architecture diagram according to an alarm information display method provided in an embodiment of the present application. As shown in fig. 1, the system includes a plurality of controllers 101, a CAN gateway 102, and a display node 103. The plurality of controllers 101 may communicate with the CAN gateway 102 through a CAN communication bus, and the CAN gateway 102 may also communicate with the display node 103 through the CAN communication bus.
The plurality of controllers 101 are used to detect the operating states of the respective devices included in the respective modules on the vehicle. After detecting that a device in the module corresponding to each controller 101 has a fault, each controller 101 may send a notification message for alarming the fault to the CAN gateway 102 through the CAN communication bus. The notification message includes an ID (Identity Document) of the alarm information corresponding to the fault and a fault signal. Wherein the signal value of the fault signal may be 1.
It should be noted that, in the embodiment of the present application, a plurality of alarm messages are set according to various faults that may occur in various devices on the vehicle. One fault corresponds to one alarm message, each alarm message corresponds to one ID, and the ID is used for uniquely identifying one alarm message. Each controller 101 of the plurality of controllers stores in advance a mapping relationship between various faults that may occur in each device in a module corresponding to the controller and an ID of the alarm information. Based on this, when any one of the controllers 101 detects that a device in the module corresponding to the controller has a fault, the ID of the alarm information corresponding to the fault can be searched based on the fault from the mapping relationship between various faults stored in the controller and the ID of the alarm information. Thereafter, the controller may generate a notification message based on the ID of the alarm information and the fault signal and transmit the notification message to CAN gateway 102.
In addition, after each of the plurality of controllers transmits a notification message for alarming a certain fault to the CAN gateway, if it is detected that the corresponding fault is solved, a fault solution message may be generated and transmitted to the CAN gateway with reference to the above-described method of generating a notification message. Wherein, the failure resolution message includes the ID of the alarm information corresponding to the failure and a resolution signal. Wherein the signal value of the resolution signal may be 0.
The CAN gateway 102 is configured to receive the notification messages and the failure resolution messages sent by the plurality of controllers 101, and send the received notification messages and the failure resolution messages to the display node 103.
The display node 103 may receive the newly added notification message sent by the CAN gateway 102 in real time, and store the received newly added notification message in its own message queue. The message queue includes a plurality of notification messages received by the display node 103, and the notification messages correspond to a plurality of alarm messages one to one, and each alarm message corresponds to a priority.
It should be noted that the display node 103 stores in advance a first mapping relationship among the alarm information, the display type, the ID, and the priority. The display type may include an immediate display type and a deferrable display type, which is not limited in the embodiments of the present application.
Based on this, each time the display node 103 stores the received new notification message in the message queue, it may be considered that a notification message is detected in the message queue, and the alarm information indicated by the ID of the alarm information in the detected notification message is referred to as first alarm information. At this time, the display node 103 may obtain the display type and priority of the first alarm information from the first mapping relationship stored in the display node based on the ID of the first alarm information. If the display type of the first alarm information is an immediate display type or the priority of the first alarm information is not lower than the priority of the second alarm information currently being displayed, the display node 103 may stop displaying the second alarm information currently being displayed, and obtain the first alarm information from the first mapping relation based on the ID of the first alarm information, so as to display the first alarm information. And then, the display node can also acquire the priority of each alarm message in the message queue of the display node, select at least one target alarm message with the highest priority from the plurality of alarm messages, and display the at least one target alarm message after the first alarm message is displayed.
The controllers 101 may be a plurality of ECUs (Electronic Control units) of the vehicle, and each module on the vehicle may include: a body control module, a chassis control module, an entertainment control module, an engine control module, etc., three controllers are shown in fig. 1, and in practical applications, more or fewer controllers may be included in the system, which is not limited by the embodiment of the present application.
The CAN gateway 102 may be a gateway in a vehicle, and the display node 103 may be an instrument or a central control host in the vehicle, which is not limited in this embodiment of the present application.
Next, a method for displaying alarm information provided in the embodiment of the present application will be described.
Fig. 2 is an alarm information display method provided in an embodiment of the present application, which may be applied to the display node described above, and as shown in fig. 2, the method includes the following steps:
step 201: when a notification message used for indicating first alarm information is detected in a message queue, the display type of the first alarm information is acquired, the message queue comprises a plurality of received notification messages, the notification messages correspond to the alarm information one by one, and each alarm information corresponds to a priority.
In the embodiment of the present application, a plurality of controllers are included on the vehicle, and each controller is configured to detect an operation state of each device included in each module on the vehicle. On the basis, when each controller detects that a certain device in the corresponding module has a certain fault, the controller CAN send a notification message for alarming the fault to the CAN gateway through the CAN communication bus.
The modules on the vehicle may include a body control module, a chassis module, an engine module, an entertainment control module, and the like, which are not limited in this application. Wherein each module contains a plurality of devices for performing respective functions associated with the module.
For example, each controller, upon detecting a certain failure of a device in its own module, may generate a notification message for alerting the failure according to the failure, and then transmit the notification message to the CAN gateway. Wherein the notification message includes an ID of alarm information indicating the fault and a fault signal. Wherein the signal value of the fault signal may be 1.
It should be noted that, in the embodiment of the present application, a plurality of alarm messages are preset for various faults that may occur in each device. Each alarm message corresponds to an ID, and the ID is used for uniquely identifying one alarm message. On the basis, the mapping relation between various fault IDs which can possibly occur in each device in the module corresponding to the controller and the ID of the alarm information is preset in each controller. Based on this, when any one of the plurality of controllers detects that a certain device in the module corresponding to the controller has a certain fault, the controller acquires the fault ID of the current fault, searches for the fault ID identical to the fault ID of the current fault in the mapping relationship between the various fault IDs stored in the controller and the IDs of the alarm information according to the fault ID of the current fault, and uses the ID of the alarm information corresponding to the searched fault ID as the ID of the alarm information corresponding to the fault. Thereafter, the controller may generate a notification message based on the ID of the alarm information and the fault signal, and transmit the notification message to the CAN gateway.
In addition, after each of the plurality of controllers transmits a notification message for alarming a certain fault to the CAN gateway, if it is detected that the corresponding fault is solved, a fault solution message may be generated and transmitted to the CAN gateway with reference to the above-described method of generating a notification message. Wherein, the failure resolution message includes the ID of the alarm information corresponding to the failure and a resolution signal. Wherein the signal value of the resolution signal may be 0.
After receiving the notification message and the failure resolution message sent by any controller and used for alarming the failure, the CAN gateway CAN send the received notification message and the received failure resolution message to the display node.
In the embodiment of the application, the display node CAN receive the newly added notification message sent by the CAN gateway in real time and store the received newly added notification message in its own message queue. When the display node detects a notification message in the message queue, the display node may use the alarm information indicated by the ID of the alarm information included in the currently detected notification message as the first alarm information. On the basis, the display node acquires the display type of the first alarm information. The message queue comprises a plurality of notification messages received by the display node, the notification messages correspond to the alarm messages one by one, and each alarm message corresponds to a priority.
It should be noted that the display node stores in advance a mapping relationship between the ID of the alarm information and the display type. The display type may include an immediate display type and a deferrable display type, among others. The immediate display type is used for indicating that the information is immediately displayed when a notification message for indicating the alarm information of the corresponding type is detected; the deferrable display type is used to indicate that each alert information may be displayed based on a priority of the alert information indicated by each notification message in the message queue when the alert information indicating the corresponding type is detected.
Based on this, the display node can acquire the ID of the first alert information included in the currently detected notification message. And then, searching the ID of the alarm information consistent with the ID of the first alarm information in the mapping relation between the ID of the alarm information stored in the alarm information and the display type according to the ID of the first alarm information, and taking the display type corresponding to the searched ID of the alarm information as the display type of the first alarm information.
Step 202: and if the display type of the first alarm information is the immediate display type or the priority of the first alarm information is not lower than the priority of the second alarm information currently being displayed, stopping displaying the second alarm information and displaying the first alarm information.
In the embodiment of the application, after the display type of the first alarm information is acquired, the display node may determine whether the display type of the first alarm information is an immediate display type. If the display type of the first alarm information is an immediate display type, the display node immediately stops displaying the second alarm information currently being displayed and displays the first alarm information, namely, if the display type of the currently detected alarm information is the immediate display type, the display node can interrupt the currently displayed alarm information and preferentially display the currently detected alarm information.
Optionally, if the display type of the first alarm information is not an immediate display type, but a display type that can be delayed, the display node may further obtain the priority of the first alarm information and the second alarm information.
It should be noted that, the display node also stores in advance a mapping relationship between the ID of the alarm information and the priority of the alarm information. Wherein, the priority of the alarm information can be set according to the category of the alarm information. Illustratively, the categories of the alert information may include a class affecting safe driving, a fault class, and a prompt class. The three types of alarm information can be divided into a first level and a second level according to the severity of the fault corresponding to the alarm information. In each category, the severity of the fault indicated by the primary alert information is greater than the severity of the fault indicated by the secondary alert information. The priority affecting the safety driving alarm information is highest, the priority of the first-level fault alarm information in the fault alarm information and the priority of the first-level prompt alarm information in the prompt alarm information are highest, and the priority of the second-level fault alarm information in the fault alarm information and the priority of the second-level prompt alarm information in the prompt alarm information are lowest.
For convenience of explanation, the highest priority may be represented by P1, the next highest priority by P2, and the lowest priority by P3. Wherein priority P1> priority P2> priority P3. Of course, the priority may have other division manners, which is an exemplary division manner given in the embodiments of the present application and is not limited to the embodiments of the present application.
For example, the display node may search, according to the ID of the first alarm information, an ID of alarm information that is consistent with the ID of the first alarm information from a mapping relationship between the ID of the alarm information stored in the display node and the priority of the alarm information, and use the priority corresponding to the ID of the searched alarm information as the priority of the first alarm information. According to the same method, the display node can obtain the priority of the second alarm information currently being displayed, which is not described in detail herein.
After the priority of the first alarm information and the priority of the second alarm information are obtained, the display node may compare the priority of the first alarm information with the priority of the second alarm information, and further determine whether the priority of the first alarm information is lower than the priority of the second alarm information. If the priority of the first alarm information is not lower than that of the second alarm information currently being displayed, the display node can also stop displaying the second alarm information and display the first alarm information. That is, even if the display type of the currently detected alarm information is not the immediate display type, but the priority of the alarm information is not lower than the priority of the alarm information currently being displayed, the display node can interrupt the alarm information currently being displayed, thereby preferentially displaying the currently detected alarm information.
If the priority of the first alarm information is lower than that of the second alarm information currently being displayed, and the display type of the first alarm information is a delay display type, the display node can continue to display the second alarm information, that is, when the display type of the currently detected alarm information is the delay display type, and the priority of the alarm information is lower than that of the alarm information currently being displayed by the display node, the display node cannot interrupt the alarm information currently being displayed.
It should be noted that, when the display node interrupts the second alarm information currently being displayed and preferentially displays the first alarm information, the buzzer may also be triggered to perform sound alarm.
The display node stores the mapping relation between the buzzer alarm frequency and the ID of the alarm information in advance. Based on this, the display node may search for the ID of the alarm information that is consistent with the ID of the first alarm information from a mapping relationship between the buzzer alarm frequency and the ID of the alarm information stored in advance based on the ID of the first alarm information. And then, taking the buzzing alarm frequency corresponding to the ID of the searched alarm information as the buzzing alarm frequency corresponding to the first alarm sound, and further controlling the buzzer to alarm according to the buzzing alarm frequency.
It should be noted that the buzzer alarm frequency may be set according to the type of the alarm information, that is, the type of the alarm information is different, and when the buzzer makes an audible alarm, the buzzer alarm frequency is different. For example, the buzzer alarm frequency corresponding to the alarm information affecting the safe driving class may be set to 2000Hz, the buzzer alarm frequency corresponding to the alarm information of the fault class may be set to 1500Hz, and the buzzer alarm frequency corresponding to the alarm information of the prompt class may be set to 800 Hz. Of course, when the buzzer alarms by sound, the alarm sound may be set in other ways, which is not limited in the embodiment of the present application.
Step 203: and acquiring at least one target alarm information with the highest priority in the plurality of alarm information.
In the embodiment of the application, in the process of displaying the first alarm information, the display node may further obtain priorities of a plurality of alarm information corresponding to a plurality of notification messages in the message queue, and then obtain at least one piece of target alarm information with the highest priority from the priorities of the plurality of alarm information, so that after the first alarm information is displayed, the at least one piece of target alarm information is displayed.
Illustratively, as can be seen from the foregoing description, each notification message of the plurality of notification messages includes an ID of one alert information. Based on this, taking any one of the plurality of notification messages as an example, the display node may search, according to the ID of the alarm information included in the notification message, the ID of the alarm information that is consistent with the ID of the alarm information from the mapping relationship between the ID of the alarm information stored in the display node and the priority of the alarm information, and use the priority of the alarm information corresponding to the searched ID of the alarm information as the priority of the alarm information. According to the same method, the display node can acquire the priorities of a plurality of alarm messages corresponding to a plurality of notification messages.
Alternatively, in step 202, the display node may have acquired priorities of the first alarm information and the second alarm information, in which case the display node may acquire priorities of the plurality of alarm information other than the first alarm information and the second alarm information.
After the priorities of the alarm information are acquired, the display node may search the alarm information with the highest priority from the priorities of the alarm information as target alarm information, where the number of the target alarm information may be 1 or multiple.
Step 204: and after the first alarm information is displayed, displaying at least one target alarm information.
In this embodiment of the application, after the display node displays the first alarm information, at least one target alarm information with the highest priority among the acquired plurality of alarm information may be displayed.
Wherein, if the target alarm information comprises first alarm information and second alarm information, it is described that the first alarm information and the second alarm information which is interrupted to be displayed are alarm information with the same priority and are alarm information with the highest priority among the plurality of alarm information. In this case, if the display time of the second alarm information does not reach the first time before the display node displays the first alarm information, the display node preferentially displays the second time for the second alarm information after the display time for the first alarm information is displayed; and after the second time length is displayed on the second alarm information, the display node alternately displays the second time length on each alarm information according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information.
The first time length is a preset threshold value of the shortest display time length of the alarm information, and for example, the first time length may be 2 seconds. The second time length is the preset display time length of the alarm information with a certain priority, and the priority is the priority of the first alarm information and the second alarm information. For example, the second time duration may be 4 seconds when the priority of the first alarm information and the second alarm information is the first priority, and the second time duration may be 3 seconds when the priority of the first alarm information and the second alarm information is the second priority, where the second priority is lower than the first priority.
In addition, when the alarm information is alternately displayed according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information, the alarm information may be displayed cyclically according to the receiving sequence. For example, it is assumed that the target alert information acquired by the display node includes not only the first alert information a1, the second alert information a2, but also the fifth alert information a 5. The notification messages corresponding to the three alarm messages are respectively a notification message corresponding to the fifth alarm message, a notification message corresponding to the second alarm message, and a notification message corresponding to the first alarm message. In this case, the display node may display the second time length for each alert information in a loop in the order of a5, a2, and a 1.
Optionally, if the display duration of the second alarm information reaches the first duration before the display node displays the first alarm information, after the display duration of the first alarm information is displayed for the second duration, the display node may not separately preferentially display the second alarm information, but directly display the second duration for each alarm information in an alternating and cyclic manner according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information. The method for displaying the second duration on each alarm information by the display node alternately and circularly according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information may refer to the method described above, and this is not described in detail in this embodiment of the present application.
Optionally, in the process of displaying the target alarm information in the above manner, if the target alarm information is alarm information to be solved or confirmed, the display node stops displaying the target alarm information after detecting confirmation signals or solution signals for all the target alarm information.
For example, the display node may detect whether a solution signal or a confirmation signal of each target alarm information is received in the process of alternately displaying each target alarm information. If the display node detects a confirmation signal or a solution signal for certain target alarm information, the display node can stop displaying corresponding target alarm information.
It should be noted that the display node stores in advance a mapping relationship between the processing method of the alarm information and the ID of the alarm information. The alarm information can be processed in a mode of waiting for confirmation, waiting for resolution or displaying the maximum display time. The processing modes of the alarm information can be divided according to the types of the alarm information. For example, the alarm information affecting the safe driving class can be divided into the alarm information to be solved, the alarm information of the fault class is divided into the alarm information to be confirmed, and the alarm information of the prompt class is divided into the alarm information displaying the maximum display time length. And if the alarm information is processed in a manner of waiting for resolution, indicating the display node to stop displaying the alarm information after detecting a resolution signal of the alarm information. And if the processing mode of the alarm information is to be confirmed, indicating the display node to stop displaying the alarm information after detecting a confirmation signal of the alarm information, and storing the alarm information into a new storage list. And if the processing mode of the alarm information is to display the maximum display time length, indicating that the display time length of the alarm information on the display node reaches the maximum display time length, stopping displaying the alarm information, and storing the alarm information into a storage list.
Based on this, the display node may obtain, from the mapping relationship, a processing manner corresponding to the ID of the target alarm information according to the ID of the target alarm information. If the processing mode of the target alarm information indicates that the target alarm information is the alarm information to be solved, the display node can detect whether a fault solving message containing the ID of the target alarm information is received, and if the fault solving message containing the ID of the target alarm information is received, the notification message corresponding to the target alarm information is acquired from the message queue, the notification message is deleted, and the target alarm information is stopped being displayed.
And if the processing mode of the target alarm information indicates that the target alarm information is the alarm information to be confirmed, a confirmation key of the target alarm information can be displayed when the display node displays the target alarm information. On the basis, the display node can detect whether the selection operation of the user on the confirmation key is received, and if the selection operation of the user on the confirmation key is received, the display node determines that a confirmation signal for the target alarm information is detected, and at the moment, the display node can stop displaying the target alarm information and store the target alarm information in the inventory list.
If the processing mode of the target alarm information indicates that the target alarm information is the alarm information displaying the maximum display time length, the display node can count time from the time when the target alarm information starts to be displayed, and stops displaying the target alarm information when the display time length reaches the maximum display time length, and stores the target alarm information in the inventory list.
Optionally, after stopping displaying all the alarm information in the above manner, if a plurality of alarm information corresponding to a plurality of notification messages in the message queue further includes third alarm information with a priority lower than that of the target alarm information, the display node may display the third alarm information after stopping displaying all the target alarm information.
Optionally, if the target alarm information includes the first alarm information and at least one sixth alarm information, but does not include the second alarm information, it is indicated that the priority of the first alarm information is higher than the priority of the second alarm information, in this case, if the display node displays the first alarm information before and the display duration of the second alarm information does not reach the first duration, after the display duration of the first alarm information is displayed, the display node preferentially displays the second duration for the second alarm information. And after the second time length is displayed on the second alarm information, the display node alternately displays the second time length on each alarm information according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information. And after each target alarm message is solved or confirmed, the display node displays a second alarm message. Of course, in some possible cases, if the second alarm information is the prompt type information, even if the display duration of the second alarm information does not reach the first duration, after the second duration is displayed for the first alarm information, the second alarm information may not be displayed any more, but each target alarm information is directly and alternately displayed.
Optionally, if the display duration of the second alarm information reaches the first duration before the display node displays the first alarm information, after the display duration of the first alarm information is displayed for the second duration, the display node does not display the second alarm information any more, but directly displays the second duration for each alarm information alternately according to the receiving sequence of the notification messages corresponding to each alarm information included in the target alarm information, until each target alarm information is solved or confirmed, and then displays the second alarm information again. That is, when the alarm information of high priority interrupts the alarm information of low priority, if the display duration of the alarm information of low priority does not reach the first duration, the alarm information of low priority can be preferentially displayed once after the alarm information of high priority is displayed. If the display duration of the low-priority alarm information reaches the first duration, the low-priority alarm information cannot be displayed after the high-priority alarm information is displayed, and the low-priority alarm information cannot be displayed again until each target alarm information is confirmed or solved.
Optionally, if the display type of the first alarm information is an immediate display type, the priority of the first alarm information is lower than the priority of the second alarm information, and the target alarm information includes the second alarm information and at least one fourth alarm information, it is indicated that the second alarm information and the at least one fourth alarm information, which are interrupted from being displayed, are alarm information with the highest priority among the plurality of alarm information. In this case, if the display time of the second alarm information does not reach the first time before the display node displays the first alarm information, the display node preferentially displays the second time for the second alarm information after the first alarm information displays the third time; and after the second alarm information is displayed, alternately displaying a second time length for each alarm information according to the receiving sequence of the notification messages respectively corresponding to the second alarm information and at least one fourth alarm information, and displaying the alarm information with the priority same as that of the first alarm information, including the first alarm information, until all target alarm information is solved or confirmed. When the alarm information of the priority of the first alarm information is displayed, the notification information can be alternately displayed according to the receiving sequence of the notification messages corresponding to the alarm information, which is not described in detail in the embodiment of the present application.
The third time length is the preset display time length of the alarm information with a certain priority, and the priority is the priority of the first alarm information. The third time period may be equal to the second time period, and may also be different from the second time period, which is not limited in this embodiment of the application.
Optionally, if the display duration of the second alarm information reaches the first duration before the first alarm information is displayed, after the first alarm information displays the third duration, the interrupted second alarm information is not displayed separately and preferentially, but the second duration is displayed for each alarm information directly and alternately according to the receiving sequence of the notification messages respectively corresponding to the second alarm information and the at least one fourth alarm information, until all target alarm information is solved or confirmed, and the display node displays the first alarm information and the alarm information having the same priority as the first alarm information again.
The method for alternately displaying the second time length on each alarm information by the display node according to the receiving sequence of the notification message corresponding to the second alarm information and the at least one fourth alarm information may refer to the method for alternately displaying the second time length on each alarm information according to the receiving sequence of the notification message corresponding to the target alarm information, which is described above, and is not described in detail herein.
It should be noted that, in the embodiment of the present application, the alarm information corresponding to the door opening prompt alarm, the overspeed alarm, and the seat belt alarm may interrupt any alarm information currently being displayed by the display node, that is, when the display node detects any one of the alarm information corresponding to the door opening alarm, the overspeed alarm, or the seat belt alarm, the display of the alarm information currently being displayed may be immediately stopped, and the alarm information may be displayed.
In addition, in the embodiment of the application, an icon for dialing a call can be displayed on the display node, when the display node detects that a user selects the icon, a number dialing window can be displayed, in addition, when the display node detects that an incoming call exists, an incoming call display window can be displayed, and when the call state is in a call state, a window in call can be displayed. But the display positions of the digital dialing window, the incoming call display window and the window in call on the display node are the same as the display position of the alarm information. In this case, if the alarm information currently being displayed on the display node is the alert information of the prompt type, when the display node detects a selection operation of a user on a dialing icon or detects an incoming call, the display of the alert information of the prompt type currently being displayed may be stopped, and a number dialing window or an incoming call display window may be displayed. In addition, when the terminal is in the window in the call, if the display node detects the prompt type alarm information, the display of the window in the call can be stopped, and the prompt type alarm information is displayed until all the prompt type alarm information is solved and confirmed or the display duration exceeds the maximum duration, and the window in the call is displayed again. That is, the digital dialing window and the incoming call display window can interrupt the display of the prompt alarm information, and the prompt alarm information can interrupt the display of the window in the call.
Optionally, if the alarm information currently displayed by the display node is alarm information affecting safe driving or fault alarm information, even if the display node detects a selection operation of a user on a dialing icon or detects an incoming call, the display node does not display a number dialing window or an incoming call display window, but continues to display the alarm information currently being displayed. That is, the digital dialing window and the incoming call display window cannot interrupt the display of the alarm information of the safe driving class and the alarm information of the fault class.
It should be noted that, in the embodiment of the present application, each alarm information is stored in the inventory list when being confirmed or the display duration reaches the maximum display duration. Based on the above, an inventory quantity indication icon containing an inventory value for indicating the quantity of the stored alarm information can be displayed on the display node. After a fault corresponding to certain alarm information stored in the inventory list is removed, subtracting 1 from an inventory value included in the indication icon, that is, the alarm information stored in the inventory list is the alarm information corresponding to the fault which is not removed currently. If the inventory list does not include any alarm information, the icon is not displayed on the display node.
In addition, after the vehicle is shut down, the display node can automatically clear each alarm message stored in the inventory list.
It should be noted that, as described above, a plurality of mapping relationships are stored in the display node, and each mapping relationship may be queried through the ID of the alarm information to obtain corresponding information, that is, each mapping relationship takes the ID of the alarm information as a key, based on which, in this embodiment of the present application, each mapping relationship in the display node may be recorded through one mapping relationship table, for example, may be represented by the mapping relationship table shown in fig. 3.
Next, operations performed based on the priorities of the first alert information and the second alert information, which are involved in the alert information display method provided above, will be described by way of specific examples. As shown in fig. 4, S1 is used for indicating first-level alarm information in alarm information affecting safe driving, S2 is used for indicating second-level alarm information in alarm information affecting safe driving, W1 is used for indicating first-level alarm information in fault alarm information, W2 is used for indicating second-level alarm information in fault alarm information, I1 is used for indicating first-level alarm information in prompt alarm information, and I2 is used for indicating second-level alarm information in prompt alarm information. The priority of alarm information of S1 and S2 is P1, the priority of alarm information of W1 and I1 is P2, and the priority of alarm information of W2 and I2 is P3. Wherein, P1> P2> P3. The alarm information currently being displayed by the display node may be any one of the alarm information included in the second column in fig. 4, that is, the second alarm information may be any one of the alarm information in the second column, and the alarm information currently detected by the display node may be any one of the alarm information included in the second row in fig. 4, that is, the first alarm information may be any one of the alarm information in the second row. Next, the alarm information display method described above will be described by describing 7 operations performed based on the priorities of the first alarm information and the second alarm information.
First, in fig. 4, action 1 indicates that the operation performed by the node is displayed when the priority of the first alarm information is P1 and the priority of the second alarm information is P2, and in this case, there are two cases:
(1) the alarm information indicated by the notification messages in the message queue of the display node is the alarm information with the priority P1.
In this case, when the display node detects the first alert information of priority P1, the display node may immediately interrupt the second alert information of priority P1 that is currently being displayed and display 4s for the first alert information. If the display duration of the interrupted second alarm information does not reach 2s, after 4s is displayed on the first alarm information, 4s is preferentially displayed on the interrupted second alarm information, and then 4s is alternately displayed on each alarm information according to the receiving sequence of the notification messages corresponding to the alarm information with the priority being P1. And if the display time length of the interrupted second alarm information reaches 2s, after the first alarm information is displayed for 4s, the alarm information is alternately displayed for 4s according to the receiving sequence of the notification messages corresponding to the alarm information with the priority P1.
(2) And displaying that alarm information with the priority of P2 exists in the alarm information indicated by the notification messages in the message queue of the node.
In this case, when the display node detects the first alert information of priority P1, the display node may immediately interrupt the second alert information of priority P1 that is currently being displayed and display 4s for the first alert information. And then, alternately displaying the alarm information with the priority P1 for 4s according to the receiving sequence of the notification message corresponding to the alarm information with the priority P1 in the plurality of alarm information until the alarm information with the priority P1 is solved or confirmed, and then displaying the alarm information with the priority P2 by the display node.
Second, in fig. 4, action 2 indicates that the operation performed by the node is displayed when the priority of the first alarm information is P2 and the priority of the second alarm information is P1, and in this case, there are two cases:
(1) the alarm information indicated by the notification messages in the message queue of the display node is the alarm information with the priority P1.
In this case, when the display node detects first alarm information with priority level P2, although the priority level of the first alarm information is lower than that of the second alarm information, since the display type of the first alarm information is an immediate display type, the display node may immediately interrupt alarm information with priority level P1 that is currently being displayed, and display 3s for the alarm information with priority level P2. If the display duration of the interrupted second alarm information does not reach 2s, displaying the interrupted second alarm information for 4s preferentially after displaying the first alarm information for 4 s. Then, the alarm information with the priority level P1 is alternately displayed for 4s in the order of reception of the notification messages corresponding to the alarm information with the priority level P1. If the interrupted second alarm information with the priority of P1 has reached the display duration of 2s, after the first alarm information is displayed for 4s, the alarm information with the priority of P1 is alternately displayed for 4s directly according to the receiving sequence of the notification messages corresponding to the alarm information with the priorities of P1, and until the alarm information with the priority of P1 is solved or confirmed, the display node displays the alarm information with the priority of P2 again.
(2) And displaying that alarm information with the priority of P2 exists in the alarm information indicated by the notification messages in the message queue of the node.
In this case, when the display node detects the first alarm information with priority P2, since the display type of the first alarm information is the immediate display type, the display node may immediately interrupt the alarm information with priority P1 that is currently being displayed, and display 3s for the first alarm information with priority P2. And then, the display node alternately displays 4s for each alarm information with the priority level of P1 according to the receiving sequence of the notification message corresponding to the alarm information with the priority level of P1 in the plurality of alarm information, and the display node alternately displays 4s for each alarm information with the priority level of P2 according to the receiving sequence of the notification message corresponding to the alarm information with the priority level of P2 in the plurality of alarm information until each alarm information with the priority level of P1 is solved or confirmed.
Third, in fig. 4, action 3 indicates that the operation performed by the node is displayed when the priority of the first alarm information is P3 and the priority of the second alarm information is P3.
In this case, when the display node detects the first alert information with priority P3, the display node may immediately interrupt the second alert information with priority P3 that is currently being displayed and display 4s for the first alert information. If the display duration of the interrupted second alarm information does not reach 2s, displaying the interrupted second alarm information for 4s preferentially after displaying the first alarm information for 4 s. Then, the alarm information items are alternately displayed for 4s in the order of reception of the notification messages corresponding to the alarm information items each having the priority P3. And if the display time length of the interrupted second alarm information reaches 2s, after the first alarm information is displayed for 4s, the alarm information is alternately displayed for 4s according to the receiving sequence of the notification messages corresponding to the alarm information with the priority P3.
Action 4 in fig. 4 indicates that the operation performed by the display node is performed when the priority of the first alarm information is P1 and the priority of the second alarm information is P2, and in this case, there are two cases:
(1) the alarm information indicated by the notification messages in the message queue of the display node is the alarm information with the priority P2.
In this case, when the display node detects the first alarm information with priority P1, the display node may immediately interrupt the second alarm information with priority P2 that is currently being displayed, and the display node may continue to display the first alarm information with priority P1 until the first alarm information with priority P1 is resolved, and then stop displaying the first alarm information. If the display duration of the interrupted second alarm information with the priority level of P2 does not reach 2s, after the display of the first alarm information is stopped, the interrupted second alarm information is preferentially displayed for 4 s. Then, the alarm information is displayed for 4s alternately in the order of reception of the notification messages corresponding to the alarm information of which the priority is P2. And if the interrupted display time length of the second alarm information with the priority P2 reaches 2s, after the first alarm information is stopped being displayed, directly and alternately displaying the alarm information for 4s according to the receiving sequence of the notification messages corresponding to the alarm information with the priority P2.
(2) And displaying that alarm information with the priority of P1 exists in the alarm information indicated by the notification messages in the message queue of the node.
In this case, when the display node detects the first alert information of priority P1, the display node may immediately interrupt the second alert information of priority P2 that is currently being displayed and display 4s for the first alert information. If the display duration of the interrupted second alarm information with the priority level of P2 does not reach 2s, after the first alarm information is displayed, the interrupted second alarm information is preferentially displayed for 4 s. And then, alternately displaying the alarm information with the priority P1 for 4s according to the receiving sequence of the notification message corresponding to the alarm information with the priority P1 in the plurality of alarm information until the alarm information with the priority P1 is solved or confirmed, and then displaying the alarm information with the priority P2 by the display node. If the interrupted second alarm information with the priority of P2 is I1 type alarm information, the display node can not display the alarm information any more.
Fifth, in fig. 4, action 5 indicates that the operation performed by the node is displayed when the priority of the first alarm information is P2 and the priority of the second alarm information is P2, and in this case, there are two cases:
(1) the alarm information indicated by the notification messages in the message queue of the display node is the alarm information with the priority P2.
In this case, when the display node detects the first alert information with priority P2, the display node may immediately interrupt the alert information with priority P2 that is currently being displayed and display 4s for the first alert information. If the display duration of the interrupted second alarm information does not reach 2s, displaying the interrupted second alarm information for 4s preferentially after displaying the first alarm information for 4 s. Then, the alarm information items are alternately displayed for 4s in the order of reception of the notification messages corresponding to the alarm information items each having the priority P2. And if the display duration of the interrupted second alarm information reaches 2s, after the first alarm information is displayed for 4s, the alarm information is alternately displayed for 4s directly according to the receiving sequence of the notification messages corresponding to the alarm information with the priority P2.
(2) And displaying that alarm information with the priority of P1 exists in the alarm information indicated by the notification messages in the message queue of the node.
In this case, when the display node detects the first alert information with priority P2, the display node may immediately interrupt the alert information with priority P2 that is currently being displayed, and display 3s for the alert information with priority P2. If the display duration of the interrupted second alarm information with the priority level of P2 does not reach 2s, after 4s of first alarm information is displayed, 3s of the interrupted second alarm information is preferentially displayed. And then, alternately displaying the alarm information with the priority P1 for 4s according to the receiving sequence of the notification messages corresponding to the alarm information with the priority P1, until the alarm information with the priority P1 is solved or confirmed, and then displaying the alarm information with the priority P2 by the display node. If the interrupted display duration of the second alarm information with priority P2 has reached 2s, after the first alarm information is displayed, the alarm information with priority P1 is alternately displayed for 4s directly according to the receiving sequence of the notification messages corresponding to the alarm information with multiple priority P1, until the alarm information with priority P1 is solved or confirmed, and the display node displays the alarm information with priority P2 again.
Sixth, in fig. 4, action 6 indicates that the operation performed by the node is displayed when the priority of the first alarm information is P1 or P2, and the priority of the second alarm information is P3.
In this case, when a display node detects first alert information of priority P1 or priority P2, the display node may immediately interrupt second alert information of priority P3 that is currently being displayed and display the first alert information of priority P1 or priority P2 until the first alert information of priority P1 or priority P2 is resolved, confirmed, or displayed for a maximum display duration, and stop displaying the first alert information. If the display duration of the interrupted second alarm information with the priority level of P3 does not reach 2s, after the display of the first alarm information is stopped, the interrupted second alarm information is preferentially displayed for 4 s. Then, the alarm information with the priority level P3 is alternately displayed for 4s in the order of reception of the notification messages corresponding to the alarm information with the priority level P3. If the interrupted display time length of the second alarm information with the priority P3 has reached 2s, after the first alarm information is stopped being displayed, the alarm information with the priority P3 is displayed for 4s alternately according to the receiving sequence of the notification messages corresponding to the alarm information with the priority P3.
Seventhly, action 7 in fig. 4 shows that when the priority of the first alarm information is P3, and the priority of the second alarm information is P1 or P2, the operation executed by the node is displayed.
In this case, when the display node detects the first alarm information with priority P3, the display node continues to display the alarm information with priority P1 or priority P2 that is currently being displayed, and stops displaying the alarm information with priority P1 or priority P2 and displays the first alarm information with priority P3 until all the alarm information with priority P1 or priority P2 are solved, confirmed or the display duration reaches the maximum display duration. That is, the alert information of priority P3 cannot interrupt the display of alert information of priority P1 or P2.
In the embodiment of the application, when a notification message indicating first alert information is detected in a message queue, a display type of the first alert information may be acquired. And if the display type of the first alarm information is an immediate display type or the priority of the first alarm information is not lower than that of the second alarm information currently being displayed, stopping displaying the second alarm information and displaying the first alarm information. Therefore, in the embodiment of the application, the alarm information can be displayed based on the display type of the currently detected alarm information, that is, when the display type of the currently detected alarm information is the immediate display type, even if the priority of the alarm information is lower than the priority of the alarm information currently being displayed, the currently displayed alarm information can still be interrupted, and the detected alarm information starts to be displayed. Or when the priority of the currently detected alarm information is not lower than the currently displayed alarm information, the currently displayed alarm information can be interrupted to display the detected alarm information, so that a user can see all the alarm information in time, and the probability of accidents is reduced.
Secondly, after the first alarm information is displayed, the display node can also alternately and circularly display each piece of target alarm information with the highest priority in the plurality of alarm information according to the receiving sequence of the corresponding notification message. Therefore, the user can see the alarm information corresponding to the unsolved or unconfirmed fault in real time, the vehicle is controlled according to the alarm information, and accidents can be avoided to a great extent.
In addition, in the embodiment of the application, the buzzer can also give a corresponding sound alarm while the alarm information is displayed, so that the user is reminded in various ways, and accidents caused by negligence of the user can be avoided to a great extent.
Next, an alarm information display device provided in an embodiment of the present application will be described.
Referring to fig. 5, an alarm information display apparatus 500 according to an embodiment of the present application is provided, where the apparatus 500 includes: an acquisition module 501 and a display module 502.
An obtaining module 501, configured to obtain a display type of first alarm information when a notification message indicating the first alarm information is detected in a message queue, where the message queue includes a plurality of received notification messages, the notification messages correspond to the alarm information one-to-one, and each alarm information corresponds to a priority;
the display module 502 is configured to stop displaying the second alarm information and display the first alarm information if the display type of the first alarm information is an immediate display type or the priority of the first alarm information is not lower than the priority of the second alarm information currently being displayed;
the obtaining module 501 is further configured to obtain at least one target alarm information with the highest priority among the plurality of alarm information;
the display module 502 is further configured to display at least one target alert information after the first alert information is displayed.
Optionally, if the target alert information includes first alert information and second alert information, the display module 502 is further configured to:
if the display duration of the second alarm information does not reach the first duration, displaying the second duration on the second alarm information after displaying the second duration on the first alarm information;
and after the second alarm information is displayed, alternately displaying a second time length for each alarm information according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information.
Optionally, if the target alarm information is alarm information to be solved or confirmed, and the plurality of alarm information further includes third alarm information with a priority lower than that of the target alarm information, the apparatus 500 is further configured to:
and when the confirmation signal or the solution signal or the display duration of the target alarm information is detected to reach the maximum display duration, stopping displaying the target alarm information and displaying third alarm information.
Optionally, if the display type of the first alarm information is an immediate display type, the priority of the first alarm information is lower than the priority of the second alarm information, and the target alarm information includes the second alarm information and at least one fourth alarm information, the display module 502 is further configured to:
if the display duration of the second alarm information does not reach the first duration, displaying a second duration for the second alarm information after the first alarm information displays a third duration;
and after the second alarm information is displayed, alternately displaying a second duration for each alarm information according to the receiving sequence of the notification messages respectively corresponding to the second alarm information and the at least one fourth alarm information.
Optionally, the apparatus 500 is further configured to:
when a confirmation signal or a solution signal of the target alarm information is detected, the display of the target alarm information is stopped, and the alarm information of which the priority is the priority of the first alarm information in the plurality of alarm information is displayed.
In summary, in the embodiment of the present application, when a notification message indicating first alert information is detected in a message queue, a display type of the first alert information may be acquired. And if the display type of the first alarm information is an immediate display type or the priority of the first alarm information is not lower than that of the second alarm information currently being displayed, stopping displaying the second alarm information and displaying the first alarm information. Therefore, in the embodiment of the application, the alarm information can be displayed based on the display type of the currently detected alarm information, that is, when the display type of the currently detected alarm information is an immediate display type, even if the priority of the alarm information is lower than the priority of the alarm information currently being displayed, the currently displayed alarm information can still be interrupted, and the detected alarm information starts to be displayed. Or when the priority of the currently detected alarm information is not lower than the currently displayed alarm information, the currently displayed alarm information can be interrupted to display the detected alarm information, so that a user can see all the alarm information in time, and the probability of accidents is reduced.
It should be noted that, when the alarm information display apparatus provided in the foregoing embodiment displays the alarm information, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the alarm information display device and the alarm information display method provided by the above embodiment belong to the same concept, and the specific implementation process is described in detail in the method embodiment, which is not described herein again.
Fig. 6 is a block diagram illustrating a structure of a display apparatus 600 according to an exemplary embodiment. The display node in the above embodiment can be implemented by the display device 600.
In general, the display device 600 includes: a processor 601 and a memory 602.
The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 601 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. Memory 602 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 602 is used to store at least one instruction, where the at least one instruction is used to be executed by processor 601 to implement the alert information display method provided by the method embodiments of the present application.
In some embodiments, the display device 600 may further include: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 604, display 605, positioning component 606, and power supply 607.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 604 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 604 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 604 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 604 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display 605 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 605 is a touch display screen, the display screen 605 also has the ability to capture touch signals on or over the surface of the display screen 605. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display 605 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 605 may be one, disposed on the front panel of the display device 600; in other embodiments, the display screen 605 may be at least two, respectively disposed on different surfaces of the display device 600 or in a folded design; in some embodiments, the display 605 may be a flexible display disposed on a curved surface or on a folded surface of the display device 600. Even more, the display 605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 605 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like. It should be noted that, in the embodiment of the present application, when the display device 600 is a landscape screen, the aspect ratio of the display screen of the display device 600 is greater than 1, for example, the aspect ratio of the display screen of the display device 600 may be 16:9 or 4: 3. When the display device 600 is a portrait screen, the aspect ratio of the display screen of the display device 600 is less than 1, for example, the aspect ratio of the display screen of the display device 600 may be 9:18 or 3:4, etc.
The positioning component 606 is used to position the current geographic Location of the display device 600 to implement navigation or LBS (Location Based Service). The Positioning component 606 can be a GPS (Global Positioning System), a beidou System, or a galileo System based Positioning component.
The power supply 607 is used to supply power to the various components in the display device 600. The power supply 607 may be ac, dc, disposable or rechargeable. When power supply 607 includes 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 display device 600 also includes one or more sensors.
That is, not only is an embodiment of the present application provide a display device including a processor and a memory for storing processor-executable instructions, wherein the processor is configured to execute the alert information display method shown in fig. 2, but also an embodiment of the present application provides a computer-readable storage medium having stored therein a computer program which, when executed by the processor, can implement the alert information display method shown in fig. 2.
Those skilled in the art will appreciate that the configuration shown in FIG. 6 does not constitute a limitation of display device 600, which may include more or fewer components than shown, or some components may be combined, or a different arrangement of components may be used.
The embodiment of the application further provides a non-transitory computer-readable storage medium, and when instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the alarm information display method provided by the above embodiment.
The embodiment of the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the alarm information display method provided in the embodiment shown in fig. 2.
It should be noted that the information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data), and signals referred to in the embodiments of the present application are authorized by the user or fully authorized by various parties, and the collection, use, and processing of the relevant data need to comply with relevant laws and regulations and standards in relevant countries and regions.
The above description should not be taken as limiting the embodiments of the present application, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the embodiments of the present application should be included in the scope of the embodiments of the present application.

Claims (10)

1. A warning information display method, characterized by comprising:
when a notification message used for indicating first alarm information is detected in a message queue, acquiring the display type of the first alarm information, wherein the message queue comprises a plurality of received notification messages, the notification messages are in one-to-one correspondence with the alarm information, and each alarm information corresponds to a priority;
if the display type of the first alarm information is an immediate display type or the priority of the first alarm information is not lower than the priority of second alarm information currently being displayed, stopping displaying the second alarm information and displaying the first alarm information;
acquiring at least one target alarm information with the highest priority in the plurality of alarm information;
and after the first alarm information is displayed, displaying the at least one target alarm information.
2. The method of claim 1, wherein if the target alert information includes the first alert information and the second alert information, the displaying the at least one target alert information after displaying the first alert information includes:
if the display duration of the second alarm information does not reach the first duration, displaying the second duration on the second alarm information after displaying the second duration on the first alarm information;
and after the second alarm information is displayed, alternately displaying the second duration for each alarm information according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information.
3. The method of claim 2, wherein if the target alert information is alert information to be resolved or confirmed, and the plurality of alert information further includes third alert information having a lower priority than the target alert information, the method further comprises:
and when a confirmation signal or a solution signal or a display duration of the target alarm information is detected to reach the maximum display duration, stopping displaying the target alarm information, and displaying the third alarm information.
4. The method of claim 1, wherein if the display type of the first alert information is an immediate display type, and the priority of the first alert information is lower than the priority of the second alert information, and the target alert information includes the second alert information and at least one fourth alert information, the displaying the at least one target alert information after displaying the first alert information includes:
if the display duration of the second alarm information does not reach the first duration, displaying a second duration on the second alarm information after the first alarm information displays a third duration;
and after the second alarm information is displayed, alternately displaying the second duration for each alarm information according to the receiving sequence of the notification messages respectively corresponding to the second alarm information and the at least one fourth alarm information.
5. The method of claim 4, further comprising:
and when a confirmation signal or a solution signal of the target alarm information is detected, stopping displaying the target alarm information, and displaying alarm information of which the priority is the priority of the first alarm information in the plurality of alarm information.
6. An alarm information display device, characterized in that the device comprises:
the alarm information display method comprises the steps that an obtaining module is used for obtaining the display type of first alarm information when a notification message used for indicating the first alarm information is detected in a message queue, the message queue comprises a plurality of received notification messages, the notification messages correspond to the alarm information one by one, and each alarm information corresponds to a priority;
the display module is used for stopping displaying the second alarm information and displaying the first alarm information if the display type of the first alarm information is an immediate display type or the priority of the first alarm information is not lower than the priority of the second alarm information currently being displayed;
the acquisition module is further configured to acquire at least one target alarm information with the highest priority among the plurality of alarm information;
the display module is further configured to display the at least one piece of target alarm information after the first alarm information is displayed.
7. The apparatus of claim 6, wherein if the target alert information includes the first alert information and the second alert information, the display module is further configured to:
if the display duration of the second alarm information does not reach the first duration, displaying the second duration on the second alarm information after displaying the second duration on the first alarm information;
and after the second alarm information is displayed, alternately displaying the second duration for each alarm information according to the receiving sequence of the notification message corresponding to each alarm information included in the target alarm information.
8. The apparatus of claim 7, wherein if the target alert information is alert information to be resolved or confirmed, and the plurality of alert information further includes third alert information having a lower priority than the target alert information, the apparatus is further configured to:
and when a confirmation signal or a solution signal or a display duration of the target alarm information is detected to reach the maximum display duration, stopping displaying the target alarm information, and displaying the third alarm information.
9. The apparatus of claim 6, wherein if the display type of the first alert information is an immediate display type, the priority of the first alert information is lower than the priority of the second alert information, and the target alert information includes the second alert information and at least one fourth alert information, the display module is further configured to:
if the display duration of the second alarm information does not reach the first duration, displaying a second duration on the second alarm information after the first alarm information displays a third duration;
and after the second alarm information is displayed, alternately displaying the second duration for each alarm information according to the receiving sequence of the notification messages respectively corresponding to the second alarm information and the at least one fourth alarm information.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when executed by a computer, the computer program implements the alarm information display method according to any one of claims 1 to 5.
CN202210358512.XA 2022-04-06 2022-04-06 Alarm information display method, device and storage medium Pending CN114801736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210358512.XA CN114801736A (en) 2022-04-06 2022-04-06 Alarm information display method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210358512.XA CN114801736A (en) 2022-04-06 2022-04-06 Alarm information display method, device and storage medium

Publications (1)

Publication Number Publication Date
CN114801736A true CN114801736A (en) 2022-07-29

Family

ID=82534627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210358512.XA Pending CN114801736A (en) 2022-04-06 2022-04-06 Alarm information display method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114801736A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115938085A (en) * 2023-03-13 2023-04-07 青岛安工数联信息科技有限公司 Alarm method and device applied to process industry, storage medium and processor
CN116909024A (en) * 2023-07-26 2023-10-20 江苏泽景汽车电子股份有限公司 Image display method, device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115938085A (en) * 2023-03-13 2023-04-07 青岛安工数联信息科技有限公司 Alarm method and device applied to process industry, storage medium and processor
CN116909024A (en) * 2023-07-26 2023-10-20 江苏泽景汽车电子股份有限公司 Image display method, device, electronic equipment and storage medium
CN116909024B (en) * 2023-07-26 2024-02-09 江苏泽景汽车电子股份有限公司 Image display method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114801736A (en) Alarm information display method, device and storage medium
CN108665678B (en) Rescue requesting method and device
CN110341549B (en) Monitoring method and device for automobile storage battery and storage medium
CN103401991B (en) A kind of method and apparatus that the communication event of terminal unit is pointed out
US20090104944A1 (en) Method and Apparatus for Managing Ring Tones in a Mobile Device
EP2866215A1 (en) Touch screen terminal and alarm method thereof
US7994913B2 (en) Systems and methods for preventing accessory loss
KR20150026651A (en) Method for presenting a notification and an electronic device thereof
US11295614B2 (en) Method for processing message and electronic device implementing the same
CN112269614A (en) Message processing method and device and electronic equipment
Jose et al. Arm 7 based accident alert and vehicle tracking system
JP6232057B2 (en) Management device
CN106302101B (en) Message reminding method, terminal and server
CN109446435B (en) Information display apparatus, method, system, and computer-readable storage medium
CN106412340A (en) Mobile terminal and notification information processing method and device thereof
CN105827811A (en) Anti-theft method, mobile terminal and wearable device
CN210574242U (en) Mobile terminal reminding device, system, mobile terminal and vehicle
EP1788826A1 (en) Communication terminal, position notification method, and communication system
CN115016713B (en) Travel event subscription method and electronic equipment
CN109064722A (en) arrival reminding method and device
CN113781731B (en) Alarm method and device
CN112805690A (en) Display screen detection method and device, electronic equipment and computer readable storage medium
CN110149444B (en) Message reminding method and device, storage medium and electronic equipment
US8504033B2 (en) Emergency message transmission method and electronic device implementing the method
EP3723353A1 (en) Information processing method and device, terminal, 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