Vehicle association-based coupon service matching method and device, and medium
By obtaining verification information of vehicles entering the station and blockchain network authentication, combined with the APP server, the multi-dimensional restriction problem of card coupons for battery swap stations is solved, personalized matching and secure binding of card coupons are achieved, and user experience and card coupon utilization are improved.
Patent Information
- Application Number
- CN202410860714.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-12-29
- Filing Date
- 2024-06-28
- Publication Date
- 2025-07-08
AI Technical Summary
The use of card coupons in existing battery swap stations has multiple dimensions of users, sites and vehicles, which makes it difficult to make full use of card coupons. Users cannot accurately judge the availability of card coupons before consumption, reducing the battery swap experience and promoting consumption effects.
By obtaining the entry verification information of the vehicle entering the station, combining the blockchain network and APP server, we determine the user accounts and card coupons associated with the vehicle, match and integrate the conditions for card coupon use, and provide personalized preferential services to ensure the effectiveness and security of card coupons.
It improves the accuracy and efficiency of card coupon use, enhances user satisfaction and battery swap experience, stimulates users' continued consumption intentions, and reduces card coupon waste and operation steps.
Smart Images

Figure CN120279626A_ABST
Abstract
Description
[0001] This application claims priority based on the invention patent application submitted to the China Patent Office on December 29, 2023, with application number 202311867277.X and invention name "A card and ticket service matching method, device and medium based on vehicle association". This application cites the full text of the above-mentioned Chinese patent application. Technical Field
[0002] The present specification relates to the field of battery replacement technology, and in particular to a card and voucher service matching method, device and medium based on vehicle association. Background Art
[0003] A battery swap station is a facility used to provide battery replacement and charging services for electric vehicles, electric bicycles or other electric vehicles. A battery swap station is generally composed of charging equipment, battery storage equipment, battery management system and related software. With the continuous improvement of charging technology and battery swap technology, the battery swap station business is also constantly innovating. With the development of the Internet, offline battery swap services are often difficult to directly reach specific users. Therefore, in order to stimulate the operation of battery swap services in battery swap stations, the marketing and experience services of battery swap station businesses are mainly handled through online means, among which online coupon activities are one of the most common ways to promote users to consume battery swaps.
[0004] However, the current restrictions on the use of cards and coupons at battery swap stations exist in multiple dimensions including users, stations and vehicles. Due to the diverse operating entities of battery swap stations, there are multiple coexisting entities. Therefore, when multiple operating entities appear, the number of cards and coupons at battery swap stations belonging to different operating entities may be large. It is easy to make misjudgments based on the user's selection method, and it is difficult to accurately grasp the interaction of each card and coupon, which can easily lead to the problem that the card and coupon are difficult to fully utilize and thus promote low consumption effects. At present, the multi-dimensional information of the card and coupon of the battery swap station is not associated and integrated before settlement. Therefore, after the user receives the coupon, that is, the card and coupon, he needs to arrive at the battery swap station and wait for the consumption to be successful before he can see whether the coupon in the account can be used. This leads to the situation that before consumption, the user may select a coupon and think it can be used, but at the final settlement, because the settlement vehicle and site identified by the current battery swap station do not match the restricted use range of the card and coupon, the card and coupon cannot be used, which reduces the user's battery swap experience and may even cause complaints. Summary of the invention
[0005] In order to solve the above technical problems, one or more embodiments of this specification provide a card and ticket service matching method, device and medium based on vehicle association.
[0006] One or more embodiments of this specification adopt the following technical solutions:
[0007] On the one hand, an embodiment of this specification provides a method for matching coupon services based on vehicle association. The method includes: obtaining the inbound verification information corresponding to the inbound vehicle, where the inbound verification information includes the vehicle information of the inbound vehicle and the substation terminal information of the substation where the inbound vehicle is located; determining the user account associated with the inbound vehicle based on the inbound verification information, and obtaining the first coupons under the user account; matching the usage conditions of the first coupons with the inbound verification information to determine the second coupons available for the inbound vehicle's current battery replacement consumption from the first coupons.
[0008] This specification facilitates pre-consumption prediction for users and avoids the problem of a large difference between the actual consumption amount and the expected amount by obtaining the inbound verification information corresponding to the inbound vehicle, that is, the vehicle information of the inbound vehicle and the substation terminal information of the substation where the inbound vehicle is located. And by determining the corresponding inbound verification information based on the vehicle information and the substation terminal information, it facilitates the association between the user and the site, avoids the problem that it is easy to ignore usage restrictions when considering from a single angle, and also avoids the problem of easy matching errors when judging from each angle one by one. Based on finding the associated user account, after associating the inbound vehicle and the substation, the obtained associated user account helps to fully judge and integrate the usage conditions of the first coupons based on these three dimensions: the inbound vehicle, the substation, and the user account. After matching the usage conditions of the first coupons with the inbound verification information, the second coupons available for the inbound vehicle's current battery replacement consumption are obtained, providing personalized preferential services for users and increasing user satisfaction, which helps to stimulate users' next consumption.
[0009] In a feasible embodiment, the method further includes: obtaining the license plate information of the inbound vehicle according to the license plate image of the inbound vehicle, and obtaining the recognized vehicle information corresponding to the license plate information; querying the target vehicle feature information corresponding to the inbound vehicle based on the recognized vehicle information, and obtaining the vehicle appearance image of the inbound vehicle; extracting features from the vehicle appearance image to obtain the actual vehicle feature information corresponding to the target vehicle feature information in the vehicle appearance image; comparing the target vehicle feature information with the actual vehicle feature information to determine whether the recognized vehicle information is the original vehicle information of the inbound vehicle; if not, determining that all the coupons under the user account associated with the inbound vehicle are coupons unavailable for the inbound vehicle's current battery replacement consumption.
[0010] Through license plate images and recognized vehicle information, and by combining the feature extraction of vehicle appearance images, this specification realizes the comparison between the target vehicle feature information corresponding to the recognized vehicle information and the actual vehicle feature information, can more accurately determine the original vehicle information of the inbound vehicle, realizes the further authentication of the vehicle identity, avoids the problem of the vouchers of the original license plate user being stolen due to factors such as license plate fraud, and improves the accuracy and consistency of the vehicle recognition result. It also avoids the improper use of vehicle vouchers caused by recognition errors and the resulting disputes and problems, and improves the user's battery swapping experience.
[0011] In a feasible implementation manner, before obtaining the inbound verification information corresponding to the inbound vehicle, the method further includes: determining the blockchain network corresponding to the battery swapping station where the inbound vehicle is located, and determining the basic vehicle information corresponding to the inbound vehicle based on the vehicle information; uploading the basic vehicle information to the blockchain network to determine whether there is a digital certificate corresponding to the vehicle information based on the blockchain network; if there is a digital certificate corresponding to the vehicle information, determining that the vehicle information passes the verification, and binding the vehicle information with the battery swapping station terminal information; preferably, if there is no digital certificate corresponding to the vehicle information, obtaining the consensus nodes corresponding to the consensus mechanism in the blockchain network; authenticating the vehicle information based on the consensus nodes, and obtaining the digital certificate corresponding to the vehicle information if the authentication passes.
[0012] This specification helps to ensure the authenticity and integrity of vehicle information by leveraging the tamper-proof and highly secure characteristics of the blockchain network. Through the authentication mechanism of the blockchain network, a digital certificate can be generated for the vehicle information, providing a safe and reliable basis for subsequent voucher settlement services. By binding the vehicle information that has passed the verification with the information of the battery swapping station terminal, the association relationship between the vehicle and the battery swapping station is established, improving the security of data binding. And through security verification based on the blockchain network, the problem of data concentration caused by local memory processing can be reduced, and the efficiency of data verification can be improved.
[0013] In a feasible implementation manner, to obtain the inbound verification information corresponding to the inbound vehicle, the specific method further includes: connecting the vehicle information and the battery swapping station terminal information based on a preset connector to realize the associated binding of the vehicle information and the battery swapping station terminal information, and obtaining the initial inbound verification information; determining the operating entity corresponding to the battery swapping station terminal based on the battery swapping station terminal information, and determining the decryption strategy for the initial inbound verification information based on the operating entity; encrypting the initial inbound verification information based on the decryption strategy and the private key of the battery swapping station terminal to obtain the inbound verification information.
[0014] This specification determines the decryption strategy based on the operating entity, restricts the authorization scope of the initial inbound verification information, facilitates the decryption of the initial inbound verification information by individuals within the authorized scope, ensures the information security within the same operating entity, thus reducing possible errors in manually determining the authorization scope and avoiding the problem of unauthorized individuals or malicious attackers stealing or tampering with information. Through effective inbound verification, the battery swapping station can better manage and control the inbound vehicles and provide more accurate and high-quality services. At the same time, the binding and encryption protection of vehicle information can also increase users' trust in the services.
[0015] In a feasible implementation manner, determining the user account associated with the inbound vehicle based on the inbound verification information specifically includes: sending the inbound verification information to the APP server corresponding to the battery swapping station terminal through the API interface of the APP server; decrypting the inbound verification information with the public key of the battery swapping station terminal corresponding to the APP server to obtain the initial inbound verification information; verifying the legality of the initial inbound verification information according to the preset inbound verification information format; if it is legal, calling the user account associated with the vehicle information in the built-in cache information of the APP server based on the vehicle information in the initial inbound verification information.
[0016] By decrypting the inbound verification information and further performing format verification after obtaining the initial inbound verification information, this specification can ensure the legality and integrity of the inbound verification information, improve the accuracy and credibility of the data. Based on finding the associated user account, after associating the inbound vehicle and the battery swapping station, the associated user account is obtained, which helps to fully judge and integrate the coupon usage conditions based on the three dimensions of the inbound vehicle, the battery swapping station, and the user account, and solve the low-efficiency problem in the prior art that users need to wait until after consumption to know the result because the above-mentioned usage objects are not associated before settlement.
[0017] In a feasible implementation manner, the usage conditions of the first coupon are matched with the inbound verification information to determine a second coupon available for the inbound vehicle's current battery replacement consumption from the first coupons, specifically including: filtering the first coupons based on the current time and the expiration time of each of the first coupons to obtain consumable coupons; obtaining the usage conditions of each of the consumable coupons, where the usage conditions include at least one of the usage object, service scope, usage location, and minimum consumption amount; obtaining the intersection of the usage conditions of the consumable coupons, and if it is determined that the inbound verification information matches the intersection of the usage conditions, determining the consumable coupon as a candidate available coupon; determining the second coupon available for the inbound vehicle's current battery replacement consumption based on the candidate available coupon; preferably, determining the second coupon available for the inbound vehicle's current battery replacement consumption based on the candidate available coupon includes: determining the intended consumption information of the inbound vehicle based on the historical consumption records corresponding to the vehicle information; comparing the intended consumption information with the usage conditions of the candidate available coupon to filter the candidate available coupon to obtain the second coupon available for the current battery replacement consumption.
[0018] This specification filters according to the current time and the expiration time of the first coupon to obtain consumable coupons, which can ensure that users can use the coupons they already have more effectively, avoid coupon waste caused by time limits or other conditional restrictions, help provide users with effective coupons, and enhance the enthusiasm of users to participate and consume. Determine the intersection of the usage conditions of the consumable coupons. If it is determined that the inbound verification information meets the intersection of the usage conditions, then the consumable coupon can be determined as a candidate available coupon. After obtaining the usage conditions of the consumable coupons, perform an intersection match with the inbound verification information, which can screen out the second coupon that is truly applicable to the user's current consumption scenario, and help provide more personalized and demand-based consumption coupon recommendations. Determine the intended consumption information of the inbound vehicle according to the historical consumption records of the inbound vehicle, and compare it with the usage conditions of the candidate available coupon. In this way, the candidate available coupon can be further filtered to screen out the second coupon that matches the user's intended consumption. And by accurately matching and personalized screening of the second coupon, the system can provide more attractive and targeted offers according to the consumption behaviors and preferences of different users, which is beneficial to improving the marketing effect and also conducive to promoting the user's continuous consumption intention.
[0019] In a feasible implementation manner, after matching the usage conditions of the first coupon with the inbound verification information, the method further includes: if it is determined that the number of available coupons is zero, determining a third coupon corresponding to the inbound vehicle based on the expiration times and usage objects of the various coupons on the user account; determining the intended power swap available coupon for the inbound vehicle based on the matching degree between the usage conditions of the third coupon and the intended consumption information; and determining whether to push the intended power swap available coupon to the inbound vehicle based on the distance between the available power swap stations corresponding to the intended power swap available coupon and the power swap station.
[0020] When this specification determines that the number of available coupons is zero, it determines the available power swap stations corresponding to the intended power swap available coupon, and then determines whether to push the intended power swap available coupon to the inbound vehicle based on the distance between the available power swap stations and the power swap station. This realizes meeting the user's needs, improves the utilization rate of the coupons, and thus promotes the promotion of the preferential activities of the power swap station. Moreover, determining whether to push the power swap coupon based on the distance between the power swap station and the power swap station helps to fully consider the actual distance cost while ensuring the utilization rate of the coupon, so that the push result not only meets the user's personalized needs but also meets the actual communication cost limit.
[0021] In a feasible implementation manner, after matching the usage conditions of the first coupon with the inbound verification information to determine a second coupon available for the inbound vehicle's current power swap consumption from the first coupon, the method further includes: obtaining the usage conditions of each of the second coupons to determine whether there are conflicting second coupons among the second coupons based on the usage conditions; if there are, determining the conflict priority of the conflicting second coupon and the condition priority corresponding to the usage conditions of the conflicting second coupon, and combining the conflict priority and the condition priority to determine the push order of the conflicting second coupon; if not, determining the push order of the conflicting second coupon according to the condition priority corresponding to the usage conditions of the second coupon; and pushing the second coupon to the user account interface corresponding to the inbound vehicle based on the push order.
[0022] By pushing the second coupon to the user account interface corresponding to the inbound vehicle, this specification enables the user to efficiently view and use the available coupons in a targeted manner, improving the user's usage experience and convenience. It facilitates the subsequent process where the user only needs to perform a scanning operation based on the scanning device placed at the outbound position of the power swap station when entering and leaving the station to complete the settlement, reducing the user's operation steps and accelerating the settlement process, providing a more convenient and efficient service.
[0023] On the other hand, an embodiment of the present invention further provides a coupon service matching device based on vehicle association. The device includes: 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 enable the at least one processor to execute the coupon service matching method based on vehicle association described in any one of the above.
[0024] Finally, an embodiment of this specification also provides a non-volatile computer storage medium storing computer-executable instructions, and the computer-executable instructions are configured to: execute the coupon service matching method based on vehicle association described in any one of the above.
[0025] The above at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:
[0026] By obtaining the inbound verification information corresponding to the inbound vehicle, the user account associated with the inbound vehicle is determined based on the inbound verification information, which facilitates the association between the user and the site, avoids the problem that the usage restrictions are easily overlooked when considering from a single angle, and also avoids the problem that matching errors are likely to occur when judging from each angle one by one. Based on the search for the associated user account, after the inbound vehicle and the swapping station are associated, the associated user account is obtained, which helps to fully judge and integrate the usage conditions of the first coupon based on the three dimensions of the inbound vehicle, the swapping station, and the user account. After matching the usage conditions of the first coupon with the inbound verification information, the second coupon available for the current power swapping consumption of the inbound vehicle is obtained, which facilitates the user to make a pre-judgment before consumption and avoids the problem that the actual consumption amount of the user is greatly different from the expected amount, and is convenient for providing personalized preferential services for the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in this specification. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings. In the drawings:
[0028] Figure 1 is a schematic flowchart of a coupon service matching method based on vehicle association provided by an embodiment of this specification;
[0029] Figure 2 is another schematic flowchart of a coupon service matching method based on vehicle association provided by an embodiment of this specification;
[0030] Figure 3A flowchart of a coupon service matching logic based on vehicle association provided by an embodiment of this specification;
[0031] Figure 4 A schematic structural diagram of a coupon service matching device based on vehicle association provided by an embodiment of this specification;
[0032] Figure 5 A schematic structural diagram of a non-volatile storage medium provided by an embodiment of this specification. Detailed implementation manners
[0033] Embodiments of this specification provide a coupon service matching method, device, and medium based on vehicle association.
[0034] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this specification. Obviously, the described embodiments are only a part of the embodiments of this specification, rather than all the embodiments. Based on the embodiments of this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this specification.
[0035] Embodiments of this specification provide a coupon service matching method based on vehicle association, as Figure 1 shown. The method specifically includes the following steps S101 - S103:
[0036] S101: Obtain the inbound verification information corresponding to the inbound vehicle, where the inbound verification information includes the vehicle information of the inbound vehicle and the substation terminal information of the substation where the inbound vehicle is located.
[0037] There are usage limits for cards and coupons in the three dimensions of users, sites, and vehicles. When users make their own judgments and use them, there may be a selected card and coupon that can take effect, but it cannot be used at the time of settlement due to the problem of site usage restrictions, making it difficult for users to consume electricity with preferential amounts, and the way of making judgments at the time of settlement makes it difficult to make advance judgments, which leads to a gap between the actual consumption amount and the expected amount of users, thereby reducing the experience of battery replacement services. Therefore, in a feasible embodiment of this specification, the APP service section first obtains the entry verification information corresponding to the incoming vehicle, so as to facilitate the subsequent screening of cards and coupons based on the entry verification information. The entry verification information includes the vehicle information of the incoming vehicle and the battery swap station end information of the battery swap station where the incoming vehicle is located. It should also be noted that the entry verification information is based on the identification device set in front of the entry gate of the battery swap station end to collect and obtain the vehicle information of the incoming vehicle before entering the station, so as to generate the entry verification information of the vehicle information and the battery swap station section information of the battery swap station and send it to the APP service end. This method of obtaining vehicle information before entering the station makes it easier for users to make predictions before consumption, avoiding the problem of a large difference between the user's actual consumption amount and the expected amount. By binding the vehicle information with the information on the battery swap station side to determine the corresponding entry verification information, it facilitates the association between users and stations, avoids the problem of ignoring usage restrictions when considering from a single angle, and avoids the problem of matching errors that may occur when judging from each angle. For example, user A actually arrived at battery swap station B, but was mistakenly matched to C for judgment because the names of battery swap station B and battery swap station C are similar.
[0038] In a specific feasible embodiment, obtaining the entry verification information corresponding to the entry vehicle is specifically achieved through the following process:
[0039] First, connect the vehicle information and the information of the battery swapping station terminal through a pre-set connector, so as to realize the connection and binding between the vehicle information and the information of the battery swapping station terminal, and obtain the initial inbound verification information. By binding the vehicle information and the battery swapping station information, a secure connection is established between the vehicle and the battery swapping station, enabling further interaction. This helps to consider the vehicle information and the corresponding battery swapping station information associated with the vehicle information during the subsequent coupon judgment, and is conducive to the full retrieval and analysis of the coupon usage conditions. In addition, due to the rapid development of the battery swapping station business, different battery swapping stations in the same area may be operated by different entities, such as different battery swapping service providers. Therefore, to ensure the secure transmission of the inbound verification information during the operation of the entity, and to avoid the problem of unauthorized individuals or malicious attackers stealing or tampering with the information, in the embodiments of this specification, the entity corresponding to the battery swapping station terminal is determined according to the information of the battery swapping station terminal, and thus the decryption strategy for the initial inbound verification information is determined based on the entity. Determining the decryption strategy based on the entity limits the authorization scope of the initial inbound verification information, facilitates the decryption of the initial inbound verification information by individuals within the authorized scope, ensures the information security within the same entity, and thus reduces the possible errors in manually determining the authorization scope. Encrypt the initial inbound verification information according to the decryption strategy determined in the above process and the private key of the battery swapping station terminal, so as to obtain the inbound verification information. Through effective inbound verification, the battery swapping station can better manage and control the inbound vehicles, providing more accurate and high-quality services. At the same time, the binding and encryption protection of the vehicle information can also increase the user's trust in the service.
[0040] In a specific and feasible embodiment, to avoid the problem of disputes over misused coupons caused by incorrect identification of vehicle information in the inbound verification information, the method further includes the following process:
[0041] Obtain the license plate information of the inbound vehicle based on the license plate image of the inbound vehicle, and obtain the recognized vehicle information corresponding to the license plate information. The license plate image can be the license plate image collected by an image acquisition device such as a camera or a surveillance camera installed in front of the inbound gate at the battery swapping station. Then, query the target vehicle feature information corresponding to the inbound vehicle based on the recognized vehicle information (the target vehicle feature information here is consistent with the vehicle feature information corresponding to the inbound vehicle queried through the recognized vehicle information in the cited application document), and obtain the vehicle exterior image of the inbound vehicle. Then, perform feature extraction on the vehicle exterior image to obtain the actual vehicle feature information corresponding to the target vehicle feature information in the vehicle exterior image. Compare the target vehicle feature information with the actual vehicle feature information to determine whether the recognized vehicle information is the original vehicle information of the inbound vehicle (the original vehicle information here is the vehicle information recognized by the inbound vehicle itself in the cited application document). If not, determine that all coupons under the user account associated with the inbound vehicle are coupons that are unavailable for the current battery swapping consumption of the inbound vehicle. By further performing feature matching based on the vehicle exterior image, the identity of the vehicle is further verified, avoiding the problem of coupon theft of the original license plate user caused by factors such as license plate fraud, and improving the accuracy and consistency of the vehicle recognition result.
[0042] Further, in a feasible embodiment, obtaining the license plate information of the inbound vehicle based on the license plate image of the inbound vehicle, and obtaining the recognized vehicle information corresponding to the license plate information is specifically implemented through the following implementation manners:
[0043] First, in order to determine the relevant information of the vehicle, collect consecutive frame license plate images of the inbound vehicle through an image acquisition device such as a camera or a surveillance camera installed in front of the inbound gate at the battery swapping station. Then, perform image preprocessing on each frame of license plate image to obtain the processed license plate images of each frame. It should be noted that the image preprocessing process includes image processing processes such as image enhancement. The process of enhancing the image quality is not limited here. Then, according to the image quality of each processed license plate image, screen out a preset number of license plate images to be analyzed. By screening the license plate images to be analyzed based on the image quality, it is convenient to delete the unclear images caused by the process of the inbound vehicle coming to a stop, eliminating the interference of low-quality images on the license plate recognition process, and helping to improve the recognition accuracy.
[0044] Then, in order to recognize the license plate information in the license plate image to be analyzed, in the embodiments of this specification, the optical character recognition technology is used to recognize a preset number of license plate images to be analyzed, so as to obtain the license plate information of the inbound vehicle, and then obtain the recognized vehicle information corresponding to the license plate information. It should be noted that the first vehicle information is the unique identifier for identifying the identity of the inbound vehicle. By recognizing a preset number of license plate images to be analyzed, the total judgment of multiple recognition results is realized, thus avoiding recognition errors caused by the recognition accuracy problem of the optical character recognition technology and reducing the recognition error rate.
[0045] In a feasible embodiment, before obtaining the inbound verification information corresponding to the inbound vehicle, the method further includes:
[0046] In order to be able to authenticate the vehicle identity reliably and thus realize coupon discounts on the premise of ensuring the authenticity and integrity of the vehicle information, it is first necessary to determine the APP server and the blockchain network where the battery swapping station is located. Then, based on the vehicle information, determine the vehicle basic information corresponding to the inbound vehicle, and upload the vehicle basic information to the blockchain network, so as to determine whether there is a digital certificate corresponding to the vehicle information based on the blockchain network; it should be noted that the vehicle basic information includes: vehicle model, engine code, and maintenance status. By leveraging the characteristics of immutability and high security of the blockchain network, it helps to ensure the authenticity and integrity of the vehicle information, and through the authentication mechanism of the blockchain network, a digital certificate can be generated for the vehicle information, providing a safe and trustworthy basis for subsequent coupon settlement services. If it is determined that there is a digital certificate in the blockchain network, then it can be determined that the vehicle information has passed the verification, and thus the verified vehicle information is bound to the battery swapping station information.
[0047] Furthermore, if it is determined that there is no corresponding digital certificate in the blockchain network, then in order to ensure the security of the binding of the vehicle and the battery swapping station information, obtain the consensus nodes corresponding to the consensus mechanism in the blockchain network, and then authenticate the vehicle information according to the consensus nodes. If the verification is ensured to pass, then obtain the digital certificate corresponding to the vehicle information. By binding the verified vehicle information to the information of the battery swapping station, the association relationship between the vehicle and the battery swapping station is established, improving the security of data binding, and based on the security verification of the blockchain network, the data concentration problem caused by local memory processing can be reduced, and the efficiency of data verification is improved.
[0048] S102: Determine the user account associated with the inbound vehicle based on the inbound verification information, and obtain the first coupon under the user account.
[0049] After the inbound verification information is obtained on the APP server side, that is, the vehicle information of the inbound vehicle and the swap station where the inbound vehicle enters the station are obtained. In order to enable the APP server side to query the user information associated with the vehicle based on the swap station and vehicle information, and give the result of whether it can be used before the user consumes. As Figure 3 As shown in the embodiments of this specification, after the inbound verification information is sent to the APP server side, since when the user uses the APP to register or log in, the user account and vehicle information will be associated and stored in the cache of the server side, it is possible to query and determine the user account associated with the vehicle information in the built-in cache information of the APP server side based on the inbound verification information, and obtain the first coupon under the user account (the first coupon here corresponds to the coupon on the user account of the cited application file). Among them, it should be noted that the information of the user account may include: user name, user account, vehicle owner's contact information, etc., and the first coupon may be all the coupons under the user account obtained based on the vehicle information, or the coupons matched by the user account under the current vehicle and the current site obtained based on the vehicle information and the site information.
[0050] In a specific embodiment, determining the user account associated with the inbound vehicle based on the inbound verification information specifically includes the following implementation process:
[0051] By using the API interface of the APP server, the inbound verification information is sent to the APP server corresponding to the swapping station. And by using the public key of the swapping station corresponding to the APP server, the inbound verification information is decrypted to obtain the initial inbound verification information. Obtaining the initial inbound verification information through encryption ensures the security during data transmission and storage, preventing unauthorized individuals from obtaining or tampering with the information. Then, according to the preset inbound verification information format, the legality of the initial inbound verification information is verified. Among them, it should be noted that the preset inbound verification information format includes: information length, information constituent elements, etc. For example: Suppose the requirement of the preset inbound verification information format is that the information length is 10 characters; and the information constituent elements include vehicle identifier and timestamp. Now assume there is an initial inbound verification information: "ABCDE12345", where the first 5 characters are the vehicle identifier and the last 5 characters are the timestamp. Then when performing the legality verification, first, check whether the length of the initial inbound verification information meets the preset requirements. If the length is not 10 characters, then the initial inbound verification information does not meet the format requirements and the verification fails. Then, split the initial inbound verification information according to the preset format requirements. According to the preset inbound verification information format, the vehicle identifier should be the first 5 characters and the timestamp should be the last 5 characters. If the initial inbound verification information passes the format verification of length, vehicle identifier, and timestamp, then it can be temporarily determined that it is legal. By decrypting the inbound verification information and further verifying the obtained initial inbound verification information, the legality and integrity of the inbound verification information can be ensured, improving the accuracy and credibility of the data. If it is determined to be legal after verification, then according to the vehicle information in the initial inbound verification information, the user account associated with the vehicle information in the built-in cache information of the APP server can be called. Based on finding the associated user account, after associating the inbound vehicle and the swapping station, the associated user account is obtained, which helps to fully judge and integrate the coupon usage conditions based on these three dimensions of the inbound vehicle, the swapping station, and the user account, solving the low-efficiency problem in the prior art that since the above usage objects are not associated before settlement, the user needs to wait until after consumption to know the result.
[0052] S103: Based on the usage conditions of the first coupon and the inbound verification information for matching, to determine the second coupon available for the current battery swapping consumption of the inbound vehicle from the first coupon.
[0053] In a specific embodiment, it is assumed that the first coupons on the user account are two. One is a full reduction coupon, that is, a reduction of 20 yuan when the consumption reaches 100 yuan, and the other is a discount coupon, that is, a 20% discount for the whole store. Now the user enters the battery swap station with the inbound verification information and needs to match the candidate available coupons available at this battery swap station according to the inbound verification information. If the usage conditions match this battery swap station, then at this time, according to the usage conditions of the candidate available coupons, the vehicle information in the inbound verification information is matched with the usage conditions of the candidate available coupons to determine the second coupon available for the current battery swap consumption of the inbound vehicle from the first coupons (the second coupon is equivalent to the available coupon for this consumption in the cited application document). If the vehicle information in the inbound verification information matches the usage conditions of the full reduction coupon, the full reduction coupon is considered available. If the vehicle identifier in the inbound verification information matches the usage conditions of the discount coupon, the discount coupon is considered available, and the subsequent consumption settlement is carried out through the matched coupon. Matching according to the usage conditions of the coupon and the inbound verification information provides personalized preferential services for users and increases user satisfaction, which helps to stimulate users' next consumption.
[0054] In a feasible embodiment, based on the usage conditions of the first coupons and the inbound verification information, a match is made to determine the second coupon available for the current battery swap consumption of the inbound vehicle from the first coupons, which specifically includes the following process:
[0055] First, obtain the first coupons on the user account, and filter the first coupons based on the current time and the expiration time of each first coupon to obtain consumable coupons. By filtering according to the current time and the expiration time of the coupon to obtain consumable coupons, it can ensure that users can use their coupons more effectively, avoid coupon waste caused by time limits or other conditional restrictions, help provide effective coupons for users, and enhance users' enthusiasm for participation and consumption. By obtaining the usage conditions of the consumable coupons, including the usage object, service scope, usage location, and minimum consumption amount, etc., the intersection of the usage conditions of the consumable coupons can be determined. If it is determined that the inbound verification information meets the intersection of the usage conditions, then the consumable coupon can be determined as the candidate available coupon. After obtaining the usage conditions of the consumable coupon, an intersection match is made with the inbound verification information, which can screen out the available coupons that truly meet the user's current consumption scenario, help provide more personalized and demand-based consumption coupon recommendations, and also facilitate the subsequent accurate matching of available coupons according to the inbound verification information and the user's historical consumption records to provide preferential offers that meet the user's needs and consumption behavior. Furthermore, based on the candidate available coupon, determine the second coupon available for the current battery swap consumption of the inbound vehicle. For example, screen to obtain the second coupon available for the current battery swap consumption based on data such as the coupon value.
[0056] Furthermore, in a feasible embodiment, based on the candidate available coupon, determining the second coupon available for the current battery swap consumption of the inbound vehicle includes the following process:
[0057] First, based on the historical consumption records corresponding to the vehicle information, determine the intended consumption information of the inbound vehicle. Then, compare the intended consumption information with the usage conditions of the candidate available vouchers, and filter the candidate available vouchers to obtain the second voucher available for this battery swapping consumption. In this way, the candidate available vouchers can be further filtered to select the optimal voucher that matches the user's intended consumption. Moreover, by precisely matching and personalized screening of available vouchers, the system can provide more attractive and targeted discounts according to the consumption behaviors and preferences of different users, which is conducive to improving the marketing effect and also conducive to promoting the user's continuous consumption intention.
[0058] In a feasible embodiment, after matching the usage conditions of the first voucher with the inbound verification information, if it is determined that the number of available vouchers is zero, then at this time, the expiration time and usage object of each voucher in the user account can be used to determine the third voucher corresponding to the inbound vehicle (the third voucher here is equivalent to the battery swapping available voucher in the cited application document). Then, based on the matching degree between the usage conditions of the third voucher and the intended consumption information determined based on the user's historical consumption records in the above embodiment, determine the intended battery swapping available voucher for the inbound vehicle. Then, in order to meet the user's needs, improve the utilization rate of the voucher, and further promote the preferential activities of the battery swapping station, it is necessary to determine the available battery swapping stations corresponding to the intended battery swapping available voucher, and then determine whether to push the intended battery swapping available voucher to the inbound vehicle according to the distance between the available battery swapping station and the battery swapping station. Determining whether to push the battery swapping voucher according to the distance between the battery swapping station and the battery swapping station is conducive to fully considering the actual distance cost while ensuring the utilization rate of the voucher, so that the push result can meet both the user's personalized needs and the actual communication cost limit.
[0059] In a feasible embodiment, after matching the usage conditions of the first voucher with the inbound verification information to determine the second voucher available for this battery swapping consumption of the inbound vehicle from the first voucher, the method further includes the following process:
[0060] When obtaining the second coupon for this consumption and performing outbound settlement, obtain the usage conditions of each second coupon to determine whether there are conflicting second coupons among the second coupons based on the usage conditions. Suppose there are two second coupons, A and B. Their expiration dates are both today, but their usage conditions are different. Then, if the second coupons A and B are within the same valid time, it is determined that there is a usage conflict for the second coupons. If so, determine the conflict priority of the conflicting second coupons and the condition priority corresponding to the usage conditions of the conflicting second coupons, and combine the conflict priority and the condition priority to determine the push order of the conflicting second coupons. For example, coupon A can only be used within a specific time period from 9 am to 3 pm, while coupon B can only be used under a specific amount. Since the expiration dates of these two coupons are the same, there is a conflict. At this time, the push order needs to be determined according to the conflict priority and the condition priority. Suppose the conflict priority of coupon A is higher, and the usage condition of coupon B is more in line with the user's current needs, then coupon A can be pushed first, and then coupon B. If not, determine the push order of the conflicting second coupons according to the condition priority corresponding to the usage conditions of the second coupons. Push the second coupons to the user account interface corresponding to the inbound vehicle according to the determined push order. By clearly determining the conflict priority and the condition priority, ambiguity in the process of using coupons is avoided, a reasonable push order is obtained, which facilitates the user to use the appropriate coupons more conveniently, and avoids unnecessary coupon waste caused by coupon usage conflicts, improving the operation efficiency. Then, as Figure 3 shown, according to the outbound code scanning device at the battery swapping station end. For example, the code scanning device can be the outbound code scanner of the battery swapping station. Obtain the preferential amount corresponding to the available coupon by scanning the image information, and then compensate the consumption of this time according to the obtained preferential amount. The battery swapping station will reduce or deduct the cost of the user's current battery swapping according to the preferential amount corresponding to the available coupon to complete the settlement of the inbound vehicle. By placing the scanning device at the outbound position of the battery swapping station, the user only needs to perform scanning operations when entering and leaving the station to complete the settlement, reducing the user's operation steps and accelerating the settlement process, providing a more convenient and efficient service.
[0061] As Figure 2 shown, the application documents cited in the embodiments of this specification also provide a schematic flowchart of another method for matching coupon services based on vehicle association. From Figure 2 it can be seen that in another embodiment, a method for matching coupon services based on vehicle association includes the following steps:
[0062] S201: Based on the inbound gate pre-identification device at the battery swapping station end, obtain the vehicle information of the inbound vehicle to bind the vehicle information with the battery swapping station end information to obtain inbound verification information.
[0063] S202: Send the inbound verification information to the APP server corresponding to the battery swapping station terminal to call the user account associated with the vehicle information in the built-in cache information of the APP server.
[0064] S203: Obtain the coupons on the user account, and match them with the inbound verification information based on the usage conditions of the coupons to obtain the available coupons for this consumption.
[0065] In this specification, by setting an identification device in front of the inbound gate of the battery swapping station terminal, the vehicle information of the inbound vehicle can be collected and obtained before entering the station through the identification device, which facilitates the user to make a pre-judgment before consumption and avoids the problem that the difference between the actual consumption amount and the expected amount of the user is relatively large. And by binding the vehicle information with the information of the battery swapping station terminal to determine the corresponding inbound verification information, it facilitates the association between the user and the station, avoids the problem that it is easy to ignore the usage restrictions when considering from a single angle, and also avoids the problem of easy matching errors when judging from each angle one by one. Based on the search for the associated user account, after the inbound vehicle and the battery swapping station are associated, the associated user account is obtained, which helps to fully judge and integrate the coupon usage conditions based on the three dimensions of the inbound vehicle, the battery swapping station, and the user account. By matching the usage conditions of the coupon with the inbound verification information, personalized preferential services are provided for the user, and the user satisfaction is increased, which helps to stimulate the user's next consumption.
[0066] Further, in a feasible implementation manner, based on the identification device in front of the inbound gate of the battery swapping station terminal, obtaining the vehicle information of the inbound vehicle specifically includes: based on the image acquisition device set in front of the inbound gate of the battery swapping station terminal, collecting the continuous frame license plate images of the inbound vehicle; performing image preprocessing on each frame of license plate image to obtain the processed license plate images of each frame, and screening a preset number of license plate images to be analyzed according to the image quality of the processed license plate images of each frame; identifying the preset number of license plate images to be analyzed through optical character recognition technology to obtain the license plate information of the inbound vehicle, and obtaining the identified vehicle information corresponding to the license plate information; wherein, the first vehicle information is the unique identifier for identifying the identity of the inbound vehicle; querying the vehicle feature information corresponding to the inbound vehicle based on the identified vehicle information, and collecting the vehicle appearance image of the inbound vehicle through the image acquisition device to extract the actual vehicle features corresponding to the vehicle feature information in the vehicle appearance image; comparing the vehicle feature information with the actual vehicle feature information to determine whether the vehicle identification information is the vehicle information of the inbound vehicle.
[0067] This specification facilitates the deletion of unclear license plate images caused by the process of the incoming vehicle coming to a stop by screening the license plate images to be analyzed based on image quality, eliminates the interference of low-quality images on the license plate recognition process, and helps improve the recognition accuracy. Moreover, by recognizing a preset number of license plate images to be analyzed, a total judgment of multiple recognition results is achieved, thereby avoiding recognition errors caused by the recognition accuracy problem of optical character recognition technology and reducing the recognition error rate. Further, based on feature matching of the vehicle appearance image, further authentication of the vehicle identity is realized, avoiding the problem of the coupons of the original license plate user being stolen due to factors such as license plate fraud, and improving the accuracy and consistency of the vehicle recognition results.
[0068] Further, in a feasible implementation manner, before binding the vehicle information with the swap station terminal information to obtain the incoming station verification information, the method further includes: determining the blockchain network where the APP server and the swap station are located; determining the basic vehicle information corresponding to the incoming vehicle based on the vehicle information, and uploading the basic vehicle information to the blockchain network to determine whether there is a digital certificate corresponding to the vehicle information based on the blockchain network; wherein, the basic vehicle information includes: vehicle model, engine code, maintenance status; if not, obtaining the consensus nodes corresponding to the consensus mechanism in the blockchain network, and authenticating the vehicle information based on the consensus nodes, and obtaining the digital certificate corresponding to the vehicle information if the authentication is passed; if so, determining that the vehicle information passes the verification, so as to bind the vehicle information that has passed the verification with the swap station terminal information.
[0069] This specification helps to ensure the authenticity and integrity of vehicle information by leveraging the characteristics of immutability and high security of the blockchain network, and through the authentication mechanism of the blockchain network, a digital certificate can be generated for the vehicle information, providing a safe and reliable basis for subsequent coupon settlement services. By binding the vehicle information that has passed the verification with the information of the swap station terminal, the association relationship between the vehicle and the swap station is established, improving the security of data binding, and based on the blockchain network for security verification, the problem of data concentration caused by local memory processing can be reduced, and the efficiency of data verification can be improved.
[0070] Further, in a feasible implementation manner, binding the vehicle information with the information of the power exchange station terminal to obtain inbound verification information, which specifically includes: connecting the vehicle information and the information of the power exchange station terminal based on a preset connector to implement the binding of the vehicle information and the information of the power exchange station terminal, and obtaining initial inbound verification information; determining the operating entity corresponding to the power exchange station terminal according to the information of the power exchange station terminal, and determining the decryption strategy of the initial inbound verification information based on the operating entity; encrypting the initial inbound verification information based on the decryption strategy and the private key of the power exchange station terminal to obtain the inbound verification information.
[0071] This specification determines the decryption strategy based on the operating entity, limits the authorization scope of the initial inbound verification information, facilitates individuals within the authorization scope to decrypt the initial inbound verification information, ensures the information security within the same operating entity, thereby reducing possible errors in artificially determining the authorization scope, and avoiding the problem of unauthorized individuals or malicious attackers stealing or tampering with information. Through effective inbound verification, the power exchange station can better manage and control inbound vehicles, providing more accurate and high-quality services. At the same time, the binding and encryption protection of vehicle information can also increase users' trust in the service.
[0072] Further, in a feasible implementation manner, sending the inbound verification information to the APP server corresponding to the power exchange station terminal to call the user account associated with the vehicle information in the built-in cache information of the APP server, which specifically includes: receiving the inbound verification information based on the API interface of the APP server; decrypting the inbound verification information through the public key of the power exchange station terminal corresponding to the APP server to obtain the initial inbound verification information; verifying the legality of the initial inbound verification information according to the preset inbound verification information format; wherein, the preset inbound verification information format includes: information length, information composition elements; if it is legal, based on the vehicle information in the initial inbound verification information, calling the user account associated with the vehicle information in the built-in cache information of the APP server.
[0073] This specification decrypts the inbound verification information, and further performs format verification after obtaining the initial inbound verification information, which can ensure the legality and integrity of the inbound verification information, improving the accuracy and credibility of the data. Based on finding the associated user account, after associating the inbound vehicle and the power exchange station, the associated user account is obtained, which helps to fully judge and integrate the coupon usage conditions based on the three dimensions of the inbound vehicle, the power exchange station, and the user account, solving the low-efficiency problem in the prior art that users need to wait until after consumption to know the result because the above-mentioned usage objects are not associated before settlement.
[0074] Further, in a feasible implementation manner, obtain the coupons on the user account, and match the usage conditions of the coupons with the inbound verification information to obtain the available coupons for this consumption. Specifically, it includes:
[0075] Obtain the coupons on the user account, and filter the coupons based on the current time and the expiration time of each coupon to obtain consumable coupons; obtain the usage conditions of each of the consumable coupons; wherein, the usage conditions include: usage object, service scope, usage location, minimum consumption amount; filter the consumable coupons according to the inbound verification information to obtain candidate available coupons; determine the intended consumption information of the inbound vehicle based on the historical consumption records corresponding to the vehicle information, compare the intended consumption information with the usage conditions, and filter the candidate available coupons to obtain the available coupons for this consumption.
[0076] This specification filters according to the current time and the expiration time of the coupons to obtain a list of consumable coupons, which helps to provide effective coupons for users and enhance the enthusiasm of users to participate and consume. Determine the intended consumption information of the inbound vehicle based on the historical consumption records of the inbound vehicle and compare it with the usage conditions of the available coupons. In this way, the candidate available coupons can be further filtered to screen out the optimal coupons that match the user's intended consumption. And by accurately matching and personalized screening of available coupons, the system can provide more attractive and targeted offers according to the consumption behaviors and preferences of different users, which is conducive to improving the marketing effect and also conducive to promoting the user's continuous consumption intention.
[0077] Further, in a feasible implementation manner, after obtaining the coupons on the user account and matching the usage conditions of the coupons with the inbound verification information, the method further includes: if it is determined that the number of available coupons is zero, determine the available battery replacement coupons corresponding to the inbound vehicle based on the usage conditions of each coupon; determine the intended battery replacement available coupons based on the usage conditions of the available battery replacement coupons and the intended consumption information; determine the available battery replacement stations corresponding to the intended battery replacement available coupons, and based on the distance between the available battery replacement stations and the battery replacement station, determine whether to push the intended battery replacement available coupons to the inbound vehicle.
[0078] When the number of available coupons is determined to be zero in this specification, the available swapping stations corresponding to the intended swapping coupons are determined, and then whether to push the intended swapping coupons to the incoming vehicles is determined according to the distance between the available swapping stations and the swapping stations, achieving the effect of being close to the user's needs, improving the utilization rate of the coupons, and thus promoting the promotion of the preferential activities of the swapping stations. And determining whether to push the swapping coupons according to the distance between the swapping station points and the swapping stations is conducive to fully considering the actual distance cost while ensuring the utilization rate of the coupons, so that the pushing result meets both the user's personalized needs and the actual communication cost limit.
[0079] Further, in a feasible implementation manner, after obtaining the coupons on the user account and matching the usage conditions of the coupons with the incoming station verification information to obtain the available coupons for this consumption, the method further includes: pushing the available coupons for this consumption to the user account interface corresponding to the incoming vehicle, and obtaining the image information of the available coupons based on the click operation on the user account interface; scanning the image information based on the outbound scanning device at the swapping station end to obtain the preferential amount corresponding to the available coupons; compensating this consumption based on the preferential amount to achieve the settlement of the incoming vehicle.
[0080] This specification makes it possible for users to efficiently view and use the available coupons in a targeted manner by pushing the available coupons to the user account interface corresponding to the incoming vehicle, improving the user experience and convenience. By placing the scanning device at the outbound position of the swapping station, users only need to perform scanning operations when entering and leaving the station to complete the settlement, reducing the user's operation steps, accelerating the settlement process, and providing a more convenient and efficient service.
[0081] In addition, the embodiments of this specification also provide a coupon service matching device based on vehicle association, such as Figure 4 shown, a coupon service matching device based on vehicle association, the device includes:
[0082] At least one processor; and,
[0083] A memory communicatively connected to the at least one processor; wherein,
[0084] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: execute the coupon service matching method based on vehicle association described in any one of the above.
[0085] Finally, the embodiments of this specification also provide a non-volatile storage medium, such as Figure 5As shown, a non-volatile storage medium stores computer-executable instructions 501, and the computer-executable instructions 501 are capable of: executing the method for matching a coupon service based on vehicle association described in any one of the above.
[0086] Those skilled in the art should understand that the embodiments of this specification can be provided as a method, a device, or a computer program product. Therefore, the embodiments of this specification can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0087] This specification is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one or more flows Figure 1 or a plurality of flows and / or blocks
[0088] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one or more flows Figure 1 or a plurality of flows and / or blocks
[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more flows Figure 1 or a plurality of flows and / or blocks
[0090] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory. The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0091] Computer-readable media includes both permanent and non-permanent, removable and non-removable media implemented by any method or technology for storing information. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transitory media that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0092] It should also be noted that the term "comprising", "including", or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the statement "comprising a..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0093] This specification can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification can also be practiced in a distributed computing environment where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.
[0094] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other, and the key point of each embodiment is to illustrate the differences from other embodiments. In particular, for the embodiments of devices, equipment, and non-volatile computer storage media, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0095] The above describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0096] The above is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included within the scope of the claims of this specification.
Claims
1. A coupon service matching method based on vehicle association, characterized in that The method includes: Obtaining the inbound verification information corresponding to the inbound vehicle, where the inbound verification information includes the vehicle information of the inbound vehicle and the substation terminal information of the substation where the inbound vehicle is located; Determining the user account associated with the inbound vehicle based on the inbound verification information, and obtaining the first coupon under the user account; Matching the usage conditions of the first coupon with the inbound verification information to determine the second coupon available for the inbound vehicle's current battery replacement consumption from the first coupon.
2. The method for matching coupon services based on vehicle association according to claim 1, wherein The method further includes: Obtaining the license plate information of the inbound vehicle from the license plate image of the inbound vehicle, and obtaining the recognized vehicle information corresponding to the license plate information; Querying the target vehicle feature information corresponding to the inbound vehicle based on the recognized vehicle information, and obtaining the vehicle appearance image of the inbound vehicle; Performing feature extraction on the vehicle appearance image to obtain the actual vehicle feature information corresponding to the target vehicle feature information in the vehicle appearance image; Comparing the target vehicle feature information with the actual vehicle feature information to determine whether the recognized vehicle information is the original vehicle information of the inbound vehicle; If not, it is determined that all the coupons under the user account associated with the inbound vehicle are coupons unavailable for the inbound vehicle's current battery replacement consumption.
3. The method for matching coupon services based on vehicle association according to claim 1, wherein Before obtaining the inbound verification information corresponding to the inbound vehicle, the method further includes: Determining the blockchain network corresponding to the substation where the inbound vehicle is located, and determining the basic vehicle information corresponding to the inbound vehicle based on the vehicle information; Uploading the basic vehicle information to the blockchain network to determine whether there is a digital certificate corresponding to the vehicle information based on the blockchain network; If there is a digital certificate corresponding to the vehicle information, it is determined that the vehicle information passes the verification, and the vehicle information is bound to the substation terminal information; Preferably, if there is no digital certificate corresponding to the vehicle information, obtaining the consensus nodes corresponding to the consensus mechanism in the blockchain network; Authenticating the vehicle information based on the consensus nodes, and obtaining the digital certificate corresponding to the vehicle information if the authentication passes.
4. The method for matching coupon services based on vehicle association according to claim 1, wherein, Obtaining the inbound verification information corresponding to the inbound vehicle, and the specific method further includes: Connecting the vehicle information and the substation terminal information based on a preset connector to realize the associated binding of the vehicle information and the substation terminal information, and obtaining the initial inbound verification information; Determining the operating entity corresponding to the substation terminal based on the substation terminal information, and determining the decryption strategy of the initial inbound verification information based on the operating entity; Encrypting the initial inbound verification information based on the decryption strategy and the private key of the substation terminal to obtain the inbound verification information.
5. The method for matching coupon services based on vehicle association according to claim 1, wherein Determining the user account associated with the inbound vehicle based on the inbound verification information, specifically including: Sending the inbound verification information to the APP server corresponding to the substation terminal through the API interface of the APP server; Decrypt the inbound verification information using the public key of the battery swapping station corresponding to the APP server to obtain the initial inbound verification information; Verify the legality of the initial inbound verification information according to the preset inbound verification information format; If it is legal, based on the vehicle information in the initial inbound verification information, call the user account associated with the vehicle information in the built-in cache information of the APP server.
6. The method for matching coupon services based on vehicle association according to claim 1, wherein Match the usage conditions of the first coupon with the inbound verification information to determine a second coupon available for the current battery swapping consumption of the inbound vehicle from the first coupon, specifically including: Filter the first coupons based on the current time and the expiration time of each first coupon to obtain consumable coupons; Obtain the usage conditions of each consumable coupon, where the usage conditions include at least one of usage object, service scope, usage location, and minimum consumption amount; Obtain the intersection of the usage conditions of the consumable coupons. If it is determined that the inbound verification information matches the intersection of the usage conditions, determine the consumable coupon as a candidate available coupon; Determine a second coupon available for the current battery swapping consumption of the inbound vehicle based on the candidate available coupon; Preferably, determining a second coupon available for the current battery swapping consumption of the inbound vehicle based on the candidate available coupon includes: Determine the intended consumption information of the inbound vehicle based on the historical consumption records corresponding to the vehicle information; Compare the intended consumption information with the usage conditions of the candidate available coupon, and filter the candidate available coupon to obtain a second coupon available for the current battery swapping consumption.
7. The method for matching coupon services based on vehicle association according to claim 6, wherein After matching the usage conditions of the first coupon with the inbound verification information, the method further includes: If it is determined that the number of available coupons is zero, determine a third coupon corresponding to the inbound vehicle based on the expiration time and usage object of each coupon on the user account; Determine the intended battery swapping available coupon for the inbound vehicle based on the matching degree between the usage conditions of the third coupon and the intended consumption information; Determine whether to push the intended battery swapping available coupon to the inbound vehicle based on the distance between the available battery swapping stations corresponding to the intended battery swapping available coupon and the battery swapping station.
8. The method for matching coupon services based on vehicle association according to claim 1, wherein After matching the usage conditions of the first coupon with the inbound verification information to determine a second coupon available for the current battery swapping consumption of the inbound vehicle from the first coupon, the method further includes: Obtain the usage conditions of each second coupon to determine whether there are conflicting second coupons among the second coupons based on the usage conditions; If there are, determine the conflict priority of the conflicting second coupon and the condition priority corresponding to the usage conditions of the conflicting second coupon, and combine the conflict priority and the condition priority to determine the push order of the conflicting second coupon; If not, determine the push order of the conflicting second coupon according to the condition priority corresponding to the usage conditions of the second coupon; Push the second coupon to the user account interface corresponding to the inbound vehicle based on the push order.
9. A coupon service matching device based on vehicle association, characterized in that, The device includes: 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 when the instructions are executed by the at least one processor, the at least one processor is enabled to: execute the method for matching a vehicle-associated coupon service according to any one of claims 1-8 above.
10. A non-volatile storage medium stores computer-executable instructions, characterized in that, The computer-executable instructions are capable of: executing the method for matching a vehicle-associated coupon service according to any one of claims 1-8 above.
Citation Information
Patent Citations
Crowd sourcing coupon redemption information
CN106575405A
Parking lot online discount docking method and device
CN107730611A
Vehicle-license-plate payment method and system used for gas station
CN108764885A
Coupon data processing method, device and system and storage medium
CN109191194A
Data processing method and device
CN109615711A