Statistical method of vehicle mileage and related device

By providing a vehicle mileage statistics method in the vehicle management system, using preset database calls and updates mileage statistics, the problem that traditional systems cannot accurately understand the vehicle mileage is solved, and efficient and accurate mileage statistics and feedback are achieved.

CN119879982APending Publication Date: 2025-04-25GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411916040.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

Traditional vehicle management systems cannot accurately understand the vehicle mileage during use by rental users, resulting in increased vehicle losses, increased safety risks and inefficient business efficiency.

Method used

Provide a vehicle mileage statistics method, obtain the current statistical range through the user's mileage statistics request, and call the corresponding mileage statistics result data in the preset mileage statistics result database. If the corresponding data cannot be matched in the database, some mileage data will be called from the preset offline mileage database, update the mileage statistics result data and store it in the database.

Benefits of technology

It realizes the user-based mileage statistics requests, and efficient feedback of accurate mileage statistics results data, improves the speed and efficiency of mileage statistics, reduces the computing power consumption, and avoids duplicate statistics within the same statistical range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119879982A_ABST
    Figure CN119879982A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle mileage statistical method, which is applied to the technical field of vehicle mileage statistics, and comprises the following steps: based on a mileage statistical request of a user, obtaining a current statistical range, and calling a preset mileage statistical result database; in response to determining that mileage statistical result data corresponding to the current statistical range cannot be matched in a preset mileage statistical result database, calling at least part of mileage data corresponding to the current statistical range in a preset offline mileage database; determining updated mileage statistical result data based on the called mileage data, and storing the updated mileage statistical result data in the mileage statistical result database to obtain an updated mileage statistical result database; and feeding back mileage statistical result data corresponding to the current statistical range in the updated mileage statistical result database to the user. According to the invention, the computing power is greatly reduced, and the statistical speed and efficiency are further 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 vehicle mileage statistics method and related devices. Background Art

[0002] With the rise of vehicle rental business, traditional vehicle management systems have serious management blind spots during the use period of rental users. Managers are unable to accurately understand the specific usage of rental users, such as vehicle mileage, resulting in increased vehicle wear and tear, increased safety risks and low business efficiency. Summary of the invention

[0003] In view of this, the purpose of this application is to propose a vehicle mileage statistics method and related devices to solve the problem of not being able to accurately understand the vehicle mileage.

[0004] Based on the above purpose, the present application provides a vehicle mileage statistics method, including:

[0005] Based on the user's mileage statistics request, obtain the current statistical range and call the preset mileage statistics result database;

[0006] In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, calling at least part of the mileage data corresponding to the current statistical range in the preset offline mileage database;

[0007] Determine updated mileage statistical result data based on the called mileage data, and store the updated mileage statistical result data in the mileage statistical result database to obtain an updated mileage statistical result database;

[0008] The mileage statistical result data corresponding to the current statistical range in the updated mileage statistical result database is fed back to the user.

[0009] Further, in response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, calling at least part of the mileage data corresponding to the current statistical range in the preset offline mileage database includes:

[0010] In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, determining a target call range based on the current statistical range and the mileage statistical result database;

[0011] The mileage data corresponding to the target calling range is called up in a preset offline mileage database.

[0012] Further, in response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, determining the target call range based on the current statistical range and the mileage statistical result database includes:

[0013] In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be partially matched in the preset mileage statistical result database, determining a target calling range that cannot be matched with the mileage statistical result data in the current statistical range based on the mileage statistical result database;

[0014] In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched at all in the preset mileage statistical result database, the current statistical range is determined as the target calling range.

[0015] Further, the current statistical range includes the current statistical period and the current statistical vehicle, the mileage statistical result database stores mileage statistical result data with period tags and vehicle tags, and the target calling range that cannot be matched to the mileage statistical result data in the current statistical range based on the mileage statistical result database includes:

[0016] Filter out the mileage statistical result data with the current statistical vehicle label and the current statistical time period label in the statistical result database;

[0017] In response to determining that there are vehicles whose mileage statistical result data have not been filtered out among the currently counted vehicles, the unfiltered vehicles are determined as target call vehicles, and the current statistical period is determined as the target call period;

[0018] In response to determining that there is a period in the current statistical period in which the mileage statistical result data is not filtered out, determining the unfiltered period as a target call period, and determining the current statistical vehicle as a target call vehicle;

[0019] In response to determining that there are vehicles whose mileage statistical result data are not filtered out and time periods whose mileage statistical result data are not filtered out in the current statistical range, the unfiltered vehicles are determined as target calling vehicles, and the unfiltered time periods are determined as target calling time periods.

[0020] Furthermore, the mileage data has a time tag, and calling the mileage data corresponding to the target calling range in the preset offline mileage database includes:

[0021] Determine a plurality of mileage data within a target call range in a preset offline mileage database;

[0022] The first mileage data and the last mileage data in each preset time interval are called from a plurality of mileage data, wherein the first mileage data is the mileage data with the earliest time tag in a preset time interval, and the last mileage data is the mileage data with the latest time tag in a preset time interval.

[0023] Furthermore, the method further comprises:

[0024] In response to determining that mileage statistical result data corresponding to the current statistical range is matched in a preset mileage statistical result database, the mileage statistical result data is fed back to the user.

[0025] Furthermore, the mileage data has a time tag and a vehicle tag, and the updating of the mileage statistical result data based on the called mileage data includes:

[0026] Based on the time tag and the vehicle tag, obtaining the total mileage of each vehicle in each preset time interval;

[0027] The total mileage is used as the updated mileage statistical result data.

[0028] Furthermore, the total mileage of each vehicle in each preset time interval is obtained based on the time tag and the vehicle tag, including:

[0029] Based on the vehicle tags, the mileage data is grouped and aggregated to obtain mileage data of each vehicle;

[0030] Based on the time label, the mileage data of each vehicle is respectively window aggregated to obtain the mileage data of each vehicle in each preset time interval;

[0031] Function aggregation is performed on the mileage data of each vehicle in each preset time interval to obtain the total mileage of each vehicle in each preset time interval.

[0032] Based on the same inventive concept, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.

[0033] Based on the same inventive concept, the present disclosure also provides a server, comprising the electronic device as described above.

[0034] From the above, it can be seen that the vehicle mileage statistics method provided by the present application determines the current statistical range by receiving the mileage statistics request of the user, and calls the mileage statistics result data corresponding to the current statistical range in the preset mileage statistics result database. When the mileage statistics result data corresponding to the current statistical range cannot be matched in the mileage statistics result database, part of the mileage data is called from the preset offline mileage database, and the updated mileage statistics result data is obtained based on the called mileage data and stored in the mileage statistics result database, so that the data in the mileage statistics result database completely corresponds to the current statistical range. By calling the mileage statistics result data corresponding to the current statistical range in the mileage statistics result database and feeding it back to the user, the mileage statistics request based on the user is realized, and the corresponding mileage statistics result data is fed back to the user. The vehicle mileage statistics process provided by the present application is based on the user's mileage statistics request, and there is no need to perform mileage data statistics regularly, thereby avoiding the periodic mileage data statistics occupying the processing running memory, thereby greatly improving the mileage statistics speed and efficiency, and improving the user experience. In addition, the mileage statistics result data corresponding to the historical mileage statistics request can be stored in the mileage statistics result database. When the current statistical range contains the mileage statistics result data in the mileage statistics result database, it can be directly called to avoid the repeated statistics of the mileage statistics result data within the same statistical range, greatly reducing the computing power, and further improving the statistical speed and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] 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.

[0036] Figure 1 A schematic diagram of a flow chart of a vehicle mileage statistics method according to an embodiment of the present application;

[0037] Figure 2 A schematic diagram of the structure of a vehicle mileage statistics device according to an embodiment of the present application;

[0038] Figure 3 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0039] 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.

[0040] 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.

[0041] For business scenarios such as large customers purchasing vehicles in bulk and leasing them, the traditional large customer vehicle management system has serious management blind spots during the use period of tenants. The opacity of vehicle status makes it impossible for managers to accurately understand the use of tenants and lack effective means to manage vehicles, which may lead to a series of problems such as increased vehicle wear and tear, increased safety risks, and low business efficiency.

[0042] The current vehicle management system calculates the online mileage data of multiple vehicles in real time or by setting up scheduled tasks to calculate the mileage of multiple vehicles. Too many calculation processes lead to a waste of computing power, and the calculated data occupies a lot of memory, resulting in a decrease in the system operation rate, which in turn leads to a decrease in the efficiency of vehicle mileage statistics. How to achieve efficient statistics of vehicle mileage is an urgent problem to be solved.

[0043] Based on this, the present application proposes a vehicle mileage statistics method and related devices to achieve efficient mileage statistics based on statistical requests.

[0044] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0045] In some embodiments, reference Figure 1 , a vehicle mileage statistics method, applied to a server, comprising:

[0046] Step S100, based on the user's mileage statistics request, obtaining the current statistics range and calling a preset mileage statistics result database;

[0047] Specifically, the mileage statistics request includes the current statistical range. When the server receives the mileage statistics request from the user, it determines the current statistical range from the mileage statistics request. Based on the current statistical range, the server calls the mileage statistical result data within the current statistical range from a preset mileage statistical result database.

[0048] It should be noted that the mileage statistics result database is pre-set to store mileage statistics result data generated based on historical mileage statistics requests, so as to avoid the need to repeatedly process the mileage statistics result data corresponding to the same statistical range when a mileage statistics request is received later, thereby reducing redundancy and improving mileage statistics efficiency.

[0049] Step S200, in response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, calling at least part of the mileage data corresponding to the current statistical range in the preset offline mileage database;

[0050] Specifically, the server calls the mileage statistical result data within the current statistical range in the mileage statistical result database. When the server cannot call out all the mileage statistical result data within the current statistical range in the mileage statistical result database (it may be that all the mileage statistical result data within the current statistical range does not exist in the mileage statistical result database, or it may be that some of the mileage statistical result data within the current statistical range does not exist in the mileage statistical result database), the server determines that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database. In order to match all the mileage statistical result data corresponding to the current statistical range in the mileage statistical result database, the server calls some or all of the mileage data corresponding to the current statistical range in the preset offline mileage database. It should be noted that when all the mileage statistical result data within the current statistical range does not exist in the mileage statistical result database, the server calls all the mileage data corresponding to the current statistical range in the offline mileage database. When some of the mileage statistical result data within the current statistical range does not exist in the mileage statistical result database, the server calls some of the mileage data corresponding to the current statistical range in the offline mileage database.

[0051] In addition, the offline mileage database is a pre-set database for storing offline mileage data, which can avoid real-time storage of mileage data resulting in excessive storage memory and affecting storage effect.

[0052] For example, the current statistical range is 10 / 1 / 2021 to 10 / 30 / 2021, and the range corresponding to the mileage statistical result data in the mileage statistical result database is 10 / 1 / 2021 to 10 / 15 / 2021. If some of the mileage statistical result data within the current statistical range does not exist in the mileage statistical result database, then the mileage data corresponding to the current statistical range that does not exist in the mileage statistical result database is called in the offline mileage database, that is, the mileage data in the range of 10 / 16 / 2021 to 10 / 30 / 2021 is called.

[0053] Step S300, determining updated mileage statistical result data based on the called mileage data, and storing the updated mileage statistical result data in the mileage statistical result database to obtain an updated mileage statistical result database;

[0054] Specifically, after calling the mileage data, the server processes the called mileage data to obtain the updated mileage statistical result data, where the updated mileage statistical result data is mileage statistical result data that does not exist in the mileage statistical result database and is located within the current statistical range.

[0055] The server stores the updated mileage statistical result data in the mileage statistical result database to obtain an updated mileage statistical result database, so that the updated mileage statistical result database includes all mileage statistical result data within the current statistical range.

[0056] It should be noted that both the updated mileage statistical result data and the mileage statistical result data in the mileage statistical result database have range tags, so that the server calls the mileage statistical result data in the mileage statistical result database based on the current statistical range.

[0057] Step S400, feeding back the mileage statistical result data corresponding to the current statistical range in the updated mileage statistical result database to the user.

[0058] Specifically, the server calls the mileage statistics result data corresponding to the current statistical range in the updated mileage statistics result database, and feeds back to the user, so that the user's mileage statistics request is fed back.

[0059] In this embodiment, the current statistical range is determined by receiving the mileage statistics request of the user, and the mileage statistics result data corresponding to the current statistical range is called in the preset mileage statistics result database. When the mileage statistics result data corresponding to the current statistical range cannot be matched in the mileage statistics result database, part of the mileage data is called from the preset offline mileage database, and the updated mileage statistics result data is obtained based on the called mileage data and stored in the mileage statistics result database, so that the data in the mileage statistics result database completely corresponds to the current statistical range. By calling the mileage statistics result data corresponding to the current statistical range in the mileage statistics result database and feeding it back to the user, the mileage statistics result data corresponding to the user's mileage statistics request is fed back to the user. The vehicle mileage statistics process provided by the present application is based on the user's mileage statistics request, and does not need to perform mileage data statistics regularly, which can greatly improve the mileage statistics speed and efficiency, improve the user experience, and can store the mileage statistics result data corresponding to the historical mileage statistics request in the mileage statistics result database, avoiding the situation of feedback statistics of mileage statistics result data within the same statistical range, greatly reducing computing power, and further improving the statistics speed and efficiency.

[0060] The above embodiment clarifies the statistical process of vehicle mileage, which is a process of calling the mileage statistical data corresponding to the current statistical range in the mileage statistical result database based on the current statistical range, and when the mileage statistical result data in the mileage statistical result database cannot match the mileage statistical result data corresponding to the current statistical range, calling the mileage data from the preset offline mileage database to update the mileage statistical result database. The specific process of calling the mileage data from the preset offline mileage database is described below.

[0061] In some embodiments, step S200: in response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, calling at least part of the mileage data corresponding to the current statistical range in the preset offline mileage database includes:

[0062] Step S201, in response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, determining a target call range based on the current statistical range and the mileage statistical result database;

[0063] Specifically, the server is unable to match the mileage statistical result data corresponding to the current statistical range in the mileage statistical result database, including complete inability to match and partial inability to match. Therefore, when the server determines that it cannot match all the mileage statistical result data corresponding to the current statistical range, it determines that it cannot match the mileage statistical result data corresponding to the current statistical range in the preset mileage statistical result database.

[0064] The mileage statistical result data in the mileage statistical result database all have range tags (including time period tags and vehicle tags). The server determines the range not included in the mileage statistical result database as the target calling range by comparing the range tags of the data in the mileage statistical result database with the current statistical range.

[0065] Exemplarily, the current statistical range is 10 / 1 / 2021 to 10 / 30 / 2021, and the range label of the data in the mileage statistical result database is 10 / 1 / 2021 to 10 / 15 / 2021, then the server determines that the target call range is 10 / 16 / 2021 to 10 / 30 / 2021.

[0066] Step S202, calling mileage data corresponding to the target calling range in a preset offline mileage database.

[0067] Specifically, the server calls the mileage data within the target calling range in the offline mileage database based on the target calling range.

[0068] In this embodiment, when the mileage statistics result database cannot meet the current statistical range in the user's mileage statistics request, the process of calling the mileage data in the offline mileage database is specifically explained, and the target calling range is determined by comparing the range label of the mileage statistics result data in the mileage statistics result database with the current statistical range, and the mileage data in the offline mileage database is called based on the target calling range, that is, the mileage data is called as much as the missing data, which greatly reduces the number of mileage data called in the offline mileage database, avoids repeated calls to the mileage data in the offline mileage database, and thus improves the statistical speed and efficiency of the method.

[0069] The above embodiment clarifies the process of calling mileage data in the offline mileage database based on the target calling range when the mileage statistics result database cannot meet the user's current statistical range. The process of determining the target calling range is specifically explained below to clarify the process of determining the target calling range.

[0070] In some embodiments, step S201: in response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, determining the target call range based on the current statistical range and the mileage statistical result database includes:

[0071] Step S2011, in response to determining that the mileage statistical result data corresponding to the current statistical range cannot be partially matched in the preset mileage statistical result database, determining a target calling range that cannot be matched with the mileage statistical result data in the current statistical range based on the mileage statistical result database;

[0072] Specifically, when the server can match part of the mileage statistical result data corresponding to the current statistical range in the mileage statistical result database, that is, there is part of the mileage statistical result data within the current statistical range in the mileage statistical result database, which cannot meet the user's statistical request, it is necessary to enrich the mileage statistical result database so that the server can completely match the mileage statistical result data within the current statistical range in the mileage statistical result database.

[0073] The server determines, based on the range tag of the mileage statistical result data in the mileage statistical result database, that a range in the current statistical range that cannot match the mileage statistical result data is the target calling range.

[0074] For example, the current statistical range is 10 / 1 / 2021 to 10 / 30 / 2021, and the range label of the mileage statistical result data in the mileage statistical result database is 10 / 1 / 2021. The range of the mileage statistical result data that cannot be matched is 10 / 2 / 2021 to 10 / 30 / 2021, and the server determines that the target call range is 10 / 2 / 2021 to 10 / 30 / 2021.

[0075] Step S2012, in response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched at all in the preset mileage statistical result database, the current statistical range is determined as the target calling range.

[0076] Specifically, when the server cannot match the mileage statistical result data corresponding to the current statistical range in the mileage statistical result database, that is, the mileage statistical result data within the current statistical range does not exist in the mileage statistical result database and cannot meet the user's statistical request, the server needs to enrich the mileage statistical result database so that the server can completely match the mileage statistical result data within the current statistical range in the mileage statistical result database. The server determines the current statistical range as the target call range.

[0077] Exemplarily, the current statistical range is 10 / 1 / 2021 to 10 / 30 / 2021, and there is no data in the mileage statistical result database that is within the current statistical range, then the server determines that the target call range is 10 / 1 / 2021 to 10 / 30 / 2021.

[0078] In this embodiment, the process of determining the target calling range is described in detail to clarify the range of mileage data within the current statistical range to be called when the mileage statistical result data in the mileage statistical result database cannot meet the current statistical range. The target calling range can be determined according to the range difference between the current statistical range and the mileage statistical result database, thereby avoiding repeated calls to data, which can not only meet the user's statistical request, but also minimize the amount of statistical data, thereby improving statistical efficiency.

[0079] The above embodiment describes the process of determining the target calling range. The following further defines and describes the process of determining the target calling range when the current statistical range includes the current statistical period and the current statistical vehicle.

[0080] In some embodiments, the current statistical range includes the current statistical period and the current statistical vehicle, and the mileage statistical result database stores mileage statistical result data with period tags and vehicle tags. In step S2011, the target calling range that cannot be matched to the mileage statistical result data in the current statistical range based on the mileage statistical result database includes:

[0081] Step S2011-1, filtering out the mileage statistical result data with the current statistical vehicle label and the current statistical period label in the statistical result database;

[0082] Specifically, when the server determines that part of the mileage statistical result database cannot match the mileage statistical result data within the current statistical range, it filters the mileage statistical result data with the current statistical vehicle label and the current statistical period label in the statistical result database based on the current statistical vehicle and the current statistical period included in the current statistical range.

[0083] Step S2011-2, in response to determining that there are vehicles whose mileage statistical result data have not been screened out in the current statistical vehicles, determining the vehicles that have not been screened out as target call vehicles, and determining the current statistical period as the target call period;

[0084] Specifically, when the server filters the mileage statistical result database based on the current statistical range, if there is mileage statistical result data corresponding to the current statistical period that cannot be filtered out in the current statistical vehicles, the vehicle is determined as the target call vehicle, and the current statistical period is determined as the target call period.

[0085] Exemplarily, the currently counted vehicles include three vehicles A, B, and C, and the current statistical period is 10 / 1 / 2021 to 10 / 30 / 2021. The mileage statistical result database only includes the mileage statistical result data of vehicles A and B between 10 / 1 / 2021 and 10 / 30 / 2021. Vehicle C is determined as the target call vehicle, and 10 / 1 / 2021 to 10 / 30 / 2021 is determined as the target call period.

[0086] Step S2011-3, in response to determining that there is a period in the current statistical period in which the mileage statistical result data is not filtered out, determining the unfiltered period as a target call period, and determining the current statistical vehicle as a target call vehicle;

[0087] Specifically, when the server filters the mileage statistical result database based on the current statistical range, if there is a period in the current statistical period in which mileage statistical result data is not filtered out, the unfiltered period is determined as the target call period, and the current statistical vehicle is determined as the target call vehicle.

[0088] Exemplarily, the currently counted vehicles include three vehicles A, B, and C, the current statistical period is 10 / 1 / 2021 to 10 / 30 / 2021, and the mileage statistical result database only includes mileage statistical result data between 10 / 1 / 2021 and 10 / 15 / 2021. Then, the three vehicles A, B, and C are determined as target call vehicles, and 10 / 16 / 2021 to 10 / 30 / 2021 is determined as the target call period.

[0089] Step S2011-4, in response to determining that there are vehicles whose mileage statistical result data have not been filtered out and time periods whose mileage statistical result data have not been filtered out in the current statistical range, the unfiltered vehicles are determined as target call vehicles, and the unfiltered time periods are determined as target call time periods.

[0090] Specifically, when the server filters the mileage statistical result database based on the current statistical range, if there is a time period in the current statistical time period in which mileage statistical result data has not been filtered out, and there is a vehicle in the current statistical vehicle in which mileage statistical result data has not been filtered out, then the unfiltered time period is determined as the target call time period, and the unfiltered vehicle is determined as the target call vehicle.

[0091] Exemplarily, the currently counted vehicles include three vehicles A, B, and C, and the current statistical period is 10 / 1 / 2021 to 10 / 30 / 2021. The mileage statistical result database only includes the mileage statistical result data of vehicle A between 10 / 1 / 2021 and 10 / 15 / 2021. Then (vehicle A; 10 / 16 / 2021 to 10 / 30 / 2021), (vehicle B; 10 / 1 / 2021 to 10 / 30 / 2021) and (vehicle C; 10 / 1 / 2021 to 10 / 30 / 2021) are determined as the target calling range.

[0092] In this embodiment, the current statistical range includes the current statistical vehicle and the current statistical time period, and specifically describes the target call range determination process when the mileage statistical result database cannot satisfy the current statistical vehicle or cannot satisfy the current statistical time period or cannot satisfy the current statistical vehicle and the current statistical time period, so that the target call range and the range of the mileage statistical result database in the mileage statistical result database can satisfy the current statistical range, thereby satisfying the user's statistical request, the process logic is clear, and the speed of determining the target call range can be greatly improved, which is beneficial to improving the statistical efficiency of the method.

[0093] The specific process of determining the target calling range is clarified above. The process of calling the mileage data based on the target calling range is specifically described below.

[0094] In some embodiments, the mileage data has a time tag, and step S202: calling the mileage data corresponding to the target calling range in the preset offline mileage database includes:

[0095] Step S202-1, determining a plurality of mileage data within a target call range in a preset offline mileage database;

[0096] Specifically, the server determines a plurality of mileage data corresponding to the target calling range in the offline mileage database, and calls them.

[0097] The mileage data in the offline mileage database has a time tag, the target call range includes a target call period, and the server determines a plurality of mileage data adapted to the target call range in the offline mileage database based on the target call range.

[0098] Exemplarily, the target call range is 10 / 16 / 2021 to 10 / 30 / 2021, and the time tags of the multiple mileage data in the offline mileage database are 10 / 16 / 2021 10:00, 10 / 16 / 202119:00, 10 / 16 / 2021 11:00, and 10 / 1 / 2021 10:00, respectively. Then, in the offline mileage database, the three mileage data with time tags of 10 / 16 / 202110:00, 10 / 16 / 2021 19:00, and 10 / 16 / 2021 11:00 are determined as the mileage data corresponding to the target call range, and are called.

[0099] Step S202-2, calling the first mileage data and the last mileage data in each preset time interval from multiple mileage data, wherein the first mileage data is the mileage data with the earliest time label in a preset time interval, and the last mileage data is the mileage data with the latest time label in a preset time interval.

[0100] Specifically, after determining a plurality of mileage data within the target calling range, the server calls the first and last two mileage data within each preset time interval among the plurality of mileage data to perform the calling, so as to calculate and obtain the mileage statistical result data.

[0101] Exemplarily, the target call range is 10 / 16 / 2021 to 10 / 17 / 2021, the preset time interval is 24 hours, and the time tags of multiple mileage data within the target call range are determined to be 10 / 16 / 2021 10:00, 10 / 16 / 2021 13:00, 10 / 16 / 2021 17:00, 10 / 16 / 2021 20:00, 10 / 17 / 2021 10:00, 10 / 17 / 2021 17:00 and 10 / 17 / 2021 20:00, respectively. Then, the first mileage data within the preset time interval of 10 / 16 / 2021 00:00 to 10 / 17 / 2021 00:00 is the time tag 10 / 16 / 2021 The mileage data is the mileage data at 10:00, and the last mileage data is the mileage data with a time tag of 10 / 16 / 2021 20:00. The first mileage data within the preset time interval of 10 / 17 / 2021 00:00 to 10 / 18 / 2021 00:00 is the mileage data with a time tag of 10 / 17 / 2021 10:00, and the last mileage data is the mileage data with a time tag of 10 / 17 / 2021 20:00.

[0102] In this embodiment, the specific calling conditions of the mileage data within the target calling range are described in detail, and the multiple mileage data within the target calling range are grouped according to preset time intervals to determine the multiple mileage data within each preset time interval, and on this basis, the first mileage data and the last mileage data within each preset time interval are determined, so as to determine the mileage statistical result data within the preset time interval. This embodiment can further reduce the number of called mileage data without affecting the determination of the updated mileage statistical result data based on the called mileage data, thereby further improving the statistical efficiency of the method.

[0103] It should be noted that the mileage data is the historical mileage point value of the vehicle. For example, the mileage data at 10 / 17 / 202110:00 is 10,000 kilometers, and the mileage data at 10 / 17 / 2021 20:00 is 15,000 kilometers.

[0104] The above embodiment clarifies the process of calling the mileage data based on the target calling range, so that the mileage statistical result data in the mileage statistical result database can match the current statistical range, and then the mileage statistical result data corresponding to the current statistical range can be obtained. The following describes the process after the mileage statistical result data in the mileage statistical result database can match the current statistical range, so that the user's mileage statistical request can achieve a closed loop.

[0105] In some embodiments, the method further comprises:

[0106] Step S500, in response to determining that mileage statistical result data corresponding to the current statistical range is matched in the preset mileage statistical result database, the mileage statistical result data is fed back to the user.

[0107] Specifically, the server completely matches the mileage statistical result data corresponding to the current statistical range in the mileage statistical result database, that is, the mileage statistical result data in the mileage statistical result database can meet the current statistical range, and the server feeds back the matched mileage statistical result data to the user.

[0108] Exemplarily, the current statistical range is (Car A; 10 / 17 / 2021~10 / 17 / 2021), and there is mileage statistical result data 10 kilometers labeled (Car A; 10 / 17 / 2021~10 / 17 / 2021) in the mileage statistical result database, then the mileage statistical result data 10 kilometers is fed back to the user as the matched mileage statistical result data.

[0109] In this embodiment, if the mileage statistical result data in the mileage statistical result database can meet the current statistical range, the mileage statistical data matching the current statistical range is determined in the mileage statistical result database and fed back to the user, so that the user's statistical request is met and a closed loop is achieved. This process is to call the mileage statistical result data in the mileage statistical result database, which has very low requirements on memory and computing power, and can significantly improve the feedback efficiency of the method.

[0110] The above embodiment clarifies the process of matching the mileage statistical result data in the mileage statistical result database with the current statistical range. The following describes in detail the process of obtaining the updated mileage statistical result data based on the mileage data.

[0111] In some embodiments, the mileage data carries a time tag and a vehicle tag. In step S300, the updating of the mileage statistics result data based on the called mileage data includes:

[0112] Step S301, based on the time tag and the vehicle tag, obtaining the total mileage of each vehicle in each preset time interval;

[0113] Specifically, the server determines the total mileage of each vehicle in each preset time interval based on the time tag of the called mileage data and the vehicle tag;

[0114] Based on the vehicle tag, multiple mileage data belonging to the same vehicle in the mileage data are determined, and based on the time tag, the mileage data belonging to the same preset time interval in the multiple mileage data of the same vehicle are determined. Based on this, the total mileage of the vehicle in the preset time interval can be calculated.

[0115] Exemplarily, the mileage data called by the server are 100 kilometers, 150 kilometers, 50 kilometers, and 80 kilometers, respectively, and the corresponding vehicle labels and time labels are (car A; 10 / 16 / 2021 10:00), (car A; 10 / 16 / 2021 19:00), (car B; 10 / 16 / 2021 10:00), and (car B; 10 / 16 / 202115:00), respectively. The preset time interval is 24 hours. The total mileage of car A in the preset time interval from 10 / 16 / 2021 00:00 to 10 / 17 / 2021 00:00 is 150 kilometers - 100 kilometers = 50 kilometers, and the total mileage of car B in the preset time interval from 10 / 16 / 2021 00:00 to 10 / 17 / 2021 00:00 is 80 kilometers - 50 kilometers = 30 kilometers.

[0116] Step S302: taking the total mileage as the updated mileage statistics result data.

[0117] Specifically, the server marks the vehicle corresponding to the calculated total mileage and the preset time interval as its vehicle label and time period label, and stores it as the updated mileage statistical result data in the mileage statistical result database.

[0118] For example, the mileage statistics result data is: 50 kilometers, the corresponding vehicle label is vehicle A, and the time period label is 10 / 16 / 2021 00:00~10 / 17 / 2021 00:00.

[0119] In this embodiment, the vehicle label and time label of the called mileage data are analyzed to determine the mileage data of each vehicle within the preset time interval, and the mileage data is calculated based on this to obtain the updated mileage statistical result data. The generation process of the updated mileage statistical result data and the determination process of the vehicle label and time period label are clarified, thereby facilitating subsequent calls based on user statistical requests, thereby improving the practicality and statistical efficiency of the method.

[0120] The above embodiment elaborates on the process of obtaining the total mileage of each vehicle in each preset time interval based on the mileage data to obtain the updated mileage statistical result data. The process of obtaining the total mileage of each vehicle in each preset time interval is described in detail below.

[0121] In some embodiments, step S301: obtaining the total mileage of each vehicle in each preset time interval based on the time tag and the vehicle tag includes:

[0122] Step S301-1, grouping and aggregating the mileage data based on the vehicle tags to obtain mileage data of each vehicle;

[0123] Specifically, the server groups and aggregates the mileage data according to the vehicle tags of the mileage data to obtain multiple groups of mileage data, each group of mileage data corresponds to a vehicle.

[0124] Exemplarily, the vehicle label and time label of the mileage data are (Car A; 10 / 16 / 202110:00), (Car A; 10 / 16 / 2021 19:00), (Car B; 10 / 16 / 2021 10:00), and (Car B; 10 / 16 / 2021 15:00). After the server groups and aggregates the mileage data, two sets of mileage data are obtained. One set includes mileage data with vehicle labels and time labels of (Car A; 10 / 16 / 2021 10:00) and (Car A; 10 / 16 / 2021 19:00), and the other set includes mileage data with vehicle labels and time labels of (Car B; 10 / 16 / 2021 10:00) and (Car B; 10 / 16 / 2021 15:00).

[0125] Step S301-2, performing window aggregation on the mileage data of each vehicle respectively to obtain the mileage data of each vehicle in each preset time interval;

[0126] Specifically, the server performs window aggregation on the multiple mileage data corresponding to each vehicle, so as to group the mileage data belonging to different preset time intervals among the multiple mileage data of the same vehicle.

[0127] Exemplarily, the time labels of multiple mileage data corresponding to vehicle A are 10 / 16 / 2021 10:00, 10 / 16 / 2021 19:00, 10 / 17 / 2021 19:00, and 10 / 17 / 2021 20:00, respectively. The preset time interval is 24 hours. The time labels of the mileage data within the preset time interval of 10 / 16 / 2021 00:00 to 10 / 17 / 2021 00:00 are 10 / 16 / 2021 10:00 and 10 / 16 / 2021 19:00; the time labels of the mileage data within the preset time interval of 10 / 17 / 2021 00:00 to 10 / 18 / 2021 00:00 are 10 / 17 / 2021 19:00 and 10 / 17 / 2021 20:00.

[0128] Step S301 - 3 , performing function aggregation on the mileage data of each vehicle in each preset time interval to obtain the total mileage of each vehicle in each preset time interval.

[0129] Specifically, the server performs function aggregation (i.e., function calculation) on the multiple mileage data of each vehicle in each preset time interval, and subtracts the mileage data with later time tags from the mileage data with earlier time tags, to calculate the total mileage of each vehicle in each preset time interval.

[0130] For example, there are two mileage data of car B between 10 / 17 / 2021 00:00 and 10 / 18 / 2021 00:00, one mileage data is 50 kilometers, and the corresponding time label is 10 / 17 / 2021 19:00, and the other mileage data is 60 kilometers, and the corresponding time label is 10 / 17 / 2021 20:00. Then the total mileage of car B between 10 / 17 / 2021 00:00 and 10 / 18 / 2021 00:00 is 60-50=10 kilometers.

[0131] In this embodiment, the called mileage data is multi-grouped based on the vehicle label and the time label, and in the multiple groups of mileage data after the multi-grouping, each group of mileage data is calculated to obtain the total mileage corresponding to each group. The time period label and vehicle label of the total mileage correspond to the group to which it belongs, so that the determination process of the total mileage and the label are clear, which is conducive to improving the statistical efficiency of the method.

[0132] 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.

[0133] 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.

[0134] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a vehicle mileage statistics device.

[0135] refer to Figure 2 The vehicle mileage counting device comprises:

[0136] The receiving module 100 is configured to obtain the current statistical range based on the user's mileage statistical request and call a preset mileage statistical result database;

[0137] The calling module 200 is configured to call at least part of the mileage data corresponding to the current statistical range in a preset offline mileage database in response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database;

[0138] An updating module 300 is configured to determine updated mileage statistical result data based on the called mileage data, and store the updated mileage statistical result data in the mileage statistical result database to obtain an updated mileage statistical result database;

[0139] The feedback module 400 is configured to feed back the mileage statistical result data corresponding to the current statistical range in the updated mileage statistical result database to the user.

[0140] 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.

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

[0142] 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 vehicle mileage statistics method described in any of the above embodiments is implemented.

[0143] Figure 3 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.

[0144] 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.

[0145] 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.

[0146] 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.

[0147] 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.).

[0148] 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).

[0149] 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.

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

[0151] Based on the same inventive concept, the present application also provides a server, including the electronic device as described above, which has the same beneficial effects as the above electronic device and will not be described in detail here.

[0152] 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 mileage statistics method described in any of the above embodiments.

[0153] 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, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

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

[0155] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.

[0156] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0157] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0158] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0159] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0160] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the 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.

[0161] 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.

[0162] 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.

[0163] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. A vehicle mileage statistics method, characterized in that: include: Based on the user's mileage statistics request, obtain the current statistical range and call the preset mileage statistics result database; In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, calling at least part of the mileage data corresponding to the current statistical range in the preset offline mileage database; Determine updated mileage statistical result data based on the called mileage data, and store the updated mileage statistical result data in the mileage statistical result database to obtain an updated mileage statistical result database; The mileage statistical result data corresponding to the current statistical range in the updated mileage statistical result database is fed back to the user.

2. The vehicle mileage counting method according to claim 1, characterized in that: In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, calling at least part of the mileage data corresponding to the current statistical range in the preset offline mileage database includes: In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, determining a target call range based on the current statistical range and the mileage statistical result database; The mileage data corresponding to the target calling range is called up in a preset offline mileage database.

3. The vehicle mileage counting method according to claim 2, characterized in that: In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched in the preset mileage statistical result database, determining the target calling range based on the current statistical range and the mileage statistical result database includes: In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be partially matched in the preset mileage statistical result database, determining a target calling range that cannot be matched with the mileage statistical result data in the current statistical range based on the mileage statistical result database; In response to determining that the mileage statistical result data corresponding to the current statistical range cannot be matched at all in the preset mileage statistical result database, the current statistical range is determined as the target calling range.

4. The vehicle mileage counting method according to claim 3, characterized in that: The current statistical range includes the current statistical period and the current statistical vehicle, the mileage statistical result database stores mileage statistical result data with a period tag and a vehicle tag, and the target calling range that cannot match the mileage statistical result data in the current statistical range based on the mileage statistical result database includes: Filter out the mileage statistical result data with the current statistical vehicle label and the current statistical time period label in the statistical result database; In response to determining that there are vehicles whose mileage statistical result data have not been filtered out among the currently counted vehicles, the unfiltered vehicles are determined as target call vehicles, and the current statistical period is determined as the target call period; In response to determining that there is a period in the current statistical period in which the mileage statistical result data is not filtered out, determining the unfiltered period as a target call period, and determining the current statistical vehicle as a target call vehicle; In response to determining that there are vehicles whose mileage statistical result data are not filtered out and time periods whose mileage statistical result data are not filtered out in the current statistical range, the unfiltered vehicles are determined as target calling vehicles, and the unfiltered time periods are determined as target calling time periods.

5. The vehicle mileage counting method according to claim 2, characterized in that: The mileage data has a time tag, and calling the mileage data corresponding to the target calling range in the preset offline mileage database includes: Determine a plurality of mileage data within a target call range in a preset offline mileage database; The first mileage data and the last mileage data in each preset time interval are called from a plurality of mileage data, wherein the first mileage data is the mileage data with the earliest time tag in a preset time interval, and the last mileage data is the mileage data with the latest time tag in a preset time interval.

6. The vehicle mileage counting method according to claim 1, characterized in that: Also includes: In response to determining that mileage statistical result data corresponding to the current statistical range is matched in a preset mileage statistical result database, the mileage statistical result data is fed back to the user.

7. The vehicle mileage counting method according to claim 1, characterized in that: The mileage data has a time tag and a vehicle tag, and the updating of the mileage statistical result data based on the called mileage data includes: Based on the time tag and the vehicle tag, obtaining the total mileage of each vehicle in each preset time interval; The total mileage is used as the updated mileage statistical result data.

8. The vehicle mileage counting method according to claim 7, characterized in that: The method of obtaining the total mileage of each vehicle in each preset time interval based on the time tag and the vehicle tag includes: Based on the vehicle tags, the mileage data is grouped and aggregated to obtain mileage data of each vehicle; Based on the time label, the mileage data of each vehicle is respectively window aggregated to obtain the mileage data of each vehicle in each preset time interval; Function aggregation is performed on the mileage data of each vehicle in each preset time interval to obtain the total mileage of each vehicle in each preset time interval.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.

10. A server, characterized in that: Comprising an electronic device as claimed in claim 9.