CN116233818A - Terminal identification method, device, electronic equipment and storage medium - Google Patents

Terminal identification method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116233818A
CN116233818A CN202111478660.7A CN202111478660A CN116233818A CN 116233818 A CN116233818 A CN 116233818A CN 202111478660 A CN202111478660 A CN 202111478660A CN 116233818 A CN116233818 A CN 116233818A
Authority
CN
China
Prior art keywords
terminal
plane
beam signal
business card
angle
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
CN202111478660.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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111478660.7A priority Critical patent/CN116233818A/en
Publication of CN116233818A publication Critical patent/CN116233818A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • 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)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)
  • Near-Field Transmission Systems (AREA)

Abstract

The method is characterized in that a first beam signal transmitted by a second terminal and a first transmitting angle corresponding to the first beam signal are periodically received, the first beam signal is parallel to a horizontal plane, an included angle between the first beam signal and a first plane is a beam of the first transmitting angle, and the first plane is a projection plane of a plane where the second terminal is currently located in the vertical direction; acquiring a first included angle between the received first beam signal and a second plane, wherein the second plane is a projection plane of the plane where the first terminal is currently located in the vertical direction; whether the second terminal is a first target terminal or not can be determined according to the first emission angle and the first included angle, so that whether the second terminal is a target device to be identified or not can be determined without acquiring other identifiers of the second terminal, the terminal identification process can be effectively simplified, the terminal identification efficiency is improved, and the user experience can be effectively improved.

Description

Terminal identification method, device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to a terminal identification method, a device, electronic equipment and a storage medium.
Background
As the functions of the terminal devices are increasingly powerful, the functions which can be integrated are increasingly more and the functions which can be realized are also increasingly more, the scene of identifying another terminal through one terminal device is increasingly more, for example, the terminal device of an object to be transmitted is discovered before the electronic business card is transmitted; before adding friends, identifying the terminal equipment of the other party, before directionally transmitting some data, identifying the terminal of the receiving party, and the like.
The terminal identification method generally adopted at present comprises the following steps: the terminal of the counterpart is determined by finding the Bluetooth device identifier of the counterpart, and the terminal of the data to be transferred is identified by scanning the two-dimensional code and identifying the counterpart's instant messaging APP account number or the like.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a terminal identification method, a device, an electronic apparatus, and a storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a terminal identification method, applied to a first terminal, the method including:
periodically receiving a first beam signal transmitted by a second terminal and a first transmitting angle corresponding to the first beam signal, wherein the first beam signal is parallel to a horizontal plane, and an included angle between the first beam signal and the first plane is a beam of the first transmitting angle, and the first plane is a projection plane of a plane where the second terminal is currently located in the vertical direction;
acquiring a first included angle between the received first beam signal and a second plane, wherein the second plane is a projection plane of the plane where the first terminal is currently located in the vertical direction;
and determining whether the second terminal is a first target terminal according to the first emission angle and the first included angle.
Optionally, the determining whether the second terminal is the first target terminal according to the first emission angle and the first included angle includes:
acquiring a target difference value between the first included angle and the first emission angle;
and determining that the second terminal is the first target terminal under the condition that the number of the target difference values in the preset range in the preset time period is larger than or equal to a preset number threshold value.
Optionally, before the determining that the second terminal is the first target terminal, the method further includes:
acquiring the signal strength of the received first beam signal;
correspondingly, when the number of the target difference values in the preset range within the preset time period is greater than or equal to a preset number threshold, determining that the second terminal is the first target terminal includes:
and under the condition that the number of the target difference values in the preset range in the preset time period is larger than or equal to a preset number threshold, if the signal strength is larger than or equal to a preset signal strength threshold, determining that the second terminal is the first target terminal.
Optionally, the method further comprises:
and periodically transmitting a second beam signal and a second transmitting angle corresponding to the second beam signal, wherein the second beam signal is parallel to a horizontal plane, an included angle between the second beam signal and the second plane is a beam of the second transmitting angle, so that the second terminal periodically receives the second beam signal transmitted by the first terminal and the second transmitting angle corresponding to the second beam signal, acquires the received second included angle between the second beam signal and the first plane, and determines whether the first terminal is a second target terminal according to the second transmitting angle and the second included angle.
Optionally, the method further comprises:
and under the condition that the second terminal is determined to be the first target terminal according to the first transmitting angle and the first included angle, sending first electronic business card information of the current user of the first terminal to the second terminal.
Optionally, the sending, to the second terminal, the first electronic business card information of the current user of the first terminal includes:
and sending a first encrypted modulation beam to the second terminal, wherein the first encrypted modulation beam comprises first electronic business card information encrypted in a preset encryption mode, the first encrypted modulation beam is used for requesting the second terminal to store the first electronic business card information, so that the second terminal displays the identification of the first encrypted modulation beam in response to receiving the first encrypted modulation beam, and decrypts the first encrypted modulation beam under the condition that the current user of the second terminal triggers a business card receiving instruction is received, so as to obtain the first electronic business card information, and the first electronic business card information is stored in the second terminal.
Optionally, the method further comprises:
Responding to a second encrypted modulation beam sent by the second terminal, wherein the second encrypted modulation beam comprises second electronic business card information encrypted by a preset encryption mode, and the second encrypted modulation beam is used for requesting the first terminal to store the second electronic business card information;
and under the condition that the current user of the first terminal triggers the business card receiving confirmation instruction, carrying out decryption processing on the second encrypted modulation beam to obtain the second electronic business card information, and storing the second electronic business card information in the first terminal.
According to a second aspect of embodiments of the present disclosure, there is provided a terminal identification device applied to a first terminal, the device including:
the first receiving module is configured to periodically receive a first beam signal transmitted by a second terminal and a first transmitting angle corresponding to the first beam signal, wherein the first beam signal is parallel to a horizontal plane, and an included angle between the first beam signal and a first plane is a beam of the first transmitting angle, and the first plane is a projection plane of a plane where the second terminal is currently located in a vertical direction;
the first acquisition module is configured to acquire a first included angle between the received first beam signal and a second plane, wherein the second plane is a projection plane of a plane where the first terminal is currently located in the vertical direction;
And the first determining module is configured to determine whether the second terminal is a first target terminal according to the first transmitting angle and the first included angle.
Optionally, the first determining module is configured to:
acquiring a target difference value between the first included angle and the first emission angle;
and determining that the second terminal is the first target terminal under the condition that the number of the target difference values in the preset range in the preset time period is larger than or equal to a preset number threshold value.
Optionally, the first determining module is configured to:
acquiring the signal strength of the received first beam signal;
correspondingly, when the number of the target difference values in the preset range within the preset time period is greater than or equal to a preset number threshold, determining that the second terminal is the first target terminal includes:
and under the condition that the number of the target difference values in the preset range in the preset time period is larger than or equal to a preset number threshold, if the signal strength is larger than or equal to a preset signal strength threshold, determining that the second terminal is the first target terminal.
Optionally, the apparatus further comprises:
The transmitting module is configured to periodically transmit a second beam signal and a second transmitting angle corresponding to the second beam signal, wherein the second beam signal is parallel to a horizontal plane, an included angle with the second plane is a beam of the second transmitting angle, so that the second terminal periodically receives the second beam signal transmitted by the first terminal and the second transmitting angle corresponding to the second beam signal, acquires a second included angle between the received second beam signal and the first plane, and determines whether the first terminal is a second target terminal according to the second transmitting angle and the second included angle.
Optionally, the apparatus further comprises:
and the information sending module is configured to send first electronic business card information of a current user of the first terminal to the second terminal under the condition that the second terminal is determined to be the first target terminal according to the first emission angle and the first included angle.
Optionally, the information sending module is configured to:
and sending a first encrypted modulation beam to the second terminal, wherein the first encrypted modulation beam comprises first electronic business card information encrypted in a preset encryption mode, the first encrypted modulation beam is used for requesting the second terminal to store the first electronic business card information, so that the second terminal displays the identification of the first encrypted modulation beam in response to receiving the first encrypted modulation beam, and decrypts the first encrypted modulation beam under the condition that the current user of the second terminal triggers a business card receiving instruction is received, so as to obtain the first electronic business card information, and the first electronic business card information is stored in the second terminal.
Optionally, the apparatus further comprises:
the second receiving module is configured to respond to receiving a second encrypted modulation beam sent by the second terminal, wherein the second encrypted modulation beam comprises second electronic business card information encrypted in a preset encryption mode, and the second encrypted modulation beam is used for requesting the first terminal to store the second electronic business card information;
and the storage module is configured to decrypt the second encrypted modulation beam to obtain the second electronic business card information and store the second electronic business card information in the first terminal under the condition that the current user of the first terminal triggers and confirms that the business card instruction is accepted.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to carry out the steps of the method of the first aspect above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: periodically receiving a first beam signal transmitted by a second terminal and a first transmitting angle corresponding to the first beam signal, wherein the first beam signal is parallel to a horizontal plane, and an included angle between the first beam signal and a first plane is a beam of the first transmitting angle, and the first plane is a projection plane of a plane where the second terminal is currently located in the vertical direction; acquiring a first included angle between the received first beam signal and a second plane, wherein the second plane is a projection plane of the plane where the first terminal is currently located in the vertical direction; whether the second terminal is a first target terminal or not can be determined according to the first emission angle and the first included angle, so that whether the second terminal is a target device to be identified or not can be determined without acquiring other identifiers of the second terminal, the terminal identification process can be effectively simplified, the terminal identification efficiency is improved, and the user experience can be effectively improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart of a terminal identification method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a terminal identification method according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart of a method of terminal identification, shown in another exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a terminal identification interface shown in an exemplary embodiment of the present disclosure;
fig. 5 is a block diagram of a terminal identification device shown in an exemplary embodiment of the present disclosure;
fig. 6 is a block diagram of a terminal identification device according to the embodiment shown in fig. 5;
fig. 7 is a block diagram illustrating an apparatus for identifying a terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Before describing the specific embodiments of the present disclosure in detail, the following description is first made on a specific application scenario of the present disclosure, where the present disclosure may be applied to a process of searching and identifying one terminal by another terminal, for example, before delivering an electronic business card, discovering a terminal device of an object to be delivered; before adding friends, identifying the terminal equipment of the other party, before directionally transmitting some data, identifying the terminal of the receiving party, and the like. In the related art, a terminal identification method is generally adopted, which includes: the terminal of the opposite side is determined by finding the Bluetooth device identification of the opposite side, the terminal of the data to be transmitted is identified by scanning a two-dimensional code, the instant messaging APP account number is identified by identifying the opposite side, and the like, however, when the terminal of the opposite side is determined by finding the Bluetooth device identification of the opposite side, the Bluetooth device identification of the opposite side needs to be known first, when the other terminal is identified by scanning the two-dimensional code, the two-dimensional code of the other terminal needs to be obtained first, when the terminal of the data to be transmitted is identified by identifying the instant messaging APP account number of the opposite side, the instant messaging APP account number needs to be obtained first, and when the Bluetooth device identification of the opposite side, the two-dimensional code and the instant messaging APP account number cannot be obtained, the probability of identifying the terminal of the data to be transmitted is low. That is, in the terminal identification method in the related art at present, the bluetooth equipment identifier, the two-dimensional code, or the instant messaging APP account number and other representation information of the terminal to be identified need to be acquired before the terminal is identified.
In order to solve the above technical problems, the present disclosure provides a terminal identification method, a device, an electronic apparatus, and a storage medium, where the method periodically receives a first beam signal transmitted by a second terminal and a first transmission angle corresponding to the first beam signal, where the first beam signal is parallel to a horizontal plane, and an included angle with the first plane is a beam of the first transmission angle, where the first plane is a projection plane of a plane where the second terminal is currently located in a vertical direction; acquiring a first included angle between the received first beam signal and a second plane, wherein the second plane is a projection plane of the plane where the first terminal is currently located in the vertical direction; whether the second terminal is a first target terminal or not can be determined according to the first emission angle and the first included angle, so that whether the second terminal is a target device to be identified or not can be determined without acquiring other identifiers of the second terminal, the terminal identification process can be effectively simplified, the terminal identification efficiency is improved, and the user experience can be effectively improved.
The technical scheme of the present disclosure will be described in detail with reference to specific embodiments.
FIG. 1 is a flow chart of a terminal identification method according to an exemplary embodiment of the present disclosure; referring to fig. 1, the method applied to the first terminal may include the steps of:
Step 101, periodically receiving a first beam signal transmitted by a second terminal and a first transmission angle corresponding to the first beam signal.
The second terminal transmits the first beam signal, and sends a first emission angle corresponding to the first beam signal to the first terminal, wherein the first beam signal is parallel to a horizontal plane, an included angle between the first beam signal and a first plane is a beam of the first emission angle, and the first plane is a projection plane of a plane where the second terminal is currently located in a vertical direction.
It should be noted that, the first beam signal may be a UWB (Ultra Wide Band) beam, or may be a millimeter wave, and the first emission angle is an angle between the first beam signal and the first plane. In this step, after receiving a terminal identification function start instruction triggered by a user, the terminal identification function start instruction may start to periodically receive a first beam signal transmitted by a second terminal and a first transmission angle corresponding to the first beam signal, where the terminal identification function start instruction may be triggered by clicking a preset key, or may be triggered when a preset screen sliding gesture is acquired.
Step 102, acquiring a first included angle between the received first beam signal and the second plane.
The second plane is a projection plane of the plane where the first terminal is currently located in the vertical direction.
Step 103, determining whether the second terminal is the first target terminal according to the first transmitting angle and the first included angle.
In this step, one possible implementation is: obtaining a target difference value between the first included angle and the first emission angle; and determining that the second terminal is the first target terminal under the condition that the number of the target difference values in the preset range in the preset time period is larger than or equal to a preset number threshold value.
For example, the preset range may be [ -15 °, +15° ], as shown in fig. 2, fig. 2 is a schematic diagram of a terminal identification method according to an exemplary embodiment of the present disclosure, in fig. 2, the straight line L1 represents a projection plane of a plane in which the terminal a is located in a vertical direction, the straight line L2 represents a projection plane of a plane in which the terminal B is located in a vertical direction, the terminal B transmits a first beam signal at a frequency of 50Hz, the first beam signal is parallel to a horizontal plane and forms a first transmission angle α (here, 90 °) with a plane represented by the straight line L2, the terminal a also receives the first beam signal at a frequency of 50Hz, and obtains a target difference value of the first angle β and the first transmission angle α each time the first beam signal is received, if the target difference value is within a period of [ -15 ° ] seconds, the number of target difference values is increased by one, and the terminal B is determined as the target if the number of target difference values is greater than 40+b within 2 seconds.
Another possible implementation is: acquiring the signal strength of the received first beam signal, and determining that the second terminal is the first target terminal if the signal strength is greater than or equal to a preset signal strength threshold under the condition that the number of the target difference values in a preset range in a preset time period is greater than or equal to a preset number threshold.
The signal strength may be determined by acquiring an RSSI (Received Signal Strength Indication ) value, where an acquisition manner of the signal strength is more common in the prior art, and this disclosure is not repeated herein.
According to the technical scheme, the first beam signal transmitted by the second terminal and the first transmitting angle corresponding to the first beam signal are periodically received, the first beam signal is parallel to a horizontal plane, an included angle between the first beam signal and the first plane is a beam of the first transmitting angle, and the first plane is a projection plane of a plane where the second terminal is currently located in the vertical direction; acquiring a first included angle between the received first beam signal and a second plane, wherein the second plane is a projection plane of the plane where the first terminal is currently located in the vertical direction; whether the second terminal is a first target terminal or not can be determined according to the first emission angle and the first included angle, so that whether the second terminal is a target device to be identified or not can be determined without acquiring other identifiers of the second terminal, the terminal identification process can be effectively simplified, the terminal identification efficiency is improved, and the user experience can be effectively improved.
Optionally, the terminal identification method shown in fig. 1 above may further include:
step 104, under the condition that the second terminal is determined to be the first target terminal according to the first transmitting angle and the first included angle, sending first electronic business card information of the current user of the first terminal to the second terminal.
In this step, the implementation manner of sending the first electronic business card information of the current user of the first terminal to the second terminal may be: and sending a first encrypted modulation beam to the second terminal, wherein the first encrypted modulation beam comprises first electronic business card information encrypted by a preset encryption mode, the first encrypted modulation beam is used for requesting the second terminal to store the first electronic business card information, so that the second terminal responds to the first encrypted modulation beam, displays the identification of the first encrypted modulation beam, and decrypts the first encrypted modulation beam under the condition that the current user of the second terminal triggers a business card receiving instruction is received, so as to obtain the first electronic business card information, and stores the first electronic business card information in the second terminal.
It should be noted that, the preset encryption mode may be symmetric encryption or asymmetric encryption, the first encrypted modulation beam may be encrypted UWB carrying the first electronic business card information, and a specific mode of transmitting information through the UWB may refer to a process of transmitting information based on UWB technology in the prior art, an example of transmitting information through Ultra Wide Band (UWB) technology is more, which is not described herein in detail.
In addition, the identifier of the first encrypted modulation beam may be a terminal identifier of a terminal that sends the first encrypted modulation beam, for example, a terminal name, a terminal model, a terminal ID, etc., or may be a picture including the first electronic business card information in a preset interface, where a key for accepting and rejecting may be included in the preset interface.
According to the technical scheme, under the condition that the first terminal determines that the second terminal is the first target terminal according to the first transmitting angle and the first included angle, the first electronic business card information of the current user of the first terminal is sent to the second terminal, so that the accuracy of electronic business card delivery can be effectively improved, the phenomenon of delivery errors of electronic business card delivery can be effectively avoided, and the user experience is greatly improved.
FIG. 3 is a flow chart of a method of terminal identification, shown in another exemplary embodiment of the present disclosure; referring to fig. 3, the method may include the steps of:
in step 301, the first terminal periodically transmits a second beam signal and a second transmission angle corresponding to the second beam signal.
The first terminal transmits the second beam signal, and transmits a second transmitting angle corresponding to the second beam signal to the second terminal, wherein the second beam signal is parallel to a horizontal plane, an included angle between the second beam signal and the second plane is a beam of the second transmitting angle, and the second plane is a projection plane of a plane where the first terminal is currently located in a vertical direction.
Step 302, the second terminal periodically receives a second beam signal transmitted by the first terminal and a second transmission angle corresponding to the second beam signal.
The second beam signal may be a UWB beam or a millimeter wave, and the second emission angle is an angle between the second beam signal and a second plane.
Step 303, the second terminal obtains a second included angle between the received second beam signal and the first plane.
The first plane is a projection plane of the plane where the second terminal is currently located in the vertical direction.
Step 304, the second terminal determines whether the first terminal is a second target terminal according to the second emission angle and the second included angle.
In this step, when the first terminal is determined to be the second target terminal according to the first transmission angle and the first included angle, step 305 is performed, and when the first terminal is determined to be not the second target terminal according to the first transmission angle and the first included angle, step 308 is performed.
In this step, one possible implementation is: acquiring a first difference value between the second included angle and the second emission angle; and determining that the first terminal is the second target terminal under the condition that the number of the first difference values in the preset range in the preset time period is larger than or equal to a preset number threshold value.
Another possible implementation is: acquiring the signal strength of the received second beam signal, and determining that the first terminal is the second target terminal if the signal strength is greater than or equal to a preset signal strength threshold under the condition that the number of the first differences in a preset range within a preset time period is greater than or equal to a preset number threshold.
Step 305, the second terminal sends the second electronic business card information of the current user of the second terminal to the first terminal.
In this step, the second terminal may send a second encrypted modulation beam to the first terminal, where the second encrypted modulation beam includes second electronic business card information encrypted by a preset encryption manner, and the second encrypted modulation beam is used to request the first terminal to save the second electronic business card information.
It should be noted that, the preset encryption mode may be symmetric encryption or asymmetric encryption, the second encrypted modulation beam may be encrypted UWB carrying the second electronic business card information, and a specific mode of transmitting information through the UWB may refer to a process of transmitting information based on UWB technology in the prior art, an example of transmitting information through Ultra Wide Band (UWB) technology is more, which is not described herein in detail.
In step 306, the first terminal responds to the received second encrypted modulation beam and displays the identification of the second encrypted modulation beam.
The identifier of the second encrypted modulation beam may be a terminal identifier of a terminal that sends the second encrypted modulation beam, for example, a terminal name, a terminal model, a terminal ID, etc., or may be a picture including the second electronic business card information in a preset interface, where the preset interface may include a key for accepting and rejecting.
Step 307, the first terminal decrypts the second encrypted modulation beam to obtain the second electronic business card information and stores the second electronic business card information in the first terminal when receiving the business card acceptance command triggered by the current user of the first terminal.
As shown in fig. 4, fig. 4 is a schematic diagram of a terminal identification interface according to an exemplary embodiment of the present disclosure, in fig. 4, the identifier of the second encrypted modulation beam is a picture of the second electronic business card information displayed in the request display interface, a key for accepting Y and rejecting N is further disposed in the display interface, when the user clicks the accept Y key, the second electronic business card information is stored in the first terminal, and when the user clicks the reject N key, the rejected prompt message is sent to the second terminal, so that the second terminal receives and displays the prompt message.
Step 308, the second terminal outputs preset feedback information.
The preset feedback information is used for representing that the first terminal is not the second target terminal, and the preset feedback information can be text information, or preset bell sound or image information.
According to the technical scheme, the first terminal periodically transmits the second beam signal and the second transmitting angle corresponding to the second beam signal, the second terminal periodically receives the second beam signal transmitted by the first terminal and the second transmitting angle corresponding to the second beam signal, so that the second terminal can determine whether the first terminal is the second target terminal according to the second transmitting angle and the second included angle, and send the second electronic business card information of the current user of the second terminal to the first terminal under the condition that the first terminal is determined to be the second target terminal, whether the second terminal is the target device to be identified can be determined without acquiring other marks of the second terminal, the terminal identification process can be effectively simplified, the terminal identification efficiency is improved, the delivery accuracy of the electronic business card can be effectively ensured, the phenomenon of delivery errors of the electronic business card is effectively avoided, and great improvement of user experience is facilitated.
Fig. 5 is a block diagram of a terminal identification device shown in an exemplary embodiment of the present disclosure; referring to fig. 5, the apparatus applied to the first terminal may include:
the first receiving module 501 is configured to periodically receive a first beam signal transmitted by a second terminal and a first transmitting angle corresponding to the first beam signal, where the first beam signal is parallel to a horizontal plane, and an included angle between the first beam signal and the first plane is a beam of the first transmitting angle, and the first plane is a projection plane of a plane where the second terminal is currently located in a vertical direction;
the first acquiring module 502 is configured to acquire a first included angle between the received first beam signal and a second plane, where the second plane is a projection plane of a plane where the first terminal is currently located in a vertical direction;
a first determining module 503 is configured to determine whether the second terminal is the first target terminal according to the first emission angle and the first included angle.
According to the technical scheme, the first receiving module 501 periodically receives the first beam signal transmitted by the second terminal and the first transmitting angle corresponding to the first beam signal, wherein the first beam signal is parallel to the horizontal plane, the included angle between the first beam signal and the first plane is the beam of the first transmitting angle, and the first receiving module 502 acquires the first included angle between the received first beam signal and the second plane, and the second plane is the projection plane of the plane where the first terminal is currently located in the vertical direction; whether the second terminal is a first target terminal or not can be determined by the first determining module 503 according to the first transmitting angle and the first included angle, so that whether the second terminal is a target device to be identified or not can be determined without acquiring other identifiers of the second terminal, the terminal identification process can be effectively simplified, the terminal identification efficiency can be improved, and the user experience can be effectively improved.
Optionally, the first determining module 503 is configured to:
obtaining a target difference value between the first included angle and the first emission angle;
and determining that the second terminal is the first target terminal under the condition that the number of the target difference values in the preset range in the preset time period is larger than or equal to a preset number threshold value.
Optionally, the first determining module 503 is configured to:
acquiring the signal strength of the received first beam signal;
correspondingly, when the number of the target difference values in the preset range within the preset time period is greater than or equal to the preset number threshold, determining that the second terminal is the first target terminal includes:
and under the condition that the number of the target difference values in the preset range in the preset time period is larger than or equal to a preset number threshold, if the signal strength is larger than or equal to the preset signal strength threshold, determining that the second terminal is the first target terminal.
Fig. 6 is a block diagram of a terminal identification device according to the embodiment shown in fig. 5; referring to fig. 6, the apparatus may be applied to the first terminal, and may further include:
the transmitting module 504 is configured to periodically transmit a second beam signal and a second transmitting angle corresponding to the second beam signal, where the second beam signal is parallel to a horizontal plane, and an included angle with the second plane is a beam of the second transmitting angle, so that the second terminal periodically receives the second beam signal transmitted by the first terminal and the second transmitting angle corresponding to the second beam signal, and obtains a second included angle between the received second beam signal and the first plane, and determines whether the first terminal is a second target terminal according to the second transmitting angle and the second included angle.
Optionally, the apparatus further comprises:
the information sending module 505 is configured to send, to the second terminal, first electronic business card information of a current user of the first terminal, in a case where the second terminal is determined to be the first target terminal according to the first emission angle and the first included angle.
Optionally, the information sending module 505 is configured to:
and sending a first encrypted modulation beam to the second terminal, wherein the first encrypted modulation beam comprises first electronic business card information encrypted by a preset encryption mode, the first encrypted modulation beam is used for requesting the second terminal to store the first electronic business card information, so that the second terminal responds to the first encrypted modulation beam, displays the identification of the first encrypted modulation beam, and decrypts the first encrypted modulation beam under the condition that the current user of the second terminal triggers a business card receiving instruction is received, so as to obtain the first electronic business card information, and stores the first electronic business card information in the second terminal.
Optionally, the apparatus further comprises:
a second receiving module 506, configured to respond to receiving a second encrypted modulated beam sent by the second terminal, where the second encrypted modulated beam includes second electronic business card information encrypted by a preset encryption manner, and the second encrypted modulated beam is used to request the first terminal to save the second electronic business card information;
And the storage module 507 is configured to decrypt the second encrypted modulation beam to obtain the second electronic business card information and store the second electronic business card information in the first terminal when receiving a business card acceptance instruction triggered by the current user of the first terminal.
According to the technical scheme, under the condition that the first terminal determines that the second terminal is the first target terminal according to the first transmitting angle and the first included angle, the first electronic business card information of the current user of the first terminal is sent to the second terminal, so that the accuracy of electronic business card delivery can be effectively improved, the phenomenon of delivery errors of electronic business card delivery can be effectively avoided, and the user experience is greatly improved.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the terminal identification method provided by the present disclosure.
Fig. 7 is a block diagram illustrating an apparatus for identifying a terminal according to an exemplary embodiment. For example, apparatus 700 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 7, an apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the apparatus 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the terminal identification method described above. Further, the processing component 702 can include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on the apparatus 700, contact data, phonebook data, messages, pictures, videos, and the like. The memory 704 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 706 provides power to the various components of the device 700. Power component 706 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 700.
The multimedia component 708 includes a screen between the device 700 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 708 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the apparatus 700 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, the sensor assembly 714 may detect an on/off state of the device 700, a relative positioning of the assemblies, such as a display and keypad of the device 700, a change in position of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, an orientation or acceleration/deceleration of the device 700, and a change in temperature of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communication between the apparatus 700 and other devices in a wired or wireless manner. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the terminal identification methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 704, including instructions executable by processor 720 of apparatus 700 to perform the terminal identification method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A terminal identification method, applied to a first terminal, the method comprising:
periodically receiving a first beam signal transmitted by a second terminal and a first transmitting angle corresponding to the first beam signal, wherein the first beam signal is parallel to a horizontal plane, and an included angle between the first beam signal and a first plane is a beam of the first transmitting angle, and the first plane is a projection plane of a plane where the second terminal is currently located in the vertical direction;
Acquiring a first included angle between the received first beam signal and a second plane, wherein the second plane is a projection plane of the plane where the first terminal is currently located in the vertical direction;
and determining whether the second terminal is a first target terminal according to the first emission angle and the first included angle.
2. The method of claim 1, wherein the determining whether the second terminal is a first target terminal based on the first transmission angle and the first included angle comprises:
acquiring a target difference value between the first included angle and the first emission angle;
and determining that the second terminal is the first target terminal under the condition that the number of the target difference values in the preset range in the preset time period is larger than or equal to a preset number threshold value.
3. The method of claim 2, wherein prior to said determining that the second terminal is the first target terminal, the method further comprises:
acquiring the signal strength of the received first beam signal;
correspondingly, when the number of the target difference values in the preset range within the preset time period is greater than or equal to a preset number threshold, determining that the second terminal is the first target terminal includes:
And under the condition that the number of the target difference values in the preset range in the preset time period is larger than or equal to a preset number threshold, if the signal strength is larger than or equal to a preset signal strength threshold, determining that the second terminal is the first target terminal.
4. The method according to claim 1, wherein the method further comprises:
and periodically transmitting a second beam signal and a second transmitting angle corresponding to the second beam signal, wherein the second beam signal is parallel to a horizontal plane, an included angle between the second beam signal and the second plane is a beam of the second transmitting angle, so that the second terminal periodically receives the second beam signal transmitted by the first terminal and the second transmitting angle corresponding to the second beam signal, acquires the received second included angle between the second beam signal and the first plane, and determines whether the first terminal is a second target terminal according to the second transmitting angle and the second included angle.
5. The method according to claim 1, wherein the method further comprises:
and under the condition that the second terminal is determined to be the first target terminal according to the first transmitting angle and the first included angle, sending first electronic business card information of the current user of the first terminal to the second terminal.
6. The method of claim 5, wherein the sending the first electronic business card information of the current user of the first terminal to the second terminal includes:
and sending a first encrypted modulation beam to the second terminal, wherein the first encrypted modulation beam comprises first electronic business card information encrypted in a preset encryption mode, the first encrypted modulation beam is used for requesting the second terminal to store the first electronic business card information, so that the second terminal displays the identification of the first encrypted modulation beam in response to receiving the first encrypted modulation beam, and decrypts the first encrypted modulation beam under the condition that the current user of the second terminal triggers a business card receiving instruction is received, so as to obtain the first electronic business card information, and the first electronic business card information is stored in the second terminal.
7. The method according to any one of claims 1-6, further comprising:
responding to a second encrypted modulation beam sent by the second terminal, wherein the second encrypted modulation beam comprises second electronic business card information encrypted by a preset encryption mode, and the second encrypted modulation beam is used for requesting the first terminal to store the second electronic business card information;
And under the condition that the current user of the first terminal triggers the business card receiving confirmation instruction, carrying out decryption processing on the second encrypted modulation beam to obtain the second electronic business card information, and storing the second electronic business card information in the first terminal.
8. A terminal identification device, characterized in that it is applied to a first terminal, said device comprising:
the first receiving module is configured to periodically receive a first beam signal transmitted by a second terminal and a first transmitting angle corresponding to the first beam signal, wherein the first beam signal is parallel to a horizontal plane, and an included angle between the first beam signal and a first plane is a beam of the first transmitting angle, and the first plane is a projection plane of a plane where the second terminal is currently located in a vertical direction;
the first acquisition module is configured to acquire a first included angle between the received first beam signal and a second plane, wherein the second plane is a projection plane of a plane where the first terminal is currently located in the vertical direction;
and the first determining module is configured to determine whether the second terminal is a first target terminal according to the first transmitting angle and the first included angle.
9. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to carry out the steps of the method according to any one of claims 1-7.
10. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1-7.
CN202111478660.7A 2021-12-06 2021-12-06 Terminal identification method, device, electronic equipment and storage medium Pending CN116233818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111478660.7A CN116233818A (en) 2021-12-06 2021-12-06 Terminal identification method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111478660.7A CN116233818A (en) 2021-12-06 2021-12-06 Terminal identification method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116233818A true CN116233818A (en) 2023-06-06

Family

ID=86589726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111478660.7A Pending CN116233818A (en) 2021-12-06 2021-12-06 Terminal identification method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116233818A (en)

Similar Documents

Publication Publication Date Title
CN106453052B (en) Message interaction method and device
CN105516183B (en) Equipment connection method and device
CN109274510B (en) Message processing method, device, client, server and storage medium
CN106790043B (en) Method and device for sending message in live broadcast application
CN107147815B (en) Call processing method and device based on taxi taking
US20220256497A1 (en) Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling
CN110619097A (en) Two-dimensional code generation method and device, electronic equipment and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
US10263925B2 (en) Method, device and medium for sending message
CN109246094B (en) User terminal verification method, device and storage medium
CN105491518A (en) Method and device for social reminding based on wearable devices
CN106506808B (en) Method and device for prompting communication message
CN109150901B (en) Information source prompting method and device, electronic equipment and storage medium
CN107277422B (en) Video call method, device and system
CN113726905B (en) Data acquisition method, device and equipment based on home terminal equipment
CN114124462B (en) Verification code transmission method and device, electronic equipment and storage medium
CN112954596B (en) Data sharing method, device, equipment and storage medium
CN110213531B (en) Monitoring video processing method and device
CN113596263A (en) Call method and device, server, initiating terminal, receiving terminal and storage medium
CN107734072B (en) Processing method and device for push information
CN109255601B (en) Terminal bus card processing method and device
CN109151605B (en) Video comment content sending method and device and storage medium
CN116233818A (en) Terminal identification method, device, electronic equipment and storage medium
CN111601363A (en) Method, device and storage medium for assisting intelligent equipment to automatically access wireless network
CN109005680B (en) Method, device, equipment and base station for guiding Internet of things equipment

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