Vehicle information query method and device, electronic equipment, storage medium and vehicle

By combining and matching the filtering strategies and vehicle characteristics in the query instructions in the vehicle detection system, the problem of low query efficiency and high cost caused by complex query requests is solved, and the efficiency and user experience of vehicle data query are improved.

CN118673188APending Publication Date: 2024-09-20BEIJING CO WHEELS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410047426.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2024-01-11
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

When processing complex query requests, the existing vehicle detection system cannot split the search conditions, resulting in poor query results, occupying too many system resources, increasing query costs and reducing user experience.

Method used

By obtaining multiple candidate screening strategies in the information query instructions, combining them into atomic judgment conditions, matching the vehicle characteristics in the vehicle information database, generating a target vehicle set, and using logical relationships and similarity calculations to optimize the query process.

Benefits of technology

It effectively avoids the problem of overly complex query instructions, improves query efficiency and robustness, reduces query costs, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673188A
    Figure CN118673188A
Patent Text Reader

Abstract

The invention provides a vehicle information query method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining an information query instruction, and obtaining a plurality of candidate screening strategies; combining the candidate screening strategies to obtain a target information screening strategy set of the vehicle information base; and obtaining candidate vehicles of which the vehicle characteristics are matched with the target information screening strategy set in a vehicle information base, and generating a target vehicle set. An information query instruction is analyzed, a plurality of candidate screening strategies are determined, the candidate screening strategies have atomicity judgment conditions, the candidate screening strategies are recombined to generate a plurality of new query instructions, and target vehicle information is determined in a vehicle information base based on the new query instructions. As the information query instruction is split into the atomicity judgment conditions according to the screening strategy, the situation that the query cost is increased due to the fact that the information query instruction is too complex can be avoided, meanwhile, the efficiency and robustness of vehicle data query can be improved, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle detection technology, and in particular to a vehicle information query method, device, electronic device, storage medium and vehicle. Background Art

[0002] In current technology, users can search the portrait tag system through query requests to obtain matching target vehicles. However, in most cases, in order to accurately find the target vehicle, a query request with a large amount of data is required. However, due to the complexity of the query request, the system cannot split the query request into simple and clear search conditions when searching and analyzing the data for such a query request, resulting in poor system search results, excessive system resources being occupied during the search, increasing the query cost, and reducing the user experience. Summary of the invention

[0003] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0004] To this end, an object of the present disclosure is to provide a vehicle information query method.

[0005] The second objective of the present disclosure is to provide a vehicle information query device.

[0006] A third objective of the present disclosure is to provide an electronic device.

[0007] A fourth object of the present disclosure is to provide a non-transitory computer-readable storage medium.

[0008] A fifth object of the present disclosure is to provide a vehicle.

[0009] To achieve the above-mentioned purpose, the first aspect of the present disclosure proposes a vehicle information query method, including: obtaining an information query instruction, and obtaining multiple candidate screening strategies carried in the information query instruction, the candidate screening strategies are atomic judgment conditions; combining the candidate screening strategies to obtain a target information screening strategy set of a vehicle information library, the vehicle information library contains candidate vehicles and vehicle characteristics of the candidate vehicles; obtaining candidate vehicles in the vehicle information library whose vehicle characteristics match the target information screening strategy set, and generating a target vehicle set corresponding to the information query instruction.

[0010] According to one embodiment of the present disclosure, for candidate vehicles whose vehicle features match a target information screening strategy set, a target vehicle set corresponding to an information query instruction is generated, including: for any candidate screening strategy in the target information screening strategy set, the candidate screening strategy is matched with the vehicle features in the vehicle information library, and based on the successfully matched vehicle features, a target candidate vehicle set of the candidate screening strategy is determined; based on the target candidate vehicle sets corresponding to all candidate screening strategies, a target vehicle set corresponding to the information query instruction is determined.

