Identification method of shared mobile power and shared charging cabinet machine

By setting up multiple near-field communication antennas and dual buffers in the charging cabinet, and combining plaintext information and authentication keys, the problem of identification errors when returning shared power banks is solved, and accurate identification is achieved when multiple shared power banks are returned at the same time, which improves identification stability and reduces costs.

CN120260182BActive Publication Date: 2026-11-20HANGZHOU XPOWER TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510376736.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2026-11-20
Estimated Expiration
2045-03-27

AI Technical Summary

Technical Problem

In existing technologies, the POGO PIN of shared power banks may be dirty or worn, leading to identification errors, and NFC tags cannot be distinguished within the same antenna range, resulting in the inability to accurately identify the return of shared power banks.

Method used

Multiple near-field communication antennas are installed in the charging cabinet, and the top and bottom of the charging compartments are equipped with scanning functions. Through a double buffer and server deduplication mechanism, combined with plaintext information and authentication keys, the shared mobile power bank can be accurately identified.

Benefits of technology

When multiple shared power banks are returned simultaneously, the system can accurately identify each power bank, improving identification stability, reducing production costs, and minimizing identification errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120260182B_ABST
    Figure CN120260182B_ABST
Patent Text Reader

Abstract

The application relates to a shared mobile power supply identification method and a shared charging cabinet machine, wherein the shared mobile power supply identification method comprises the following steps: scanning near field communication tags on the top and the bottom of all charging positions through a near field communication antenna, and storing identification data in at least one target near field communication tag scanned into a corresponding double buffer area; wherein the target near field communication tag is a near field communication tag built in a newly-charged shared mobile power supply; the identification data in all double buffer areas is deduplicated, and the deduplicated identification data is reported to a server, so as to identify the near field communication tag built in the newly-charged shared mobile power supply. The application can realize the identification of different shared mobile power supplies based on NFC communication in the case that multiple shared mobile power supplies with shielded POGO PINs are returned at the same time, so that the accurate identification of the shared mobile power supply can be realized based on NFC communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of mobile power bank identification, and in particular to identification methods for shared mobile power banks and shared charging cabinets. Background Technology

[0002] Shared power banks provide convenience for people's travel and alleviate anxiety about mobile phone battery life when out and about. Currently, when users return shared power banks to a locker, the locker typically obtains the unique identifier (ID) and battery level of the returned power bank by contacting its metal contacts (POGO PIN) and communicating with the power bank through a protocol.

[0003] Due to environmental factors, the POGO PIN of shared power banks may become dirty or worn, leading to poor contact and identification errors upon return, preventing the timely termination of the shared power bank rental order. Furthermore, in Near Field Communication (NFC) technology, when multiple NFC tags share the same NFC antenna, two NFC tags may be within the same NFC antenna's magnetic field range, making it impossible to distinguish their exact location. Therefore, it is currently not possible to successfully use NFC technology for the return identification of shared power banks.

[0004] There is currently no effective solution to the problem that related technologies cannot accurately identify shared mobile power banks based on near-field communication. Summary of the Invention

[0005] This embodiment provides a method for identifying shared mobile power banks and a shared charging cabinet to solve the problem in related technologies that it is impossible to accurately identify shared mobile power banks based on near-field communication.

[0006] Firstly, this embodiment provides a method for identifying shared power banks, using a near-field communication (NFC) reader within a shared charging cabinet. The shared charging cabinet also includes multiple charging bays and multiple NFC antennas. Each charging bay has a NFC-based scanning function at both its top and bottom, and each charging bay is equipped with a double buffer zone. The method includes:

[0007] The near-field communication antenna scans the top and bottom of all the charging compartments with near-field communication tags, and stores the identification data in at least one target near-field communication tag into the corresponding double buffer; wherein, the target near-field communication tag is the near-field communication tag built into the shared power bank that has just entered the compartment;

[0008] All the identification data in the double buffer are deduplicated, and the deduplicated identification data is reported to the server to identify the near-field communication tag built into the newly entered shared power bank.

[0009] In some embodiments, the identification data is plaintext information pre-written into the target near-field communication tag; deduplication of the identification data in all the double buffers is performed, and the deduplicated identification data is reported to the server to identify the near-field communication tag built into the newly arrived shared power bank, including:

[0010] The deduplicated plaintext information is then reported to the server.

[0011] Obtain the information pair sent by the server based on the reported plaintext information; the information pair includes an authentication key and plaintext information associated with the authentication key;

[0012] Based on the information pair, an authentication key associated with the read target near-field communication tag is determined, and the newly entered shared power bank is identified according to the authentication key.

[0013] In some embodiments, based on the information pair, an authentication key associated with the read target near-field communication tag is determined, and the newly arrived shared power bank is identified according to the authentication key, including:

[0014] Based on the plaintext information in the information pair, determine the target near-field communication tag associated with the information pair;

[0015] Based on the association between the information pair and the target near-field communication tag, the association between the authentication key in the information pair and the target near-field communication tag is determined.

[0016] In some embodiments, based on the information pair, an authentication key associated with the read target near-field communication tag is determined, and the newly arrived shared power bank is identified according to the authentication key, including:

[0017] The target near-field communication tag is authenticated using the authentication key associated with it, and the encrypted information of the target near-field communication tag is obtained after successful authentication. The encrypted information is unreadable and unwritable before successful authentication.

[0018] The encrypted information is sent to the server so that the server can identify the newly arrived shared power bank based on the encrypted information and terminate the corresponding rental order upon successful identification.

[0019] In some embodiments, the target near-field communication tag is pre-written with a corresponding shared power bank internal code; the internal code is associated with the metal contacts of the shared power bank.

[0020] In some embodiments, the method further includes:

[0021] When two target near-field communication tags are scanned simultaneously, and the internal code is read through the metal contact of one of the shared power banks, the internal codes obtained through the two target near-field communication tags are compared with the internal codes read through the metal contact. Based on the comparison results of the internal codes, the shared power banks corresponding to the two charging compartments are determined, so as to identify the shared power banks respectively.

[0022] In some embodiments, when communicating with a target near-field communication tag within the charging compartment, the method further includes:

[0023] When multiple unique identifiers of target near-field communication tags are read, one of the unique identifiers is selected as the target identifier from the multiple unique identifiers;

[0024] The target near-field communication tag corresponding to the target identifier is activated and communication is initiated.

[0025] In some embodiments, the data communication process with the target near-field communication tag includes:

[0026] When receiving tag signals generated by multiple target near-field communication tags, the tag signals whose signal strength matches the corresponding signal level are amplified sequentially according to a preset number of signal levels, and the data in the corresponding target near-field communication tag is identified based on the amplified signal.

[0027] In some embodiments, the method further includes:

[0028] The shared power bank that fails to be identified will be ejected from the charging compartment.

[0029] Secondly, this embodiment provides a shared charging cabinet, including: multiple charging bays, multiple near-field communication antennas, and a near-field communication card reader; wherein:

[0030] The shared charging cabinet is arranged in a preset direction with a near-field communication antenna between every two charging compartments, and each charging compartment has a near-field communication antenna at the top and bottom; the preset direction is perpendicular to the front orientation of the shared power bank when it is inserted into the charging compartment;

[0031] The near-field communication antenna is used to transmit electromagnetic waves;

[0032] The near-field communication card reader is used to perform the shared mobile power bank identification method described in the first aspect above.

[0033] Compared with related technologies, this embodiment provides a method for identifying shared power banks and a shared charging cabinet. The method for identifying shared power banks involves scanning the top and bottom of all charging compartments with near-field communication (NFC) tags using a NFC antenna, and storing the identification data from at least one target NFC tag in a corresponding double buffer. The target NFC tag is the NFC tag embedded in a newly added shared power bank. All identification data in the double buffers is deduplicated, and the deduplicated identification data is reported to a server to identify the NFC tag embedded in the newly added shared power bank. This method, based on NFC communication, enables the identification of different shared power banks even when multiple shared power banks with obscured POGO PINs are returned simultaneously, thus successfully and accurately identifying shared power banks based on NFC communication.

[0034] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description

[0035] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0036] Figure 1 This is a hardware structure block diagram of the terminal of the shared mobile power bank identification method in this embodiment;

[0037] Figure 2 This is a flowchart of the shared mobile power bank identification method in this embodiment;

[0038] Figure 3 This is a state diagram of an NFC tag in this embodiment;

[0039] Figure 4 This is a flowchart of a method for reading plaintext information for a charging cabinet, which is one of some embodiments;

[0040] Figure 5 This is a flowchart of a method for reading encrypted information for a charging cabinet, which is one of some embodiments;

[0041] Figure 6 This is a structural schematic diagram of the shared charging cabinet in this embodiment. Detailed Implementation

[0042] To better understand the purpose, technical solution, and advantages of this application, the application is described and explained below in conjunction with the accompanying drawings and embodiments.

[0043] Unless otherwise defined, the technical or scientific terms used in this application shall have the general meaning as understood by one of ordinary skill in the art to which this application pertains. Words such as “a,” “an,” “an,” “the,” “the,” and “these,” used in this application, do not indicate quantitative limitation and may be singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or modules (units) is not limited to the listed steps or modules (units) but may include steps or modules (units) not listed, or may include other steps or modules (units) inherent to such processes, methods, products, or devices. The terms “connected,” “linked,” and “coupled,” used in this application, are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. The term “multiple” used in this application refers to two or more. The "and / or" operator describes the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: A alone, A and B simultaneously, and B alone. Typically, the character " / " indicates that the objects before and after it are in an "or" relationship. The terms "first," "second," and "third," etc., used in this application are merely for distinguishing similar objects and do not represent a specific ordering of the objects.

[0044] The method embodiments provided in this example can be executed on a terminal, computer, or similar computing device. For example, it can run on a terminal. Figure 1 This is a hardware structure block diagram of the terminal for the shared mobile power bank identification method of this embodiment. For example... Figure 1 As shown, a terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 and a memory 104 for storing data are also included. The processor 102 may be, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). The terminal may also include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that… Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the terminal described above. For example, the terminal may also include components that are larger than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown are illustrated.

[0045] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the shared mobile power bank identification method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0046] The transmission device 106 is used to receive or send data via a network. This network includes a wireless network provided by the terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 can be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0047] This embodiment provides a method for identifying shared mobile power banks, using a near-field communication card reader inside a shared charging cabinet. The shared charging cabinet also includes multiple charging compartments and multiple near-field communication antennas. With the arrangement of the near-field communication antennas, the top and bottom of each charging compartment have near-field communication-based scanning functions. Each charging compartment is equipped with a double buffer zone. Figure 2 This is a flowchart of the shared mobile power bank identification method in this embodiment, as shown below. Figure 2 As shown, the process includes the following steps:

[0048] Step S210: Scan the top and bottom of all charging compartments with near-field communication tags using a near-field communication antenna, and store the identification data in at least one target near-field communication tag in the corresponding double buffer; wherein, the target near-field communication tag is the near-field communication tag built into the newly entered shared power bank.

[0049] Understandably, since each charging compartment in the charging cabinet has NFC scanning functionality on both the top and bottom, a shared power bank with an NFC tag on one side can communicate with the card reader inside the charging cabinet via NFC when returned to the charging compartment, regardless of whether it is returned face up or face down, thus enabling NFC-based identification of the shared power bank.

[0050] An NFC tag can be installed in the shared power bank used with the charging station. The NFC tag can be installed on one side only. Due to interference from the battery cells and the circuit board inside the shared power bank, the NFC signal cannot penetrate the power bank itself. If the side of the power bank with the NFC tag is against the top of the charging compartment when returned, it will be detected using the near-field communication (NFC) function at the top of the charging compartment. If the side of the power bank with the NFC tag is against the bottom of the charging compartment when returned, it will be detected using the NFC function at the bottom of the charging compartment.

[0051] Furthermore, for shared power bank identification via NFC communication, a dual buffer is set up for each charging compartment. For example, for charging compartment 1, when performing NFC scanning on the top and bottom of charging compartment A using the NFC antenna, there is a possibility that an NFC tag A is scanned from the top and an NFC tag B is scanned from the bottom. Therefore, the tag data of the scanned NFC tag A can be stored in buffer 1 of the dual buffer of charging compartment 1, and the tag data of the scanned NFC tag B can be stored in buffer 2 of the dual buffer of charging compartment 1. In addition, there is also a possibility that an NFC scan of charging compartment A only scans one NFC tag; in this case, the tag data of the scanned NFC tag is stored in the corresponding dual buffer.

[0052] In some embodiments, NFC tag scanning of each charging compartment can be initiated periodically to determine if a shared power bank has been returned to the charging compartment. Additionally, in some embodiments, the NFC tag scanning can be initiated based on linkage with other sensors within the charging compartment, such as pressure sensors and photoelectric sensors.

[0053] Step S220: Deduplicate all identification data in the double buffer and report the deduplicated identification data to the server to identify the near-field communication tags built into the newly entered shared power banks.

[0054] In some cases, considering the possibility of multiple shared power banks being returned simultaneously, and the possibility that the metal contacts (POGO PINs) of all returned power banks are dirty or worn and fail to communicate with the charging compartments, it is theoretically impossible to directly associate the NFC tags of each returned power bank with a specific charging compartment. This is because two shared power banks may share a single NFC antenna, and the electromagnetic wave intensity at the distance between the two NFC tags and that antenna would be the same.

[0055] To address this, this step utilizes a dual buffer for each charging compartment, treating all scanned shared power banks as a single entity. Only the total number of scanned NFC tags and their corresponding antenna positions are counted. For example, by periodically scanning the top and bottom of each charging compartment, at most two NFC tags will be scanned per compartment. The readable data within these scanned NFC tags will then be written into the corresponding dual buffer of the charging compartment.

[0056] For example, charging slot 1 and charging slot 2 both share NFC antenna 2. Therefore, scanning the double buffer of charging slot 1 will result in NFC tag A and NFC tag B. Scanning the double buffer of charging slot 2 might result in NFC tag B and NFC tag C. During deduplication, the NFC tags scanned by charging slots 1 and 2 will be NFC tag A, NFC tag B, and NFC tag C. If six shared power banks are returned simultaneously, after deduplicating the double buffers for all charging slots in the entire machine, there will still be six NFC tags. The tag data corresponding to these six NFC tags can be reported to the server to complete the subsequent identification of the shared power banks, thus ending the corresponding rental order upon successful identification.

[0057] In the actual return process of shared power banks with built-in NFC tags, there are two scenarios: valid POGO PIN and invalid POGO PIN. An invalid POGO PIN means the POGO PIN is dirty, preventing the charging station from communicating with the shared power bank. A valid POGO PIN means the charging station can communicate normally with the shared power bank and obtain its internal code. If only one shared power bank is returned at a time, a new NFC tag is sufficient for successful return. If multiple shared power banks and charging compartments are returned simultaneously, it's possible that two charging compartments (one above the other) will share an NFC antenna for identification. In this case, if both power banks face the same direction, the return process is the same as for a single return, allowing for separate identification for each compartment. However, if the power banks in the two compartments face opposite directions, their respective NFC tags will share an NFC antenna.

[0058] This embodiment addresses the scenario where multiple NFC tags share a single NFC antenna. It establishes a dual buffer for each charging compartment and, combined with a deduplication mechanism, communicates with the server to successfully resolve the issue of multiple shared power banks being returned simultaneously via NFC communication even when the POGO PIN is invalid and multiple NFC tags share a single NFC antenna. Specifically, in some embodiments, the security protocol can be periodically updated and upgraded, employing more secure encryption algorithms to address evolving security threats.

[0059] This embodiment improves communication stability between the charging station and the shared power bank by adding NFC wireless communication, thereby enhancing the user experience and reducing potential customer complaints. Furthermore, by optimizing the NFC identification process, it solves the positioning problem of multiple NFC tags sharing a single NFC antenna. This eliminates the need for double-sided tag designs on the power bank or additional identification antennas, thus resolving the inability to locate multiple shared power banks with NFC tags when returned simultaneously. This allows for accurate identification of shared power banks carrying only a single NFC tag, reducing production costs while ensuring NFC-based shared power bank return identification.

[0060] Therefore, through steps S210 to S220, near-field communication (NFC) tags are scanned on the top and bottom of all charging compartments using a NFC antenna, and the identification data within at least one target NFC tag is stored in the corresponding dual buffer. The target NFC tag is the NFC tag embedded in the newly added shared power bank. All identification data in the dual buffers is deduplicated, and the deduplicated identification data is reported to the server to identify the NFC tag embedded in the newly added shared power bank. This allows for the identification of different shared power banks when multiple POGOPIN-obstructed power banks are returned simultaneously, based on NFC communication, thus successfully achieving accurate identification of shared power banks using NFC communication.

[0061] In one embodiment, the identification data is plaintext information pre-written into the target near-field communication tag; deduplication of all identification data in the double buffer is performed, and the deduplicated identification data is reported to the server to identify the near-field communication tags built into newly arrived shared power banks. Specifically, this may include:

[0062] The deduplicated plaintext information is reported to the server; the information pair sent by the server based on the reported plaintext information is obtained; the information pair includes the authentication key and the plaintext information associated with the authentication key; based on the information pair, the authentication key associated with the read target near-field communication tag is determined, and the newly entered shared power bank is identified according to the authentication key.

[0063] Specifically, a publicly available, unique identifier used to associate all information about the shared power bank can be pre-written into the NFC tag of the shared power bank as plaintext information. For example, a designated area within the NFC tag sector of the shared power bank can be used to store a 16-byte unique publicly available ID. This unique publicly available ID, which can be associated with all information about the shared power bank, is the aforementioned plaintext information. When the shared power bank is returned to a charging slot, its built-in NFC tag will be scanned. Based on NFC communication, the plaintext information written in the NFC tag of the shared power bank can be read by the NFC reader of the charging station.

[0064] Next, the NFC reader deduplicates all plaintext information read from the charging bays and then reports the deduplicated plaintext information to the server (i.e., the cloud). Upon receiving the reported plaintext information, the server encrypts the data and sends a pair of information associated with the plaintext information to the charging cabinet, including the plaintext information and the authentication key associated with it. After receiving this pair of information, the charging cabinet's NFC reader can determine the authentication key associated with each NFC tag and proceed with the subsequent identification process.

[0065] In this embodiment, a mobile power bank identification method that combines NFC communication with plaintext information and authentication key transmission is implemented, thereby enabling accurate identification of shared mobile power banks.

[0066] In one embodiment, based on the information pair, an authentication key associated with the read target near-field communication tag is determined, and the newly arrived shared power bank is identified according to the authentication key. Specifically, this may include:

[0067] Based on the plaintext information in the information pair, determine the target near-field communication tag associated with the information pair; based on the association between the information pair and the target near-field communication tag, determine the association between the authentication key in the information pair and the target near-field communication tag.

[0068] The aforementioned authentication key can be a pre-stored authentication password associated with each shared power bank, stored on the server. The NFC tag chip has the functionality of the F8213. When the NFC reader / writer chip FM17622 of the charging cabinet communicates with the NFC tag, such as reading the encrypted sector content, it needs to perform password / key authentication first. Only after successful authentication can the encrypted sector content be accessed. This authentication key is the password code required for authentication. Since the information pair contains both plaintext information and the authentication key, the plaintext information in the information pair can be matched with the plaintext information read from the target NFC tag. If the plaintext information of a certain information pair matches the plaintext information of a target NFC tag, then the information pair is associated with that target NFC tag, and the authentication key in the information pair is then associated with that target NFC tag. The FM17622 is an NFC reader / writer chip that can be carried inside the shared charging cabinet to achieve NFC tag reading, writing, encryption, and decryption authentication. The F8213 is an NFC tag chip that can perform functions such as encryption and decryption of information in specified sectors to grant communication permissions.

[0069] This embodiment can achieve the association and matching of the authentication keys of multiple shared power banks returned at the same time, and then complete the subsequent identification process based on the authentication keys associated with each of the multiple shared power banks.

[0070] In one embodiment, based on the information pair, an authentication key associated with the read target near-field communication tag is determined, and the newly arrived shared power bank is identified according to the authentication key. Specifically, this may include:

[0071] Based on the authentication key associated with the target near-field communication tag, the target near-field communication tag is authenticated with a password to obtain the encrypted information of the target near-field communication tag after successful authentication. The encrypted information is in an unreadable and unwritable state before successful authentication. The encrypted information is sent to the server so that the server can identify the newly arrived shared power bank based on the encrypted information and terminate the corresponding rental order after successful identification.

[0072] After determining the authentication key associated with the target NFC tag, key authentication can be performed using this key. Upon successful authentication, the ciphertext information of the encrypted sector within the target NFC tag can be read. Specifically, this ciphertext information is a 16-byte encrypted ID stored in a designated area within the target NFC tag's sector. It can only be read after successful authentication using the aforementioned authentication key. After obtaining the ciphertext information, it can be sent to the server. The server receives and verifies the ciphertext information. If the verification passes, the identity of the shared power bank is successfully identified, and the rental order will be terminated upon user return.

[0073] This embodiment constructs a decryption and authentication process based on plaintext information, authentication keys, and ciphertext information, which can reliably and securely enable users to return shared power banks and reduces the possibility of malicious copying of NFC tags. This is because without the authentication key, it is impossible to obtain the ciphertext information within the NFC tag, thus preventing ciphertext copying.

[0074] In addition, in one embodiment, a corresponding shared power bank internal code is pre-written into the target near-field communication tag; the internal code is associated with the metal contacts of the shared power bank.

[0075] Specifically, the internal code can be a unique ID written into the control chip of the shared power bank during manufacturing. Inside the target NFC tag, in addition to the plaintext information mentioned above, the public portion can also contain the shared power bank's internal code. For example, during the closing step of manufacturing the shared power bank, the internal code can be written into the tag during multi-code binding. This multi-code binding can associate the internal code, the plaintext information of the target NFC tag, the encrypted information, and the casing code of the shared power bank (the unique ID printed on the casing of the shared power bank). Thus, by reading the internal code of the target NFC tag, it can be compared with the internal code read from the POGO PIN. If the charging compartment uses the same NFC antenna on both the upper and lower layers, and the POGO PIN of the shared power bank returned on one layer is not obstructed, the target NFC tag corresponding to the shared power bank in each of the two compartments can be determined based on the internal code reading of the POGO PIN and the internal code reading of the target NFC tag.

[0076] In one embodiment, the above-mentioned method for identifying shared mobile power banks may further include:

[0077] When two target near-field communication tags are scanned simultaneously and their internal codes are read through the metal contacts of a shared power bank, the internal codes obtained through the two target near-field communication tags are compared with the internal codes read through the metal contacts. Based on the comparison results, the shared power banks corresponding to the two charging compartments are determined, and the shared power banks are identified separately.

[0078] In other words, as long as the metal contact POGO PIN of one of the two target near-field communication tags scanned at the same time is not obstructed, the shared power bank corresponding to the two charging compartments can be determined based on the internal code read from the target near-field communication tag and the internal code read from the POGO PIN, thereby identifying the shared power bank for each of the two charging compartments.

[0079] In one embodiment, the above-mentioned method for identifying a shared mobile power bank may further include the following when communicating with a target near-field communication tag within the charging compartment:

[0080] When multiple unique identifiers of target near-field communication tags are read, one unique identifier is selected from the multiple unique identifiers as the target identifier; the target near-field communication tag corresponding to the target identifier is activated and communication is initiated.

[0081] In this embodiment, tag communication can be performed based on a two-level anti-collision algorithm for NFC tags. When the NFC reader searches for a card, it first sends a first-level anti-collision command. Multiple NFC tags receive this command simultaneously and send the first few digits of their NFC tag IDs. After receiving a certain number, the reader adds it to the first-level card selection command. At this point, it can select one NFC tag's number from the numbers sent by multiple NFC tags for second-level card selection. The second-level card selection command activates the selected NFC tag, while unselected NFC tags enter an interrupt state. Through this two-level anti-collision collision detection algorithm, it can be ensured that only one NFC tag is activated and communicated during each NFC scan, while other NFC tags remain idle and inactive. Then, another NFC tag is selected from the remaining inactive NFC tags for activation and communication. During the communication process, plaintext information reading and authentication of the aforementioned authentication key can be performed.

[0082] Figure 3 This is a state diagram of an NFC tag in this embodiment, such as... Figure 3As shown, NFC tags have several states, including initial state, idle state, interrupted state, ready state, active state, and authenticated state. When an NFC tag senses an electromagnetic field, it can transition from the initial state to the idle state. The NFC reader uses a wake-up command or a card search command to put each scanned NFC tag into ready state 1. The NFC reader sends a first-level anti-collision command to the NFC tags in ready state 1. Multiple NFC tags will receive this command simultaneously and send the first few digits of their NFC tag IDs. After receiving a certain number, the reader will place it in the first-level card selection command. The NFC reader will then execute the second-level anti-collision command, selecting one NFC tag to enter ready state 2. The selected NFC tag enters the active state based on the second-level card selection command, while the other unselected NFC tags enter the interrupted state. Afterwards, read / write commands are sent to the active NFC tag to communicate, such as sending a password authentication command for key authentication. After successful authentication, the NFC tag enters the authenticated state. When an NFC tag is interrupted while in an active or authenticated state, it will enter an interrupted state. An NFC tag in the interrupted state can re-enter the ready state 1 stage based on a wake-up command. An NFC tag in the ready state 1 stage can also enter the active state based on a command to read the manufacturer ID.

[0083] Additionally, in one embodiment, the data communication process with the target near-field communication tag may include:

[0084] When receiving tag signals generated by multiple target near-field communication tags, the system sequentially amplifies the tag signals whose signal strength matches the corresponding signal level according to preset signal levels, and identifies the data within the corresponding target near-field communication tag based on the amplified signal.

[0085] In the production of shared power banks with built-in NFC tags and charging cabinets with NFC readers, due to assembly errors or the characteristics of the NFC tags themselves, when the charging cabinet emits electromagnetic waves at full power, the NFC tags work by generating induced current through the induced electromagnetic waves. However, due to distance errors, errors in the NFC tags themselves, or the influence of capacitance and resistance errors in the NFC reader, some NFC tags respond with stronger signals, while others respond with weaker signals.

[0086] To address this issue, this embodiment sets three signal filtering values ​​with varying strengths for the NFC reader / writer. For example, a minimum signal reception range is set for the NFC reader / writer; signals below this minimum range are considered noise, while signals within this range are considered valid signals. Similarly, the amplifier circuit inside the NFC reader can also be configured with different amplifier gain levels. For example,

[0087] For strong signal sources: Set a low amplifier gain value, and the minimum signal value is a preset high threshold;

[0088] For medium-intensity signal sources: Set a medium amplifier gain value, and the minimum signal value is a preset medium threshold;

[0089] For low-intensity signal sources: Set the highest amplifier gain and the lowest signal value to the preset low threshold.

[0090] Based on this setup, even weak signals at a considerable distance can be amplified and received. When scanning an NFC tag with a single antenna, triple antenna gain filtering can be applied: first, a strong signal value is used for filtering and amplification; then, a lower-level medium threshold is used for filtering and amplification; and finally, an even lower low threshold is used for filtering and amplification. This avoids situations where some NFC tags cannot be scanned while others are continuously scanned due to excessively strong signals. This embodiment improves signal interference resistance, ensuring that multiple signals can be scanned, and features a dynamic switching process from high to low gain, providing full coverage across multiple scenarios. Understandably, more or fewer levels of filtering and signal amplification can be set according to the needs of actual application scenarios; this embodiment does not specifically limit this.

[0091] Additionally, in one embodiment, the above-described method for identifying shared mobile power banks may further include:

[0092] Shared power banks that fail to be identified will be ejected from the charging compartment. In other words, if the identity information of a shared power bank being returned cannot be determined, it can be ejected from the charging compartment to avoid misidentification.

[0093] Figure 4 These are flowcharts of some embodiments of a plaintext information reading method for a charging cabinet, such as... Figure 4 As shown, the plaintext information reading method includes the following steps:

[0094] In step S401, the charging cabinet detects the shared power bank has been returned and locks it. The shared power bank has a built-in NFC tag, which contains plaintext information pre-written as a unique public ID. The charging cabinet is equipped with an NFC reader and an NFC antenna.

[0095] In step S402, if the charging cabinet detects a failure in wired POGO PIN-based communication, it will begin wireless NFC communication.

[0096] In step S403, the charging cabinet uses the NFC antennas at the top and bottom of the charging compartment to scan NFC tags, filters multiple NFC tags, and selects one NFC tag to activate communication.

[0097] Step S404: Determine whether plaintext information has been obtained from the activated NFC tag; if yes, proceed to step S405; otherwise, proceed to step S406.

[0098] Step S405: Send the plaintext information to the server.

[0099] Step S406: Pop the shared power bank out of the charging compartment to end the process.

[0100] Steps S401 to S406 above can successfully acquire plaintext information of the shared mobile power bank based on NFC communication, thereby providing basic data for identity recognition on the server side.

[0101] Figure 5 These are flowcharts of some embodiments of a method for reading encrypted information from a charging cabinet, such as... Figure 5 As shown, the method for reading encrypted information includes the following steps:

[0102] Step S501: Obtain the plaintext and authentication key of the shared power bank to be decrypted, issued by the server. The methods for obtaining these two pieces of information can be found in the above embodiments and will not be repeated here.

[0103] Step S502: Obtain plaintext information from the NFC tags scanned from the top and bottom of the charging compartment.

[0104] Step S503: Determine whether the plaintext information in step S501 and step S502 matches; if yes, proceed to step S504; otherwise, proceed to step S507.

[0105] Step S504: Determine whether key authentication has been successfully completed based on the authentication key; if yes, proceed to step S505; otherwise, proceed to step S507.

[0106] Step S505: Read the encrypted information of the NFC tag.

[0107] Step S506: Report the encrypted information to the server.

[0108] Step S507: Authentication failed.

[0109] Steps S501 to S507 above can successfully establish the association between the authentication key and the shared power bank based on plaintext matching, thereby completing key authentication to obtain encrypted information to complete the identity recognition of the shared power bank on the server side.

[0110] This embodiment also provides a shared charging cabinet. Figure 6 This is a structural schematic diagram of the shared charging cabinet 60 in this embodiment. Figure 6 As shown, the shared charging cabinet 60 includes multiple charging compartments (such as...). Figure 6 Charging compartments 1 to 6), and multiple near-field communication antennas (such as... Figure 6 Near-field communication antennas 1 to 8 and a near-field communication card reader (not shown in the figure); wherein:

[0111] The shared charging cabinet 60 has a near-field communication antenna arranged between every two charging compartments in a preset direction, and each charging compartment has a near-field communication antenna at both the top and bottom; the preset direction is perpendicular to the front orientation of the shared power bank when it is inserted into the charging compartment; the near-field communication antenna is used to emit electromagnetic waves; the near-field communication card reader is used to perform the identification method of the shared power bank provided in any of the above embodiments.

[0112] like Figure 6 The diagram shows the charging slots of six shared power banks and the placement of eight NFC antennas. To accommodate the reversible return function of the shared power banks, an NFC antenna is placed between every two adjacent charging slots. For example, when a shared power bank is returned to charging slot 1, either NFC antenna 1 or NFC antenna 2 can detect the NFC tag to achieve wireless return (for example, when the shared power bank is returned with the NFC tag facing up, it will be detected by NFC antenna 1; when the shared power bank is returned with the NFC tag facing down, it will be detected by NFC antenna 2).

[0113] Understandable Figure 6 This only illustrates one possible layout for a charging cabinet and does not constitute a specific limitation on the arrangement of the charging compartments or near-field communication antennas. For example, besides Figure 6 The document provides a horizontal arrangement for all charging compartments, but a vertical arrangement is also possible. The default orientation of the near-field communication antenna arrangement is relative to the orientation of the shared power bank's charging compartments. For example, if the shared power bank's charging compartments are arranged horizontally (i.e., horizontally inserted), the orientation is not specified. Figure 6 As shown in the diagram), then the preset direction is a vertical arrangement perpendicular to the horizontal direction; if the shared power bank is vertically inserted (for example, the charging compartment is compared to...), then the preset direction is a vertical arrangement perpendicular to the horizontal direction; Figure 6 If it has been rotated 90 degrees, then the preset direction is perpendicular to the vertical direction.

[0114] It should also be noted that NFC antennas are near-field antennas, and their magnetic field range is limited. For example, for Figure 6 Regarding the near-field communication antenna 2, its detection range only includes the bottom of charging compartment 1 and the top of charging compartment 2, and cannot penetrate the shared power bank. This is because interference from the battery cells inside the shared power bank and obstruction from the circuit board prevent the signal from penetrating the power bank itself. The near-field communication antenna 1, however, can only detect the top of charging compartment 1. Therefore, when the shared power bank is returned to charging compartment 1, regardless of which side it is placed in, either near-field communication antenna 1 or near-field communication antenna 2 can detect the NFC tag. This allows the shared power bank to achieve NFC communication with only one NFC tag. Combined with the shared power bank identification method described in the above embodiment, it also solves the problem of multiple NFC tags sharing a single NFC antenna, enabling accurate identification when returning multiple shared power banks based on NFC communication. This avoids return failures due to poor POGO PIN contact. Furthermore, using NFC near-field communication technology also achieves stable and secure data communication, reduces equipment costs, and expands the scope of application.

[0115] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated in this embodiment.

[0116] It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. All other embodiments derived by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.

[0117] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0118] Obviously, the accompanying drawings are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar situations based on these drawings without any creative effort. Furthermore, it is understood that although the work done in this development process may be complex and lengthy, for those skilled in the art, certain design, manufacturing, or production modifications made based on the technical content disclosed in this application are merely conventional technical means and should not be considered as insufficient disclosure of this application.

[0119] The term "embodiment" in this application refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply that it is mutually exclusive with or independent of other embodiments. It will be clearly or implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0120] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the appended claims.

Claims

1. A method for identifying a shared mobile power bank, characterized in that, A near-field communication (NFC) card reader is used in a shared charging cabinet. The shared charging cabinet also includes multiple charging bays and multiple NFC antennas. Each charging bay has a NFC-based scanning function at its top and bottom, with the NFC antennas arranged accordingly. Each charging bay is equipped with a dual buffer zone. A corresponding shared power bank internal code is pre-written into the target NFC tag. The internal code is associated with the metal contacts of the shared power bank. The method includes: If it is detected that the metal contacts of the returned shared power bank fail to communicate with the charging compartment, then the near-field communication antenna is used to scan the top and bottom of all the charging compartments for near-field communication tags, and the identification data in at least one target near-field communication tag is stored in the corresponding double buffer; wherein, the target near-field communication tag is the near-field communication tag built into the newly entered shared power bank. All the identification data in the double buffer are deduplicated, and the deduplicated identification data is reported to the server to identify the near-field communication tag built into the newly entered shared power bank, and the corresponding rental order is terminated after successful identification. The method further includes: When two target near-field communication tags are scanned simultaneously, and the internal code is read through the metal contact of one of the shared power banks, the internal codes obtained through the two target near-field communication tags are compared with the internal codes read through the metal contact. Based on the comparison results of the internal codes, the shared power banks corresponding to the two charging compartments are determined, so as to identify the shared power banks respectively.

2. The method for identifying shared mobile power banks according to claim 1, characterized in that, The identification data is plaintext information pre-written into the target near-field communication tag; all the identification data in the double buffers are deduplicated, and the deduplicated identification data is reported to the server to identify the near-field communication tag built into the newly arrived shared power bank, including: The deduplicated plaintext information is then reported to the server. Obtain the information pair sent by the server based on the reported plaintext information; the information pair includes an authentication key and plaintext information associated with the authentication key; Based on the information pair, an authentication key associated with the read target near-field communication tag is determined, and the newly entered shared power bank is identified according to the authentication key.

3. The method for identifying shared mobile power banks according to claim 2, characterized in that, Based on the information pair, an authentication key associated with the read target near-field communication tag is determined, and the newly arrived shared power bank is identified according to the authentication key, including: Based on the plaintext information in the information pair, determine the target near-field communication tag associated with the information pair; Based on the association between the information pair and the target near-field communication tag, the association between the authentication key in the information pair and the target near-field communication tag is determined.

4. The method for identifying a shared mobile power bank according to claim 2 or 3, characterized in that, Based on the information pair, an authentication key associated with the read target near-field communication tag is determined, and the newly arrived shared power bank is identified according to the authentication key, including: The target near-field communication tag is authenticated using the authentication key associated with it, and the encrypted information of the target near-field communication tag is obtained after successful authentication. The encrypted information is unreadable and unwritable before successful authentication. The encrypted information is sent to the server so that the server can identify the newly arrived shared power bank based on the encrypted information and terminate the corresponding rental order upon successful identification.

5. The method for identifying a shared mobile power bank according to claim 1, characterized in that, When communicating with a target near-field communication tag within the charging compartment, the method further includes: When multiple unique identifiers of target near-field communication tags are read, one of the unique identifiers is selected as the target identifier from the multiple unique identifiers; The target near-field communication tag corresponding to the target identifier is activated and communication is initiated.

6. The method for identifying a shared mobile power bank according to claim 1, characterized in that, The data communication process with the target near-field communication tag includes: When receiving tag signals generated by multiple target near-field communication tags, the tag signals whose signal strength matches the corresponding signal level are amplified sequentially according to a preset number of signal levels, and the data in the corresponding target near-field communication tag is identified based on the amplified signal.

7. The method for identifying a shared mobile power bank according to claim 1, characterized in that, The method further includes: The shared power bank that fails to be identified will be ejected from the charging compartment.

8. A shared charging cabinet, characterized in that, include: Multiple charging bays, multiple near-field communication antennas, and a near-field communication card reader; among which: The shared charging cabinet is arranged in a preset direction with a near-field communication antenna between every two charging compartments, and each charging compartment has a near-field communication antenna at the top and bottom; the preset direction is perpendicular to the front orientation of the shared power bank when it is inserted into the charging compartment; The near-field communication antenna is used to transmit electromagnetic waves; The near-field communication card reader is used to perform the identification method for the shared mobile power supply as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Anti-fake method and system of radio frequency identification

    CN103065168A

  • Mobile power supply charging module and renting equipment

    CN110544969A

  • Storage device

    CN208819312U

  • Device and method for determining redundancies in near field communication tag detection

    US20150061839A1

  • Method and apparatus for processing mr signal, and computer program

    US20190004135A1