Charging control method, device, equipment and storage medium based on automatic authentication
Through the introduction of automatic authentication technology in the charging system, using the near -field communication of charging piles and authority devices and the authentication of the property server to realize the automation charging of electric bicycles, solve the problem of charging safety and user experience, improve the charging charging, and improve the charging. Convenience.
Patent Information
- Application Number
- CN202410841450.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-06-27
AI Technical Summary
In the prior art, the risk of spontaneous combustion of electric bicycles when charging indoors is high, and the family members of owners who are not familiar with smart terminals find it difficult to use charging piles smoothly, which affects the household experience.
The charging control method based on automatic authentication is used to obtain the pre -set target Token through the near -field communication of the charging pile and the authentication device, and automatically authentication is performed through the property server to achieve automation of the charging process without requiring the on -site operation intelligent terminal.
It improved the convenience and safety of electric bicycle charging, reduced the operation steps of the owner in the charging process, and enhanced the resident experience.
Smart Images

Figure CN118700891B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charging control, and in particular to a charging control method, device, equipment, and storage medium based on automatic authentication. Background Art
[0002] Electric bicycles are currently quite popular. While their batteries are lightweight and removable, they carry a high risk of spontaneous combustion when charged indoors. To improve charging safety, residential communities typically set up designated charging areas with multiple charging stations for residents to use.
[0003] In related technologies, before using the charging pile, the owner needs to register on the APP or mini program through the smart terminal and pay after the charging is completed. However, for some owners' families who are not familiar with smart terminals, they cannot use the charging pile for charging smoothly, which affects the residents' experience. Summary of the Invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a charging control method, device, equipment, and storage medium based on automatic authentication, which can automatically authenticate electric bicycles, eliminating the need for operation on a smart terminal during charging, thereby improving the user experience.
[0005] In a first aspect, an embodiment of the present invention provides a charging control method based on automatic authentication, which is applied to a charging system. The charging system includes a charging pile, an authentication device, and a property server. The property server is communicatively connected to the charging pile. The charging control method based on automatic authentication includes:
[0006] The electric bicycle is connected to the charging pile by a wire through a charging device, and the charging pile is connected to the unoccupied authentication device through near-field communication, and the connection state of the authentication device is set to an occupied state;
[0007] When the charging pile obtains the preset target token from the authentication device, it uploads the target token to the property server;
[0008] After the target Token is authenticated, the property server determines the target owner account pre-associated with the target Token;
[0009] The charging pile is controlled to start charging. When the charging pile is disconnected from the charging device, the occupancy state of the authentication device is released. The property server constructs a target charging bill and associates the target charging bill with the target owner account.
[0010] According to some embodiments of the present invention, after setting the connection state of the authentication device to an occupied state, the method further includes:
[0011] When the charging pile fails to obtain the target token from the authentication device, the charging device obtains a first device identifier from the electric bicycle, constructs a matching identifier pair based on the first device identifier and the second device identifier, and uploads the matching identifier pair to the property server, wherein the first device identifier is used to uniquely identify the electric bicycle, and the second device identifier is used to uniquely identify the charging pile;
[0012] The target owner terminal logs in to the property server, searches for the matching identifier pair based on the second device identifier, and binds the first device identifier to the target owner account, wherein the target owner account is an associated account of the target owner terminal;
[0013] The property server generates the target Token, associates the target Token with the target owner account, and sends the target Token to the authentication device through the charging pile.
[0014] According to some embodiments of the present invention, before the electric bicycle is connected to the charging pile by a wire through the charging device, the method further includes:
[0015] The target owner terminal logs in to the property server, enters the first device identification of the electric bicycle and binds the target owner account, wherein the target owner account is the associated account of the target owner terminal;
[0016] The property server generates the target token, associates the target token with the target owner account, and feeds the target token back to the target owner terminal;
[0017] The target owner terminal sends the target Token to the authentication device via near field communication.
[0018] According to some embodiments of the present invention, after determining the target owner account pre-associated with the target Token, the method further includes:
[0019] The property server pushes charging notification information to the target owner terminal;
[0020] When the property server obtains the charging confirmation instruction fed back by the target owner terminal, it controls the charging pile to start charging;
[0021] Alternatively, when the property server obtains the loss report instruction fed back by the target owner terminal, it sends a charging termination instruction to the charging pile, and the charging pile removes the target Token in the authentication device in response to the charging termination instruction.
[0022] According to some embodiments of the present invention, controlling the charging pile to start charging, when the charging pile is disconnected from the charging device, releasing the occupied state of the authentication device, and the property server constructing a target charging bill includes:
[0023] The property server obtains the target power pre-set by the target owner terminal and sends the target power to the charging pile;
[0024] The charging pile starts charging based on the target power, and when the charged power reaches the target power, the charging pile records the charging time as the first time and starts timing the second time;
[0025] When the charging pile is disconnected from the charging device, the occupancy status of the authentication device is released, and the first duration and the second duration are uploaded to the property server;
[0026] The property server obtains a first amount determined based on the first duration and a preset first rate, determines a second amount based on the second duration and a preset second rate, and constructs the target charging bill based on the first amount and the second amount.
[0027] According to some embodiments of the present invention, after controlling the charging pile to start charging, the method further includes:
[0028] When the charging pile detects that the signal strength between the charging pile and the authentication device gradually weakens during the charging process and the charging device maintains the connection state, the charging pile sends a charging maintenance request to the target owner terminal through the property server;
[0029] When the property server obtains the maintenance instruction fed back by the target owner terminal based on the charging maintenance request, the charging process is maintained;
[0030] Alternatively, when the property server obtains the interruption instruction fed back by the target owner terminal based on the charging maintenance request, it controls the charging pile to stop charging and plays a preset warning message.
[0031] According to some embodiments of the present invention, after associating the target charging bill with the target owner account, the following steps are included:
[0032] The property server obtains and settles the target charging bill based on the charging balance of the target owner's account;
[0033] When the target charging bill cannot be fully settled based on the charging balance, the unsettled charging difference is saved and the charging difference is accumulated into the charging arrears information of the target owner's account;
[0034] When the charging recharge information of the target owner's account is obtained, the charging balance and the charging arrears information are updated;
[0035] The property server updates the corresponding property management fee bill based on the charging arrears information of the target owner account according to the preset property payment cycle, and sends the property management fee bill to the target owner account.
[0036] In a second aspect, an embodiment of the present invention provides a charging control device based on automatic authentication, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the charging control method based on automatic authentication as described in the first aspect above.
[0037] In a third aspect, an embodiment of the present invention provides an electronic device, comprising the charging control device based on automatic authentication as described in the second aspect above.
[0038] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the charging control method based on automatic authentication as described in the first aspect above.
[0039] The automatic authentication-based charging control method according to an embodiment of the present invention has at least the following beneficial effects: the electric bicycle is connected to the charging pile via a charging device, the charging pile connects to the unoccupied authentication device via near-field communication, and the connection status of the authentication device is set to occupied; when the charging pile obtains a pre-set target token from the authentication device, it uploads the target token to the property management server; after the target token is successfully authenticated, the property management server determines the target owner account pre-associated with the target token; the charging pile is controlled to start charging; when the charging pile is disconnected from the charging device, the occupied status of the authentication device is released, and the property management server constructs a target charging bill and associates the target charging bill with the target owner account. According to the technical solution of an embodiment of the present invention, after the electric bicycle is connected to the charging pile, the charging pile automatically obtains the target token stored in the authentication device, automatically authenticates through the property management server, and automatically performs charging. The generated charging bill is associated with the bound target owner account, eliminating the need to operate a smart terminal on site, improving charging convenience and enhancing the resident experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a schematic diagram of a charging system provided by one embodiment of the present invention;
[0041] Figure 2 is a flow chart of a charging control method based on automatic authentication provided by another embodiment of the present invention;
[0042] Figure 3 is a complete flow chart of a charging control method based on automatic authentication provided by another embodiment of the present invention;
[0043] Figure 4 It is a structural diagram of a charging control device based on automatic authentication provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.
[0045] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they cannot be understood as limitations on the present invention.
[0046] In the description of the present invention, "several" means one or more, "many" means more than two, "greater than," "less than," and "exceed" are understood to exclude the number itself, while "above," "below," and "within" are understood to include the number itself. The use of "first" and "second" in the description is solely for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, implicitly specifying the number of the indicated technical features, or implicitly specifying the order of the indicated technical features.
[0047] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0048] The embodiments of the present invention provide a charging control method, device, equipment, and storage medium based on automatic authentication. The charging control method based on automatic authentication includes: an electric bicycle is connected to a charging pile via a charging device, the charging pile is connected to an unoccupied authentication device via near-field communication, and the connection status of the authentication device is set to occupied; when the charging pile obtains a pre-set target token from the authentication device, the target token is uploaded to a property management server; after the target token is authenticated, the property management server determines the target owner account pre-associated with the target token; the charging pile is controlled to start charging; when the charging pile is disconnected from the charging device, the occupied status of the authentication device is released, and the property management server constructs a target charging bill and associates the target charging bill with the target owner account. According to the technical solution of the embodiments of the present invention, after the electric bicycle is connected to the charging pile, the charging pile automatically obtains the target token stored in the authentication device, automatically authenticates through the property management server, and automatically performs charging. The generated charging bill is associated with the bound target owner account, eliminating the need to operate a smart terminal on site, thereby improving charging convenience and enhancing the resident experience.
[0049] First, refer to Figure 1 , Figure 1 This is a schematic diagram of a charging system provided in an embodiment of the present invention. This embodiment is applied to a charging system, which includes a charging pile 10, an authentication device 22, and a property server 30. The property server 30 is communicatively connected to the charging pile 10.
[0050] It should be noted that the electric bicycle 20 can be connected to the charging pile 10 through the charging device 21. The charging device 21 can be a common charging cable. The charging pile 10 of the electric bicycle 20 is different from that of the electric car. The charging device 21 of the electric bicycle 20 is usually not fixed in the charging pile 10, but is a portable device of the electric bicycle 20 and is inserted into the charging pile when charging is needed.
[0051] It should be noted that the authentication device 22 of this embodiment is an independent device that can be installed inside the electric bicycle 20 or as a portable device. This embodiment does not limit the specific form of the authentication device 22. The authentication device 22 includes a storage module and a wireless communication module. The wireless communication module can be a common module such as Bluetooth or NFC, which can establish a connection with the charging pile 10 through near-field communication. The storage module can be a common non-volatile storage medium. The data volume of the target Token is small, and the storage module can store the target Token. Those skilled in the art are familiar with how to integrate a wireless communication module and a storage module in one device. When the authentication device is built into the electric bicycle, it can share the power supply of the electric bicycle as the working power supply. If the authentication device is a portable device, a corresponding power supply can be set in the authentication device. The specific structure of the authentication device 22 is not limited here.
[0052] It should be noted that the charging pile 10 has a built-in wireless communication module that is the same as the authentication device 22. Taking Bluetooth as an example, the charging pile 10 also has a built-in Bluetooth module. After the charging pile 10 is connected to the charging device 21, the charging pile 10 automatically starts a Bluetooth search, establishes a connection with the authentication device 22, and reads the target Token from the storage module.
[0053] It should be noted that this embodiment is applied to a residential community. The property server 30 is the server of the property APP used by the residential community. Residents of the residential community can launch the property APP through the target owner terminal 40 to access the property server 30 and perform subsequent related binding, recharging or payment operations in the property APP. Of course, multiple charging piles 10 can be set up in the residential community, and each charging pile 10 can be connected to the property server 30 via a wired network, so that the property server 30 can communicate with the charging pile 10.
[0054] The following is based on the Figure 1 The charging system shown is used to further illustrate the technical solution of the embodiment of the present invention.
[0055] Reference Figure 2 , Figure 2 A flowchart of a charging control method based on automatic authentication provided by an embodiment of the present invention includes but is not limited to the following steps:
[0056] S10, the electric bicycle is connected to the charging pile via a charging device, and the charging pile connects to an unoccupied authentication device via near-field communication, setting the connection state of the authentication device to an occupied state;
[0057] S20, when the charging pile obtains the preset target token from the authentication device, it uploads the target token to the property server;
[0058] S30, after the target Token is authenticated, the property server determines the target owner account pre-associated with the target Token;
[0059] S40, control the charging pile to start charging. When the charging pile is disconnected from the charging device, the occupancy status of the authentication device is released, and the property server constructs a target charging bill and associates the target charging bill with the target owner account.
[0060] It should be noted that the technical solution of this embodiment incorporates a target token stored in an authentication device within the electric bicycle. The charging station can connect to the authentication device and obtain the target token for automatic authentication, eliminating the need for on-site operation of a smart terminal. If the electric bicycle does not have an authentication device, this embodiment does not exist and the charging process can be performed using existing technologies, which is beyond the scope of this embodiment.
[0061] It should be noted that in a residential community scenario, multiple electric bicycle charging piles are usually set up in one area, and it is very likely that multiple electric bicycles carrying authentication devices are in charging status at the same time. Since the charging pile is connected to the authentication device via near-field communication methods such as Bluetooth or NFC, in order to avoid the charging pile from mistakenly connecting to the authentication device of other electric bicycles, this embodiment sets the successfully connected authentication device to the occupied state, and the charging pile can only connect to an unoccupied authentication device to ensure that the charging pile is connected to the correct authentication device.
[0062] For example, the charging area includes an electric bicycle A that is connected to charging pile A for charging. Electric bicycle A is equipped with authentication device A. When electric bicycle B equipped with authentication device B is connected to charging pile B, charging pile B starts Bluetooth scanning for nearby authentication devices. Authentication device A is in the occupied state and will not be recognized. Only authentication device B can be recognized. After the connection is established, authentication device B is set to the occupied state, and the target Token is obtained from authentication device B for authentication, and then the charging of electric bicycle B is started.
[0063] It should be noted that this embodiment uses the wired connection of the charging device to trigger the charging pile connection authentication device, which can ensure that the electric bicycle and the charging pile are connected through the charging cable before the charging pile triggers the authentication process, avoiding the lack of a charging cable after the authentication is passed, which affects the normal operation of the system.
[0064] It should be noted that the authentication device and the charging pile can be set as trusted devices to each other when leaving the factory. When scanning, the charging pile only needs to determine whether the authentication device can be connected based on whether it is occupied. When it scans an unoccupied authentication device, it will directly connect without entering relevant verification information, eliminating the need to use a smart terminal to enter relevant information.
[0065] It should be noted that different authentication devices store different target tokens, ensuring the uniqueness of the target token and being able to associate it with the corresponding target owner account. The target token can be written into the authentication device in advance through the target owner terminal, or after the electric bicycle is connected to the charging pile for the first time, the target owner terminal can be used to register on the property server. The property server allocates a unique target token and sends it to the authentication device through the charging pile. This embodiment does not completely eliminate the need for the target owner terminal to perform any operation, but only requires one operation to be performed on the target owner terminal so that the authentication device can be issued the target token, and in subsequent use, automatic authentication can be triggered based on the target token written in the first operation.
[0066] For example, after purchasing an electric bicycle and an authentication device, owner A performs relevant operations through the target owner terminal to obtain the target Token and sends it to the authentication device. Owner B, who is not familiar with the operation of smart terminals at home, only needs to carry the authentication device every time he uses the electric bicycle subsequently. After the charging pile is inserted into the electric bicycle, it automatically authenticates based on the target Token and starts charging. There is no need to operate the smart terminal again, which improves the charging convenience of the electric bicycle.
[0067] It should be noted that Token is authentication information commonly used by those skilled in the art. This embodiment does not involve how to generate a Token and how to perform authentication based on a Token, and will not be further elaborated on later.
[0068] It should be noted that the property server is based on the community scenario, and each owner is pre-bound with a corresponding owner account to facilitate relevant property charges. In this embodiment, after the charging pile uploads the target Token and passes the authentication, the target owner account corresponding to the target Token is further determined through the property server, so that the generated target charging bill can be directly linked to the target owner account for settlement. There is no need to use a smart terminal for payment at the charging site. After the target Token is set in the authentication device, the charging and payment process of the electric bicycle does not require the intervention of the smart terminal, further improving the charging convenience of the electric bicycle.
[0069] For example, continuing with the above-mentioned embodiment of owner B charging, after owner B completes charging, he can simply unplug the charging device and leave the site. The property server automatically associates the target charging bill with the target owner account, and owner A, who is familiar with using smart terminals, completes the relevant payment. Business B does not need to use the smart terminal to perform any operations.
[0070] It should be noted that, in this embodiment, the unplugging of the charging device from the charging pile is used as a trigger condition for the contact authentication device to be in the occupied state. When the charging device is not unplugged from the charging pile, the electric bicycle may also consume a certain amount of electricity in the standby state. The charging pile can maintain the charging state to ensure that the electric bicycle is in a fully charged state. In addition, if the occupied state of the authentication device is released too early, it is very likely that another electric bicycle will be connected to the charging device at another charging pile without the owner taking away the electric bicycle, causing another charging pile to be connected to this authentication device, affecting the compliance of the automatic authentication.
[0071] For example, if electric bicycle A is fully charged, charging pile A disconnects from authentication device A, and authentication device A is unoccupied, owner A is not present. Electric bicycle A and charging pile A are still connected via the charging device. Electric bicycle B is then connected to charging pile B, which performs a Bluetooth scan and simultaneously searches for authentication device A and B. If electric bicycle A is not positioned correctly, authentication device A is closer to charging pile B than authentication device B of electric bicycle B, charging pile B is likely to connect to authentication device A. If charging is started, electric bicycle B's charging bill will be associated with owner A, causing problems. Based on this, charging pile A in this embodiment maintains its connection with authentication device A, so charging pile B will not mistakenly connect to authentication device A during the scan, ensuring that each target charging bill is associated with the correct target owner account.
[0072] Through the technical solution of this embodiment, an authentication device is added to the electric bicycle. After the target token associated with the target owner's account is sent to the authentication device, when the electric bicycle is connected to the charging station, the charging station can connect to the correct authentication device based on the occupancy status, obtain the target token from it, and then automatically authenticate the property server. After authentication is successful, charging automatically starts, and a target charging bill is generated based on the charging costs incurred, and the target charging bill is associated with the target owner's account. If the authentication device has the target token, no operation is required using a smart terminal at the charging site, which improves the convenience of charging the electric bicycle.
[0073] In addition, in one embodiment, referring to Figure 3 After executing step S10, the following steps are also included but not limited to:
[0074] S11, when the charging pile fails to obtain the target token from the authentication device, obtains the first device identifier from the electric bicycle through the charging device, constructs a matching identifier pair based on the first device identifier and the second device identifier, and uploads the matching identifier pair to the property server, wherein the first device identifier is used to uniquely identify the electric bicycle, and the second device identifier is used to uniquely identify the charging pile;
[0075] S12, the target owner terminal logs in to the property management server, searches for a matching identifier pair based on the second device identifier, and binds the first device identifier and the target owner account, where the target owner account is the associated account of the target owner terminal;
[0076] S13: The property server generates a target token, associates the target token with the target owner's account, and sends the target token to the authentication device through the charging pile.
[0077] It should be noted that in this embodiment, when an electric bicycle is first connected to a charging station, it is registered with the property management server through the target owner's terminal. After the property management server binds the electric bicycle to the target owner's account, the property management server generates a target token and sends it to the authentication device through the charging station. This enables automatic authentication based on the target token when the electric bicycle is charged again. In other words, this embodiment requires the target owner's terminal to perform relevant operations when the electric bicycle is first connected to the charging station to create a data foundation for subsequent automatic authentication.
[0078] For example, referring to the above-mentioned embodiments of owner A and owner B, owner A is familiar with the operation of the smart terminal. When the electric bicycle is connected to the charging pile for the first time, owner A performs a registration operation through the target owner terminal. After completing the issuance of the target Token, it is handed over to owner B who is not familiar with the smart terminal for use. Owner B does not need to operate the target owner terminal again to complete the charging, thereby improving the charging convenience for residents who are not familiar with smart terminals.
[0079] It should be noted that when an e-bike is first connected to a charging station, the charging station establishes a connection with the authentication device, but fails to obtain the target token from the authentication device, failing to trigger the automatic authentication process. At this point, the charging station determines that the e-bike is connected for the first time and triggers the registration process. During the registration process, the charging station and the e-bike are connected by wire via the charging device. This allows the charging station to obtain the first device identifier from the e-bike's control system and, combined with the charging station's own second device identifier, construct a matching identifier pair. This allows the target owner's terminal to find the correct binding information after logging into the property management server.
[0080] For example, a second device identifier can be recorded on the exterior of the charging pile. The second device identifier can be descriptive information about the charging pile, such as "Community A - Charging Area A-3 Charging Pile." The first device identifier can be the model of the electric vehicle or a user-defined identifier. The target owner terminal can register by scanning the QR code on the charging pile or opening the property management app and entering the second device identifier on the registration interface. For example, search for "Community A - Charging Area A-3 Charging Pile" on the registration interface, or click "Community A - Charging Area A-3 Charging Pile" on the charging pile list. A matching identifier pair will pop up. After the target owner terminal confirms that the first device identifier is their electric bicycle, they confirm the binding. The property management server binds the first device identifier to the target owner's account, providing a basis for subsequent bill payments.
[0081] It should be noted that after the property management server generates the target token, it associates it with the target owner's account, establishing a mapping chain between the first device identifier, the target token, and the target owner's account, providing information for subsequent identification. After the property management server sends the target token to the charging station, the charging station can write the target token to the authentication device via Bluetooth, thus completing all information configuration during the first charge, eliminating the need to use the smart terminal again for subsequent use.
[0082] In addition, in one embodiment, referring to Figure 3 Before executing step S10, the following steps are also included but not limited to:
[0083] S101, the target owner terminal logs in to the property server, enters the first device identifier of the electric bicycle and binds the target owner account, wherein the target owner account is the associated account of the target owner terminal;
[0084] S102: The property management server generates a target token, associates the target token with the target owner's account, and sends the target token back to the target owner's terminal;
[0085] S103: The target owner terminal sends the target Token to the authentication device via near field communication.
[0086] It should be noted that the target owner terminal, as a smart terminal, can also have near-field communication capabilities, can access the authentication device and perform related read and write operations. In this embodiment, the registration is completed through the target owner terminal before the electric bicycle is connected to the charging pile for charging. The target owner terminal is used as an information intermediary to forward the target Token generated by the property server to the authentication device, so that even if the electric bicycle is connected to the charging pile for the first time, it can be automatically authenticated based on the target Token.
[0087] It should be noted that the target owner's terminal can obtain the first device identifier by scanning the e-bike's QR code, for example. This embodiment does not limit the method for obtaining the first device identifier. After obtaining the first device identifier, the first device identifier and the target owner's account are bound on the property management app's registration page, triggering the property management server to generate a target token. Subsequent steps can be referred to the description of the above embodiment and will not be elaborated here.
[0088] In addition, in one embodiment, referring to Figure 3 After executing step S30, the following steps are also included but not limited to:
[0089] S31, the property server pushes charging notification information to the target owner's terminal;
[0090] S32, when the property server obtains the charging confirmation instruction fed back by the target owner's terminal, it controls the charging pile to start charging;
[0091] S33, when the property server obtains the loss report instruction fed back by the target owner terminal, it sends a charging termination instruction to the charging pile. In response to the charging termination instruction, the charging pile removes the target Token in the authentication device.
[0092] It's important to note that after the property management server completes authentication based on the target token, it pushes charging notifications to the target owner's terminal, allowing them to be aware of every charging operation and avoid disputes over the target's charging bill. After receiving the charging confirmation from the target owner's terminal, they can confirm that the charging process meets the owner's needs and proceed with the charging process.
[0093] It should be noted that, according to the description of the above-mentioned charging system embodiment, the authentication device can be a portable device. Once the authentication device is lost and used by other users, although it is possible to determine whether the current electric bicycle is a bound device through the associated first device identifier, the device identifier of the electric bicycle is also subject to tampering. Therefore, after obtaining the report loss instruction, this embodiment stops charging and removes the target Token in the authentication device, so that the authentication device cannot be used again before it is legally re-bound, in order to ensure the reliability of the target charging bill.
[0094] In addition, in one embodiment, referring to Figure 3 Step S40 specifically includes but is not limited to the following steps:
[0095] S41: The property management server obtains the target power pre-set by the target owner's terminal and sends the target power to the charging pile;
[0096] S42: The charging pile starts charging based on the target power. When the charged power reaches the target power, the charging pile records the charging time as the first time and starts timing the second time.
[0097] S43, when the charging pile is disconnected from the charging device, the occupancy status of the authentication device is released, and the first duration and the second duration are uploaded to the property server;
[0098] S44, the property server obtains a first amount determined based on the first duration and a preset first rate, determines a second amount based on the second duration and a preset second rate, and constructs a target charging bill based on the first amount and the second amount.
[0099] It should be noted that in this embodiment, when the authentication device has the target Token, no terminal operation is required. In order to improve charging flexibility, the target power can be configured through the target owner's terminal. After the target Token is authenticated, the property server obtains the corresponding target power according to the association between the target Token and the target owner's account, thereby realizing flexible configuration of charging capacity. It is worth noting that the charging pile of the electric bicycle is not the owner's personal
[0100] It should be noted that after the property server completes authentication based on the target Token and sends a charging instruction to the charging pile, the charging pile starts charging and records the start time. After charging is completed based on the target power, the stop time is recorded to determine the first duration. The first duration is the charging duration. The first amount is determined according to the preset first rate, and the first amount is used to represent the relevant costs generated by charging.
[0101] It should be noted that the charging piles in the community are public resources. If the electric bicycle still occupies the charging pile for a long time after charging is completed, it will affect the user experience of other residents. This embodiment introduces the target power, which not only enables the customization of the charging amount, but also sends a charging completion prompt message to the target owner's account after the power required by the residents is fully charged, so as to remind the corresponding owner to remove the electric bicycle that has been charged as soon as possible, thereby improving the utilization rate of public resources. On this basis, this embodiment uses the disconnection between the charging pile and the charging device as the basis for identifying the removal of the electric bicycle. Before this, the occupancy status of the authentication device is maintained to avoid being mistakenly connected to other charging piles, and the timing is continued to obtain a second duration. The second duration is used to represent the time from the completion of charging to the removal of the electric bicycle. The second amount is calculated based on the second rate as the occupancy fee for the charging pile when not charging. The first rate and the second rate can be set according to actual needs and are not limited here.
[0102] In addition, in one embodiment, referring to Figure 3 In step S40, after controlling the charging pile to start charging, the following steps are also included but not limited to:
[0103] S45, when the charging pile detects that the signal strength between the charging pile and the authentication device gradually weakens during the charging process, and the charging device remains connected, the charging pile sends a charging maintenance request to the target owner terminal through the property server;
[0104] S46, when the property server obtains the maintenance instruction fed back by the target owner terminal based on the charging maintenance request, the charging process is maintained;
[0105] S47, when the property server obtains the interruption instruction fed back by the target owner terminal based on the charging maintenance request, it controls the charging pile to stop charging and plays a preset warning message.
[0106] It should be noted that, according to the description of the above embodiment, the authentication device can be a portable device. Community charging stations are typically located in public areas, and charging an electric bicycle takes time. Owners typically do not stay near their electric bicycles. To ensure the security of the authentication device, owners often take the authentication device with them when leaving their electric bicycles. Consequently, wireless communication between the authentication device and the charging station may be disconnected due to distance. To ensure continuous charging, this embodiment uses the charging station to monitor the signal strength between the authentication device and the charging station in real time. When a signal strength decreases, such as when the number of consecutive signal strength decreases reaches a preset threshold, the charging station sends a charge maintenance request to the target owner's terminal before the connection between the charging station and the authentication device is completely disconnected. If the target owner's terminal responds with a maintain command, it can be determined that the authentication device was taken away with the owner's knowledge. The charging process is maintained and the target token is no longer relied upon during this charging process. If an interrupt command is received, it can be determined that the authentication device was not authorized by the owner, and there is a risk of loss of the authentication device. The charging station is then controlled to stop charging and play a warning message, thereby improving the security of the authentication device.
[0107] In addition, in one embodiment, referring to Figure 3 After executing step S40, the following steps are also included but not limited to:
[0108] S51, the property server obtains a target charging bill based on the charging balance of the target owner's account;
[0109] S52, when the target charging bill cannot be fully settled based on the charging balance, the unsettled charging difference is saved and the charging difference is accumulated into the charging arrears information of the target owner's account;
[0110] S53, when the charging recharge information of the target owner's account is obtained, the charging balance and charging arrears information are updated;
[0111] S54, the property server updates the corresponding property management fee bill based on the charging arrears information of the target owner account according to the preset property payment cycle, and sends the property management fee bill to the target owner account.
[0112] It should be noted that, according to the description of the above embodiment, the target owner terminal can connect to the property server through the property APP, so that relevant recharge operations can be performed on the property server, so that the target owner account is associated with a certain charging balance. The specific recharge operation is a technology well known to those skilled in the art and will not be elaborated here.
[0113] It should be noted that when settling the target charging bill based on the charging balance, it is very likely that the charging balance will be insufficient. This embodiment aims to reduce terminal operations at the charging site, and this embodiment is applied to the community scenario. Each electric bicycle is bound to the target owner account based on the first device identifier. The target owner account corresponds to the actual owner in the community. Therefore, after determining the charging difference, there is no need to complete the payment on site. Instead, the charging arrears information is associated with the target owner account on the property server. The electric bicycles on site can leave smoothly, and the subsequent payment can effectively improve the on-site resident experience.
[0114] It should be noted that after constructing the charging arrears information, the target owner terminal can further recharge the target owner account to complete the payment of relevant arrears. If the target owner account fails to complete the payment within the property payment period, this embodiment further updates the property management fee bill based on the charging arrears information, and the property server advances the charging difference, reminding the owner to pay the relevant fees in time in the form of property management fees, thereby improving the convenience of the owner.
[0115] like Figure 4 As shown, Figure 4 The present invention also provides a charging control device based on automatic authentication, including:
[0116] The processor 401 may be implemented as a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0117] The memory 402 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 402 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 402 and is called by the processor 401 to execute the charging control method based on automatic authentication in the embodiments of this application.
[0118] Input / output interface 403, used to implement information input and output;
[0119] Communication interface 404, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WiFi, Bluetooth, etc.);
[0120] Bus 405 , which transmits information between various components of the device (e.g., processor 401 , memory 402 , input / output interface 403 , and communication interface 404 );
[0121] The processor 401 , the memory 402 , the input / output interface 403 and the communication interface 404 are connected to each other in communication within the device via a bus 405 .
[0122] An embodiment of the present application further provides an electronic device, comprising the charging control device based on automatic authentication as described above.
[0123] An embodiment of the present application further provides a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed by a processor, the above-mentioned charging control method based on automatic authentication is implemented.
[0124] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory optionally includes a memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of the above-mentioned networks include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0125] Those skilled in the art will appreciate that all or some of the steps and systems disclosed above can be implemented as software, firmware, hardware, or any suitable combination thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is well known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVDs) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0126] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above implementation. Those skilled in the art can also make various equivalent modifications or substitutions under the shared conditions that do not violate the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A charging control method based on automatic authentication, characterized in that: Applied to a charging system, the charging system includes a charging pile, an authentication device, and a property server, the property server is communicatively connected with the charging pile, and the charging control method based on automatic authentication includes: The electric bicycle is connected to the charging pile by wire through a charging device, and the charging pile is connected to the unoccupied authentication device through near field communication, and the connection state of the authentication device is set to an occupied state; When the charging pile obtains the preset target Token from the authentication device, the target Token is uploaded to the property server; After the target Token is authenticated, the property server determines the target owner account pre-associated with the target Token; Controlling the charging pile to start charging, when the charging pile is disconnected from the charging device, releasing the occupied state of the authentication device, the property server constructs a target charging bill, and associates the target charging bill with the target owner account; After setting the connection state of the authentication device to an occupied state, the method further comprises: When the charging pile fails to obtain the target Token from the authentication device, the charging device obtains the first device identification from the electric bicycle, a matching identification pair is constructed based on the first device identification and the second device identification, and the matching identification pair is uploaded to the property server, wherein the first device identification is used to uniquely identify the electric bicycle, and the second device identification is used to uniquely identify the charging pile; The target owner terminal logs in to the property server, searches for the matching identifier pair based on the second device identifier, and binds the first device identifier and the target owner account, wherein the target owner account is an associated account of the target owner terminal; The property server generates the target Token, associates the target Token with the target owner account, and sends the target Token to the authentication device through the charging pile.
2. The charging control method based on automatic authentication according to claim 1, characterized in that: Before the electric bicycle is connected to the charging pile by wire through the charging device, the method further includes: The target owner terminal logs in to the property server, inputs the first device identification of the electric bicycle and binds the target owner account, wherein the target owner account is an associated account of the target owner terminal; The property server generates the target Token, associates the target Token with the target owner account, and feeds the target Token back to the target owner terminal; The target owner terminal sends the target Token to the authentication device through near field communication.
3. The charging control method based on automatic authentication according to claim 1 or 2, characterized in that: After determining the target owner account pre-associated with the target Token, the method further includes: The property server pushes charging notification information to the target owner terminal; When the property server obtains the charging confirmation instruction fed back by the target owner terminal, it controls the charging pile to start charging; Alternatively, when the property server obtains the loss report instruction fed back by the target owner terminal, it sends a charging termination instruction to the charging pile, and the charging pile removes the target Token in the authentication device in response to the charging termination instruction.
4. The charging control method based on automatic authentication according to claim 3, characterized in that: Controlling the charging pile to start charging, when the charging pile is disconnected from the charging device, releasing the occupied state of the authentication device, and the property server constructing a target charging bill, including: The property server obtains the target power pre-set by the target owner terminal, and sends the target power to the charging pile; The charging pile starts charging based on the target power, and when the charged power reaches the target power, the charging pile records the charging time as the first time and starts timing the second time; When the charging pile is disconnected from the charging device, the occupancy state of the authentication device is released, and the first duration and the second duration are uploaded to the property server; The property server obtains a first amount determined based on the first duration and a preset first rate, determines a second amount based on the second duration and a preset second rate, and constructs the target charging bill based on the first amount and the second amount.
5. The charging control method based on automatic authentication according to claim 1 or 2, characterized in that: After controlling the charging pile to start charging, the method further includes: When the charging pile detects that the signal strength between the charging pile and the authentication device is gradually weakened during the charging process, and the charging device maintains the connection state, the charging pile sends a charging maintenance request to the target owner terminal through the property server; When the property server obtains the maintenance instruction fed back by the target owner terminal based on the charging maintenance request, the charging process is maintained; Alternatively, when the property server obtains the interruption instruction fed back by the target owner terminal based on the charging maintenance request, it controls the charging pile to stop charging and plays a preset warning message.
6. The charging control method based on automatic authentication according to claim 1, characterized in that: After associating the target charging bill with the target owner account, the following steps are included: The property server obtains and settles the target charging bill based on the charging balance of the target owner's account; When the target charging bill cannot be fully settled based on the charging balance, the unsettled charging difference is saved, and the charging difference is accumulated to the charging arrears information of the target owner's account; When the charging recharge information of the target owner's account is obtained, the charging balance and the charging arrears information are updated; The property server updates the corresponding property management fee bill according to the preset property payment cycle and the charging arrears information of the target owner account, and sends the property management fee bill to the target owner account.
7. A charging control device based on automatic authentication, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the charging control method based on automatic authentication as described in any one of claims 1 to 6.
8. An electronic device, characterized in that: Including the charging control device based on automatic authentication as described in claim 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the charging control method based on automatic authentication as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Billing processing method and equipment and vehicle payment system
CN108320388A
Fee charging method for charging, computer equipment and storage medium
CN109903466A
Electric bicycle charging method based on power line carrier communication
CN114987268A