[0011] According to one embodiment of the present disclosure, based on the target candidate vehicle sets corresponding to all candidate screening strategies, the target vehicle set corresponding to the information query instruction is determined, including: obtaining the logical relationship between multiple target information screening strategies in the information query instruction; based on the logical relationship, performing corresponding logical operations on the target candidate vehicle sets corresponding to the candidate screening strategies to generate target vehicle information.

[0012] According to one embodiment of the present disclosure, vehicle features are matched with a set of target information screening strategies, including: generating index features based on the target information screening strategies; calculating similarity between the index features and vehicle features in a vehicle information library; and in response to the presence of a similarity value greater than a first similarity threshold, determining that a candidate screening strategy corresponding to the similarity and the vehicle features in the vehicle information library are successfully matched.

[0013] According to one embodiment of the present disclosure, it also includes a method for updating a vehicle information database: the vehicle information database obtains vehicle features of candidate vehicles in the business data through a computing engine based on a message queue for transmitting business data; similarity is calculated between the obtained vehicle features and the existing vehicle features in the vehicle information database; and when it is confirmed that the similarity is less than a second similarity threshold, the vehicle features are updated to the vehicle information database.

[0014] According to one embodiment of the present disclosure, vehicle characteristics include attribute information and vehicle tags of candidate vehicles, the attribute information includes vehicle offline attributes and / or vehicle real-time attributes, the vehicle tags include vehicle real-time tags and / or vehicle offline tags, and the vehicle information library obtains the vehicle characteristics of the candidate vehicles in the business data through a computing engine based on a message queue for transmitting business data, including: obtaining signal values ​​and business data in the message queue, and determining the real-time tag of the vehicle through the real-time computing engine flink based on the signal value, business data and preset tag definition; and / or obtaining the real-time attribute information of the business system in the message queue, and determining the vehicle real-time attributes of the vehicle through flink based on the real-time attribute information of the business system; and / or obtaining offline data in the message queue, and determining the vehicle offline attributes and / or vehicle offline tags of the vehicle through the offline computing engine spark based on the offline data; using the acquired vehicle real-time tags and / or vehicle real-time attributes and / or vehicle offline attributes and / or vehicle offline tags as the vehicle characteristics of the candidate vehicle.

[0015] To achieve the above-mentioned purpose, the second aspect embodiment of the present disclosure proposes a vehicle information query device, including: an acquisition module, used to obtain information query instructions, and obtain multiple candidate screening strategies carried in the information query instructions, the candidate screening strategies are atomic judgment conditions; a combination module, used to combine the candidate screening strategies to obtain a target information screening strategy set of a vehicle information library, the vehicle information library contains candidate vehicles and vehicle characteristics of the candidate vehicles; a matching module, used to obtain candidate vehicles in the vehicle information library, whose vehicle characteristics match the target information screening strategy set, and generate a target vehicle set corresponding to the information query instruction.

[0016] To achieve the above-mentioned purpose, the third aspect embodiment of the present disclosure proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement the vehicle information query method as described in the first aspect embodiment of the present disclosure.

[0017] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to implement the vehicle information query method as described in the first aspect embodiment of the present disclosure.

[0018] To achieve the above-mentioned objective, a fifth aspect of the present disclosure proposes a vehicle, comprising the electronic device proposed in the third aspect.

[0019] By parsing the information query instructions, determining multiple candidate screening strategies with atomic judgment conditions, and recombining the multiple candidate screening strategies, generating multiple new query instructions, and determining the target vehicle information in the vehicle information database based on the multiple new query instructions, the information query instructions are split into atomic judgment conditions according to the screening strategies, which can avoid the increase of query costs due to the excessive complexity of the information query instructions, and at the same time can improve the efficiency and robustness of vehicle data query and enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a flow chart of a vehicle information query method according to one embodiment of the present disclosure;

[0021] Figure 2 is a schematic diagram of a query instruction splitting candidate screening strategy according to an embodiment of the present disclosure;

[0022] Figure 3 is a flow chart of another vehicle information query method according to an embodiment of the present disclosure;

