Charging pile connection method and device, computer readable medium and electronic equipment

By combining NFC and Bluetooth and using cloud server authentication, charging piles and devices can be quickly connected, solving the problems of complex charging pile connection operations and security, and improving user experience and connection efficiency.

CN122053673APending Publication Date: 2026-05-15SHAANXI GREEN ENERGY ELECTRONIC TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHAANXI GREEN ENERGY ELECTRONIC TECH CO LTD
Filing Date
2026-04-17
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Existing charging station connection methods rely on mobile app QR code scanning, which is complex, easily affected by light and network conditions, lacks personalized services, and poses safety risks.

Method used

It uses NFC technology to read user data and connects via Bluetooth. It utilizes cloud server authentication to achieve direct connection of Bluetooth identifiers, and combines preference data settings to simplify operation and improve security.

Benefits of technology

It simplifies the charging station connection process, improves connection efficiency, avoids the influence of light and network conditions, provides personalized services, and enhances safety and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122053673A_ABST
    Figure CN122053673A_ABST
Patent Text Reader

Abstract

The invention provides a charging pile connection method and device, a computer readable medium and electronic equipment, and relates to the technical field of electric power. The method comprises the following steps: when a Bluetooth function is in an open mode, in response to a first device with an NFC function entering an induction area of a charging pile, reading user data set in the first device; wherein the user data comprises first identity data and a Bluetooth identifier; sending the first identity data to a cloud server for authentication; and in response to received authentication passing data sent by the cloud server, establishing a Bluetooth connection with a second device corresponding to the Bluetooth identifier, and adjusting the Bluetooth function to a connected mode. The purpose of quickly establishing connection between the charging pile and the second equipment can be achieved, the operation process of establishing connection with the charging pile is greatly simplified, and the problem that a traditional connection mode is affected by light and network states is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of power technology, specifically to a charging pile connection method, a charging pile connection device, a computer-readable medium, and an electronic device. Background Technology

[0002] With the increasing popularity of electric vehicles, the number and usage frequency of charging stations have increased dramatically. Currently, most mainstream charging stations rely on mobile apps to scan QR codes for connection and control. However, in actual use, users need to manually open the app, find the scanning entry point, and focus on scanning, which is a complicated operation; at the same time, connection failures also occur in poor lighting or network conditions. Summary of the Invention

[0003] The purpose of this disclosure is to provide a charging pile connection method, a charging pile connection device, a computer-readable medium, and an electronic device, thereby simplifying the operation process of establishing a connection with a charging pile to at least a certain extent and improving the connection efficiency.

[0004] According to a first aspect of this disclosure, a charging pile connection method is provided, comprising: when the Bluetooth function is in open mode, in response to a first device with NFC function entering the sensing area of ​​the charging pile, reading user data set in the first device; wherein the user data includes first identity data and a Bluetooth identifier; sending the first identity data to a cloud server for authentication; in response to receiving authentication pass data sent by the cloud server, establishing a Bluetooth connection between the second device corresponding to the Bluetooth identifier, and adjusting the Bluetooth function to connected mode.

[0005] According to a second aspect of this disclosure, a charging pile connection device is provided, comprising: an NFC module, configured to, when the Bluetooth function is in open mode, read user data set in the first device in response to the first device having NFC function entering the sensing area of ​​the charging pile; wherein the user data includes first identity data and a Bluetooth identifier; a data transmission module, configured to send the first identity data to a cloud server for authentication; and a Bluetooth module, configured to, in response to receiving authentication pass data sent by the cloud server, establish a Bluetooth connection between the second device corresponding to the Bluetooth identifier and adjust the Bluetooth function to connected mode.

[0006] According to a third aspect of this disclosure, a computer-readable medium is provided that stores a computer program thereon, which, when executed by a processor, implements the method described above.

[0007] According to a fourth aspect of this disclosure, an electronic device is provided, characterized in that it includes: a processor; and a memory for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the method described above.

[0008] One embodiment of the charging pile connection method disclosed herein reads first identity data and a Bluetooth identifier set in a first device near the NFC sensing area of ​​the charging pile when the charging pile's Bluetooth function is in open mode, and directly connects to the second device corresponding to the Bluetooth identifier when the first identity data is verified. This achieves the purpose of quickly establishing a connection between the charging pile and the second device. At the same time, since this process only requires the first device to enter the sensing area of ​​the charging pile, it greatly simplifies the operation process of establishing a connection with the charging pile and avoids the problem of light affecting the traditional connection method. In addition, the use of Bluetooth for connection avoids the problem of network status affecting the traditional connection method.

[0009] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0010] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings: Figure 1 A schematic diagram of an exemplary system architecture to which embodiments of the present disclosure may be applied is shown; Figure 2 A flowchart illustrating a charging pile connection method in an exemplary embodiment of the present disclosure is shown schematically. Figure 3 This schematically illustrates a flowchart of a method for charging a charging device according to an exemplary embodiment of the present disclosure; Figure 4 This schematically illustrates a flowchart of a Bluetooth reconnection method according to an exemplary embodiment of the present disclosure; Figure 5 This schematically illustrates a flowchart of another method for charging a charging device according to an exemplary embodiment of the present disclosure; Figure 6 This schematically illustrates a flowchart of another Bluetooth reconnection method in an exemplary embodiment of the present disclosure; Figure 7 This schematic diagram illustrates the composition of a charging pile connection device in an exemplary embodiment of the present disclosure. Detailed Implementation

[0011] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0012] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0013] Figure 1 A schematic diagram of a system architecture for an exemplary application environment in which an embodiment of the charging pile connection method and apparatus of the present disclosure can be applied is shown.

[0014] like Figure 1 As shown, system architecture 100 may include one or more of terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as the medium for providing a communication link between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables. Terminal devices 101, 102, and 103 may be various charging stations with Near Field Communication (NFC) and Bluetooth capabilities. It should be understood that... Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, there can be any number of terminal devices, networks, and servers. For example, server 105 could be a server cluster composed of multiple servers.

[0015] The charging pile connection method provided in this embodiment is generally executed by terminal devices 101, 102, and 103, and correspondingly, the charging pile connection device is generally disposed in terminal devices 101, 102, and 103. However, those skilled in the art will readily understand that the charging pile connection method provided in this embodiment can also be executed by server 105, and correspondingly, the charging pile connection device can also be disposed in server 105. This exemplary embodiment does not impose any special limitations on this. For example, in one exemplary embodiment, server 105 may read the status of Bluetooth and NFC functions in terminal devices 101, 102, and 103 through network 104, control terminal devices 101, 102, and 103 to read user data and send it to server 105 through network 104, and then server 105 may send the first identity data to cloud server for authentication. After receiving the authentication pass data sent by cloud server, server 105 may control terminal devices 101, 102, and 103 to establish a Bluetooth connection based on Bluetooth function through network 104.

[0016] Currently, most mainstream charging stations rely on mobile apps to scan QR codes for connection and control. Specifically, users need to manually open the app, locate the QR code scanning entry, and focus on scanning, resulting in a poor experience in low light or with network latency. Secondly, personalized services are not available, requiring users to repeatedly set parameters each time they charge. Finally, static QR codes are easily tampered with or covered, posing security risks.

[0017] To address one or more of the aforementioned issues, this exemplary embodiment provides a charging pile connection method. This charging pile connection method can be applied to charging piles with NFC and Bluetooth functionality, such as charging piles equipped with a Bluetooth Low Energy module and an NFC module, or charging piles equipped with a multi-mode NFC read / write module, a main controller, a charging control module, and a Bluetooth Low Energy module, and which have a built-in connection management module for coordinating the operation of the NFC and Bluetooth modules. This exemplary embodiment does not impose any particular limitations on this method. (See reference...) Figure 2 As shown, the charging pile connection method may include the following steps S210 to S230: In step S210, when the Bluetooth function is in open mode, in response to the first device with NFC function entering the sensing area of ​​the charging pile, the user data set in the first device is read.

[0018] The open mode refers to a mode in which all Bluetooth-enabled terminal devices can search for and connect to the Bluetooth device within its search range. In other words, when the Bluetooth function is in open mode, any Bluetooth-enabled terminal device within the Bluetooth search range of the charging station can search for and connect to the charging station.

[0019] The first device may include a device capable of storing identity data, possessing NFC functionality, and used to initiate or participate in charging authorization processes. Its specific form may include, but is not limited to: smartphones, tablets, smartwatches, smart wearable devices, digital car keys with the aforementioned communication capabilities, smart key cards, etc.

[0020] The user data set in the first device includes at least primary identity data and a Bluetooth identifier. Specifically, the primary identity data is used for authentication on a cloud server to confirm whether the user has permission to use the charging station, and can be a set of information or credentials that uniquely identifies the user, charging device, or account. The Bluetooth identifier refers to address information or discoverable identity information that can uniquely or within a certain time and space range specify the Bluetooth hardware of the second device. For example, it can be a Bluetooth Media Access Control address, Bluetooth pairing key, Bluetooth name, application-generated code, etc.

[0021] Furthermore, the first identity data and Bluetooth identifier set in the first device can be data encrypted using an encryption algorithm to ensure the security of the first identity data and Bluetooth identifier.

[0022] In step S220, the first identity data is sent to the cloud server for authentication.

[0023] In one exemplary embodiment, after reading user data via NFC, the charging pile immediately establishes a secure communication link with the cloud server through its built-in communication module, and then sends the first identity data to the cloud server for verification.

[0024] Furthermore, the initial identity data can be encrypted using encryption algorithms before being sent to ensure its security. Correspondingly, decryption algorithms can be configured on the charging station or cloud server for identity authentication.

[0025] In step S230, in response to receiving authentication pass data sent by the cloud server, a Bluetooth connection is established between the second device corresponding to the Bluetooth identifier, and the Bluetooth function is adjusted to the connected mode.

[0026] In this context, "connected mode" refers to the charging station currently being in a state where it has established a Bluetooth connection with the second device. This means that other terminal devices cannot currently search for and connect to the charging station via Bluetooth. The second device can include devices capable of storing identity data, possessing Bluetooth functionality, and used to initiate or participate in the charging authorization process. Its specific form can include, but is not limited to, smartphones, tablets, smartwatches, and wearable devices. The second device can monitor and control the charging process of the charging station through the established Bluetooth connection.

[0027] In one exemplary embodiment, when the cloud server successfully authenticates the first identity data, it sends authentication data to the charging pile. Upon receiving this authentication data, the charging pile automatically triggers and configures its Bluetooth function, directly establishing a Bluetooth connection with the second device via the Bluetooth identifier. This method of directly establishing a Bluetooth connection via the Bluetooth identifier bypasses the traditional Bluetooth scanning, filtering, and manual pairing processes, simplifying the connection establishment process.

[0028] Furthermore, an encrypted Bluetooth connection can be established using Bluetooth identifiers. Specifically, after a basic Bluetooth connection is established between the charging station and the second device, both parties can automatically execute the Bluetooth standard secure pairing process to establish an encrypted data channel, thereby ensuring the communication security between the charging station and the second device and preventing identity forgery and data tampering.

[0029] It should be noted that the first device and the second device mentioned above can be the same terminal device or different devices, and this disclosure does not impose any special limitations on this. For example, the first device and the second device can both be smartphones used by the user; or, for example, the first device can be a car key with NFC function, and the second device can be the user's smartphone.

[0030] Furthermore, it should be added that, in an exemplary embodiment, when the first device and the second device are different, if the first device is a device without Bluetooth functionality, the Bluetooth identifier stored in the first device is a pre-set Bluetooth identifier corresponding to the second device bound to the charging device.

[0031] Furthermore, settings can be configured in the cloud server so that the cloud server can query user information (such as user account) through the first device's first identity data, and then authorize the second device under that user information (such as the second device logged into the user account) to establish a Bluetooth connection, in order to prevent the Bluetooth identifier set in the first device from being tampered with.

[0032] In one exemplary embodiment, the user data set in the first device may further include preference data. This preference data may be personalized charging preferences pre-set by the user in the second device. Examples include target battery capacity, charging scheduling strategy, charging time, and whether to activate battery maintenance mode.

[0033] Specifically, users can set up their preferences in the first device in advance, and then use the NFC function of the first device to write the preferences, along with the first identity data and Bluetooth identifier, into the NFC tag data block. When the first device is close to the charging station, the charging station can directly read the user's preferences and configure the corresponding charging parameters.

[0034] In one exemplary embodiment, preference data set in the second device can also be read via Bluetooth connection, and charging parameters corresponding to the charging pile can be set based on the preference data.

[0035] The preference data set in the second device is the same as that set in the first device, and will not be repeated here. Specifically, after establishing a Bluetooth connection between the charging pile and the second device, the charging pile can obtain and read the preference data configured in the second device via Bluetooth, and synchronize the corresponding charging parameters of the charging pile based on this preference data.

[0036] Furthermore, preference data can be set only on the first device, only on the second device, or simultaneously on both devices. It's worth noting that when preference data is set on both devices, a pre-defined priority can be used to determine which preference data to use for synchronizing the charging parameters of the charging station. By pre-setting preference data, the charging process can be tailored to the user's charging habits, improving the user experience and increasing user engagement.

[0037] In one exemplary embodiment, the user data set in the first device may further include device data. The device data is a set of information or credentials used to uniquely identify a charging device, and can uniquely identify a charging device. In this case, when the charging gun of the charging station is inserted into a device, the device data can be used to determine whether the device is the correct charging device, thus preventing incorrect charging.

[0038] In one exemplary embodiment, reference is made to Figure 3 As shown, the charging pile connection method further includes the following steps S310 and S320: In step S310, device data corresponding to the second device is read via Bluetooth connection.

[0039] The device data corresponding to the second device can be a pre-defined set of information or credentials uniquely identifying the charging device, allowing it to uniquely point to a specific charging device. Furthermore, the device data can be set only in the first device, only in the second device, or simultaneously in both devices. It should be noted that when device data is set in both the first and second devices, the device data set in the first device and the device data set in the second device point to the same charging device. That is, regardless of which device the device data is set in, the purpose is to uniquely identify the charging device that currently needs charging, thus avoiding charging other incorrect devices.

[0040] In step S320, when the charging gun configured in the charging pile is connected to the charging device corresponding to the device data, the charging device is charged.

[0041] In one exemplary embodiment, in the aforementioned steps, the charging pile has completed user authentication through the cloud server and established a secure Bluetooth connection with the second device. Afterward, the charging gun will automatically unlock, and the user can directly charge the charging device by connecting the charging gun to it. It should be noted that if preference data exists in the previously read data, the charging pile's charging parameters have already been synchronized with the preference data. In this case, the charging device can be charged directly based on the charging parameters determined by the preference parameters.

[0042] In one exemplary embodiment, the user data stored in the first device also includes pre-bound payment data. In this case, the charging station connection method further includes, in response to the end of charging, deducting payment based on the payment data and sending billing data to the second device via Bluetooth connection.

[0043] The payment data may include digital wallet tokens, encrypted indexes of payment accounts, or payment credentials linked to user accounts. By setting the payment data, the charging station can automatically deduct fees, achieving a smooth and fast payment experience. It should be noted that in some embodiments, the charging station can also read payment data from a second device via a Bluetooth connection.

[0044] Furthermore, regardless of whether the payment is successful or not, the charging station will immediately push the final billing data to the second device via the previously established secure Bluetooth connection. It should be noted that if the payment is successful, both the charging station and the second device will display a success message to the user, at which point the process ends and the charging gun unlocks. If the payment fails, both the charging station and the second device will inform the user of the reason for the failure (such as insufficient balance, expired payment authorization, etc.) and guide the user to try paying again using other payment methods or check their account status. The charging gun will unlock after successful payment.

[0045] In one exemplary embodiment, to ensure the safety and controllability of the charging process, the charging station maintains real-time communication with the second device via Bluetooth to receive stop commands and send status information. However, in real-world applications, the Bluetooth connection may be unexpectedly interrupted due to factors such as the user's terminal device temporarily moving away from the charging station (outside Bluetooth range) or signal interference.

[0046] To address this issue, in one exemplary embodiment, when the charging device corresponding to the second device is charging, the Bluetooth function is switched to a connection-ready mode in response to a Bluetooth connection loss. Specifically, when a Bluetooth connection loss is detected, the charging station immediately determines whether the charging device it is currently serving is still charging. If charging is still in progress, it indicates an unexpected interruption. At this time, the charging station switches its Bluetooth function to a connection-ready mode.

[0047] The "pending connection mode" refers to the mode where a second device is waiting to connect. In other words, when the Bluetooth function is in the "pending connection mode," only second devices that have been previously authenticated can connect.

[0048] In one exemplary embodiment, when the Bluetooth function is in the waiting mode, the Bluetooth identifier of the nearby device can be directly compared with the Bluetooth identifier of the previously connected second device to determine whether a new connection needs to be established. This disclosure does not impose any special limitations on this.

[0049] Furthermore, after switching the Bluetooth function to connect-ready mode, refer to... Figure 4 The process of reconnecting the second device includes the following steps S410 and S420: In step S410, when the Bluetooth function is in the connection-ready mode, in response to the second device entering the sensing area, the second identity data corresponding to the second device is read.

[0050] The second identity data can also be a collection of information or credentials used to uniquely identify a user, charging device, or account, and can also be used for authentication on a cloud server.

[0051] In one exemplary embodiment, when a user's second device (i.e., the previously disconnected terminal device) re-enters the NFC sensing area of ​​the charging pile (e.g., when the user returns to the vicinity of the vehicle after finishing their business), the charging pile in the connection-ready mode will respond to the device entering the sensing area and read its corresponding second identity data.

[0052] In step S420, when the second identity data corresponds to the authentication pass data, a Bluetooth connection is established with the second device based on the Bluetooth identifier, and the Bluetooth function is adjusted to the connected mode.

[0053] In one exemplary embodiment, the charging station compares the second identity data it reads with the locally stored authentication data. If the data matches, the charging station allows and actively re-establishes a Bluetooth connection with the second device based on the previously stored Bluetooth identifier. After a successful connection, the charging station switches its Bluetooth function from pending connection mode back to connected mode, restoring all monitoring and control functions connected via Bluetooth. If the data does not match, the charging station will reject the connection request and may log security information or issue an alarm to prevent other devices from maliciously connecting during the connection interruption.

[0054] In an exemplary embodiment, when the first device is different from the second device and the second device does not have NFC functionality, the user can use the NFC functionality of the first device to approach the sensing area of ​​the charging pile again. At this time, the charging pile will read the first identity data in the first device again and compare it with the locally stored authentication data, and perform subsequent processing based on the comparison result of the first identity data and the authentication data. This will not be elaborated here.

[0055] By touching the NFC tag, the charging station utilizes previously verified authentication data to quickly rebuild the Bluetooth link layer, eliminating the need to repeat the entire authentication process and achieving rapid authentication. Simultaneously, by combining the instantaneous triggering and highly secure identity authentication advantages of NFC with the high bandwidth and stable long-range communication advantages of Bluetooth, the industry pain points of "cumbersome initial connection and unintelligent reconnection" in charging stations are resolved, achieving a superior user experience of "instant connection with a single touch and instant recovery after disconnection."

[0056] It should be added that the secondary identity data can also be used for verification on the cloud platform. Therefore, the secondary identity data can be directly resent to the cloud server for verification again in order to re-establish the connection.

[0057] In addition, after charging is completed, in order to allow the next user to continue using the device, the charging station needs to be restored to its initial state after the current charging is completed. That is, the method also includes disconnecting the Bluetooth connection and adjusting the Bluetooth function to open mode when the charging device corresponding to the second device finishes charging.

[0058] Specifically, after charging is complete, the charging station actively disconnects the established Bluetooth connection with the second device. This is an active disconnection initiated by the charging station, rather than waiting for a connection timeout or being initiated by the second device. After disconnecting the Bluetooth connection, the charging station switches its Bluetooth function's operating mode from "connected mode" back to "open mode." In "open mode," the charging station's Bluetooth function resumes broadcasting its presence, allowing it to be discovered and connected by other user devices in the vicinity that are scanning (i.e., the first or second device of the next potential user).

[0059] In one exemplary embodiment, the NFC function of the charging pile can also be used to identify pre-paid passive NFC devices provided by the operator. Users can purchase the passive NFC device in advance, and when the charging device needs charging, they can simply bring the passive NFC device close to the sensing area of ​​the charging pile to start charging. After charging is complete, they can swipe their card again to deduct payment. By setting up the passive NFC device simultaneously, no terminal device, no app registration, and no complicated QR code payment process are required. The charging status and balance can be displayed on the charging pile's screen. At the same time, the passive NFC device is suitable for users of all ages, greatly reducing the barrier to entry and making technology accessible to everyone.

[0060] In one exemplary embodiment, when the first device enters the sensing area of ​​the charging pile, it can also trigger a linkage operation to the second device through the charging pile, including but not limited to connecting to the wireless network, pushing coupons, starting the vehicle entertainment system, etc., upgrading the NFC function of the charging pile into a service entry point.

[0061] The following example uses two devices, both mobile phones, as a reference. Figure 5 and Figure 6 The connection method for charging piles is explained below: Part 1: Quick Pairing and Connection Establishment Users pre-set their charging preferences in the mobile app, such as prioritizing peak and off-peak electricity and setting charging start time. The app generates a unique identity data (first identity data) and a set of temporary Bluetooth connection parameters. The app encrypts the aforementioned preference data, first identity data, and Bluetooth connection parameters and writes them into the data area of ​​the phone's NFC chip.

[0062] Step S501: The user brings the mobile phone close to the NFC sensing area of ​​the charging pile, and the charging pile reads and decrypts the above data. In step S502, the charging pile sends the first identity data to the cloud for verification; In step S503, when the charging pile receives the authentication pass data, the Bluetooth module uses the decrypted Bluetooth connection parameters to initiate a targeted connection request to a specific Bluetooth address. Step S504: After Bluetooth connection, configure the charging strategy using preference data and start the process.

[0063] Part Two: Bluetooth Disconnection and Reconnection During the charging process, the charging was unexpectedly interrupted due to the user leaving the Bluetooth range of the charging station or signal interference.

[0064] Step S601: When the charging pile is still charging, the charging pile detects that the Bluetooth is disconnected and adjusts the Bluetooth function of the charging pile to the ready-to-connect state. In step S602, the user touches the NFC area of ​​the charging station with their mobile phone again, and the charging station reads and decrypts the data; In step S603, the charging pile compares the first identity data with the authentication data to confirm that the data corresponding to the mobile phone is the authenticated user data. Step S604: Control the Bluetooth function to re-establish the Bluetooth connection using the previous Bluetooth parameters.

[0065] Part Three: Service Triggering Wireless network configuration information, coupon addresses, and other service links are pre-written in the NFC sensing area of ​​the charging pile. When a user touches the sensing area of ​​the charging pile with their mobile phone, the service connection is automatically read, and the user is prompted whether to claim a coupon or connect to the network. After the user confirms, the mobile phone will directly jump to the relevant page or automatically complete the wireless network connection.

[0066] The following explanation uses a passive NFC card as an example to illustrate the charging process of a passive NFC device.

[0067] Users pre-purchase and recharge a passive NFC card, then place it near the NFC sensing area of ​​the charging station. The charging station reads and verifies the card's ID. If the balance is sufficient, the charging gun unlocks and begins charging. After charging is complete, the user places the card near the NFC sensing area again, and the charging station deducts the charge from the card's balance and updates the card's data. If the balance is insufficient, a message indicating insufficient balance is displayed on the charging station. Additionally, the charging station can display recharge links for the passive NFC card, such as a recharge link or a QR code.

[0068] In summary, this exemplary embodiment integrates NFC and Bluetooth technologies for connecting to charging stations, greatly simplifying the connection process and enabling "one-touch connection" and "one-touch charging." Furthermore, by setting preference data, it allows charging based on user habits, enhancing the user experience. Encrypted NFC authentication effectively prevents theft and fraud. Additionally, triggering peripheral services via NFC increases user engagement and enhances the commercial value of the charging station.

[0069] It should be noted that the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this disclosure, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0070] Further reference Figure 7 As shown, an exemplary embodiment of this disclosure provides a charging pile connection device 700, including an NFC module 710, a data transmission module 720, and a Bluetooth module 730. Wherein: The NFC module 710 can be used to read user data set in the first device when the Bluetooth function is in open mode, in response to the first device with NFC function entering the sensing area of ​​the charging pile; wherein, the user data includes first identity data and Bluetooth identifier.

[0071] The data sending module 720 can be used to send the primary identity data to the cloud server for authentication.

[0072] The Bluetooth module 730 can be used to establish a Bluetooth connection between a second device corresponding to a Bluetooth identifier in response to receiving authentication data sent by a cloud server, and to adjust the Bluetooth function to connected mode.

[0073] The specific details of each module in the above-mentioned device have been described in detail in the method section of the implementation. For any undisclosed details, please refer to the implementation content of the method section, and therefore will not be repeated here.

[0074] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."

[0075] An exemplary embodiment of this disclosure also provides an electronic device for implementing a charging pile connection method, which may be... Figure 1 The terminal devices 101, 102, and 103 are included. The electronic device includes at least a processor and a memory, the memory storing executable instructions for the processor, and the processor configured to execute the charging pile connection method by executing the executable instructions.

[0076] Furthermore, exemplary embodiments of this disclosure also provide a computer-readable storage medium storing a program product capable of implementing the methods described above. In some possible embodiments, various aspects of this disclosure may also be implemented as a program product including program code, which, when the program product is run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure, such as performing any one or more steps of the methods described above.

[0077] It should be noted that the computer-readable medium disclosed herein may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.

[0078] In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transfer a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wireline, optical fiber, RF, etc., or any suitable combination thereof.

[0079] Furthermore, program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0080] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0081] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for connecting a charging pile, characterized in that, Applied to charging piles with NFC and Bluetooth functions, the method includes: When the Bluetooth function is in open mode, in response to a first device with NFC function entering the sensing area of ​​the charging pile, the user data set in the first device is read; wherein, the user data includes first identity data and Bluetooth identifier; The first identity data is sent to the cloud server for authentication; In response to receiving authentication pass data sent by the cloud server, a Bluetooth connection is established between the second device corresponding to the Bluetooth identifier, and the Bluetooth function is adjusted to connected mode.

2. The method according to claim 1, characterized in that, The method further includes: The preference data set in the second device is read through the Bluetooth connection, and the charging parameters corresponding to the charging pile are set based on the preference data.

3. The method according to claim 1, characterized in that, The method further includes: Read device data corresponding to the second device via the Bluetooth connection; When the charging gun configured on the charging pile is connected to the charging device corresponding to the device data, the charging device is charged.

4. The method according to claim 3, characterized in that, The user data also includes payment data, and the method further includes: In response to the end of charging, the payment is deducted based on the payment data, and the bill data is sent to the second device via the Bluetooth connection.

5. The method according to claim 1, characterized in that, The method further includes: When the charging device corresponding to the second device is in a charging state, in response to the Bluetooth connection being disconnected, the Bluetooth function is adjusted to the waiting mode.

6. The method according to claim 5, characterized in that, The method further includes: When the Bluetooth function is in the connection-ready mode, in response to the second device entering the sensing area, the second identity data corresponding to the second device is read; When the second identity data corresponds to the authentication pass data, a Bluetooth connection is established with the second device based on the Bluetooth identifier, and the Bluetooth function is adjusted to the connected mode.

7. The method according to claim 1, characterized in that, The method further includes: When the charging device corresponding to the second device finishes charging, disconnect the Bluetooth connection and switch the Bluetooth function to the open mode.

8. A charging pile connection device, characterized in that, The charging pile connection device includes: an NFC module, a data transmission module, and a Bluetooth module, wherein: The NFC module is used to read user data set in the first device when the Bluetooth function of the Bluetooth module is in open mode, in response to the first device with NFC function entering the sensing area of ​​the charging pile; wherein, the user data includes first identity data and Bluetooth identifier; The data sending module is used to send the first identity data to the cloud server for authentication; The Bluetooth module is used to establish a Bluetooth connection with the second device corresponding to the Bluetooth identifier in response to receiving authentication data sent by the cloud server, and to adjust the Bluetooth function to the connected mode.

9. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.

10. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.