CN111328051B - Digital key sharing method and device, electronic equipment and storage medium - Google Patents

Digital key sharing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111328051B
CN111328051B CN202010114659.5A CN202010114659A CN111328051B CN 111328051 B CN111328051 B CN 111328051B CN 202010114659 A CN202010114659 A CN 202010114659A CN 111328051 B CN111328051 B CN 111328051B
Authority
CN
China
Prior art keywords
target
intelligent terminal
digital key
azimuth
key sharing
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.)
Active
Application number
CN202010114659.5A
Other languages
Chinese (zh)
Other versions
CN111328051A (en
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.)
Ingeek Information Security Consulting Associates Co ltd
Original Assignee
Ingeek Information Security Consulting Associates 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 Ingeek Information Security Consulting Associates Co ltd filed Critical Ingeek Information Security Consulting Associates Co ltd
Priority to CN202010114659.5A priority Critical patent/CN111328051B/en
Publication of CN111328051A publication Critical patent/CN111328051A/en
Application granted granted Critical
Publication of CN111328051B publication Critical patent/CN111328051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/026Services making use of location information using location based information parameters using orientation information, e.g. compass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention relates to the technical field of the Internet of things and discloses a digital key sharing method, a digital key sharing device, electronic equipment and a storage medium. The method comprises the following steps: searching electronic equipment in a preset range around the intelligent terminal, and determining the azimuth relation between each searched electronic equipment and the intelligent terminal; acquiring screen operation data for representing the target azimuth, and obtaining target equipment from the electronic equipment according to the screen operation data; the azimuth relation between the target equipment and the intelligent terminal is consistent with the target azimuth; and the server is required to issue the digital key to the target equipment according to the digital key sharing information. The embodiment of the invention is beneficial to reducing the operation burden of digital key sharing and rapidly and conveniently realizing digital key sharing.

Description

Digital key sharing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of internet of things, in particular to a digital key sharing method, a digital key sharing device, electronic equipment and a storage medium.
Background
With the development of technology, keyless entry and start (Passive Entry Passive Start, PEPS) systems have been used in a variety of fields due to their high security and convenience. At present, PEPS systems have been widely used in the automotive field to achieve keyless entry into the automobile and keyless start of the automobile. The PEPS system realizes identity authentication by means of a digital key installed in an intelligent terminal carried by a user, and can realize borrowing of vehicles through sharing of the digital key.
In the prior art, the sharing of the digital key requires users (sharers) to understand a complicated key sharing process, and related information of key sharing, such as sharee information and key sharing authority, is manually input through equipment keys and the like. Therefore, for specific user groups such as the old and some emergency occasions, the existing digital key sharing method has the conditions of complex operation, troublesome use and the like, and is not beneficial to popularization and application of the digital key.
Disclosure of Invention
The embodiment of the invention aims to provide a digital key sharing method, a digital key sharing device, electronic equipment and a storage medium, so as to reduce the operation burden of digital key sharing and realize digital key sharing rapidly and conveniently.
In order to solve the technical problems, an embodiment of the present invention provides a digital key sharing method, which is applied to an intelligent terminal, and the method includes:
searching electronic equipment in a preset range around the intelligent terminal, and determining the azimuth relation between each searched electronic equipment and the intelligent terminal;
acquiring screen operation data for representing a target azimuth, and acquiring target equipment from the electronic equipment according to the screen operation data; the azimuth relation between the target equipment and the intelligent terminal is consistent with the target azimuth;
and the server is required to send the digital key to the target equipment according to the digital key sharing information.
The embodiment of the invention also provides a digital key sharing device which is configured in the intelligent terminal, and the device comprises:
the searching module is used for searching the electronic equipment in a preset range around the intelligent terminal and determining the azimuth relation between each searched electronic equipment and the intelligent terminal;
the target equipment determining module is used for acquiring screen operation data for representing the target azimuth and obtaining target equipment from the electronic equipment according to the screen operation data; the azimuth relation between the target equipment and the intelligent terminal is consistent with the target azimuth;
and the sharing operation module is used for communicating with the target equipment to acquire the digital key sharing information, and requesting a server to issue the digital key to the target equipment according to the digital key sharing information.
The embodiment of the invention also provides electronic equipment, which comprises: the system comprises a memory and a processor, wherein the memory stores a computer program, and the processor runs the computer program to realize the sharing method.
Embodiments of the present invention also provide a storage medium storing a computer-readable program for causing a computer to perform the sharing method as described above.
Compared with the prior art, the method and the device for searching the electronic equipment in the preset range around the intelligent terminal, determining the azimuth relation between each searched electronic equipment and the intelligent terminal, and simultaneously obtaining the screen operation data used for representing the target azimuth, so that the target equipment is obtained from the electronic equipment according to the screen operation data, then the target equipment is communicated with the target equipment to obtain the digital key sharing information, and further the server is requested to issue the digital key to the target equipment according to the digital key sharing information. In the embodiment, based on the specific azimuth relation between the electronic equipment and the intelligent terminal, the user designates the target equipment through simple screen operation, and then the acquisition of the digital key sharing information is realized through automatic interaction between the intelligent terminal and the target equipment, so that the step of manually inputting related key sharing information in the prior art is omitted, the operation burden of digital key sharing can be effectively reduced, and the digital key sharing can be safely and quickly realized.
As one embodiment, the screen operation data includes: sliding operation; the obtaining the target device from the electronic device according to the screen operation data specifically includes:
identifying a sliding direction corresponding to the sliding operation; the sliding direction is used for indicating the target azimuth;
and obtaining the target equipment according to a matching result of the azimuth relation between each electronic equipment and the intelligent terminal and the target azimuth.
As one embodiment, the obtaining the target device according to the matching result between the azimuth relationship between each electronic device and the intelligent terminal and the target azimuth specifically includes:
and when the azimuth relation between the plurality of electronic devices and the intelligent terminal is consistent with the target azimuth, taking the electronic device with the smallest distance between the plurality of electronic devices and the intelligent terminal as the target device.
As one embodiment, the screen operation data includes: clicking or long-press operation or sliding operation; the method for obtaining the screen operation data used for representing the target azimuth comprises the steps of obtaining target equipment from the electronic equipment according to the screen operation data, and specifically comprises the following steps:
displaying the electronic devices on a display interface of the intelligent terminal according to the azimuth relation between the electronic devices and the intelligent terminal;
and acquiring the electronic equipment corresponding to the clicking, long-press operation or the sliding operation in the display interface as the target equipment.
As one embodiment, the intelligent terminal is configured with an antenna array;
determining the azimuth relation between each searched electronic device and the intelligent terminal specifically comprises the following steps:
receiving a broadcast packet sent by the electronic equipment through the antenna array;
and obtaining the azimuth relation between the electronic equipment and the intelligent terminal according to the time difference of the broadcast packet reaching the antenna array.
As one embodiment, before the acquiring the screen operation data for characterizing the target azimuth, the method further includes:
and determining that the identity of the user meets a preset condition.
As an embodiment, the communication with the target device to obtain the digital key sharing information, and the request server for issuing the sharing digital key to the target device according to the digital key sharing information specifically includes:
and if the digital key sharing information comprises the key authority information from the target equipment, prompting a user to confirm the key authority information, and requesting a server to issue a sharing digital key to the target equipment according to the confirmed digital key sharing information.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being understood that the drawings in the following description are only embodiments of the present invention and that other drawings may be obtained according to the drawings provided without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a digital key sharing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart for determining an azimuth relationship between an electronic device and an intelligent terminal in a digital key sharing method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating determining an azimuth relationship between an electronic device and an intelligent terminal in a digital key sharing method according to a first embodiment of the present invention;
FIG. 4 is a flowchart for determining a target device in the digital key sharing method according to the first embodiment of the present invention;
FIG. 5 is a flowchart for determining a target device in a digital key sharing method according to a second embodiment of the present invention;
FIG. 6 is a schematic diagram of a screen operation of a target device in a digital key sharing method according to a first embodiment of the present invention;
FIG. 7 is a schematic diagram of a digital key sharing device according to a third embodiment of the present invention;
fig. 8 is a schematic structural view of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present invention. However, the claimed invention may be practiced without these specific details and with various changes and modifications based on the following embodiments.
The first embodiment of the invention relates to a digital key sharing method which is applied to intelligent terminals, including but not limited to intelligent mobile phones and wearable electronic equipment. As shown in fig. 1, the digital key sharing method of the present embodiment includes steps 101 to 103.
Step 101: searching electronic equipment in a preset range around the intelligent terminal, and determining the azimuth relation between each searched electronic equipment and the intelligent terminal.
In this embodiment, the type of the electronic device may be the same as that of the intelligent terminal, which is not described herein. The preset range is, for example, a range within 1 meter around the intelligent terminal, but not limited thereto, and the preset range can be set according to actual application needs. Specifically, the intelligent terminal may receive a broadcast packet sent by surrounding electronic devices, which may be, by way of example and not limitation, a bluetooth broadcast packet, and may calculate a distance between the electronic device and the intelligent terminal through a received signal strength indicator (Received Signal Strength Indication, RSSI) of the bluetooth broadcast packet, and when the distance is within a preset range, continue to determine an azimuth relationship between the electronic device and the intelligent terminal; when the distance is not within the preset range, the interaction with the electronic device can be stopped, and therefore the intelligent terminal can search all electronic devices around the intelligent terminal within the preset range.
In this embodiment, the intelligent terminal is configured with an antenna array, and the antenna array may be configured on one side or multiple sides of the intelligent terminal. As shown in fig. 2, determining the azimuth relationship between each searched electronic device and the intelligent terminal in step 101 specifically includes step 201 and step 202.
Step 201: and receiving the broadcast packet sent by the electronic equipment through the antenna array.
Step 202: and obtaining the azimuth relation between the electronic equipment and the intelligent terminal according to the time difference of the broadcast packet reaching the antenna array.
At least one side of the intelligent terminal is provided with an antenna array, and when the intelligent terminal receives a broadcast packet sent by the electronic device at the same moment through at least two antennas in the antenna array, the azimuth relationship between the electronic device and the intelligent terminal is obtained according to the time difference of the two antennas receiving the broadcast packet and the distance between the two antennas. As shown in fig. 3, the distance between the first antenna 10 and the second antenna 11 in the antenna array is d, d is less than or equal to the wavelength of the transmitted broadcast packet, the time difference between the broadcast packet sent by the electronic device at the same time and reaching the first antenna 10 and the second antenna 11 is Δt, the transmission speed v of the broadcast packet is the speed of light, the angle a can be calculated by knowing the side length Δt of the oblique side d and one right-angle side, and the intelligent terminal is placed horizontally, and the side where the antenna array is configured faces outwards, at this time, the angle a shown in fig. 3 indicates that the electronic device is located in front of the right of the intelligent terminal, and the orientation of the electronic device relative to the intelligent terminal is approximately: and taking the side where the intelligent terminal antenna array is positioned as an initial reference side, and rotating the azimuth corresponding to the angle A anticlockwise. When the time difference Δt between the arrival of the broadcast packet at the second antenna 11 and the first antenna 10 is greater than zero, the calculated angle a reflects that the electronic device has a direction relative to the intelligent terminal approximately as follows: and taking the side where the intelligent terminal antenna array is positioned as an initial reference side, and rotating the azimuth corresponding to the angle A clockwise. When the angle a approaches 90 degrees, it means that the electronic device is located approximately in front of the intelligent terminal. The broadcast packets sent by different electronic devices carry identifiers, and the identifiers can be Bluetooth addresses of the electronic devices, so that the azimuth relation of the different electronic devices relative to the intelligent terminal can be determined according to the identifiers.
Step 102: and acquiring screen operation data for representing the target azimuth, and obtaining target equipment from the electronic equipment according to the screen operation data.
Specifically, when a user shares a digital key, the digital key APP may provide a key sharing operation interface, the user may observe a target azimuth of a target device of the digital key to be shared relative to the intelligent terminal (i.e., a target azimuth of a sharee relative to the sharee), then perform a sliding operation on the key sharing operation interface, indicate the target azimuth through a sliding direction of the sliding operation, and after detecting the sliding operation of the user, the intelligent terminal obtains the screen operation data (i.e., the sliding operation data).
As shown in fig. 4, step 102 obtains a target device from an electronic device according to screen operation data, and specifically includes step 401 and step 402.
Step 401: the sliding direction corresponding to the sliding operation is identified.
Wherein the sliding direction is used to indicate the target orientation.
Specifically, the screen operation data is sliding operation data of a user, and a sliding track of the user is obtained by analyzing the sliding operation data, so that a sliding direction corresponding to the sliding operation data is obtained. It will be appreciated that the sliding direction may also be determined based on the start point coordinates and the end point coordinates of the sliding operation, thereby contributing to a reduction in the amount of calculation.
Step 402: and obtaining the target equipment according to the matching result of the azimuth relation between each electronic equipment and the intelligent terminal and the target azimuth.
The azimuth relation between the target equipment and the intelligent terminal is consistent with the target azimuth.
Here, the sliding direction is used to indicate the target azimuth, and therefore, the electronic device, of which the azimuth relationship with the intelligent terminal matches the sliding direction, is the target device. The matching of the azimuth relationship between the electronic device and the intelligent terminal with the sliding direction means that the azimuth relationship between the electronic device and the intelligent terminal is approximately the same as the sliding direction. For example, when the user slides up on the operation interface, the electronic device located right in front of the intelligent terminal is the target device (i.e. the sharee is located right in front of the sharer); when the user slides to the right and above on the operation interface, the electronic device located at the right front of the intelligent terminal is the target device (i.e. the sharee is located at the right front of the sharer).
In step 402, when there is a relationship between the plurality of electronic devices and the intelligent terminal that matches the target azimuth, the electronic device having the smallest distance from the intelligent terminal among the plurality of electronic devices is set as the target device.
Specifically, the intelligent terminal can calculate and obtain the distance between each electronic device and the intelligent terminal through the RSSI, and obtain the azimuth relation between each electronic device and the intelligent terminal through the time difference of receiving the broadcast packet from each electronic device through the antenna array. When the azimuth relation between two or more electronic devices and the intelligent terminal is consistent with the target azimuth, the electronic device closest to the intelligent terminal is taken as the target device.
Step 103: and the server is required to issue and share the digital key to the target equipment according to the digital key sharing information.
Specifically, the digital key sharing information may include: sharee user information and key rights information. The sharee user information is, for example, a user mobile phone number. The intelligent terminal can acquire the user information of the sharees through communication with the target equipment. The key authority information may adopt a default value, for example, the service life of the digital key shared at this time is 1 day. After the intelligent terminal acquires the digital key sharing information, the intelligent terminal can request the server to issue the digital key to the target equipment, so that the digital key sharing is realized.
In some applications, step 103 may include: if the digital key sharing information comprises the key authority information from the target equipment, prompting a user to confirm the key authority information, and requesting the server to issue the sharing digital key to the target equipment according to the confirmed digital key sharing information.
Here, the sharee may set key authority information on the target terminal, for example, set the use authority of the digital key to 2 days. When the intelligent terminal receives the key authority information, the user can be prompted to confirm the key authority information in a voice or key-press mode and the like, so that the digital key sharing has more flexibility. It should be understood that key rights information may also be entered by the sharer via an interactive interface provided by the smart terminal.
To ensure security of digital key sharing, in some applications, prior to acquiring the screen operation data for characterizing the target bearing, further comprising: and determining that the identity of the user meets a preset condition. Specifically, whether the user identity is a machine owner or a vehicle owner can be determined by collecting fingerprint information of the user, when the user identity is the machine owner or the vehicle owner, the user identity is determined to meet the preset condition, the user is allowed to execute the digital key sharing operation, and otherwise, the user is refused to execute the digital key sharing operation. The method for determining the user identity is not particularly limited in this embodiment, and the user identity may be determined by other biological information, such as iris information, etc.
Compared with the prior art, the method and the device have the advantages that the electronic devices in the preset range around the intelligent terminal are automatically searched, the azimuth relation of each electronic device relative to the intelligent terminal is obtained, the sliding direction of a user is obtained, the target device is obtained according to the matching result of the sliding direction and the azimuth relation of each electronic device relative to the intelligent terminal, then the digital key sharing information is obtained through communication with the target device, and further the server is requested to issue the digital key to the target device according to the digital key sharing information. In this embodiment, based on a specific azimuth relationship between the electronic device and the intelligent terminal, the user can safely and quickly designate the target device through sliding operation, and then the acquisition of the digital key sharing information is realized through automatic interaction between the intelligent terminal and the target device, so that the step of inputting the key sharing information by manually operating the key by the user is eliminated, the operation burden of digital key sharing can be effectively reduced, and the digital key sharing can be safely, quickly and conveniently realized.
A second embodiment of the present invention relates to a digital key sharing method, which is substantially the same as the first embodiment, and is mainly different in that in the first embodiment, a target orientation is determined by a sliding operation of a user, whereas in the present embodiment, the orientation of electronic devices around the user is displayed, so that the user can conveniently designate the target device.
Only the differences between the digital key sharing method of the present embodiment and the foregoing embodiments will be described below.
Referring to fig. 5, in the present embodiment, the screen operation data includes: click, long press operation, or slide operation.
The method comprises the steps of obtaining screen operation data for representing the target azimuth, and obtaining target equipment from electronic equipment according to the screen operation data, wherein the method specifically comprises the steps of 501 and 502.
Step 501: and displaying the electronic devices on a display interface of the intelligent terminal according to the azimuth relation between the electronic devices and the intelligent terminal.
Step 502: and acquiring the electronic equipment corresponding to clicking, long-press operation or sliding operation in the display interface as target equipment.
After searching the electronic equipment in a preset range around the intelligent terminal and determining the azimuth relation between each searched electronic equipment and the intelligent terminal, displaying each electronic equipment on a display interface of the intelligent terminal according to the azimuth relation between each electronic equipment and the intelligent terminal. As shown in fig. 6, the searched electronic device is displayed according to the azimuth relationship. When a user clicks or presses a certain electronic device for a long time, or slides to the certain electronic device from the intelligent terminal, the electronic device is a target device, and the intelligent terminal can communicate with the target device according to the identification of the target device to acquire the digital key sharing information, so that the server is requested to issue the digital key to the target device according to the digital key sharing information.
Compared with the prior art, the method and the device have the advantages that electronic devices in a preset range around the intelligent terminal are automatically searched, the azimuth relation of the electronic devices relative to the intelligent terminal is obtained, icons of the electronic devices are displayed on the intelligent terminal according to the azimuth relation between the electronic devices and the intelligent terminal, the clicked or long-pressed or slid electronic device is used as target equipment, and digital key sharing information is obtained through communication with the target equipment, so that a server is requested to send the digital key to the target equipment according to the digital key sharing information. The embodiment can effectively lighten the operation burden of sharing the digital key, and safely, quickly and conveniently realize the sharing of the digital key. And the azimuth relation between the electronic equipment and the intelligent terminal is intuitively presented on the display interface, so that the user can more conveniently select the target equipment, misoperation is avoided, and safety is improved.
A third embodiment of the present invention relates to a digital key sharing device configured in an intelligent terminal, referring to fig. 7, the digital key sharing device 700 includes:
the searching module 701 is configured to search electronic devices within a preset range around the intelligent terminal, and determine an azimuth relationship between each searched electronic device and the intelligent terminal;
the target device determining module 702 is configured to obtain screen operation data for characterizing a target azimuth, and obtain a target device from the electronic device according to the screen operation data; the azimuth relation between the target equipment and the intelligent terminal is consistent with the target azimuth;
the sharing operation module 703 is configured to communicate with the target device to obtain the digital key sharing information, and request the server to issue the digital key to the target device according to the digital key sharing information.
Optionally, the smart terminal is configured with an antenna array, and the search module 701 may include:
a receiving sub-module, configured to receive a broadcast packet sent by an electronic device through an antenna array;
and the azimuth determining sub-module is used for obtaining the azimuth relation between the electronic equipment and the intelligent terminal according to the time difference of the broadcast packet reaching the antenna array.
As one embodiment, the screen operation data includes: sliding operation; the target device determining module 702 specifically includes:
the sliding direction identification sub-module is used for identifying the sliding direction corresponding to the sliding operation; the sliding direction is used for indicating the target azimuth;
and the matching determination submodule is used for obtaining target equipment according to the matching result of the azimuth relation between each electronic equipment and the intelligent terminal and the target azimuth. In one example, the matching determination submodule is configured to, when there is a plurality of electronic devices whose azimuth relationship with the intelligent terminal coincides with the target azimuth, set, as the target device, the electronic device with the smallest distance from the intelligent terminal among the plurality of electronic devices.
In some examples, the screen operation data includes: clicking or long-press operation or sliding operation; the target device determining module 702 specifically includes:
the azimuth display sub-module is used for displaying the electronic devices on a display interface of the intelligent terminal according to the azimuth relation between the electronic devices and the intelligent terminal;
and the selection sub-module is used for acquiring the electronic equipment corresponding to clicking, long-press operation or sliding operation in the display interface as target equipment.
In an example, the sharing operation module 703 is specifically configured to prompt the user to confirm the key authority information if the digital key sharing information includes the key authority information from the target device, and request the server to issue the digital key to the target device according to the confirmed digital key sharing information.
Preferably, the digital key sharing apparatus 700 may further include:
and the identity confirmation module is used for determining that the identity of the user meets the preset condition before acquiring the screen operation data for representing the target azimuth.
Compared with the prior art, the digital key sharing device automatically searches electronic devices in a preset range around the intelligent terminal, obtains the azimuth relation of each electronic device relative to the intelligent terminal, obtains the sliding direction of a user, and obtains target devices according to the matching result of the sliding direction and the azimuth relation of each electronic device relative to the intelligent terminal, or displays icons of each electronic device on the intelligent terminal according to the azimuth relation between each electronic device and the intelligent terminal, takes the clicked, long-pressed or slid electronic device as the target device, and then communicates with the target device to obtain digital key sharing information, and further requests a server to issue a digital key to the target device according to the digital key sharing information. In this embodiment, based on a specific azimuth relationship between the electronic device and the intelligent terminal, the user can safely, quickly and conveniently designate the target device through sliding or clicking, long-pressing and other operations, and then the acquisition of the digital key sharing information is realized through automatic interaction between the intelligent terminal and the target device, so that the step of inputting the key sharing information by manually operating the key by the user is eliminated, the operation burden of digital key sharing can be effectively reduced, and the digital key sharing can be safely, quickly and conveniently realized.
A fifth embodiment of the invention relates to an electronic device including, but not limited to, a smart phone and a wearable electronic device. As shown in fig. 8, the electronic device includes: a memory 802, a processor 801, a positioning module, and a communication module;
the positioning module and the communication module are both connected to the processor 801, and the memory 802 stores instructions executable by the at least one processor 801, where the instructions are executed by the at least one processor 801 to implement the digital key sharing method described in the foregoing embodiments.
The electronic device comprises one or more processors 801 and a memory 802, one processor 801 being exemplified in fig. 8. The processor 801, the memory 802 may be connected by a bus or other means, for example in fig. 8. Memory 802, as a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 801 executes various functional applications of the device and data processing, namely, implements the above-described digital key sharing method by running nonvolatile software programs, instructions, and modules stored in the memory 802.
The memory 802 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area. In addition, memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device.
One or more modules are stored in the memory 802 that, when executed by the one or more processors 801, perform the digital key sharing method of any of the method embodiments described above.
The above device may execute the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method, and technical details not described in detail in the embodiment of the present invention may refer to the method provided by the embodiment of the present invention.
Compared with the prior art, the method and the device have the advantages that electronic equipment in a preset range around the intelligent terminal is automatically searched, the azimuth relation of each electronic equipment relative to the intelligent terminal is obtained, meanwhile, the sliding direction of a user is obtained, the target equipment is obtained according to the matching result of the sliding direction and the azimuth relation of each electronic equipment relative to the intelligent terminal, or the icon of each electronic equipment is displayed on the intelligent terminal according to the azimuth relation between each electronic equipment and the intelligent terminal, the clicked, long-pressed or slid electronic equipment is used as the target equipment, then the communication is carried out with the target equipment to obtain digital key sharing information, and further the server is requested to send the digital key to the target equipment according to the digital key sharing information. In this embodiment, based on a specific azimuth relationship between the electronic device and the intelligent terminal, the user can safely, quickly and conveniently designate the target device through sliding or clicking, long-pressing and other operations, and then the acquisition of the digital key sharing information is realized through automatic interaction between the intelligent terminal and the target device, so that the step of inputting the key sharing information by manually operating the key by the user is eliminated, the operation burden of digital key sharing can be effectively reduced, and the digital key sharing can be safely, quickly and conveniently realized.
A sixth embodiment of the present invention relates to a nonvolatile storage medium storing a computer-readable program for causing a computer to execute some or all of the above-described method embodiments.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments of the invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (8)

1. The digital key sharing method is applied to an intelligent terminal and is characterized by comprising the following steps:
searching electronic equipment in a preset range around the intelligent terminal, and determining the azimuth relation between each searched electronic equipment and the intelligent terminal; calculating the distance between the electronic equipment and the intelligent terminal based on the received signal strength indication, and continuously determining the azimuth relationship between the electronic equipment and the intelligent terminal if the distance is within the preset range;
acquiring screen operation data for representing a target azimuth, and acquiring target equipment from the electronic equipment according to the screen operation data; the azimuth relation between the target equipment and the intelligent terminal is consistent with the target azimuth;
the method comprises the steps of communicating with target equipment to obtain digital key sharing information, and requesting a server to issue a digital key to the target equipment according to the digital key sharing information;
the screen operation data includes: sliding operation;
the obtaining the target device from the electronic device according to the screen operation data specifically includes:
identifying a sliding direction corresponding to the sliding operation; the sliding direction is used for indicating the target azimuth;
and obtaining the target equipment according to a matching result of the azimuth relation between each electronic equipment and the intelligent terminal and the target azimuth.
2. The digital key sharing method according to claim 1, wherein the obtaining the target device according to a matching result between the azimuth relationship between each electronic device and the intelligent terminal and the target azimuth specifically includes:
and when the azimuth relation between the plurality of electronic devices and the intelligent terminal is consistent with the target azimuth, taking the electronic device with the smallest distance between the plurality of electronic devices and the intelligent terminal as the target device.
3. The digital key sharing method according to claim 1, wherein the intelligent terminal is configured with an antenna array;
determining the azimuth relation between each searched electronic device and the intelligent terminal specifically comprises the following steps:
receiving a broadcast packet sent by the electronic equipment through the antenna array;
and obtaining the azimuth relation between the electronic equipment and the intelligent terminal according to the time difference of the broadcast packet reaching the antenna array.
4. The digital key sharing method according to claim 1, further comprising, prior to the acquiring the screen operation data for characterizing the target orientation:
and determining that the identity of the user meets a preset condition.
5. The method for sharing a digital key according to any one of claims 1 to 4, wherein the method for communicating with the target device to obtain digital key sharing information and requesting a server to issue a shared digital key to the target device according to the digital key sharing information specifically includes:
and if the digital key sharing information comprises the key authority information from the target equipment, prompting a user to confirm the key authority information, and requesting a server to issue a sharing digital key to the target equipment according to the confirmed digital key sharing information.
6. The utility model provides a digital key sharing device, disposes in intelligent terminal, its characterized in that, the device includes:
the searching module is used for searching the electronic equipment in a preset range around the intelligent terminal and determining the azimuth relation between each searched electronic equipment and the intelligent terminal; the searching module calculates the distance between the electronic equipment and the intelligent terminal based on the received signal strength indication, and if the distance is within the preset range, the azimuth relationship between the electronic equipment and the intelligent terminal is continuously determined;
the target equipment determining module is used for acquiring screen operation data for representing the target azimuth and obtaining target equipment from the electronic equipment according to the screen operation data; the azimuth relation between the target equipment and the intelligent terminal is consistent with the target azimuth;
the screen operation data includes: sliding operation; the target equipment determining module specifically comprises:
the sliding direction identification sub-module is used for identifying the sliding direction corresponding to the sliding operation; the sliding direction is used for indicating the target azimuth;
the matching determination submodule is used for obtaining target equipment according to a matching result of the azimuth relation between each electronic equipment and the intelligent terminal and the target azimuth;
and the sharing operation module is used for communicating with the target equipment to acquire the digital key sharing information, and requesting a server to issue the digital key to the target equipment according to the digital key sharing information.
7. An electronic device, comprising: memory storing a computer program and a processor running the computer program to implement the sharing method according to any one of claims 1 to 5.
8. A storage medium storing a computer readable program for a computer to perform the sharing method of any one of claims 1 to 5.
CN202010114659.5A 2020-02-25 2020-02-25 Digital key sharing method and device, electronic equipment and storage medium Active CN111328051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010114659.5A CN111328051B (en) 2020-02-25 2020-02-25 Digital key sharing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010114659.5A CN111328051B (en) 2020-02-25 2020-02-25 Digital key sharing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111328051A CN111328051A (en) 2020-06-23
CN111328051B true CN111328051B (en) 2023-08-29

Family

ID=71171160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010114659.5A Active CN111328051B (en) 2020-02-25 2020-02-25 Digital key sharing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111328051B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114201738B (en) * 2020-09-02 2023-04-21 荣耀终端有限公司 Unlocking method and electronic equipment
CN114339709A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Wireless communication method and terminal device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150145108A (en) * 2014-06-18 2015-12-29 삼성전자주식회사 Method and Apparatus for Sharing Key
CN105931485A (en) * 2016-04-15 2016-09-07 重庆金瓯科技发展有限责任公司 Appointment service system for shared parking stalls
CN106301781A (en) * 2016-07-27 2017-01-04 山东尼格电子技术有限公司 A kind of Digital Automobile cloud key share system
CN107610351A (en) * 2017-09-27 2018-01-19 刘祉锖 A kind of equipment, cloud platform and system for realizing Car sharing
WO2018040641A1 (en) * 2016-08-31 2018-03-08 长城汽车股份有限公司 Mobile terminal, vehicle terminal, and virtual key sharing method and system
CN108944794A (en) * 2018-06-29 2018-12-07 笠众实业有限公司 Intelligent vehicle electron key system
CN109361718A (en) * 2018-12-26 2019-02-19 上海银基信息安全技术股份有限公司 Identity identifying method, device and medium
CN110060384A (en) * 2017-12-21 2019-07-26 丰田自动车株式会社 Information processing system, key information managing device, key information management method and the non-transitory storage medium for storing program
CN110149325A (en) * 2019-05-16 2019-08-20 东风小康汽车有限公司重庆分公司 A kind of Intelligent key sharing method, device and equipment
CN110362967A (en) * 2019-07-15 2019-10-22 北京奇艺世纪科技有限公司 The anti-tamper detection method of application program, device, terminal device and storage medium
CN110597473A (en) * 2019-07-30 2019-12-20 华为技术有限公司 Screen projection method and electronic equipment
CN110830359A (en) * 2019-09-30 2020-02-21 咪咕动漫有限公司 Multimedia information sharing method, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10437977B2 (en) * 2015-10-13 2019-10-08 Etas Embedded Systems Canada Inc. System and method for digital key sharing for access control

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150145108A (en) * 2014-06-18 2015-12-29 삼성전자주식회사 Method and Apparatus for Sharing Key
CN105931485A (en) * 2016-04-15 2016-09-07 重庆金瓯科技发展有限责任公司 Appointment service system for shared parking stalls
CN106301781A (en) * 2016-07-27 2017-01-04 山东尼格电子技术有限公司 A kind of Digital Automobile cloud key share system
WO2018040641A1 (en) * 2016-08-31 2018-03-08 长城汽车股份有限公司 Mobile terminal, vehicle terminal, and virtual key sharing method and system
CN107610351A (en) * 2017-09-27 2018-01-19 刘祉锖 A kind of equipment, cloud platform and system for realizing Car sharing
CN110060384A (en) * 2017-12-21 2019-07-26 丰田自动车株式会社 Information processing system, key information managing device, key information management method and the non-transitory storage medium for storing program
CN108944794A (en) * 2018-06-29 2018-12-07 笠众实业有限公司 Intelligent vehicle electron key system
CN109361718A (en) * 2018-12-26 2019-02-19 上海银基信息安全技术股份有限公司 Identity identifying method, device and medium
CN110149325A (en) * 2019-05-16 2019-08-20 东风小康汽车有限公司重庆分公司 A kind of Intelligent key sharing method, device and equipment
CN110362967A (en) * 2019-07-15 2019-10-22 北京奇艺世纪科技有限公司 The anti-tamper detection method of application program, device, terminal device and storage medium
CN110597473A (en) * 2019-07-30 2019-12-20 华为技术有限公司 Screen projection method and electronic equipment
CN110830359A (en) * 2019-09-30 2020-02-21 咪咕动漫有限公司 Multimedia information sharing method, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
手机数字钥匙远程控制车辆系统的设计;信瑛南;刘静;李琦;张瀛;董嵩松;丁靖;;汽车工程师(第10期);第23-27页 *

Also Published As

Publication number Publication date
CN111328051A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN111328051B (en) Digital key sharing method and device, electronic equipment and storage medium
US9477687B2 (en) Mobile terminal and metadata setting method thereof
KR101562081B1 (en) Social network service providing system, user terminal and relationship setting method for setting relationship between users of mobile terminal
CN110869907A (en) Method and terminal for browsing application page
CN110166942B (en) Navigation method, server and user terminal
US20230179951A1 (en) Location Processing Method and Related Device
CN111866885A (en) Verification information sharing method and device and electronic equipment
CN111625793A (en) Identity recognition method, order payment method, sub-face library establishing method, device and equipment, and order payment system
CN109657453B (en) Authority setting method and device, mobile terminal and computer readable storage medium
US20160212592A1 (en) Positioning method and device
CN104992616A (en) Map display method and device thereof
CN111724618B (en) Parking position recording and sharing method, electronic equipment and system based on map API
US11804130B2 (en) Vehicle identification method and apparatus, primary device, and secondary device
CN112558833B (en) Application running method and device and electronic equipment
CN109327806B (en) Method, server and client for determining position information
CN111246458A (en) Safe pairing method and device for wearable device, electronic book device and storage medium
CN114239042A (en) Industrial data desensitization method, apparatus, computer device and readable storage medium
CN113194521A (en) 5G communication module network searching method and device, computer equipment and storage medium
CN111770472A (en) Vehicle positioning method and device, vehicle, storage medium and terminal
CN111798689B (en) Parking indication method and device, electronic equipment and storage medium
CN113115287B (en) Data transmission method and device
CN111556097B (en) Data transmission method, acquisition station, acquisition terminal and data acquisition system
CN115225716B (en) Data processing method and device and electronic equipment
CN110768998B (en) Visual integrated single sign-on method, device, medium and electronic equipment
CN109740332B (en) Application opening method and related 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
GR01 Patent grant
GR01 Patent grant