[0023] Figure 4 is a flow chart of another vehicle information query method according to an embodiment of the present disclosure;

[0024] Figure 5 is a flow chart of another vehicle information query method according to an embodiment of the present disclosure;

[0025] Figure 6 A block diagram of a vehicle information query device proposed in the present disclosure;

[0026] Figure 7 The present invention provides a block diagram of an electronic device. DETAILED DESCRIPTION

[0027] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0028] Figure 1 A schematic diagram of an exemplary implementation of a vehicle information query method proposed in the present disclosure is shown as follows: Figure 1 As shown, the vehicle information query method includes the following steps:

[0029] S101, obtaining an information query instruction, and obtaining a plurality of candidate screening strategies carried in the information query instruction, wherein the candidate screening strategy is an atomic judgment condition.

[0030] The information query instruction is an instruction for querying a target vehicle based on a vehicle query requirement. The query instruction may be a text instruction or a voice instruction, and no limitation is made here.

[0031] The information query instruction may be input by the user, or may be generated based on user demand information, and no limitation is made here.

[0032] In the disclosed embodiment, a query instruction is generated for an object that needs to perform a query operation. The query instruction may include a variety of information. For example, it may include the type, brand, and type of APP used of the vehicle that needs to be queried, and no limitation is made here.

[0033] It should be noted that the object that needs to perform a query operation can generate a query instruction by text input. Optionally, the operation interface may also include multiple options, and the object that needs to perform a query operation can generate a query instruction by selecting a preset option.

[0034] It should be noted that the candidate screening strategy is the most basic query statement and cannot be further decomposed. It is an atomic judgment condition. The candidate screening strategy in the information query instruction can be one or more, depending on the complexity of the query instruction. Figure 2 As shown, the query condition is "(number of active days in APP in 30 days > 10 OR more than 150 minutes of karaoke per week) AND (vehicle driving status = parked) AND (mobile phone brand in ("AA", "BB"))", then there are 4 candidate screening strategies corresponding to the query condition: "number of active days in APP in 30 days > 10", "more than 150 minutes of karaoke per week", "vehicle driving status = parked" and "mobile phone brand in ("AA", "BB")".

[0035] In the disclosed embodiment, the query instruction can be divided into at least one candidate screening strategy by a natural language algorithm. It should be noted that the natural language algorithm is pre-set and can be changed according to actual design needs, and no limitation is made here.

[0036] Optionally, the candidate screening strategies can also be obtained by inputting a query instruction into the candidate screening strategy construction model. It should be noted that the candidate screening strategy construction model is trained in advance and stored in the storage space of the electronic device to facilitate retrieval and use when needed.

[0037] S102, combining candidate screening strategies to obtain a target information screening strategy set of a vehicle information database, wherein the vehicle information database includes candidate vehicles and vehicle features of the candidate vehicles.

[0038] It should be noted that there are many types of vehicle characteristics, which are data sets describing the information or operating status and operating data of the vehicle. There is no limitation here and the characteristics can be set according to actual needs. For example, the vehicle characteristics may include the vehicle identification code, license plate number, vehicle operation log, vehicle program operation status, etc. of the candidate vehicle.

[0039] The vehicle information database in the embodiment of the present disclosure is established in advance and stored in the storage space of the electronic device to facilitate retrieval and use when needed.

[0040] In the embodiment of the present disclosure, there may be multiple methods for combining candidate screening strategies to obtain a target information screening strategy set for the vehicle information database, which are not limited herein.

[0041] Optionally, random combinations may be performed to generate multiple combination conditions, and then the combination conditions are screened to select effective combination conditions as candidate screening strategies.

[0042] Optionally, the candidate screening strategies may be input into the combined model to generate a target information screening strategy set. It should be noted that the combined model is trained in advance and stored in the storage space of the electronic device to facilitate retrieval and use when needed.

[0043] S103, obtaining candidate vehicles whose vehicle characteristics match the target information screening strategy set in the vehicle information database, and generating a target vehicle set corresponding to the information query instruction.

[0044] In the disclosed embodiment, the vehicle features are compared with the vehicle features in the vehicle information library through the candidate screening strategies, and the vehicle information corresponding to each candidate screening strategy can be determined, and the target vehicle information that needs to be queried is finally determined based on the vehicle information corresponding to each candidate screening strategy.

[0045] Optionally, the vehicle features may correspond to a vehicle information set, and after the vehicle features and the candidate screening strategies are matched, the query results may be determined.

[0046] In the disclosed embodiment, firstly, an information query instruction is obtained, and multiple candidate screening strategies carried in the information query instruction are obtained, the candidate screening strategies are atomic judgment conditions, and then the candidate screening strategies are combined to obtain a target information screening strategy set of a vehicle information library, the vehicle information library contains candidate vehicles and vehicle features of candidate vehicles, and finally, candidate vehicles whose vehicle features match the target information screening strategy set in the vehicle information library are obtained to generate a target vehicle set corresponding to the information query instruction. By splitting the query instruction into at least one candidate screening strategy, and determining the target vehicle information in the vehicle information library based on the candidate screening strategy, it is possible to avoid the query instruction being too complicated and increasing the query cost, and at the same time, the efficiency and robustness of data query can be improved. By parsing the information query instruction, determining multiple candidate screening strategies, and recombining the multiple candidate screening strategies, generating multiple new query instructions, and determining the target vehicle information in the vehicle information library based on the multiple new query instructions, it is possible to avoid the information query instruction being too complicated and increasing the query cost, and at the same time, the efficiency and robustness of vehicle data query can be improved, and the user experience can be improved.

[0047] In the above embodiment, based on the logical relationship, the corresponding logical operation is performed on the target candidate vehicle set corresponding to the target information screening strategy to generate the target vehicle information. Figure 3 Explaining further, the method includes:

[0048] S301, for any target information screening strategy in the target information screening strategy set, matching the target information screening strategy with vehicle features in a vehicle information database, and determining a target candidate vehicle set of the target information screening strategy set based on the successfully matched vehicle features.

[0049] In the embodiment of the present disclosure, the candidate vehicle information set is a set including vehicle features. It should be noted that the vehicle information can be stored in the vehicle information database in the form of a set composed of vehicle features.

[0050] S302: Determine a target vehicle set corresponding to the information query instruction based on the target candidate vehicle sets corresponding to all target information screening strategies.

[0051] In the embodiment of the present disclosure, since the candidate screening strategies are obtained by splitting the query instruction, there may be a logical relationship between the candidate screening strategies. For example, Figure 2 As shown, the logical relationship between "30-day APP active days > 10" and "weekly karaoke for more than 150 minutes" is "or", and the logical relationship between "vehicle driving status = parking" and "mobile phone brand in ("AA", "BB")" is "and".

[0052] Therefore, in the disclosed embodiment, the logical relationship between multiple target information screening strategies in the information acquisition information query instruction can be first obtained, and then based on the logical relationship, the corresponding logical operation is performed on the target candidate vehicle set corresponding to the target information screening strategy to generate the target vehicle information.

[0053] After obtaining the logical relationship between each candidate screening strategy, a logical operation can be performed on the candidate vehicle information set corresponding to the candidate screening strategy based on the logical relationship to obtain the target vehicle information. It should be noted that the logical operations corresponding to different logical relationships may be different, which can be changed according to actual design needs, and no limitation is made here.

[0054] In the disclosed embodiment, first, for any target information screening strategy in the target information screening strategy set, the target information screening strategy is matched with the vehicle features in the vehicle information database, and based on the successfully matched vehicle features, the target candidate vehicle set of the target information screening strategy set is determined, and then based on the target candidate vehicle sets corresponding to all target information screening strategies, the target vehicle set corresponding to the information query instruction is determined. Thus, by disassembling the information query instruction into multiple target information screening strategies, and determining the corresponding target candidate vehicle set based on the target information screening strategy, thereby determining the final target vehicle set, complex instructions can be split into multiple simple instructions for searching, thereby improving the efficiency of the search and the accuracy of the final generated results.

