CN111541996B - Data interaction method, device and equipment based on ultra wide band - Google Patents

Data interaction method, device and equipment based on ultra wide band Download PDF

Info

Publication number
CN111541996B
CN111541996B CN202010311800.0A CN202010311800A CN111541996B CN 111541996 B CN111541996 B CN 111541996B CN 202010311800 A CN202010311800 A CN 202010311800A CN 111541996 B CN111541996 B CN 111541996B
Authority
CN
China
Prior art keywords
distance
ultra
equipment
radius
wideband signal
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
CN202010311800.0A
Other languages
Chinese (zh)
Other versions
CN111541996A (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010311800.0A priority Critical patent/CN111541996B/en
Publication of CN111541996A publication Critical patent/CN111541996A/en
Application granted granted Critical
Publication of CN111541996B publication Critical patent/CN111541996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/029Location-based management or tracking 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the specification discloses a data interaction method, a data interaction device and data interaction equipment based on an ultra wide band. The scheme comprises the following steps: acquiring an ultra-wideband signal of second equipment, wherein the distance between the second equipment and the first equipment is within a first distance interval; monitoring a device separation distance between the second device and the first device based on the ultra-wideband signal; when the distance between the devices is smaller than or equal to a first preset distance, acquiring data sent by the second device in the form of the ultra-wideband signal; the first preset distance is smaller than or equal to the minimum distance of the first distance interval; and processing the data.

Description

Data interaction method, device and equipment based on ultra wide band
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for data interaction based on an ultra wideband.
Background
With the development of computer technology, advanced technologies bring convenience to people, for example, electronic cards in mobile devices such as mobile phones are used for completing card swiping and riding of public transportation means such as buses and subways, a face recognition technology is used for removing an entrance guard, and the like.
However, in the current access control system and various automatic doors in an office building, active cooperation of users is required, for example, the user stops face recognition, shows a two-dimensional code in a mobile phone to scan and enter a station, swipes a card or inserts a card to enter and exit the station, and the like, and in these scenes, the user is generally required to stay for a moment in front of the device.
Therefore, a more convenient scheme needs to be provided for the user, and the convenience of the user is further improved.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method, an apparatus, and a device for data interaction based on ultra wide band, which are used to improve convenience for users.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
the method for data interaction based on the ultra-wideband provided in the embodiment of the specification comprises the following steps:
acquiring an ultra-wideband signal of second equipment, wherein the distance between the second equipment and the first equipment is within a first distance interval;
monitoring a device separation distance between the second device and the first device based on the ultra-wideband signal;
when the distance between the devices is smaller than or equal to a first preset distance, acquiring data sent by the second device in the form of the ultra-wideband signal; the first preset distance is smaller than or equal to the minimum distance of the first distance interval;
and processing the data.
An ultra-wideband-based data interaction method provided in an embodiment of the present specification, the method includes:
the method comprises the steps of sending an ultra-wideband signal, wherein the ultra-wideband signal is used for monitoring a device distance between second equipment and first equipment, and the distance between the second equipment and the first equipment is within a first distance interval;
when the device distance is smaller than or equal to a first preset distance, sending data in the form of the ultra-wideband signal so that the first device can process the data; the first preset distance is smaller than or equal to the minimum distance of the first distance interval.
The data interaction device based on the ultra-wideband provided in the embodiment of the present specification includes:
the ultra-wideband signal acquisition module is used for acquiring an ultra-wideband signal of second equipment, the distance between the second equipment and the first equipment is within a first distance interval;
a device spacing monitoring module for monitoring a device spacing between the second device and the first device based on the ultra-wideband signal;
the data acquisition module is used for acquiring data sent by the second equipment in the form of the ultra-wideband signal when the equipment distance is smaller than or equal to a first preset distance; the first preset distance is smaller than or equal to the minimum distance of the first distance interval;
and the data processing module is used for processing the data.
An ultra-wideband-based data interaction device provided in an embodiment of the present specification includes:
the ultra-wideband signal sending module is used for sending an ultra-wideband signal, the ultra-wideband signal monitors the equipment distance between the second equipment and the first equipment, and the distance between the second equipment and the first equipment is within a first distance interval;
the data sending module is used for sending data in the form of the ultra-wideband signal when the distance between the devices is smaller than or equal to a first preset distance so that the first device can process the data; the first preset distance is smaller than or equal to the minimum distance of the first distance interval.
The data interaction device based on the ultra-wideband provided in the embodiment of the present specification includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring an ultra-wideband signal of second equipment, which is located in a first distance interval from the first equipment;
monitoring a device separation distance between the second device and the first device based on the ultra-wideband signal;
when the distance between the devices is smaller than or equal to a first preset distance, acquiring data sent by the second device in the form of the ultra-wideband signal; the first preset distance is smaller than or equal to the minimum distance of the first distance interval;
and processing the data.
An ultra-wideband-based data interaction device provided in an embodiment of the present specification includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
sending an ultra-wideband signal, wherein the ultra-wideband signal is used for monitoring the device distance between the second device and the first device, and the distance between the second device and the first device is within a first distance interval;
when the device distance is smaller than or equal to a first preset distance, sending data in the form of the ultra-wideband signal so that the first device can process the data; the first preset distance is smaller than or equal to the minimum distance of the first distance interval.
The technical scheme adopted in the embodiment of the specification can achieve the following beneficial effects:
in the embodiment of the specification, the ultra-wideband signal is used for data interaction, and when the second device is away from the first device by a certain distance through monitoring the distance between the first device and the second device, the first device can perform data processing on the data sent by the first device, so that the data is processed in advance, the second device does not need to stay in front of the first device when passing through the first device, the time of a user of the second device is saved, the second device does not need to be actively shown to the first device, the user can pass through the first device in an unsusceptible manner, and the convenience and the experience of the user are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of an application scenario of an ultra-wideband-based data interaction method provided in an embodiment of the present specification;
fig. 2 is a flowchart illustrating an ultra-wideband-based data interaction method provided in an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a computing device spacing provided in an embodiment of the present description;
FIG. 4 is a schematic diagram of another computing device spacing provided in embodiments of the present description;
fig. 5 is a flowchart illustrating an ultra-wideband-based data interaction method provided in an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an ultra-wideband-based data interaction device provided in an embodiment of the present specification;
fig. 7 is a schematic structural diagram of an ultra-wideband-based data interaction device provided in an embodiment of the present specification;
fig. 8 is a schematic structural diagram of an ultra-wideband-based data interaction device provided in an embodiment of the present specification;
fig. 9 is a schematic structural diagram of an ultra-wideband-based data interaction device provided in an embodiment of the present specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development of computer technology, data processing modes of people are more and more, and applications are more and more extensive, for example, riding, releasing access control, payment and other operations are carried out by using modes of card swiping, code scanning, face swiping and the like, so that convenience is brought to lives of people.
For example, when a user swipes a card and rides a car, the user holds a riding card with NFC communication or a mobile phone and other terminals to be close to a card swiping machine installed on the car for wireless communication, so as to complete card swiping operation.
Sweep the function realization that sign indicating number, brush face etc. mode were mainly shot with the help of the camera, for example, the entrance guard's device that has face recognition function, the user wants to remove the entrance guard, need carry out the collection of facial feature in the camera department with people's face towards entrance guard's device, also need the user to stop the collection that accomplishes the image before entrance guard's device for a short time usually in practical application, and then just can remove the entrance guard.
It can be seen that, currently, when data interaction is completed, a user is usually required to actively cooperate with the data interaction device and/or stop the data interaction device before passing through a pre-passing device, where the pre-passing device may include a gate, an access control device, a payment device, and the like. Therefore, the embodiment of the specification provides a data interaction method based on an ultra wide band, which can realize non-inductive data interaction between a user and a pre-passing device, and the user does not need to stay for waiting for data interaction before the pre-passing device.
The technical solutions provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an application scenario of an ultra-wideband-based data interaction method provided in an embodiment of the present specification. As shown in fig. 1, the overall architecture mainly includes a user 1 and a pre-pass device 2. The user 1 may establish an ultra-wideband communication with the pre-pass device 2 through a portable terminal (not shown in the figure), a dotted line in the figure may indicate an action direction of the user 1, and when the user 1 is a distance away from the pre-pass device 2, the pre-pass device 2 may perform data interaction with the user 1, so that the user 1 does not need to wait for the data interaction before the pre-pass device 2. Assuming that the pre-passing device 2 is a gate, the gate establishes ultra-wideband communication with a mobile phone when the user 1 carries the mobile phone or other terminal with ultra-wideband function and approaches the gate from far to near, and the gate or the server can monitor the distance between the mobile phone and the gate, because the user usually puts the mobile phone in a bag carried by the user or is put in a pocket of clothes or directly holds the mobile phone by hand, the distance between the mobile phone and the gate can be approximate to the distance between the user and the gate, when the user is at a distance from the gate, the gate performs data interaction with the user in the form of ultra-wideband signal, so that the gate is already in a passable state when the user passes through the gate, for example, the gate door is opened, so that the user does not need to stay in front of the gate when passing through the gate, and the data interaction is performed in the form of ultra-wideband signal, the ultra-wideband communication can be established with the gate when the ultra-wideband function of the mobile phone of the user is in a passable state, the user does not need to actively show the mobile phone in the process of approaching and passing through the gate, and the non-inductive communication of the user can be realized.
Fig. 2 is a flowchart illustrating an ultra-wideband-based data interaction method provided in an embodiment of the present disclosure. From the viewpoint of a program, the execution subject of the flow may be a program installed in an application server or an application client. As shown in fig. 2, the data interaction method provided in this embodiment of the present specification may mainly be an interaction method in which the first device is an execution subject, and the process may include the following steps:
step 202: and acquiring an ultra-wideband signal of second equipment, which is located in a first distance interval from the first equipment.
The Ultra Wide Band (UWB) technology is a wireless carrier communication technology, which uses nanosecond non-sine wave narrow pulses to transmit data, and has the advantages of wide occupied frequency spectrum range, low system complexity, low power spectral density of transmitted signals, insensitivity to channel fading, low interception capability, high positioning accuracy and the like.
In this embodiment of the present description, a first device and a second device establish a relationship through an ultra wideband signal, and the first device may acquire the ultra wideband signal of the second device within a specified range, specifically, the first device may acquire the ultra wideband signal of the second device whose distance from the first device is within a first distance interval.
The first device in the embodiment of the present description can obtain the ultra-wideband signal of the second device in a targeted manner, and can filter out some ultra-wideband signals sent by the interfering devices, so as to reduce the load of the first device. For example, for a subway station with a small passenger flow rate, a gate of the subway station can be regarded as a first device, and the first distance interval can be set to be a range of 1 meter to 3 meters from the gate; for a subway station with a large traffic flow, the first distance interval may be set to a range of 0.4 meters to 2 meters from the gate, and so on.
Step 204: monitoring a device separation distance between the second device and the first device based on the ultra-wideband signal.
In practical application, the second device is usually a movable device, in this embodiment of the present disclosure, an ultra-wideband signal between the first device and the second device may be used to monitor a device distance between the second device and the first device, and the ultra-wideband signal has a characteristic of accurate positioning, so that a movement condition of the second device relative to the first device may be accurately known. For example, if the current device spacing is smaller than the previously monitored device spacing, it may indicate that the second device is approaching the first device; if the current device spacing is greater than the previously monitored device spacing, it may indicate that the second device is moving away from the first device.
Step 206: when the distance between the devices is smaller than or equal to a first preset distance, acquiring data sent by the second device in the form of the ultra-wideband signal; the first preset distance is smaller than or equal to the minimum distance of the first distance interval.
In practical application, the second device gradually approaches the first device, when the device distance between the second device and the first device is smaller than or equal to a first preset distance, the first device can acquire data of the second device, and because the ultra-wideband signal is connected between the first device and the second device, the first device can acquire data transmitted by the second device in the form of the ultra-wideband signal.
Step 208: and processing the data.
In this embodiment of the present description, the first device may obtain data sent by the second device when a device distance between the second device and the first device is less than or equal to a first preset distance, and may process the data sent by the second device before the second device reaches the first device, so that the second device does not need to wait for the first device to process the data when passing through the first device.
In the embodiment of the specification, data interaction is performed by using an ultra-wideband signal, and by monitoring the distance between the first device and the second device, when the second device is at a certain distance from the first device, the first device can perform data on the data sent by the first device, so that the data is processed in advance, the second device does not need to stay in front of the first device when passing through the first device, the time of a user of the second device is saved, the second device does not need to be actively shown to the first device, the user can pass through the first device in an imperceptible manner, and the convenience and the experience of the user are improved.
In practical applications, both parties performing wireless communication may activate a wireless communication mode corresponding to the other party based on a wireless broadcast signal, and in this embodiment of the present specification, before the first device acquires an ultra wideband signal of a second device located within a first distance interval from the first device, the method may further include:
and sending a broadcast signal in the form of the ultra-wideband signal, wherein the broadcast signal is used for activating the second device to send out the ultra-wideband signal.
In practical application, the first device may send out a broadcast signal in the form of an ultra-wideband signal, and activate an ultra-wideband signal of the second device, so that the second device and the first device can establish ultra-wideband communication.
In order to ensure the legitimacy of both parties of the ultra-wideband communication in the embodiment of the present specification, the broadcast signal may include identification information representing the first device, after the second device receives the broadcast signal, it may be determined whether the first device has an authority to perform the ultra-wideband communication with the second device according to the identification information, and when it is determined that the first device has the authority to perform the ultra-wideband communication, the ultra-wideband signal of the second device may be activated. Similarly, the second device may also send out a broadcast signal in the form of an ultra-wideband signal, the broadcast signal sent out by the second device may include identification information characterizing the second device, the first device may determine whether the second device has the authority to perform ultra-wideband communication with the first device according to the broadcast signal sent out by the second device, and may establish ultra-wideband communication with the second device when determining that the second device has the authority to perform ultra-wideband communication. In practical applications, the broadcast signal may further include preset information, such as specific numbers, symbols, codes, and the like, and the content of the specific broadcast signal is not limited herein, as long as the ultra-wideband signal of the corresponding second device can be activated.
In practical application, the first device may include a gate capable of performing ultra-wideband communication, an access control device, a payment device, and the like, wherein the gate may include a passage blocking device (passage management device) for managing pedestrian flow and regulating pedestrian entrance and exit, and may be used for entrance passages of various access control occasions, such as a subway gate system, a toll ticket gate system, and the like; the access control equipment can comprise equipment for managing people or vehicles in the same trip, can be applied to various occasions, such as an automatic induction door of a company, an access control of a conference room, an access control of a residential quarter, an access control of a library, an access control of an enterprise park and the like, and can also be understood as access control equipment; the payment device may comprise a payment terminal, such as a cash register or the like, for conducting electronic transactions. The first device may comprise a terminal device used by a user and having an ultra-wideband module, and may comprise a mobile phone, a tablet computer, an intelligent bracelet, a workcard, and the like.
In order to implement monitoring of the device distance between the second device and the first device in the embodiment of the present description, before the monitoring of the device distance between the second device and the first device, the method may further include:
calculating the device spacing based on an ultra-wideband signal emitted by the second device;
judging whether the equipment distance is smaller than or equal to the maximum distance of the first distance interval or not;
triggering monitoring of the device separation when the device separation is less than or equal to a maximum distance of the first distance interval.
In practical applications, there may be some second devices that are active within the ultra-wideband range of the first device but are not ready to pass through the first device, and in general, such devices are far away from the first device, and in order to reduce interference of such devices, in this embodiment of the present specification, a device distance between the first device and the second device may be calculated based on an ultra-wideband signal sent by the second device, and when the device distance is less than or equal to a maximum distance of the first distance interval, monitoring of the device distance is triggered, so that interference may be reduced, and the first device may not need to monitor all the second devices that establish ultra-wideband communication with the first device, and may reduce workload of the first device.
For example, the first device is a subway gate, the second device is a mobile phone of a passenger, assuming that an ultra-wideband signal of the gate can cover an area with the gate as a center and a radius of 15 meters, and there are passengers who are transferred or outbound in an area 8 meters away from the gate, the mobile phones with ultra-wideband function carried by some or all of the passengers can establish ultra-wideband communication with the subway gate, but the gate or the server does not monitor the device distance between the second device and the first device, and can effectively filter interfering devices. Specifically, if the first distance interval corresponding to the gate is (1, 5) meters, the interval from 1 meter to 5 meters from the gate is the first distance interval, and the distance between the passenger at 8 meters and the gate is greater than 5 meters, the passenger at the position cannot be monitored. In practical application, a passenger usually approaches the gate from a far distance gradually to approach the gate, and when the distance between the passenger and the gate is less than or equal to 5 m, the distance between the passenger and the gate can be monitored, so that data interaction is performed when the distance between a subsequent passenger and the gate is less than or equal to 1 m, the data interaction is completed before the passenger passes through the gate, so that the gate is already in a passable state when the passenger passes through the gate, and the passenger does not need to wait for the gate to be opened before the gate. It should be noted that, in the embodiment of the present specification, specific data of the first distance interval may be set according to an actual requirement, and is not limited specifically here.
In this embodiment of the present description, the monitoring an equipment distance between the second equipment and the first equipment may specifically include:
calculating the equipment distance according to a preset time period;
judging whether the equipment distance is within the first distance interval or not;
stopping monitoring of the device separation when the device separation is outside the first distance interval.
In practical applications, the distance between the second device and the first device in the first distance interval may be calculated according to a preset time period, and when the second device moves to an area outside the first distance interval, the monitoring of the movement condition of the second device may be stopped, that is, when the device interval is outside the first distance interval, the monitoring of the device interval may be stopped. It is to be understood that, in the embodiments of the present disclosure, the movement of the second device within the first distance interval may be monitored, and the second device outside the first distance interval may not be monitored. Assuming that the preset time period is 2 seconds, the distance between the second device and the first device in the first distance interval may be calculated in the period of 2 seconds, and in order to facilitate analysis of the movement of the second device, the second device located in the first distance interval may be counted, the counted result may be stored in the monitoring list, and the distance between the second device and the first device calculated in the period of 2 seconds may be counted in a corresponding position of the monitoring list. It should be noted that, in the embodiment of the present specification, the preset time period may be set according to actual needs, for example, the gate with a large pedestrian volume may set the preset time period to 1 second, and the gate with a small pedestrian volume may set the preset time period to 10 seconds, and the like, and the specific value is not specifically limited herein as long as the scene requirement can be met.
In practical applications, there are many wireless Communication methods, such as bluetooth, Near Field Communication (NFC), and the like, and compared to these wireless Communication methods, in the embodiment of the present disclosure, the distance between the second device and the first device is calculated by using an ultra wideband signal, so that more accurate distance information can be obtained.
Fig. 3 is a schematic diagram of calculating a device pitch provided in an embodiment of the present specification, and as shown in fig. 3, the calculating the device pitch may specifically include:
the first device 31 sends a first data packet P1 in the form of the ultra-wideband signal, and records the time of sending the first data packet P1 as a first time t 1;
receiving a second data packet P2, where the second data packet P2 is a data packet that is returned to the first device P1 in the form of the ultra wideband signal after the second device 32 receives the first data packet P1, and records that the time when the second data packet P2 is received is a second time t 2;
calculating a device separation distance between the second device 32 and the first device 31 based on a time difference between the second time t2 and the first time t 1.
In practical application, a general communication system modulates a narrow-band signal by using a high-frequency carrier, the actual occupied bandwidth of the communication signal is not high, and the ultra-wideband communication is different from the traditional communication technology and realizes wireless transmission by sending and receiving extremely narrow pulses with the nanosecond or microsecond level or less, and because the pulse time width is extremely short, the ultra-wideband on a frequency spectrum can be realized, and the used bandwidth is more than 500 MHz.
Due to the fact that the ultra-wideband is wide in bandwidth and high in multipath resolution capability, a positioning result with high precision can be obtained, and research shows that compared with positioning technologies such as Wi-Fi and Bluetooth, the positioning precision of ultra-wideband positioning in certain scenes can be more than one hundred times of that of traditional communication such as Wi-Fi and Bluetooth. And because the bandwidth of the ultra-wideband pulse signal is in the nanosecond level, and the error introduced when the position is calculated by timing is usually less than a few centimeters, the embodiment of the present specification may provide measurement accuracy by calculating the device distance between the first device and the second device by using the ultra-wideband signal.
Specifically, as shown in fig. 3, in the embodiment of the present disclosure, the first device 31 sends the first data packet P1 in the form of an ultra-wideband signal at a first time t1, the second device 32 may return a second data packet P2 to the first device 31 in the form of the ultra-wideband signal immediately after receiving the first data packet P1, and the time when the first device 31 receives the second data packet P2 is a second time t2, in a normal case, the first data packet and the second data packet may be considered to propagate at the speed of light c between the first device and the second device, and then the device distance between the first device and the second device may be obtained by using a distance calculation formula L (t2-t1) × c/2.
In order to improve the accuracy of the distance between the computing devices, an embodiment of the present specification further provides another method for computing the distance between the computing devices, fig. 4 is a schematic diagram of another distance between the computing devices provided by the embodiment of the present specification, and as shown in fig. 4, the computing the distance between the computing devices may specifically include:
the first device 41 and the at least two third devices 43 (shown as 43a and 43b in fig. 3) respectively receive a tag signal P41 transmitted by the second device 42 in the form of the ultra-wideband signal; the third device is a device which has a known position relation with the first device and can receive an ultra-wide pulse signal;
and determining the device distance between the second device 42 and the first device 41 according to the time difference of the tag signals received by the first device and the third device and the position relation of the third device 43 and the first device 41.
In the embodiment of the present specification, the tag signal P41 is transmitted in the form of an ultra-wideband signal, and it can be considered that the transmission speed of the tag signal P41 is the speed of light c, the positional relationship between the third device 43 and the first device 41 is known, and it is assumed that the coordinates of the first device 41 are (x1, y1), the coordinates of the third device 43a are (x2, y2), the coordinates of the third device 43b are (x3, y3), the time when the first device 41 receives the tag signal P41 is t41, the time when the third device 43a receives the tag signal P41 is t42, the time when the third device 43b receives the tag signal P41 is t43, and the coordinates of the second device 42 are (x, y), then it can be obtained that the transmission speed of the tag signal P41 is the speed of light c, the positional relationship between the third device 43 and the first device 41 is known in a plane coordinate system, and the coordinates of the third device 43b are t 3, and the coordinates of the first device 41 are t41, and the coordinates of the planar coordinate system are t41, and the coordinates of the third device 43, and the planar coordinate system are known
Figure BDA0002458136400000121
From this, the coordinates (x, y) of the second device 42 can be calculated, and the device distance between the first device 41 and the second device 42 can be determined
Figure BDA0002458136400000122
In order to further improve the accuracy of the computing device distance, the device distance may also be calculated by using the location information of a third device with a plurality of known locations, it should be noted that the above is only an example for more clearly explaining the computing device distance, and in practical applications, an appropriate computing manner may also be selected according to needs, for example, a TOA algorithm, a TDOA algorithm, and the like may also be used, and the specific computing manner is not limited here, and the third device may be a device that exists separately, a module that is integrated in the first device or another device, and the existence form of the third device in the embodiment of this specification is not limited as long as the device distance that meets the needs can be calculated.
In practical application, a plurality of scenarios for data interaction based on a wireless communication technology exist, in an embodiment of this specification, the first device includes an access control device, and the processing of the data may specifically include:
judging whether the second equipment has the authority to pass through the access control equipment or not based on the data to obtain a judgment result;
when the judgment result shows that the second equipment has the right of passing through the access control equipment, controlling the access control equipment to be in a passable state;
and when the judgment result shows that the second equipment does not have the right of passing through the access control equipment, controlling the access control equipment to be in a no-pass state.
In practical applications, the access control device may include management devices for various channels, such as gates at subway stations, bus stations, train stations, etc., automatic induction gates for office buildings, access controls for conference rooms, access controls for residential areas, vehicle access controls, etc. In this specification, the first device includes an access control device, and the determination of whether the user has the right to pass through the access control device can be completed before the user reaches the access control device, for example, the access control device only allows registered users to pass through under normal conditions, whether the user has the right to pass through the access control device can be determined by determining whether the user is the registered user of the access control device, if the user has the right to pass through the access control device, the channel can be opened before the user reaches the access control device, the user does not need to wait at the access control device, and the non-inductive access of the user can be realized.
In this embodiment of the present description, a first device or a server may monitor a second device located in a first distance interval, and may acquire data sent by the second device and process the data when a distance between the second device and the first device is less than or equal to a first preset distance, so that the second device may complete data interaction between the second device and the first device.
In practical application, the specific data of the first distance interval and the first preset distance can be set according to actual requirements. For example, when a plurality of second devices approach the first device and want to perform data interaction with the first device, to avoid a corresponding error, the range of the first distance interval may be set to be larger, so that the first device or the server may accurately determine the second device closest to the first device and process data of the second device.
In the embodiment of the description, an ultra-wideband signal is used to monitor a second device in a first distance interval, where the second device may be a mobile phone, a bracelet, or other terminal carried by a user, and in a normal case, when a distance between two adjacent second devices is greater than or equal to 30cm, a front-back position relationship between two users can be distinguished, and a first preset distance can be set to 30cm, and a corresponding error in data processing can also be avoided, for example, a user a and a user B sequentially pass through a gate device, the user a is in front of the user B, and the user a can perform data interaction with the gate device at a position 30cm away from the gate device, so that the gate device is in a passing state, and in an actual case, the distance between the two users is generally greater than 30cm, when the user a performs data interaction with the gate device, the distance between the user B and the gate device is greater than the first preset distance, so that the gate device only processes data corresponding to the user a, therefore, the accuracy of data processing is ensured, and corresponding errors are avoided. It should be noted that, the above-mentioned contents are only examples for clearly illustrating the contents in the embodiments of the present specification, and specific data are not specifically limited here as long as the actual requirements can be met.
In order to perform data interaction more accurately, the method in the embodiment of the present specification may further include: the first equipment acquires an ultra-wideband signal of fourth equipment, the distance between the fourth equipment and the first equipment is within a first distance interval; the fourth device is a device which is closest to the first device except the second device and establishes ultra-wideband connection with the first device;
calculating a device spacing between the first device and the fourth device based on an ultra-wideband signal between the first device and the fourth device;
calculating a distance between the fourth device and the second device based on a device separation distance between the first device and the fourth device;
determining a distance between the fourth device and the second device as the first preset distance.
In practical application, a first preset distance can be dynamically set by monitoring the distance between two adjacent devices in a first preset interval, so that data interaction can be more accurately carried out, and a corresponding error of the data interaction can be effectively avoided.
In an embodiment of this specification, after processing the data, the method may further include:
disconnecting the ultra-wideband signal between the first device and the second device.
In the embodiment of the present description, data is transmitted in the form of an ultra wideband signal, generally, the ultra wideband signal is an active signal, and power consumption of a device is consumed when the ultra wideband signal is received or transmitted, so that connection of the ultra wideband signal between a first device and a second device can be disconnected after data processing is finished in order to reduce power consumption of the device.
In an embodiment of this specification, the disconnecting an ultra-wideband signal between the first device and the second device includes:
monitoring a second device spacing between the first device and the second device based on the ultra-wideband signal; the second equipment interval is the distance between the first equipment and the second equipment after the second equipment passes through the first equipment;
and when the distance between the second devices is greater than or equal to a second preset distance, disconnecting the ultra-wideband signal between the first device and the second device.
In practical application, the device distance between the second device and the first device can be continuously monitored after the second device passes through the first device, when the device distance is larger than or equal to a second preset distance, the connection of the ultra-wideband signal between the first device and the second device can be disconnected, the electric quantity consumed by the connection of the ultra-wideband signal between the first device and the second device can be reduced, the number of the first device connected with the second device can be reduced, the load of the first device is reduced, and the service life of the first device is prolonged.
Based on the same idea, an embodiment of the present specification further provides an ultra-wideband-based data interaction method, as shown in fig. 5, the data interaction method provided in the embodiment of the present specification may mainly use a second device as an interaction method for executing a subject, and the process may include the following steps:
step 502: the method comprises the steps of sending an ultra-wideband signal, wherein the ultra-wideband signal is used for monitoring a device distance between second equipment and first equipment, and the distance between the second equipment and the first equipment is within a first distance interval;
step 504: when the distance between the devices is smaller than or equal to a first preset distance, sending data in the form of the ultra-wideband signal so that the first device can process the data; the first preset distance is smaller than or equal to the minimum distance of the first distance interval.
In the embodiment of the specification, data interaction is performed by using an ultra-wideband signal, and by monitoring the distance between the first device and the second device, when the second device is at a certain distance from the first device, the first device can perform data on the data sent by the first device, so that the data is processed in advance, the second device does not need to stay in front of the first device when passing through the first device, the time of a user of the second device is saved, the second device does not need to be actively shown to the first device, the user can pass through the first device in an imperceptible manner, and the convenience and the experience of the user are improved.
In practical application, both parties performing wireless communication may activate a wireless communication mode corresponding to the other party based on a wireless broadcast signal, and before transmitting the ultra wideband signal, the method may further include:
when the distance between the first device and the second device is larger than the maximum value of the first distance interval, receiving a first broadcast signal sent by the first device in the form of the ultra-wideband signal, wherein the first broadcast signal is used for activating the second device to send the ultra-wideband signal;
transmitting a second broadcast signal to the first device in response to the first broadcast signal.
In an embodiment of the present description, a first device may emit a first broadcast signal having a specific identifier, may activate an ultra-wideband signal of a second device capable of identifying the specific identifier, and the second device may transmit a second broadcast signal to the first device in response to the first broadcast signal, thereby establishing an ultra-wideband connection between the first device and the second device.
In this embodiment of this specification, before the second device reaches the first device, data interaction may be performed with the first device, and in a process that the second device approaches the first device, a device distance between the second device and the first device may be monitored, and before the data is sent in the form of the ultra-wideband signal, this embodiment of this specification may further include:
receiving a first data packet sent by the first device in the form of the ultra-wideband signal;
generating a second data packet based on the first data packet;
and sending the second data packet to the first device, so that the first device calculates the device distance between the second device and the first device based on the time difference between the second time of receiving the second data packet and the first time of sending the first data packet.
In this embodiment, the second device may receive a data packet sent by the first device and used for calculating the device distance, and calculate the device distance between the second device and the first device by using the transmission distance of the data packet. In order to reduce power consumption in practical applications, the data packets may be data packets containing a very small amount of information.
Another method for calculating a device distance between a second device and a first device is further provided in an embodiment of this specification, where before sending data in the form of the ultra-wideband signal, the method may further include:
sending a tag signal to the first device and at least two third devices in the form of the ultra-wideband signal, so that the first device determines a device distance between the second device and the first device according to a time difference value of the tag signal received by the first device and the third devices and a position relation of the third device and the first device; the third device is a device that can receive ultra-wideband signals whose positional relationship with the first device is known.
In practical applications, the ranging may also be performed by using a tag signal sent by the second device, where the tag signal may be a signal representing an identity of the second device, so that when there are multiple second devices, the device distance between the first device and the second device corresponding to the tag signal may be calculated by using the tag signal.
In this specification, the first device may include an access control device, and the data may include data used to determine whether the second device has a right to pass through the access control device.
The second device may include a mobile terminal device such as a mobile phone, a tablet computer, and an intelligent bracelet.
In order to reduce energy consumption, in this embodiment of the present specification, after the transmitting data in the form of the ultra wide band signal, the method may further include:
disconnecting the ultra-wideband signal from the first device.
The connection of the ultra-wideband signal between the second device and the first device can be disconnected after a preset time period on the basis of recording the time for sending the data; the distance between the second device and the first device can be monitored, and when the second device moves to a preset distance away from the first device, the connection of the ultra-wideband signal between the second device and the first device is disconnected; and the connection between the first device and the ultra-wideband signal can be disconnected when the intensity of the ultra-wideband signal is attenuated to a preset value by monitoring the intensity of the ultra-wideband signal. In practical applications, there are many judgment methods, and the specific adopted mode is not limited herein as long as the requirements can be met.
Based on the same idea, an ultra-wideband-based data interaction device corresponding to the method shown in fig. 2 is further provided in this embodiment of the present specification, as shown in fig. 6, fig. 6 is a schematic structural diagram of an ultra-wideband-based data interaction device provided in this embodiment of the present specification, where the device may include:
an ultra wideband signal obtaining module 602, configured to obtain an ultra wideband signal of a second device whose distance from the first device is within a first distance interval;
a device spacing monitoring module 604 configured to monitor a device spacing between the second device and the first device based on the ultra-wideband signal;
a data obtaining module 606, configured to obtain data sent by the second device in the form of the ultra-wideband signal when the device distance is smaller than or equal to a first preset distance; the first preset distance is smaller than or equal to the minimum distance of the first distance interval;
a data processing module 608, configured to process the data.
Before the ultra-wideband signal acquisition module 602, the method may further include:
a signal broadcasting module 610, configured to send a broadcast signal in the form of the ultra-wideband signal, where the broadcast signal is used to activate the second device to send an ultra-wideband signal.
Wherein the apparatus may further comprise a monitoring triggering module configured to:
calculating the device spacing based on an ultra-wideband signal emitted by the second device;
judging whether the equipment distance is smaller than or equal to the maximum distance of the first distance interval or not;
triggering monitoring of the device separation when the device separation is less than or equal to a maximum distance of the first distance interval.
The device interval monitoring module 604 in this embodiment is specifically configured to:
calculating the equipment distance according to a preset time period;
judging whether the equipment distance is within the first distance interval or not;
stopping monitoring of the device separation when the device separation is outside the first distance interval.
Based on the same idea, an ultra-wideband-based data interaction device corresponding to the method shown in fig. 5 is further provided in the embodiment of the present specification, as shown in fig. 7, fig. 7 is a schematic structural diagram of an ultra-wideband-based data interaction device provided in the embodiment of the present specification, where the device may include:
an ultra-wideband signal sending module 702, configured to send an ultra-wideband signal, where the ultra-wideband signal monitors a device distance between the second device and the first device, and a distance between the second device and the first device is within a first distance interval;
a data sending module 704, configured to send data in the form of the ultra-wideband signal when the device distance is smaller than or equal to a first preset distance, so that the first device processes the data; the first preset distance is smaller than or equal to the minimum distance of the first distance interval.
In practical applications, the apparatus in the embodiment of the present specification may further include:
a broadcast signal receiving module 706, configured to receive a first broadcast signal sent by the first device in the form of an ultra-wideband signal when the distance from the first device is greater than the maximum value of the first distance interval, where the first broadcast signal is used to activate the second device to send an ultra-wideband signal;
the ultra-wideband signal transmitting module 702 is further configured to transmit a second broadcast signal to the first device in response to the first broadcast signal.
Based on the same idea, an ultra-wideband-based data interaction device corresponding to the method shown in fig. 2 is further provided in this embodiment of the present specification, as shown in fig. 8, fig. 8 is a schematic structural diagram of an ultra-wideband-based data interaction device provided in this embodiment of the present specification, where the device may include:
at least one processor 810; and the number of the first and second groups,
a memory 830 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 830 stores instructions 820 executable by the at least one processor 810, the instructions being executable by the at least one processor 810 to enable the at least one processor 810 to:
acquiring an ultra-wideband signal of second equipment, wherein the distance between the second equipment and the first equipment is within a first distance interval;
monitoring a device separation distance between the second device and the first device based on the ultra-wideband signal;
when the distance between the devices is smaller than or equal to a first preset distance, acquiring data sent by the second device in the form of the ultra-wideband signal; the first preset distance is smaller than or equal to the minimum distance of the first distance interval;
and processing the data.
Based on the same idea, an ultra-wideband-based data interaction device corresponding to the method shown in fig. 5 is further provided in this embodiment of the present specification, as shown in fig. 9, fig. 9 is a schematic structural diagram of an ultra-wideband-based data interaction device provided in this embodiment of the present specification, where the device may include:
at least one processor 910; and the number of the first and second groups,
a memory 930 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 930 stores instructions 920 executable by the at least one processor 910 to enable the at least one processor 910 to:
sending an ultra-wideband signal, wherein the ultra-wideband signal is used for monitoring the device distance between the second device and the first device, and the distance between the second device and the first device is within a first distance interval;
when the device distance is smaller than or equal to a first preset distance, sending data in the form of the ultra-wideband signal so that the first device can process the data; the first preset distance is smaller than or equal to the minimum distance of the first distance interval.
The present specification also provides a computer readable medium, on which computer readable instructions are stored, the computer readable instructions being executable by a processor to implement the data interaction method corresponding to the method shown in fig. 2 or fig. 5.
The foregoing description of specific embodiments has been presented for purposes of illustration and description. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The apparatus, the device, the nonvolatile computer storage medium, and the method provided in the embodiments of the present specification correspond to each other, and therefore, the apparatus, the device, and the nonvolatile computer storage medium also have advantageous technical effects similar to those of the corresponding method.
In the 90's of the 20 th century, improvements to a technology could clearly distinguish between improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements to process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD) (e.g., a Field Programmable Gate Array (FPGA)) is an integrated circuit whose Logic functions are determined by a user programming the Device. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (21)

1. A method of ultra-wideband based data interaction, the method comprising:
calculating the device distance between the second device and the first device based on the ultra-wideband signal sent by the second device;
presetting a first distance interval, wherein the first distance interval is represented as an annular area formed between a first radius and a second radius by taking the first equipment as a circle center; the first radius and the second radius are different in length, the length of the first radius being less than the length of the second radius; triggering monitoring of the device separation when the device separation is less than or equal to the second radius of the first distance interval;
acquiring an ultra-wideband signal of second equipment positioned in the first distance interval;
monitoring a device distance between a second device and the first device, wherein the second device is located in the first distance interval, based on the ultra-wideband signal;
when the distance between the monitored devices is smaller than or equal to a first preset distance, acquiring data sent by the second device in the form of the ultra-wideband signal; the first preset distance is smaller than or equal to a first radius of the first distance interval;
and processing the data.
2. The method of claim 1, wherein prior to acquiring the ultra-wideband signal of a second device located within a first distance interval from the first device, further comprising:
and sending a broadcast signal in the form of the ultra-wideband signal, wherein the broadcast signal is used for activating the second device to send out the ultra-wideband signal.
3. The method of claim 1, wherein the monitoring of the device separation between the second device and the first device comprises:
calculating the distance between the devices according to a preset time period;
judging whether the equipment distance is within the first distance interval or not;
stopping monitoring of the device separation when the device separation is outside the first distance interval.
4. The method according to claim 1 or 3, wherein the calculating the device separation distance specifically comprises:
the first device sends a first data packet in the form of the ultra-wideband signal, and records the time of sending the first data packet as a first time;
receiving a second data packet, wherein the second data packet is a data packet which is returned to the first device in the form of the ultra-wideband signal after the second device receives the first data packet, and the time of receiving the second data packet is recorded as a second time;
and calculating the equipment distance between the second equipment and the first equipment based on the time difference value between the second time and the first time.
5. The method according to claim 1 or 3, wherein the calculating of the device distance between the second device and the first device specifically comprises:
the first device and at least two third devices respectively receive the label signals sent by the second device in the form of the ultra-wideband signals; the third device is a device which has a known position relation with the first device and can receive the ultra-wideband signals;
and determining the equipment distance between the second equipment and the first equipment according to the time difference of the first equipment and the third equipment receiving the label signals and the position relation of the third equipment and the first equipment.
6. The method of claim 1, wherein the first device comprises an access control device, and the processing the data specifically comprises:
judging whether the second equipment has the permission to pass through the access control equipment or not based on the data to obtain a judgment result;
when the judgment result shows that the second equipment has the right of passing through the access control equipment, controlling the access control equipment to be in a passable state;
and when the judgment result shows that the second equipment does not have the right of passing the access control equipment, controlling the access control equipment to be in a no-pass state.
7. The method of claim 1, after processing the data, further comprising:
disconnecting the ultra-wideband signal between the first device and the second device.
8. The method of claim 7, the disconnecting the ultra-wideband signal between the first device and the second device, comprising:
monitoring a second device separation distance between the second device and the first device based on the ultra-wideband signal; the second equipment interval is the distance between the second equipment and the first equipment after the second equipment passes through the first equipment;
and when the distance between the second devices is greater than or equal to a second preset distance, disconnecting the ultra-wideband signal between the first device and the second device.
9. A method of ultra-wideband-based data interaction, the method comprising:
sending an ultra-wideband signal, wherein the ultra-wideband signal is used for calculating the device distance between the second device and the first device; presetting a first distance interval, wherein the first distance interval is represented as an annular area formed between a first radius and a second radius by taking the first equipment as a circle center; the first radius and the second radius are different in length, the length of the first radius being less than the length of the second radius; when the equipment distance is smaller than or equal to a second radius of the first distance interval, triggering monitoring of the equipment distance, and monitoring the equipment distance between second equipment located in the first distance interval and the first equipment, wherein the second equipment is located in the first distance interval;
when the distance between the monitored devices is smaller than or equal to a first preset distance, sending data in the form of the ultra-wideband signals so that the first device can process the data; the first preset distance is smaller than or equal to a first radius of the first distance interval.
10. The method of claim 9, prior to transmitting the ultra-wideband signal, further comprising:
when the distance between the first device and the second device is larger than the maximum value of the first distance interval, receiving a first broadcast signal sent by the first device in the form of the ultra-wideband signal, wherein the first broadcast signal is used for activating the second device to send the ultra-wideband signal;
transmitting a second broadcast signal to the first device in response to the first broadcast signal.
11. The method of claim 9, further comprising, prior to transmitting data in the form of the ultra-wideband signal:
receiving a first data packet transmitted by the first device in the form of the ultra-wideband signal;
generating a second data packet based on the first data packet;
and sending the second data packet to the first device, so that the first device calculates the device distance between the second device and the first device based on the time difference between the second time of receiving the second data packet and the first time of sending the first data packet.
12. The method of claim 9, further comprising, prior to transmitting data in the form of the ultra-wideband signal:
sending a tag signal to the first device and at least two third devices in the form of the ultra-wideband signal, so that the first device determines a device distance between the second device and the first device according to a time difference value of the tag signal received by the first device and the third devices and a position relation of the third device and the first device; the third device is a device that can receive ultra-wideband signals whose positional relationship with the first device is known.
13. The method of claim 9, the first device comprising an access device, the data comprising data for determining whether the second device has permission to pass through the access device.
14. The method of claim 9, further comprising, after transmitting data in the form of the ultra-wideband signal:
disconnecting the ultra-wideband signal from the first device.
15. An ultra-wideband based data interaction apparatus, the apparatus comprising:
the monitoring triggering module is used for calculating the equipment distance between the second equipment and the first equipment based on the ultra-wideband signal sent by the second equipment; the monitoring trigger module is further used for presetting a first distance interval, wherein the first distance interval is represented as an annular area which is formed between a first radius and a second radius and takes the first equipment as a circle center; the first radius and the second radius are different in length, the length of the first radius being less than the length of the second radius; triggering monitoring of the device separation when the device separation is less than or equal to a second radius of the first distance interval;
the ultra-wideband signal acquisition module is used for acquiring an ultra-wideband signal of the second device positioned in the first distance interval;
a device distance monitoring module, configured to monitor a device distance between the first device and the second device located in the first distance interval based on the ultra-wideband signal;
the data acquisition module is used for acquiring data sent by the second equipment in the form of the ultra-wideband signal when the monitored equipment distance is smaller than or equal to a first preset distance; the first preset distance is smaller than or equal to a first radius of the first distance interval;
and the data processing module is used for processing the data.
16. The apparatus of claim 15, further comprising, prior to the ultra-wideband signal acquisition module:
and the signal broadcasting module is used for sending out a broadcasting signal in the form of the ultra-wideband signal, and the broadcasting signal is used for activating the second equipment to send out the ultra-wideband signal.
17. The apparatus of claim 15, the device spacing monitoring module, in particular to:
calculating the equipment distance according to a preset time period;
judging whether the equipment distance is within the first distance interval or not;
stopping monitoring of the device separation when the device separation is outside the first distance interval.
18. An ultra-wideband based data interaction device, the device comprising:
the ultra-wideband signal sending module is used for sending an ultra-wideband signal, and the ultra-wideband signal is used for calculating the equipment distance between the second equipment and the first equipment; the ultra-wideband signal sending module is further used for presetting a first distance interval, wherein the first distance interval is represented as an annular area formed between a first radius and a second radius which are preset by taking the first equipment as a circle center; the first radius and the second radius are different in length, the length of the first radius being less than the length of the second radius; when the equipment distance is smaller than or equal to a second radius of the first distance interval, triggering monitoring of the equipment distance, and monitoring the equipment distance between second equipment located in the first distance interval and the first equipment, wherein the second equipment is located in the first distance interval;
the data sending module is used for sending data in the form of the ultra-wideband signal when the distance between the monitored devices is smaller than or equal to a first preset distance so that the first device can process the data; the first preset distance is smaller than or equal to a first radius of the first distance interval.
19. The apparatus of claim 18, further comprising:
a broadcast signal receiving module, configured to receive a first broadcast signal sent by the first device in the form of an ultra-wideband signal when a distance between the first device and the first device is greater than a maximum value of the first distance interval, where the first broadcast signal is used to activate the second device to send the ultra-wideband signal;
the ultra-wideband signal transmitting module is further configured to transmit a second broadcast signal to the first device in response to the first broadcast signal.
20. An ultra-wideband-based data interaction device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to:
calculating the device distance between the second device and the first device based on the ultra-wideband signal sent by the second device;
presetting a first distance interval, wherein the first distance interval is represented as an annular area formed between a first radius and a second radius by taking the first equipment as a circle center; the first radius and the second radius are different in length, the length of the first radius being less than the length of the second radius; when the equipment spacing is smaller than or equal to a second radius of the first distance interval, triggering monitoring of the equipment spacing;
acquiring an ultra-wideband signal of second equipment positioned in the first distance interval;
monitoring a device distance between a second device and the first device, wherein the second device is located in the first distance interval, based on the ultra-wideband signal;
when the distance between the monitored devices is smaller than or equal to a first preset distance, acquiring data sent by the second device in the form of the ultra-wideband signal; the first preset distance is smaller than or equal to a first radius of the first distance interval;
and processing the data.
21. An ultra-wideband-based data interaction device, comprising:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
sending an ultra-wideband signal, wherein the ultra-wideband signal is used for calculating the device distance between the second device and the first device; presetting a first distance interval, wherein the first distance interval is represented as an annular area formed between a first radius and a second radius by taking the first equipment as a circle center; the first radius and the second radius are different in length, the length of the first radius being less than the length of the second radius; when the equipment distance is smaller than or equal to a second radius of a first distance interval, triggering the monitoring of the equipment distance, and monitoring the equipment distance between second equipment and first equipment in the first distance interval, wherein the second equipment is in the first distance interval;
when the distance between the monitored devices is smaller than or equal to a first preset distance, sending data in the form of the ultra-wideband signals so that the first device can process the data; the first preset distance is smaller than or equal to a first radius of the first distance interval.
CN202010311800.0A 2020-04-20 2020-04-20 Data interaction method, device and equipment based on ultra wide band Active CN111541996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010311800.0A CN111541996B (en) 2020-04-20 2020-04-20 Data interaction method, device and equipment based on ultra wide band

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010311800.0A CN111541996B (en) 2020-04-20 2020-04-20 Data interaction method, device and equipment based on ultra wide band

Publications (2)

Publication Number Publication Date
CN111541996A CN111541996A (en) 2020-08-14
CN111541996B true CN111541996B (en) 2022-06-24

Family

ID=71980059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010311800.0A Active CN111541996B (en) 2020-04-20 2020-04-20 Data interaction method, device and equipment based on ultra wide band

Country Status (1)

Country Link
CN (1) CN111541996B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399334A (en) * 2020-10-20 2021-02-23 北京嘀嘀无限科技发展有限公司 Ultra-wideband-based positioning method and device, electronic equipment and readable storage medium
CN114513749A (en) * 2020-11-17 2022-05-17 Oppo广东移动通信有限公司 Data processing method and device, terminal and storage medium
CN112842077A (en) * 2020-12-31 2021-05-28 佛山市顺德区美的饮水机制造有限公司 Control method and device for water dispenser, water dispenser and processor
CN114701448A (en) * 2021-04-21 2022-07-05 长城汽车股份有限公司 Vehicle anti-theft matching method and device and vehicle
CN114038108A (en) * 2021-11-18 2022-02-11 深圳市雪球科技有限公司 Access control method and device and electronic equipment
CN114639193A (en) * 2022-03-14 2022-06-17 Oppo广东移动通信有限公司 Control method, control device, electronic equipment and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105676183A (en) * 2016-03-24 2016-06-15 上海酷远物联网科技有限公司 Mobile terminal positioning method and system
CN108811178A (en) * 2018-05-31 2018-11-13 阿里巴巴集团控股有限公司 A kind of data interactive method, device and equipment
CN109151796A (en) * 2018-08-10 2019-01-04 Oppo广东移动通信有限公司 NAN equipment finding method, relevant device and computer readable storage medium
CN109902999A (en) * 2019-03-07 2019-06-18 江苏电力信息技术有限公司 A method of the Power Material based on AR technology is intelligently made an inventory
CN110972063A (en) * 2019-10-25 2020-04-07 珠海格力电器股份有限公司 Distance measurement method, device and system and readable medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163266A (en) * 2015-09-16 2015-12-16 小米科技有限责任公司 Method and device for locating wearable device
CN106331376A (en) * 2016-09-30 2017-01-11 维沃移动通信有限公司 Power saving method and mobile terminal
CN106527664B (en) * 2016-11-07 2020-10-30 东软集团股份有限公司 Self-service terminal energy-saving control method and device
CN110427887B (en) * 2019-08-02 2023-03-10 腾讯科技(深圳)有限公司 Member identity identification method and device based on intelligence

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105676183A (en) * 2016-03-24 2016-06-15 上海酷远物联网科技有限公司 Mobile terminal positioning method and system
CN108811178A (en) * 2018-05-31 2018-11-13 阿里巴巴集团控股有限公司 A kind of data interactive method, device and equipment
CN109151796A (en) * 2018-08-10 2019-01-04 Oppo广东移动通信有限公司 NAN equipment finding method, relevant device and computer readable storage medium
CN109902999A (en) * 2019-03-07 2019-06-18 江苏电力信息技术有限公司 A method of the Power Material based on AR technology is intelligently made an inventory
CN110972063A (en) * 2019-10-25 2020-04-07 珠海格力电器股份有限公司 Distance measurement method, device and system and readable medium

Also Published As

Publication number Publication date
CN111541996A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN111541996B (en) Data interaction method, device and equipment based on ultra wide band
CN108811178B (en) Data interaction method, device and equipment
CN108182414B (en) Traffic detection method, device and system
CA2987052A1 (en) Parking space management system and method
KR102179371B1 (en) Payment methods and systems for subway fares
CN111432339A (en) Near field communication card switching method and device, storage medium and electronic equipment
CN108985748B (en) Mobile device and reader for facilitating transactions
CN105763594B (en) Information pushing method and device
Couto et al. Exploring ticketing approaches using mobile technologies: QR codes, NFC and BLE
CN104702767A (en) Method, subscriber identity module card and system used for sending messages
CN108764392A (en) Method for processing business, device and equipment
CN107506670B (en) Parameter loading method and device
CN109102278B (en) Data interaction method and device, electronic equipment and portable equipment
CN115545696B (en) Payment method, server and mobile terminal
US11892552B2 (en) Data interaction method, device, system, and mobile terminal
KR20100045807A (en) System for providing information of number of persons and method of operating the system
CN115038053A (en) Travel reminding method and electronic equipment
CN110660139B (en) Detection system, method and device for copying and using riding code and terminal equipment
CN104464359A (en) Intelligent bus device
CN115130485A (en) Card reader, card terminal equipment, card swiping method and control unit
CN103456068A (en) Roll calling counting system
CN113992790B (en) Intelligent switching method for NFC virtual card on mobile intelligent device
CN113055844B (en) Information notification method and system based on dynamic detection
EP4333471A1 (en) Method and apparatus for carrying out ultra-wideband communication
US20220400356A1 (en) Method and system for selecting gate using positioning information

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40035811

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant