Vehicle Signal Periodic Alarm Method, Device, Electronic Device and Storage Medium

By obtaining the alarm configuration information and real-time monitoring data of the vehicle's unique identification code, and calculating the time stamp difference value to generate an alarm message, it solves the problem of lack of real-time periodic judgment and applicability of complex scenarios in the prior art, and realizes a wide range of vehicle signal fault judgments.

CN116476855BActive Publication Date: 2025-07-18CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310425304.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-20
Publication Date
2025-07-18
Estimated Expiration
2043-04-20

AI Technical Summary

Technical Problem

There are few solutions for periodic judgment based on real-time vehicle signals in the prior art, and the existing fault signal judgment mode cannot be applied to some complex scenarios, and the scope of application is relatively limited.

Method used

By obtaining the alarm configuration information corresponding to the vehicle's unique identification code, receiving real-time data of the specified monitoring signal, calculating the difference of the data timestamp. If the evaluation period is met and the cached data meets the alarm conditions, an alarm message is generated and the timestamp is updated, which is applicable to the fault judgment of multiple vehicle signals with combined relationships.

Benefits of technology

It realizes periodic judgment of real-time vehicle signals, is applicable to fault judgments in complex scenarios, and expands the scope of application of judgments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116476855B_ABST
    Figure CN116476855B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of intelligent vehicles, and provides a method, device, electronic device and storage medium for periodically alarming vehicle signals. The method includes: obtaining first real-time monitoring data corresponding to a specified monitoring signal identifier and its first data timestamp; if there is already a data cache queue, obtaining the earliest cache timestamp in the data cache queue, where the data cache queue includes at least one set of cache data including at least two monitoring signals with a combined relationship; calculating the time difference between the first data timestamp and the earliest cache timestamp; if the time difference meets a first evaluation period and the cache data in the data cache queue meets a preset alarm condition, generating an alarm message and reporting it, and updating the earliest cache timestamp according to the latest cache timestamp in the data cache queue. The present application can realize periodic judgment of real-time vehicle signals, and is applicable to alarm judgment in some complex scenarios, with a relatively wide range of applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent vehicles, and particularly to a method, apparatus, electronic device, and storage medium for periodically alarming vehicle signals. Background Art

[0002] Accurate and efficient intelligent fault diagnosis is of great significance for ensuring the safety of intelligent vehicles. And collecting fault signals is one of the key technical links to achieve accurate and efficient intelligent fault diagnosis. Fault signals usually refer to vehicle signals related to possible fault problems of the vehicle.

[0003] In the prior art, basically, it is a judgment mode for a single vehicle signal to determine whether it meets a certain fixed value at a certain moment, and most of this judgment mode uses an offline calculation method to judge the vehicle signal, and then collects vehicle signals related to possible fault problems of the vehicle according to the judgment result. There are few solutions for periodic judgment based on real-time vehicle signals. In addition, the existing fault signal judgment mode cannot be applied to the judgment of some complex scenarios, and the applicable range is relatively limited. For example, for the fault judgment scenario of multiple vehicle signals with a combined relationship, the fault judgment scenario of vehicle signals at any moment, etc. Summary of the Invention

[0004] In view of this, the embodiments of the present application provide a method, apparatus, electronic device, and storage medium for periodically alarming vehicle signals to solve the problem that there are few solutions for periodic judgment based on real-time vehicle signals in the prior art, and the existing fault signal judgment mode cannot be applied to the judgment of some complex scenarios, and the applicable range is relatively limited.

[0005] In the first aspect of the embodiments of the present application, a method for periodically alarming vehicle signals is provided, including:

[0006] Obtain alarm configuration information corresponding to the vehicle unique identification code, where the alarm configuration information includes a specified monitoring signal identifier;

[0007] When receiving first real-time monitoring data corresponding to the specified monitoring signal identifier, obtain the first data timestamp of the first real-time monitoring data;

[0008] If there already exists a data cache queue for caching cache data corresponding to the specified monitoring signal identifier, obtain the earliest cache timestamp of the earliest cache data in the data cache queue. The data cache queue includes at least one set of cache data, and each set of cache data includes at least two monitoring signals with a combined relationship;

[0009] Calculate the time difference between the first data timestamp and the earliest cache timestamp;

[0010] If the time difference satisfies the first evaluation period and the cached data in the data cache queue meets the preset alarm conditions, an alarm message is generated and reported, and the earliest cache timestamp is updated according to the latest cache timestamp in the data cache queue to obtain the first updated timestamp. The alarm message includes vehicle signals related to vehicle fault diagnosis.

[0011] In a second aspect of the embodiments of the present application, a vehicle signal periodic alarm device is provided, including:

[0012] An acquisition module, configured to acquire alarm configuration information corresponding to the vehicle unique identification code, where the alarm configuration information includes a specified monitoring signal identifier;

[0013] A receiving module, configured to obtain the first data timestamp of the first real-time monitoring data when receiving the first real-time monitoring data corresponding to the specified monitoring signal identifier;

[0014] A time acquisition module, configured to, if there is a data cache queue for caching cached data corresponding to the specified monitoring signal identifier, obtain the earliest cache timestamp of the earliest cached data in the data cache queue. The data cache queue includes at least one set of cached data, and each set of cached data includes at least two monitoring signals with a combined relationship;

[0015] A calculation module, configured to calculate the time difference between the first data timestamp and the earliest cache timestamp;

[0016] An alarm module, configured to, if the time difference satisfies the first evaluation period and the cached data in the data cache queue meets the preset alarm conditions, generate and report an alarm message, and update the earliest cache timestamp according to the latest cache timestamp in the data cache queue to obtain the first updated timestamp. The alarm message includes vehicle signals related to vehicle fault diagnosis.

[0017] In a third aspect of the embodiments of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above method are implemented.

[0018] In a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0019] The beneficial effects of the embodiments of the present application compared with the prior art at least include: by obtaining the alarm configuration information corresponding to the vehicle unique identification code, the alarm configuration information includes the specified monitoring signal identifier; when receiving the first real-time monitoring data corresponding to the specified monitoring signal identifier, obtaining the first data timestamp of the first real-time monitoring data; if there already exists a data cache queue for caching the cache data corresponding to the specified monitoring signal identifier, obtaining the earliest cache timestamp of the earliest cache data in the data cache queue, the data cache queue includes at least one set of cache data, and each set of cache data includes at least two monitoring signals with a combined relationship; calculating the time difference between the first data timestamp and the earliest cache timestamp; if the time difference meets the first evaluation period, and the cache data in the data cache queue meets the preset alarm condition, generating an alarm message and reporting it, and updating the earliest cache timestamp according to the latest cache timestamp in the data cache queue to obtain the first updated timestamp, the alarm message includes vehicle signals related to vehicle fault diagnosis, which can realize periodic judgment of real-time vehicle signals, and the fault signal judgment mode provided by the embodiments of the present application can be applied to the judgment of some complex scenarios (for example, the fault judgment scenario for multiple vehicle signals with a combined relationship, the fault judgment scenario for vehicle signals at any moment, etc.), and the applicable range is relatively wide. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0021] Figure 1 is a flowchart of a method for periodic alarm of vehicle signals provided by an embodiment of the present application;

[0022] Figure 2 is a structural diagram of a device for periodic alarm of vehicle signals provided by an embodiment of the present application;

[0023] Figure 3 is a structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0024] In the following description, specific details such as specific system architectures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.

[0025] A method and apparatus for periodic warning of vehicle signals according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0026] Since vehicle signals are basically periodic band signals, and the fault judgment criteria for many vehicle signals are not just based on a fixed value at a certain moment, but are likely to be judged according to the changes of multiple vehicle signals with a combined relationship over a period of time. It is also possible that some vehicle signals need to be judged within a certain period of time and not judged in another period to meet the warning criteria and need to be reported. Therefore, the existing fault signal judgment mode cannot achieve periodic judgment of real-time vehicle signals, nor can it be applied to the judgment of some complex scenarios, and the applicable range is relatively limited.

[0027] In view of the above technical problems existing in the prior art, an embodiment of the present application provides a method for periodic warning of vehicle signals. The flowchart of the method for periodic warning of vehicle signals is as Figure 1 shown. Figure 1 The method for periodic warning of vehicle signals can be executed by a fault device externally disposed on the vehicle and communicable with the vehicle via a network, or can also be executed by a fault processing device built into the vehicle.

[0028] As Figure 1 shown, the method for periodic warning of vehicle signals includes:

[0029] Step S101, obtaining warning configuration information corresponding to the vehicle unique identification code, where the warning configuration information includes a specified monitoring signal identifier.

[0030] The vehicle unique identification code is the vehicle VIN (Vehicle Identification Number). The vehicle VIN usually contains information such as the vehicle manufacturer, year, model, body type and code, engine code, and assembly location.

[0031] In one embodiment, the vehicle unique identification code can be obtained first, and then the model and vehicle series corresponding to the vehicle unique identification code can be determined. After that, according to the pre-set correspondence between the model and vehicle series and the warning configuration information, the warning configuration information corresponding to the model and vehicle series can be retrieved for subsequent warning judgment.

[0032] Vehicle models can be classified into different vehicle types according to different classification criteria (such as classification criteria for compartments, doors, vehicle model categories, body forms, roofs, etc.). For example, classified by compartment, it can be divided into single-compartment vehicles, two-compartment vehicles, two-and-a-half-compartment vehicles, and three-compartment vehicles; classified by body form, it can be divided into integral body and non-integral body.

[0033] Automobile models generally include subcompact cars, mini cars, compact cars, medium-sized cars, premium cars, luxury cars, three-compartment cars, CDV (Car Derived Van) models (van based on car platform), MPV (Multi-Purpose Vehicle) models, SUV (sport / suburban utility vehicle), etc.

[0034] Vehicle series usually refer to the brand series or style series of vehicles. For example, Japanese cars, American cars, German cars, or BMW series, Mercedes-Benz series, Audi series, etc.

[0035] The designated monitoring signal identifier refers to the identification information of the vehicle signals that need to be monitored related to vehicle fault diagnosis, such as vehicle signal ID, etc.

[0036] Under normal circumstances, different vehicle fault diagnosis tasks usually correspond to different vehicle signals that need to be monitored. For example, for the battery fault diagnosis task during vehicle driving, the vehicle signals that need to be monitored are the cell balance state signals of the four cells of the vehicle. Another example, for the battery total power fault diagnosis task of the vehicle, the vehicle signals that need to be monitored are the vehicle acceleration signal and the battery total power signal.

[0037] Setting corresponding alarm configuration information for different vehicle fault diagnosis tasks can better handle the accurate collection and alarm of vehicle signals under various vehicle fault diagnosis tasks, thereby improving the accuracy and diagnosis efficiency of subsequent vehicle fault diagnosis. At the same time, it can also reduce the calculation of unnecessary vehicle signals and save computing resources.

[0038] In one embodiment, the alarm configuration information corresponding to the vehicle unique identification code can be listened to in real time through Flink CDC (Change Data Capture), and the alarm configuration information can be loaded into the memory of the fault device or the fault processing device for subsequent use.

[0039] Step S102, when receiving the first real-time monitoring data corresponding to the designated monitoring signal identifier, obtain the first data timestamp of the first real-time monitoring data.

[0040] The first real-time monitoring data refers to the vehicle signals related to vehicle fault diagnosis that need to be monitored in real time.

[0041] The first data timestamp refers to the data acquisition time point or data reporting time point of the first real-time monitoring data.

[0042] Step S103: If there already exists a data cache queue for caching the cache data corresponding to the specified monitoring signal identifier, obtain the earliest cache timestamp of the earliest cache data in the data cache queue. The data cache queue includes at least one set of cache data, and each set of cache data includes at least two monitoring signals with a combined relationship.

[0043] The cache data refers to the vehicle signals related to the specified monitoring signal identifier that need to be monitored in real time and are cached in the data cache queue.

[0044] The data capacity size of the data cache queue is related to the evaluation period in the alarm configuration information. The evaluation period is related to the fault diagnosis time interval and the basic period.

[0045] The fault diagnosis time interval is the time interval for judging the monitored vehicle signals that can be determined according to the actual vehicle fault diagnosis task. For example, this time interval can be 5 seconds, 5 minutes, etc., and can be specifically determined according to the actual situation without limitation here.

[0046] The basic period refers to the reporting period or acquisition period of the vehicle signals corresponding to the specified monitoring signal identifier. For example, how many seconds (or minutes, hours, etc.) to report the vehicle signals corresponding to the specified monitoring signal identifier at intervals, or how many seconds (or minutes, hours, etc.) to acquire the vehicle signals corresponding to the specified monitoring signal identifier at intervals.

