Method, device, equipment and storage medium for communicating with a shared object

The NFC communication instructions are obtained and generated through the NFC function of the shared object, which solves the problem of low lock-opening efficiency of shared vehicles in the prior art, and realizes fast and accurate communication and lock-opening process.

CN115150798BActive Publication Date: 2025-05-06BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210648401.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-31
Publication Date
2025-05-06
Estimated Expiration
2041-03-31

AI Technical Summary

Technical Problem

In the case of poor network, the lock-opening efficiency of shared vehicles is low, and the Bluetooth lock-opening method takes longer.

Method used

Through the NFC function of the shared object, NFC information is obtained within the preset range, and NFC communication instructions are generated based on this information, including the address and interactive data information of the shared object, to realize fast NFC communication.

Benefits of technology

The communication time between the terminal device and the shared object is shortened, the lock-opening efficiency is improved, and the accuracy of the communication process is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115150798B_ABST
    Figure CN115150798B_ABST
Patent Text Reader

Abstract

The disclosed embodiments relate to a method, apparatus, computer equipment, storage medium and computer program product for communicating with a shared object. The method comprises: when the distance with the shared object is within a preset range, obtaining the NFC information of the shared object by means of NFC; generating an NFC communication instruction for interacting with the shared object according to the NFC information; wherein the NFC information and the NFC communication instruction both include the address of the shared object and the data information generated by the interaction between the shared object and the terminal device in different communication scenarios. The use of this method can improve the unlocking efficiency of the shared object.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This invention patent application is a divisional application of the Chinese invention patent application with application date of March 31, 2021, application number 2021103502207, and name “Methods, devices, equipment and storage media for communicating with shared objects”. Technical Field

[0002] The embodiments of the present disclosure relate to the field of communication technology, and in particular, to a method, apparatus, device, storage medium, and computer program product for communicating with a shared object. Background Art

[0003] With the development of the times, we can often see some shared bicycles or motorcycles on the roadside in our daily life. Shared vehicles such as shared bicycles or motorcycles have the advantages of low prices and convenient borrowing and returning, so many people tend to choose shared vehicles when traveling short distances.

[0004] When a user uses a shared vehicle, he usually scans the QR code of the shared vehicle with his mobile phone, obtains the vehicle ID, and sends the vehicle ID and user information to the server through the network, so that the server can unlock the shared vehicle. Alternatively, the user turns on the Bluetooth of his mobile phone and connects the Bluetooth of the shared vehicle through the Bluetooth of the mobile phone, and then the shared vehicle transmits the vehicle ID to the mobile phone through Bluetooth, and the mobile phone then sends the vehicle ID and user information to the server, so that the server can unlock the shared vehicle.

[0005] However, the above-mentioned related unlocking technologies all have the problem of low unlocking efficiency. Summary of the invention

[0006] The embodiments of the present disclosure provide a method, an apparatus, an electronic device, a storage medium, and a computer program product for communicating with a shared object, which can be used to improve the unlocking efficiency of a shared object.

[0007] In a first aspect, an embodiment of the present disclosure provides a method for communicating with a shared object, where the shared object has a near field communication (NFC) function, the method comprising:

[0008] When the distance with the shared object is within a preset range, the NFC information of the shared object is obtained through NFC;

[0009] Generate an NFC communication instruction for interacting with the shared object according to the NFC information;

[0010] The NFC information and the NFC communication instructions mentioned above both include the address of the shared object and the data information generated by the interaction between the shared object and the terminal device in different communication scenarios.

[0011] In a second aspect, an embodiment of the present disclosure provides a device for communicating with a shared object, where the shared object has a near field communication (NFC) function, and the device includes:

[0012] An information acquisition module, used to acquire NFC information of a shared object through NFC when the distance to the shared object is within a preset range;

[0013] A communication instruction generation module is used to generate an NFC communication instruction for interacting with a shared object based on the NFC information; wherein the NFC information and the NFC communication instruction both include the address of the shared object and data information generated by the interaction between the shared object and the terminal device in different communication scenarios.

[0014] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0015] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in the first aspect above.

[0016] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.

[0017] The method, device, computer device, storage medium and computer program product for communicating with a shared object provided by the embodiments of the present disclosure, the shared object has a near field communication NFC function, when the distance with the shared object is within a preset range, the NFC information of the shared object can be obtained by NFC, and the NFC communication instruction for interacting with the shared object can be generated according to the NFC information; wherein the NFC information and the NFC communication instruction both include the address of the shared object and the data information generated by the interaction between the shared object and the terminal device in different communication scenarios. In this method, since the terminal device and the shared object can interact with NFC information by NFC, the time of the overall communication interaction can be shortened, that is, the efficiency of the communication interaction can be improved, and when applied to the scenario of unlocking the shared object, the efficiency of unlocking the shared object can be improved. In addition, since the information and communication instructions for the interaction between the terminal device and the shared object both include the address of the shared object and the data information for the interaction between the two, the accuracy of the communication process between the shared object and the terminal device can be effectively guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1An application environment diagram of a method for communicating with a shared object in one embodiment;

[0019] Figure 2 A schematic flow chart of a method for communicating with a shared object in one embodiment;

[0020] Figure 3 This is a diagram showing an example of the data format of NFC information and NFC communication instructions in another embodiment;

[0021] Figure 4 A flowchart of the steps of communicating with a shared object in another embodiment;

[0022] Figure 5 is a flow chart of a method for communicating with a shared object in another embodiment;

[0023] Figure 6 is a flow chart of a method for communicating with a shared object in another embodiment;

[0024] Figure 7 A schematic diagram of a specific process of communication between a mobile phone, a smart lock and a server in another embodiment;