[0055] It should be noted that based on the logical relationship, logical operations are performed on the candidate vehicle information sets corresponding to the candidate screening strategies, which may include the logical relationship between the candidate screening strategies being "and", and performing an intersection operation on the target candidate vehicle sets corresponding to the candidate screening strategies; or the logical relationship between the candidate screening strategies being "or", and performing a union operation on the target candidate vehicle sets corresponding to the candidate screening strategies; or the logical relationship between the candidate screening strategies being "not", and performing a difference operation on the target candidate vehicle sets corresponding to the candidate screening strategies.

[0056] In the above embodiment, it is determined that the candidate screening strategy and the vehicle feature match successfully, and the Figure 4 Explaining further, the method includes:

[0057] S401, generating index features based on the target information screening strategy.

[0058] It should be noted that the target information screening strategy can generate one index feature or multiple index features, which depends on the actual situation and is not limited here.

[0059] For example, taking the target information screening strategy "vehicle driving status = parking" as an example, the generated index features may be "vehicle" AND "driving status" AND "parking".

[0060] In the disclosed embodiment, the query instruction may be input into the index feature generation model to generate the index feature. The index feature generation model is trained in advance and may be changed according to actual design requirements, and no limitation is made here.

[0061] S402, calculating the similarity between the index feature and the vehicle feature in the vehicle information database.

[0062] In the disclosed embodiment, the similarity between the index feature and the vehicle feature in the vehicle information database can be calculated by a similarity algorithm. The natural language algorithm is designed in advance and can be changed according to actual design needs, and no limitation is made here.

[0063] It should be noted that the similarity value is the value of the possibility that the index feature and the vehicle feature in the vehicle information database are the same label. The larger the similarity value, the greater the possibility that the two are the same label.

[0064] S403: In response to a similarity value being greater than a first similarity threshold, determining that the candidate screening strategy matches the vehicle features in the vehicle information database successfully.

[0065] It should be noted that the first similarity threshold is set in advance and can be changed according to actual design needs. The larger the first similarity threshold, the higher the accuracy of the final acquired data.

[0066] In the disclosed embodiment, firstly, an index feature is generated based on a candidate screening strategy, then, based on a natural language algorithm, a similarity calculation is performed between the index feature and the vehicle feature in the vehicle information database to obtain a similarity value, and finally, in response to the existence of a similarity value greater than a first similarity threshold, it is determined that the candidate screening strategy and the vehicle feature in the vehicle information database are successfully matched. By generating an index feature from a candidate screening strategy and setting a first similarity threshold, the accuracy of the data finally obtained can be controlled.

[0067] In the above embodiment, the query instruction is split into at least one candidate screening strategy, and the Figure 5 Explaining further, the method includes:

[0068] S501, split the query instruction into at least one of querying vehicle tags and / or querying attribute information.

[0069] In the disclosed embodiment, the query vehicle tag is used to store enumerable values, for example, the type of vehicle is a private car, a commercial vehicle, a sports vehicle, etc., and the brand of the vehicle is A, B, C, etc. The query attribute information is a non-enumerable value, such as the mileage of the vehicle and the age of the owner. Figure 2As shown, the number of days the APP is active in 30 days and more than 150 minutes of karaoke per week are used to query vehicle tags, and the vehicle driving status and mobile phone brand are used to query attribute information.

[0070] S502: Generate a candidate screening strategy based on the sub-query vehicle tag and / or query attribute information.

[0071] In the disclosed embodiment, the methods for querying vehicle tags and querying attribute information to generate candidate screening strategies may be different. For example, querying vehicle tags may generate candidate screening strategies for retrieval based on logical relationships, which are used to retrieve whether there are tags in the retrieval instruction in the vehicle information library; querying attribute information may generate candidate screening strategies for comparison based on logical relationships, which are used to determine whether the value in the query attribute information is within the range of values ​​stored in the retrieval vehicle information library.

[0072] In the disclosed embodiment, the query instruction is first split into at least one query vehicle tag and / or query attribute information, and then a candidate screening strategy is generated based on the sub-query vehicle tag and / or query attribute information.

[0073] In the disclosed embodiment, a method for updating the vehicle information database is also included.

[0074] The vehicle information database obtains vehicle characteristics of candidate vehicles in the business data through a computing engine based on a message queue for transmitting business data;

[0075] Specifically, the message queue can be understood as a data transmission channel, and more specifically can be understood as being used to receive relevant data from the input end, including business original data. For example, the vehicle end can send corresponding business original data through the message queue, and the user can send business original data through the message queue. The business original data is data including vehicle feature information of candidate vehicles.

[0076] Specifically, the vehicle characteristics include attribute information and vehicle tags of the candidate vehicle, the attribute information includes vehicle offline attributes and / or vehicle real-time attributes, and the vehicle tags include vehicle real-time tags and / or vehicle offline tags. The real-time tags of the vehicles can be determined by acquiring signal values ​​and business data in the message queue, based on the signal values, business data and preset tag definitions, through the real-time computing engine flink; acquiring the real-time attribute information of the business system in the message queue, and determining the real-time attributes of the vehicle through flink based on the real-time attribute information of the business system; and / or acquiring the offline data in the message queue, and determining the vehicle offline attributes and / or vehicle offline tags of the vehicle through the offline computing engine spark based on the offline data.

[0077] Calculating the similarity between the acquired vehicle features and the existing vehicle features in the vehicle information database;

[0078] Specifically, the acquired vehicle offline attributes and / or vehicle real-time attributes and / or vehicle real-time tags and / or vehicle offline tags are used as vehicle feature content, and similarity calculation is performed between the vehicle features and existing vehicle features in the vehicle information database to obtain a similarity result.

[0079] When it is confirmed that the similarity is less than a second similarity threshold, the vehicle feature is updated to the vehicle information database.

[0080] In the disclosed embodiment, the similarity between the vehicle features obtained from the business data and the vehicle features in the vehicle information database can be calculated by a similarity algorithm. The natural language algorithm is designed in advance and can be changed according to actual design needs.

[0081] Specifically, the second similarity threshold is set in advance and can be changed according to actual design needs. When the similarity result is lower than the second similarity threshold, it can be determined that the vehicle characteristics are different from the vehicle characteristics in the vehicle information database, and the vehicle characteristics are updated to the vehicle information database.

[0082] Corresponding to the vehicle information query methods provided in the above-mentioned embodiments, an embodiment of the present disclosure also provides a vehicle information query device. Since the vehicle information query device provided in the embodiment of the present disclosure corresponds to the vehicle information query methods provided in the above-mentioned embodiments, the implementation methods of the above-mentioned vehicle information query methods are also applicable to the vehicle information query device provided in the embodiment of the present disclosure, and will not be described in detail in the following embodiments.

[0083] Figure 6 A schematic diagram of a vehicle information query device proposed in the present disclosure is shown in FIG. Figure 6 As shown, the vehicle information query device 600 includes: an acquisition module 610, a combination module 620, and a matching module 630.

[0084] The acquisition module 610 is used to acquire the information query instruction and acquire multiple candidate screening strategies carried in the information query instruction, where the candidate screening strategies are atomic judgment conditions.

[0085] The combination module 620 is used to combine the candidate screening strategies to obtain a target information screening strategy set of the vehicle information database, where the vehicle information database includes candidate vehicles and vehicle features of the candidate vehicles.

[0086] The matching module 630 is used to obtain candidate vehicles whose vehicle characteristics match the target information screening strategy set in the vehicle information database, and generate a target vehicle set corresponding to the information query instruction.

[0087] According to one embodiment of the present disclosure, the matching module 630 is also used to: match the target information filtering strategy with the vehicle features in the vehicle information library for any target information filtering strategy in the target information filtering strategy set, and determine the target candidate vehicle set of the target information filtering strategy set based on the successfully matched vehicle features; and determine the target vehicle set corresponding to the information query instruction based on the target candidate vehicle sets corresponding to all target information filtering strategies.

[0088] According to one embodiment of the present disclosure, the matching module 630 is also used to: obtain the logical relationship between multiple target information screening strategies in the information query instruction; based on the logical relationship, perform corresponding logical operations on the target candidate vehicle set corresponding to the target information screening strategy to generate target vehicle information.

[0089] According to one embodiment of the present disclosure, the matching module 630 is also used for performing an intersection operation on the target candidate vehicle sets corresponding to the candidate screening strategies when the logical relationship between the candidate screening strategies is AND; or performing a union operation on the target candidate vehicle sets corresponding to the candidate screening strategies when the logical relationship between the candidate screening strategies is OR; or performing a difference operation on the target candidate vehicle sets corresponding to the candidate screening strategies when the logical relationship between the candidate screening strategies is NOT.

[0090] According to one embodiment of the present disclosure, the combination module 620 is also used to: generate index features based on the target information screening strategy; calculate the similarity between the index features and the vehicle features in the vehicle information library; in response to the existence of a similarity value greater than a first similarity threshold, determine that the candidate screening strategy corresponding to the similarity and the vehicle features in the vehicle information library are successfully matched.

[0091] According to one embodiment of the present disclosure, the vehicle information database obtains vehicle features of candidate vehicles in the business data through a computing engine based on a message queue for transmitting business data; performs similarity calculation between the obtained vehicle features and the existing vehicle features in the vehicle information database; and updates the vehicle features to the vehicle information database when it is confirmed that the similarity is less than a second similarity threshold.

[0092] According to one embodiment of the present disclosure, vehicle characteristics include attribute information and vehicle tags of candidate vehicles, the attribute information includes vehicle offline attributes and / or vehicle real-time attributes, the vehicle tags include vehicle real-time tags and / or vehicle offline tags, and the vehicle information library updates candidate vehicles and vehicle characteristics of candidate vehicles based on the message queue, and also includes: obtaining signal values ​​and business data in the message queue, and determining the real-time tag of the vehicle through the real-time computing engine flink based on the signal value, business data and preset tag definition; and / or obtaining the real-time attribute information of the business system in the message queue, and determining the vehicle real-time attributes of the vehicle through flink based on the real-time attribute information of the business system; and / or obtaining offline data in the message queue, and determining the vehicle offline attributes and / or vehicle offline tags of the vehicle through the offline computing engine spark based on the offline data.

[0093] By parsing the information query instructions, determining multiple candidate screening strategies, and recombining the multiple candidate screening strategies to generate multiple new query instructions, and determining the target vehicle information in the vehicle information database based on the multiple new query instructions, it is possible to avoid increasing the query cost due to the information query instructions being too complicated, and at the same time improve the efficiency and robustness of vehicle data queries and enhance the user experience.

[0094] In order to implement the above embodiment, the present disclosure also provides an electronic device 700, such as Figure 7 As shown, the electronic device 700 includes: a processor 701 and a memory 702 communicatively connected to the processor, the memory 702 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 701 to implement a vehicle information query method as in the first aspect of the embodiment of the present disclosure.

[0095] In order to implement the above embodiments, the embodiments of the present disclosure also propose a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to implement a vehicle information query method as in the first aspect of the embodiments of the present disclosure.

[0096] In order to implement the above embodiments, the embodiments of the present disclosure further propose a computer program product, including a computer program, which implements the vehicle information query method as the first embodiment of the present disclosure when executed by a processor.

[0097] In the description of the present disclosure, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present disclosure.

[0098] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0099] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0100] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A vehicle information query method, characterized in that: The method comprises: Obtaining an information query instruction, and obtaining a plurality of candidate screening strategies carried in the information query instruction, wherein the candidate screening strategies are atomic judgment conditions; Combining the candidate screening strategies to obtain a target information screening strategy set of a vehicle information database, wherein the vehicle information database includes candidate vehicles and vehicle features of the candidate vehicles; Obtain candidate vehicles in the vehicle information database whose vehicle characteristics match the target information screening strategy set, and generate a target vehicle set corresponding to the information query instruction.

2. The method according to claim 1, characterized in that: The step of obtaining candidate vehicles in the vehicle information database whose vehicle characteristics match the target information screening strategy set and generating a target vehicle set corresponding to the information query instruction includes: For any target information screening strategy in the target information screening strategy set, matching the target information screening strategy with vehicle features in the vehicle information database, and determining a target candidate vehicle set of the target information screening strategy set based on the successfully matched vehicle features; Based on the target candidate vehicle sets corresponding to all the target information screening strategies, the target vehicle set corresponding to the information query instruction is determined.

3. The method according to claim 2, characterized in that The step of determining the target vehicle set corresponding to the information query instruction based on the target candidate vehicle set corresponding to all the target information screening strategies includes: Acquire the logical relationship between multiple target information screening strategies in the information query instruction; Based on the logical relationship, a corresponding logical operation is performed on the target candidate vehicle set corresponding to the target information screening strategy to generate the target vehicle information.

4. The method according to claim 3, characterized in that The vehicle feature matches the target information screening strategy set, including: Generate index features based on the target information screening strategy; Calculating similarity between the index feature and the vehicle feature in the vehicle information database; In response to a similarity value being greater than a first similarity threshold, it is determined that a candidate screening strategy corresponding to the similarity successfully matches a vehicle feature in the vehicle information database.

5. The method according to any one of claims 1 to 4, characterized in that The method also includes a method for updating the vehicle information database: The vehicle information database obtains vehicle characteristics of candidate vehicles in the business data through a computing engine based on a message queue for transmitting business data; Calculating the similarity between the acquired vehicle features and the existing vehicle features in the vehicle information database; When it is confirmed that the similarity is less than a second similarity threshold, the vehicle feature is updated to the vehicle information database.

6. The method according to claim 5, characterized in that The vehicle characteristics include attribute information and vehicle tags of the candidate vehicles, the attribute information includes vehicle offline attributes and / or vehicle real-time attributes, the vehicle tags include vehicle real-time tags and / or vehicle offline tags, and the vehicle information database obtains the vehicle characteristics of the candidate vehicles in the business data through a computing engine based on a message queue for transmitting business data, including: Obtaining the signal value and the service data in the message queue, and determining the real-time label of the vehicle through the real-time computing engine flink based on the signal value, the service data and the preset label definition; and / or Acquire the business system real-time attribute information in the message queue, and determine the vehicle real-time attribute of the vehicle through the flink based on the business system real-time attribute information; and / or Obtaining offline data in the message queue, and determining the vehicle offline attribute and / or the vehicle offline tag of the vehicle through an offline computing engine spark based on the offline data; The acquired vehicle real-time label and / or vehicle real-time attribute and / or vehicle offline attribute and / or vehicle offline label are used as the vehicle features of the candidate vehicle.

7. A vehicle information query device, characterized in that: The device comprises: An acquisition module, used to acquire an information query instruction and acquire multiple candidate screening strategies carried in the information query instruction, wherein the candidate screening strategies are atomic judgment conditions; A combination module, used for combining the candidate screening strategies to obtain a target information screening strategy set of a vehicle information database, wherein the vehicle information database includes candidate vehicles and vehicle features of the candidate vehicles; The matching module is used to obtain candidate vehicles whose vehicle characteristics match the target information screening strategy set in the vehicle information database, and generate a target vehicle set corresponding to the information query instruction.

8. An electronic device, characterized in that: Including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.

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

Citation Information

Patent Citations

  • Resume information retrieval method and device

    CN110334112A

  • Multi-screening system based on vehicle big data

    CN113360523A