[0047] The evaluation period refers to the number of times the vehicle signals corresponding to the specified monitoring signal identifier repeat within the fault diagnosis time interval. Among them, the evaluation period = fault diagnosis time interval / basic period. For example, for the specified monitoring signal identifier corresponding to the vehicle fault diagnosis task W is ID1, the vehicle signal corresponding to ID1 is signal A, the fault diagnosis time interval for signal A is 3 minutes, and the basic period is 1 minute (that is, report once every 1 minute), then the evaluation period of signal A is: 3 minutes / 1 minute = 3. That is, a fault diagnosis evaluation is performed when signal A is reported 3 times. In this case, the data capacity size of the data cache queue can be set to 3 queue positions, and each queue position stores a set of cache data, and a total of 3 sets of cache data can be stored.

[0048] The earliest cache data refers to a set of cache data that is first stored in the data cache queue, and can also be understood as a set of cache data that is first stored in the data cache queue.

[0049] The earliest cache timestamp, which is the storage time point of the data that was first stored in the data cache queue.

[0050] There is a combination relationship. The vehicle signals to be monitored and the combination relationship between the vehicle signals can be specifically determined according to the vehicle fault diagnosis task. This combination relationship can be a "sum" or "OR" relationship. For example, a vehicle has four battery cells. For the battery fault diagnosis task of this vehicle during driving, the vehicle signals to be monitored are the cell balance status signals of the four battery cells of this vehicle, denoted as bms_BalanceSWcellBlock1, bms_BalanceSWcellBlock2, bms_BalanceSWcellBlock3, and bms_BalanceSWcellBlock4 respectively. This cell balance status signal (i.e., the monitoring signal) has three signal values, which are 0, 1, and 2 respectively. Among them, 0 represents the charging process, 1 represents the discharging process, and 2 represents the abnormal state. According to the vehicle model series of this vehicle, it is determined that during driving, all four battery signals need to be in the discharging process, that is, when the signal values are all 1, this vehicle is considered to be operating normally. Then, the combination relationship between these four cell balance status signals can be set as a "sum" relationship. In this example, a set of cached data includes the cell balance status signals and their signal values of the four battery cells of this vehicle.

[0051] Step S104: Calculate the time difference between the first data timestamp and the earliest cache timestamp.

[0052] Step S105: If the time difference meets the first evaluation period and the cached data in the data cache queue meets the preset alarm condition, generate an alarm message and report it, and update the earliest cache timestamp according to the latest cache timestamp in the data cache queue to obtain the first updated timestamp. The alarm message includes the vehicle signals related to vehicle fault diagnosis.

[0053] The first evaluation period refers to a time interval ≥ the fault diagnosis time interval. For example, if the fault diagnosis time interval is 5 minutes, then the first evaluation period is a time interval ≥ 5 minutes.

[0054] As an example, assume that the obtained vehicle unique identification code is "VIN1", the specified monitoring signal identifier in the alarm configuration information corresponding to "VIN1" is "bms", and the vehicle signals corresponding to "bms" include:

[0055] The reporting periods (i.e., the basic periods) of the four vehicle signals, namely bms_BalanceSWcellBlock1, bms_BalanceSWcellBlock2, bms_BalanceSWcellBlock3, and bms_BalanceSWcellBlock4, are 10 seconds, that is, they are reported once every 10 seconds. The fault diagnosis time interval is 10 seconds, and the evaluation period is 1 (fault diagnosis time interval 10 seconds / basic period 10 seconds = 1). The preset alarm condition is that at least one of the signal values of the four vehicle signals in each group of cached data is 0 or 2.

[0056] When receiving the first real-time monitoring data corresponding to the specified monitoring signal identifier "bms", the first data timestamp of the first real-time monitoring data is obtained as 00:20 (indicating 20 seconds). Next, it is judged whether there is currently a data cache queue for storing cached data corresponding to the specified monitoring signal identifier "bms". In the first case, if there is currently no data cache queue for storing cached data corresponding to the specified monitoring signal identifier "bms", a new data cache queue is created, the first real-time monitoring data is stored in the data cache queue, and the first real-time monitoring data is recorded as the earliest cached data in the data cache queue, and the first data timestamp is recorded as the earliest cache timestamp corresponding to the earliest cached data. In the second case, if there is a data cache queue for storing cached data corresponding to the specified monitoring signal identifier "bms", the earliest cache timestamp of the earliest cached data in the data cache queue is obtained. Suppose the earliest cache timestamp of the earliest cached data in the data cache queue is 00:10 (indicating 10 seconds). Then, calculate the time difference between the first data timestamp 00:20 and the earliest cache timestamp 00:10, and the calculated result is 10 seconds. Next, it is judged whether the time difference satisfies the first evaluation period (≥10 seconds). After judgment, it can be seen that the time difference between the first data timestamp and the earliest cache timestamp satisfies the first evaluation period. After that, it is judged whether all the cached data in the data cache queue satisfies the preset alarm condition (that is, to judge whether each group of cached data satisfies the condition that "at least one of the signal values of the four vehicle signals is 0 or 2"). In this example, since there is only one group of cached data (i.e., the earliest cached data) in the data cache queue, so at this time, it is judged whether the earliest cached data satisfies the condition that "at least one of the signal values of the four vehicle signals is 0 or 2". If it is satisfied, an alarm message is generated and reported. The alarm message includes vehicle signals related to vehicle fault diagnosis, that is, it includes

[0057] bms_BalanceSWcellBlock1, bms_BalanceSWcellBlock2, bms_BalanceSWcellBlock3, and bms_BalanceSWcellBlock4 and their signal values.

[0058] Meanwhile, update the earliest cache timestamp 00:10 to 00:20 (i.e., the first update timestamp) to complete the fault diagnosis for this round. Then, enter the next round of fault diagnosis, using the first update timestamp 00:20 as the earliest cache timestamp for the next round.

