Vehicle detection data processing method and device, electronic equipment and vehicle

By filtering and filtering the data of target detection based on reporting conditions in the vehicle system, the problem of detection data occupies bandwidth in vehicle intelligent networking is solved, and the system performance is improved.

CN119296203APending Publication Date: 2025-01-10GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411381653.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

In the intelligent vehicle networking, the detection data of the target detection amount occupies a large amount of communication bandwidth, resulting in a decline in vehicle system performance.

Method used

When receiving the detection data of the target detection quantity, it is determined whether the reporting condition is satisfied based on the preset reporting condition, and only when the conditions are met, data is reported to the association application, and data filtering and filtering is performed using the step threshold interval and the difference threshold to reduce the Reporting frequency.

Benefits of technology

It effectively reduces the bandwidth usage of vehicle detection data during communication, reduces system load, and improves the overall performance of the vehicle system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119296203A_ABST
    Figure CN119296203A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle detection data processing method and device, electronic equipment and a vehicle, and the method comprises the steps: responding to the received detection data for a target detection amount, and determining whether a reporting condition is satisfied or not based on the detection data; and reporting the target detection quantity to a first associated application in response to determining that a reporting condition is satisfied, the reporting condition being determined according to a demand of the first associated application for detection data of the target detection quantity. According to the vehicle detection data reporting method and device, the vehicle detection data reporting frequency is reduced while the individual requirements of each application of the vehicle for the vehicle detection data are ensured, so that the bandwidth occupied by the vehicle detection data in the communication process is reduced, the system load is reduced, and the overall performance of a vehicle system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, electronic equipment and vehicle for processing vehicle detection data. Background Art

[0002] With the development of intelligent vehicle networking, the intelligent functions of vehicles are becoming more and more abundant.

[0003] At present, many intelligent functions of vehicles rely on the detection data of target detection. The execution of a specific function is determined by judging whether the detection data of target detection meets the set conditions. The detection data of target detection is collected and reported by the corresponding sensor, which means that the program that needs the detection data of the target detection will continuously receive a large amount of detection data. These detection data are communicated between programs in a cross-process manner, which will occupy a large amount of communication bandwidth and have a negative impact on program performance. The combined performance of the performance impact of many programs is to reduce the performance of the entire vehicle system.

[0004] Therefore, this application is specially filed. Summary of the invention

[0005] In view of this, the purpose of this application is to propose a method, device, electronic device and vehicle for processing vehicle detection data, which reduces the reporting frequency of detection data while ensuring the personalized needs of various vehicle applications for detection data, thereby reducing the bandwidth occupied by detection data during communication, reducing system load, and is conducive to improving the overall performance of the vehicle system.

[0006] Based on the above purpose, in a first aspect, the present application provides a method for processing vehicle detection data, comprising: in response to receiving detection data for a target detection amount, determining whether a reporting condition is met based on the detection data;

[0007] In response to determining that a reporting condition is met, reporting is performed on the target detection amount to a first associated application, wherein the reporting condition is determined according to a demand of the first associated application for detection data of the target detection amount.

[0008] Further, the determining whether a reporting condition is met based on the detection data includes:

[0009] Based on two consecutive received detection data for the target detection amount, it is determined whether a reporting condition is met.

[0010] Further, the determining whether the reporting condition is met based on the detection data of the target detection amount received twice adjacently includes:

[0011] Based on a plurality of preset step threshold intervals, determining a first step threshold interval in which the currently received detection data is located, and a second step threshold interval in which the adjacent last received detection data is located;

[0012] In response to the first step threshold interval and the second step threshold interval being the same step threshold interval, it is determined that the reporting condition is not met; in response to the first step threshold interval and the second step threshold interval being different intervals, it is determined that the reporting condition is met.

[0013] Further, the determining whether the reporting condition is met based on the detection data of the target detection amount received twice adjacently includes:

[0014] In response to an absolute value of a difference between currently received detection data and an adjacent last received detection data being greater than a difference threshold, determining that a reporting condition is met;

[0015] In response to the absolute value of the difference between the currently received detection data and the adjacent last received detection data being less than the difference threshold, it is determined that the reporting condition is not met.

[0016] Further, in response to determining that the reporting condition is met, reporting the target detection amount to the first associated application includes:

[0017] Determine reference data;

[0018] The target detection amount whose value is the reference data is reported to the first associated application.

[0019] Furthermore, the determining of reference data includes:

[0020] Determining the detection data of the target detection amount as the reference data;

[0021] Alternatively, the upper threshold of the step threshold interval in which the detection data is located is determined as the reference data;

[0022] Alternatively, the median of the step threshold interval in which the detection data is located is determined as the reference data;

[0023] Alternatively, the lower threshold of the step threshold interval in which the detection data is located is determined as the reference data.

[0024] Further, in response to receiving the detection data for the target detection amount, the method further includes:

[0025] The detection data for the target detection amount is sent to a second associated application.

[0026] Based on the above purpose, in a second aspect, the present application also provides a method and device for processing vehicle detection data, including:

[0027] a determination module, configured to, in response to receiving detection data for a target detection amount, determine whether a reporting condition is met based on the detection data;

[0028] The reporting module is used to report the target detection amount to the first associated application in response to determining that the reporting condition is met, wherein the reporting condition is determined according to the demand of the first associated application for the detection data of the target detection amount.

[0029] Based on the above purpose, in a third aspect, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for processing vehicle detection data as described in the first aspect above is implemented.

[0030] Based on the above purpose, in a fourth aspect, the present application also provides a vehicle, comprising the electronic device as described in the third aspect above.

[0031] Based on the above purpose, in a fifth aspect, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the vehicle detection data processing method as described in any one of the above-mentioned first aspects.

[0032] From the above, it can be seen that the vehicle detection data processing method provided by the present application, when receiving the detection data of the target detection quantity, performs conditional judgment based on the detection data, and only when it is determined that the reporting conditions are met, reports the target detection quantity to the first associated application. In other words, if the reporting conditions are not met, the target detection quantity is not reported to the first associated application. The reporting conditions are determined according to the demand of the first associated application for the detection data of the target detection quantity, which achieves the goal of ensuring the personalized needs of various vehicle applications for vehicle detection data while reducing the reporting frequency of vehicle detection data, thereby reducing the bandwidth occupied by vehicle detection data during communication, reducing the system load, and helping to improve the overall performance of the vehicle system. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0034] Figure 1 A flow chart of a method for processing vehicle detection data according to an embodiment of the present application Figure 1 ;

[0035] Figure 2 A flow chart of a method for processing vehicle detection data according to an embodiment of the present application Figure 2 ;

[0036] Figure 3 A flow chart of a method for processing vehicle detection data according to an embodiment of the present application Figure 3 ;

[0037] Figure 4 A flow chart of a method for processing vehicle detection data according to an embodiment of the present application Figure 4 ;

[0038] Figure 5 A flow chart of a method for processing vehicle detection data according to an embodiment of the present application Figure 5 ;

[0039] Figure 6 A flow chart of a method for processing vehicle detection data according to an embodiment of the present application Figure 6 ;

[0040] Figure 7 A flow chart of a method for processing vehicle detection data according to an embodiment of the present application Figure 7 ;

[0041] Figure 8 A schematic diagram of a vehicle detection data processing system architecture according to an embodiment of the present application;

[0042] Fig. 9 A schematic diagram of a method and device for processing vehicle detection data according to an embodiment of the present application;

[0043] Fig.10 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0045] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of 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 can 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.

[0046] 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 to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0047] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0048] The target detection quantity described in the embodiment of the present application may be a detection quantity related to the vehicle, such as the vehicle speed, the vehicle acceleration, the vehicle position, the vehicle suspension stiffness, etc. The subsequent description will be continued by taking the vehicle speed as an example.

[0049] Many functions of the vehicle (such as switching of vehicle driving modes, adaptive cruise control, automatic emergency braking, lane keeping assist system, intelligent speed limit reminder, electronic stability control system, automatic parking system, etc.) are associated with the vehicle speed signal, and the execution of specific functions is affected by judging whether the vehicle speed meets the preset conditions. The vehicle speed is collected in real time by the vehicle speed sensor and reported to the upper-level application by the underlying service, which means that the application concerned about the vehicle speed signal will continuously receive a large amount of vehicle speed signal data. These vehicle speed signal data are communicated in a cross-process manner when transmitted from the underlying service to the upper-level application. Therefore, these vehicle speed signals occupy a large amount of communication bandwidth, which has a negative impact on program performance. Therefore, it is necessary to develop an improvement plan to solve the problem of poor program performance due to the large amount of reported data.

[0050] In some embodiments, a method for processing vehicle detection data is provided, which aims to reduce the reporting frequency of vehicle detection data while ensuring the personalized needs of various vehicle applications for vehicle detection data, thereby reducing the bandwidth occupied by vehicle detection data during communication, which is conducive to improving the overall performance of the vehicle system. The method for processing vehicle detection data can be executed by a processing device for vehicle detection data, and the processing device for vehicle detection data can be implemented by software and / or hardware and can be integrated into the vehicle. Figure 1 A flow chart showing a method for processing vehicle detection data is shown as follows: Figure 1 As shown, the method for processing vehicle detection data includes the following steps:

[0051] S110 . In response to receiving detection data for a target detection amount, determine whether a reporting condition is met based on the detection data.

[0052] The target detection quantity may be a detection quantity related to the vehicle, such as the vehicle speed, the vehicle acceleration, the vehicle position, the vehicle suspension stiffness, etc.

[0053] Taking the target detection quantity as the vehicle speed as an example, the detection data of the vehicle speed can be obtained through detection by relevant sensors. In some embodiments, the vehicle speed data can be detected by a wheel speed sensor. Specifically, the wheel speed sensor is installed near the wheel or in the transmission system. The vehicle speed is usually measured by detecting the rotation of the wheel. Generally, the electromagnetic induction principle or the Hall effect principle is adopted. When the wheel rotates, the sensor generates an electrical signal proportional to the wheel speed. In some embodiments, the vehicle speed data can also be detected by a drive shaft speed sensor. The sensor is installed on the drive shaft of the vehicle and measures the vehicle speed by detecting the rotation of the drive shaft.

[0054] The relevant sensors send the detected speed data to the vehicle's underlying service. After receiving the speed data, the underlying service makes a conditional judgment to determine whether the speed data needs to be reported to the upper-level application. By adding a conditional judgment link, the speed data can be filtered and screened, thereby reducing the amount of speed data reported to the upper-level application, thereby reducing the impact on the communication bandwidth during the transmission process, and ensuring the working stability and performance of the entire vehicle system.

[0055] S120: In response to determining that a reporting condition is met, reporting the target detection amount to the first associated application.

[0056] In some embodiments, the reporting condition may be that the vehicle speed is less than a low-speed threshold, that is, when the vehicle speed is less than the low-speed threshold, it is determined that the reporting condition is met, and the detection data of the vehicle speed is reported to the first associated application. The first associated application refers to an application that focuses on relatively low vehicle speed data, such as an application related to an automatic parking function, which triggers the execution of related functions only when the vehicle speed is relatively low. Therefore, for such applications, the vehicle speed data is reported only when the vehicle speed data is lower than the low-speed threshold, and the vehicle speed data reporting operation is not performed when the vehicle speed data is higher than the low-speed threshold, thereby reducing the amount of vehicle speed data reported and reducing the impact on the communication bandwidth during the vehicle speed data reporting process, thereby ensuring the working stability and working performance of the entire vehicle system.

[0057] In other embodiments, the reporting condition may be that the vehicle speed is greater than a high-speed threshold, that is, when the vehicle speed is greater than the high-speed threshold, it is determined that the reporting condition is met, and the detection data of the vehicle speed is reported to the first associated application. The first associated application refers to an application that focuses on higher vehicle speed data. For such applications, the vehicle speed data is reported only when the vehicle speed data is higher than the high-speed threshold, and the vehicle speed data reporting operation is not performed when the vehicle speed data is lower than the high-speed threshold, thereby reducing the amount of vehicle speed data reported and reducing the impact on the communication bandwidth during the vehicle speed data reporting process, thereby ensuring the working stability and working performance of the entire vehicle system.

[0058] In general, the reporting condition can be set according to the specific needs of the first associated application. For example, the specific needs of the first associated application are to pay attention to the speed data of the vehicle speed less than 5 km / h. Then, when it is determined that the speed data is less than 5, the corresponding speed data will be reported to the first associated application. For another example, the specific needs of the first associated application are to pay attention to the speed data of the vehicle speed greater than 50 km / h. Then, when it is determined that the speed data is greater than 50, the corresponding speed data will be reported to the first associated application. While ensuring the demand for speed data of the first associated application, the amount of reported data is reduced, thereby reducing the communication bandwidth occupied by the reported data and improving system performance.

[0059] In some implementations, a step threshold interval may be set, such as [0, 3], [3, 5], [5, 7], [7, 10], [10, 15], [15, 20], [20, 30], [30, 60], [60, 70], etc. For multiple speed data that fall continuously in the same interval, they are reported only once, and the specific reported value may be further set, such as the upper threshold, lower threshold, median value of the interval, or the speed data itself. In this way, not only the amount of speed data reported can be reduced, but also the use of speed data by various applications will not be affected. For applications that require fine-grained speed data, real-time reporting can be performed, or a finer-grained step threshold interval may be set.

[0060] The vehicle detection data processing method provided in the embodiment of the present application performs conditional judgment based on the detection data when receiving the detection data of the target detection quantity. When it is determined that the reporting condition is met, the target detection quantity is reported to the first associated application. The reporting condition is determined according to the demand of the first associated application for the detection data of the target detection quantity. While ensuring the personalized needs of various vehicle applications for vehicle detection data, the reporting frequency of vehicle detection data is reduced, thereby reducing the bandwidth occupied by vehicle detection data during communication, which is beneficial to improving the overall performance of the vehicle system.

[0061] On the basis of the above embodiment, this embodiment further defines the above step S110 "in response to receiving the detection data for the target detection amount, determining whether the reporting condition is met based on the detection data", such as Figure 2 A flow chart of a method for processing vehicle detection data is shown, and the method for processing vehicle detection data includes the following steps:

[0062] S210 . In response to receiving detection data for a target detection amount, determine whether a reporting condition is met based on two adjacent received detection data for the target detection amount.

[0063] In some implementations, if the difference between the detection data for the target detection amount received twice is large, it is determined that the reporting condition is met, and the target detection amount is reported to the first associated application. If the difference between the detection data for the target detection amount received twice is small, it is determined that the reporting condition is not met, and the target detection amount is not reported to the first associated application. In this way, the purpose of screening and filtering the detection data of the target detection amount can be achieved, and ultimately the purpose of reducing the amount of detection data reported can be achieved, thereby reducing the impact on the communication bandwidth during the reporting process and ensuring the working performance of the entire vehicle system.

[0064] S220: In response to determining that a reporting condition is met, reporting the target detection amount to the first associated application.

[0065] Specifically, when it is determined that the reporting condition is met, the underlying service reports the target detection quantity to the first associated application through the communication link with the first associated application. For example, the detection data of the target detection quantity is reported to the first associated application, or the target data is determined based on a certain strategy, and the target data is used to replace the detection data of the target detection quantity, and reported to the first associated application, so that the first associated application continues to execute subsequent logic based on the detection data of the target detection quantity. For example, when the user triggers the command to open the back door, the application responsible for processing the event (i.e., the first associated application) determines whether the execution condition is met based on the vehicle speed data at the current moment. If the execution condition is met, the action of opening the back door is executed, otherwise the action of opening the back door is not executed, and the reason for not executing the action of opening the back door is sent to the user. Among them, the execution condition is, for example: if the vehicle speed data at the current moment indicates that the vehicle speed is 0, it is determined that the execution condition is met.

[0066] The vehicle detection data processing method provided in the embodiment of the present application determines whether the reporting conditions are met based on the detection data for the target detection quantity received twice adjacently, thereby achieving the purpose of screening and filtering the detection data of the target detection quantity, while not affecting the application of the detection data by the upper-level application. While ensuring the personalized needs of various vehicle applications for vehicle detection data, the reporting frequency of vehicle detection data is reduced, thereby reducing the bandwidth occupied by vehicle detection data during the communication process, which is beneficial to improving the overall performance of the vehicle system.

[0067] On the basis of the above embodiment, this embodiment further limits the above step S210 "determining whether the reporting condition is met based on the detection data for the target detection amount received twice adjacently", such as Figure 3 A flow chart of a method for processing vehicle detection data is shown, and the method for processing vehicle detection data includes the following steps:

[0068] S310, in response to receiving detection data for a target detection amount, based on a plurality of preset step threshold intervals, determining a first step threshold interval in which the detection data currently received is located, and a second step threshold interval in which the detection data previously received is located.

[0069] In some embodiments, assuming that the multiple step threshold intervals are [0, 3], [3, 5], and [5, 7], respectively, if the detection data currently received is 0.5, by comparing the multiple step threshold intervals, it can be determined that the first step threshold interval of the detection data currently received is [0, 3]. If the detection data received last time adjacent to the current time is 6, by comparing the multiple step threshold intervals, it can be determined that the second step threshold interval of the detection data received last time adjacent to the current time is also [5, 7], and the intervals of the two are different step threshold intervals.

[0070] S320: In response to the first step threshold interval and the second step threshold interval being the same step threshold interval, determining that a reporting condition is not met; in response to the first step threshold interval and the second step threshold interval being different intervals, determining that a reporting condition is met.

[0071] If it is determined that the first step threshold interval and the second step threshold interval are the same step threshold interval, it means that the detection data received currently is not much different from the detection data received last time. Therefore, it can be determined that the reporting conditions are not met at this time, that is, the target detection quantity is not reported to the first associated application, so as to reduce the amount of reported data and the impact on the communication bandwidth during the reporting process, thereby ensuring the working performance of the entire vehicle system.

[0072] If it is determined that the first step threshold interval and the second step threshold interval are different step threshold intervals, it means that the detection data received this time has a certain degree of change compared with the detection data received last time, so it can be determined that the reporting condition is met at this time to report the target detection amount to the first associated application, thereby ensuring the normal application of the detection data of the target detection amount by the first associated application. That is, through the vehicle detection data processing method provided by this embodiment, while ensuring the personalized needs of various vehicle applications for vehicle detection data, the reporting frequency of vehicle detection data is reduced, thereby reducing the bandwidth occupied by vehicle detection data during communication, which is conducive to improving the overall performance of the vehicle system.

[0073] It is understandable that for a continuously changing detection quantity such as vehicle speed, the larger the range of the step threshold interval, the greater the probability that two adjacent detection data fall in the same step threshold interval, and the corresponding reporting frequency is lower. If the first associated application is more sensitive to changes in vehicle speed data, a smaller step threshold interval can be set, otherwise a larger step threshold interval can be set.

[0074] S330: In response to determining that a reporting condition is met, report the target detection amount to the first associated application.

[0075] On the basis of the above embodiment, this embodiment further limits the above step S210 "determining whether the reporting condition is met based on the detection data for the target detection amount received twice adjacently", such as Figure 4 A flow chart of a method for processing vehicle detection data is shown, and the method for processing vehicle detection data includes the following steps:

[0076] S410. In response to the absolute value of the difference between the detection data currently received and the detection data previously received being greater than a difference threshold, it is determined that the reporting condition is met; in response to the absolute value of the difference between the detection data currently received and the detection data previously received being less than the difference threshold, it is determined that the reporting condition is not met.

[0077] Specifically, if the detection data received this time has a large change compared to the detection data received last time, it is determined that the reporting condition is met, and it is necessary to report the target detection amount to the first associated application. If the detection data received this time has a small change compared to the detection data received last time, it is determined that the reporting condition is not met, and it is not necessary to report the target detection amount to the first associated application. This reduces the amount of reported data for the target detection amount, and further reduces the consumption of communication bandwidth during the reporting process, which is conducive to improving the overall performance of the system.

[0078] S420: In response to determining that a reporting condition is met, report the target detection amount to the first associated application.

[0079] On the basis of the above embodiment, this embodiment further limits the above step S120 "in response to determining that the reporting condition is met, reporting the target detection amount to the first associated application", such as Figure 5 A flow chart of a method for processing vehicle detection data is shown, and the method for processing vehicle detection data includes the following steps:

[0080] S510: In response to receiving detection data for a target detection amount, determine whether a reporting condition is met based on the detection data.

[0081] S520: In response to determining that the reporting condition is met, determine reference data.

[0082] The reference data is data reported to the first associated application.

[0083] By determining reference data based on a certain strategy and reporting the reference data as detection data of a target detection amount to the first associated application, it is possible to reduce the amount of detection data reported while enabling the first associated application to obtain more reasonable data.

[0084] In some embodiments, when it is determined based on the last adjacent detection data received that the reporting conditions are not met, but it is determined based on the detection data received currently that the reporting conditions are met, the reference data may be an average of the detection data received currently and the detection data received last adjacent, so as to take into account the detection data received last but not reported, so that the reference data reported currently is closer to the actual historical detection data, thereby reducing the reporting amount and enabling the first associated application to obtain more realistic detection data.

[0085] In some embodiments, if the reporting condition is determined to be satisfied based on the adjacent detection data received last time, and the reporting condition is determined to be satisfied based on the detection data received currently, the reference data may be the detection data received currently. The purpose of such setting is to reduce the amount of detection data reported while enabling the first associated application to obtain more reasonable data to ensure the function of the first associated application is realized.

[0086] S530: Report a target detection amount whose value is the reference data to the first associated application.

[0087] Based on the above embodiment, this embodiment further defines the above step S520 "determining reference data in response to determining that the reporting condition is met", such as Figure 6 A flow chart of a method for processing vehicle detection data is shown, and the method for processing vehicle detection data includes the following steps:

[0088] S610: In response to receiving detection data for a target detection amount, determine whether a reporting condition is met based on the detection data.

[0089] S620. In response to determining that the reporting conditions are met, the detection data of the target detection amount is determined as the reference data; or, the upper threshold of the step threshold interval in which the detection data is located is determined as the reference data; or, the median of the step threshold interval in which the detection data is located is determined as the reference data; or, the lower threshold of the step threshold interval in which the detection data is located is determined as the reference data.

[0090] In some implementations, if the target detection amount has been reported to the first associated application in the previous adjacent time, the detection data of the target detection amount is currently determined as the reference data for the current report, so that the first associated application can obtain continuous real data.

[0091] In some embodiments, if the target detection amount was not reported to the first associated application in the previous adjacent time, the reference data reported currently should take into account the previous adjacent data. At this time, the average value of the detection data received currently and the detection data received in the previous adjacent time can be determined as the reference data reported currently. While reducing the amount of detection data reported, the first associated application can obtain more reasonable data to ensure the function realization of the first associated application.

[0092] In some embodiments, the upper threshold of the step threshold interval in which the detection data is located can be determined as the reference data. For example, if the detection data is 0.5 and the step threshold interval is [0, 3], 3 is determined as the reference data. In some embodiments, the lower threshold of the step threshold interval in which the detection data is located can be determined as the reference data. For example, if the detection data is 0.5 and the step threshold interval is [0, 3], 0 is determined as the reference data. In some embodiments, the median of the step threshold interval in which the detection data is located can be determined as the reference data. For example, if the detection data is 0.5 and the step threshold interval is [0, 3], 1.5 is determined as the reference data. The purpose of such settings is to enable the first associated application to obtain more reasonable data while reducing the amount of detection data reported to ensure the function of the first associated application is realized.

[0093] S630: Report a target detection amount whose value is the reference data to the first associated application.

[0094] Based on the above embodiment, this embodiment further defines the method for processing the above vehicle detection data, such as Figure 7 A flow chart of a method for processing vehicle detection data is shown, and the method for processing vehicle detection data includes the following steps:

[0095] S710: In response to receiving detection data for a target detection amount, sending the detection data for the target detection amount to a second associated application, and determining whether a reporting condition is met based on the detection data.

[0096] S720: In response to determining that a reporting condition is met, report the target detection amount to the first associated application.

[0097] That is, for the second associated application, the detection data of the target detection quantity is reported in real time, and for the first associated application, the reporting is selective, and the reporting condition is first determined based on the detection data of the target detection quantity, and only when the reporting condition is met, the target detection quantity is reported to the first associated application. In this way, the purpose of reporting at different frequencies for different applications is achieved, which not only meets the real-time requirements of the second associated application, but also reduces the amount of reported data, ensuring the working performance of the overall vehicle system.

[0098] For further information, please refer to Figure 8 The schematic diagram of the system architecture for processing vehicle detection data shown includes a sensor 810, a bottom layer service 820, and an upper layer application 830. When the sensor detects detection data for a target detection amount, the detection data is sent to the bottom layer service 820, and the bottom layer service 820 sends the detection data to the second associated application in real time through the first channel, and selectively reports to the first associated application through the second channel.

[0099] The first channel and the second channel can be understood as specific processing interfaces. Each upper-layer application can autonomously register the interface of the first channel or the interface of the second channel according to its own needs for target detection. After registration, when the underlying service receives the detection data of the target detection, it will send the corresponding data to the corresponding application through the corresponding interface. While ensuring the personalized needs of each vehicle application for vehicle detection data, the reporting frequency of vehicle detection data is reduced, thereby reducing the bandwidth occupied by vehicle detection data during the communication process, which is conducive to improving the overall performance of the vehicle system.

[0100] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a vehicle detection data processing device.

[0101] refer to Fig. 9 , the vehicle detection data processing device comprises:

[0102] A determination module 910, configured to, in response to receiving detection data for a target detection amount, determine whether a reporting condition is met based on the detection data;

[0103] The reporting module 920 is configured to report the target detection amount to the first associated application in response to determining that the reporting condition is met.

[0104] Furthermore, the determination module 910 is specifically configured to determine whether a reporting condition is met based on two consecutive received detection data for the target detection quantity.

[0105] Further, the determination module 910 is specifically used to: determine, based on a plurality of preset step threshold intervals, the first step threshold interval in which the currently received detection data is located, and the second step threshold interval in which the adjacent last received detection data is located;

[0106] In response to the first step threshold interval and the second step threshold interval being the same step threshold interval, it is determined that the reporting condition is not met; in response to the first step threshold interval and the second step threshold interval being different intervals, it is determined that the reporting condition is met.

[0107] Further, the determination module 910 is specifically used to: in response to the absolute value of the difference between the currently received detection data and the adjacent last received detection data being greater than the difference threshold, determine that the reporting condition is met;

[0108] In response to the absolute value of the difference between the currently received detection data and the adjacent last received detection data being less than the difference threshold, it is determined that the reporting condition is not met.

[0109] Furthermore, the reporting module 920 includes a determining unit, configured to determine reference data; and a reporting unit, configured to report a target detection amount whose value is the reference data to the first associated application.

[0110] Further, the determination unit is specifically used to: determine the detection data of the target detection amount as the reference data; or, determine the upper limit threshold of the step threshold interval in which the detection data is located as the reference data; or, determine the median of the step threshold interval in which the detection data is located as the reference data; or, determine the lower limit threshold of the step threshold interval in which the detection data is located as the reference data.

[0111] Furthermore, the reporting module 920 is further configured to send the detection data for the target detection amount to the second associated application after receiving the detection data for the target detection amount.

[0112] The vehicle detection data processing method provided in the embodiment of the present application performs conditional judgment based on the detection data when receiving the detection data of the target detection quantity. When it is determined that the reporting conditions are met, the target detection quantity is reported to the first associated application. While ensuring the personalized needs of various vehicle applications for vehicle detection data, the reporting frequency of vehicle detection data is reduced, thereby reducing the bandwidth occupied by vehicle detection data during the communication process, which is beneficial to improving the overall performance of the vehicle system.

[0113] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0114] The device of the above embodiment is used to implement the corresponding vehicle detection data processing method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0115] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0116] The device of the above embodiment is used to implement the corresponding vehicle detection data processing method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0117] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a vehicle, and the vehicle includes the above-mentioned vehicle detection data processing method device.

[0118] 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 executable on the processor, wherein when the processor executes the program, the method for processing vehicle detection data described in any of the above embodiments is implemented.

[0119] 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 executable on the processor, wherein when the processor executes the program, the method for processing vehicle detection data described in any of the above embodiments is implemented.

[0120] Fig.10 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and 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 connected to each other through the bus 1050 in the device.

[0121] The processor 1010 can be implemented by 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.

[0122] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0123] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0124] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0125] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0126] 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 the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0127] The electronic device of the above embodiment is used to implement the corresponding vehicle detection data processing method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0128] 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 the vehicle detection data processing method described in any of the above embodiments.

[0129] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic 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.

[0130] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the vehicle detection data processing method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0131] 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 (including the claims) is limited to these examples. In line with the concept of 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.

[0132] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present 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.

[0133] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0134] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. 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 processing vehicle detection data, applied to underlying services, characterized in that: include: In response to receiving detection data for a target detection amount, determining whether a reporting condition is met based on the detection data; In response to determining that the reporting condition is met, reporting the target detection amount to the first associated application; wherein the reporting condition is determined according to the demand of the first associated application for detection data of the target detection amount.

2. The method for processing vehicle detection data according to claim 1, characterized in that: The determining whether a reporting condition is met based on the detection data includes: Based on two consecutive received detection data for the target detection amount, it is determined whether a reporting condition is met.

3. The method for processing vehicle detection data according to claim 2, characterized in that: The determining whether the reporting condition is met based on the detection data of the target detection amount received twice adjacently includes: Based on a plurality of preset step threshold intervals, determining a first step threshold interval in which the currently received detection data is located, and a second step threshold interval in which the adjacent last received detection data is located; In response to the first step threshold interval and the second step threshold interval being the same step threshold interval, it is determined that the reporting condition is not met; in response to the first step threshold interval and the second step threshold interval being different intervals, it is determined that the reporting condition is met.

4. The method for processing vehicle detection data according to claim 2, characterized in that: The determining whether the reporting condition is met based on the detection data of the target detection amount received twice adjacently includes: In response to an absolute value of a difference between the currently received detection data and the adjacent last received detection data being greater than a difference threshold, determining that a reporting condition is met; In response to the absolute value of the difference between the currently received detection data and the adjacent last received detection data being less than the difference threshold, it is determined that the reporting condition is not met.

5. The method for processing vehicle detection data according to claim 1, characterized in that: In response to determining that the reporting condition is met, reporting the target detection amount to the first associated application includes: Determine reference data; The target detection amount whose value is the reference data is reported to the first associated application.

6. The method for processing vehicle detection data according to claim 5, characterized in that: The determining of reference data includes: Determining the detection data of the target detection amount as the reference data; Alternatively, the upper threshold of the step threshold interval in which the detection data is located is determined as the reference data; Alternatively, the median of the step threshold interval in which the detection data is located is determined as the reference data; Alternatively, the lower threshold of the step threshold interval in which the detection data is located is determined as the reference data.

7. The method for processing vehicle detection data according to claim 1, characterized in that: In response to receiving the detection data for the target detection amount, the method further includes: The detection data for the target detection amount is sent to the second associated application.

8. A vehicle detection data processing device, characterized in that: include: a determination module, configured to, in response to receiving detection data for a target detection amount, determine whether a reporting condition is met based on the detection data; The reporting module is used to report the target detection amount to the first associated application in response to determining that the reporting condition is met, wherein the reporting condition is determined according to the demand of the first associated application for the detection data of the target detection amount.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for processing vehicle detection data as described in any one of claims 1 to 7 is implemented.

10. A vehicle, characterized in that: The vehicle comprises the electronic device as claimed in claim 9.