Function group process abnormity monitoring method, electronic equipment and vehicle
By adjusting the process monitoring cycle range and performing flexible monitoring based on the usage frequency and activation status of functional groups, the problems of high resource requirements and poor flexibility in existing technologies are solved, thereby improving user experience and driving safety.
Patent Information
- Application Number
- CN202510894830.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-09-30
AI Technical Summary
Existing process monitoring has problems such as high demand for system resources, poor flexibility, lack of targeting, low monitoring efficiency, and poor user experience.
By obtaining the current usage frequency level and current activation status of the function group to which the monitored process belongs, the monitoring cycle range is adjusted to determine whether the process is abnormal, thereby achieving flexible and targeted monitoring.
It improves user experience and driving safety, balances the system resources of the monitoring platform, and improves the operating efficiency of the monitoring platform.
Smart Images

Figure CN120723581A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information monitoring technology, and in particular to a method for monitoring abnormality in a functional group process, an electronic device, and a vehicle. Background Art
[0002] The process anomaly monitoring platform, which receives feedback from the vehicle's computer system regarding the actual process operation cycle, can monitor anomalies in each process. However, existing process monitoring systems use a unified monitoring standard for all vehicles, making it difficult to flexibly adjust the level of monitoring rigor. This leads to high system resource requirements, poor flexibility, lack of targetedness, low monitoring efficiency, and a poor user experience. Summary of the Invention
[0003] In view of this, the purpose of this application is to propose a functional group process abnormality monitoring method, electronic equipment and vehicle to solve the technical problems of high system resource requirements, poor flexibility, lack of targeting, low monitoring efficiency and poor user experience in existing process monitoring.
[0004] Based on the above objectives, the present application provides a method for monitoring abnormality of a functional group process, including:
[0005] Get the current usage frequency level and current activation status of the function group to which the monitored process belongs;
[0006] Determining an adjustment strategy based on the current usage frequency level and the current activation status, and adjusting the original monitoring period range of the monitored process based on the adjustment strategy to obtain a reference monitoring period range;
[0007] Based on the actual operation cycle of the monitored process and the reference monitoring cycle range, it is determined whether the monitored process is operating abnormally, and an abnormal monitoring result is obtained.
[0008] The reference monitoring period range used to determine whether a process is abnormal is adjusted according to the vehicle driver's usage habits and the activation status of the function group, making the abnormal monitoring standard setting of the process more flexible and targeted, effectively improving the user experience, user driving experience and driving safety, and effectively balancing the system resources of the monitoring platform to improve the operating efficiency of the monitoring platform.
[0009] Optionally, determining an adjustment strategy based on the current usage frequency level and the current activation status, and adjusting an original monitoring period range of the monitored process based on the adjustment strategy to obtain a reference monitoring period range includes:
[0010] Based on a first preset correspondence, the adjustment strategy is determined using the current usage frequency level and the current activation status; wherein the first preset correspondence determines a correspondence between the usage frequency level, the activation status, and the adjustment strategy; the adjustment strategy includes an adjustment trend and an adjustment ratio;
[0011] The original monitoring period range is adjusted to the reference monitoring period range based on the adjustment ratio and according to the adjustment trend.
[0012] The adjustment strategy is determined based on the first preset correspondence, providing the basis and prerequisite for the subsequent adjustment of the original monitoring cycle range, so that the functional groups that are highly dependent on users and are in an enabled state can always be closely monitored, and abnormal situations of the monitored processes can be effectively discovered, thereby ensuring the normal operation of the monitored processes and functional groups, and improving the user experience and driving experience.
[0013] Optionally, adjusting the original monitoring period range to the reference monitoring period range based on the adjustment ratio and according to the adjustment trend includes:
[0014] In response to the adjustment trend being a decrease, increasing the lower limit of the original monitoring period range according to the adjustment ratio to obtain a first value, decreasing the upper limit of the original monitoring period range according to the adjustment ratio to obtain a second value, and determining a range enclosed by the first and second values as the reference monitoring period range;
[0015] In response to the adjustment trend of expansion, the lower limit value of the original monitoring cycle range is reduced according to the adjustment ratio to obtain a third value, and the upper limit value of the original monitoring cycle range is increased according to the adjustment ratio to obtain a fourth value, and the range enclosed by the third value and the fourth value is determined to be the reference monitoring cycle range.
[0016] By adjusting the upper and lower limits of the original monitoring cycle range, the reference monitoring cycle range is determined, providing a basis for subsequent abnormal monitoring of the monitored process.
[0017] Optionally, the determining whether the monitored process operates abnormally based on the actual operating cycle of the monitored process and the reference monitoring cycle range includes:
[0018] In response to the fact that the actual operating cycle of the monitored process is not included in the reference monitoring cycle range for a consecutive number of times greater than or equal to a first threshold, or the fact that the actual operating cycle is not included in the reference monitoring cycle range for a number of times within a first time period is greater than or equal to a second threshold, the monitored process is determined to be abnormal.
[0019] By setting the first threshold and the second threshold, it is ensured that the anomalies that truly affect the implementation of the functional group can be effectively captured, thereby improving the efficiency of anomaly monitoring and balancing the system resources of the monitoring platform.
[0020] Optionally, the adjustment strategy includes adjusting the trend and adjusting the ratio;
[0021] The method for determining the first threshold includes:
[0022] Based on the adjustment trend and the first preset value, the original first fault tolerance threshold of the monitored process is adjusted to obtain the first threshold; wherein the first preset value is determined according to the adjustment ratio and the original first fault tolerance threshold, or the first preset value is determined according to the current usage frequency level, the current activation status, and a preset second relationship, wherein the preset second relationship specifies a corresponding relationship between the usage frequency level, the activation status, and the first preset value;
[0023] The method for determining the second threshold includes:
[0024] Based on the adjustment trend and the second preset value, the original second fault tolerance threshold of the monitored process is adjusted to obtain the second threshold; wherein, the second preset value is determined according to the adjustment ratio and the original second fault tolerance threshold, or, the second preset value is determined according to the current usage frequency level, the current activation status and a preset third relationship, and the preset third relationship specifies the correspondence between the usage frequency level, the activation status and the second preset value.
[0025] The first threshold and the second threshold of the monitored process are associated with the usage frequency level and activation status of the function group to which they belong. The monitoring strictness can be flexibly adjusted according to the usage and activation status of the function group, which is more targeted.
[0026] Optionally, it also includes:
[0027] In response to not receiving the actual running cycle fed back by the monitored process within the second time period, determining that the monitored process is abnormal;
[0028] The adjustment strategy includes an adjustment trend and an adjustment ratio; and the method for determining the second duration includes:
[0029] Based on the adjustment trend and the preset duration, the original duration threshold of the monitored process is adjusted to obtain the second duration; wherein, the preset duration is determined according to the adjustment ratio and the original duration threshold, or, the preset duration is determined according to the current usage frequency level, the current activation status and a preset fourth relationship, and the preset fourth relationship specifies the corresponding relationship between the usage frequency level, the activation status and the preset duration.
[0030] The second duration of the monitored process is associated with the usage frequency level and activation status of the functional group to which it belongs. The monitoring strictness can be flexibly adjusted according to the usage and activation status of the functional group, which is more targeted; ensuring that the functional groups that users highly rely on and have enabled can run effectively, thereby improving user experience.
[0031] Optionally, before determining whether the monitored process is operating abnormally based on the actual operating period of the monitored process and the reference monitoring period range, the method includes:
[0032] Obtain the actual running cycle of the monitored process based on the predetermined frequency;
[0033] The predetermined frequency is determined based on the current usage frequency level, the current activation status and a preset fifth relationship, and the preset fifth relationship specifies the corresponding relationship between the usage frequency level, the activation status and the preset number of times.
[0034] By setting a scheduled frequency, a lower scheduled frequency can be adopted for function groups that are not frequently used and enabled by users. On the basis of achieving abnormal monitoring of function groups and monitored processes, it will not affect the normal activation of function groups, and can effectively reduce the system resources of the monitoring platform and improve the platform operation efficiency.
[0035] Optionally, before obtaining the current usage frequency level and current activation status of the function group to which the monitored process belongs, the method further includes:
[0036] Get the historical usage count of each function group on the current vehicle;
[0037] determining a usage frequency of each functional group based on a historical usage count of each functional group and a total usage count of all functional groups;
[0038] A current usage frequency level corresponding to each functional group is determined based on the usage frequency of each functional group.
[0039] By counting the historical usage times of each function group, the current usage frequency level of each function group is determined, providing the implementation basis and prerequisites for determining the adjustment strategy based on the current usage frequency level and activation status.
[0040] Based on the same inventive concept, the present disclosure also provides a function group process abnormality monitoring device, comprising:
[0041] The acquisition module is used to obtain the current usage frequency level and current activation status of the function group to which the monitored process belongs;
[0042] an adjustment module, configured to determine an adjustment strategy based on the current usage frequency level and the current activation status, and adjust the original monitoring period range of the monitored process based on the adjustment strategy to obtain a reference monitoring period range;
[0043] The abnormality monitoring module is used to determine whether the monitored process is running abnormally based on the actual running cycle of the monitored process and the reference monitoring cycle range, and obtain an abnormality monitoring result.
[0044] Based on the same inventive concept, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the program, it implements the functional group process abnormality monitoring method, electronic device and vehicle method as described above.
[0045] Based on the same inventive concept, the present disclosure also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the functional group process abnormality monitoring method, electronic device and vehicle method as described above.
[0046] Based on the same inventive concept, the present disclosure also provides a computer program product, including computer program instructions. When the computer program instructions are executed on a computer, the computer executes the above-mentioned function group process abnormality monitoring method, electronic device and vehicle method.
[0047] Based on the same inventive concept, the present disclosure also provides a vehicle, which includes the electronic device as described above.
[0048] From the above, it can be seen that the function group process anomaly monitoring method, electronic device and vehicle provided by the present application, the reference monitoring period range for judging whether the monitored process is abnormal, is determined according to the current usage frequency level and the current activation status of the function group to which the monitored process belongs, so that the strictness of monitoring can be adjusted according to the user usage habits of the vehicle and the actual activation status of the function group. When the current usage frequency level is low and is in an unactivated state, it means that the user has a low dependence on the function group, and a larger reference monitoring period range can be used to monitor the monitored process. These function groups have a low usage frequency, which leaves enough time and prerequisites for the automatic recovery of the monitored process, thereby reducing the number of executions of additional abnormal recovery measures, and further reducing the system resource occupancy of the monitoring platform and improving the system operation efficiency of the monitoring platform. When the current usage frequency level is high and is in an activated state, it means that the user has a high dependence on the function group, and a smaller reference monitoring period range can be used to monitor the monitored process. A smaller reference monitoring cycle range can effectively capture some subtle anomalies and reduce the possibility of missed anomalies. At the same time, some cumulative anomalies can be captured at the early stage of the anomaly, so that countermeasures can be taken in advance to avoid accumulation and cause larger anomalies. In addition, when users know that there are anomalies in the monitored processes and function groups, they can reduce their dependence on them, thereby ensuring driving safety and improving user experience. In this application, the reference monitoring cycle range used to determine whether a process is abnormal is adjusted according to the vehicle driver's usage habits and the activation status of the function group, so that the abnormal monitoring standard setting of the process is more flexible and more targeted, and stricter monitoring is achieved for processes with high user dependence. On the basis of ensuring the effective operation of the function group, the user experience, user driving experience and driving safety are effectively improved. More relaxed monitoring is achieved for processes with low user dependence, effectively balancing the system resources of the monitoring platform and improving the operating efficiency of the monitoring platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in this application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are merely embodiments of this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0050] Figure 1 A schematic diagram of a method for monitoring abnormality of a functional group process according to an embodiment of the present application;
[0051] Figure 2 This is a schematic diagram of a device for monitoring abnormality in a functional group process according to an embodiment of the present application;
[0052] Figure 3 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the objectives, technical solutions and advantages of this application more clear, this application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0054] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should have the usual meanings understood by people with ordinary skills in the field to which this application belongs. The "first", "second" and similar words used in the embodiments of the present application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0055] With the advancement of vehicle intelligence, more and more intelligent features are now integrated into vehicles. The implementation of each intelligent feature requires the execution and coordination of multiple specific processes. Functional groups within a vehicle include Auto Parking Assist (APA), Adaptive Cruise Control (ACC), underlying functions, and calibration functions. The APA function group includes multiple processes, such as surround-view camera perception and the APA function state machine. The ACC function group includes multiple processes, such as front-view camera perception, the ACC function state machine, and ACC control decision-making. The underlying functions include processes such as fault management, state management, and communication modules. The calibration function includes processes such as production line static calibration and dynamic calibration foundation. Using APA as an example, we will explain the relationship between processes and function groups. The surround-view camera perception process acquires environmental information collected by the surround-view camera, while the APA function state machine process performs decision-making and control. Specifically, the surround-view camera perception process acquires environmental information, and the APA function state machine process then executes to make automatic parking decisions based on this information, thereby implementing the vehicle's automatic parking function.
[0056] The execution of a process is affected by the resources, computing power, and stability of the vehicle's on-board system, as well as by various sensor elements. For example, the surround-view camera perception process of the APA functional group is affected by both the surround-view camera and the on-board system. When the surround-view camera is abnormal, damaged, or the on-board system is abnormal, the surround-view camera perception process cannot proceed normally. During the design process of each functional group, an execution cycle requirement is set for each related process. For example, the execution cycle requirement of the surround-view camera perception process of the APA functional group is 100 milliseconds, which means that the time to execute the surround-view camera perception process once is 100 milliseconds. When a process runs abnormally, it cannot complete the operation within the execution cycle requirement. Therefore, by comparing the actual operation cycle of the process with the execution cycle requirement, the operation anomalies of the process and related functional groups can be effectively discovered.
[0057] During the actual execution of various processes on a vehicle, due to certain unavoidable system errors and interference, such as timer crystal drift, the actual detected operating cycle often cannot strictly align with the required execution cycle, and typically fluctuates within a certain range. Therefore, during process anomaly monitoring, a reasonable fluctuation range, known as the monitoring cycle range, is set for each process based on its execution cycle requirements. If the actual operating cycle of a process falls within the monitoring cycle range, it indicates that the current process is operating abnormally. If it does not fall within this range, it indicates that the process may have some anomalies and requires further processing.
[0058] Existing process anomaly monitoring platforms, such as the Prognostics and Health Management (PHM) platform, can detect anomalies in individual processes by comparing the actual process operation cycle fed back by the vehicle-mounted system with the monitoring cycle range. However, existing monitoring platforms use a unified monitoring standard for all vehicles, making it impossible to adjust the monitoring level based on user habits. This leads to multiple issues, such as high system resource requirements, poor flexibility, lack of targetedness, low monitoring efficiency, and a poor user experience.
[0059] Determining whether a process is abnormal by monitoring a periodic range carries a certain risk of missed detections. Some missed detections may resolve themselves after a certain period of time or when certain influencing factors disappear. For example, occasional environmental interference (such as electromagnetic radiation) will naturally resolve when these environmental factors disappear. Furthermore, since some processes in each functional group run continuously in the background according to established procedures—that is, they must continue to execute regardless of whether the functional group is enabled—when the functional group is disabled, occasional anomalies caused by environmental factors can be ignored. By the next time the functional group is enabled, the environmental factors have disappeared, allowing the functional group to be enabled normally without affecting the user experience or driving experience. Therefore, for functional groups that are infrequently used and not enabled, even if missed detections occur, their normal use and user experience will not be affected. However, for functional groups that are frequently used and enabled, the situation is different. Due to their high user frequency, there is a possibility that a missed detection has not yet resolved itself or the environmental factors have not disappeared before the functional group is enabled. In this case, the normal operation of the functional group will be affected, directly impacting the user experience. In addition, if no abnormal reminder is issued in time, the user may mistakenly believe that the current function group is operating normally and continue to rely heavily on the function group, which may bring certain driving risks. For example, in the APA function group, when the APA function state machine process has an abnormal operation, problems such as control command jamming and operation jamming may occur. During the parking process, temporary jamming may make it impossible to control the vehicle in time, resulting in accidents such as scratches with surrounding objects or vehicles, thereby reducing user experience and driving safety.
[0060] In the actual process of process monitoring, a monitoring platform typically needs to monitor multiple vehicles simultaneously. Each vehicle has numerous functional groups and processes. When a process anomaly is detected, alerts need to be issued and countermeasures need to be taken, all of which consume corresponding system resources. Existing technologies use a unified standard for monitoring across all vehicles, making it impossible to adjust the monitoring rigor based on user habits. This lacks flexibility. Applying a unified and strict standard across all functional groups results in a waste of system resources and low monitoring platform efficiency. Furthermore, for functional groups that users rely heavily on and enable, missed anomalies can lead to operational anomalies within that functional group, resulting in a poor user experience, a poor driving experience, and potentially impacting driving safety. Furthermore, the occurrence of some anomalies is a cumulative process. Initially, the deviation between the actual operating cycle and the monitoring cycle is not significant. However, as the process continues to run and errors accumulate, such as increased timer crystal oscillator drift due to external influences or prolonged use, time detection errors caused by increased crystal oscillator drift will accumulate. When these errors accumulate to a certain level, they may trigger execution anomalies in other processes. Existing technologies are also unable to predict these cumulative anomalies in advance, which further leads to problems such as poor driving experience and poor user experience.
[0061] In view of this, the present application provides a function group process abnormality monitoring method, which can be applied to the monitoring platform to monitor the abnormality of the monitored process. The abnormality monitoring of the monitored process is more flexible and targeted, and can effectively improve the user experience and driving experience. Figure 1 As shown, the method includes:
[0062] S101, obtaining the current usage frequency level and current activation status of the function group to which the monitored process belongs;
[0063] Specifically, the current activation status includes an activated state and an inactivated state. The current usage frequency level can be set to multiple levels, such as 2, 3, 4, 5, 6 or more levels. The multiple levels can be represented by text, such as high, relatively high, medium, relatively low, low, etc., or by numerical values, such as first, second, third, fourth, etc., without specific limitation.
[0064] S102: determining an adjustment strategy based on the current usage frequency level and the current activation status, and adjusting the original monitoring period range of the monitored process based on the adjustment strategy to obtain a reference monitoring period range;
[0065] Specifically, the original monitoring cycle range is the monitoring cycle range, which is set in advance when setting up the monitoring program for the functional group. The size of the reference monitoring cycle range can be negatively correlated with the current usage frequency level. That is, the higher the current usage frequency level, the smaller the reference monitoring cycle range; the lower the current usage frequency level, the larger the reference monitoring cycle range. After determining the adjustment strategy based on the current usage frequency level and the current activation status of the functional group, the same strategy is implemented for all monitored processes under the functional group. That is, the adjustment strategy is the same for all monitored processes under the same functional group, ensuring that the same intensity of monitoring is applied to the monitored processes related to the functional group. When the reference monitoring cycle range is smaller, the monitoring standards are more stringent, reducing the possibility of missed anomalies. Even subtle anomalies can be detected, allowing them to be handled promptly. When the reference monitoring cycle range is larger, the monitoring standards have greater redundancy and are more relaxed. When the monitored process is enabled, the reference cycle range can be set smaller than the original cycle range, thereby raising the monitoring standards. When the monitored process is not enabled, the reference cycle range can be set larger than the original cycle range, thereby lowering the monitoring standards.
[0066] S103: Determine whether the monitored process is operating abnormally based on the actual operating cycle of the monitored process and the reference monitoring cycle range, and obtain an abnormal monitoring result.
[0067] Specifically, each time the monitored process runs, an actual operating cycle is fed back. Based on the actual operating cycle and the reference monitoring cycle range, it can be determined whether the monitored process is abnormal. When the monitored process runs abnormally, an abnormality reminder is issued to the user to prevent the user from over-reliance on the current function group and affecting driving safety. Optionally, multiple abnormality recovery measures can be pre-set, and abnormality recovery measures are automatically triggered when an abnormality in the monitored process is detected, or abnormality recovery measures are sent together with the abnormality reminder to the user, and the execution of the abnormality recovery measures is triggered by the user's selection.
[0068] Based on steps S101 to S103, the reference monitoring cycle range for judging whether the monitored process is abnormal is determined according to the current usage frequency level and the current activation status of the function group to which the monitored process belongs, so that the strictness of monitoring can be adjusted according to the user's usage habits of the vehicle and the actual activation status of the function group. When the current usage frequency level is low and is in an unactivated state, it means that the user has a low dependence on the function group, and a larger reference monitoring cycle range can be used to monitor the monitored process. These function groups have a low usage frequency, which leaves enough time and prerequisites for the automatic recovery of the monitored process, thereby reducing the number of executions of additional abnormal recovery measures, and further reducing the system resource occupancy of the monitoring platform and improving the system operation efficiency of the monitoring platform. When the current usage frequency level is high and is in an activated state, it means that the user has a high dependence on the function group, and a smaller reference monitoring cycle range can be used to monitor the monitored process. A smaller reference monitoring cycle range can effectively capture some subtle anomalies and reduce the possibility of missed anomalies. At the same time, some cumulative anomalies can be captured at the early stage of the anomaly, so that countermeasures can be taken in advance to avoid accumulation and cause larger anomalies. In addition, when users know that there are anomalies in the monitored processes and function groups, they can reduce their dependence on them, thereby ensuring driving safety and improving user experience. In this application, the reference monitoring cycle range used to determine whether a process is abnormal is adjusted according to the vehicle driver's usage habits and the activation status of the function group, so that the abnormal monitoring standard setting of the process is more flexible and more targeted, and stricter monitoring is achieved for processes with high user dependence. On the basis of ensuring the effective operation of the function group, the user experience, user driving experience and driving safety are effectively improved. More relaxed monitoring is achieved for processes with low user dependence, effectively balancing the system resources of the monitoring platform, and the monitoring platform operates more efficiently.
[0069] The adjustment strategy is determined by pre-establishing a correspondence between the usage frequency level, the activation status, and the adjustment strategy. In some embodiments, the adjustment strategy is determined based on the current usage frequency level and the current activation status, and the original monitoring period range of the monitored process is adjusted based on the adjustment strategy to obtain a reference monitoring period range, including:
[0070] Based on a first preset correspondence, the adjustment strategy is determined using the current usage frequency level and the current activation status; wherein the first preset correspondence determines a correspondence between the usage frequency level, the activation status, and the adjustment strategy; the adjustment strategy includes an adjustment trend and an adjustment ratio;
[0071] The original monitoring period range is adjusted to the reference monitoring period range based on the adjustment ratio and according to the adjustment trend.
[0072] Specifically, the adjustment trend is used to guide the direction of change in the original monitoring period range, including shrinking, expanding, and unchanged. Shrinking means shrinking the range based on the original monitoring period range, expanding means expanding the range based on the original monitoring period range, and unchanged means not adjusting the original monitoring period range. The adjustment ratio is used to guide the magnitude of the change in the original monitoring period range. A correspondence between different usage frequency levels, activation status, adjustment trends, and adjustment ratios is pre-established to obtain a first preset correspondence. When the current usage frequency level and current activation status of the function group to which the monitored process belongs are determined, the adjustment trend and adjustment ratio of the monitored process can be determined according to the first preset correspondence. Optionally, the adjustment ratio can be set to 1%, 2%, 3%, 4%, 5%, 6%, 7%, 8%, 9%, 10%, 11%, 12%, 13%, 14%, 15%, 16%, 17%, 18%, 19%, 20%, or a larger or smaller ratio, without specific limitation. For different function groups, the adjustment ratio can be set to be consistent or inconsistent; for different usage frequency levels and different activation situations, the adjustment ratio can be set to be consistent or inconsistent, with no specific restrictions; under the expanding adjustment trend and the shrinking adjustment trend, the adjustment ratio can be consistent or inconsistent, with no specific restrictions.
[0073] For example, taking the usage frequency levels including high, medium, and low as an example, the first preset correspondence relationship may be as shown in the following table:
[0074] Table 1. Correspondence between the frequency of use, activation status, and adjustment strategy of the functional group (Part 1)
[0075]
[0076]
[0077] For example, taking the usage frequency levels including high, relatively high, medium, relatively low, and low as an example, the first preset correspondence relationship may be as shown in the following table:
[0078] Table 2. Correspondence between the frequency of use, activation status, and adjustment strategy of functional groups (Part 2)
[0079]
[0080] In the present application, by constructing a first preset correspondence, the correspondence between the usage frequency level, the activation status and the adjustment strategy is determined. When the current usage frequency level and the current activation status of the function group to which the monitored process belongs are obtained, the adjustment trend and the adjustment ratio can be determined based on the first preset correspondence; then, on the basis of the original monitoring cycle range of the monitored process, the reference monitoring cycle range is obtained by adjusting according to the adjustment ratio and the adjustment trend. The determination of the adjustment strategy is achieved through the first preset correspondence, which provides the basis and prerequisite for the subsequent adjustment of the original monitoring cycle range; at the same time, when the activation status and usage frequency level of the monitored process change, a new reference monitoring cycle range can be re-determined based on the first preset correspondence, so that the reference monitoring cycle range changes with the usage frequency level and the activation status of the function group of the monitored process, thereby enabling the function group with high user dependence and in the activation state to be closely monitored at all times, effectively discovering the abnormal situation of the monitored process, thereby ensuring the normal operation of the monitored process and the function group, and improving the user experience and driving experience.
[0081] By adjusting the upper limit and lower limit of the original monitoring period range, the original monitoring period range is reduced or expanded. In some embodiments, adjusting the original monitoring period range to the reference monitoring period range based on the adjustment ratio and the adjustment trend includes:
[0082] In response to the adjustment trend being a decrease, increasing the lower limit of the original monitoring period range according to the adjustment ratio to obtain a first value, decreasing the upper limit of the original monitoring period range according to the adjustment ratio to obtain a second value, and determining a range enclosed by the first and second values as the reference monitoring period range;
[0083] In response to the adjustment trend of expansion, the lower limit value of the original monitoring cycle range is reduced according to the adjustment ratio to obtain a third value, and the upper limit value of the original monitoring cycle range is increased according to the adjustment ratio to obtain a fourth value, and the range enclosed by the third value and the fourth value is determined to be the reference monitoring cycle range.
[0084] Specifically, when the adjustment trend is shrinking, the lower limit value is increased according to the adjustment ratio to obtain a value larger than the original lower limit value corresponding to the original monitoring cycle range, that is, the first value, and the upper limit value is reduced according to the adjustment ratio to obtain a value smaller than the upper limit value corresponding to the original monitoring cycle range, that is, the second value; through the larger lower limit value (first value) and the smaller upper limit value (second value), a reference monitoring cycle range with a smaller range can be enclosed. When the adjustment trend is expanding, the lower limit value is reduced according to the adjustment ratio to obtain a value smaller than the original lower limit value corresponding to the original monitoring cycle range, that is, the third value, and the upper limit value is increased according to the adjustment ratio to obtain a value larger than the upper limit value corresponding to the original monitoring cycle range, that is, the fourth value; through the smaller lower limit value (third value) and the larger upper limit value (fourth value), a reference monitoring cycle range with a larger range can be enclosed. When the adjustment trend is shrinking, the reference monitoring cycle range obtained falls completely within the original monitoring cycle range, and when the adjustment trend is expanding, the original monitoring cycle range falls completely within the reference monitoring cycle range. In this application, the upper limit and lower limit of the original monitoring period range are adjusted to achieve the determination of the reference monitoring period range, thereby providing a basis for subsequent abnormal monitoring of the monitored process.
[0085] For example, a vehicle with a high frequency of APA usage can adjust its APA usage by 5% based on the current APA usage frequency level, the current activation status, and the first preset correspondence. The aforementioned adjustment strategy is applied to all APA processes, reducing the original monitoring cycle range corresponding to the surround-view camera perception and APA functional state machine processes by 5%. For example, the original monitoring cycle range of the surround-view camera perception process is [90, 110]. Based on the corresponding adjustment ratios, the lower limit is adjusted from 90 to 94.5, and the upper limit is adjusted from 110 to 104.5, resulting in a reference monitoring cycle range of [94.5, 104.5].
[0086] During the operation of a process, there may be short-term jumps due to interference from the environment, that is, the process execution cycle or state may have unpredictable offsets in a short period of time (usually microseconds to milliseconds). Since the number of short-term jumps is within a certain range, it generally does not affect the normal use of the functional group, that is, it can usually be left unprocessed. In order to prevent the function from exiting due to short-term jumps of the process, a certain number of fault tolerances can be set. In some embodiments, the determination of whether the monitored process is operating abnormally based on the actual operating cycle of the monitored process and the reference monitoring cycle range includes:
[0087] In response to the fact that the actual operating cycle of the monitored process is not included in the reference monitoring cycle range for a consecutive number of times greater than or equal to a first threshold, or the fact that the actual operating cycle is not included in the reference monitoring cycle range for a number of times within a first time period is greater than or equal to a second threshold, the monitored process is determined to be abnormal.
[0088] Specifically, the first threshold can be 2, 3, 4, 5, 6, 7, 8, 9, or 10 times, or other values can be set; the second threshold can be 2, 3, 4, 5, 6, 7, 8, 9, or 10 times, or other values can be set; the first threshold can be equal to or different from the second threshold, without specific restrictions; the first duration can be 0.5, 0.8, 1, 1.2, or 1.5 seconds, or other durations can be set, without specific restrictions.
[0089] If the actual operation cycle of the monitored process continuously exceeds the first threshold value and does not fall within the reference monitoring cycle range, or the accumulated second threshold value within the first time period does not fall within the reference monitoring cycle range, it means that there are factors that continuously affect the operation of the monitored process, such as continuous interference from cosmic rays / electromagnetic interference, or a large amount of system resources are occupied for a long time, etc., so it can be determined that the corresponding monitored process has an abnormality and needs further processing. In this application, by setting the number of fault tolerances (i.e., the first threshold value and the second threshold value), it can be ensured that the abnormalities that really affect the activation of the functional group can be effectively captured, and abnormal reminders will not be frequently issued or the execution of abnormal recovery measures will not be frequently triggered. On the basis of ensuring the effective implementation of the vehicle functional group, the efficiency of abnormal monitoring and the balance of monitoring platform system resources are effectively improved.
[0090] The first threshold and the second threshold of the monitored process can be determined by the usage frequency level and activation status of the function group to which it belongs. In some embodiments, the adjustment strategy includes adjusting the trend and adjusting the ratio;
[0091] The method for determining the first threshold includes:
[0092] Based on the adjustment trend and the first preset value, the original first fault tolerance threshold of the monitored process is adjusted to obtain the first threshold; wherein the first preset value is determined according to the adjustment ratio and the original first fault tolerance threshold, or the first preset value is determined according to the current usage frequency level, the current activation status, and a preset second relationship, wherein the preset second relationship specifies a corresponding relationship between the usage frequency level, the activation status, and the first preset value;
[0093] The method for determining the second threshold includes:
[0094] Based on the adjustment trend and the second preset value, the original second fault tolerance threshold of the monitored process is adjusted to obtain the second threshold; wherein, the second preset value is determined according to the adjustment ratio and the original second fault tolerance threshold, or, the second preset value is determined according to the current usage frequency level, the current activation status and a preset third relationship, and the preset third relationship specifies the correspondence between the usage frequency level, the activation status and the second preset value.
[0095] Specifically, when the adjustment trend is shrinking, the first preset value is lowered based on the original first fault tolerance threshold of the monitored process to obtain the first threshold; when the adjustment trend is expanding, the first preset value is increased based on the original first fault tolerance threshold of the monitored process to obtain the first threshold. When the adjustment trend is shrinking, the second preset value is lowered based on the original second fault tolerance threshold of the monitored process to obtain the second threshold; when the adjustment trend is expanding, the second preset value is increased based on the original second fault tolerance threshold of the monitored process to obtain the second threshold.
[0096] The first preset value can be determined based on the adjustment ratio and the original first fault-tolerance threshold, that is, after determining the adjustment strategy for the original monitoring period range, the original first fault-tolerance threshold can be adjusted according to the same strategy. At this time, the first preset value = adjustment ratio × original first fault-tolerance threshold. The first preset value can also be determined based on a preset second relationship, and a corresponding relationship between the usage frequency level, activation status and the first preset value of each functional group is pre-established (that is, a preset second relationship). After determining the current usage frequency level and current activation status of the functional group to which the monitored process belongs, the corresponding first preset value can be obtained based on the preset second relationship. Optionally, the first preset value can be set to 1, 2, 3, 4, 5, 6, 7, 8, etc., or can be set to other values, without specific restrictions.
[0097] For example, taking the usage frequency levels including high, relatively high, medium, relatively low, and low as an example, the preset second relationship may be as shown in the following table:
[0098] Table 3 Correspondence between frequency level, activation status and first preset value
[0099]
[0100]
[0101] The second preset value can be determined based on the adjustment ratio and the original second fault tolerance threshold, that is, after determining the adjustment strategy of the original monitoring period range, the original second fault tolerance threshold can be adjusted according to the same strategy. At this time, the second preset value = adjustment ratio × original second fault tolerance threshold. The second preset value can also be determined based on a preset third relationship, and a corresponding relationship between the usage frequency level, activation status and the second preset value of each functional group is pre-established (that is, a preset third relationship). After determining the current usage frequency level and current activation status of the functional group to which the monitored process belongs, the corresponding second preset value can be obtained according to the preset third relationship. Optionally, the second preset value can be set to 1, 2, 3, 4, 5, 6, 7, 8, etc., or can be set to other values, without specific limitation.
[0102] For example, taking the usage frequency levels including high, relatively high, medium, relatively low, and low as an example, the preset third relationship may be as shown in the following table:
[0103] Table 4 Correspondence between frequency level, activation status and second preset value
[0104]
[0105] In the present application, the first threshold and the second threshold of the monitored process are associated with the usage frequency level and the activation status of the functional group to which it belongs, so that the monitoring strictness can be flexibly adjusted according to the usage and activation status of the functional group, which is more targeted. When the usage frequency level of the functional group to which it belongs is high and is in the enabled state, the original first fault tolerance threshold and the original second fault tolerance threshold are lowered to obtain a lower first threshold and second threshold, that is, the number of fault tolerances that allow the actual operation cycle of the monitored process to exceed the reference monitoring cycle range is reduced, thereby achieving a closer monitoring of the monitored process; when the usage frequency level of the functional group to which it belongs is low and is in the unenabled state, the original first fault tolerance threshold and the original second fault tolerance threshold are increased to obtain a higher first threshold and second threshold, that is, the number of fault tolerances that allow the actual operation cycle of the monitored process to exceed the reference monitoring cycle range is increased, thereby achieving a more relaxed monitoring of the monitored process. Under strict monitoring, various anomalies of the monitored process can be effectively captured, so that the anomalies can be handled and recovered in time, ensuring that the functional groups that users highly rely on and are in an enabled state can run effectively; under loose monitoring, some functional groups that are not frequently used or enabled by some users are allowed to have some occasional and temporary anomalies, and they will not be handled. These occasional and temporary anomalies can recover on their own within a certain period of time and will not affect the next user's use of these functional groups. This can effectively reduce the resource consumption of the monitoring platform, concentrate monitoring resources on functional groups that users use more frequently, and realize the reasonable allocation of monitoring resources.
[0106] Each time the monitored process completes a run, it will feedback the actual run cycle to the monitoring platform. If the actual run cycle feedback from the monitored process is not received within a certain period of time, the corresponding monitored cycle is determined to be abnormal. In some embodiments, it also includes:
[0107] In response to not receiving the actual running cycle fed back by the monitored process within the second time period, determining that the monitored process is abnormal;
[0108] The adjustment strategy includes an adjustment trend and an adjustment ratio; and the method for determining the second duration includes:
[0109] Based on the adjustment trend and the preset duration, the original duration threshold of the monitored process is adjusted to obtain the second duration; wherein, the preset duration is determined according to the adjustment ratio and the original duration threshold, or, the preset duration is determined according to the current usage frequency level, the current activation status and a preset fourth relationship, and the preset fourth relationship specifies the corresponding relationship between the usage frequency level, the activation status and the preset duration.
[0110] Specifically, when the adjustment trend is shrinking, the preset duration is reduced on the original duration threshold of the monitored process to obtain a second duration; when the adjustment trend is expanding, the preset duration is added to the original duration threshold of the monitored process to obtain a second duration. The preset duration can be determined according to the adjustment ratio and the original duration threshold, that is, after determining the adjustment strategy of the original monitoring cycle range, the original duration threshold can be adjusted according to the same strategy. At this time, the preset duration = adjustment ratio × original duration threshold. The preset duration can also be determined according to a preset fourth relationship, pre-building the corresponding relationship between the usage frequency level, activation status and preset duration of each functional group (i.e., the preset fourth relationship), and then after determining the current usage frequency level and current activation status of the functional group to which the monitored process belongs, the corresponding preset duration can be obtained according to the preset fourth relationship. Optionally, the preset duration can be set to 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5 seconds, etc., or it can be set to other shorter or longer durations, without specific limitation.
[0111] For example, taking the usage frequency levels including high, relatively high, medium, relatively low, and low as an example, the preset fourth relationship may be as shown in the following table:
[0112] Table 5 Correspondence between usage frequency level, activation status and preset duration
[0113]
[0114] The process's operating cycle will affect the startup and execution time of the corresponding function group, thereby directly affecting the user experience. For example, when the user activates the ACC function group, the front camera perception process fails to report the actual operating cycle for a long time, reflecting that the front camera process is currently not running effectively. The related ACC function state machine process and ACC control decision process fail to receive valid information input, resulting in the ACC function group being unable to be effectively activated and forced to exit, which not only affects the user experience but may also affect normal driving conditions. Therefore, when the actual operating cycle feedback from the monitored process is not received within the second time period, the monitored process is directly determined to be abnormal, so that the user can further take other alternative measures or abnormal recovery measures.
[0115] In this application, the second duration of the monitored process is associated with the usage frequency level and activation status of the functional group to which it belongs. The monitoring strictness can be flexibly adjusted according to the usage and activation status of the functional group, which is more targeted. When the usage frequency level of the functional group to which it belongs is high and it is in the enabled state, the original duration threshold is lowered to obtain a shorter second duration, thereby achieving more stringent monitoring of the monitored process; when the usage frequency level of the functional group to which it belongs is low and it is in the unenabled state, the original duration threshold is increased to obtain a longer second duration, thereby achieving more relaxed monitoring of the monitored process. On the one hand, it ensures that the functional groups that users highly rely on and are in the enabled state can operate effectively, thereby improving the user experience. On the other hand, it can concentrate the monitoring platform resources on the functional groups that users use more frequently, thereby achieving a reasonable allocation of monitoring resources.
[0116] For monitored processes of functional groups that are not frequently used by some users, the frequency of abnormality determination can be reduced to further balance system resources. In some embodiments, before determining whether the monitored process is running abnormally based on the actual operation cycle of the monitored process and the reference monitoring cycle range, the following steps are included:
[0117] Obtain the actual running cycle of the monitored process based on the predetermined frequency;
[0118] The predetermined frequency is determined based on the current usage frequency level, the current activation status and a preset fifth relationship, and the preset fifth relationship specifies the corresponding relationship between the usage frequency level, the activation status and the preset number of times.
[0119] Specifically, a correspondence between the usage frequency level, activation status, and predetermined frequency of each functional group is pre-established (i.e., a preset fifth relationship). Then, after determining the current usage frequency level and activation status of the functional group to which the monitored process belongs, the corresponding predetermined frequency can be obtained based on the preset fifth relationship. For functional groups with a low current usage frequency level and not activated, a lower predetermined frequency is set, meaning that the actual operating cycle is collected at a lower frequency for anomaly detection.
[0120] For example, taking the usage frequency levels including high, relatively high, medium, relatively low, and low as an example, the preset five relationships may be shown in the following table:
[0121] Table 6 Correspondence between usage frequency level, activation status and scheduled frequency
[0122]
[0123]
[0124] Under normal circumstances, each time the monitoring platform receives feedback on the actual operating cycle of the monitored process, it will trigger an abnormality judgment step, that is, trigger the execution of a step of judging whether the monitored process is operating abnormally based on the actual operating cycle of the monitored process and the reference monitoring cycle range (step S103). However, the monitoring platform needs to monitor multiple processes of the functional groups of multiple vehicles at the same time, and the existing abnormality judgment frequency will occupy a higher system resource of the monitoring platform. For the monitored processes of some functional groups that are not frequently used by some users, the abnormality judgment frequency can be reduced, that is, the actual operating cycle is obtained at a lower predetermined frequency for abnormality judgment. As shown in Table 6, as the ACC usage frequency level decreases, the predetermined frequency gradually decreases, from each acquisition (that is, each time an actual operating cycle is received, an abnormality judgment step is immediately executed based on the actual operating cycle) to once every four acquisitions (that is, each time four actual operating cycles are received, an abnormality judgment step is executed based on the actual operating cycle). In the present application, when the monitoring platform receives the actual operation cycle feedback from the monitored process, the actual operation cycle data is stored in the corresponding storage device. At this time, the abnormal judgment step will not be triggered immediately. Instead, the actual operation cycle is obtained from the corresponding storage device according to the predetermined frequency to execute the abnormal judgment step, thereby reducing the number of executions of the abnormal judgment step; a lower predetermined frequency is adopted for function groups that are not frequently used and enabled by users. On the one hand, it is still possible to realize abnormal monitoring of the function group and the monitored process without affecting the normal activation of the function group. On the other hand, it can reduce the system resource occupation of the monitoring platform and improve the platform operation efficiency.
[0125] The frequency of use of each functional group is determined based on the historical number of times each functional group is used on each vehicle. In some embodiments, before obtaining the current frequency of use and current activation status of the functional group to which the monitored process belongs, the method further includes:
[0126] Get the historical usage count of each function group on the current vehicle;
[0127] determining a usage frequency of each functional group based on a historical usage count of each functional group and a total usage count of all functional groups;
[0128] Determine the current usage frequency level corresponding to each functional group based on the usage frequency of each functional group
[0129] Specifically, the usage frequency level of each function group is updated regularly. With changes in user usage habits, driving skills, driving routes, etc., the usage frequency level corresponding to each function group may change. For example, when a user's driving skills are not high, he or she may frequently use the APA function, and when the user's driving skills gradually improve, the usage frequency of the APA function may decrease; when the user's main driving road changes from urban roads to highways, the usage frequency corresponding to the ACC function group may increase significantly. Therefore, the historical usage count of each function group on the vehicle is regularly collected to determine the usage frequency registration of each function group to ensure that the current usage frequency level of each function group obtained by statistics is consistent with the user's current actual usage.
[0130] Optionally, the current frequency level of use of the functional group can be determined on the cloud. The computing power on the vehicle side is limited. In order to avoid occupying the computing power resources of the vehicle system, the current frequency level of use of the functional group can be counted and determined on the cloud. Specifically, the vehicle system obtains the historical usage data of each functional group on the current vehicle, and packages the historical usage data and sends it to the cloud. The cloud parses the historical usage data to obtain the function group ID, usage count and other information in the data, thereby counting the historical usage count of each functional group on the current vehicle; the historical usage count corresponding to each functional group is divided by the historical usage count of each functional group on the current vehicle to obtain the usage frequency of each functional group; the usage frequency of each functional group is sorted from large to small, and the current usage frequency level corresponding to each functional group is determined according to the sorting. For example, the current usage frequency level of the top 5 functional groups can be determined as high, the current usage frequency level of the functional groups ranked 6 to 15 can be determined as medium, and the current usage frequency level of the functional groups ranked 16 and above can be determined as low. In this application, by counting the historical usage times of each functional group, the current usage frequency level of each functional group is determined, providing an implementation basis and prerequisite for subsequently determining the adjustment strategy according to the current usage frequency level and activation status.
[0131] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied in a distributed scenario and performed by multiple devices working together. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the method.
[0132] It should be noted that the above description is limited to some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the above embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0133] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a function group process abnormality monitoring device.
[0134] refer to Figure 2 , the functional group process abnormality monitoring device includes:
[0135] The acquisition module 201 is used to obtain the current usage frequency level and current activation status of the function group to which the monitored process belongs;
[0136] an adjustment module 202 for determining an adjustment strategy based on the current usage frequency level and the current activation status, and adjusting the original monitoring period range of the monitored process based on the adjustment strategy to obtain a reference monitoring period range;
[0137] The abnormality monitoring module 203 is used to determine whether the monitored process is running abnormally based on the actual running cycle of the monitored process and the reference monitoring cycle range, and obtain an abnormality monitoring result.
[0138] In some embodiments, the adjustment module 202 includes:
[0139] a policy decision unit, configured to determine the adjustment policy based on a first preset correspondence relationship and using the current usage frequency level and the current activation status; wherein the first preset correspondence relationship determines a correspondence between the usage frequency level, the activation status, and the adjustment policy; and the adjustment policy includes an adjustment trend and an adjustment ratio;
[0140] An adjustment execution unit is configured to adjust the original monitoring period range to the reference monitoring period range based on the adjustment ratio and in accordance with the adjustment trend.
[0141] In some embodiments, the adjustment execution unit is further configured to:
[0142] In response to the adjustment trend being a decrease, increasing the lower limit of the original monitoring period range according to the adjustment ratio to obtain a first value, decreasing the upper limit of the original monitoring period range according to the adjustment ratio to obtain a second value, and determining a range enclosed by the first and second values as the reference monitoring period range;
[0143] In response to the adjustment trend of expansion, the lower limit value of the original monitoring cycle range is reduced according to the adjustment ratio to obtain a third value, and the upper limit value of the original monitoring cycle range is increased according to the adjustment ratio to obtain a fourth value, and the range enclosed by the third value and the fourth value is determined to be the reference monitoring cycle range.
[0144] In some embodiments, the anomaly monitoring module 203 is further configured to:
[0145] In response to the fact that the actual operating cycle of the monitored process is not included in the reference monitoring cycle range for a consecutive number of times greater than or equal to a first threshold, or the fact that the actual operating cycle is not included in the reference monitoring cycle range for a number of times within a first time period is greater than or equal to a second threshold, the monitored process is determined to be abnormal.
[0146] In some embodiments, the adjustment strategy includes adjusting a trend and adjusting a ratio; and the method for determining the first threshold includes:
[0147] Based on the adjustment trend and the first preset value, the original first fault tolerance threshold of the monitored process is adjusted to obtain the first threshold; wherein the first preset value is determined according to the adjustment ratio and the original first fault tolerance threshold, or the first preset value is determined according to the current usage frequency level, the current activation status, and a preset second relationship, wherein the preset second relationship specifies a corresponding relationship between the usage frequency level, the activation status, and the first preset value;
[0148] The method for determining the second threshold includes:
[0149] Based on the adjustment trend and the second preset value, the original second fault tolerance threshold of the monitored process is adjusted to obtain the second threshold; wherein, the second preset value is determined according to the adjustment ratio and the original second fault tolerance threshold, or, the second preset value is determined according to the current usage frequency level, the current activation status and a preset third relationship, and the preset third relationship specifies the correspondence between the usage frequency level, the activation status and the second preset value.
[0150] In some embodiments, the apparatus further comprises:
[0151] a response module, configured to determine that the monitored process is abnormal in response to not receiving an actual operation cycle fed back by the monitored process within a second time period;
[0152] The adjustment strategy includes an adjustment trend and an adjustment ratio; and the method for determining the second duration includes:
[0153] Based on the adjustment trend and the preset duration, the original duration threshold of the monitored process is adjusted to obtain the second duration; wherein, the preset duration is determined according to the adjustment ratio and the original duration threshold, or, the preset duration is determined according to the current usage frequency level, the current activation status and a preset fourth relationship, and the preset fourth relationship specifies the corresponding relationship between the usage frequency level, the activation status and the preset duration.
[0154] In some embodiments, the anomaly monitoring module 203 is further configured to:
[0155] Before determining whether the monitored process is operating abnormally based on the actual operating cycle of the monitored process and the reference monitoring cycle range, obtaining the actual operating cycle of the monitored process based on a predetermined frequency;
[0156] The predetermined frequency is determined based on the current usage frequency level, the current activation status and a preset fifth relationship, and the preset fifth relationship specifies the corresponding relationship between the usage frequency level, the activation status and the preset number of times.
[0157] In some embodiments, the apparatus further comprises:
[0158] The frequency level confirmation module is used to execute, before obtaining the current usage frequency level and current activation status of the function group to which the monitored process belongs:
[0159] Get the historical usage count of each function group on the current vehicle;
[0160] determining a usage frequency of each functional group based on a historical usage count of each functional group and a total usage count of all functional groups;
[0161] A current usage frequency level corresponding to each functional group is determined based on the usage frequency of each functional group.
[0162] For the convenience of description, the above devices are described as being divided into various modules according to their functions. Of course, when implementing this application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0163] The device of the above embodiment is used to implement a corresponding function group process abnormality monitoring method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0164] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein when the processor executes the program, a method for monitoring anomalies in a functional group process as described in any of the above embodiments is implemented.
[0165] Figure 3 10 is a schematic diagram showing a more specific hardware structure of an electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other within the device via the bus 1050.
[0166] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0167] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, etc. The memory 1020 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0168] The input / output interface 1030 is used to connect input / output modules to implement information input and output. The input / output modules can be configured as components within the device (not shown in the figure) or can be externally connected to the device to provide corresponding functions. Input devices may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and output devices may include a display, speaker, vibrator, indicator light, etc.
[0169] The communication interface 1040 is used to connect to a communication module (not shown) to enable communication between the device and other devices. The communication module can communicate via a wired method (such as USB, network cable, etc.) or a wireless method (such as mobile network, WiFi, Bluetooth, etc.).
[0170] The bus 1050 includes a path that transmits information between each component of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).
[0171] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, it will be understood by those skilled in the art that the above device may only include the components necessary to implement the embodiments of this specification, and does not necessarily include all the components shown in the figure.
[0172] The electronic device of the above embodiment is used to implement a corresponding method for monitoring abnormality of a functional group process in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0173] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute a functional group process abnormality monitoring method as described in any of the above embodiments.
[0174] The computer-readable media of this embodiment include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0175] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute a function group process abnormality monitoring method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0176] Based on the same concept, corresponding to any of the above-mentioned embodiments, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.
[0177] It is understandable that before using the technical solution of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0178] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operation of the disclosed technical solution based on the prompt message.
[0179] As an optional but non-limiting implementation, in response to a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0180] It is understandable that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0181] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0182] In addition, for simplicity of description and discussion, and in order not to make the embodiment of the application difficult to understand, the known power supply / ground connection with integrated circuit (IC) chip and other components may or may not be shown in the accompanying drawings provided. In addition, the device can be shown in the form of a block diagram to avoid making the embodiment of the application difficult to understand, and this also takes into account the following fact, that is, the details of the embodiment of these block diagram devices are highly dependent on the platform to be implemented in the embodiment of the application (that is, these details should be fully within the scope of understanding of those skilled in the art). When specific details (for example, circuit) are set forth to describe exemplary embodiments of the application, it will be apparent to those skilled in the art that the embodiment of the application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0183] Although the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those skilled in the art based on the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may utilize the embodiments discussed.
[0184] The embodiments of the present application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A method for monitoring abnormality of a functional group process, characterized in that: include: Get the current usage frequency level and current activation status of the function group to which the monitored process belongs; Determining an adjustment strategy based on the current usage frequency level and the current activation status, and adjusting the original monitoring period range of the monitored process based on the adjustment strategy to obtain a reference monitoring period range; Based on the actual operation cycle of the monitored process and the reference monitoring cycle range, it is determined whether the monitored process is operating abnormally, and an abnormal monitoring result is obtained.
2. A method for monitoring abnormality of a functional group process according to claim 1, characterized in that: The determining of the adjustment strategy based on the current usage frequency level and the current activation status, and adjusting the original monitoring period range of the monitored process based on the adjustment strategy to obtain a reference monitoring period range, includes: Based on a first preset correspondence, the adjustment strategy is determined using the current usage frequency level and the current activation status; wherein the first preset correspondence determines a correspondence between the usage frequency level, the activation status, and the adjustment strategy; the adjustment strategy includes an adjustment trend and an adjustment ratio; The original monitoring period range is adjusted to the reference monitoring period range based on the adjustment ratio and according to the adjustment trend.
3. The method for monitoring abnormality of a functional group process according to claim 2, characterized in that: The adjusting the original monitoring period range to the reference monitoring period range based on the adjustment ratio and according to the adjustment trend includes: In response to the adjustment trend being a decrease, increasing the lower limit of the original monitoring period range according to the adjustment ratio to obtain a first value, decreasing the upper limit of the original monitoring period range according to the adjustment ratio to obtain a second value, and determining a range enclosed by the first and second values as the reference monitoring period range; In response to the adjustment trend of expansion, the lower limit value of the original monitoring cycle range is reduced according to the adjustment ratio to obtain a third value, and the upper limit value of the original monitoring cycle range is increased according to the adjustment ratio to obtain a fourth value, and the range enclosed by the third value and the fourth value is determined to be the reference monitoring cycle range.
4. The method for monitoring abnormality of a functional group process according to claim 1, characterized in that: The determining whether the monitored process is operating abnormally based on the actual operating cycle of the monitored process and the reference monitoring cycle range includes: In response to the fact that the actual operating cycle of the monitored process is not included in the reference monitoring cycle range for a consecutive number of times greater than or equal to a first threshold, or the fact that the actual operating cycle is not included in the reference monitoring cycle range for a number of times within a first time period is greater than or equal to a second threshold, the monitored process is determined to be abnormal.
5. A method for monitoring abnormality of a functional group process according to claim 4, characterized in that: The adjustment strategy includes adjustment trend and adjustment ratio; The method for determining the first threshold includes: Based on the adjustment trend and the first preset value, the original first fault tolerance threshold of the monitored process is adjusted to obtain the first threshold; wherein the first preset value is determined according to the adjustment ratio and the original first fault tolerance threshold, or the first preset value is determined according to the current usage frequency level, the current activation status, and a preset second relationship, wherein the preset second relationship specifies a corresponding relationship between the usage frequency level, the activation status, and the first preset value; The method for determining the second threshold includes: Based on the adjustment trend and the second preset value, the original second fault tolerance threshold of the monitored process is adjusted to obtain the second threshold; wherein, the second preset value is determined according to the adjustment ratio and the original second fault tolerance threshold, or, the second preset value is determined according to the current usage frequency level, the current activation status and a preset third relationship, and the preset third relationship specifies the correspondence between the usage frequency level, the activation status and the second preset value.
6. The method for monitoring abnormality of a functional group process according to claim 1, characterized in that: Also includes: In response to not receiving the actual running cycle fed back by the monitored process within the second time period, determining that the monitored process is abnormal; The adjustment strategy includes an adjustment trend and an adjustment ratio; and the method for determining the second duration includes: Based on the adjustment trend and the preset duration, the original duration threshold of the monitored process is adjusted to obtain the second duration; wherein, the preset duration is determined according to the adjustment ratio and the original duration threshold, or, the preset duration is determined according to the current usage frequency level, the current activation status and a preset fourth relationship, and the preset fourth relationship specifies the corresponding relationship between the usage frequency level, the activation status and the preset duration.
7. The method for monitoring abnormality of a functional group process according to claim 1, characterized in that: Before determining whether the monitored process is operating abnormally based on the actual operating cycle of the monitored process and the reference monitoring cycle range, the method includes: Obtain the actual running cycle of the monitored process based on the predetermined frequency; The predetermined frequency is determined based on the current usage frequency level, the current activation status and a preset fifth relationship, and the preset fifth relationship specifies the corresponding relationship between the usage frequency level, the activation status and the preset number of times.
8. The method for monitoring abnormality of a functional group process according to claim 1, characterized in that: Before obtaining the current usage frequency level and current activation status of the function group to which the monitored process belongs, the method further includes: Get the historical usage count of each function group on the current vehicle; determining a usage frequency of each functional group based on a historical usage count of each functional group and a total usage count of all functional groups; A current usage frequency level corresponding to each functional group is determined based on the usage frequency of each functional group.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method for monitoring abnormality of a functional group process according to any one of claims 1 to 8 is implemented.
10. A vehicle, characterized in that: The vehicle includes the electronic device according to claim 9.