[0059] The technical solution provided by the embodiments of the present application, by obtaining the alarm configuration information corresponding to the vehicle unique identification code, where the alarm configuration information includes the specified monitoring signal identifier; when receiving the first real-time monitoring data corresponding to the specified monitoring signal identifier, obtaining the first data timestamp of the first real-time monitoring data; if there already exists a data cache queue for caching the cache data corresponding to the specified monitoring signal identifier, obtaining the earliest cache timestamp of the earliest cache data in the data cache queue, the data cache queue includes at least one set of cache data, and each set of cache data includes at least two monitoring signals with a combined relationship; calculating the time difference between the first data timestamp and the earliest cache timestamp; if the time difference meets the first evaluation period and the cache data in the data cache queue meets the preset alarm conditions, generating an alarm message and reporting it, and updating the earliest cache timestamp according to the latest cache timestamp in the data cache queue to obtain the first update timestamp, and the alarm message includes the vehicle signals related to vehicle fault diagnosis, can realize the periodic judgment of real-time vehicle signals, and the fault signal judgment mode provided by the embodiments of the present application can be applied to the judgment of some complex scenarios (for example, the fault judgment scenario for multiple vehicle signals with a combined relationship, the fault judgment scenario for vehicle signals at any time, etc.), and the applicable range is relatively wide.

[0060] In some embodiments, after the above step S105, it further includes:

[0061] Extract the silence period configuration value and the basic period configuration value in the alarm configuration information;

[0062] If the first evaluation period meets the first predetermined time range, and the silence period configuration value is non-empty and non-zero, then update the first update timestamp according to the silence period configuration value and the basic period configuration value to obtain the second update timestamp;

[0063] Empty the cache data in the data cache queue;

[0064] When receiving the second real-time monitoring data, obtain the second data timestamp of the second real-time monitoring data;

[0065] If the second data timestamp is greater than or equal to the second update timestamp, store the second real-time monitoring data in the emptied data cache queue.

[0066] The silent period configuration value, that is, the time configuration value of the silent period, refers to the time interval for repeated reporting of alarm messages. That is, after this alarm is established and reported, if the fault still exists after a certain time interval, the above alarm steps are executed again to generate and report the alarm message again. This time interval can be flexibly set according to the actual situation. For example, it can be set to 20 seconds, 30 seconds, 1 minute, 5 minutes, etc.

[0067] The basic period configuration value refers to the time configuration value of the basic period. For example, if the basic period is 10 seconds, the basic period configuration value is 10 seconds.

[0068] The first predetermined time range usually refers to the time interval from 1 times to 2 times of (evaluation period * basic period). For example, if the evaluation period is 12 and the basic period is 5 seconds, the first predetermined time range is 60 (12 * 5 = 60) seconds (excluding) to 120 (12 * 5 * 2 = 120) seconds (excluding).

[0069] As an example, assume that the obtained vehicle unique identification code is "VIN2", the specified monitoring signal identifier in the alarm configuration information corresponding to "VIN2" is "esc&bms", and the vehicle signals corresponding to "esc&bms" include the vehicle acceleration signal "esc_longAcceleration" and the total battery pack power signal "bms_pPack". The reporting period (i.e., the basic period) of these two signals is 5 seconds, that is, they are reported once every 5 seconds, the fault diagnosis time interval is 1 minute (60 seconds), the evaluation period is 12 (fault diagnosis time interval 60 seconds / basic period 5 seconds = 12), and the silent period configuration value is 30 seconds (non-empty and non-zero value). Assume that under normal circumstances, when the vehicle acceleration of this vehicle is greater than 10m / s 2 , the total battery pack power needs to reach 80kW within one minute, then the abnormal condition can be set to "esc_longAcceleration >= 10 and bms_pPack < 80", and the alarm condition can be set to "each set of cached data satisfies esc_longAcceleration >= 10 and bms_pPack < 80".

[0070] When receiving the first real-time monitoring data corresponding to the specified monitoring signal identifier "esc&bms", the first data timestamp of the first real-time monitoring data is obtained as 05:20 (indicating 5 minutes and 20 seconds). Next, if it is determined that there is a data cache queue for storing cache data corresponding to the specified monitoring signal identifier "esc&bms", the earliest cache timestamp of the earliest cache data in the data cache queue is obtained. Assume that the cache data information of the currently existing data cache queue is shown in Table 1 below.

[0071] Table 1

[0072] Queue position Cached data Timestamp 1 Cached data 01 04:10 2 Cached data 02 04:15 3 Cached data 03 04:20 4 Cached data 04 04:25 5 Cached data 05 04:30 6 Cached data 06 04:35 7 Cached data 07 04:40 8 Cached data 08 04:45 9 Cached data 09 04:50 10 Cached data 10 04:55 11 Cached data 11 05:00 12 Cached data 12 05:05

[0073] Combined with Table 1, it can be seen that the earliest cache data in the data cache queue is cache data 01, and the earliest cache timestamp is 04:10. Calculate the time difference between the earliest cache timestamp of 04:10 and the first data timestamp of 05:20 of the first real-time monitoring data. The calculated result is 1 minute and 10 seconds (i.e., 70 seconds, satisfying the first evaluation period ≥ 60 seconds). Next, determine whether each element in the cache data queue (Table 1) (i.e., the cache data corresponding to each queue position) satisfies the abnormal condition of "esc_longAcceleration >= 10 and bms_pPack < 80". If cache data 01 to cache data 12 all satisfy the above abnormal conditions, an alarm message is generated and reported. The alarm message includes the last cache data in the data cache queue, that is, cache data 12. Cache data 12 includes the vehicle acceleration signal "esc_longAcceleration" and the total battery pack power signal "bms_pPack" and their signal values. At the same time, update the earliest cache timestamp of 04:10 in the data cache queue to 05:05 (i.e., the first update timestamp), that is, the timestamp of the last basic period in the data cache queue.

[0074] Next, combined with the above example, it can be determined from the above steps that the first evaluation period is ≥ 60 seconds, satisfying the first predetermined time range of 60 seconds (excluding) to 120 seconds (excluding), and the silence period configuration is 30 seconds, which is non-empty and non-zero. At this time, according to the silence period configuration value and the basic period configuration value, the first update timestamp can be updated to obtain the second update timestamp. Specifically, the second update timestamp can be calculated according to the following formula: Second update timestamp = First update timestamp + Evaluation period * Basic period configuration value + Silence period configuration value. Calculate the second update timestamp and replace the first update timestamp with the calculated second update timestamp. In this example, Second update timestamp = 05:05 + 12 * 5 + 30 = 06:35.

[0075] Then, clear the cached data in the above data cache queue, that is, clear the cached data in Table 1, and use the second update timestamp 06:35 as the earliest cache timestamp corresponding to the earliest cached data in the data cache queue after clearing.

