CN115471929A - Unlocking method and device and electronic equipment - Google Patents

Unlocking method and device and electronic equipment Download PDF

Info

Publication number
CN115471929A
CN115471929A CN202210570863.7A CN202210570863A CN115471929A CN 115471929 A CN115471929 A CN 115471929A CN 202210570863 A CN202210570863 A CN 202210570863A CN 115471929 A CN115471929 A CN 115471929A
Authority
CN
China
Prior art keywords
unlocked
wireless communication
intersection
candidate
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210570863.7A
Other languages
Chinese (zh)
Inventor
熊伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qisheng Technology Co Ltd
Original Assignee
Beijing Qisheng Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qisheng Technology Co Ltd filed Critical Beijing Qisheng Technology Co Ltd
Publication of CN115471929A publication Critical patent/CN115471929A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Quality & Reliability (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The embodiment of the invention discloses an unlocking method, an unlocking device and electronic equipment.

Description

Unlocking method and device and electronic equipment
The present application claims priority from chinese patent application No. 2021105674195 entitled "a method, apparatus and electronic device for unlocking" filed 24/5/2021, the entire contents of which are incorporated herein by reference.
Technical Field
The present invention relates to the field of communications and control technologies, and in particular, to an unlocking method and apparatus, and an electronic device.
Background
At present, many devices unlock through an information code (for example, a two-dimensional code, etc.), but the information code on the device may be damaged or the information code cannot be identified due to environmental problems, and thus how to unlock the device under the above circumstances is an urgent problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present invention provide an unlocking method, an unlocking apparatus, and an electronic device, so as to accurately locate a target device through a plurality of wireless communication signals and perform unlocking when the device cannot be identified by an information code.
In a first aspect, an embodiment of the present invention provides an unlocking method, where the method includes:
in response to not identifying the information code within a first predetermined time period, determining a plurality of scanned wireless communication signals;
determining target equipment according to the equipment sets to be unlocked respectively corresponding to the wireless communication signals;
and sending the information of the target equipment to enable the target equipment to be controlled to unlock.
In a second aspect, an embodiment of the present invention provides an unlocking device, including:
a signal scanning unit configured to determine a plurality of scanned wireless communication signals in response to an unidentified information code within a first predetermined period of time;
the target device determining unit is configured to determine a target device according to the device set to be unlocked, which respectively corresponds to each wireless communication signal;
a transmitting unit configured to transmit information of the target device to enable the target device to be controlled to unlock.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory is used to store one or more computer program instructions, where the one or more computer program instructions are executed by the processor to implement the method according to the first aspect of the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method according to the first aspect of the embodiment of the present invention.
In a fifth aspect, embodiments of the present invention provide a computer program product, which when run on a computer causes the computer to perform the method according to the first aspect of embodiments of the present invention.
In the embodiment of the invention, in response to that the information code is not identified in the first preset time period, the scanned wireless communication signals are determined, the target device is determined according to the device set to be unlocked corresponding to each wireless communication signal, and the information of the target device is sent, so that the target device is controlled to be unlocked.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1 is a flow chart of a method of unlocking an lock of an embodiment of the present invention;
FIG. 2 is a schematic diagram of a user terminal prompt interface according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another user terminal prompt interface according to an embodiment of the invention;
fig. 4 is a flowchart of a target device determination method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a user terminal interface according to an embodiment of the present invention;
fig. 6 is a flowchart of another target device determination method according to an embodiment of the present invention;
FIG. 7 is a schematic illustration of an unlocking procedure of an embodiment of the present invention;
fig. 8 is a schematic view of an unlocking device of the embodiment of the present invention;
fig. 9 is a schematic diagram of an electronic device of an embodiment of the invention.
Detailed Description
The present invention will be described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth. It will be apparent to one skilled in the art that the present invention may be practiced without these specific details. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention.
Furthermore, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
In this embodiment, each device has a corresponding unique information code, and the user terminal can identify the information of the device by scanning the information code set on the device and request to unlock the device by uploading the information of the device. For example, a two-dimensional code set on the shared bicycle, the user terminal may identify the ID of the shared bicycle by scanning the two-dimensional code on the shared bicycle, and request the service provider to control unlocking of the shared bicycle by uploading the ID of the shared bicycle. It should be understood that, the present embodiment is mainly illustrated by using a sharing single vehicle, but the present embodiment does not limit the application scenarios, for example, other sharing devices such as a sharing electric vehicle, a sharing automobile, a sharing charger baby, or other application scenarios that are unlocked by scanning an information code.
It should be understood that the user information, such as account information, obtained by the present embodiment is obtained after authorization of the user.
Fig. 1 is a flowchart of an unlocking method according to an embodiment of the present invention. As shown in fig. 1, the unlocking method of the embodiment of the present invention includes the following steps:
step S110, in response to that the information code is not identified within the first predetermined time period, determining multiple types of wireless communication signals corresponding to the scanned at least one device to be unlocked. Optionally, this embodiment mainly takes the examples that the multiple types of wireless communication signals include bluetooth signals and NFC signals. It should be understood that the types of wireless communication signals are determined based on the wireless communication devices configured by the device and the user terminal. For example, if the device and the user terminal are further configured with Zigbee wireless communication devices, the multiple types of wireless communication signals may further include Zigbee signals, or the multiple types of wireless communication signals include bluetooth signals, zigbee signals, and the like, and the specific types of the wireless communication signals are not limited in this embodiment.
In this embodiment, when the user terminal scans the information code but does not successfully identify the information in the information code, the multiple types of wireless communication signals corresponding to the scanned at least one device to be unlocked are determined. Taking the bluetooth signal and the NFC signal as an example, optionally, if the user terminal has started the bluetooth and NFC functions, the user terminal determines, in response to the unidentified information code within the first predetermined time period, multiple types of wireless communication signals corresponding to the scanned at least one device to be unlocked. In other optional implementation manners, if the user terminal has started the bluetooth and NFC functions, the user terminal controls the interface to display whether to identify the device to be unlocked in a wireless communication signal manner in response to that the information code is not identified within the first predetermined time period, and determines, in response to a determination instruction of the user, multiple types of wireless communication signals corresponding to the scanned at least one device to be unlocked. Optionally, if the user terminal does not start the bluetooth and/or NFC function, the user may be prompted to start the bluetooth and/or NFC function on the user terminal interface, and after the user terminal starts the bluetooth and/or NFC function, the multiple types of wireless communication signals corresponding to the scanned at least one device to be unlocked are determined. Therefore, the user can determine whether to unlock the current equipment or unlock other equipment in a prompt mode, and the user experience is improved.
In an optional implementation manner, taking the device to be unlocked as a sharing bicycle as an example, after all bluetooth signals and NFC signals scanned by the user terminal are acquired, the bluetooth signals and the NFC signals corresponding to the sharing bicycle are screened out from the device. Optionally, the bluetooth device names and the NFC device names of the devices on the shared bicycle of the same service party have uniformity, so that screening may be performed according to the bluetooth device names and the NFC device names to determine bluetooth signals and NFC signals corresponding to the scanned shared bicycle. Optionally, the name of the wireless communication device may be determined according to the category of the wireless communication signal, the identifier of the device to be unlocked, and the like. It should be understood that the present embodiment does not limit the manner in which the names of the wireless communication devices are set.
Fig. 2 is a schematic diagram of a user terminal prompt interface according to an embodiment of the present invention. Fig. 2 is a schematic diagram of an interface for prompting a user to turn on bluetooth and/or NFC functionality. As shown in fig. 2, if the user terminal does not successfully recognize the information of the information code within the first preset time period, the user terminal interface 1 is controlled to display information for prompting whether to adopt the wireless communication signal recognition device, and in fig. 2, a pop-up window prompting mode is taken as an example, and in response to the user determining to adopt the wireless communication signal recognition device for recognition, a bluetooth signal and an NFC signal scanned by the user terminal are acquired. And if the user terminal does not start the Bluetooth and/or NFC function currently, controlling the user terminal interface 1 to display information for prompting the start of the Bluetooth and NFC function. Optionally, the bluetooth device and/or the NFC device is started in response to the determination that the user starts the bluetooth and NFC functions, and the scanned bluetooth signal and NFC signal are determined, or whether the bluetooth and NFC functions are started again in response to the determination that the user starts the bluetooth and NFC functions, and if the user still does not start the bluetooth and/or NFC functions currently, the user terminal interface 1 is controlled to display information prompting to start the bluetooth and NFC functions again. It should be understood that the user terminal interface described in fig. 2 is only exemplary, and the presentation manner and the presented prompt content do not limit the user terminal interface of a specific application scenario.
Alternatively, the first predetermined period of time may be determined according to an average time of successful identification of the information code. It should be understood that the determination manner of the length of the first predetermined time period is not limited in this embodiment, and may be preset according to the habit of the user, for example.
In an optional implementation manner, the unlocking method of the embodiment of the present invention further includes: and controlling the prompt message to be displayed on the user terminal interface in response to the information code not being identified within the second preset time period. The prompt information is used for prompting a user to adjust the angle and/or distance between the user terminal and the information code. In a specific application scenario, the user terminal fails to recognize the information code, which may be due to damage of the information code, or due to misalignment of a camera of the user terminal with the information code, only a part of the information code may be captured, or even if the camera of the user terminal is aligned with the information code, only a part of the information code may be captured due to a light problem, or the camera of the user terminal is far from the information code, so that the information code cannot be recognized. Therefore, in order to improve the efficiency of information code identification, in the embodiment, before determining the plurality of scanned wireless communication signals, the user is first prompted to adjust the angle and/or distance between the user terminal and the information code, so that the user terminal can scan the whole information code and further identify the information code, and if the information of the information code cannot be identified within a predetermined time period, the scanned wireless communication signal information is determined in the manner described above.
Fig. 3 is a schematic diagram of another user terminal prompt interface according to an embodiment of the present invention. As shown in fig. 3, the user terminal controls the user terminal interface 2 to display information prompting to adjust the scanning angle or distance in response to unsuccessful recognition of the information code within the second predetermined time period, further recognizes the information code, controls the user terminal interface 2 to display information prompting whether to adopt the wireless communication signal recognition device or not in response to unsuccessful recognition of the information code within the first predetermined time period, and obtains the bluetooth signal and the NFC signal scanned by the user terminal in response to the user determining to adopt the wireless communication signal recognition device for recognition.
Optionally, lengths of the first predetermined time period and the second predetermined time period in this embodiment may be the same or different, and this embodiment does not limit this.
And step S120, determining target equipment according to the equipment sets to be unlocked respectively corresponding to the various wireless communication signals. Taking the bluetooth signal and the NFC signal as examples, after the user terminal starts the bluetooth device and the NFC device, the user terminal can scan surrounding devices to be unlocked, which start the bluetooth device, that is, a device set to be unlocked corresponding to the bluetooth signal, and start devices to be unlocked, which start the NFC device, that is, a device set to be unlocked corresponding to the NFC wireless communication signal.
In an alternative implementation, step S120 includes: and determining the intersection of the equipment sets to be unlocked corresponding to various wireless communication signals, and determining the target equipment according to the intersection.
Optionally, in response to that the number of the devices to be unlocked in the intersection is 1, determining the devices to be unlocked in the intersection as target devices. Taking the bluetooth signal and the NFC signal as an example, if only one device to be unlocked is determined based on the bluetooth signal and the NFC signal, the device to be unlocked is determined as the target device.
Suppose that the bluetooth signal corresponding to the device to be unlocked scanned by the user terminal includes { dd-bt-bs001, dd-bt-bs002, dd-bt-bs003}, and the NFC signal corresponding to the device to be unlocked scanned by the user terminal includes { dd-NFC-bs001}. Therefore, the first set of devices to be unlocked corresponding to the bluetooth signal is { bs001, bs002, bs003}, and the second set of devices to be unlocked corresponding to the NFC signal is { bs001}. Wherein bs001 is the device identifier to be unlocked. And the intersection of the first device set to be unlocked and the second device set to be unlocked is { bs001}, and the bs001 of the device to be unlocked in the intersection is determined as the target device.
Optionally, in response to that the number of the devices to be unlocked in the intersection is greater than 1, determining the device to be unlocked with the largest signal strength in the intersection as the target device. The signal strength is the strength of at least one wireless communication signal in various types of wireless communication signals. That is, the target device is determined by at least one wireless communication signal of detectable strength. Taking the bluetooth signal and the NFC signal as an example, if there are a plurality of devices to be unlocked determined based on the bluetooth signal and the NFC signal, the target device is determined according to the wireless communication signal strengths corresponding to the plurality of devices to be unlocked. Optionally, the target device is determined according to the bluetooth signal strengths corresponding to the multiple devices to be unlocked.
Suppose that the bluetooth signal corresponding to the device to be unlocked scanned by the user terminal includes { dd-bt-bs001, dd-bt-bs002, dd-bt-bs003, dd-bt-bs004}, and the NFC signal corresponding to the device to be unlocked scanned by the user terminal includes { dd-NFC-bs001, dd-NFC-bs003, dd-NFC-bs005}. Therefore, the first device set to be unlocked corresponding to the bluetooth signal is { bs001, bs002, bs003, bs004}, and the second device set to be unlocked corresponding to the NFC signal is { bs001, bs003, bs005}. The intersection of the first device set to be unlocked and the second device set to be unlocked is { bs001, bs003}. Taking the example of determining the target device according to the bluetooth signal strength, assuming that the signal strength of the bluetooth signal dd-bt-bs001 scanned by the user terminal is greater than the bluetooth signal dd-bt-bs003, the device to be unlocked bs001 corresponding to the bluetooth signal dd-bt-bs001 is determined as the target device.
Optionally, it is assumed that the category of the wireless communication signal includes a bluetooth signal, a Zigbee signal, and an NFC signal, after obtaining an intersection of each to-be-unlocked device set, the target device may be determined according to the signal strength of the bluetooth signal corresponding to the to-be-unlocked device in the intersection, the target device may also be determined according to the signal strength of the Zigbee signal corresponding to the to-be-unlocked device in the intersection, and the target device may also be determined by synthesizing the signal strengths of the bluetooth signal and the Zigbee signal corresponding to the to-be-unlocked device in the intersection, which is not limited in this embodiment.
Fig. 4 is a flowchart of a target device determining method according to an embodiment of the present invention. As shown in fig. 4, in an alternative implementation manner, when the number of devices to be unlocked in the intersection is greater than 1, the method for determining the target device includes the following steps:
step S121, determining a first candidate device set in response to that the number of devices to be unlocked in the intersection is greater than 1. The first candidate device set comprises a preset device to be unlocked with the maximum signal intensity in the intersection, and the signal intensity is the intensity of at least one wireless communication signal in various wireless communication signals. That is, the candidate devices are determined by at least one wireless communication signal whose strength is detectable.
Taking the bluetooth signal and the NFC signal as an example, there are a plurality of devices to be unlocked that are determined based on the bluetooth signal and the NFC signal, and the determination of the candidate device according to the bluetooth signal strength is taken as an example for explanation. Suppose that the bluetooth signals corresponding to the devices to be unlocked scanned by the user terminal include { dd-bt-bs001, dd-bt-bs002, dd-bt-bs003, dd-bt-bs004, dd-bt-bs005, dd-bt-bs006, dd-bt-bs007}, and the NFC signals corresponding to the devices to be unlocked scanned by the user terminal include { dd-NFC-bs001, dd-NFC-003 bs, dd-NFC-bs005, dd-NFC-bs010}. The first device set to be unlocked corresponding to the bluetooth signal is { bs001, bs002, bs003, bs004, bs005, bs006, bs007}, and the second device set to be unlocked corresponding to the NFC signal is { bs001, bs003, bs005, bs010}. The intersection of the first device set to be unlocked and the second device set to be unlocked is { bs001, bs003, bs005}. Assuming that the device to be unlocked in the predetermined first candidate device set is 2, the signal strength of the bluetooth signal dd-bt-bs001 scanned by the user terminal is greater than the bluetooth signal dd-bt-bs003, and the signal strength of the bluetooth signal dd-bt-bs003 scanned by the user terminal is greater than the bluetooth signal dd-bt-bs005, the device to be unlocked bs001 and bs003 corresponding to the bluetooth signal dd-bt-bs001 and the bluetooth signal dd-bt-bs003 are determined as candidate devices, i.e. the first candidate device set is { bs001, bs003}.
And step S122, controlling to display the candidate device information in the first candidate device set on a user terminal interface. Optionally, the candidate device information includes a candidate device identification, and/or a candidate device image.
Step S123, in response to receiving the candidate device selected by the user, determining the candidate device selected by the user as the target device.
Fig. 5 is a schematic diagram of a user terminal interface according to an embodiment of the present invention. Optionally, in this embodiment, the candidate device information is displayed in a form of a pop-up window. As shown in fig. 5, assuming that the device to be unlocked is a sharing single vehicle, taking the first candidate device set { bs001, bs003} as an example, the device identifications bs001, bs003 of the candidate sharing single vehicle and the image of the candidate sharing single vehicle are displayed in the popup window of the user terminal interface 5. Optionally, selection controls of the candidate sharing bicycles bs001 and bs003 are respectively embedded in the display boxes 51 and 52 corresponding to the device identifiers, and in response to that the display box 51 is triggered (that is, the selection control of the sharing bicycle bs001 is triggered), the candidate sharing bicycle bs001 is determined as the target sharing bicycle.
In some application scenarios, there may be a difference in the color or shape of the candidate device, and thus, in this embodiment, the candidate device information further includes a candidate device image, so that the user may determine the target device more accurately according to the color or shape of the candidate device.
Fig. 6 is a flowchart of another target device determination method according to an embodiment of the present invention. As shown in fig. 6, in an alternative implementation manner, when the number of the devices to be unlocked in the intersection is 0, the method for determining the target device includes the following steps:
step S121', in response to that the number of devices to be unlocked in the intersection is 0, a second candidate device set is determined. The second candidate device set comprises at least one device to be unlocked corresponding to each type of wireless communication signals. The candidate devices of the second candidate device set are determined from the corresponding wireless communication signal strengths and/or the ordered sequence of the corresponding wireless communication signals.
Taking the bluetooth signal and the NFC signal as an example, optionally, in this embodiment, a predetermined number of devices to be unlocked with the largest signal strength (e.g., 1 or 2, etc.) are selected from the set of devices to be unlocked corresponding to the bluetooth signal as candidate devices, and based on the scanned sorting sequence of the NFC signal, a predetermined number of devices to be unlocked (e.g., 1 or 2, etc.) with the top sequence are selected from the set of devices to be unlocked corresponding to the NFC signal as candidate devices, so as to determine the second candidate device set. In other alternative implementations, the corresponding candidate device may also be determined based on the sorted sequence of the scanned bluetooth signals, which is not limited by this embodiment.
In a specific application scenario, it is assumed that the bluetooth signal corresponding to the device to be unlocked scanned by the user terminal includes { dd-bt-bs001, dd-bt-bs002, dd-bt-bs004, dd-bt-bs005, dd-bt-bs007}, and the NFC signal corresponding to the device to be unlocked scanned by the user terminal includes { dd-NFC-bs003, dd-NFC-bs006, dd-NFC-bs010}. The first device set to be unlocked corresponding to the bluetooth signal is { bs001, bs002, bs004, bs005, bs007}, and the second device set to be unlocked corresponding to the NFC signal is { bs003, bs006, bs010}. The device to be unlocked in the intersection of the first device set to be unlocked and the second device set to be unlocked is 0. Assuming that the bluetooth signal of the device bs001 to be unlocked scanned by the user terminal is strongest in the first device set to be unlocked, the device bs001 to be unlocked is determined as a candidate device. In the NFC signal sequence scanned by the user terminal, the dd-NFC-bs003 is at the first position of the sequence, and the device bs003 to be unlocked corresponding to the dd-NFC-bs003 is determined as a candidate device. Thus, the second set of candidate devices is { bs001, bs003}.
It should be understood that, if the number of bluetooth signals (or NFC signals) corresponding to the device to be unlocked scanned by the user terminal is 0, and the number of devices to be unlocked in the above intersection is also 0, the second candidate device set may be determined from an NFC signal sequence (or bluetooth signal sequence) scanned by the user terminal, which is not illustrated in this embodiment one by one.
And step S122', controlling to display the candidate device information in the second candidate device set on the user terminal interface. Optionally, the candidate device information includes a candidate device identification, and/or a candidate device image.
Step S123', in response to receiving the candidate device selected by the user, determining the candidate device selected by the user as the target device.
Steps S122'-S123' are similar to steps S122-S123 in fig. 4, and the corresponding user terminal interface is similar to fig. 5, which is not repeated herein.
And step S130, transmitting the information of the target device so that the target device is controlled to be unlocked.
Optionally, in this embodiment, after the user terminal determines the target device, the identifier of the target device is sent to the server to request unlocking, and the server controls the target device to unlock based on the request of the user terminal.
In the embodiment of the invention, the scanned wireless communication signals are determined in response to the fact that the information code is not identified in the first preset time period, the target equipment is determined according to the equipment set to be unlocked corresponding to each wireless communication signal, and the information of the target equipment is sent, so that the target equipment is controlled to be unlocked.
Fig. 7 is a schematic diagram of an unlocking process according to an embodiment of the present invention. The present embodiment exemplifies unlocking the sharing bicycle. As shown in fig. 7, when the user needs to use the sharing bicycle, the user terminal 7 is used to scan the two-dimensional code on the sharing bicycle b4 to unlock the sharing bicycle b4. In the present embodiment, it is assumed that the environment of the user includes the sharing bicycles b1-b5, and the identifications of the sharing bicycles b1-b5 are bs001-bs005 in sequence. Optionally, the identifier of the shared bicycle may be located around the two-dimensional code, which is not limited in this embodiment.
In this embodiment, if the user terminal 7 does not successfully recognize the two-dimensional code of the sharing bicycle b4 within the second predetermined time period, the user terminal interface 71 is controlled to display information prompting adjustment of the scanning angle or distance, and the two-dimensional code is further recognized. If the user terminal 7 has not successfully recognized the two-dimensional code within the first predetermined time period, the user terminal interface 71 is controlled to display information prompting whether to adopt the wireless communication signal recognition device. The user terminal 7 responds to the user to determine that the user performs identification by adopting a mode of a wireless communication signal identification device, and acquires the Bluetooth signal and the NFC signal scanned by the user terminal. If the user terminal 7 does not start the bluetooth and/or NFC function currently, the user terminal interface 71 is controlled to display information prompting to start the bluetooth and NFC functions. The user terminal 7 starts the bluetooth function and the NFC function in response to the determination of the user, starts the bluetooth device and/or the NFC device, determines the scanned bluetooth signal and the scanned NFC signal, or starts the bluetooth function and the NFC function in response to the determination of the user, determines again whether the bluetooth function and the NFC function are started by the user terminal 7, and controls the user terminal interface 71 to display information prompting to start the bluetooth function and the NFC function again if the bluetooth function and/or the NFC function are not currently started by the user terminal 7.
As shown in fig. 7, the bluetooth signals corresponding to the shared bicycle scanned by user terminal 7 include { dd-bt-bs001, dd-bt-bs002, dd-bt-bs003, dd-bt-bs004, dd-bt-bs005}, and the NFC signals corresponding to the shared bicycle scanned by user terminal 7 include { dd-NFC-bs004, dd-NFC-bs005}. Therefore, the first shared bicycle set corresponding to the bluetooth signal scanned by the user terminal 7 is { bs001, bs002, bs003, bs004, bs005}, and the second shared bicycle set corresponding to the NFC signal scanned by the user terminal 7 is { bs004, bs005}. The intersection of the first shared bicycle set and the second shared bicycle set is { bs004, bs005}. Assuming that the devices to be unlocked in the predetermined first candidate device set are 2, the shared bicycles bs004 and bs005 are determined as candidate bicycles.
In the present embodiment, the device identifications bs004, bs005 of the candidate bicycles and the images of the candidate bicycles bs004, bs005 are displayed in the popup window of the user terminal interface 71. Optionally, the display frames 711 and 712 corresponding to the device identifiers are embedded with selection controls of the candidate bicycles bs004 and bs005, respectively, and in response to the display frame 711 being triggered (that is, the selection control of the candidate bicycle bs004 is triggered), the candidate bicycle bs004 is determined as the target bicycle. The user can determine the target bicycle by identifying the equipment identifier arranged on the sharing bicycle. If the shapes and colors of the shared bicycles are different, the user can also determine the target bicycle according to the shape color difference between the currently scanned vehicle and the bicycle image on the user terminal interface 71. Therefore, the embodiment can enable the user to quickly and accurately determine the target bicycle.
In the embodiment of the invention, the scanned wireless communication signals are determined in response to the fact that the information code is not identified in the first preset time period, the target equipment is determined according to the equipment set to be unlocked corresponding to each wireless communication signal, and the information of the target equipment is sent, so that the target equipment is controlled to be unlocked.
Fig. 8 is a schematic view of an unlocking device according to an embodiment of the present invention. As shown in fig. 8, the unlocking apparatus 8 of the embodiment of the present invention includes a signal scanning unit 81, a target device determination unit 82, and a transmission unit 83.
The signal scanning unit 81 is configured to determine, in response to the information code not being identified within the first predetermined time period, multiple types of wireless communication signals corresponding to the scanned at least one device to be unlocked. The target device determining unit 82 is configured to determine the target device according to the device sets to be unlocked respectively corresponding to the various types of wireless communication signals. The transmitting unit 83 is configured to transmit information of the target device to cause the target device to be controlled unlocked. In an alternative implementation, the plurality of types of wireless communication signals include bluetooth information and NFC signals.
In an alternative implementation, the target device determination unit 82 includes an intersection determination sub-unit and a target device determination sub-unit. The intersection determining subunit is configured to determine an intersection of the sets of devices to be unlocked corresponding to the various types of wireless communication signals. The target device determination subunit is configured to determine the target device from the intersection.
In an optional implementation manner, the target device determining subunit includes a first device determining module. The first device determination module is configured to determine the device to be unlocked in the intersection as the target device in response to the number of devices to be unlocked in the intersection being 1.
In an optional implementation manner, the target device determination subunit includes a second device determination module. The second device determination module is configured to determine, as the target device, a device to be unlocked with a maximum signal strength in the intersection in response to the number of devices to be unlocked in the intersection being greater than 1, where the signal strength is a strength of at least one of the wireless communication signals.
In an optional implementation manner, the target device determining subunit includes a first candidate device set determining module, a first display module, and a third device determining module. The first candidate device set determining module is configured to determine a first candidate device set in response to the number of devices to be unlocked in the intersection being greater than 1, the candidate device set including a predetermined number of devices to be unlocked in the intersection having a greatest signal strength of at least one of the wireless communication signals. The first display module is configured to control display of candidate device information in the first candidate device set at a user terminal interface. A third device determination module configured to determine a user-selected candidate device as the target device in response to receiving the user-selected candidate device.
In an optional implementation manner, the target device determining subunit includes a second candidate device set determining module, a second display module, and a fourth device determining module. A second candidate device set determining module configured to determine a second candidate device set in response to that the number of the devices to be unlocked in the intersection is 0, where the second candidate device set includes at least one device to be unlocked respectively corresponding to each type of wireless communication signal, and the candidate devices in the second candidate device set are determined according to the corresponding wireless communication signal strengths and/or the ordered sequence of the corresponding wireless communication signals. A second display module configured to control display of candidate device information in the second candidate device set at a user terminal interface. A fourth device determination module configured to determine a user-selected candidate device as the target device in response to receiving the user-selected candidate device.
In an alternative implementation, the candidate device information is displayed in a form of a pop-up window.
In an alternative implementation, the candidate device information includes a candidate device identification, and/or a candidate device image.
In an alternative implementation, the unlocking means 8 also comprise a display unit. The display unit is configured to respond to the information code which is not identified in the second preset time period, and control the display of prompt information on the user terminal interface, wherein the prompt information is used for prompting a user to adjust the angle and/or the distance between the user terminal and the information code.
In the embodiment of the invention, the scanned wireless communication signals are determined in response to the fact that the information code is not identified in the first preset time period, the target equipment is determined according to the equipment set to be unlocked corresponding to each wireless communication signal, and the information of the target equipment is sent, so that the target equipment is controlled to be unlocked.
Fig. 9 is a schematic diagram of an electronic device of an embodiment of the invention. As shown in fig. 9, the electronic device 9 is a general-purpose data processing apparatus comprising a general-purpose computer hardware structure including at least a processor 91 and a memory 92. The processor 91 and the memory 92 are connected by a bus 93. The memory 92 is adapted to store instructions or programs executable by the processor 91. The processor 91 may be a stand-alone microprocessor or may be a collection of one or more microprocessors. Thus, the processor 91 implements the processing of data and the control of other devices by executing instructions stored by the memory 92 to perform the method flows of embodiments of the present invention as described above. The bus 93 connects the above-described components together, and also connects the above-described components to a display controller 94 and a display device and an input/output (I/O) device 95. Input/output (I/O) devices 95 may be a mouse, keyboard, modem, network interface, touch input device, motion sensing input device, printer, and other devices known in the art. Typically, the input/output devices 95 are coupled to the system through an input/output (I/O) controller 96.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device) or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may employ a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow in the flow diagrams can be implemented by computer program instructions.
These computer program instructions may be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows.
These computer program instructions may also be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows.
Another embodiment of the invention relates to a computer program product for causing a computer to perform some or all of the above method embodiments when the computer program product runs on a computer.
Another embodiment of the invention is directed to a non-volatile storage medium storing a computer-readable program for causing a computer to perform some or all of the above-described method embodiments.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be accomplished by specifying the relevant hardware through a program, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (23)

1. A method of unlocking, the method comprising:
in response to the fact that the information code is not identified in the first preset time period, determining multiple types of wireless communication signals corresponding to the scanned at least one device to be unlocked;
determining target equipment according to the equipment sets to be unlocked respectively corresponding to the various wireless communication signals;
and sending the information of the target equipment to enable the target equipment to be controlled to unlock.
2. The method of claim 1, wherein determining the target device according to the device sets to be unlocked respectively corresponding to the various types of wireless communication signals comprises:
determining the intersection of the equipment sets to be unlocked corresponding to the various wireless communication signals;
and determining the target equipment according to the intersection.
3. The method of claim 2, wherein determining the target device from the intersection comprises:
and in response to the number of the devices to be unlocked in the intersection being 1, determining the devices to be unlocked in the intersection as the target devices.
4. The method of claim 2, wherein determining the target device from the intersection comprises:
and in response to that the number of the devices to be unlocked in the intersection is greater than 1, determining the device to be unlocked with the largest signal strength in the intersection as the target device, wherein the signal strength is the strength of at least one wireless communication signal in each wireless communication signal.
5. The method of claim 2, wherein determining the target device from the intersection comprises:
in response to the number of devices to be unlocked in the intersection being greater than 1, determining a first candidate device set, where the candidate device set includes a predetermined number of devices to be unlocked with the largest signal strength in the intersection, and the signal strength is the strength of at least one wireless communication signal in each of the wireless communication signals;
controlling the candidate device information in the first candidate device set to be displayed on a user terminal interface;
in response to receiving a user-selected candidate device, determining the user-selected candidate device as the target device.
6. The method of claim 2, wherein determining the target device from the intersection comprises:
responding to the number of the devices to be unlocked in the intersection being 0, determining a second candidate device set, wherein the second candidate device set comprises at least one device to be unlocked corresponding to each type of wireless communication signals, and the candidate devices in the second candidate device set are determined according to the corresponding wireless communication signal strength and/or the corresponding ranking sequence of the wireless communication signals;
controlling the candidate device information in the second candidate device set to be displayed on a user terminal interface;
in response to receiving a user-selected candidate device, determining the user-selected candidate device as the target device.
7. The method of claim 5 or 6, wherein the candidate device information is displayed in the form of a pop-up window.
8. The method according to any of claims 5-7, wherein the candidate device information comprises a candidate device identification, and/or a candidate device image.
9. The method of any of claims 1-8, wherein multiple classes of said wireless communication signals comprise Bluetooth information and NFC signals.
10. The method of claim 1, further comprising:
and in response to that the information code is not identified in the second preset time period, controlling the display of prompt information on the interface of the user terminal, wherein the prompt information is used for prompting the user to adjust the angle and/or distance between the user terminal and the information code.
11. An unlocking device, characterized in that the device comprises:
the signal scanning unit is configured to respond to the unidentified information code in a first preset time period, and determine multiple types of wireless communication signals corresponding to the scanned at least one device to be unlocked;
the target equipment determining unit is configured to determine target equipment according to the equipment sets to be unlocked respectively corresponding to the various wireless communication signals;
a transmitting unit configured to transmit information of the target device to enable the target device to be controlled to unlock.
12. The apparatus of claim 11, wherein the target device determining unit comprises:
the intersection determining subunit is configured to determine an intersection of the to-be-unlocked device sets corresponding to the various types of wireless communication signals;
a target device determination subunit configured to determine the target device from the intersection.
13. The apparatus of claim 12, wherein the target device determining subunit comprises:
a first device determination module configured to determine the devices to be unlocked in the intersection as the target device in response to the number of devices to be unlocked in the intersection being 1.
14. The apparatus of claim 12, wherein the target device determining subunit comprises:
a second device determination module configured to determine, as the target device, a device to be unlocked in the intersection whose signal strength is the strength of at least one of the wireless communication signals, in response to the number of devices to be unlocked in the intersection being greater than 1.
15. The apparatus of claim 12, wherein the target device determining subunit comprises:
a first candidate device set determining module configured to determine a first candidate device set in response to the number of devices to be unlocked in the intersection being greater than 1, the candidate device set including a predetermined number of devices to be unlocked in the intersection having a maximum signal strength, the signal strength being a strength of at least one of the wireless communication signals;
a first display module configured to control display of candidate device information in the first candidate device set at a user terminal interface;
a third device determination module configured to determine a user-selected candidate device as the target device in response to receiving the user-selected candidate device.
16. The apparatus of claim 12, wherein the target device determining subunit comprises:
a second candidate device set determining module, configured to determine, in response to that the number of devices to be unlocked in the intersection is 0, a second candidate device set, where the second candidate device set includes at least one device to be unlocked respectively corresponding to each type of wireless communication signal, and the candidate devices in the second candidate device set are determined according to the corresponding wireless communication signal strength and/or the ordered sequence of the corresponding wireless communication signals;
a second display module configured to control display of candidate device information in the second candidate device set at a user terminal interface;
a fourth device determination module configured to determine a user-selected candidate device as the target device in response to receiving the user-selected candidate device.
17. The apparatus of claim 15 or 16, wherein the candidate device information is displayed in the form of a pop-up window.
18. The apparatus according to any of claims 15-17, wherein the candidate device information comprises a candidate device identification, and/or a candidate device image.
19. The apparatus of any of claims 11-18, wherein multiple classes of said wireless communication signals comprise bluetooth information and NFC signals.
20. The apparatus of claim 11, further comprising:
and the display unit is configured to respond to that the information code is not identified in the second preset time period, and control the display of prompt information on the interface of the user terminal, wherein the prompt information is used for prompting the user to adjust the angle and/or the distance between the user terminal and the information code.
21. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any of claims 1-10.
22. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 10.
23. A computer program product, characterized in that, when run on a computer, causes the computer to perform the method according to any one of claims 1-10.
CN202210570863.7A 2021-05-24 2022-05-24 Unlocking method and device and electronic equipment Pending CN115471929A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2021105674195 2021-05-24
CN202110567419 2021-05-24