[0025] Figure 8 is a structural block diagram of an apparatus for communicating with a shared object in one embodiment;

[0026] Fig. 9 is a structural block diagram of an apparatus for communicating with a shared object in another embodiment;

[0027] Fig.10 is a structural block diagram of an apparatus for communicating with a shared object in another embodiment;

[0028] Fig.11 is a structural block diagram of an apparatus for communicating with a shared object in another embodiment;

[0029] Fig.12 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure more clear, the embodiments of the present disclosure are further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present disclosure and are not used to limit the embodiments of the present disclosure.

[0031] First of all, before specifically introducing the technical solution of the embodiment of the present disclosure, the technical background or technical evolution context on which the embodiment of the present disclosure is based is introduced. Generally speaking, in the field of shared vehicle travel, the current technical background is: when a user uses a shared vehicle, he usually scans the QR code of the shared vehicle through a mobile phone, then obtains the vehicle identification, and sends the vehicle identification and user information to the server through the network, so that the server can complete the unlocking of the shared vehicle. Based on this background, the applicant has found through long-term experimental data collection, demonstration and verification that the method of unlocking a shared vehicle using the network, when the mobile phone scans the QR code, and the mobile phone and the server interact with the unlocking data, when the network quality is poor, it is easy to cause the problem of long unlocking time for the shared vehicle. Therefore, how to improve the unlocking efficiency of shared vehicles under poor network conditions has become a difficult problem that needs to be solved urgently. In addition, it should be noted that the applicant has put in a lot of creative work from determining this technical problem and the technical solution introduced in the following embodiments.

[0032] The technical solutions involved in the embodiments of the present disclosure are introduced below in combination with the scenarios to which the embodiments of the present disclosure are applied.

[0033] The method for communicating with a shared object provided in the embodiment of the present disclosure can be applied to Figure 1 The system architecture shown in FIG. 1 includes a shared object 101, a terminal device 102, and a server 103. The shared object 101 can be a smart lock on a non-motorized or motorized vehicle such as a bicycle, an electric bicycle, a scooter, or a motorcycle. Of course, the shared object can also be a shared power bank, or a shared access lock, etc. ( Figure 1 The example mainly takes the smart lock of the vehicle as the shared object); the terminal device 102 can be an electronic device such as a mobile phone, a tablet computer, an IPAD, or an APP software installed on the electronic device; the server 103 can be an independent server or a server cluster composed of multiple servers. Among them, the shared object 101 is provided with a communication component, which can communicate with the terminal device 102 or the server 103 in a wireless manner. For example, the terminal device 102 can send an unlock instruction to the shared object according to the user's unlocking operation; in addition, the communication method between the shared object 101 and the terminal device 102 may include Bluetooth communication, network communication, NFC near-field communication, etc. In addition, the terminal device 102 and the server 103 can communicate wirelessly or wired. The embodiment of the present disclosure does not limit the communication method between the shared object 101, the terminal device 102 and the server 103.

[0034] In one embodiment, Figure 2 As shown, a method for communicating with a shared object is provided, and the method is applied to Figure 1 Taking the APP software on the terminal device as an example, the method may include the following steps:

[0035] S202, when the distance to the shared object is within a preset range, obtaining NFC information of the shared object through NFC.

[0036] Among them, the shared object has a near field communication NFC function, that is, the shared object has a built-in NFC function, and it can exchange data with any other device with NFC function. The shared object here is generally a shareable object. Optionally, the shared object may include a smart lock of a shared device and a shared power bank. The shared device here may be a shared bicycle, shared electric motorcycle, shared motorcycle, shared car and other shared vehicles. In addition, a device with an NFC function can usually be a reader type or a tag type. The shared object in this embodiment can be a reader type or a tag type, but the cost of a reader type device is usually higher than that of a tag type device, so the preferred shared object in this embodiment is a tag type with a lower cost.

[0037] In addition, the distance to the shared object mentioned in this step is within the preset range, which means that the distance between the terminal device and the shared object is within the preset range, that is, the terminal device is close to the shared object. The preset range here can be 0-10cm, of course, it can also be other distances. Based on this, when the terminal device turns on the NFC function and approaches the shared object or the terminal device is directly attached to the shared object, the terminal device can obtain the NFC information built into the shared object through the NFC communication method. The NFC information here can be the information preset inside the shared object.

[0038] For example, taking a smart lock whose shared object is a shared device, the shared object may include modules such as a controller and an NFC tag. The controller can write the set NFC information into the NFC tag in advance, so that when the terminal device is close to the shared object, the NFC information can be read from the NFC tag.

[0039] S204, generating an NFC communication instruction for interacting with the shared object according to the NFC information; wherein the NFC information and the NFC communication instruction both include the address of the shared object and data information generated by the interaction between the shared object and the terminal device in different communication scenarios.

[0040] In this step, after the terminal device obtains the NFC information, which includes the address of the shared object and the data information generated by the interaction between the shared object and the terminal device, the terminal device can uniquely identify a shared object through the address of the shared object in the NFC information, and can also obtain some information corresponding to the address from the server according to the address of the shared object, such as unlocking information, locking information, etc. In addition, the address of the shared object here can be the physical address of the shared object, such as the MAC address of the shared object, which is a unique identification code of the shared object and can be used to identify which shared object it is.

[0041] Afterwards, the terminal device can generate corresponding instructions based on the operations that need to be performed by the shared object, and put the generated instructions as the data information for shared object interaction into the data information with the same format as the NFC information. At the same time, the address of the shared object is also put into the data information with the same format as the NFC information to obtain the NFC communication instruction.

[0042] Of course, the NFC communication instruction here can also be an instruction generated after the shared object performs certain operations based on the instruction of the terminal device. Similarly, the instruction and the address of the shared object can be put into data information with the same format as the NFC information to obtain the NFC communication instruction. In this way, the terminal device can obtain the NFC communication instruction from the shared object through polling or other methods.

[0043] That is to say, the NFC communication instructions here can be generated by the terminal device or by the shared object. The different communication scenarios here may include unlocking, locking, playing audio, obtaining operation and maintenance information of the shared object, or obtaining the dynamic token of the shared object. According to different communication scenarios, the terminal device and the shared object can generate different NFC communication instructions to facilitate communication interaction and realize different functions in different communication scenarios. It should be noted that the data format of the NFC communication instructions that can be generated by the terminal device and the shared object here is the same, except that the data information generated by the interaction between the shared object and the terminal device in different communication scenarios is different in the data format.

[0044] It can be seen from the above description that in the prior art, when a terminal device unlocks a shared object through the network, it first needs to scan a QR code and send the QR code information to a server. After verification by the server, the information of the shared object can be sent to the terminal device through the network. In the process of obtaining the information of the shared object in this way, the signaling interaction between the terminal device and the server depends on the quality of the network, and it takes a long time to upload and send instructions. In addition, when a terminal device unlocks a shared object through Bluetooth, it also needs to turn on its own Bluetooth first, scan the Bluetooth signals emitted by the surrounding shared objects, and then perform Bluetooth pairing connection with the found Bluetooth signals. Finally, after the Bluetooth connection is successful, the shared object information sent by the shared object is received through Bluetooth. In the process of obtaining the information of the shared object in this way, it takes a long time for the terminal device to scan the Bluetooth signal and pair the Bluetooth connection with the shared object. In this solution, because the data format of the NFC information including the address of the shared object and the data information generated by the interaction between the shared object and the terminal device in different communication scenarios is defined, in different communication scenarios, the terminal device only needs to be close to the shared object to obtain the NFC information of the shared object in the set data format, and successfully connect to the shared object through NFC. The time of the NFC connection and the time of obtaining the NFC information are very short and almost negligible. After that, the terminal device can perform subsequent data interaction with the shared object through NFC and the NFC information. It can be seen from here that when the terminal device and the shared object interact, the connection between the two and the acquisition of NFC information will hardly take time, that is, the data interaction of NFC information can be carried out directly, which can save the overall communication time between the terminal device and the shared object and improve the efficiency of communication. When the application is used in the scenario of unlocking a shared object, there is no need to use a terminal device to scan the QR code of the shared object to obtain the information of the shared object in order to interact with the shared object for unlocking data, or there is no need to scan the Bluetooth signal of the shared object to establish a connection with the shared object in order to interact with the shared object for unlocking data. This saves the time of scanning and connecting to the shared object through the network or Bluetooth, and the time of obtaining the information of the shared object. The shared object can be unlocked directly, saving the overall time of unlocking the shared object and improving the efficiency of unlocking.

[0045] Furthermore, because the NFC communication instructions and NFC information include the address of the shared object and the data information of the interaction between the terminal device and the shared object, a shared object can be uniquely identified, accurate communication between the terminal device and the shared object can be achieved, and the effective communication process between the two can be ensured.

[0046] In the above-mentioned method for communicating with a shared object, the shared object has a near field communication NFC function. When the distance with the shared object is within a preset range, the NFC information of the shared object can be obtained through NFC, and an NFC communication instruction for interacting with the shared object can be generated according to the NFC information; wherein the NFC information and the NFC communication instruction both include the address of the shared object and the data information generated by the interaction between the shared object and the terminal device in different communication scenarios. In this method, since the terminal device and the shared object can interact with NFC information through NFC, the time of the overall communication interaction can be shortened, that is, the efficiency of the communication interaction can be improved. When applied to the scenario of unlocking the shared object, the efficiency of unlocking the shared object can be improved. In addition, since the information and communication instructions for the interaction between the terminal device and the shared object both include the address of the shared object and the data information for the interaction between the two, the accuracy of the communication process between the shared object and the terminal device can be effectively guaranteed.

[0047] In another embodiment, the data formats of the NFC information and NFC communication instructions mentioned in the above embodiments are the same, and both include the address of the shared object and the data information generated by the interaction between the shared object and the terminal device in different communication scenarios. On this basis, the NFC information and NFC communication instructions can also include the startup record information of the application APP corresponding to the shared object on the terminal device. Taking the smart lock of the shared device as an example, the APP here can be an APP related to the smart lock, such as a travel APP, WeChat APP, phone APP, etc.

[0048] The APP startup record information here means that when the terminal device is close to the shared object, the APP on the terminal device will automatically open, and the NFC information will record the opening time and opening address of the APP. At the same time, the APP startup record information will also be put into the NFC communication instruction. Here, the opening time of the APP is the start time of the communication between the terminal device and the shared object.

[0049] As mentioned above, both the NFC information and the NFC communication instructions include the APP startup record information, the address of the shared object, and the data information generated by the interaction. These three pieces of information generally have corresponding sequence information, so that accurate NFC information and NFC communication instructions can be obtained. Optionally, in the data format of the above NFC information or NFC communication instructions, the startup record information is located before the address of the shared object, and the address of the shared object is located before the data information.

[0050] Here, the data types of the APP startup record information, the address of the shared object, and the data information generated by the interaction can be the same or different. Preferably, in this embodiment, the data type of the APP startup record information is U (URI, uniform resource locator), the data type of the shared object address is T (TEXT text), and the data type of the data information generated by the interaction is T (TEXT text). In addition, the data information generated by the interaction here can also reuse the Bluetooth protocol during data interaction.

[0051] For example, the data format of NFC information and NFC communication instructions can be found in Figure 3 As shown, the APP startup record information, the address of the shared object, and the data information generated by the interaction can be stored in three RECOND records, where the first RECOND record stores the APP startup record information, the second RECOND record stores the address of the shared object, and the third RECOND record stores the data information generated by the interaction.

[0052] In addition, the data format of the above-mentioned NFC information or NFC communication instructions is a data format set based on the NDEF Message protocol. Among them, NDEF Message, as the top-level protocol of NFC, can shield the differences in NFC between different manufacturers and different protocols, and can contain multiple NFC RECOND records. The NFC information and data in the NFC communication instructions here are all interacted in the RECOND record of the NDEF Message top-level protocol. By adopting the NDEF Message protocol to set the data format of NFC information or NFC communication instructions, compared with adopting the bottom-level protocol of NFC to set the data format, when the terminal device or shared object parses the NFC information or NFC communication instructions, the parsing difficulty is small, so the efficiency of data parsing is naturally high, thereby improving the communication efficiency when the terminal device interacts with the shared object.

[0053] In this embodiment, the NFC information and NFC communication instructions may also include the startup record information of the application APP corresponding to the shared object on the terminal device, so that when the terminal device communicates with the shared object, it is convenient for the terminal device or other devices to promptly know the start time of the communication interaction, and convenient to count the communication duration, so that the communication process can be improved according to the communication duration in the future. Furthermore, in this embodiment, the startup record information of the APP, the address of the shared object, and the order of the data information generated by the interaction in the data format of the NFC information and the NFC communication instructions are also defined, so that the subsequent terminal device or shared object can accurately and quickly parse the NFC information or NFC communication instructions.

[0054] In another embodiment, Figure 4 As shown, another method for communicating with a shared object is provided. Based on the above embodiment, the above S204 may include the following steps:

[0055] S402, generating an operation instruction for operating the shared object according to the NFC information, and sending the operation instruction to the shared object via NFC; wherein the operation instruction includes the address of the shared object and first data information, and the first data information is used to characterize the operation type of the shared object.

[0056] The operation type here refers to the type of operation that the shared object needs to perform, such as unlocking, locking, playing audio, obtaining operation and maintenance information, obtaining dynamic tokens, etc. For each different operation type, the terminal will generate different operation instructions, and the shared object will perform different operations. The first data information here may include the operation type, and may also include specific data information corresponding to the operation type, such as an unlocking instruction, then the first data information may be unlocking information.

[0057] In addition, the operation instruction may include the address of the shared object and the first data information, and may also include the startup record information of the APP mentioned above. The order of the three in the data format of the operation instruction may be the order relationship mentioned above.

[0058] Specifically, when the terminal device needs to operate the shared object, it can obtain the type of operation that the user needs to perform on the shared object in advance, and encapsulate the startup record information of the APP, the address of the shared object, and the type of operation that the shared object needs to perform into an operation instruction, and send the operation instruction to the shared object through NFC communication. It should be noted that generally, the terminal device sends the operation instruction to the tag of the shared object, and then the controller of the shared object reads the operation instruction from the tag and processes it.

[0059] S404, obtaining a response instruction generated by the shared object through NFC; the response instruction includes the address of the shared object and second data information generated by the shared object according to the operation instruction.

[0060] In this step, it can be known from the above description that the controller of the shared object can process the operation instruction after reading it from the tag tag, and the processing may include generating the second data information according to the first data information in the operation instruction. For example, if the operation instruction is an unlock instruction, then the controller of the shared object can control the smart lock of the shared object to open according to the unlock instruction, and use the opening result as the second data information. Afterwards, the controller of the shared object can encapsulate the address of the shared object and the generated second data information into a response instruction, or the controller of the shared object can also encapsulate the startup record information of the above-mentioned APP, the address of the shared object and the generated second data information into a response instruction. In short, the controller of the shared object can generate a response instruction.

[0061] After the controller of the shared object generates a response instruction, the response instruction can be written into a tag in the shared object, so that the terminal device can read the response instruction from the tag through NFC communication.

[0062] In this embodiment, an operation instruction for operating a shared object is generated according to NFC information, and the operation instruction is sent to the shared object via NFC, and a response instruction generated by the shared object based on the operation instruction is obtained via NFC; wherein the operation instruction includes the address of the shared object and information on the type of operation to be performed on the shared object, and the response instruction includes the address of the shared object and data information generated based on the operation instruction. Here, the data format of the operation instruction and the response instruction is the same, which can facilitate the terminal device and the shared object to accurately and quickly parse the instructions in the interaction process, thereby improving the efficiency of data interaction. In addition, the operation instruction is an instruction including an operation type, and the operation type can be a variety of operation types, which can greatly enrich the types of operations performed by the terminal device on the shared object and improve the diversity of terminal device operations.

[0063] The above embodiments mentioned that the operation instructions generated by the terminal device and the response instructions generated by the shared object can be applied in different communication scenarios. The following takes the dynamic token acquisition scenario and the unlocking scenario as examples to explain the above operation instructions and response instructions in detail.

[0064] In another embodiment, Figure 5 As shown, another method for communicating with a shared object is provided. This embodiment involves a dynamic token acquisition scenario. Based on the above embodiment, the above S402 may include the following steps:

[0065] S502, generating a dynamic token acquisition instruction according to the NFC information; wherein the dynamic token acquisition instruction includes the address of the shared object and first data information, and the first data information is used to indicate that the terminal device needs to obtain the dynamic token from the shared object.

[0066] The dynamic token acquisition instruction here may also be referred to as a Token acquisition instruction.

[0067] Specifically, when the terminal device needs to obtain a dynamic token from a shared object, that is, it needs to perform a dynamic token acquisition operation on the shared object, then the terminal device can encapsulate the address of the shared object and the information required to obtain the dynamic token into a dynamic token acquisition instruction, or the terminal device can encapsulate the startup record information of the APP, the address of the shared object, and the information required to obtain the dynamic token into a dynamic token acquisition instruction.

[0068] S504: Send the dynamic token acquisition instruction to the shared object via NFC.

[0069] After the terminal device generates a dynamic token acquisition instruction, the terminal device can write the dynamic token acquisition instruction into the tag of the shared object through NFC communication, and then the controller of the shared object can read the dynamic token acquisition instruction from the tag for subsequent data processing.

[0070] Accordingly, after the terminal device sends the dynamic token acquisition instruction to the shared object via NFC and the shared object processes it, the terminal device can read information from the shared object, that is, the above S404 may include the following steps S506:

[0071] S506, obtaining a token response instruction generated by the shared object through NFC; wherein the token response instruction specifically includes the address of the shared object and a dynamic token generated by the shared object according to the dynamic token obtaining instruction.

[0072] In this step, as mentioned above, after the controller of the shared object reads the dynamic token acquisition instruction from the tag, the controller of the shared object can parse the dynamic token acquisition instruction and obtain the data information in the third RECOND, which is the information needed to obtain the dynamic token. Then, the built-in token generation algorithm (for example, a random number generation algorithm) can be used to generate a set number of random numbers, and the set number of random numbers is used as the generated dynamic token. The set number can be determined according to the actual situation, for example, it can be 3, 4, 5, etc.

[0073] After the controller of the shared object generates a dynamic token, the address of the shared object and the generated dynamic token can be encapsulated into a token response instruction, or the terminal device can encapsulate the startup record information of the APP, the address of the shared object and the generated dynamic token into a token response instruction, and store the token response instruction in the storage area of ​​the shared object. Afterwards, the controller of the shared object can write the token response instruction into the tag of the shared object, so that the terminal device can read the token response instruction from the tag through NFC communication.

[0074] In this embodiment, the terminal device can generate a dynamic token acquisition instruction based on NFC information, and send the dynamic token acquisition instruction to the shared object via NFC, and after the shared object generates a token response instruction based on the dynamic token acquisition instruction, read the token response instruction via NFC; wherein the dynamic token acquisition instruction includes the address of the shared object and the instruction to obtain the dynamic token, which makes it convenient for the shared object to promptly know and generate the dynamic token, and the token response instruction includes the address of the shared object and the generated dynamic token, which makes it convenient for the terminal device to obtain the dynamic token, and provides security for subsequent operations between the terminal device and the shared object.

[0075] In another embodiment, Figure 6 As shown, another method for communicating with a shared object is provided. This embodiment involves a lock unlocking scenario. Based on the above embodiment, the above S402 may further include the following steps:

[0076] S602, parse the token response instruction to obtain a dynamic token.

[0077] In this step, after obtaining the token response instruction, the terminal device can parse the token response instruction through the data format of the NFC communication instruction mentioned above, that is, the data format of the token response instruction here, to obtain the dynamic token in the token response instruction.

[0078] For example, assuming that the data format of the token response instruction is that the startup record information of the APP is 10 bytes, the address of the shared object is 10 bytes after the startup record information of the APP, and the 20 bytes after the address of the shared object are the dynamic token, then you can start parsing from the 21st byte of the token response instruction until it is parsed to the 40th byte. The data parsed from these 20 bytes is the dynamic token.

[0079] S604, generating an unlocking instruction for the shared object according to the address of the shared object, the dynamic token and the unlocking password obtained from the server; wherein the unlocking instruction includes the address of the shared object and third data information, and the third data information includes the dynamic token and the unlocking password.

[0080] In this step, after obtaining the NFC information, the terminal device can generate a password acquisition request through the address of the shared object in the NFC information, and send the password acquisition request to the server. After obtaining the password acquisition request, the server can obtain the unlocking password and key corresponding to the address of the shared object from its own database, and return the unlocking password and key to the terminal device. The server database stores multiple addresses of shared objects and the unlocking password and key corresponding to each address. The key here is the parameter of the algorithm for encrypting or decrypting the unlocking password.

[0081] After obtaining the unlocking password and key of the shared object, the above-mentioned terminal device can refer to the dynamic token obtained previously and the unlocking password and key here as the third data information. The third data information here corresponds to the above-mentioned first data information, both of which are generated by the terminal device, but are distinguished by name.

[0082] Afterwards, the terminal device combines the unlocking password and key, the address of the shared object, and the obtained dynamic token, and then can splice the address of the shared object, the dynamic token, the unlocking password and key to obtain the unlocking instruction of the shared object. Of course, the operation type for operating the shared object can also be added to the unlocking instruction.

[0083] When splicing to obtain the unlocking instruction, the splicing order of the address of the shared object and the third data information (dynamic token, unlocking password and key) can be that the address of the shared object is located before the third data information (dynamic token, unlocking password and key), and for the order of the dynamic token, unlocking password and key in the third data information, optionally, in the data format of the third data information, the dynamic token is located before the unlocking password, and the unlocking password is located before the key.

[0084] S606: Send the unlocking instruction to the shared object via NFC.

[0085] In this step, after the terminal device generates the unlocking instruction, the terminal device can write the unlocking instruction into the tag of the shared object through NFC communication, and then the controller of the shared object can read the unlocking instruction from the tag to perform the subsequent unlocking process.

[0086] Accordingly, the above S404 may further include the following step S608:

[0087] S608, obtaining, by NFC, an unlocking response instruction generated by the shared object according to the unlocking instruction; wherein the unlocking response instruction includes the address of the shared object and the unlocking result.

[0088] In this step, as mentioned above, after the controller of the shared object reads the unlocking instruction from the tag, the controller of the shared object can parse the unlocking instruction and obtain the data information in the third RECOND which is the unlocking information, that is, the dynamic token, unlocking password and key. Then, the dynamic token can be matched with the dynamic token stored in the shared object (the dynamic token stored here is the dynamic token in the token response instruction), and the pre-stored unlocking password can be matched with the unlocking password sent by the terminal device here.

[0089] When both the dynamic token and the unlock password match successfully, it is considered that the match is successful, and the controller of the shared object can unlock the shared object, and the unlock result is unlock success. If at least one of the dynamic token and the unlock password fails to match, it is considered that the match fails, and the controller of the shared object will not unlock the shared object, and the unlock result is unlock failure.

[0090] Afterwards, the controller of the shared object can encapsulate the address of the shared object and the unlocking result into an unlocking response instruction, or the terminal device can encapsulate the startup record information of the APP, the address of the shared object and the unlocking result into an unlocking response instruction, and store the unlocking response instruction in the storage area of ​​the shared object. Afterwards, the controller of the shared object can write the unlocking response instruction into the tag of the shared object, so that the terminal device can read the unlocking response instruction from the tag through NFC communication.

[0091] In this embodiment, the terminal device obtains a dynamic token by parsing the token response instruction, and generates an unlock instruction through the address of the shared object, the dynamic token and the unlock password obtained from the server, and sends the unlock instruction to the shared object, and receives the unlock response instruction generated by the shared object according to the unlock instruction. Here, there is no need to interact with the shared object through the server to unlock the shared object, so the unlocking process of the shared object can be simplified and the unlocking efficiency can be improved. At the same time, the terminal device uses NFC to unlock the shared object. Compared with network unlocking and Bluetooth unlocking, this unlocking method is closer to the shared object and has higher unlocking stability.

[0092] In the above embodiment, it is mentioned that the terminal device can obtain the unlocking response instruction of the shared object. Then, after obtaining the unlocking response instruction, the terminal device can continue to interact with the server so that the server can timely know the unlocking status of the shared object. Based on this, the above method can also include the following steps A:

[0093] Step A: Send an unlock response instruction to the server, so that the server determines the next operation and maintenance operation to be performed according to the unlock response instruction.

[0094] In this step, after obtaining the unlock response instruction, the terminal device can also send the unlock response instruction to the server, so that the server can learn the next operation and maintenance operation to be performed through the unlock response instruction. For example, if the unlock result in the unlock response instruction is unlock success, the server can determine to create an order for the terminal device using the shared object and start billing.

[0095] In this embodiment, the terminal device can send an unlock response instruction to the server, so that the server can determine the next operation to be performed according to the unlock response instruction. This can facilitate the server to quickly determine the next operation to be performed, thereby ensuring the operational efficiency of the company to which the shared object belongs.

[0096] The following describes an embodiment of the present disclosure in conjunction with a specific scenario of unlocking a shared vehicle's smart lock using a mobile phone. Figure 7 As shown, the method comprises the following steps:

[0097] S1. Turn on the NFC switch on your phone and place it close to the smart lock.

[0098] S2, the mobile phone obtains the NFC information of the smart lock.

[0099] S3, the mobile phone parses the NFC information and obtains the physical address of the smart lock in the second RECOND in the NFC information.

[0100] S4, the mobile phone requests the password key corresponding to the smart lock from the server based on the physical address of the smart lock.

[0101] S5, the server returns the password key corresponding to the smart lock to the mobile phone.

[0102] S6, the mobile phone sends a dynamic token acquisition instruction to the smart lock.

[0103] S7, the smart lock generates a dynamic token, puts it into the data information in the third RECOND in the NFC communication instruction, and obtains a token response instruction.

[0104] S8, the mobile phone reads the token response instruction.

[0105] S9, the mobile phone parses the token response instruction and obtains the dynamic token.

[0106] S10, the mobile phone generates an unlocking instruction according to the dynamic token and the password key, and sends the unlocking instruction to the smart lock.

[0107] S11, the smart lock verifies the dynamic token and password key in the unlocking instruction, unlocks the lock after successful verification, and generates an unlocking response after unlocking, and puts it into the data information in the third RECOND in the NFC communication instruction to obtain the unlocking response instruction.

[0108] S12, the mobile phone reads the unlock response instruction.

[0109] S13, the mobile phone parses the unlocking response instruction and obtains the unlocking result.

[0110] S14, the mobile phone sends the unlock response instruction to the server.

[0111] S15, the server determines whether to create an order based on the unlock response instruction.

[0112] It should be understood that although Figure 2 , 4 The steps in the flowchart of -7 are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 , 4 -At least part of the steps in 7 may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0113] In one embodiment, Figure 8 As shown, a device for communicating with a shared object is provided, comprising: an information acquisition module 10 and a communication instruction generation module 11, wherein:

[0114] The information acquisition module 10 is used to acquire the NFC information of the shared object through NFC when the distance to the shared object is within a preset range;

[0115] The communication instruction generation module 11 is used to generate an NFC communication instruction for interacting with the shared object according to the NFC information; wherein the NFC information and the NFC communication instruction both include the address of the shared object and the data information generated by the interaction between the shared object and the terminal device in different communication scenarios.

[0116] Optionally, the above-mentioned shared objects include smart locks of shared devices and shared power banks.

[0117] For specific limitations on the device for communicating with a shared object, reference may be made to the limitations on the method for communicating with a shared object described above, which will not be elaborated herein.

[0118] In another embodiment, the NFC information and the NFC communication instruction also include the startup record information of the application APP corresponding to the shared object on the terminal device. Optionally, in the data format of the NFC information or the NFC communication instruction, the startup record information is located before the address of the shared object, and the address of the shared object is located before the data information. Optionally, the data format of the NFC information or the NFC communication instruction is a data format set based on the NDEF Message protocol.

[0119] In another embodiment, Fig. 9 As shown, another device for communicating with a shared object is provided. Based on the above embodiment, the communication instruction generating module 11 may include:

[0120] The operation instruction generating and sending unit 111 is used to generate an operation instruction for operating the shared object according to the NFC information, and send the operation instruction to the shared object through the NFC method; wherein the operation instruction includes the address of the shared object and the first data information, and the first data information is used to characterize the operation type of the shared object;

[0121] The response instruction acquisition unit 112 is used to acquire the response instruction generated by the shared object through the NFC method; the response instruction includes the address of the shared object and the second data information generated by the shared object according to the operation instruction.

[0122] In another embodiment, Fig.10 As shown, another device for communicating with a shared object is provided. Based on the above embodiment, the operation instruction generating and sending unit 111 may include:

[0123] The dynamic token generation subunit 1111 is used to generate a dynamic token acquisition instruction according to the NFC information; wherein the dynamic token acquisition instruction includes the address of the shared object and the first data information, and the first data information is used to indicate that the terminal device needs to obtain a dynamic token from the shared object;

[0124] The dynamic token sending subunit 1112 is used to send the dynamic token acquisition instruction to the shared object via the NFC method.

[0125] Accordingly, the response instruction acquisition unit 112 may include:

[0126] The token response instruction acquisition subunit 1121 is used to acquire the token response instruction generated by the shared object through the NFC method; wherein the token response instruction specifically includes the address of the shared object and the dynamic token generated by the shared object according to the dynamic token acquisition instruction.

[0127] Continue to see Fig.10 As shown, the above-mentioned operation instruction generating and sending unit 111 may also include:

[0128] The parsing subunit 1113 is used to parse the token response instruction to obtain the dynamic token;

[0129] The unlocking instruction generating subunit 1114 is used to generate an unlocking instruction for the shared object according to the address of the shared object, the dynamic token and the unlocking password obtained from the server; wherein the unlocking instruction includes the address of the shared object and third data information, and the third data information includes the dynamic token and the unlocking password;

[0130] The unlocking instruction sending subunit 1115 is used to send the unlocking instruction to the shared object via the NFC method.

[0131] Optionally, in the data format of the third data information, the dynamic token is located before the unlocking password.

[0132] Accordingly, the response instruction acquisition unit 112 may further include:

[0133] The unlocking response instruction acquisition subunit 1122 is used to acquire the unlocking response instruction generated by the shared object according to the unlocking instruction through the NFC method; wherein the unlocking response instruction includes the address of the shared object and the unlocking result.

[0134] In another embodiment, Fig.11 As shown, another device for communicating with a shared object is provided. Based on the above embodiment, the above device may further include:

[0135] The sending module 12 is used to send the unlocking response instruction to the server, so that the server determines the operation and maintenance operation to be performed next according to the unlocking response instruction.

[0136] For the specific definition of the device for communicating with a shared object, please refer to the definition of the method for communicating with a shared object above, which will not be repeated here. Each module in the above-mentioned device for communicating with a shared object can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device or the terminal device in the form of hardware, or can be stored in the memory in the electronic device or the terminal device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0137] Fig.12 1 is a block diagram of an electronic device 1300 according to an exemplary embodiment. For example, the electronic device 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0138] Reference Fig.12 , the electronic device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input / output (I / O) interface 1312, a sensor component 1314, and a communication component 1316. The memory stores computer programs or instructions running on the processor.

[0139] The processing component 1302 generally controls the overall operation of the electronic device 1300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 1302 may include one or more modules to facilitate the interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate the interaction between the multimedia component 1308 and the processing component 1302.

[0140] The memory 1304 is configured to store various types of data to support operations on the electronic device 1300. Examples of such data include instructions for any application or method operating on the electronic device 1300, contact data, phone book data, messages, pictures, videos, etc. The memory 1304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0141] The power supply component 1306 provides power to the various components of the electronic device 1300. The power supply component 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1300.

[0142] The multimedia component 1308 includes a touch display screen that provides an output interface between the electronic device 1300 and the user. In some embodiments, the touch display screen may include a liquid crystal display (LCD) and a touch panel (TP). The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front camera and / or a rear camera. When the electronic device 1300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0143] The audio component 1310 is configured to output and / or input audio signals. For example, the audio component 1310 includes a microphone (MIC), and when the electronic device 1300 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1304 or sent via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.

[0144] I / O interface 1312 provides an interface between processing component 1302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0145] The sensor assembly 1314 includes one or more sensors for providing various aspects of status assessment for the electronic device 1300. For example, the sensor assembly 1314 can detect the open / closed state of the electronic device 1300, the relative positioning of components, such as the display and keypad of the electronic device 1300, and the sensor assembly 1314 can also detect the position change of the electronic device 1300 or a component of the electronic device 1300, the presence or absence of user contact with the electronic device 1300, the orientation or acceleration / deceleration of the electronic device 1300, and the temperature change of the electronic device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0146] The communication component 1316 is configured to facilitate wired or wireless communication between the electronic device 1300 and other devices. The electronic device 1300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0147] In an exemplary embodiment, the electronic device 1300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned method of communicating with a shared object.

[0148] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1304 including instructions, and the instructions can be executed by a processor 1320 of the electronic device 1300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0149] In an exemplary embodiment, a computer program product is also provided, and when the computer program is executed by a processor, the above method can be implemented. The computer program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, part or all of the above method can be implemented in whole or in part according to the process or function described in the embodiment of the present disclosure.

[0150] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the embodiments of the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0151] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0152] The above-described embodiments only express several implementation methods of the embodiments of the present disclosure, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the embodiments of the present disclosure, and these all belong to the protection scope of the embodiments of the present disclosure. Therefore, the protection scope of the patent of the embodiments of the present disclosure shall be subject to the attached claims.

Claims

1. A method for communicating with a shared object, characterized in that: The shared object has a near field communication (NFC) function, and the method includes: When the distance to the shared object is within a preset range, obtaining NFC information of the shared object through NFC; the NFC information includes the address of the shared object; Generate a token acquisition instruction according to the NFC information, send the token acquisition instruction to the shared object via NFC, and acquire a token response instruction sent by the shared object based on the token acquisition instruction via NFC, wherein the token response instruction includes a dynamic token; An unlocking instruction is generated according to the address of the shared object, the dynamic token and the unlocking password obtained from the server, and the unlocking instruction is sent via NFC so that the shared object unlocks the door based on the unlocking instruction; the unlocking password is obtained from the server by generating a password acquisition request through the address of the shared object and sending the password acquisition request to the server.

2. The method according to claim 1, characterized in that The generating an unlocking instruction according to the dynamic token comprises: Sending a password acquisition request to the server; the password acquisition request includes the address of the shared object carried in the NFC information; receiving an unlocking password sent by the server based on the password acquisition request; The unlocking instruction is generated according to the address of the shared object, the dynamic token and the unlocking password.

3. The method according to any one of claims 1 to 2, characterized in that: The method further comprises: An unlocking response instruction generated by the shared object according to the unlocking instruction is obtained through NFC; wherein the unlocking response instruction includes the address of the shared object and the unlocking result.

4. The method according to claim 3, characterized in that The method further comprises: The unlocking response instruction is sent to the server, so that the server determines the operation and maintenance operation to be performed next according to the unlocking response instruction.

5. The method according to claim 1, characterized in that The data format of the NFC information includes a data format set based on the NDEFMessage protocol.

6. The method according to claim 1, characterized in that The NFC information includes the address and data information of the shared object; the data information is used to represent the type of operation performed on the shared object.

7. The method according to claim 6, characterized in that The NFC information also includes startup record information of the application APP corresponding to the shared object on the terminal device.

8. The method according to claim 7, characterized in that In the NFC information, the startup record information is located before the address of the shared object, and the address of the shared object is located before the data information.

9. The method according to any one of claims 1-2, characterized in that: The shared objects include smart locks and shared power banks of shared devices.

10. A device for communicating with a shared object, characterized in that: The shared object has a near field communication (NFC) function, and the device includes: An information acquisition module, configured to acquire NFC information of a shared object by means of NFC when the distance to the shared object is within a preset range; the NFC information includes the address of the shared object; A first acquisition module is used to generate a token acquisition instruction according to the NFC information, send the token acquisition instruction to the shared object through NFC, and acquire a token response instruction sent by the shared object based on the token acquisition instruction through NFC, wherein the token response instruction includes a dynamic token; The first sending module is used to generate an unlocking instruction according to the address of the shared object, the dynamic token and the unlocking password obtained from the server, and send the unlocking instruction via NFC, so that the shared object unlocks the door based on the unlocking instruction; the unlocking password is obtained from the server by generating a password acquisition request through the address of the shared object and sending the password acquisition request to the server.

11. The device for communicating with a shared object according to claim 10, characterized in that: The sending module comprises: A second sending unit is used to send a password acquisition request to the server; the password acquisition request includes the address of the shared object carried in the NFC information; A receiving unit, configured to receive an unlocking password sent by the server based on the password acquisition request; A generating unit is used to generate the unlocking instruction according to the address of the shared object, the dynamic token and the unlocking password.

12. The device for communicating with a shared object according to any one of claims 10 to 11, characterized in that: The device also includes: The second acquisition module is used to acquire, by NFC, an unlocking response instruction generated by the shared object according to the unlocking instruction; wherein the unlocking response instruction includes the address of the shared object and the unlocking result.

13. The device for communicating with a shared object according to claim 12, characterized in that: The device also includes: The second sending module is used to send the unlocking response instruction to the server, so that the server determines the operation and maintenance operation to be performed next according to the unlocking response instruction.

14. The device for communicating with a shared object according to claim 10, characterized in that: The data format of the NFC information includes a data format set based on the NDEF Message protocol.

15. The device for communicating with a shared object according to claim 10, characterized in that: The NFC information includes the address and data information of the shared object; the data information is used to represent the type of operation performed on the shared object.

16. The device for communicating with a shared object according to claim 15, characterized in that: The NFC information also includes startup record information of the application APP corresponding to the shared object on the terminal device.

17. The device for communicating with a shared object according to claim 16, characterized in that: In the NFC information, the startup record information is located before the address of the shared object, and the address of the shared object is located before the data information.

18. The device for communicating with a shared object according to any one of claims 10 to 11, characterized in that: The shared objects include smart locks and shared power banks of shared devices.

19. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

20. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Shared bicycle bluetooth unlocking method and device

    CN109255864A

  • Unlocking method of shared equipment and related equipment

    CN112396738A