[0076] When receiving the second real-time monitoring data corresponding to the specified monitoring signal identifier "esc&bms", obtain the second data timestamp of the second real-time monitoring data. If the second data timestamp is 06:40, which is greater than the second update timestamp 06:35, store the second real-time monitoring data in the data cache queue after clearing, as shown in Table 2 below. " / " in Table 2 indicates that no data is stored temporarily.

[0077] Table 2

[0078]

[0079]

[0080] If the second data timestamp is 05:30, which is less than the second update timestamp 06:35, end the above warning step.

[0081] In this embodiment, the silence period configuration value is non-empty and non-zero, that is, suppression of reporting, which can be applied to scenarios that require intermittent monitoring of the vehicle acceleration signal "esc_longAcceleration" and the total battery pack power signal "bms_pPack" corresponding to the specified monitoring signal identifier "esc&bms". Therefore, for some scenarios that require intermittent monitoring, the silence period configuration value can be flexibly set to any non-empty and non-zero value according to the actual situation to meet the warning judgment requirements of different intermittent monitoring scenarios.

[0082] In some other embodiments, after the above step S105, it further includes:

[0083] Extract the silence period configuration value in the warning configuration information;

[0084] If the first evaluation period meets the first predetermined time range and the silence period configuration value is a null value or a zero value, clear the cached data in the data cache queue;

[0085] Determine the first update timestamp as the start cache timestamp of the data cache queue after clearing;

[0086] When receiving the second real-time monitoring data, store the second real-time monitoring data in the data cache queue after clearing.

[0087] Combined with the above example, it can be determined from the above steps that the first evaluation period is ≥ 60 seconds, meeting the first predetermined time range of 60 seconds (excluding) to 120 seconds (excluding). If the silence period configuration value is 0 or a null value, the cached data in the data cache queue is cleared, that is, all the cached data in Table 1 is cleared, and the first update timestamp 05:05 is determined as the start cache timestamp of the data cache queue after clearing.

[0088] When receiving the second real-time monitoring data corresponding to the specified monitoring signal identifier "esc&bms", obtain the second data timestamp of the second real-time monitoring data (such as 05:05), and store the second real-time monitoring data in the row at queue position 1 in the cleared data cache queue, as shown in Table 3 below. " / " in Table 3 indicates that there is no data stored temporarily.

[0089] Table 3

[0090]

[0091]

[0092] In this embodiment, the silence period configuration value is 0 or a null value, that is, reporting is not suppressed, which can be applied to scenarios where real-time monitoring of the vehicle acceleration signal "esc_longAcceleration" and the total battery pack power signal "bms_pPack" corresponding to the specified monitoring signal identifier "esc&bms" is required. Therefore, for some scenarios that require real-time monitoring, the silence period configuration value can be set to a null value or zero according to the actual situation to meet the alarm judgment requirements of the real-time monitoring scenario.

[0093] In some embodiments, after the above step S104, the following is further included:

[0094] If the time difference meets the first evaluation period and the cached data in the data cache queue does not meet the preset alarm condition, then extract the basic period configuration value in the alarm configuration information;

[0095] Update the earliest cache timestamp according to the basic period configuration value to obtain the third update timestamp;

[0096] Clear the cached data in the data cache queue;

[0097] Store the first real-time monitoring data in the cleared data cache queue.

[0098] Combined with Table 1 in the above example, if at least one set of cached data among cached data 01 to cached data 12 does not meet the abnormal condition of "esc_longAcceleration >= 10 and bms_pPack < 80", then the basic cycle configuration value in the alarm configuration information is extracted (this example is 5 seconds). The earliest cache timestamp is updated according to the basic cycle configuration value to obtain the third updated timestamp. Specifically, it can be calculated according to the following formula: Third updated timestamp = Earliest cache timestamp + Basic cycle configuration value * Evaluation cycle, and the third updated timestamp is calculated. In this example, the third updated timestamp = 04:10 + 12 * 5 = 05:10. After that, the cached data in the data cache queue is cleared, and the third updated timestamp is used as the earliest cache time of the cleared data cache queue; the first real-time monitoring data is stored in the cleared data cache queue to obtain the data cache queue as shown in Table 4 below.

[0099] Table 4

[0100] Queue position Cached data Timestamp 1 / 05:10 2 / / 3 First real-time monitoring data 05:20 4 / / 5 / / 6 / / 7 / / 8 / / 9 / / 10 / / 11 / / 12 / /

[0101] In the embodiment of the present application, when it is determined that at least one set of cached data in the currently cached full data cache queue does not meet the preset alarm condition, the subsequent alarm process is not triggered, the cached data in the current data cache queue is cleared, and the earliest cache timestamp of the cleared data cache queue is determined. At the same time, the currently received first real-time monitoring data is stored in the cleared data cache queue to start the next round of alarm judgment process.

[0102] In some embodiments, after the step of extracting the silence cycle configuration value and the basic cycle configuration value in the alarm configuration information, it further includes:

[0103] If the first evaluation cycle meets the second predetermined time range, and the silence cycle configuration value is non-empty and non-zero, then the first updated timestamp is updated according to the silence cycle configuration value and the basic cycle configuration value to obtain the fourth updated timestamp;

[0104] Clear the cached data in the data cache queue;

[0105] When the third real-time monitoring data is received, obtain the third data timestamp of the third real-time monitoring data;

[0106] Calculate the time difference between the third data timestamp and the fourth updated timestamp;

[0107] If the third data timestamp is greater than the fourth updated timestamp, and the time difference meets the preset time range, then directly push the third real-time monitoring data into the cleared data cache queue.

[0108] The second predetermined time range generally refers to a time interval that is more than twice of (evaluation period * basic period). For example, if the evaluation period is 12 and the basic period is 5 seconds, then the second predetermined time range is ≥ 120 seconds.

[0109] The preset time range is generally < 1 times of the evaluation period * basic period. For example, if the evaluation period is 12 and the basic period is 5 seconds, then the preset time range is < 60 seconds.

[0110] As an example, when receiving the first real-time monitoring data corresponding to the specified monitoring signal identifier "esc&bms", the first data timestamp of the first real-time monitoring data is obtained as 07:10 (indicating 7 minutes and 10 seconds). Next, if it is determined that there is a data cache queue for storing cache data corresponding to the specified monitoring signal identifier "esc&bms", then the earliest cache timestamp of the earliest cache data in the data cache queue is obtained. Suppose the cache data information of the currently existing data cache queue is as shown in Table 1 above. Combining Table 1, it can be seen that the earliest cache data in the data cache queue is cache data 01, and the earliest cache timestamp is 04:10. Calculate the time difference between the earliest cache timestamp of 04:10 and the first data timestamp of 07:10 of the first real-time monitoring data. The calculated result is 3 minutes (i.e., 180 seconds), which meets the second predetermined time range (≥ 120 seconds). In this example, the silence period is configured as 30 seconds, which is non-empty and non-zero. At this time, the first update timestamp can be updated according to the silence period configuration value and the basic period configuration value to obtain the fourth update timestamp. Specifically, the fourth update timestamp can be calculated according to the following formula: Fourth update timestamp = First update timestamp + Evaluation period * Basic period configuration value + Silence period configuration value. Calculate the fourth update timestamp and replace the first update timestamp with the calculated fourth update timestamp. In this example, Fourth update timestamp = 05:05 + 12 * 5 + 30 = 06:35.

[0111] Then, clear the cache data in the above data cache queue, that is, clear the cache data in Table 1, and use the fourth update timestamp as the earliest cache timestamp corresponding to the earliest cache data in the cleared data cache queue.

[0112] When receiving the third real-time monitoring data corresponding to the specified monitoring signal identifier "esc&bms", obtain the third data timestamp of the third real-time monitoring data (let the third data timestamp be 07:30). Then, calculate the time difference between the third data timestamp and the fourth update timestamp. The calculated result is 07:30 - 06:35 = 55 seconds, which meets the preset time range (< 60 seconds). Then directly push the third real-time monitoring data into the cleared data cache queue to obtain the data cache queue as shown in Table 5 below.

[0113] Table 5

[0114] Queue position Cached data Timestamp 1 / 06:35 2 / / 3 / / 4 / / 5 / / 6 / / 7 / / 8 / / 9 / / 10 / / 11 Third real-time monitoring data 07:30 12 / /

[0115] In this embodiment, when a network failure or other reasons (such as restart, shutdown, etc.) occur, it may cause the reporting of vehicle signals to not collect data for a certain period of time. After eliminating the above fault factors and being able to collect vehicle signals again, the alarm judgment process can be continued according to the above steps.

[0116] In some embodiments, after the step of calculating the time difference between the third data time and the fourth update timestamp, the following is further included:

[0117] If the time difference does not meet the preset time range, then update the fourth update timestamp according to the third data timestamp and the basic cycle configuration value to obtain the fifth update timestamp;

[0118] Push the third real-time monitoring data into the emptied data cache queue.

[0119] As an example, assume that the third data timestamp of the third real-time monitoring data is 7:40. Calculate the time difference between the third data timestamp and the fourth update timestamp, and the calculation result is 07:40 - 06:35 = 65 seconds, which does not meet the preset time range (<60 seconds). At this time, update the fourth update timestamp according to the third data timestamp and the basic cycle configuration value to obtain the fifth update timestamp. Specifically, it can be calculated according to the following formula: Fifth update timestamp = Fourth update timestamp + ((Third data timestamp - Fourth update timestamp) / basic cycle rounding) * basic cycle. In this example, Fifth update timestamp = 06:35 + ((07:40 - 06:35) / 5 rounding) * 5 = 07:40. Push the third real-time monitoring data into the emptied data cache queue to obtain the data cache queue as shown in Table 6 below.

[0120] Table 6

[0121] Queue position Cached data Timestamp 1 Third real-time monitoring data 07:40 2 / / 3 / / 4 / / 5 / / 6 / / 7 / / 8 / / 9 / / 10 / / 11 / / 12 / /

[0122] In some embodiments, the above vehicle signal periodic alarm method further includes:

[0123] If the time difference meets the second evaluation period, then determine the queue position in the data cache queue corresponding to the first real-time monitoring data, and obtain the current cache timestamp of the current cache data corresponding to the queue position;

[0124] If the first data timestamp is greater than the current cache timestamp, then replace the current cache data with the first real-time monitoring data and update the current cache timestamp to the first data timestamp.

[0125] The second evaluation period refers to a time interval less than a fault diagnosis time interval. For example, if the fault diagnosis time interval is 5 minutes, then the second evaluation period is a time interval of < 5 minutes.

[0126] As an example, in combination with the example in Table 1 above, if the first data timestamp of the first real-time monitoring data corresponding to the specified monitoring signal identifier "esc&bms" received is 04:31. Calculate the time difference between the earliest cache timestamp 04:10 and the first data timestamp 04:31 of the first real-time monitoring data. The calculated result is 21 seconds, which is within the time interval of the second evaluation period (< 5 minutes). Next, according to the following formula: n = ((first data timestamp - earliest cache timestamp) / basic period) + 1, determine which basic period the first real-time monitoring data falls into, where n represents the position of the basic period, that is, the queue position in the data cache queue. In this example, n = ((04:31 - 04:10) / 5 rounded up) + 1 = 5, that is, the first real-time monitoring data falls into the 5th basic period (that is, the queue position 5 in the data cache queue).

[0127] Then, obtain the timestamp 04:30 (i.e., the current cache timestamp) of the cache data 05 at queue position 5 in the data cache queue (i.e., the current cache data), and compare the size of the first data timestamp 04:31 and the current cache timestamp 04:30. In this example, the first data timestamp 04:31 is greater than the current cache timestamp 04:30. Replace the cache data 05 with the first real-time monitoring data, and replace the current cache timestamp 04:30 with 04:31. Thus, the data cache queue as shown in Table 7 below can be obtained.

[0128] Table 7

[0129]

[0130]

[0131] As another example, assume that the first data timestamp of the first real-time monitoring data corresponding to the specified monitoring signal identifier "esc&bms" received is 04:30. Determine that the first real-time monitoring data falls into the 4th basic period (i.e., the queue position 5 in the data cache queue) according to the above method. After comparison, the first data timestamp 04:30 is equal to the timestamp 04:30 of the cache data 05, so no processing is performed.

[0132] In an embodiment of the present application, when real-time monitoring data within a time interval less than a fault diagnosis time interval is received, first, it is determined in which basic cycle of the current data cache queue the real-time monitoring data falls through the above steps. Then, the timestamp of the real-time monitoring data is compared with the timestamp of the current cached data at the queue position corresponding to the real-time monitoring data in the data cache queue to determine whether the current cached data at the queue position needs to be updated. If no cached data has been stored at the queue position, the real-time monitoring data is directly filled into the queue position until the entire data cache queue is full, and then the above warning steps are executed.

[0133] Any combination of the above optional technical solutions can form an optional embodiment of the present application, which will not be elaborated here one by one.

[0134] The following is an embodiment of the device of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the device embodiment of the present application, please refer to the method embodiment of the present application.

[0135] Figure 2 It is a schematic diagram of a vehicle signal periodic warning device provided by an embodiment of the present application. As Figure 2 shown, the vehicle signal periodic warning device includes:

[0136] An acquisition module 201, configured to acquire warning configuration information corresponding to a vehicle unique identification code, where the warning configuration information includes a specified monitoring signal identifier;

[0137] A receiving module 202, configured to acquire a first data timestamp of the first real-time monitoring data when receiving the first real-time monitoring data corresponding to the specified monitoring signal identifier;

[0138] A time acquisition module 203, configured to acquire an earliest cache timestamp of the earliest cached data in a data cache queue if there already exists a data cache queue for caching cached data corresponding to the specified monitoring signal identifier, where the data cache queue includes at least one set of cached data, and each set of cached data includes at least two monitoring signals with a combined relationship;

[0139] A calculation module 204, configured to calculate a time difference between the first data timestamp and the earliest cache timestamp;

[0140] An alarm module 205, configured to generate and report an alarm message if the time difference meets a first evaluation period and the cached data in the data cache queue meets a preset alarm condition, and update the earliest cache timestamp according to the latest cache timestamp in the data cache queue to obtain a first updated timestamp, where the alarm message includes vehicle signals related to vehicle fault diagnosis.

[0141] The technical solution provided by the embodiments of the present application, through

[0142] In some embodiments, the above vehicle signal periodic warning device further includes:

[0143] A first extraction module, configured to extract the silence period configuration value and the basic period configuration value from the warning configuration information;

[0144] A first time update module, configured to update the first update timestamp according to the silence period configuration value and the basic period configuration value to obtain a second update timestamp if the first evaluation period meets the first predetermined time range, and the silence period configuration value is non-empty and non-zero;

[0145] A first clearing module, configured to clear the cached data in the data cache queue;

[0146] A first acquisition module, configured to acquire the second data timestamp of the second real-time monitoring data when receiving the second real-time monitoring data;

[0147] A first storage module, configured to store the second real-time monitoring data into the cleared data cache queue if the second data timestamp is greater than or equal to the second update timestamp.

[0148] In some other embodiments, the above vehicle signal periodic warning device further includes:

[0149] A second extraction module, configured to extract the silence period configuration value from the warning configuration information;

[0150] A second clearing module, configured to clear the cached data in the data cache queue if the first evaluation period meets the first predetermined time range, and the silence period configuration value is a null value or a zero value;

[0151] A second acquisition module, configured to determine the first update timestamp as the start cache timestamp of the cleared data cache queue;

[0152] A second storage module, configured to store the second real-time monitoring data into the cleared data cache queue when receiving the second real-time monitoring data.

[0153] In some embodiments, the above vehicle signal periodic warning device further includes:

[0154] A third extraction module, configured to extract the basic period configuration value from the warning configuration information if the time difference meets the first evaluation period and the cached data in the data cache queue does not meet the preset warning conditions;

[0155] An update module, configured to update the earliest cache timestamp according to the basic period configuration value to obtain a third update timestamp;

[0156] A third clearing module, configured to clear the cached data in the data cache queue;

[0157] A third storage module, configured to store the first real-time monitoring data into the data cache queue after clearing.

[0158] In some embodiments, the above vehicle signal periodic warning device further includes:

[0159] A first time update module, configured to update the first update timestamp to obtain a fourth update timestamp according to the silence period configuration value and the basic period configuration value if the first evaluation period meets the second predetermined time range and the silence period configuration value is non-empty and non-zero;

[0160] A fourth clearing module, configured to clear the cached data in the data cache queue;

[0161] A third acquisition module, configured to acquire the third data timestamp of the third real-time monitoring data when receiving the third real-time monitoring data;

[0162] A time calculation module, configured to calculate the time difference between the third data timestamp and the fourth update timestamp;

[0163] A fourth storage module, configured to directly push the third real-time monitoring data into the data cache queue after clearing if the third data timestamp is greater than the fourth update timestamp and the time difference meets the preset time range.

[0164] In some embodiments, the above vehicle signal periodic warning device further includes:

[0165] A second time update module, configured to update the fourth update timestamp to obtain a fifth update timestamp according to the third data timestamp and the basic period configuration value if the time difference does not meet the preset time range;

[0166] A fifth storage module, configured to push the third real-time monitoring data into the data cache queue after clearing.

[0167] In some embodiments, the above vehicle signal periodic warning device further includes:

[0168] A position determination module, configured to determine the queue position corresponding to the first real-time monitoring data in the data cache queue and obtain the current cache timestamp of the current cached data corresponding to the queue position if the time difference meets the second evaluation period;

[0169] A replacement module is configured to replace the current cached data with the first real-time monitoring data and update the current cached timestamp to the first data timestamp if the first data timestamp is greater than the current cached timestamp.

[0170] It should be understood that the sequence numbers of the steps in the above embodiments do not indicate the order of execution, and the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0171] Figure 3 It is a schematic diagram of the electronic device 3 provided by the embodiment of the present application. As Figure 3 shown, the electronic device 3 of this embodiment includes: a processor 301, a memory 302, and a computer program 303 stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program 303, the steps in the above method embodiments are implemented. Alternatively, when the processor 301 executes the computer program 303, the functions of the modules / units in the above device embodiments are implemented.

[0172] The electronic device 3 may be a desktop computer, a notebook, a palm computer, a cloud server, and other electronic devices. The electronic device 3 may include, but is not limited to, the processor 301 and the memory 302. Those skilled in the art can understand that Figure 3 merely examples of the electronic device 3 do not constitute a limitation to the electronic device 3, and may include more or fewer components than those shown in the figure, or different components.

[0173] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0174] The memory 302 can be an internal storage unit of the electronic device 3. For example, it can be the hard disk or memory of the electronic device 3. The memory 302 can also be an external storage device of the electronic device 3. For example, it can be a plug-in hard disk equipped on the electronic device 3, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. The memory 302 can also include both the internal storage unit and the external storage device of the electronic device 3. The memory 302 is used to store computer programs and other programs and data required by the electronic device.

[0175] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above-mentioned division of each functional unit and module is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0176] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-mentioned embodiment methods of the present application, it can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of the above-mentioned various method embodiments. The computer program can include computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0177] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included within the protection scope of the present application.

Claims

1. A method for periodic warning of vehicle signals, characterized in that, Including: Obtain alarm configuration information corresponding to the vehicle unique identification code, where the alarm configuration information includes a specified monitoring signal identifier; When receiving first real-time monitoring data corresponding to the specified monitoring signal identifier, obtain a first data timestamp of the first real-time monitoring data; If there already exists a data cache queue for caching cache data corresponding to the specified monitoring signal identifier, obtain an earliest cache timestamp of the earliest cache data in the data cache queue, where the data cache queue includes at least one set of cache data, and each set of cache data includes at least two monitoring signals with a combined relationship; Calculate a time difference between the first data timestamp and the earliest cache timestamp; If the time difference meets a first evaluation period and the cache data in the data cache queue meets a preset alarm condition, generate an alarm message and report it, and update the earliest cache timestamp according to the latest cache timestamp in the data cache queue to obtain a first updated timestamp, where the alarm message includes vehicle signals related to vehicle fault diagnosis; After calculating the time difference between the first data timestamp and the earliest cache timestamp, it further includes: If the time difference meets the first evaluation period and the cache data in the data cache queue does not meet the preset alarm condition, extract a basic period configuration value in the alarm configuration information; Update the earliest cache timestamp according to the basic period configuration value to obtain a third updated timestamp, and use the third updated timestamp as the earliest cache time of the emptied data cache queue.

2. The method according to claim 1, characterized in that, If the time difference meets the first evaluation period and the cache data in the data cache queue meets the preset alarm condition, generate an alarm message and report it, and after updating the earliest cache timestamp according to the latest cache timestamp in the data cache queue to obtain a first updated timestamp, it further includes: Extract a silence period configuration value and a basic period configuration value in the alarm configuration information; If the first evaluation period meets a first predetermined time range and the silence period configuration value is non-empty and non-zero, update the first updated timestamp according to the silence period configuration value and the basic period configuration value to obtain a second updated timestamp; Empty the cache data in the data cache queue; When receiving second real-time monitoring data, obtain a second data timestamp of the second real-time monitoring data; If the second data timestamp is greater than or equal to the second updated timestamp, store the second real-time monitoring data in the emptied data cache queue.

3. The method according to claim 1, wherein If the time difference meets the first evaluation period and the cache data in the data cache queue meets the preset alarm condition, generate an alarm message and report it, and after updating the earliest cache timestamp according to the latest cache timestamp in the data cache queue to obtain a first updated timestamp, it further includes: Extract the silence period configuration value in the alarm configuration information; If the first evaluation period meets the first predetermined time range and the silence period configuration value is a null value or zero value, empty the cache data in the data cache queue; Determine the first update timestamp as the start caching timestamp of the data cache queue after clearing; When receiving the second real-time monitoring data, store the second real-time monitoring data into the data cache queue after clearing.

4. The method according to claim 1, wherein After calculating the time difference between the first data timestamp and the earliest caching timestamp, further include: Store the first real-time monitoring data into the data cache queue after clearing.

5. The method according to claim 2, wherein After extracting the silence period configuration value and the basic period configuration value in the alarm configuration information, further include: If the first evaluation period meets the second predetermined time range, and the silence period configuration value is non-empty and non-zero, then update the first update timestamp according to the silence period configuration value and the basic period configuration value to obtain the fourth update timestamp; Clear the cached data in the data cache queue; When receiving the third real-time monitoring data, obtain the third data timestamp of the third real-time monitoring data; Calculate the time difference between the third data timestamp and the fourth update timestamp; If the third data timestamp is greater than the fourth update timestamp, and the time difference meets the preset time range, directly push the third real-time monitoring data into the data cache queue after clearing.

6. The method according to claim 5, wherein After calculating the time difference between the third data time and the fourth update timestamp, further include: If the time difference does not meet the preset time range, then update the fourth update timestamp according to the third data timestamp and the basic period configuration value to obtain the fifth update timestamp; Push the third real-time monitoring data into the data cache queue after clearing.

7. The method according to claim 1, wherein The method further includes: If the time difference meets the second evaluation period, determine the queue position in the data cache queue corresponding to the first real-time monitoring data, and obtain the current caching timestamp of the current cached data corresponding to the queue position; If the first data timestamp is greater than the current caching timestamp, replace the current cached data with the first real-time monitoring data, and update the current caching timestamp to the first data timestamp.

8. A vehicle signal periodic warning device, characterized in that, Include: An acquisition module, configured to acquire alarm configuration information corresponding to a vehicle unique identification code, where the alarm configuration information includes a specified monitoring signal identifier; A receiving module, configured to obtain the first data timestamp of the first real-time monitoring data when receiving the first real-time monitoring data corresponding to the specified monitoring signal identifier; A time acquisition module, configured to, if there is already a data cache queue for caching cached data corresponding to the specified monitoring signal identifier, obtain the earliest caching timestamp of the earliest cached data in the data cache queue, where the data cache queue includes at least one group of cached data, and each group of cached data includes at least two monitoring signals with a combined relationship; A calculation module, configured to calculate the time difference between the first data timestamp and the earliest caching timestamp; An alarm module, configured to generate and report an alarm message if the time difference satisfies a first evaluation period and the cached data in the data cache queue meets a preset alarm condition, and update the earliest cache timestamp according to the latest cache timestamp in the data cache queue to obtain a first updated timestamp, where the alarm message includes vehicle signals related to vehicle fault diagnosis; After calculating the time difference between the first data timestamp and the earliest cache timestamp, it further includes: If the time difference satisfies the first evaluation period and the cached data in the data cache queue does not meet the preset alarm condition, extract the basic period configuration value in the alarm configuration information; Update the earliest cache timestamp according to the basic period configuration value to obtain a third updated timestamp, and use the third updated timestamp as the earliest cache time of the emptied data cache queue.

9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Monitoring and diagnosing device for plant

    JP1993187895A

  • System for diagnosing vehicle using gateway and method of same

    KR1020140085133A