Vehicle rental information query method and device, terminal equipment and medium
Through the method of automatically querying vehicle rental information, we obtain the target vehicle identification, status and GPS equipment information, and identify user rights, solving the problems of high labor costs and query timeliness of the rental company, and achieving efficient and accurate query results.
Patent Information
- Application Number
- CN202411267960.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-13
AI Technical Summary
After leasing a vehicle, rental companies face the need for a large number of customers to query the installation location of GPS equipment, which makes it difficult to guarantee high labor costs and query timeliness.
By obtaining the identification of the target vehicle, automatically querying its status and GPS device information, identifying user permissions, and generating initial query results to ensure the accuracy and efficiency of the query.
It significantly reduces response time, reduces labor costs, improves query efficiency and accuracy, and optimizes query process.
Smart Images

Figure CN119130617A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data query technology, and in particular to a method, device, terminal equipment and medium for querying vehicle rental information. Background Art
[0002] At present, most leasing companies install GPS devices when leasing vehicles in order to monitor the operation of the vehicles. These devices are usually installed in relatively hidden locations to prevent illegal removal during the rental period. However, when the lease contract ends, customers often have the need to remove the GPS devices for privacy reasons. Therefore, they usually contact the customer service department of the leasing company to inquire about the specific installation location of the vehicle GPS. In this case, leasing companies face a common problem: the large number of customer query needs leads to high labor costs, and it is difficult to ensure the timeliness of the query. Therefore, leasing companies are in urgent need of a solution that can quickly query vehicle rental information to improve query efficiency and reduce the consumption of human resources. Summary of the invention
[0003] The main purpose of the embodiments of the present invention is to provide a method, apparatus, terminal device and medium for querying vehicle rental information, aiming to solve the problem in related technologies that a large number of query demands from customers lead to high labor costs and it is difficult to ensure the timeliness of the query.
[0004] In a first aspect, an embodiment of the present invention provides a method for querying vehicle rental information, comprising:
[0005] Obtaining a target identifier corresponding to a target vehicle, and obtaining query information corresponding to the target vehicle according to the target identifier;
[0006] Determine a target state corresponding to the target vehicle according to the query information;
[0007] Query the GPS device information corresponding to the target vehicle according to the target state and the target identifier to obtain the target device information corresponding to the target vehicle;
[0008] Obtaining a target user corresponding to the target vehicle, and determining a target authority corresponding to the target user;
[0009] An initial query result corresponding to the target vehicle is determined according to the target authority and the target device information.
[0010] In a second aspect, an embodiment of the present invention provides a vehicle rental information query device, including:
[0011] An identification query module, used to obtain a target identification corresponding to a target vehicle, and obtain query information corresponding to the target vehicle according to the target identification;
[0012] A state determination module, used to determine a target state corresponding to the target vehicle according to the query information;
[0013] A device query module, used to query the GPS device information corresponding to the target vehicle according to the target state and the target identifier, and obtain the target device information corresponding to the target vehicle;
[0014] The authority obtaining module is used to obtain the target user corresponding to the target vehicle and determine the target authority corresponding to the target user;
[0015] The information query module is used to determine the initial query result corresponding to the target vehicle according to the target authority and the target device information.
[0016] In a third aspect, an embodiment of the present invention further provides a terminal device, comprising a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any vehicle rental information query method provided in the specification of the present invention are implemented.
[0017] In a fourth aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any vehicle rental information query method provided in the specification of the present invention.
[0018] The embodiment of the present invention provides a method, device, terminal device and medium for querying vehicle rental information. The method includes: obtaining a target identifier corresponding to a target vehicle, and retrieving query information of the target vehicle according to the target identifier. Then, the query information determines the target state of the target vehicle. Then, the target state and the target identifier are used to query the GPS device information corresponding to the target vehicle. This automated processing process significantly speeds up the query speed and reduces the response time, thereby obtaining the target device information of the target vehicle. Subsequently, the target user of the target vehicle is identified, and the corresponding target authority of the target vehicle is determined. According to the target authority and the target device information, a preliminary query result of the target vehicle is generated. By verifying the target vehicle, device information and user authority through precise steps, the accuracy and relevance of the query result can be ensured, thereby reducing errors. In this way, the automated query system not only solves the problem of high labor costs caused by a large number of query requirements, but also improves the timeliness of the query, optimizes the query process, and significantly improves the efficiency and accuracy of the overall data query. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1 A schematic diagram of a flow chart of a method for querying vehicle rental information provided by an embodiment of the present invention;
[0021] Figure 2 for Figure 1 A schematic flow chart of sub-step S102 of the method for querying vehicle rental information;
[0022] Figure 3 A schematic diagram of a scenario for implementing the method for querying vehicle rental information provided in this embodiment;
[0023] Figure 4 A schematic diagram of the module structure of a vehicle rental information query device provided by an embodiment of the present invention;
[0024] Figure 5 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0027] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0028] The embodiment of the present invention provides a method, apparatus, terminal device and medium for querying vehicle rental information. The method for querying vehicle rental information can be applied to a terminal device, which can be an electronic device such as a tablet computer, a laptop computer, a desktop computer, a personal digital assistant and a wearable device. The terminal device can be a server or a server cluster.
[0029] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0030] Please refer to Figure 1 , Figure 1 A schematic diagram of a flow chart of a method for querying vehicle rental information provided by an embodiment of the present invention.
[0031] like Figure 1 As shown, the vehicle rental information query method includes steps S101 to S105.
[0032] Step S101: Obtain a target identifier corresponding to a target vehicle, and obtain query information corresponding to the target vehicle according to the target identifier.
[0033] For example, the information related to the rental of the target vehicle is obtained from the rental account system in the form of data records. Each data record contains fields such as contract number, frame number, etc., and the contract number or frame number is used as the target identifier corresponding to the target vehicle.
[0034] Exemplarily, information of the target vehicle is queried in a database according to the target identifier to obtain query information corresponding to the target vehicle.
[0035] For example, the target user enters the contract number or the vehicle frame number in the autonomous query reference to obtain the query information corresponding to the target vehicle.
[0036] Step S102: Determine a target state corresponding to the target vehicle according to the query information.
[0037] Exemplarily, when the query information is that the target vehicle corresponding to the target identifier is not found, the target status corresponding to the target vehicle is determined to be not rented; when the query information is that the target vehicle corresponding to the target identifier is obtained, the target status corresponding to the target vehicle is determined to be rented.
[0038] In one embodiment, the target state corresponding to the target vehicle is determined according to the query information, specifically, referring to Figure 2 , step S102 includes: sub-step S1021 to sub-step S1025.
[0039] Sub-step S1021: When the query information does not include any of the information of "not used" and "not installed", it is determined that the target state corresponding to the target vehicle is a queryable state.
[0040] Exemplarily, when the query information does not include any one of the information that the use status of the target vehicle is that the target vehicle is not in use and that the target vehicle is not installed with a GPS device, it is determined that the target status corresponding to the target vehicle is a queryable status.
[0041] Sub-step S1022: obtaining the rental start time and rental end time corresponding to the target vehicle from the query information.
[0042] Exemplarily, when the target state corresponding to the target vehicle is a queryable state, the rental start time and the rental end time corresponding to the target vehicle are obtained from the query information.
[0043] Sub-step S1023, determining the current time, judging whether the current time is within the rental start time and the rental end time, and when the current time is within the rental start time and the rental end time, determining that the target state corresponding to the target vehicle is an unqueryable state.
[0044] Exemplarily, the current time is determined. If the current time is between the rental start time and the rental end time, the target state corresponding to the target vehicle is determined to be an unqueryable state, that is, the target vehicle is currently in the rental state and the GPS device cannot be removed.
[0045] Sub-step S1024: when the current time is not within the rental start time and the rental end time, determining that the target state corresponding to the target vehicle is the queryable state.
[0046] For example, when the current time is not within the rental start time and the rental end time, it is determined that the target state corresponding to the target vehicle is a queryable state, that is, the rental of the target vehicle has been completed and the GPS device can be removed.
[0047] Sub-step S1025: When the query information contains any one of the information of "not used" and "not installed", it is determined that the target state corresponding to the target vehicle is the unqueryable state.
[0048] Exemplarily, when the query information includes any one of the following information: the target vehicle is not in use and the target vehicle is not equipped with a GPS device, it is determined that the target state corresponding to the target vehicle is an unqueryable state.
[0049] Specifically, by accurately managing and adjusting the target status of the target vehicle in real time, the operation of the query system is optimized, and the accuracy of data processing and the overall efficiency of data query are improved.
[0050] Step S103: query the GPS device information corresponding to the target vehicle according to the target state and the target identifier to obtain the target device information corresponding to the target vehicle.
[0051] For example, when the target status is not leased, it is impossible to query the GPS device information corresponding to the target vehicle according to the target identifier, and thus it is impossible to obtain the target device information corresponding to the target vehicle.
[0052] Exemplarily, when the target status is that the rental has started, the GPS device information corresponding to the target vehicle is queried in the GPS device information query system according to the target identifier, so as to obtain the target device information corresponding to the target vehicle.
[0053] In some embodiments, the GPS device information corresponding to the target vehicle is queried according to the target state and the target identifier to obtain the target device information corresponding to the target vehicle, including: when the target state is the queryable state, determining the target database corresponding to the GPS device information; querying the GPS device information of the target vehicle in the target database according to the target identifier to obtain the target device information corresponding to the target vehicle.
[0054] Exemplarily, when the target state is a queryable state, the target database corresponding to the GPS device information is determined, and the GPS device information of the target vehicle is queried in the target database according to the target identifier to obtain the target device information corresponding to the target vehicle; when the target state is a non-queryable state, there is no need to determine the target database corresponding to the GPS device information, and there is no need to query the GPS device information of the target vehicle in the target database according to the target identifier.
[0055] Specifically, by determining that the target state is a queryable state, and then querying the GPS device information of the target vehicle according to the target identifier, it can be ensured that the query is only performed in a state where the data allows, which reduces invalid queries and improves the accuracy of data processing.
[0056] Step S104: obtaining a target user corresponding to the target vehicle, and determining a target authority corresponding to the target user.
[0057] Exemplarily, the target user corresponding to the target vehicle is obtained, and then the target permissions owned by the target user are determined according to the permission settings in the user record. The target permissions are generally defined as the access rights, operation permissions, function access, etc. of the target user in the system. For example, the target permissions are non-queryable or queryable permissions.
[0058] Step S105: determining an initial query result corresponding to the target vehicle according to the target authority and the target device information.
[0059] Exemplarily, whether the target device information can be directly used as the initial query result corresponding to the target vehicle is adjusted according to the target authority. For example, when the target authority is queryable, the target device information is directly determined as the initial query result corresponding to the target vehicle.
[0060] In some embodiments, determining the initial query result corresponding to the target vehicle based on the target authority and the target device information includes: when the target authority is queryable, obtaining the installation location information and installation picture information corresponding to the target vehicle from the target device information; determining the initial query result corresponding to the target vehicle based on the installation location information and the installation picture information; when the target authority is not queryable, determining the initial query result corresponding to the target vehicle based on preset information.
[0061] Exemplarily, when the target permission is queryable, the installation location information and installation picture information corresponding to the target vehicle are obtained from the target device information, so that the installation location information and installation picture information are determined as the initial query results corresponding to the target vehicle.
[0062] For example, when the target authority is not available for query, the preset information is determined as the initial query result corresponding to the target vehicle. The preset information may be "no access authority" or "you do not have access authority, please go to the counter for query" and the like.
[0063] Specifically, the initial query results can be dynamically adjusted according to different target permissions (queryable or non-queryable). This permission control mechanism ensures that only authorized users can access detailed data, protects the security of sensitive information, and avoids the leakage of sensitive information.
[0064] In some embodiments, after obtaining the installation location information and installation picture information corresponding to the target vehicle, the method further includes: denoising the installation image information to obtain a denoised image corresponding to the installation image information; performing gradient feature extraction on the denoised image to obtain first feature information corresponding to the denoised image; performing information entropy extraction on the denoised image to obtain second feature information corresponding to the denoised image; performing contrast feature extraction on the denoised image to obtain third feature information corresponding to the denoised image; performing feature fusion on the first feature information, the second feature information and the third feature information to obtain target feature information corresponding to the denoised image; performing image classification on the denoised image according to the target feature information to obtain an actual installation location corresponding to the installation image information; determining a target trust level corresponding to the target device information according to the actual installation location and the installation location information; and adjusting the initial query result according to the target trust level to obtain a target query result.
[0065] Exemplarily, the installation image information is denoised using algorithms such as median filtering, mean filtering, and Gaussian filtering to obtain a denoised image corresponding to the installation image information, thereby effectively reducing the noise in the installation image information while retaining important detail information.
[0066] Exemplarily, a gradient operator such as a Sobel operator, a Prewitt operator, etc. is used to calculate the gradient of the denoised image to extract edge information, thereby obtaining the first feature information corresponding to the denoised image.
[0067] Exemplarily, the grayscale histogram of the denoised image is calculated and the information entropy is calculated therefrom. A higher information entropy value indicates that the denoised image contains more information and details, and is usually used to measure the complexity of the denoised image, thereby obtaining the second feature information corresponding to the denoised image.
[0068] Exemplarily, the standard deviation of the grayscale values in the denoised image is calculated or a contrast feature is extracted from the denoised image using a contrast enhancement algorithm to obtain the third feature information corresponding to the denoised image.
[0069] Exemplarily, the target feature information is obtained by fusing the first feature information, the second feature information and the third feature information through weighted averaging, principal component analysis (PCA) and other methods.
[0070] Exemplarily, a machine learning algorithm (such as a support vector machine (SVM), a convolutional neural network (CNN), etc.) is used to train and classify the target feature information to obtain the actual installation position corresponding to the installation image information, thereby determining that the target trust level corresponding to the target device information is high based on the consistency between the actual installation position and the installation position information. Otherwise, the target trust level corresponding to the target device information is low.
[0071] For example, the installation image information is subjected to image classification to obtain the actual installation position corresponding to the installation image information, and the actual installation position is the installation position corresponding to the installation image information identified by image classification according to the installation image information. Thus, the actual installation position and the installation position information obtained by information query are subjected to cosine similarity calculation to determine whether the installation position information in the target device information and the installation image information are consistent, and the cosine similarity calculation result is determined as the corresponding target trust level.
[0072] Exemplarily, if the target trust level is greater than a preset threshold, this generally indicates that the consistency between the installation location information and the installation picture information is high, and the accuracy of the data is guaranteed. In this case, the initial query result can be used as the target query result, because the consistency between the installation location information and the installation picture information has been confirmed, indicating that the data is reliable at all levels. However, when the target trust level is less than or equal to the preset threshold, it indicates that there is a certain degree of inconsistency or potential reliability problem between the installation location information and the installation picture information. In this case, additional measures need to be taken to deal with possible data inconsistency problems: If the target trust level is less than or equal to the preset threshold, this generally indicates that there is a significant difference or inconsistency between the installation location information and the installation picture information, which may cause the accuracy of the data to be questioned, and then corresponding prompt information should be generated to explain the difference between the installation location information and the installation picture information. These prompt information may include error warnings, specific instructions for data inconsistency, or suggestions for further verification. These prompt information are thus considered together with the initial query results to form the final target query result. This method not only allows the retention of valid information in the initial query results, but also provides warnings about data inconsistencies, helping users to understand the situation more comprehensively and take appropriate further measures.
[0073] Specifically, through the above steps, the query result can be directly determined when the data consistency is high, and when the data consistency is low, the potential problem is indicated by prompt information, thereby providing a more accurate and reliable target query result. This processing method ensures the flexibility of the target query result and the comprehensiveness of data processing, while improving the user's trust in the system results.
[0074] In some embodiments, the image classification of the denoised image according to the target feature information to obtain the actual installation position corresponding to the installation image information includes: obtaining a sample image corresponding to the classification type, calculating the similarity between the sample image and the denoised image, and obtaining similar features corresponding to the denoised image; performing feature enhancement on the denoised image according to the similar features to obtain an enhanced image; performing image classification on the enhanced image to obtain a corresponding first target type, and determining a second target type corresponding to the installation image information according to the first target type; and determining the actual installation position corresponding to the target vehicle according to the second target type.
[0075] Exemplarily, a sample image corresponding to the classification type is obtained, and the similarity between the sample image and the denoised image is calculated. When the similarity is greater than a preset value, similar features corresponding to the denoised image are obtained from the sample image, and then the similar features are added to the denoised image for feature enhancement to obtain an enhanced image; thereby, image classification is performed on the enhanced image to obtain a first target type corresponding to the enhanced image; when the sample image contains multiple images, all corresponding images with a similarity greater than a preset value are obtained, and then similar features corresponding to each image are respectively added to the denoised image for feature enhancement to obtain multiple enhanced images, thereby obtaining a first target type corresponding to each enhanced image, and then the first target types are counted, so as to determine the target type corresponding to the largest number as the second target type corresponding to the installation image information; finally, the actual installation position corresponding to the target vehicle is determined according to the second target type.
[0076] Specifically, image enhancement of denoised images through sample images can more accurately identify image categories. Even if the original installation image has noise or quality problems, the classification results can be improved through feature enhancement and information integration of sample images. This not only improves the quality of image processing, but also helps to improve the accuracy of actual installation location recognition.
[0077] In some embodiments, after obtaining the initial query result, the method further includes: determining a communication method, and sending the initial query result to an associated device corresponding to the target user according to the communication method, so that the target user obtains the initial query result corresponding to the target vehicle according to the associated device.
[0078] For example, according to the preferences and needs of the target user, an appropriate communication method is selected. This can include various forms, such as SMS, email, mobile app push notification, social media message, etc. If the target user uses a smartphone, push notification or SMS may be a suitable choice; if the target user uses a computer, email may be more suitable.
[0079] Exemplarily, the associated device related to the target user is identified, and then the sorted initial query result information is sent to the associated device corresponding to the target user through the selected method according to the determined communication method. For example, if email is selected, it can be sent through an email service; if push notification is selected, the initial query result can be sent through a corresponding notification service.
[0080] Specifically, the initial query result is sent to the associated device of the target user, ensuring that the target user can obtain the required information in a timely and accurate manner. Such an operation not only enhances the user experience, but also improves the efficiency of information transmission.
[0081] Please refer to Figure 3 , Figure 3 A schematic diagram of a scenario for implementing the method for querying vehicle rental information provided in this embodiment, such as Figure 3As shown, a target identifier corresponding to the target vehicle is obtained, and query information corresponding to the target vehicle is obtained according to the target identifier; when the query information contains any of the information of "not in use" and "not installed", the target state corresponding to the target vehicle is determined to be an unqueryable state; when the query information does not contain any of the information of "not in use" and "not installed", the rental start time and the rental end time corresponding to the target vehicle are obtained from the query information; the current time is determined to determine whether the current time is within the rental start time and the rental end time. When the current time is within the rental start time and the rental end time, the target state corresponding to the target vehicle is determined to be an unqueryable state; when the current time is not within the rental start time and the rental end time, the target state corresponding to the target vehicle is determined to be an queriable state; and then when the target state is an queriable state, the target database corresponding to the GPS device information is determined; the GPS device information of the target vehicle is queried in the target database according to the target identifier to obtain the target device information corresponding to the target vehicle, and then the target user corresponding to the target vehicle is obtained to confirm. Determine the target authority corresponding to the target user; when the target authority is queryable, obtain the installation location information and installation image information corresponding to the target vehicle from the target device information; determine the initial query result corresponding to the target vehicle according to the installation location information and installation image information; perform denoising on the installation image information to obtain the denoised image corresponding to the installation image information; perform gradient feature extraction on the denoised image to obtain the first feature information corresponding to the denoised image; perform information entropy extraction on the denoised image to obtain the second feature information corresponding to the denoised image; perform contrast feature extraction on the denoised image to obtain the third feature information corresponding to the denoised image; perform feature fusion on the first feature information, the second feature information and the third feature information to obtain the target feature information corresponding to the denoised image; perform image classification on the denoised image according to the target feature information to obtain the actual installation location corresponding to the installation image information; determine the target trust level corresponding to the target device information according to the actual installation location and the installation location information; adjust the initial query result according to the target trust level to obtain the target query result. When the target authority is not queryable, determine the initial query result corresponding to the target vehicle according to the preset information, so that the target vehicle, device information and user authority are verified through precise steps, which can ensure the accuracy and relevance of the query results and reduce errors. In this way, the automated query system not only solves the problem of high labor costs caused by a large number of query demands, but also improves the timeliness of queries, optimizes the query process, and significantly improves the efficiency and accuracy of overall data queries.
[0082] See also Figure 4 , Figure 4A vehicle rental information query device 200 provided in an embodiment of the present application includes an identification query module 201, a state determination module 202, a device query module 203, an authority acquisition module 204, and an information query module 205, wherein the identification query module 201 is used to obtain a target identification corresponding to a target vehicle, and obtain query information corresponding to the target vehicle according to the target identification; the state determination module 202 is used to determine a target state corresponding to the target vehicle according to the query information; the device query module 203 is used to query the GPS device information corresponding to the target vehicle according to the target state and the target identification, and obtain the target device information corresponding to the target vehicle; the authority acquisition module 204 is used to obtain a target user corresponding to the target vehicle and determine the target authority corresponding to the target user; the information query module 205 is used to determine an initial query result corresponding to the target vehicle according to the target authority and the target device information.
[0083] In some implementations, the state determination module 202, in the process of determining the target state corresponding to the target vehicle according to the query information, executes:
[0084] When the query information does not include any of the information of "not used" and "not installed", it is determined that the target state corresponding to the target vehicle is a queryable state;
[0085] Obtaining the rental start time and rental end time corresponding to the target vehicle from the query information;
[0086] Determine the current time, and judge whether the current time is within the rental start time and the rental end time. When the current time is within the rental start time and the rental end time, determine that the target state corresponding to the target vehicle is an unqueryable state;
[0087] When the current time is not within the rental start time and the rental end time, determining that the target state corresponding to the target vehicle is the queryable state;
[0088] When the query information includes any one of the information of not in use and not installed, it is determined that the target state corresponding to the target vehicle is the non-queryable state.
[0089] In some implementations, the device query module 203 performs, during the process of querying the GPS device information corresponding to the target vehicle according to the target state and the target identifier to obtain the target device information corresponding to the target vehicle:
[0090] When the target state is the queryable state, determining the target database corresponding to the GPS device information;
[0091] The GPS device information of the target vehicle is queried in the target database according to the target identifier to obtain the target device information corresponding to the target vehicle.
[0092] In some implementations, during the process of determining the initial query result corresponding to the target vehicle according to the target authority and the target device information, the information query module 205 executes:
[0093] When the target permission is queryable, the installation location information and installation picture information corresponding to the target vehicle are obtained from the target device information;
[0094] Determine the initial query result corresponding to the target vehicle according to the installation location information and the installation picture information;
[0095] When the target authority is not queryable, the initial query result corresponding to the target vehicle is determined according to preset information.
[0096] In some implementations, after obtaining the installation location information and installation picture information corresponding to the target vehicle, the information query module 205 further executes:
[0097] Performing denoising processing on the installation image information to obtain a denoised image corresponding to the installation image information;
[0098] Performing gradient feature extraction on the denoised image to obtain first feature information corresponding to the denoised image;
[0099] Performing information entropy extraction on the denoised image to obtain second feature information corresponding to the denoised image;
[0100] Performing contrast feature extraction on the denoised image to obtain third feature information corresponding to the denoised image;
[0101] Performing feature fusion on the first feature information, the second feature information and the third feature information to obtain target feature information corresponding to the denoised image;
[0102] Performing image classification on the denoised image according to the target feature information to obtain an actual installation position corresponding to the installation image information;
[0103] Determining a target trust level corresponding to the target device information according to the actual installation location and the installation location information;
[0104] The initial query result is adjusted according to the target trust level to obtain a target query result.
[0105] In some implementations, the information query module 205, in the process of classifying the denoised image according to the target feature information to obtain the actual installation position corresponding to the installation image information, executes:
[0106] Obtaining a sample image corresponding to the classification type, calculating the similarity between the sample image and the denoised image, and obtaining similar features corresponding to the denoised image;
[0107] Performing feature enhancement on the denoised image according to the similar features to obtain an enhanced image;
[0108] Performing image classification on the enhanced image to obtain a corresponding first target type, and determining a second target type corresponding to the installation image information according to the first target type;
[0109] The actual installation position corresponding to the target vehicle is determined according to the second target type.
[0110] In some implementations, after obtaining the initial query result, the information query module 205 further executes:
[0111] A communication method is determined, and the initial query result is sent to an associated device corresponding to the target user according to the communication method, so that the target user obtains the initial query result corresponding to the target vehicle according to the associated device.
[0112] In some implementations, the vehicle rental information query device 200 may be applied to a terminal device.
[0113] It should be noted that those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the vehicle rental information query device 200 described above can refer to the corresponding process in the aforementioned vehicle rental information query method embodiment, and will not be repeated here.
[0114] See also Figure 5 , Figure 5 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present invention.
[0115] like Figure 5 As shown, the terminal device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected via a bus 303, such as an I2C (Inter-integrated Circuit) bus.
[0116] Specifically, the processor 301 is used to provide computing and control capabilities to support the operation of the entire terminal device. The processor 301 can be a central processing unit (CPU), and the processor 301 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0117] Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.
[0118] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a partial structure related to the embodiment of the present invention, and does not constitute a limitation on the terminal device to which the embodiment of the present invention is applied. The specific server may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0119] The processor is used to run a computer program stored in the memory, and implement any one of the vehicle rental information query methods provided by the embodiments of the present invention when executing the computer program.
[0120] In one embodiment, the processor is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:
[0121] Obtaining a target identifier corresponding to a target vehicle, and obtaining query information corresponding to the target vehicle according to the target identifier;
[0122] Determine a target state corresponding to the target vehicle according to the query information;
[0123] Query the GPS device information corresponding to the target vehicle according to the target state and the target identifier to obtain the target device information corresponding to the target vehicle;
[0124] Obtaining a target user corresponding to the target vehicle, and determining a target authority corresponding to the target user;
[0125] An initial query result corresponding to the target vehicle is determined according to the target authority and the target device information.
[0126] In some implementations, during the process of determining the target state corresponding to the target vehicle according to the query information, the processor 301 executes:
[0127] When the query information does not include any of the information of "not used" and "not installed", it is determined that the target state corresponding to the target vehicle is a queryable state;
[0128] Obtaining the rental start time and rental end time corresponding to the target vehicle from the query information;
[0129] Determine the current time, and judge whether the current time is within the rental start time and the rental end time. When the current time is within the rental start time and the rental end time, determine that the target state corresponding to the target vehicle is an unqueryable state;
[0130] When the current time is not within the rental start time and the rental end time, determining that the target state corresponding to the target vehicle is the queryable state;
[0131] When the query information includes any one of the information of not in use and not installed, it is determined that the target state corresponding to the target vehicle is the non-queryable state.
[0132] In some implementations, the processor 301, in the process of querying the GPS device information corresponding to the target vehicle according to the target state and the target identifier to obtain the target device information corresponding to the target vehicle, executes:
[0133] When the target state is the queryable state, determining the target database corresponding to the GPS device information;
[0134] The GPS device information of the target vehicle is queried in the target database according to the target identifier to obtain the target device information corresponding to the target vehicle.
[0135] In some implementations, during the process of determining the initial query result corresponding to the target vehicle according to the target authority and the target device information, the processor 301 executes:
[0136] When the target permission is queryable, the installation location information and installation picture information corresponding to the target vehicle are obtained from the target device information;
[0137] Determine the initial query result corresponding to the target vehicle according to the installation location information and the installation picture information;
[0138] When the target authority is not queryable, the initial query result corresponding to the target vehicle is determined according to preset information.
[0139] In some implementations, after obtaining the installation location information and installation picture information corresponding to the target vehicle, the processor 301 further executes:
[0140] Performing denoising processing on the installation image information to obtain a denoised image corresponding to the installation image information;
[0141] Performing gradient feature extraction on the denoised image to obtain first feature information corresponding to the denoised image;
[0142] Performing information entropy extraction on the denoised image to obtain second feature information corresponding to the denoised image;
[0143] Performing contrast feature extraction on the denoised image to obtain third feature information corresponding to the denoised image;
[0144] Performing feature fusion on the first feature information, the second feature information and the third feature information to obtain target feature information corresponding to the denoised image;
[0145] Performing image classification on the denoised image according to the target feature information to obtain an actual installation position corresponding to the installation image information;
[0146] Determining a target trust level corresponding to the target device information according to the actual installation location and the installation location information;
[0147] The initial query result is adjusted according to the target trust level to obtain a target query result.
[0148] In some implementations, the processor 301, in the process of classifying the denoised image according to the target feature information to obtain the actual installation position corresponding to the installation image information, executes:
[0149] Obtaining a sample image corresponding to the classification type, calculating the similarity between the sample image and the denoised image, and obtaining similar features corresponding to the denoised image;
[0150] Performing feature enhancement on the denoised image according to the similar features to obtain an enhanced image;
[0151] Performing image classification on the enhanced image to obtain a corresponding first target type, and determining a second target type corresponding to the installation image information according to the first target type;
[0152] The actual installation position corresponding to the target vehicle is determined according to the second target type.
[0153] In some implementations, after obtaining the initial query result, the processor 301 further executes:
[0154] A communication method is determined, and the initial query result is sent to an associated device corresponding to the target user according to the communication method, so that the target user obtains the initial query result corresponding to the target vehicle according to the associated device.
[0155] It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the terminal device described above can refer to the corresponding process in the aforementioned vehicle rental information query method embodiment, and will not be repeated here.
[0156] An embodiment of the present invention further provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any vehicle rental information query method provided in the description of the embodiment of the present invention.
[0157] The storage medium may be an internal storage unit of the terminal device described in the foregoing embodiment, such as a hard disk or memory of the terminal device. The storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc., equipped on the terminal device.
[0158] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0159] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0160] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for querying vehicle rental information, characterized in that: The method comprises: Obtaining a target identifier corresponding to a target vehicle, and obtaining query information corresponding to the target vehicle according to the target identifier; Determine a target state corresponding to the target vehicle according to the query information; Query the GPS device information corresponding to the target vehicle according to the target state and the target identifier to obtain the target device information corresponding to the target vehicle; Obtaining a target user corresponding to the target vehicle, and determining a target authority corresponding to the target user; An initial query result corresponding to the target vehicle is determined according to the target authority and the target device information.
2. The method according to claim 1, characterized in that Determining the target state corresponding to the target vehicle according to the query information includes: When the query information does not include any of the information of "not used" and "not installed", it is determined that the target state corresponding to the target vehicle is a queryable state; Obtaining the rental start time and rental end time corresponding to the target vehicle from the query information; Determine the current time, and judge whether the current time is within the rental start time and the rental end time. When the current time is within the rental start time and the rental end time, determine that the target state corresponding to the target vehicle is an unqueryable state; When the current time is not within the rental start time and the rental end time, determining that the target state corresponding to the target vehicle is the queryable state; When the query information includes any one of the information of not in use and not installed, it is determined that the target state corresponding to the target vehicle is the non-queryable state.
3. The method according to claim 2, characterized in that The querying of the GPS device information corresponding to the target vehicle according to the target state and the target identifier to obtain the target device information corresponding to the target vehicle includes: When the target state is the queryable state, determining the target database corresponding to the GPS device information; The GPS device information of the target vehicle is queried in the target database according to the target identifier to obtain the target device information corresponding to the target vehicle.
4. The method according to claim 1, characterized in that: The determining the initial query result corresponding to the target vehicle according to the target authority and the target device information includes: When the target permission is queryable, the installation location information and installation picture information corresponding to the target vehicle are obtained from the target device information; Determine the initial query result corresponding to the target vehicle according to the installation location information and the installation picture information; When the target authority is not queryable, the initial query result corresponding to the target vehicle is determined according to preset information.
5. The method according to claim 4, characterized in that After obtaining the installation location information and installation picture information corresponding to the target vehicle, the method further includes: Performing denoising processing on the installation image information to obtain a denoised image corresponding to the installation image information; Performing gradient feature extraction on the denoised image to obtain first feature information corresponding to the denoised image; Performing information entropy extraction on the denoised image to obtain second feature information corresponding to the denoised image; Performing contrast feature extraction on the denoised image to obtain third feature information corresponding to the denoised image; Performing feature fusion on the first feature information, the second feature information and the third feature information to obtain target feature information corresponding to the denoised image; Performing image classification on the denoised image according to the target feature information to obtain an actual installation position corresponding to the installation image information; Determining a target trust level corresponding to the target device information according to the actual installation location and the installation location information; The initial query result is adjusted according to the target trust level to obtain a target query result.
6. The method according to claim 5, characterized in that The performing image classification on the denoised image according to the target feature information to obtain the actual installation position corresponding to the installation image information includes: Obtaining a sample image corresponding to the classification type, calculating the similarity between the sample image and the denoised image, and obtaining similar features corresponding to the denoised image; Performing feature enhancement on the denoised image according to the similar features to obtain an enhanced image; Performing image classification on the enhanced image to obtain a corresponding first target type, and determining a second target type corresponding to the installation image information according to the first target type; The actual installation position corresponding to the target vehicle is determined according to the second target type.
7. The method according to any one of claims 1 to 6, characterized in that After obtaining the initial query result, the method further includes: A communication method is determined, and the initial query result is sent to an associated device corresponding to the target user according to the communication method, so that the target user obtains the initial query result corresponding to the target vehicle according to the associated device.
8. A vehicle rental information query device, characterized in that: include: An identification query module, used to obtain a target identification corresponding to a target vehicle, and obtain query information corresponding to the target vehicle according to the target identification; A state determination module, used to determine a target state corresponding to the target vehicle according to the query information; A device query module, used to query the GPS device information corresponding to the target vehicle according to the target state and the target identifier, and obtain the target device information corresponding to the target vehicle; The authority obtaining module is used to obtain the target user corresponding to the target vehicle and determine the target authority corresponding to the target user; The information query module is used to determine the initial query result corresponding to the target vehicle according to the target authority and the target device information.
9. A terminal device, characterized in that: The terminal device includes a processor and a memory; The memory is used to store computer programs; The processor is used to execute the computer program and implement the vehicle rental information query method according to any one of claims 1 to 7 when executing the computer program.
10. A computer storage medium for computer storage, characterized in that: The computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the vehicle rental information query method according to any one of claims 1 to 7.