Publications (1)

Publication Number Publication Date
CN115471929A true CN115471929A (en) 2022-12-13

Family

ID=84363248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210570863.7A Pending CN115471929A (en) 2021-05-24 2022-05-24 Unlocking method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115471929A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844730A (en) * 2017-11-07 2018-03-27 维沃移动通信有限公司 A kind of graphic code scan method and mobile terminal
CN108616886A (en) * 2016-12-14 2018-10-02 上海掌门科技有限公司 A kind of method and apparatus generating wireless access point topological network
CN109509342A (en) * 2018-12-13 2019-03-22 成都三柚科技有限公司 A kind of vehicle parking method, apparatus, electronic equipment and storage medium
CN111210222A (en) * 2020-01-08 2020-05-29 支付宝实验室(新加坡)有限公司 Data display and payment method, device, equipment and medium
CN111862399A (en) * 2019-12-30 2020-10-30 北京骑胜科技有限公司 Unlocking request generation method and device and electronic equipment
US20200371251A1 (en) * 2017-04-06 2020-11-26 Huawei Technologies Co., Ltd. Positioning Method and Apparatus
CN112734311A (en) * 2021-03-29 2021-04-30 浙江口碑网络技术有限公司 Distribution order processing method and device and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616886A (en) * 2016-12-14 2018-10-02 上海掌门科技有限公司 A kind of method and apparatus generating wireless access point topological network
US20200371251A1 (en) * 2017-04-06 2020-11-26 Huawei Technologies Co., Ltd. Positioning Method and Apparatus
CN107844730A (en) * 2017-11-07 2018-03-27 维沃移动通信有限公司 A kind of graphic code scan method and mobile terminal
CN109509342A (en) * 2018-12-13 2019-03-22 成都三柚科技有限公司 A kind of vehicle parking method, apparatus, electronic equipment and storage medium
CN111862399A (en) * 2019-12-30 2020-10-30 北京骑胜科技有限公司 Unlocking request generation method and device and electronic equipment
CN111210222A (en) * 2020-01-08 2020-05-29 支付宝实验室(新加坡)有限公司 Data display and payment method, device, equipment and medium
CN112734311A (en) * 2021-03-29 2021-04-30 浙江口碑网络技术有限公司 Distribution order processing method and device and computer equipment

Similar Documents

Publication Publication Date Title
CN107251596B (en) Information processing apparatus, communication system, and communication method
US11023184B2 (en) Image forming system and program between a portable terminal and an image forming device with confirmation feature
US9229666B2 (en) Device registration system and method
US9967430B2 (en) Image forming system, mobile terminal, and program
KR20160028368A (en) Image forming apparatus for supporting short-distance wireless communication and operating method thereof, mobile terminal for supporting short-distance wireless communication and operating method thereof and cloud print system for using short-distance wireless communication
CN111866998A (en) Bluetooth network distribution method, equipment and storage medium
EP3567467B1 (en) Mobile terminal device, and method and computer readable medium for the same
JP5696489B2 (en) Server apparatus, printing system, and printing method
CN112637842B (en) Screen projection equipment connection method, system, equipment and storage medium
US9408074B2 (en) Authentication system, electronic device, and authentication method
JP6532352B2 (en) Communication device, control method therefor, and program
US20100046840A1 (en) Image processing apparatus and image processing method for evaluating a plurality of image recognition processing units
US10602021B2 (en) Authentication setting system and image forming apparatus
CN107038462B (en) Equipment control operation method and system
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
US8806072B2 (en) Information processing apparatus, information processing method, and computer program product
US20140062675A1 (en) Data processing apparatus and device cooperation method
KR20150140197A (en) Image scanning apparatus and method for scanning thereof
WO2015041306A1 (en) Device, system, and method
US20150116752A1 (en) Information processing device, non-transitory computer readable medium, and information processing method
CN115471929A (en) Unlocking method and device and electronic equipment
US20170277488A1 (en) Control device, image processing apparatus, non-transitory computer readable medium storing program, information processing control system, and image processing method
US10735616B2 (en) Information processing device for determining whether updating the firmware of an MFP is necessary
JP6766469B2 (en) Information processing equipment, image processing equipment and programs
CN115221487A (en) Identity authentication method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination