CN111301167A - Instrument alarm information display method - Google Patents
Instrument alarm information display method Download PDFInfo
- Publication number
- CN111301167A CN111301167A CN202010132531.1A CN202010132531A CN111301167A CN 111301167 A CN111301167 A CN 111301167A CN 202010132531 A CN202010132531 A CN 202010132531A CN 111301167 A CN111301167 A CN 111301167A
- Authority
- CN
- China
- Prior art keywords
- alarm
- display
- serial number
- queue
- view layer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 230000004913 activation Effects 0.000 claims description 18
- 238000011084 recovery Methods 0.000 claims description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60K—ARRANGEMENT 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/00—Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a method for displaying alarm information of an instrument, which comprises the following steps: the service layer sends an alarm serial number, a text serial number and display parameters to the view layer, the view layer loads alarm resource display according to the text serial number, and simultaneously starts a timer with minimum display time; after the view layer judges the minimum display time, the view layer sends the message currently being displayed by the alarm to the service layer and enters a fixed display period; the service layer sends the alarm mark state in the alarm queue to the view layer, and the view layer synchronizes the alarm mark of the view layer; after the view layer judges that the fixed display period of the current alarm is finished, the view layer sends a message that the current alarm display is finished to the service layer; and the service layer sends a mark that the display period of the current alarm is finished to the view layer. The invention realizes the accurate display of the alarm information of the instrument.
Description
Technical Field
The invention relates to the technical field of automobile instruments, in particular to an instrument alarm information display method.
Background
The meter is an important part for displaying automobile state information (such as speed, alarm and the like), and is a window for information interaction between a driver and an automobile. The traditional instrument adopts mechanical display or code breaking liquid crystal display to display, along with the increasing of automobile functions, the information required to be displayed is also increasing, and the virtual instrument based on an operating system is more and more common. However, excessive warning information display may interfere with the driver's acquisition of important information.
Therefore, a warning information display method is needed to help the driver to obtain information.
Disclosure of Invention
The invention provides a method for displaying instrument alarm information, which aims to overcome the defects in the prior art and realize accurate display of the instrument alarm information.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
the invention provides a method for displaying alarm information of an instrument, which comprises the following steps:
step 1, a service layer sends an alarm serial number, a text serial number and display parameters to a view layer, wherein the display parameters comprise a fixed display period of alarm, a brand-new alarm mark and a display activation state, the brand-new alarm mark comprises a brand-new alarm effective mark and a brand-new alarm failure mark, and the display activation state comprises a display activation effective state and a display activation invalid state;
step 2, the view layer loads alarm resource display according to the text serial number, and simultaneously starts a timer with minimum display time;
step 3, the view layer judges whether the minimum display time is finished, if so, a first preset message is sent to the service layer, and a fixed display period is entered, otherwise, the step is repeatedly executed, and the first preset message is that the current alarm is in display;
step 4, after receiving the first preset message, the service layer sends an alarm mark state in an alarm queue to the view layer, and the view layer synchronizes the alarm mark of the view layer;
step 5, the view layer starts a timer with a fixed display period for current alarm;
step 6, the view layer judges whether the fixed display period of the current alarm is finished, if yes, a second preset message is sent to the service layer, the next step is carried out, otherwise, the step is repeatedly executed, and the second preset message is used for finishing the display of the current alarm;
and 7, the service layer sends a mark that the display period of the current alarm is finished to the view layer, and returns to the step 1.
Further, after step 4 and before step 5, the method further comprises:
and 4A, judging whether a new alarm is inserted in the minimum display time of the current alarm by the view, if so, terminating the timer of the fixed display period of the current alarm, and entering a step 7, otherwise, entering the next step.
Further, after step 7, the method further comprises:
step 8, the view layer judges whether alarm canceling operation exists, if yes, a cancel alarm queue is generated and sent to the service layer, and the cancel alarm queue comprises at least one alarm serial number needing to cancel display;
step 9, the view layer judges whether the minimum display time of the current alarm is finished, if so, a third preset message is sent to the service layer, otherwise, after the minimum display time is finished, the third preset message is sent to the service layer, and simultaneously, a timer for recovering the alarm is started, wherein the third preset message is that the minimum display time is finished;
step 10, after receiving the third preset message, the service layer judges whether an alarm canceling queue sent by the view layer is not empty, if so, the service layer memorizes the current alarm state and deletes the alarm serial number contained in the alarm canceling queue in the alarm queue;
and step 11, the service layer sends a display activation failure mark of the current alarm to the view layer, and the step 1 is returned.
Further, after step 11, the method further comprises:
step 12, the view layer empties the alarm canceling queue after a first preset time, and sends an alarm restoring message to a service layer;
and step 13, after receiving the alarm recovery message, the service layer sends a display activation effective mark to the view layer, reads the alarm serial number, the text serial number and the display parameter corresponding to the memorized interrupt alarm, and returns to the step 1.
Specifically, the generating a cancel alarm queue includes: if only the current alarm is cancelled, the alarm serial number needing to be cancelled is the serial number of the current alarm; if the alarm waiting to be displayed in the current alarm and the alarm queue is cancelled, the alarm serial number needing to be cancelled is the serial number of the current alarm and the alarm serial number waiting to be displayed in the alarm queue.
Specifically, the alarm cancellation queue includes an alarm serial number, a text serial number corresponding to the alarm serial number, and a queue length.
Specifically, the emptying the cancellation alarm queue includes: and sending a message with an empty alarm serial number, an empty text serial number corresponding to the alarm serial number and a queue length of 0 to the service layer.
Specifically, the first preset time is 60 seconds.
The invention has the beneficial effects that: the invention sends alarm serial number, text serial number and display parameter to the view layer through the service layer, and adds the minimum display time and the fixed display period timer, the view layer sends the alarm mark state in the alarm queue, after the view layer judges that the fixed display period of the current alarm is finished, the view layer sends the information that the current alarm display is finished to the service layer, and the service layer sends the mark that the display period of the current alarm is finished to the view layer, thereby realizing the accurate display of the alarm information of the instrument.
Drawings
FIG. 1 is a flow chart diagram of a meter alarm information display method of the present invention.
Detailed Description
The embodiments of the present invention will be described in detail with reference to the accompanying drawings, which are for reference and illustrative purposes only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a method for displaying alarm information of an instrument, which comprises the following steps:
step 1, a service layer sends an alarm serial number, a text serial number and display parameters to a view layer, wherein the display parameters comprise a fixed display period of alarm, a brand-new alarm mark and a display activation state, the brand-new alarm mark comprises a brand-new alarm effective mark and a brand-new alarm failure mark, and the display activation state comprises a display activation effective state and a display activation invalid state.
In this embodiment, the service layer is a middleware service layer of an operating system (e.g., QNX), and includes a mapping table of an alarm serial number and a text serial number; the view layer is used for human-computer interaction logic and image display, and can also comprise video animation processing.
The alarm serial number is the only alarm identification number triggered by the vehicle body signal, and each alarm corresponds to one alarm serial number; the text serial number is the serial number of the display text of the view layer and has a corresponding relation with the alarm serial number.
The fixed display period is the time required for a single alarm to be fully displayed.
In specific implementation, true represents a brand-new alarm valid mark, namely a brand-new alarm, and false represents a brand-new alarm invalid mark, namely a brand-new alarm.
In the implementation, true indicates that the active state is displayed, that is, the current alarm is being displayed, and false indicates that the active state is not displayed, that is, the current alarm is completely displayed.
And 2, loading alarm resource display by the view layer according to the text sequence number, and starting a timer with minimum display time.
In this embodiment, unlike the prior art, this step further includes setting a timer for the minimum display time. The minimum display time is the shortest time that each alarm needs to be displayed, and the current alarm display is not allowed to be interrupted within the minimum display time, so that the problem of screen flash is avoided.
The minimum display time is less than the fixed display period.
And 3, the view layer judges whether the minimum display time is finished, if so, a first preset message is sent to the service layer, and a fixed display period is entered, otherwise, the step is repeatedly executed, and the first preset message is that the current alarm is in display.
And 4, after receiving the first preset message, the service layer sends the alarm mark state in the alarm queue to the view layer, and the view layer synchronizes the alarm mark of the view layer.
In the alarm queue, the alarm mark states include true and false, the alarm mark waiting for display and not yet displayed is true, and the alarm mark which is being displayed or has been displayed is false.
And 5, starting a timer with a fixed display period for current alarm by the view layer.
And 6, the view layer judges whether the fixed display period of the current alarm is finished, if so, a second preset message is sent to the service layer, the next step is carried out, otherwise, the step is repeatedly executed, and the second preset message is used for finishing the display of the current alarm.
And 7, the service layer sends a mark that the display period of the current alarm is finished to the view layer, and returns to the step 1.
The display period is the actual display time of the alarm.
In another embodiment of the present invention, after step 4 and before step 5, further comprising:
and 4A, judging whether a new alarm is inserted in the minimum display time of the current alarm by the view, if so, terminating the timer of the fixed display period of the current alarm, and entering a step 7, otherwise, entering the next step.
In another embodiment of the present invention, after step 7, the method further comprises:
and 8, judging whether alarm canceling operation exists in the view layer, if so, generating an alarm canceling queue and sending the alarm canceling queue to the service layer, wherein the alarm canceling queue comprises at least one alarm serial number needing to cancel display.
The generating of the cancellation alarm queue comprises: if only the current alarm is cancelled, the alarm serial number needing to be cancelled is the serial number of the current alarm; if the alarm waiting to be displayed in the current alarm and the alarm queue is cancelled, the alarm serial number needing to be cancelled is the serial number of the current alarm and the alarm serial number waiting to be displayed in the alarm queue.
The alarm canceling queue comprises an alarm serial number, a text serial number corresponding to the alarm serial number and a queue length.
And 9, the view layer judges whether the minimum display time of the current alarm is finished, if so, a third preset message is sent to the service layer, otherwise, after the minimum display time is finished, the third preset message is sent to the service layer, and meanwhile, a timer for recovering the alarm is started, wherein the third preset message is that the minimum display time is finished.
Step 10, after receiving the third preset message, the service layer judges whether a warning canceling queue sent by the view layer is not empty, if yes, the service layer memorizes the current warning state, and deletes a warning serial number contained in the warning canceling queue in the warning queue.
And step 11, the service layer sends a display activation failure mark of the current alarm to the view layer, and the step 1 is returned.
In another embodiment of the present invention, the method further comprises:
and step 12, emptying the alarm canceling queue after the view layer is in a first preset time, and sending an alarm restoring message to a service layer.
The first preset time is 60 seconds.
The emptying of the cancellation alarm queue comprises: and sending a message with an empty alarm serial number, an empty text serial number corresponding to the alarm serial number and a queue length of 0 to the service layer.
And step 13, after receiving the alarm recovery message, the service layer sends a display activation effective mark to the view layer, reads the alarm serial number, the text serial number and the display parameter corresponding to the memorized interrupt alarm, and returns to the step 1.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention.
Claims (8)
1. A method for displaying alarm information of a meter is characterized by comprising the following steps:
step 1, a service layer sends an alarm serial number, a text serial number and display parameters to a view layer, wherein the display parameters comprise a fixed display period of alarm, a brand-new alarm mark and a display activation state, the brand-new alarm mark comprises a brand-new alarm effective mark and a brand-new alarm failure mark, and the display activation state comprises a display activation effective state and a display activation invalid state;
step 2, the view layer loads alarm resource display according to the text serial number, and simultaneously starts a timer with minimum display time;
step 3, the view layer judges whether the minimum display time is finished, if so, a first preset message is sent to the service layer, and a fixed display period is entered, otherwise, the step is repeatedly executed, and the first preset message is that the current alarm is in display;
step 4, after receiving the first preset message, the service layer sends an alarm mark state in an alarm queue to the view layer, and the view layer synchronizes the alarm mark of the view layer;
step 5, the view layer starts a timer with a fixed display period for current alarm;
step 6, the view layer judges whether the fixed display period of the current alarm is finished, if yes, a second preset message is sent to the service layer, the next step is carried out, otherwise, the step is repeatedly executed, and the second preset message is used for finishing the display of the current alarm;
and 7, the service layer sends a mark that the display period of the current alarm is finished to the view layer, and returns to the step 1.
2. The meter alarm information display method according to claim 1, further comprising, after step 4 and before step 5:
and 4A, judging whether a new alarm is inserted in the minimum display time of the current alarm by the view, if so, terminating the timer of the fixed display period of the current alarm, and entering a step 7, otherwise, entering the next step.
3. The meter alert information display method according to claim 2, further comprising, after step 7:
step 8, the view layer judges whether alarm canceling operation exists, if yes, a cancel alarm queue is generated and sent to the service layer, and the cancel alarm queue comprises at least one alarm serial number needing to cancel display;
step 9, the view layer judges whether the minimum display time of the current alarm is finished, if so, a third preset message is sent to the service layer, otherwise, after the minimum display time is finished, the third preset message is sent to the service layer, and simultaneously, a timer for recovering the alarm is started, wherein the third preset message is that the minimum display time is finished;
step 10, after receiving the third preset message, the service layer judges whether an alarm canceling queue sent by the view layer is not empty, if so, the service layer memorizes the current alarm state and deletes the alarm serial number contained in the alarm canceling queue in the alarm queue;
and step 11, the service layer sends a display activation failure mark of the current alarm to the view layer, and the step 1 is returned.
4. The meter alert information display method according to claim 3, further comprising, after step 11:
step 12, the view layer empties the alarm canceling queue after a first preset time, and sends an alarm restoring message to a service layer;
and step 13, after receiving the alarm recovery message, the service layer sends a display activation effective mark to the view layer, reads the alarm serial number, the text serial number and the display parameter corresponding to the memorized interrupt alarm, and returns to the step 1.
5. The meter alert information display method of claim 3, wherein the generating a cancel alert queue includes: if only the current alarm is cancelled, the alarm serial number needing to be cancelled is the serial number of the current alarm; if the alarm waiting to be displayed in the current alarm and the alarm queue is cancelled, the alarm serial number needing to be cancelled is the serial number of the current alarm and the alarm serial number waiting to be displayed in the alarm queue.
6. The meter alarm information display method according to claim 5, wherein the cancellation alarm queue includes an alarm serial number, a text serial number corresponding to the alarm serial number, and a queue length.
7. The meter alert information display method according to claim 4, wherein the emptying of the cancellation alert queue includes: and sending a message with an empty alarm serial number, an empty text serial number corresponding to the alarm serial number and a queue length of 0 to the service layer.
8. The instrument alarm information display method according to any one of claims 4 to 7, wherein the first preset time is 60 seconds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010132531.1A CN111301167B (en) | 2020-02-29 | 2020-02-29 | Instrument alarm information display method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010132531.1A CN111301167B (en) | 2020-02-29 | 2020-02-29 | Instrument alarm information display method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111301167A true CN111301167A (en) | 2020-06-19 |
CN111301167B CN111301167B (en) | 2021-10-29 |
Family
ID=71160499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010132531.1A Active CN111301167B (en) | 2020-02-29 | 2020-02-29 | Instrument alarm information display method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111301167B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102339221A (en) * | 2010-07-22 | 2012-02-01 | 厦门雅迅网络股份有限公司 | Method for processing application program interface based on Windows CE platform |
EP2455826A2 (en) * | 2008-05-11 | 2012-05-23 | Research In Motion Limited | Electronic device and method providing improved bedtime mode of operation |
CN102616139A (en) * | 2011-01-28 | 2012-08-01 | 比亚迪股份有限公司 | Vehicle alarm display device and display control method thereof |
CN105480093A (en) * | 2014-09-15 | 2016-04-13 | 大陆汽车车身电子***(芜湖)有限公司 | Vehicle instrument display control method |
CN106274488A (en) * | 2016-08-25 | 2017-01-04 | 上海伟世通汽车电子***有限公司 | The warning message method for security protection of all-digital auto instrument |
CN110293841A (en) * | 2019-06-26 | 2019-10-01 | 大陆汽车车身电子***(芜湖)有限公司 | A kind of warning message display methods and combination instrument |
CN110549851A (en) * | 2019-09-17 | 2019-12-10 | 浙江吉利汽车研究院有限公司 | control method and device for automobile liquid crystal instrument alarm lamp display |
-
2020
- 2020-02-29 CN CN202010132531.1A patent/CN111301167B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2455826A2 (en) * | 2008-05-11 | 2012-05-23 | Research In Motion Limited | Electronic device and method providing improved bedtime mode of operation |
CN102339221A (en) * | 2010-07-22 | 2012-02-01 | 厦门雅迅网络股份有限公司 | Method for processing application program interface based on Windows CE platform |
CN102616139A (en) * | 2011-01-28 | 2012-08-01 | 比亚迪股份有限公司 | Vehicle alarm display device and display control method thereof |
CN105480093A (en) * | 2014-09-15 | 2016-04-13 | 大陆汽车车身电子***(芜湖)有限公司 | Vehicle instrument display control method |
CN106274488A (en) * | 2016-08-25 | 2017-01-04 | 上海伟世通汽车电子***有限公司 | The warning message method for security protection of all-digital auto instrument |
CN110293841A (en) * | 2019-06-26 | 2019-10-01 | 大陆汽车车身电子***(芜湖)有限公司 | A kind of warning message display methods and combination instrument |
CN110549851A (en) * | 2019-09-17 | 2019-12-10 | 浙江吉利汽车研究院有限公司 | control method and device for automobile liquid crystal instrument alarm lamp display |
Also Published As
Publication number | Publication date |
---|---|
CN111301167B (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6892116B2 (en) | Vehicle information and interaction management | |
JP3777790B2 (en) | Display control device | |
JP4957999B2 (en) | E-mail receiver and e-mail transmission / reception system | |
US20110034128A1 (en) | Mobile Communication Device Linked to In-Vehicle System | |
CN110450714B (en) | Information display method, device, equipment and storage medium | |
CN107246881B (en) | Navigation reminding method, device and terminal | |
US20240149900A1 (en) | Hmi control device and storage medium thereof | |
CN111301167B (en) | Instrument alarm information display method | |
JP3767110B2 (en) | VEHICLE E-MAIL DEVICE, VEHICLE E-MAIL SEND METHOD, AND MEDIUM CONTAINING E-MAIL SEND PROGRAM | |
CN110494319B (en) | Display device for vehicle | |
JP3709629B2 (en) | Information service equipment | |
CN112083804A (en) | Guidance interaction method and device for vehicle-mounted key, vehicle and storage medium | |
CN110293814B (en) | Method, device and system for purifying vehicle air | |
JP3340920B2 (en) | Drowsy driving prevention system | |
JP2003058986A (en) | Vehicle operation control system | |
CN111186298A (en) | Display control device | |
CN114407652B (en) | Information display method, device and equipment | |
CN112911541B (en) | Determination of local time when vehicle is ignited | |
CN110901655B (en) | Automobile main driving position identification method and terminal equipment | |
CN107415688A (en) | A kind of overspeed of vehicle reminding method and relevant device | |
JP2018028860A (en) | On-vehicle device and alarm system | |
JP2000168398A (en) | Display device for vehicle | |
US20240143309A1 (en) | Vehicle software update apparatus | |
US20240143310A1 (en) | Vehicle software update apparatus | |
US20230415545A1 (en) | Method and system for operating in-vehicle air conditioner |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |