A method, device, equipment and medium for aggregate storage of data backhaul

By constructing a working condition configuration protocol and processing vehicle working condition data received by the Internet of Vehicles platform based on its aggregated time point set, the problem of scattered data is solved and efficient data storage and query is achieved.

CN119311756BActive Publication Date: 2025-04-08LINGONG GROUP (JINAN) HEAVY MACHINERY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411865477.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-04-08
Estimated Expiration
2044-12-18

AI Technical Summary

Technical Problem

When the Internet of Vehicles platform processes vehicle operating conditions data, the data is scattered due to different collection times, which increases the storage volume and reduces the system performance.

Method used

By constructing a working condition configuration protocol, identify the component types that match the real-time working condition data, and set the in-store time point according to the aggregate time point set of the working condition configuration protocol, cache the real-time working condition data, and merge it into one aggregate data for storage after reaching the aggregate time point.

Benefits of technology

It realizes the aggregation and storage of scattered vehicle working conditions data, which reduces storage requirements, improves data query efficiency and reduces the pressure of analyzing and processing of original data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311756B_ABST
    Figure CN119311756B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and medium for aggregate storage of data feedback. The method includes: when receiving the real-time working condition data of the target vehicle, identifying the current component type, and identifying all target working condition configuration protocols associated with the current component type in the pre-constructed working condition configuration protocol library; setting the storage time point according to the feedback time of the real-time working condition data and the aggregate time point set of each target working condition configuration protocol, and caching the real-time working condition data; when the system time reaches the target time point in the aggregate time point set, identifying multiple cached working condition data; after merging multiple cached working condition data into one aggregated data, the aggregated data is associated with the target vehicle and stored in a distributed database. The embodiment of the present invention realizes the aggregated storage of the originally scattered and high-frequency returned working condition data by constructing a working condition configuration protocol, reducing the scattered data entries in the big data storage and reducing the storage capacity requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a method, device, equipment and medium for aggregate storage of data backhaul. Background Art

[0002] With the development of the Internet of Vehicles platform for construction machinery, it has become a trend for vehicles to access the Internet of Vehicles platform, transmit working condition data, and query vehicle data on the Internet of Vehicles platform. With the popularization of new energy vehicles in construction machinery, the working condition data of the vehicles themselves is increasing, and the frequency of transmission is increasing. The Internet of Vehicles platform needs to process massive and high-frequency working condition data for parsing, storage, analysis, and display.

[0003] However, vehicle operating data is collected based on vehicle components, and the data collection frequency of each component is different. The data of different components are transmitted back to the platform at different frequencies. In the prior art, when processing data, the platform parses the data according to the collection time and stores it in the database. If the collection time is different, multiple scattered data will be generated, resulting in an increase in storage volume and greatly reducing system performance. Summary of the invention

[0004] Based on this, the present invention provides an aggregate storage method, device, equipment and medium for data feedback to solve the problem that the working condition data is transmitted according to the working condition collection time, resulting in scattered data that is difficult to query and process.

[0005] In a first aspect, an embodiment of the present invention provides a method for aggregate storage of data backhaul, the method comprising:

[0006] Whenever receiving the real-time working condition data of the target vehicle transmitted back by the Internet of Vehicles platform, identifying the current component type matching the real-time working condition data, and identifying all target working condition configuration protocols associated with the current component type in the pre-constructed working condition configuration protocol library;

[0007] Each working condition configuration protocol includes at least one component type that needs to be aggregated and collected, and a set of aggregation time points;

[0008] According to the transmission time of the real-time working condition data and the aggregation time point set of each target working condition configuration protocol, the storage time point of the real-time working condition data for each target working condition configuration protocol is set, and the real-time working condition data is cached;

[0009] When it is detected that the current system time reaches the target time point in the aggregated time point set of the current working condition configuration protocol, multiple cached working condition data with the storage time point set for the current working condition configuration protocol as the target time point are identified;

[0010] After the plurality of cached operating condition data are merged into one piece of aggregated data, the aggregated data is associated with the target vehicle and stored in a distributed database.

[0011] In a second aspect, an embodiment of the present invention provides an aggregate storage device for data backhaul, the device comprising:

