Card swiping authentication method and device for vehicle-mounted mobile phone wireless charger, equipment and medium
By determining the duration of card swiping authentication in the in-vehicle wireless phone charger, the problem of the integrated wireless charging module and NFC module affecting card detection efficiency is solved, improving card detection and data transmission efficiency while reducing the impact on charging function.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHERY AUTOMOBILE CO LTD
- Filing Date
- 2023-03-21
- Publication Date
- 2026-06-02
AI Technical Summary
Integrating wireless charging and NFC modules affects card detection efficiency and local charging functionality.
By determining the duration from when the user successfully swipes their card outside the vehicle to when the vehicle starts, if the duration exceeds the first preset duration, a preset start message is sent to the NFC slave module. If the card check result is received within the second preset duration and a card is found, the authentication command is triggered. If the authentication is successful, a stop message is sent and the authentication success information is reported.
It improves the efficiency of card detection and data transmission, and reduces the impact on local charging functions.
Smart Images

Figure CN116796769B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a card-swiping authentication method, device, equipment and medium for a vehicle-mounted mobile phone wireless charger. Background Technology
[0002] With the rapid development of automotive electronics, automobiles are no longer just a means of transportation. The arrival of the new era of "four modernizations" (electrification, connectivity, intelligence, and sharing) in the automotive industry makes automotive intelligence an inevitable trend, and automobiles will become a crucial hardware carrier for the future Internet of Things. The intelligent era's car cockpit will transcend the single driving scenario, becoming a comprehensive mobile space integrating intelligent entertainment, mobile office, and other functions. As mobile phone functions become increasingly powerful, the need for daily charging has increased from once a day to several times a day, making it a necessity to replenish phone power during fragmented time. Charging while driving has become a daily routine.
[0003] Looking at the development history of car keys, digital keys combining mobile networks, Bluetooth, and NFC (Near Field Communication) represent the future direction. In recent years, the configuration rate of keyless entry and remote start functions has been continuously increasing. As people's demands for intelligent and comfortable vehicles rise, digital key systems are becoming the next development direction for car key systems. Through different near-field communication technologies such as Bluetooth and NFC, and more secure key management, wearable devices such as smartphones, NFC smart cards, smartwatches, and smart bracelets can be turned into car keys, thereby enabling keyless entry and start, providing others with remote key authorization, personalized vehicle settings, and other comfortable and convenient car usage experiences.
[0004] Digital keys represent the future evolution of traditional mechanical car keys. NFC card digital keys not only solve the problem of mobile phone digital keys being unusable when the battery is dead, but also provide comprehensive services in terms of user experience, information security, key management, and business sharing.
[0005] Wireless phone chargers and in-vehicle NFC card readers overlap in terms of placement and usage scenarios. Integrating the two has significant advantages in terms of both placement scheme and overall vehicle cost. However, integrating the wireless charging module and the NFC slave module will affect card detection efficiency and local charging functionality. Summary of the Invention
[0006] This application provides a card-swiping authentication method, device, electronic device, and storage medium for a vehicle-mounted mobile phone wireless charger, in order to solve the problem that integrating a wireless charging module and an NFC slave module affects card detection efficiency and local charging function, thereby improving the efficiency of card detection and data transmission without affecting local charging function.
[0007] The first aspect of this application provides a card-swiping authentication method for a vehicle-mounted wireless mobile phone charger. The vehicle-mounted wireless mobile phone charger integrates a near-field communication (NFC) slave module. The method includes the following steps: determining whether the duration from successful card swiping authentication outside the vehicle to vehicle startup is greater than a first preset duration; if the duration is greater than the first preset duration, sending preset start information to the NFC slave module, and triggering authentication command pass-through when receiving a card detection result from the NFC slave module indicating a card is present within a second preset duration; and if authentication is successful, sending preset stop information to the NFC slave module and reporting authentication success information.
[0008] Optionally, in some embodiments, after sending the preset opening information to the NFC slave module, the method further includes: if the card detection result sent by the NFC slave module within the second preset time period is no card, then sending a reminder card swiping information to the vehicle's central control screen to display the reminder card swiping information on the central control screen.
[0009] Optionally, in some embodiments, after triggering the authentication instruction pass-through, the method further includes: if authentication fails, re-authenticating and accumulating the number of re-authentication attempts; if the number of re-authentication attempts exceeds a preset number, prompting the user to power off and lock the vehicle, so as to initialize the NFC slave module after the user power off and locks the vehicle.
[0010] Optionally, in some embodiments, after determining whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle is started is greater than the first preset duration, the method further includes: if the duration is less than or equal to the first preset duration, then the vehicle is started directly.
[0011] Optionally, in some embodiments, the above-described card-swiping authentication method for a vehicle-mounted wireless mobile phone charger further includes: determining whether a learning / recovery command sent by a diagnostic tool is received; if the learning / recovery command is received, then sending the preset opening information to the NFC slave module, and triggering authentication learning and / or recovery pass-through when the card detection result sent by the NFC slave module indicates that a card is present.
[0012] A second aspect of this application provides a card-swiping authentication device for a vehicle-mounted wireless phone charger, characterized in that the vehicle-mounted wireless phone charger integrates an NFC slave module, wherein the device includes: a judgment module, used to determine whether the duration from successful card swiping authentication outside the vehicle to vehicle startup is greater than a first preset duration; a first sending module, used to send preset opening information to the NFC slave module when the duration is greater than the first preset duration, and trigger authentication command pass-through when receiving a card detection result from the NFC slave module indicating a card is present within a second preset duration; and a second sending module, used to send preset closing information to the NFC slave module upon successful authentication, and report information carrying successful authentication.
[0013] Optionally, in some embodiments, after sending the preset opening information to the NFC slave module, the first sending module is further configured to: if it receives a card check result of no card from the NFC slave module within the second preset time period, send a reminder card swiping information to the vehicle's central control screen to display the reminder card swiping information on the central control screen.
[0014] Optionally, in some embodiments, after triggering the authentication instruction pass-through, the first sending module is further configured to: if authentication fails, re-authenticate and accumulate the number of re-authentication attempts; if the number of re-authentication attempts is greater than a preset number, prompt the user to power off and lock the vehicle, so as to initialize the NFC slave module after the user power off and locks the vehicle.
[0015] Optionally, in some embodiments, after determining whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle is started is greater than the first preset duration, the method further includes: if the duration is less than or equal to the first preset duration, then the vehicle is started directly.
[0016] Optionally, in some embodiments, the card-swiping authentication device for the vehicle-mounted mobile phone wireless charger described above further includes: a second judgment module, used to determine whether a learning / recovery instruction sent by a diagnostic instrument is received; and a third sending module, used to send the preset opening information to the NFC slave module when the learning / recovery instruction is received, and to trigger authentication learning and / or recovery pass-through when the card detection result sent by the NFC slave module indicates that a card is present.
[0017] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the program to implement the card-swiping authentication method for a vehicle-mounted mobile phone wireless charger as described in the above embodiments.
[0018] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the card-swiping authentication method for a vehicle-mounted mobile phone wireless charger as described in the above embodiments.
[0019] Therefore, by determining whether the duration from successful card authentication outside the vehicle to vehicle startup exceeds a first preset duration, if the duration exceeds the first preset duration, a preset start-up message is sent to the NFC slave module. If a card detection result indicating a card is present is received from the NFC slave module within a second preset duration, an authentication command is triggered for transparent transmission. If authentication is successful, a preset shutdown message is sent to the NFC slave module, and a report carrying authentication success information is uploaded. This solves the problem of integrating a wireless charging module and an NFC slave module affecting card detection efficiency and local charging functionality, improving card detection and data transmission efficiency, and reducing the impact on local charging functionality.
[0020] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0021] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0022] Figure 1 This is a flowchart of a card-swiping authentication method for a vehicle-mounted mobile phone wireless charger according to an embodiment of this application;
[0023] Figure 2 This is a schematic diagram of a switch field under an authentication process provided according to a specific embodiment of this application;
[0024] Figure 3 This is a schematic diagram of a switching field under a learning / recovery process according to a specific embodiment of this application;
[0025] Figure 4 This is a schematic diagram of the architecture of an NFC system according to a specific embodiment of this application;
[0026] Figure 5 This is a block diagram of a card-swiping authentication device for a vehicle-mounted mobile phone wireless charger according to an embodiment of this application;
[0027] Figure 6 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application. Detailed Implementation
[0028] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0029] Before introducing the card-swiping authentication method of the in-vehicle mobile phone wireless charger according to the embodiments of this application, let's introduce the wireless charging function.
[0030] The wireless charging function is defined as follows: charging can begin when the vehicle's power supply is at or above the ACC (Adaptive Cruise Control) level. Since wireless charging for mobile phones relies on electromagnetic induction, NFC card detection is not possible when the integrated slave module is charging a phone. Therefore, in this technology, when the integrated slave module detects an NFC card as the coupled object, it performs an opening authentication process and disables wireless charging during the card detection. After card swiping, card detection, data transmission, and authentication are completed, the integrated slave module exits the card detection state and switches back to normal charging operation. During the product design, development, and testing phase, it was found that without defining constraints on the card swiping opening and closing field, card swiping failures or card protection malfunctions can easily occur, leading to NFC card damage.
[0031] This application provides a card-swiping authentication method for an in-vehicle wireless mobile phone charger. In this method, it is determined whether the duration from successful card swiping authentication outside the vehicle to vehicle startup exceeds a first preset duration. If the duration exceeds the first preset duration, a preset start-up message is sent to the NFC slave module. If a card detection result indicating a card is present is received from the NFC slave module within a second preset duration, an authentication command is triggered. If authentication is successful, a preset stop-down message is sent to the NFC slave module, and a report carrying authentication success information is uploaded. This solves the problem of integrating a wireless charging module and an NFC slave module affecting card detection efficiency and local charging functionality, improving card detection and data transmission efficiency, and reducing the impact on local charging functionality.
[0032] Specifically, Figure 1 This is a flowchart illustrating a card-swiping authentication method for a vehicle-mounted mobile phone wireless charger provided in an embodiment of this application.
[0033] like Figure 1 As shown, the in-vehicle wireless phone charger integrates a near-field communication (NFC) slave module, and the card-swiping authentication method of the in-vehicle wireless phone charger includes the following steps:
[0034] It should be noted that in this embodiment, the NFC module needs to autonomously determine the card-finding scenario. In non-card-finding scenarios, it sends a shutdown command to enable the wireless charging function of the slave module. In scenarios where a card is needed, it needs to send an activation command to enable the contactless card reading function. Currently, in business scenarios, the process of completing card operations on the slave module includes three business processes: authentication, learning, and recovery.
[0035] In step S101, it is determined whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle starts is greater than a first preset duration.
[0036] The first preset duration can be set by the user, obtained through a limited number of experiments, or derived from a limited number of computer simulations; no specific limitation is made here. For example, the first preset duration could be 3 minutes.
[0037] Specifically, in combination Figure 2 As shown, the integrated NFC slave module is normally in the off state when there is no demand. In this embodiment of the application, it is necessary to determine whether the duration from when the user successfully swipes the card outside the vehicle to when the vehicle starts is greater than a first preset duration. For example, it is necessary to determine whether the time from when the user successfully swipes the card outside the vehicle to when the vehicle starts is greater than 3 minutes.
[0038] Optionally, in some embodiments, after determining whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle is started is greater than a first preset duration, the method further includes: if the duration is less than or equal to the first preset duration, then start the vehicle directly.
[0039] Specifically, users need to start the vehicle from inside the car. If the time from successful card authentication outside the car to starting the car is less than the first preset time, the car can be started directly. For example, if the time from swiping the card outside the car to starting the car is less than three minutes, the car can be started directly.
[0040] In step S102, if the duration exceeds the first preset duration, a preset opening message is sent to the NFC slave module, and if the card detection result sent by the NFC slave module within the second preset duration indicates that a card is present, the authentication command is triggered to pass through.
[0041] The second preset duration can be set by the user, obtained through a limited number of experiments, or obtained through a limited number of computer simulations. No specific limitation is made here. For example, the second preset duration can be 500ms.
[0042] Specifically, in combination Figure 2As shown, if the time from swiping the card outside the vehicle to starting the engine exceeds 3 minutes, the in-vehicle authentication process is triggered. If the BDM detects that more than 3 minutes have passed, it sends a 480 message with a card-free warning. When the NFC master module receives the first card-free warning in the 480 message, it considers in-vehicle authentication to be enabled and sends an activation message to the NFC slave module via the private CAN bus.
[0043] To prevent the NFC slave module from not recognizing the card even when it is on, resulting in the screen displaying no card despite the card being present, the master module can start a timer after sending the activation information and set a second preset duration, such as 500ms, to wait for the slave module's card detection result. If the slave module returns 0x4A5 indicating a card is present within 500ms after activation, the authentication command will be passed through.
[0044] Optionally, in some embodiments, after sending the preset opening information to the NFC slave module, the method further includes: if the card check result sent by the NFC slave module within a second preset time period is no card, then sending a reminder card swiping information to the vehicle's central control screen to display the reminder card swiping information on the central control screen.
[0045] Specifically, after sending the preset opening information to the NFC slave module, if within 500ms after the opening, the slave module returns 0x4A5 indicating no card, 0x464 carries display set to 1, and sends a reminder to swipe the card to the vehicle's central control screen, so that the reminder to swipe the card can be displayed on the central control screen, for example, by the vehicle's large screen, prompting the user to swipe the card, until a card is available to trigger the authentication command pass-through.
[0046] Optionally, in some embodiments, after the authentication command is transmitted, the method further includes: if authentication fails, re-authenticating and accumulating the number of re-authentications; if the number of re-authentications exceeds a preset number, prompting the user to power off and lock the vehicle, so as to initialize the NFC slave module after the user powers off and locks the vehicle.
[0047] These parameters can be pre-set by the user, obtained through a limited number of experiments, or obtained through a limited number of computer simulations. No specific limitations are made here. For example, the preset number of experiments can be 3.
[0048] Specifically, after enabling authentication command pass-through, if authentication fails, it will be re-authenticated until successful. If the number of retries accumulates to a preset number, such as 3 times, and it fails 3 times, the customer needs to be prompted to power off and lock the vehicle before the reader can return to its initial state.
[0049] In step S103, if authentication is successful, a preset shutdown information is sent to the NFC slave module, and a report carrying authentication success information is uploaded.
[0050] Specifically, in combination Figure 2As shown, after enabling authentication command pass-through, if authentication is successful, a preset shutdown message is sent to the NFC slave module, and a 464 report carrying authentication success information is sent.
[0051] Optionally, in some embodiments, the above-described card-swiping authentication method for a vehicle-mounted wireless mobile phone charger further includes: determining whether a learning / recovery command sent by a diagnostic tool is received; if a learning / recovery command is received, then sending preset opening information to the NFC slave module, and triggering authentication learning and / or recovery pass-through when receiving a card detection result from the NFC slave module indicating that a card is present.
[0052] Specifically, such as Figure 3 As shown, in the normal C state of the implementation of this application, when the learning / recovery of card operation needs to be completed on the slave module, the diagnostic instrument sends 3101 to start the specified process. If the learning or recovery process requires card operation, the master module sends an opening message. Upon receiving 0x4A5 from the slave module indicating that a card is present, the authentication learning and recovery pass-through is triggered. Upon receiving subsequent instructions such as 3103 and 3102, the process is stopped, the field is closed, and the execution status is reported.
[0053] To enable those skilled in the art to further understand the card-swiping authentication method of the vehicle-mounted mobile phone wireless charger according to the embodiments of this application, the following detailed description is provided in conjunction with specific embodiments.
[0054] like Figure 4 As shown, Figure 4 This is a schematic diagram of the architecture of the NFC system proposed in the card-swiping authentication method of the in-vehicle mobile phone wireless charger according to the embodiments of this application, which can be developed and implemented on existing vehicle models.
[0055] For example, a digital key system consists of a main module located in the rearview mirror, a slave module integrated into the mobile phone wireless charger, as well as the car manufacturer's MES (manufacturing execution system), the car manufacturer's platform, NFC cards, etc.
[0056] Among them, the NFC card supports NFC function, has an embedded security chip, and supports secure storage of security algorithms and key data.
[0057] An NFC card mainly consists of a security module, an NFC antenna, and a card body.
[0058] The wireless charger (with integrated NFC slave module) mainly consists of: NFC antenna coil, wireless charging coil, and PBCA.
[0059] The NFCReader main module embeds an SE (Secure Element) chip, located in the exterior rearview mirror of the vehicle. It connects to nodes such as BDM (body control module) and DMC (Data Management Controller) via a CAN (Controller Area Network) bus, and connects to the NFC slave module via a private CAN bus. A diagnostic tool can be connected to the CAN bus to interact with the Reader and send commands such as learning, suspending, stopping, and resuming.
[0060] The NFCReader features low-power card detection capabilities. It can detect a card entering the site while in sleep mode, wake up its own MCU, interact with the card via NFC, verify the card's legitimacy, complete authentication, and wake up other nodes on the bus.
[0061] The NFC master module connects to the slave module integrated into the wireless charger via a proprietary CAN bus to complete business processes such as learning, suspending, and resuming. By constraining the working mechanism of both parties in different field scenarios, the probability of successful authentication is increased, thereby ensuring the stability of the function.
[0062] In actual implementation, the NFC digital key system, as one of the ways for users to enter their vehicles, mainly needs to consider the following customer vehicle usage scenarios:
[0063] (1) When the vehicle owner uses an NFC card / key, he / she can unlock and enter the vehicle by swiping the card at the B-pillar of the vehicle driver's side.
[0064] (2) After the vehicle owner enters the vehicle by swiping the NFC card / key, the vehicle can be started.
[0065] (3) After using the vehicle, the vehicle owner can swipe a card to lock the vehicle.
[0066] The wireless charging integrated NFC slave module is mainly used to supplement the scenario (2) mentioned above. It is now defined that after the car owner successfully swipes the card through the driver's B-pillar main module, he / she does not need to swipe the card again for authentication within 3 minutes. If the user stays in this state for more than 3 minutes, he / she needs to swipe the card again through the slave module integrated in the car, and then perform the relevant actions of starting the vehicle.
[0067] According to the card-swiping authentication method for a vehicle-mounted wireless mobile phone charger proposed in this application, the method determines whether the duration from successful card swiping authentication outside the vehicle to vehicle startup is greater than a first preset duration. If the duration is greater than the first preset duration, a preset start-up message is sent to the NFC slave module. If a card detection result indicating a card is present is received from the NFC slave module within a second preset duration, an authentication command is triggered for transparent transmission. If authentication is successful, a preset shutdown message is sent to the NFC slave module, and a report carrying authentication success information is uploaded. This solves the problem that integrating a wireless charging module and an NFC slave module affects card detection efficiency and local charging functionality, improving the efficiency of card detection and data transmission while reducing the impact on local charging functionality.
[0068] Next, referring to the accompanying drawings, a card-swiping authentication device for a vehicle-mounted mobile phone wireless charger according to an embodiment of this application is described.
[0069] Figure 5 This is a block diagram of the card-swiping authentication device for a vehicle-mounted mobile phone wireless charger according to an embodiment of this application.
[0070] like Figure 5 As shown, the card-swiping authentication device 10 of the vehicle-mounted mobile phone wireless charger includes: a judgment module 100, a first sending module 200, and a second sending module 300.
[0071] The judgment module 100 is used to determine whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle starts is greater than a first preset duration; the first sending module 200 is used to send a preset start information to the NFC slave module when the duration is greater than the first preset duration, and to trigger the authentication command pass-through when the card detection result sent by the NFC slave module within a second preset duration indicates that a card is present; and the second sending module 300 is used to send a preset stop information to the NFC slave module when authentication is successful, and to report the authentication success information.
[0072] Optionally, in some embodiments, after sending the preset opening information to the NFC slave module, the first sending module 200 is further configured to: if it receives a card check result from the NFC slave module within a second preset time period indicating no card, send a reminder card swiping information to the vehicle's central control screen to display the reminder card swiping information on the central control screen.
[0073] Optionally, in some embodiments, after the authentication command is transmitted, the first sending module 200 is further configured to: if authentication fails, re-authenticate and accumulate the number of re-authentication attempts; if the number of re-authentication attempts exceeds a preset number, prompt the user to power off and lock the vehicle, so as to initialize the NFC slave module after the user power off and locks the vehicle.
[0074] Optionally, in some embodiments, after determining whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle is started is greater than a first preset duration, the method further includes: if the duration is less than or equal to the first preset duration, then start the vehicle directly.
[0075] Optionally, in some embodiments, the card-swiping authentication device of the above-mentioned vehicle-mounted mobile phone wireless charger further includes: a second judgment module, used to judge whether a learning / recovery command sent by a diagnostic instrument is received; and a third sending module, used to send preset opening information to the NFC slave module when the learning / recovery command is received, and to trigger authentication learning and / or recovery pass-through when the card detection result sent by the NFC slave module is that a card is present.
[0076] It should be noted that the explanation of the aforementioned embodiment of the card-swiping authentication method for in-vehicle wireless chargers also applies to the card-swiping authentication device for in-vehicle wireless chargers in this embodiment, and will not be repeated here.
[0077] According to the card-swiping authentication device for a vehicle-mounted wireless mobile phone charger proposed in this application embodiment, the device determines whether the duration from successful card swiping authentication outside the vehicle to vehicle startup is greater than a first preset duration. If the duration is greater than the first preset duration, a preset start-up message is sent to the NFC slave module. If a card detection result indicating a card is present is received from the NFC slave module within a second preset duration, an authentication command is triggered for transparent transmission. If authentication is successful, a preset shutdown message is sent to the NFC slave module, and a report carrying authentication success information is uploaded. This solves the problem that integrating a wireless charging module and an NFC slave module affects card detection efficiency and local charging functionality, improving card detection and data transmission efficiency and reducing the impact on local charging functionality.
[0078] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include:
[0079] The memory 601, the processor 602, and the computer program stored on the memory 601 and capable of running on the processor 602.
[0080] When the processor 602 executes the program, it implements the card-swiping authentication method for the vehicle-mounted mobile phone wireless charger provided in the above embodiments.
[0081] Furthermore, electronic devices also include:
[0082] Communication interface 603 is used for communication between memory 601 and processor 602.
[0083] The memory 601 is used to store computer programs that can run on the processor 602.
[0084] The memory 601 may include high-speed RAM (Random Access Memory) memory, and may also include non-volatile memory, such as at least one disk storage.
[0085] If the memory 601, processor 602, and communication interface 603 are implemented independently, then the communication interface 603, memory 601, and processor 602 can be interconnected via a bus to complete communication between them. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0086] Optionally, in a specific implementation, if the memory 601, processor 602, and communication interface 603 are integrated on a single chip, then the memory 601, processor 602, and communication interface 603 can communicate with each other through an internal interface.
[0087] The processor 602 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of this application.
[0088] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the card-swiping authentication method for a vehicle-mounted wireless mobile phone charger as described above.
[0089] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0090] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0091] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0092] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (FPGAs), field-programmable gate arrays (FPGAs), etc.
[0093] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0094] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A card-swiping authentication method for a vehicle-mounted wireless mobile phone charger, characterized in that, The in-vehicle wireless charger integrates a near-field communication (NFC) slave module, wherein the method includes the following steps: Determine whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle starts is greater than a first preset duration; If the duration exceeds the first preset duration, a preset opening message is sent to the NFC slave module, and if a card detection result indicating a card is present is received from the NFC slave module within the second preset duration, an authentication command pass-through is triggered; and If authentication is successful, a preset shutdown message is sent to the NFC slave module, and a report carrying authentication success information is uploaded. After determining whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle is started is greater than the first preset duration, the method further includes: if the duration is less than or equal to the first preset duration, then start the vehicle directly. After sending the preset opening information to the NFC slave module, the method further includes: if the card detection result sent by the NFC slave module is no card within the second preset time period, then sending a reminder card swiping information to the vehicle's central control screen to display the reminder card swiping information on the central control screen.
2. The method according to claim 1, characterized in that, After triggering the authentication instruction pass-through, the following is also included: If authentication fails, attempt to authenticate again, and accumulate the number of attempts. If the number of re-authentication attempts exceeds the preset number, the user is prompted to power off and lock the vehicle, so that the NFC slave module is initialized after the user power off and locks the vehicle.
3. The method according to claim 1, characterized in that, Also includes: Determine whether a learning / recovery command has been received from the diagnostic instrument; If the learning / restore instruction is received, the preset opening information is sent to the NFC slave module, and authentication learning and / or pass-through restoration are triggered when the card detection result sent by the NFC slave module indicates that a card is present.
4. A card-swiping authentication device for a vehicle-mounted wireless mobile phone charger, characterized in that, The in-vehicle wireless charger integrates an NFC slave module, wherein the device includes: The judgment module is used to determine whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle starts is greater than a first preset duration. The first sending module is configured to send preset opening information to the NFC slave module when the duration exceeds the first preset duration, and trigger authentication command pass-through when it receives a card detection result from the NFC slave module indicating a card is present within a second preset duration; and The second sending module is used to send preset field information to the NFC slave module when authentication is successful, and to report the authentication success information. After determining whether the duration from when the user successfully swipes their card outside the vehicle to when the vehicle is started is greater than the first preset duration, the determining module is further configured to: if the duration is less than or equal to the first preset duration, then start the vehicle directly; After sending the preset opening information to the NFC slave module, the first sending module is further configured to: if it receives a card check result of no card from the NFC slave module within the second preset time period, send a reminder card swiping information to the vehicle's central control screen to display the reminder card swiping information on the central control screen.
5. The apparatus according to claim 4, characterized in that, After triggering the authentication instruction pass-through, the first sending module is further configured to: If authentication fails, attempt to authenticate again, and accumulate the number of attempts. If the number of re-authentication attempts exceeds the preset number, the user is prompted to power off and lock the vehicle, so that the NFC slave module is initialized after the user power off and locks the vehicle.
6. An electronic device, characterized in that, include: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the card-swiping authentication method for a vehicle-mounted mobile phone wireless charger as described in any one of claims 1-3.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the card-swiping authentication method for the in-vehicle mobile phone wireless charger as described in any one of claims 1-3.