How to obtain and use discount codes, electronic devices and storage media

By collecting and processing voice information from the vehicle environment, obtaining discount code association information, and storing it in the cloud, the problem of passengers having difficulty obtaining discount codes in a timely manner is solved, enabling convenient discount code applications and the development of advertising business.

CN115881130BActive Publication Date: 2026-03-10SHANGHAI QINGGAN INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Passengers in vehicles often find it difficult to receive timely and accurate discount codes via broadcast, which limits the development of advertising business related to discount codes on in-vehicle infotainment systems.

Method used

By collecting voice information from the vehicle's environment, performing voice recognition processing to obtain information associated with discount codes, and storing license plate information, merchant information, and user information in the cloud, the discount codes can be automatically obtained and applied.

Benefits of technology

It enables accurate, convenient, and timely acquisition and application of discount codes, ensuring driving safety and promoting the development of in-vehicle advertising business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115881130B_ABST
    Figure CN115881130B_ABST
Patent Text Reader

Abstract

This invention discloses a method, electronic device, and storage medium for obtaining and applying discount codes. The method, applied to in-vehicle infotainment systems, includes the following steps: collecting voice information from the vehicle's environment, the voice information including information associated with discount codes; and performing voice recognition processing on the voice information to obtain the discount codes. The method, electronic device, and storage medium provided by this invention, by collecting voice information and extracting the discount code information therein, can accurately, conveniently, and promptly obtain discount codes automatically and apply them in different scenarios. This facilitates the operation of discount codes by vehicle occupants, allowing them to enjoy discounts while ensuring driving safety. It also benefits the further development of advertising services on in-vehicle infotainment systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of discount code acquisition technology, and more particularly to a method for acquiring and applying discount codes, an electronic device, and a storage medium. Background Technology

[0002] A discount code is a specific combination of characters or numbers used by businesses to promote sales. Discount codes can reduce or eliminate costs for consumers at shopping malls, restaurants, or other establishments, or grant them access to certain venues. Discount codes are characterized by their paperless and convenient acquisition methods; for example, businesses often distribute them via broadcast, announcing the business and the discount code information; or they are distributed online, especially for limited-quantity discount codes, which can be obtained by logging into the relevant website and clicking to claim a limited number of codes. However, when users are in their vehicles, limitations such as driving often prevent them from obtaining discount codes in time, thus hindering their ability to hold and use them later. This, in the long run, limits the development of advertising related to discount codes on in-vehicle infotainment systems. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art, which makes it difficult for passengers to obtain the discount codes broadcast in a timely and accurate manner, and to provide a method, electronic device and storage medium for obtaining and applying discount codes.

[0004] The present invention solves the above-mentioned technical problems through the following technical solution:

[0005] This invention provides a method for obtaining discount codes, which is applied to in-vehicle infotainment systems and includes the following steps:

[0006] Collect voice information about the vehicle's environment, including information associated with the discount code;

[0007] The voice information is processed by voice recognition to obtain the discount code.

[0008] This invention also provides a method for applying a discount code, comprising the following steps:

[0009] Obtain license plate information for vehicles entering the merchant's area;

[0010] The system retrieves a discount code corresponding to the license plate information and the merchant from the cloud for application at the merchant; the cloud is used to associate and store the discount code, the license plate information, and the merchant information.

[0011] The present invention also provides an electronic device, including a memory and a processor connected to the memory, wherein the processor executes a computer program stored in the memory to implement the above-described method for obtaining or applying a discount code.

[0012] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the above-described method for obtaining or applying discount codes.

[0013] The positive and progressive effects of this invention are as follows: The method, electronic device, and storage medium for obtaining and applying discount codes provided by this invention can accurately, conveniently, and promptly obtain discount codes and apply them in different scenarios by collecting voice information and extracting the discount code information therein. This facilitates the operation of discount codes by passengers in the vehicle, allowing them to enjoy discount codes while ensuring driving safety. It also benefits the further development of advertising business on the vehicle's in-vehicle infotainment system. Attached Figure Description

[0014] Figure 1 This is a flowchart illustrating the method for obtaining discount codes according to Embodiment 1 of the present invention.

[0015] Figure 2 This is an application scenario diagram of the discount code acquisition method of Embodiment 1 of the present invention.

[0016] Figure 3 This is a flowchart illustrating the application method of the discount code in Embodiment 2 of the present invention.

[0017] Figure 4 This is a structural block diagram of the electronic device according to Embodiment 3 of the present invention. Detailed Implementation

[0018] The present invention will be further illustrated by way of embodiments below, but the present invention is not limited to the scope of the embodiments described herein.

[0019] Example 1

[0020] See Figure 1 As shown, this embodiment specifically provides a method for obtaining a discount code, which is applied to an in-vehicle infotainment system and includes the following steps:

[0021] S1. Collect voice information about the vehicle's environment, including information associated with the discount code;

[0022] S2. Perform voice recognition processing on the voice information to obtain a discount code.

[0023] As the delivery of discount codes has expanded from the visual to the auditory level, discount codes are now broadcast to users through various channels. For example, when a discount code is broadcast on a car infotainment system, users often miss it because it is inconvenient for them to record it while driving.

[0024] This embodiment obtains the discount code based on the vehicle's environment. The discount code is usually a serial number. The vehicle's environment in step S1 can be the interior or exterior of the vehicle. The voice information playback format includes, but is not limited to, playback on the vehicle's infotainment system (e.g., in-vehicle FM radio), playback on electronic devices (e.g., broadcasting through a mobile phone speaker), playback on electronic devices connected to the vehicle's infotainment system (e.g., playing network broadcast content from a mobile phone via the vehicle's Bluetooth speaker module), and playback from external speaker devices (e.g., shopping mall announcements).

[0025] It is understandable that the voice message includes information associated with the discount code, which includes, but is not limited to, the discount code, the merchant associated with the discount code, how to obtain it, and the expiration date.

[0026] Step S1, voice information acquisition, can directly acquire the sound of the vehicle's internal and external environment through a designated sound pickup device, such as obtaining playback content from the vehicle's speakers, Bluetooth audio modules, or other playback channels. Preferably, to improve the efficiency of voice acquisition, the acquisition operation can be set with corresponding trigger operations, such as being initiated by a preset voice command issued by the user, or being initiated upon receiving an input command from the vehicle's infotainment system, or being set to only perform voice acquisition when the voice playback content reaches a preset volume threshold (e.g., 40 decibels).

[0027] Step S2 performs speech recognition processing on the voice information. Specifically, speech recognition technologies, including NLP (Natural Language Processing), can be used. Through word segmentation, part-of-speech tagging, named entity recognition, and stop word removal, the discount code can be obtained, along with its associated information. For example, in one scenario, a driver listens to the radio while driving. The voice information from the car's FM radio is collected, processed for speech recognition, and the broadcast discount code is automatically recorded. Alternatively, the speech recognition processing can be asynchronous. For instance, while the vehicle is in motion, several audio clips that may contain the discount code and associated information can be stored. When the vehicle is parked, speech recognition is performed on these audio clips. This delays the acquisition of the discount code's information, reducing resource consumption by the car's system while the vehicle is in motion and ensuring driving safety. Furthermore, as long as the discount code is within its validity period, it will not affect the user's ability to use the discount code.

[0028] In one optional implementation, the associated information of the discount code includes website information for obtaining the discount code. Step S2 includes:

[0029] The voice information is processed by speech recognition to obtain the website address information;

[0030] Parse the webpage corresponding to the URL information to obtain the discount code.

[0031] Currently, discount codes are generally divided into limited and unlimited types. Limited discount codes, to control the number of users who can claim them, are usually pushed out in the form of a URL, requiring users to log in and claim the code. This implementation method uses voice information recognition processing to obtain the URL information for claiming the discount code. Specifically, it can identify and extract the URL information by identifying relevant keywords in a preset thesaurus such as "limited," "discount code," "claim," "get," "URL," "address," "3w," "www," and "http." Based on this, the corresponding webpage (discount code claiming page) is parsed to obtain the discount code.

[0032] Specifically, the source code of the corresponding page can be obtained based on the webpage address, and the window handles of the relevant controls on the page can be obtained and manipulated to automatically retrieve and record discount codes. For example, by controlling the window handle and focusing on the "Claim Discount Code" button, the input parameters corresponding to clicking the button can be written to achieve the effect of automatically retrieving discount codes. Alternatively, the request addresses, request methods, and parameter formats of some commonly used discount code retrieval webpages can be simulated and recorded in advance. Then, data packets can be captured and parsed for the matching preset format webpage code to achieve automatic discount code retrieval. For example, an open-source parser or interface can be used to parse a webpage address and its text content. It can be understood that webpage parsing includes, but is not limited to, the methods described above.

[0033] This implementation method, by acquiring and parsing the URL information containing the discount code, can help users automatically obtain the discount code issued in the form of a webpage, thus solving the problem of users having difficulty obtaining discount codes, especially limited-time discount codes, during the use of the vehicle.

[0034] As a preferred implementation, the associated information includes the merchant information corresponding to the discount code; in step S2, the merchant information is also obtained.

[0035] When discount codes are typically broadcast or broadcast, the associated information includes corresponding merchant information, such as the merchant providing the discount code and the merchant using it. This implementation method obtains merchant information through methods including, but not limited to, using keywords such as "merchant," "user," "provider," "shopping mall," and "store" for voice recognition to obtain the corresponding merchant and store information. Specifically, if the discount code can be used in a physical store, the merchant information can be a shopping mall, shopping plaza, or specific store; if the discount code is used on an e-commerce website, the merchant information can be the website or an online store within the website. Of course, the specific form and content of the merchant information are not limited to these.

[0036] In this embodiment, obtaining merchant information from the associated information helps users utilize the discount code subsequently. Preferably, after step S3, the discount code, vehicle license plate information, and merchant information are further associated and stored in the cloud. This involves uploading the obtained data to the cloud via field association or other methods, creating a highly distributed, highly virtualized server cluster. This facilitates the merchant corresponding to the discount code to obtain and apply it. For example, when a user enters a shopping venue, the license plate recognition system at the merchant's entrance identifies the user's license plate, automatically queries the cloud to confirm if the user has a corresponding discount code. If so, the code is uploaded to the merchant's payment system, and upon leaving the venue, the discount is directly credited to the user's payment account.

[0037] As a preferred implementation, the method for obtaining the discount code further includes: obtaining user information corresponding to the vehicle; the user information includes at least one of the facial image information of the user associated with the vehicle and terminal device information; in the step of storing the discount code, the vehicle's license plate information and merchant information in the cloud, the user information is also stored in association.

[0038] In this embodiment, user information is further associated and stored with the aforementioned discount code, license plate information, and merchant information. The user can be a person residing in the vehicle whose discount code is associated with the vehicle-mounted system, obtained through voice information collection. User information may include, but is not limited to, the user's facial image information or terminal device information. Facial image information can be obtained by uploading photos, capturing images through a camera, or associating with existing headshots in the system. Terminal device information includes, for example, the International Mobile Equipment Identity (IMEI) number and mobile phone number of the handheld device. For instance, if a merchant connected to the cloud does not have a license plate recognition system, the user can directly use the discount code on their mobile phone to pay, and the merchant only needs to confirm the association between the mobile phone and the discount code based on the terminal device information obtained from the cloud.

[0039] This implementation method, by acquiring the aforementioned user information and associating it with the aforementioned discount codes and other information, facilitates the further expansion of various related application modes based on discount codes, and leverages the role and advantages of discount codes and broadcast promotion.

[0040] See Figure 2 This paper illustrates an example of an application scenario for a method of obtaining discount codes. As those skilled in the art will know, the method of obtaining discount codes in this invention is not limited to this application scenario.

[0041] Specifically, the vehicle's infotainment system broadcasts promotional information, and the voice recognition module identifies the promotional information. If no promotional information is identified, for example, if no matching result is obtained based on voice recognition when keywords such as "promotion" are preset, the promotional information will continue to be identified through the voice recognition module.

[0042] If an upcoming promotional offer is detected, it determines whether it's a limited-time offer (limited-time offers require a coupon to be claimed, while unlimited offers do not). If so, it goes to the corresponding website to claim the discount code; otherwise, it directly records the offer information. Finally, it integrates the discount code with the car owner's information and uploads it to the cloud.

[0043] The discount code acquisition method provided in this embodiment obtains discount codes accurately, conveniently, and promptly by collecting voice information and extracting the discount code information. For limited-time discount codes, the code is further obtained by parsing the URL. In addition, license plate information and obtained merchant information are associated and stored so that users can use the discount code in different scenarios. This facilitates the operation of discount codes by passengers in the vehicle, allowing them to enjoy the discount code while ensuring driving safety. It also benefits the further development of advertising business on the car's in-vehicle system.

[0044] Example 2

[0045] See Figure 3 As shown, this embodiment specifically provides a method for applying a discount code, including the following steps:

[0046] S10. Obtain license plate information for vehicles entering the merchant's area;

[0047] S20. Obtain the discount code corresponding to the license plate information and the merchant from the cloud for application at the merchant; the cloud is used to associate and store the discount code, license plate information and merchant information.

[0048] The discount code application method in this embodiment involves applying the discount code to its corresponding merchant. As an application mode known to those skilled in the art, it can specifically be based on obtaining the discount code and related information through the discount code acquisition method in Embodiment 1, and then applying it to the merchant. For ease of description, this embodiment uses a physical store as an example of the merchant, and it should be understood that this does not constitute a limitation on the discount code application method of the present invention.

[0049] The area where a business is located can be the area under the business's jurisdiction, such as a hotel parking lot; or it can be the area where the business is situated, such as the shopping mall's parking lot if the business is a shop in a shopping mall. Step S10 obtains the license plate information of vehicles entering the business's area. This can be done through a license plate recognition system installed at the vehicle gate, or directly through user input. In the latter case, the user can upload a photo containing the license plate information or upload information such as their mobile phone number that is linked to the license plate. Of course, the methods for obtaining license plate information are not limited to the above.

[0050] Based on this, it can be assumed that the user has made a purchase at the merchant. Step S20 then retrieves the discount code corresponding to the license plate information and the merchant from the cloud, enabling the user to apply the discount code during their purchase at the merchant. The cloud is used to associate and store the discount code, license plate information, and merchant information. It can be understood that the merchant information associated with the cloud includes, but is not limited to, the merchant currently applying the discount code.

[0051] As a preferred implementation, the cloud is also used to associate and store user information corresponding to the vehicle; the application method also includes the step of: obtaining user information; step S20 includes: obtaining a discount code from the cloud that is associated with license plate information, merchant information, and user information.

[0052] This implementation, in addition to obtaining license plate information and merchant information, further obtains user information. This enhances the verification of the discount code holder's (consumer's) identity and expands the consumer's application channels for the discount code through user information. Of course, if the license plate information does not exist in the cloud, or if there is no corresponding discount code, or if the obtained discount code does not meet the usage conditions, the user cannot use the discount code. This implementation obtains user information corresponding to the vehicle from the cloud to apply the discount code, and the application method can be applied to different application scenarios, enabling users to use the discount code in their respective payment processes.

[0053] In one optional implementation, the user information is the facial image information of the user associated with the vehicle corresponding to the license plate information. The steps of obtaining the user information include: obtaining the user's facial image information when the user makes a payment through facial recognition.

[0054] In this implementation scenario, users pay via facial recognition, for example, by using a camera or uploading a photo to record their face in a merchant's system. The merchant can then use this facial recognition result to retrieve the associated facial image information of the user from the cloud for comparison and verification. For instance, if the similarity between the two exceeds a set threshold, the verification is successful, allowing the user to use the discount code associated with the facial image information. Of course, this is contingent on the user's license plate information also meeting the requirements described above. This implementation effectively confirms the identity of the user using the discount code by matching the user's facial recognition result with the retrieved facial image information, supplemented by the license plate information matching result. It also allows users paying via facial recognition to conveniently and quickly apply their discount codes.

[0055] In another optional implementation, the user information is the terminal device information of the user associated with the vehicle corresponding to the license plate information. The steps of obtaining the user information include: obtaining the terminal device information when the user makes a payment through the terminal device.

[0056] In this implementation scenario, users make payments via terminal devices, such as accessing the payment page through a shopping mall's corresponding app or WeChat mini-program. User information can include terminal device information such as phone number and IMEI number. Merchants obtain information about the terminal device used for on-site payment by associating it with the user's logged-in account and by retrieving user information from the cloud. Alternatively, users can also make payments by holding a terminal device and using its NFC (Near Field Communication) functionality. In this case, the terminal device information can be an NFC serial number. Merchants identify the NFC serial number of the terminal device using an NFC-enabled device and retrieve the corresponding information from the cloud.

[0057] Of course, if the merchant fails to obtain the aforementioned terminal device information in the cloud, such as mobile phone number, IMEI number, or NFC serial number, or if the user's license plate information does not meet the requirements described above, the user will not be able to enjoy the discount code based on the terminal device information. This embodiment, by obtaining the user's terminal device information and supplementing it with the matching results of the license plate information, can effectively confirm the identity of the user using the discount code, and also allows users who pay through the terminal device to conveniently and quickly apply the discount code they hold.

[0058] The discount code application method provided in this embodiment is based on the license plate and merchant information associated with the obtained discount code, so that users can conveniently and accurately apply the discount code automatically when entering the relevant merchant. This allows users to enjoy the discount brought by the discount code while also facilitating the relevant operations of the merchant, ensuring the smooth delivery of the discount code service and improving the user experience.

[0059] Example 3

[0060] See Figure 4 As shown, this embodiment provides an electronic device 30, including a processor 31, a memory 32, and a computer program stored on the memory 32 and executable on the processor 31. When the processor 31 executes the program, it implements the discount code acquisition method in Embodiment 1 or the discount code application method in Embodiment 2. Figure 4 The electronic device 30 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.

[0061] The electronic device 30 may be in the form of a general-purpose computing device, such as a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including memory 32 and processor 31).

[0062] Bus 33 includes a data bus, an address bus, and a control bus.

[0063] The memory 32 may include volatile memory, such as random access memory (RAM) 321 and / or cache memory 322, and may further include read-only memory (ROM) 323.

[0064] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0065] The processor 31 executes various functional applications and data processing by running computer programs stored in the memory 32, such as the discount code acquisition method in Embodiment 1 of the present invention or the discount code application method in Embodiment 2.

[0066] Electronic device 30 can also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). This communication can be performed via input / output (I / O) interface 35. Furthermore, the model-generated device 30 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) via network adapter 36. Network adapter 36 communicates with other modules of the model-generated device 30 via bus 33. Other hardware and / or software modules can be used in conjunction with the model-generated device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.

[0067] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.

[0068] Example 4

[0069] This embodiment provides a computer-readable storage medium storing a computer program thereon. When the program is executed by a processor, it implements the steps in the discount code acquisition method in Embodiment 1 or the discount code application method in Embodiment 2.

[0070] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.

[0071] In a possible implementation, the present invention can also be implemented as a program product comprising program code, which, when the program product is run on a terminal device, causes the terminal device to execute the steps of the discount code acquisition method in Embodiment 1 or the discount code application method in Embodiment 2.

[0072] The program code for executing the present invention can be written in any combination of one or more programming languages. The program code can be executed entirely on the user device, partially on the user device, as a standalone software package, partially on the user device and partially on a remote device, or entirely on a remote device.

[0073] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.

Claims

1. A method for obtaining a coupon code, the method comprising: The acquisition method is applied to a car machine and includes the following steps. Voice information of an environment where a vehicle is located is collected, the voice information including associated information of a discount code; the associated information including website information used to obtain the discount code; wherein a playing form of the voice information includes at least one of car machine end playing, electronic device playing, electronic device connecting the car machine and playing through the car machine, and vehicle external loudspeaker playing; Voice recognition processing is performed on the voice information to obtain the discount code; The step of performing voice recognition processing on the voice information to obtain the discount code information includes: Voice recognition processing is performed on the voice information to obtain the website information; Source code of a corresponding page is obtained according to the website information, and a window handle of a page related control is obtained for operation to obtain the discount code.

2. The discount code acquisition method of claim 1, wherein the associated information includes merchant information corresponding to the discount code; In the step of performing voice recognition processing on the voice information to obtain the discount code, the merchant information is also obtained.

3. The discount code acquisition method of claim 2, wherein the step of performing voice recognition processing on the voice information to obtain the discount code is followed by: The discount code, license plate information of the vehicle, and the merchant information are associated and stored to the cloud.

4. The discount code acquisition method of claim 3, wherein the acquisition method further includes: User information corresponding to the vehicle is obtained; The user information includes at least one of facial image information of a user associated with the vehicle and terminal device information; In the step of associating and storing the discount code, the license plate information of the vehicle, and the merchant information to the cloud, the user information is also associated and stored.

5. A method of applying a coupon code, the method comprising: The following steps are included: License plate information of a vehicle entering an area where a merchant is located is obtained; A discount code corresponding to the license plate information and the merchant is obtained from the cloud to be applied at the merchant; The cloud is used to associate and store the discount code, the license plate information of the vehicle, user information of the vehicle, and merchant information; The application at the merchant includes directly returning cash to a payment account of a user when the vehicle leaves the merchant in response to confirming that the user has a corresponding discount code, wherein the corresponding discount code of the user is obtained by the discount code acquisition method of any one of claims 1 to 4.

6. The method of applying a promotional code of claim 5, further comprising: The user information is obtained; The step of obtaining the discount code corresponding to the license plate information and the merchant from the cloud specifically includes obtaining a discount code associated with the license plate information, the merchant, and the user information from the cloud.

7. The discount code application method of claim 6, wherein the user information includes at least one of facial image information of a user associated with the vehicle corresponding to the license plate information and terminal device information; and the step of obtaining the user information includes: When a user makes a payment through a terminal device, the terminal device information is obtained; Or, when a user makes a payment through facial recognition, facial image information of the user is obtained.

8. An electronic device, comprising: An apparatus comprising a memory and a processor connected to the memory, wherein the processor implements the method for obtaining a coupon code according to any one of claims 1-4 or the method for applying a coupon code according to any one of claims 5-7 when executing a computer program stored in the memory.

9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method for obtaining a coupon code according to any one of claims 1-4 or the method for applying a coupon code according to any one of claims 5-7.

Citation Information

Patent Citations

  • Electronic coupon system

    CN104081424A