[0012] A working condition configuration protocol matching module is used to identify the current component type that matches the real-time working condition data whenever receiving the real-time working condition data of the target vehicle transmitted back by the vehicle networking platform, and to identify all target working condition configuration protocols associated with the current component type in a pre-constructed working condition configuration protocol library;

[0013] Each working condition configuration protocol includes at least one component type that needs to be aggregated and collected, and a set of aggregation time points;

[0014] The working condition data caching module is used to set the storage time point of the real-time working condition data for each target working condition configuration protocol according to the return time of the real-time working condition data and the aggregation time point set of each target working condition configuration protocol, and cache the real-time working condition data;

[0015] A cached working condition data identification module is used to identify multiple cached working condition data whose storage time point is the target time point set for the current working condition configuration protocol when it is detected that the current system time reaches the target time point in the aggregated time point set of the current working condition configuration protocol;

[0016] The data aggregation storage module is used to merge the multiple cached working condition data into one aggregated data, and then associate the aggregated data with the target vehicle and store it in a distributed database.

[0017] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:

[0018] at least one processor; and

[0019] a memory communicatively connected to the at least one processor; wherein,

[0020] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the aggregate storage method for data return described in any embodiment of the present invention.

[0021] In a fourth aspect, a computer-readable storage medium is also provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a data return aggregation storage method described in any embodiment of the present invention when executed.

[0022] The technical solution of the embodiment of the present invention realizes the aggregation and storage of vehicle operating condition data that were originally scattered and frequently transmitted back by constructing an operating condition configuration protocol. Specifically, in the operating condition configuration protocol, components of different types are associated, achieving the beneficial effect of containing multiple types of operating condition data in one aggregated data, which not only reduces the scattered data entries in the big data storage, but also reduces the storage capacity requirements. At the same time, since the aggregation group composed of different components is constructed based on actual needs, it also improves the data query efficiency and reduces the pressure on the analysis and processing of the original data.

[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 This is a flow chart of a data return aggregation storage method provided in accordance with the first embodiment of the present invention;

[0026] Figure 2 is a flowchart of another data return aggregation storage method provided in accordance with the second embodiment of the present invention;

[0027] Figure 3 is a schematic diagram of the structure of an aggregate storage device for data backhaul provided according to Embodiment 3 of the present invention;

[0028] Figure 4 It is a structural schematic diagram of an electronic device that implements a data return aggregation storage method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] Embodiment 1

[0032] Figure 1 This is a flow chart of a data feedback aggregation storage method provided in the first embodiment of the present invention. This embodiment is applicable to the case where scattered feedback data of vehicle parts is aggregated and then stored. The method can be executed by a data feedback aggregation storage device, which can be implemented in the form of hardware and / or software. The device can be configured in engineering machinery products under the Internet of Vehicles platform. Figure 1 As shown, the method includes:

[0033] S110. Whenever real-time operating condition data of a target vehicle transmitted back by the Internet of Vehicles platform is received, a current component type matching the real-time operating condition data is identified, and all target operating condition configuration protocols associated with the current component type are identified in a pre-constructed operating condition configuration protocol library.

[0034] Each working condition configuration protocol includes at least one component type that needs to be aggregated and collected, and a set of aggregation time points.

[0035] Vehicle operating conditions are an important common technology in the automotive industry and the basis for the formulation of test methods and limit standards for vehicle energy consumption, emissions, etc. Normally, the vehicle's operating condition data is collected based on vehicle components, such as engine operating conditions, instrument panel operating conditions, etc., that is, each piece of real-time operating condition data received corresponds to a type of component. The operating condition configuration protocol library stores multiple operating condition configuration protocols, and the operating condition configuration protocol is configured with aggregation rules for operating condition data of components of different types. It should be noted that the operating condition configuration protocol can be an aggregation rule for the operating condition data of a single component, or it can be an aggregation rule for the operating condition data of multiple components.

[0036] Optionally, before identifying all target working condition configuration protocols associated with the current component type in the pre-constructed working condition configuration protocol library, the method further includes:

[0037] Acquire multiple pieces of historical operating condition data of the target vehicle within a set historical period, and extract corresponding component types from each piece of historical operating condition data;

[0038] Build multiple aggregation groups for different component types according to business needs; each aggregation group contains at least one component type;

[0039] An aggregation frequency is agreed upon for each aggregation group, and multiple aggregation time points are generated for each aggregation group according to the agreed aggregation frequency, and a set of aggregation time points corresponding to each aggregation group is obtained by combining them;

[0040] Each aggregation group is combined with a matching aggregation time point set to obtain a plurality of operating condition configuration protocols, and the plurality of operating condition configuration protocols are combined to obtain an operating condition configuration protocol library.

[0041] The specific construction process of the working condition configuration protocol is as follows: by collecting historical working condition data, all components in the target vehicle that can transmit working condition data are extracted. By combining different types of components according to actual needs, multiple aggregation groups are obtained. An aggregation frequency is agreed upon for each aggregation group. When the data is subsequently transmitted, the data of different component types can be aggregated into one piece of data according to the same aggregation frequency.

[0042] The aggregation time point is calculated based on the aggregation frequency as a period, which is a specific time node in the 24-hour system. The number of aggregation time points is related to the aggregation frequency. The higher the aggregation frequency, the more aggregation time points, and the lower the aggregation frequency, the fewer aggregation time points. A mapping relationship is established between each aggregation group, the aggregation frequency of each aggregation group, and the aggregation time point set obtained by the aggregation frequency to obtain a working condition configuration protocol.

[0043] Furthermore, agreeing on an aggregation frequency for each aggregation group, generating multiple aggregation time points for each aggregation group according to the agreed aggregation frequency, and combining to obtain a set of aggregation time points corresponding to each aggregation group, may include:

[0044] Obtain the current aggregation frequency agreed for the current aggregation group, and based on the time interval determined by the current aggregation frequency, accumulate the aggregation time points starting from 00:00:00 according to the time interval in a 24-hour system;

[0045] When the time interval between the accumulated aggregation time points and 00:00:00 is less than the aggregation frequency, the accumulation is stopped to obtain all the aggregation time points of the current aggregation group.

[0046] In a specific example, if the aggregation frequency is once every 20 seconds, the corresponding aggregation time points are 00:00:20, 00:00:40, ..., and so on, until it accumulates to 00:00:00, which just reaches a cycle. At this time, 00:00:00 is also used as an aggregation time point to construct an aggregation time point set together with other aggregation time points.

[0047] S120. According to the transmission time of the real-time working condition data and the aggregation time point set of each target working condition configuration protocol, the storage time point of the real-time working condition data for each target working condition configuration protocol is set, and the real-time working condition data is cached.

[0048] The storage time point refers to the most suitable time point for storage in the current aggregated time point set, which is determined based on the return time of the current operating condition data, and the storage time point is marked. When the system time has not reached the storage time point, all the operating condition data marked as the current storage time point will be cached first, and the operating condition data will not be stored in the storage during this period.

[0049] S130. When it is detected that the current system time reaches the target time point in the aggregated time point set of the current working condition configuration protocol, multiple cached working condition data whose storage time point set for the current working condition configuration protocol is the target time point are identified.

[0050] When the system time is consistent with the current storage time point, the target operating condition data whose storage time point is the current storage time point is identified among the numerous cached operating condition data marked with different storage time points, and extracted, that is, multiple cached operating condition data at the target time point.

[0051] S140: After merging the plurality of cached operating condition data into one piece of aggregated data, the aggregated data is associated with a target vehicle and stored in a distributed database.

[0052] It should be noted that, usually, for the same model of vehicle, under the same factory environment, the various working condition data of its components are also the same, such as the basic working conditions of the engine: idling, load and acceleration conditions, etc. Therefore, different models of vehicles can be marked with different equipment numbers in advance, so as to distinguish the possible different working condition data of the same type of components after the aggregated data is associated with the equipment ID of the target vehicle and stored.

[0053] The embodiment of the present invention realizes the aggregation and storage of vehicle operating condition data that was originally scattered and frequently transmitted back by constructing an operating condition configuration protocol. Specifically, in the operating condition configuration protocol, components of different types are associated, achieving the beneficial effect of including multiple types of operating condition data in one aggregated data, which not only reduces the scattered data entries in the big data storage, but also reduces the storage capacity requirements. At the same time, since the aggregation group composed of different components is constructed based on actual needs, it also improves the data query efficiency and reduces the pressure on the analysis and processing of the original data.

[0054] Embodiment 2

[0055] Figure 2 This is a flow chart of another data return aggregation storage method provided in the second embodiment of the present invention. This embodiment is refined based on the above embodiment. Figure 2 As shown, the method specifically includes:

[0056] S210. Whenever real-time operating condition data of a target vehicle transmitted back by the Internet of Vehicles platform is received, a current component type matching the real-time operating condition data is identified, and all target operating condition configuration protocols associated with the current component type are identified in a pre-constructed operating condition configuration protocol library.

[0057] Each working condition configuration protocol includes at least one component type that needs to be aggregated and collected, and a set of aggregation time points.

[0058] S220: Identify a date field in the returned time.

[0059] The date field refers to a specific field in the form of "XXXX year / XX month / XX day" containing the information of 'year / month / day', that is, when receiving the returned working condition data, the return time is first recorded, and the return time is a detailed time containing 'year / month / day' and 'hour: minute: second'. By identifying the date field, it is possible to determine whether the current working condition data is real-time data or delayed historical data.

[0060] Optionally, after identifying the date field in the return time, the following may also be included:

[0061] If it is determined that the date field is inconsistent with the current date, a data return delay warning is sent to the management end according to the real-time operating condition data.

[0062] If the extracted date field is inconsistent with the current date, it means that the corresponding working condition data is delayed data, that is, the data is not returned in time due to network abnormalities or other reasons. At this time, the date of the current delayed data is recorded and an early warning report is sent to the management end, so that the delayed return data is stored in the database.

[0063] S230: If it is determined that the date field is consistent with the current date, the date field after the return time is removed to obtain the return time point.

[0064] If the extracted date field matches the current date, it means that the corresponding working condition data is real-time data. At this time, the date field in the return time is removed to obtain the specific time information containing only 'hour: minute: second' as the return time point.

[0065] S240. From the aggregation time point sets of each target working condition configuration protocol, respectively obtain target aggregation time points that match the return time points.

[0066] Furthermore, in the aggregation time point set of each target working condition configuration protocol, the target aggregation time point matching the return time point is obtained respectively, including:

[0067] In the aggregation time point set of each target working condition configuration protocol, select the aggregation time point closest to and later than the return time point as the storage time point.

[0068] Each working condition configuration protocol corresponds to a set of aggregation time points obtained by the preset aggregation frequency. Therefore, by obtaining the return time point of the current working condition data, it is possible to find an aggregation time point in the aggregation time point set that is closest to and later than the return time point, that is, to determine the storage time point.

[0069] S250. Using each of the target aggregation time points, a corresponding storage time point of the real-time operating condition data for each target operating condition configuration protocol is set, and the real-time operating condition data is cached.

[0070] S260: When it is detected that the current system time reaches the target time point in the aggregated time point set of the current working condition configuration protocol, multiple cached working condition data whose storage time point set for the current working condition configuration protocol is the target time point are identified.

[0071] S270: After merging the plurality of cached operating condition data into one piece of aggregated data, the aggregated data is associated with the target vehicle and stored in a distributed database.

[0072] Optionally, the vehicle networking platform transmits back the data of each operating condition at a frequency greater than the aggregation frequency used when constructing the configuration protocol for each operating condition.

[0073] The frequency of returning working condition data varies depending on the type of component. For example, the working condition data of a certain model of engine is returned every 100ms, and the working condition data of a certain model of instrument panel is returned every 1000ms. Usually, in order to improve the efficiency of data storage, the aggregation frequency is usually in seconds. Therefore, within the time interval determined by a certain aggregation frequency, multiple pieces of returned working condition data of a certain component will be received.

[0074] The technical solution of the embodiment of the present invention mainly explains the determination of the aggregation time point, the aggregation time point set and the storage time point by refining the overall solution. Specifically, firstly, the aggregation frequency is determined according to actual needs, and the aggregation time point and the aggregation time point set are determined according to the aggregation frequency. Secondly, based on the return time point, a suitable aggregation time point is selected from the aggregation time point set as the storage time point of the target working condition data, and finally the data is aggregated and stored according to the preset working condition configuration protocol. By bringing the data return time point closer to the storage time point, on the one hand, the data storage query cost is reduced, and on the other hand, the system usability is improved.

[0075] Embodiment 3

[0076] Figure 3 This is a schematic diagram of the structure of a data backhaul aggregation storage device provided in Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0077] The working condition configuration protocol matching module 310 is used to identify the current component type that matches the real-time working condition data whenever receiving the real-time working condition data of the target vehicle transmitted back by the vehicle networking platform, and identify all target working condition configuration protocols associated with the current component type in the pre-constructed working condition configuration protocol library;

[0078] Each working condition configuration protocol includes at least one component type that needs to be aggregated and collected, and a set of aggregation time points;

[0079] The working condition data caching module 320 is used to set the storage time point of the real-time working condition data for each target working condition configuration protocol according to the return time of the real-time working condition data and the aggregation time point set of each target working condition configuration protocol, and cache the real-time working condition data;

[0080] The cached working condition data identification module 330 is used to identify multiple cached working condition data whose storage time point is the target time point set for the current working condition configuration protocol when it is detected that the current system time reaches the target time point in the aggregated time point set of the current working condition configuration protocol;

[0081] The data aggregation storage module 340 is used to merge the multiple cached operating condition data into one aggregated data, and then associate the aggregated data with the target vehicle and store it in a distributed database.

[0082] In the embodiment of the present invention, by constructing a working condition configuration protocol, the originally scattered and high-frequency returned vehicle working condition data can be aggregated and stored. Specifically, in the working condition configuration protocol, different types of components are associated, achieving the beneficial effect of including multiple types of working condition data in one aggregate data, which not only reduces the scattered data entries in the big data storage, but also reduces the storage capacity requirements. At the same time, since the aggregation group composed of different components is constructed based on actual needs, it also improves the data query efficiency and reduces the pressure of analyzing and processing the original data.

[0083] Optionally, based on the above embodiments, it further includes a working condition configuration protocol library construction unit, which is used to obtain multiple historical working condition data of the target vehicle within a set historical period before identifying all target working condition configuration protocols associated with the current component type in the pre-constructed working condition configuration protocol library, and extract the corresponding component type from each historical working condition data;

[0084] Build multiple aggregation groups for different component types according to business needs; each aggregation group contains at least one component type;

[0085] An aggregation frequency is agreed upon for each aggregation group, and multiple aggregation time points are generated for each aggregation group according to the agreed aggregation frequency, and a set of aggregation time points corresponding to each aggregation group is obtained by combining them;

[0086] Each aggregation group is combined with a matching aggregation time point set to obtain a plurality of operating condition configuration protocols, and the plurality of operating condition configuration protocols are combined to obtain an operating condition configuration protocol library.

[0087] Optionally, based on the above embodiments, the working condition configuration protocol library construction unit further includes: an aggregation time point generation subunit, which is used to obtain the current aggregation frequency agreed upon by the current aggregation group, and according to the time interval determined by the current aggregation frequency, the aggregation time points are accumulated starting from 00:00:00 according to the time interval in a 24-hour system;

[0088] When the time interval between the accumulated aggregation time points and 00:00:00 is less than the aggregation frequency, the accumulation is stopped to obtain all the aggregation time points of the current aggregation group.

[0089] Optionally, based on the above embodiments, the operating condition data cache module 320 may include:

[0090] A date field identification unit, used to identify a date field in the returned time;

[0091] A return time point generating unit, configured to obtain a return time point by removing the date field after the return time if it is determined that the date field is consistent with the current date;

[0092] An aggregation time point acquisition unit, used to respectively acquire a target aggregation time point matching the return time point from the aggregation time point set of each target working condition configuration protocol;

[0093] The storage time point setting unit is used to use each of the target aggregation time points to set the storage time point of the real-time working condition data corresponding to each target working condition configuration protocol.

[0094] Optionally, based on the above embodiments, the aggregation time point acquisition unit is further used to select an aggregation time point that is closest to and later than the return time point in the aggregation time point set of each target working condition configuration protocol as the target aggregation time point.

[0095] Optionally, based on the above embodiments, it also includes an early warning sending unit, which is used to identify the date field in the return time, and if it is determined that the date field is inconsistent with the date of the day, send a data return delay early warning to the management end according to the real-time operating condition data.

[0096] Optionally, based on the above embodiments, the vehicle networking platform transmits back the data of each operating condition at a frequency greater than the aggregation frequency used when constructing the configuration protocol for each operating condition.

[0097] An aggregate storage device for data return provided by an embodiment of the present invention can execute an aggregate storage method for data return provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0098] Embodiment 4

[0099] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0100] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory 12, a random access memory 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory 12 or the computer program loaded from the storage unit 18 to the random access memory 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the random access memory 13. The processor 11, the read-only memory 12, and the random access memory 13 are connected to each other via a bus 14. The I / O interface 15 is also connected to the bus 14.

[0101] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0102] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for aggregate storage of data backhaul.

[0103] That is: whenever the real-time working condition data of the target vehicle transmitted back by the Internet of Vehicles platform is received, the current component type matching the real-time working condition data is identified, and all target working condition configuration protocols associated with the current component type are identified in the pre-constructed working condition configuration protocol library;

[0104] Each working condition configuration protocol includes at least one component type that needs to be aggregated and collected, and a set of aggregation time points;

[0105] According to the transmission time of the real-time working condition data and the aggregation time point set of each target working condition configuration protocol, the storage time point of the real-time working condition data for each target working condition configuration protocol is set, and the real-time working condition data is cached;

[0106] When it is detected that the current system time reaches the target time point in the aggregated time point set of the current working condition configuration protocol, multiple cached working condition data with the storage time point set for the current working condition configuration protocol as the target time point are identified;

[0107] After the plurality of cached operating condition data are merged into one piece of aggregated data, the aggregated data is associated with the target vehicle and stored in a distributed database.

[0108] In some embodiments, a method for aggregate storage of data return can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the read-only memory 12 and / or the communication unit 19. When the computer program is loaded into the random access memory 13 and executed by the processor 11, one or more steps of the method for aggregate storage of data return described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform a method for aggregate storage of data return in any other appropriate manner (for example, by means of firmware).

[0109] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0110] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0111] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0112] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0113] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0114] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0115] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0116] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A data return aggregation storage method, characterized in that: include: Whenever receiving the real-time working condition data of the target vehicle transmitted back by the Internet of Vehicles platform, identifying the current component type matching the real-time working condition data, and identifying all target working condition configuration protocols associated with the current component type in the pre-constructed working condition configuration protocol library; Each working condition configuration protocol includes at least one component type that needs to be aggregated and collected, and a set of aggregation time points; According to the transmission time of the real-time working condition data and the aggregation time point set of each target working condition configuration protocol, the storage time point of the real-time working condition data for each target working condition configuration protocol is set, and the real-time working condition data is cached; When it is detected that the current system time reaches the target time point in the aggregated time point set of the current working condition configuration protocol, multiple cached working condition data with the storage time point set for the current working condition configuration protocol as the target time point are identified; After merging the plurality of cached operating condition data into one piece of aggregated data, the aggregated data is associated with the target vehicle and stored in a distributed database; Before identifying all target condition configuration protocols associated with the current component type in the pre-constructed condition configuration protocol library, it also includes: Acquire multiple pieces of historical operating condition data of the target vehicle within a set historical period, and extract corresponding component types from each piece of historical operating condition data; Build multiple aggregation groups for different component types according to business needs; each aggregation group contains at least one component type; An aggregation frequency is agreed upon for each aggregation group, and multiple aggregation time points are generated for each aggregation group according to the agreed aggregation frequency, and a set of aggregation time points corresponding to each aggregation group is obtained by combining them; Combining each aggregation group with a matching aggregation time point set respectively to obtain a plurality of working condition configuration protocols, and combining the plurality of working condition configuration protocols to obtain a working condition configuration protocol library; The operating condition configuration protocol configures aggregation rules for operating condition data of components of different types.

2. The method according to claim 1, characterized in that An aggregation frequency is agreed upon for each aggregation group, and multiple aggregation time points are generated for each aggregation group according to the agreed aggregation frequency. A set of aggregation time points corresponding to each aggregation group is obtained by combining the following: Obtain the current aggregation frequency agreed for the current aggregation group, and based on the time interval determined by the current aggregation frequency, accumulate the aggregation time points starting from 00:00:00 according to the time interval in a 24-hour system; When the time interval between the accumulated aggregation time points and 00:00:00 is less than the aggregation frequency, the accumulation is stopped to obtain all the aggregation time points of the current aggregation group.

3. The method according to claim 2, characterized in that According to the transmission time of the real-time working condition data and the aggregation time point set of each target working condition configuration protocol, the storage time point of the real-time working condition data for each target working condition configuration protocol is set, including: identifying a date field in the returned time; If it is determined that the date field is consistent with the current date, the date field after the return time is removed to obtain the return time point; In the aggregation time point set of each target working condition configuration protocol, respectively obtain the target aggregation time point that matches the return time point; Using each of the target aggregation time points, a corresponding storage time point for the real-time operating condition data configuration protocol for each target operating condition is set.

4. The method according to claim 3, characterized in that In the aggregation time point set of each target working condition configuration protocol, the target aggregation time points matching the return time points are obtained respectively, including: In the aggregation time point set of each target working condition configuration protocol, select the aggregation time point closest to and later than the return time point as the storage time point.

5. The method according to claim 3, characterized in that: After identifying the date field in the returned time, further comprising: If it is determined that the date field is inconsistent with the current date, a data return delay warning is sent to the management end according to the real-time operating condition data.

6. The method according to any one of claims 1 to 5, characterized in that: The frequency at which the Internet of Vehicles platform transmits back data on each operating condition is greater than the aggregation frequency used when building the configuration protocol for each operating condition.

7. A data backhaul aggregate storage device, characterized in that: include: A working condition configuration protocol matching module is used to identify the current component type that matches the real-time working condition data whenever receiving the real-time working condition data of the target vehicle transmitted back by the vehicle networking platform, and to identify all target working condition configuration protocols associated with the current component type in a pre-constructed working condition configuration protocol library; Each working condition configuration protocol includes at least one component type that needs to be aggregated and collected, and a set of aggregation time points; The working condition data caching module is used to set the storage time point of the real-time working condition data for each target working condition configuration protocol according to the return time of the real-time working condition data and the aggregation time point set of each target working condition configuration protocol, and cache the real-time working condition data; A cached working condition data identification module is used to identify multiple cached working condition data whose storage time point is the target time point set for the current working condition configuration protocol when it is detected that the current system time reaches the target time point in the aggregated time point set of the current working condition configuration protocol; A data aggregation storage module, used for merging the plurality of cached working condition data into one piece of aggregated data, and then associating the aggregated data with the target vehicle and storing it in a distributed database; The device further comprises: a working condition configuration protocol library construction unit, which is used to obtain a plurality of historical working condition data of the target vehicle within a set historical period before identifying all target working condition configuration protocols associated with the current component type in the pre-constructed working condition configuration protocol library, and respectively extract the corresponding component type from each piece of historical working condition data; Build multiple aggregation groups for different component types according to business needs; each aggregation group contains at least one component type; An aggregation frequency is agreed upon for each aggregation group, and multiple aggregation time points are generated for each aggregation group according to the agreed aggregation frequency, and a set of aggregation time points corresponding to each aggregation group is obtained by combining them; Combining each aggregation group with a matching aggregation time point set respectively to obtain a plurality of working condition configuration protocols, and combining the plurality of working condition configuration protocols to obtain a working condition configuration protocol library; The operating condition configuration protocol configures aggregation rules for operating condition data of components of different types.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a data return aggregation storage method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a data return aggregation storage method according to any one of claims 1 to 6 when executed.

Citation Information

Patent Citations

  • Data aggregation method, device and system

    CN107798009A

  • Vehicle information uploading method and device, equipment and storage medium

    CN113452486A