CN112396709B - Terminal interaction method and device based on ultra-wideband communication, medium and electronic equipment - Google Patents

Terminal interaction method and device based on ultra-wideband communication, medium and electronic equipment Download PDF

Info

Publication number
CN112396709B
CN112396709B CN202011271332.5A CN202011271332A CN112396709B CN 112396709 B CN112396709 B CN 112396709B CN 202011271332 A CN202011271332 A CN 202011271332A CN 112396709 B CN112396709 B CN 112396709B
Authority
CN
China
Prior art keywords
terminal
area
ultra
preset
information
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
CN202011271332.5A
Other languages
Chinese (zh)
Other versions
CN112396709A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011271332.5A priority Critical patent/CN112396709B/en
Publication of CN112396709A publication Critical patent/CN112396709A/en
Application granted granted Critical
Publication of CN112396709B publication Critical patent/CN112396709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems
    • 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
    • H04W76/14Direct-mode setup

Abstract

The disclosure provides a terminal interaction method based on ultra-wideband communication, a terminal interaction device based on ultra-wideband communication, a computer readable storage medium and an electronic device, and relates to the technical field of communication. The terminal interaction method based on the ultra-wideband communication is applied to a first terminal and comprises the following steps: detecting motion information of the second terminal in the first area through the ultra-wideband communication connection; and when the second terminal is identified to be in a preset motion state according to the motion information and enters a second area, the second terminal is enabled to carry out preset interactive operation. The method and the device can accurately and effectively realize the non-inductive interaction between the first terminal and the second terminal.

Description

Terminal interaction method and device based on ultra-wideband communication, medium and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a terminal interaction method based on ultra-wideband communication, a terminal interaction device based on ultra-wideband communication, a computer-readable storage medium, and an electronic device.
Background
With the rapid development of computer technology, the life style of people is greatly changed, and services of electronic trip such as 'swinger' riding for renting, 'swinger' riding for subway and the like appear, so that great convenience is brought to the life of people. In the existing terminal interaction scene of electronic trip, a user is often required to actively perform corresponding card swiping operation, for example, passengers need to swipe a subway card or "swipe a mobile phone" when entering or leaving a subway. The mode not only increases the operation flow of the user, but also may occupy more time during the trip peak period, and influences the trip experience of the user.
Therefore, how to enable accurate and fast interaction process between terminals and provide a user with an unconscious interaction experience is a problem to be solved urgently in the prior art.
Disclosure of Invention
The disclosure provides a terminal interaction method based on ultra-wideband communication, a terminal interaction device based on ultra-wideband communication, a computer readable storage medium and an electronic device, thereby improving the problems of low terminal interaction efficiency and influence on user experience in the prior art at least to a certain extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the present disclosure, there is provided a terminal interaction method based on ultra-wideband communication, applied to a first terminal, including: detecting motion information of the second terminal in the first area through the ultra-wideband communication connection; and when the second terminal is identified to be in a preset motion state according to the motion information and enters a second area, the second terminal is enabled to carry out preset interactive operation.
According to a second aspect of the present disclosure, there is provided a terminal interaction method based on ultra wideband communication, applied to a second terminal, including: sending a state detection signal to a first terminal through ultra-wideband communication connection, so that the first terminal detects motion information of a second terminal in a first area according to the state detection signal; and when the second terminal is in a preset motion state and enters a second area, carrying out preset interactive operation.
According to a third aspect of the present disclosure, there is provided a terminal interaction device based on ultra-wideband communication, applied to a first terminal, including: the motion information detection module is used for detecting the motion information of the second terminal in the first area through ultra-wideband communication connection; and the interactive operation execution module is used for enabling the second terminal to carry out preset interactive operation when the second terminal is identified to be in a preset motion state according to the motion information and enters a second area.
According to a fourth aspect of the present disclosure, there is provided an ultra-wideband communication based terminal interaction device, applied to a second terminal, including: the detection signal sending module is used for sending a state detection signal to the first terminal through ultra-wideband communication connection, so that the first terminal detects the motion information of the second terminal in the first area according to the state detection signal; and the interactive operation execution module is used for carrying out preset interactive operation when the second terminal is in a preset motion state and enters a second area.
According to a fifth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described ultra-wideband communication based terminal interaction method.
According to a sixth aspect of the present disclosure, there is provided a terminal comprising: the ultra-wideband module is used for establishing ultra-wideband communication connection between the first terminal and the second terminal; a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-mentioned ultra-wideband communication based terminal interaction method via execution of the executable instructions.
The technical scheme of the disclosure has the following beneficial effects:
according to the terminal interaction method based on the ultra-wideband communication, the terminal interaction device based on the ultra-wideband communication, the computer readable storage medium and the electronic equipment, the motion information of the second terminal in the first area is detected through the ultra-wideband communication connection; and when the second terminal is identified to be in the preset motion state according to the motion information and enters the second area, the second terminal is enabled to carry out preset interactive operation. On one hand, the exemplary embodiment provides a new terminal interaction method, which includes the steps of detecting motion information of a second terminal by setting a first area to pre-judge whether a preset interaction operation is performed on the second terminal, and further determining whether the preset interaction operation is performed on the second terminal by detecting whether the second terminal enters a second area; on the other hand, the interactive operation of the first terminal and the second terminal is carried out based on the ultra-wideband communication technology, the signal transmission efficiency in the interactive process is high, the power consumption is low, in addition, the user does not sense in the whole interactive process, and good use experience can be provided for the user; on the other hand, in the interaction process, the accurate interaction process can be realized only by carrying out multiple times of area detection on the second terminal, the flow is simple, other additional devices are not required to be configured, the hardware cost is low, and the application scene is wide.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 shows a schematic diagram of a system architecture of the present exemplary embodiment;
fig. 2 shows a schematic diagram of the electronic device of the present exemplary embodiment;
fig. 3 shows a flowchart of a terminal interaction method based on ultra-wideband communication of the present exemplary embodiment;
fig. 4 shows a sub-flowchart of a terminal interaction method based on ultra-wideband communication according to the present exemplary embodiment;
fig. 5 shows a sub-flowchart of another terminal interaction method based on ultra-wideband communication according to the present exemplary embodiment;
fig. 6 shows a flowchart of another terminal interaction method based on ultra-wideband communication according to the present exemplary embodiment;
fig. 7 is a block diagram illustrating a structure of a terminal interaction device based on ultra-wideband communication according to the exemplary embodiment;
fig. 8 shows a block diagram of another terminal interaction device based on ultra-wideband communication according to the exemplary embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 shows a schematic diagram of a system architecture of an exemplary embodiment of the present disclosure. As shown in fig. 1, the system architecture 100 may include: a first terminal 110 and a second terminal 120. The first terminal 110 may include various terminals according to differences Of interaction scenarios, for example, the first terminal 110 may be a subway gate terminal, a Point Of sale (Point Of Sales) vehicle-mounted POS terminal, a mobile phone Of a car booking driver, an intelligent lock Of a shared bicycle, and the like, the first terminal 110 may be internally provided with a UWB module, for example, a UWB chip is set in the subway gate terminal; the first terminal 110 may also be connected to an external UWB module, for example, an external UWB tag is provided to the terminal of the subway gate, so that the first terminal 110 can communicate with the second terminal 120 through UWB technology. The second terminal 120 may be a smart phone, a tablet, a wearable device (e.g., a smart watch, smart glasses), etc. used by the user. When the first terminal 110 detects that the second terminal 120 enters the first area 130, it may identify the motion information of the second terminal, and when it identifies that the second terminal 120 is in a preset motion state and enters the second area 140, trigger a preset interactive operation with the second terminal 120. It should be understood that the number of first terminals 110 and second terminals 120 in fig. 1 is merely illustrative. There may be any number or type of first or second terminals, depending on the actual needs.
The terminal interaction method based on ultra-wideband communication provided by the embodiment of the present disclosure may be executed by the first terminal 110, and may also be executed by the second terminal 120, and the application scenarios may include but are not limited to: when a user takes a bus, the user uses the mobile phone to brush the POS machine; or when the user takes the subway, enters the subway or goes out of the subway, the mobile phone is used for brushing the gate of the subway so as to realize payment or fee deduction operation and the like, and the method is not limited by the disclosure.
Exemplary embodiments of the present disclosure provide a terminal for implementing a terminal interaction method based on ultra-wideband communication. The terminal at least comprises an ultra-wideband module, a processor and a memory, wherein the ultra-wideband module is used for establishing ultra-wideband communication connection between a first terminal and a second terminal; the memory is used for storing executable instructions of the processor, and the processor is configured to execute the terminal interaction method based on the ultra-wideband communication through executing the executable instructions.
The terminal may be implemented in various forms, and may include a mobile terminal such as a mobile phone, a tablet computer, a personal digital assistant, and the like, and may also include an electronic device such as a gate, a POS machine, and the like. The following takes the terminal device 200 in fig. 2 as an example, and exemplifies the configuration of the terminal. It will be appreciated by those skilled in the art that the configuration of figure 2 can also be applied to fixed type devices, in addition to components specifically intended for mobile purposes. In other embodiments, terminal device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. The interface connection relationship between the components is only schematically shown, and does not constitute a limitation on the structure of the terminal device 200. In other embodiments, the terminal device 200 may also interface differently from fig. 2, or a combination of multiple interfaces.
As shown in fig. 2, the terminal device 200 may specifically include: the mobile terminal includes a processor 210, an internal memory 221, an external memory interface 222, a USB interface 230, a charging management Module 240, a power management Module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication Module 250, a wireless communication Module 260, an audio Module 270, a speaker 271, a microphone 272, a microphone 273, an earphone interface 274, a sensor Module 280, a display screen 290, a camera Module 291, a pointer 292, a motor 293, a button 294, a Subscriber Identity Module (SIM) card interface 295, and the like.
Processor 210 may include one or more processing units, such as: the Processor 210 may include an Application Processor (AP), a modem Processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, an encoder, a decoder, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural Network Processor (NPU), and the like. In some implementations, the processor 210 may include one or more interfaces.
The wireless communication function of the terminal device 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. The Wireless Communication module 260 may provide a Wireless Communication solution including a Wireless Local Area Network (WLAN) (e.g., a Wireless Fidelity (Wi-Fi) network), bluetooth (BT), UWB, global Navigation Satellite System (GNSS), near Field Communication (NFC), and the like, which is applied to the terminal device 200.
The terminal device 200 implements a display function by the GPU, the display screen 290, the application processor, and the like. The GPU is used to perform mathematical and geometric calculations to achieve graphics rendering and to connect the display screen 290 with the application processor. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information. Terminal device 200 may include one or more display screens 290 for displaying images, video, etc.
The terminal device 200 can implement a shooting function by the ISP, the camera module 291, the encoder, the decoder, the GPU, the display screen 290, the application processor, and the like. The camera module 291 is used to capture still images or videos, collect optical signals through the photosensitive element, and convert the optical signals into electrical signals. The ISP is used to process the data fed back by the camera module 291 and convert the electrical signal into a digital image signal.
The external memory interface 222 may be used to connect an external memory card. Internal memory 221 may be used to store computer-executable program code, which includes instructions. The internal memory 221 may include a program storage area and a data storage area.
The terminal device 200 may implement an audio function through the audio module 270, the speaker 271, the receiver 272, the microphone 273, the headphone interface 274, the application processor, and the like. The sensor module 280 may include a touch sensor 2801, a pressure sensor 2802, a gyro sensor 2803, a barometric pressure sensor 2804, and the like. Indicator 292 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, missed call, notification, etc. The motor 293 may generate a vibration indication, and may also be used for touch vibration feedback, etc. The keys 294 include a power-on key, a volume key, and the like. The keys 294 may be mechanical keys.
The following describes a terminal interaction method based on ultra-wideband communication and a terminal interaction device based on ultra-wideband communication according to exemplary embodiments of the present disclosure.
Fig. 3 shows a flow of a terminal interaction method based on ultra-wideband communication in the present exemplary embodiment, including the following steps S310 to S320:
step S310, detecting the motion information of the second terminal in the first area through the ultra-wideband communication connection.
The present exemplary embodiment may detect the motion information of the second terminal within the first area through the ultra-wideband communication connection in a state of the ultra-wideband communication connection of the first terminal with the second terminal. The second terminal can be a terminal device used by a user and provided with a UWB module, such as a smart phone, a tablet computer or a wearable device; the first terminal may refer to a terminal for performing ultra-wideband communication with the first terminal, and may be related to an actual application scenario, for example, a subway gate or a vehicle-mounted POS of a bus, and the first terminal may be configured with an ultra-wideband module for performing ultra-wideband communication therein, or connected to an external UWB module. In the present exemplary embodiment, the UWB module may be a UWB chip configured in the terminal, and according to actual needs, a plurality of UWB modules may be provided, for example, in order to improve the measurement accuracy of the first terminal and increase the capacity of the ultra-wideband communication connection, one or more UWB chips may be respectively configured on both sides of the subway gate, and the like, which is not specifically limited by the present disclosure. In the exemplary embodiment, the first terminal may continuously transmit the detection signal to the surrounding environment, or periodically transmit the detection signal to the surrounding environment to confirm whether the second terminal capable of performing the ultra-wideband communication connection exists in the surrounding environment.
When the second terminal intends to perform the preset interactive operation with the first terminal, the second terminal generally needs to pass through the first area, for example, when a user enters a subway gate by taking a subway, the second terminal passes through an area range where a gate entrance is located. The first area refers to an area in which the first terminal identifies a motion state of the second terminal. After the first terminal establishes the ultra-wideband communication connection with the second terminal, the first terminal may continuously or periodically perform ranging or positioning on the second terminal based on the ultra-wideband communication connection to detect the motion information of the second terminal in the first area, so as to monitor the motion state of the second terminal. The motion information refers to information capable of reflecting a motion state or a motion trend of the second terminal, for example, one or more of a moving direction of the second terminal, a moving angle of the second terminal relative to the first terminal, a moving speed of the second terminal, or a change in a distance from the second terminal to the first terminal, and by analyzing or calculating the motion information, the motion trend of the second terminal can be pre-determined, so as to determine whether the user has an intention to perform an interactive operation with the first terminal.
Step S320, when the second terminal is identified to be in the preset motion state according to the motion information and the second terminal enters the second area, enabling the second terminal to perform a preset interactive operation.
The preset motion state refers to a trend state that the second terminal has interactive operation with the first terminal, and may be specifically represented as that the second terminal moves towards the first terminal, or that a distance between the second terminal and the first terminal gradually decreases, and so on. The second area is an area for triggering execution of preset interactive operation between the first terminal and the second terminal, and the preset interactive operation is specific interactive operation performed between the first terminal and the second terminal, for example, when a user takes a subway, an entrance gate performs a card swiping marking operation on the user terminal, or an exit gate performs a card swiping fee deduction operation on the user terminal, or when the user takes a bus, a vehicle-mounted POS machine performs fee deduction operation on the user terminal, and the like. In the present exemplary embodiment, when it is determined that the second terminal is in the preset motion state, the second terminal may be considered to have a tendency to interoperate with the first terminal. Furthermore, after the second terminal is detected to enter the second area, the preset interactive operation between the first terminal and the second terminal can be executed.
In this exemplary embodiment, the first terminal may accurately locate or identify the second terminal based on the continuity or periodicity of the ultra-wideband communication connection to determine whether the second terminal enters the second area. In addition, a preset area boundary or a preset central area of the second area can be set as an operation trigger position, and when the second terminal is detected to reach the preset area boundary or the preset central area, the second terminal is enabled to perform preset interactive operation. When the second terminal enters the second area to perform the preset interactive operation, the exemplary embodiment may further determine, in combination with the motion information detected in step S310, that the second terminal performs the preset interactive operation according to the obtained moving speed of the second terminal, for example, when the moving speed of the second terminal is fast, the detection speed of the second area or the sensitivity of the second area detection may be increased, so as to ensure that the preset interactive operation can be performed fast after the second terminal enters the second area. For example, when the user takes the subway to enter the gate, if the user walks at a higher speed or runs close to the gate, the user can quickly deduct the fee and open the gate when entering the second area, so that the user is prevented from stopping at the gate, and the passing speed and efficiency are improved.
In addition, according to different application scenarios, the first area, the second area and the first terminal may have different positional relationships, for example, in an application scenario in which a user takes a subway, when the first terminal is a gate terminal of the subway, the second area may be an area closer to the gate terminal, and the first area is an area farther from the gate terminal, and when the user needs to enter a gate to take the subway, the user may move from the first area to the second area to enter the gate, so that it may be determined whether to trigger a preset interactive operation of the second terminal by identifying and detecting the first area and the second area. In the riding scene of other commercial vehicles, the position setting of the first terminal may not be limited, for example, in a commercial vehicle or an entrance to a commercial vehicle where there is no gate and only a vehicle-mounted POS machine is provided, the first terminal may be set at any position in a user passing area, and as long as it is detected that the second terminal is in a preset motion state, if the second terminal moves from the first area to the second area, the second terminal may be triggered to perform a preset interaction operation when the second terminal enters the second area. In addition, the positional relationship between the first region and the second region may be that the boundary between the first region and the second region is at least partially connected, for example, when the first region and the second region are adjacent to each other, the second terminal may enter the second region from the adjacent side by leaving the first region. The first area and the second area may not be connected to each other, for example, the first area and the second area are separated by other areas, in this case, in order to ensure the detection accuracy and validity of the first area and the second area, after the second terminal leaves the first area, when the second terminal enters the second area within a preset time, the validity of the detection result of the motion state of the second terminal by the first area may be preserved.
In an exemplary embodiment, the recognizing that the second terminal is in the preset motion state according to the motion information may include:
and identifying the moving direction of the second terminal as facing the second area according to the motion information.
The present exemplary embodiment may determine whether the moving direction of the second terminal is a direction toward the second area by identifying the movement information of the second terminal, so as to determine whether the second terminal has a tendency to perform a preset interactive operation with the first terminal. Specifically, the determination may be directly performed according to the acquired motion information, for example, the moving direction or the moving angle of the second terminal is determined, when the moving direction or the moving angle is a direction toward the second area or the first terminal, or a time toward the second area or the first terminal exceeds a time threshold, it may be determined that the second terminal is in a preset motion state, or a distance between the second terminal and the first terminal is determined, and when the distance between the second terminal and the first terminal is gradually decreased within a preset time, it may also be determined that the second terminal is in the preset motion state; in addition, calculation and judgment may be performed according to the obtained motion information, for example, the distance between the second terminal and the first terminal is calculated according to the moving time and the moving speed of the second terminal, and then, whether the distance between the second terminal and the first terminal is gradually decreased within the preset time is judged to determine whether the second terminal is in the preset motion state, and if the distance between the second terminal and the first terminal is gradually decreased, it is indicated that the second terminal moves toward the first terminal, that is, the moving direction of the second terminal is toward the second area, and the like.
In an exemplary embodiment, the terminal interaction device based on ultra-wideband communication may further include the steps of:
and when the second terminal is not in the preset motion state according to the motion information, canceling the ultra-wideband communication connection established between the first terminal and the second terminal.
In the exemplary embodiment, the first area is used for identifying a motion state of the second terminal, and if the second terminal is in a preset motion state, it is determined that the second terminal needs to perform a preset interaction operation with the first terminal, and then a subsequent detection process is performed on the second terminal based on the ultra-wideband communication connection; if the second terminal is not in the preset motion state, it may be considered that the second terminal does not need to perform the preset interactive operation with the first terminal currently, or it is expected to cancel the preset interactive operation with the first terminal, for example, when the user enters the first area of the subway gate by mistake, or the user changes the idea after entering the first area and wants to leave, the ultra-wideband communication connection established between the first terminal and the second terminal may be cancelled.
In the present exemplary embodiment, since the interaction process between the first terminal and the second terminal is different in the first area and the second area, the attributes of the first area and the second area may be set distinctively from a plurality of dimensions. Specifically, the range sizes of the first area and the second area can be set distinctively, and the first area is used for identifying the motion state of the second terminal, so that the first area can be set to a larger range, the motion information of the second terminal in the larger range can be acquired as much as possible, the motion state of the second terminal can be accurately identified, the second area can be set to a smaller range as a detection area for triggering the preset interactive operation of the first terminal and the second terminal, and the preset interactive operation can be triggered in time after the second terminal in the preset motion state enters the second area. Secondly, the ultra-wideband scanning time intervals of the first area and the second area may be set distinctively, and compared with the situation that the second area needs to detect whether the second terminal enters the area range in time to trigger the preset interactive operation, the real-time requirement of the first area on the detection of the second terminal is lower, so that the ultra-wideband scanning time interval of the first area may be set to be slightly longer, for example, 300ms (milliseconds), and the ultra-wideband scanning time interval of the second area may be shorter, for example, 50ms. Furthermore, the ultra-wideband transmission power of the second area and the ultra-wideband transmission power of the second area can be set differently, and since the first area is slightly farther away from the first terminal than the second area, the ultra-wideband transmission power of the first area can be set to be larger, for example, -42dBm/MHz (decibel-milliwatt/megahertz), and the ultra-wideband transmission power of the second area can be set to be smaller, for example, -50dBm/MHz, etc.
It should be noted that, the setting of the first area and the second area may be set from multiple dimensions, for example, when a larger detection range is set for the first area, a higher ultra-wideband transmission power or a longer ultra-wideband scanning time interval may be set for the first area, and when a smaller detection range is set for the second area, a lower ultra-wideband transmission power or a shorter ultra-wideband scanning time interval may be set for the second area, which is not limited in this disclosure. In addition, other ways of distinctively arranging the first region and the second region, which can be considered by those skilled in the art, are also included in the protection scope of the present disclosure.
In summary, in the present exemplary embodiment, the motion information of the second terminal in the first area is detected through the ultra-wideband communication connection; and when the second terminal is identified to be in the preset motion state according to the motion information and the second terminal is detected to enter the second area, the second terminal is enabled to carry out preset interactive operation. On one hand, the exemplary embodiment provides a new terminal interaction method, which includes the steps of detecting motion information of a second terminal by setting a first area to pre-judge whether the second terminal performs preset interaction operation, and further determining whether the second terminal performs the preset interaction operation by detecting whether the second terminal enters a second area, so that the exemplary embodiment can avoid the situation that the first terminal and the second terminal perform mistaken interaction, and improve the accuracy and effectiveness of the interaction process of the first terminal and the second terminal; on the other hand, the interactive operation of the first terminal and the second terminal is carried out based on the ultra-wideband communication technology, the signal transmission efficiency in the interactive process is high, the power consumption is low, in addition, the user does not sense in the whole interactive process, and good use experience can be provided for the user; on the other hand, in the interaction process, the accurate interaction process can be realized only by carrying out multiple times of area detection on the second terminal, the flow is simple, other additional devices are not required to be configured, the hardware cost is low, and the application scene is wide.
In an exemplary embodiment, as shown in fig. 4, the terminal interaction method based on ultra-wideband communication may further include:
step S410, acquiring interactive verification information of a second terminal through ultra-wideband communication connection;
further, the step S330 may include:
step S420, when the second terminal is identified to be in the preset motion state according to the motion information, the interactive verification information is verified to be passed, and the second terminal enters the second area, the second terminal performs a preset interactive operation.
In order to enable the first terminal and the second terminal to perform effective preset interactive operation, in this exemplary embodiment, the UWB module may be further provided with a verification chip to perform information verification on the obtained interactive verification information of the second terminal, so as to confirm the validity of the second terminal, and thus enable the second terminal to perform quick and effective preset interactive operation after entering the second area.
According to the difference of the types of the second terminals and the difference of the application scenarios, the interactive verification information may include a plurality of kinds of verification information, and in an exemplary embodiment, the interactive verification information may include one or more of a second terminal identifier, a second terminal interaction state, a virtual card identifier, a virtual card balance, and a virtual card type.
The second terminal identifier refers to a character string that can uniquely identify the terminal device, such as an ID (Identity, identification number) of the mobile terminal, a mobile phone number, or a riding App (Application) account, and the second terminal identifier can identify the second terminal. According to the interaction state of the second terminal, it can be determined what state the second terminal is currently in, such as an inbound not-swiping card state, an inbound swiped card state or an outbound not-swiping card state, and so on. In addition, the second terminal is also configured with a plurality of types of virtual cards for performing preset interactive operation, such as a bus card, a subway card or a bank card, the virtual card identifier refers to a character string capable of uniquely identifying the virtual card, and the corresponding virtual card can be determined through the virtual card identifier. And the balance of the virtual card refers to the resources in the virtual card that can be used for performing payment interaction.
The exemplary embodiment may verify the second terminal based on the interactive verification information, specifically, according to different application scenarios, different verification processes may be performed for different interactive verification information, for example, a balance in a current virtual card may be verified, and when the balance is sufficient, the verification is passed; the interactive state of the second terminal can be verified, and when the user enters the station by taking the subway and the interactive state is that the card is not swiped when the user enters the station, the verification is passed; the type or identification of the virtual card can be verified, and the verification is passed when the type or identification of the virtual card is determined to be the currently required virtual card.
It should be noted that, the above process of verifying the interactive verification information of the second terminal may be performed in the first area, specifically, the verification process may be performed after the motion state of the second terminal is identified, for example, when the second terminal is in a preset motion state, the process of verifying the interactive verification information of the second terminal may be performed; before the motion state of the second terminal is identified, that is, when the motion state of the second terminal is not detected after the second terminal enters the first area, the verification process of the interactive verification information of the second terminal can be executed; the verification process of the interactive verification information and the like can also be executed for the second terminal at the same time when the motion state of the second terminal is identified. If the verification process is performed in the first area, the first terminal may acquire the interactive verification information of the second terminal before the second terminal is identified in the motion state, or after the second terminal is identified in the motion state, and may perform the motion state identification on the second terminal at the same time, which is not specifically limited in this disclosure. In addition, the process of verifying the interactive verification information of the second terminal can also be performed in the second area, that is, after the second terminal enters the second area, the interactive verification information of the second terminal is verified.
In particular, in order to enable the second terminal to perform the preset interactive operation with the first terminal accurately and effectively after entering the second area, in an exemplary embodiment, the step S410 may include:
and acquiring the interactive verification information of the second terminal in the first area through ultra-wideband communication connection, and verifying the interactive verification information after recognizing that the second terminal is in a preset motion state.
That is, the exemplary embodiment may set the verification process of the interactive verification information to the first area, obtain the interactive verification information of the second terminal in the first area, verify the interactive verification information after recognizing that the second terminal is in the preset motion state, and if the second terminal is not in the preset motion state, it is not necessary to verify the interactive verification information. In the exemplary embodiment, the verification process is set as the first area, so that after the second terminal enters the second area, since the second terminal is verified in the first area, the preset interactive operation can be timely and effectively performed when the second terminal passes the verification, and the interactive efficiency of the terminal is improved.
In an exemplary embodiment, the terminal interaction method based on ultra-wideband communication may further include:
step S430, if the second terminal is identified to be in the preset motion state according to the motion information, and the interactive verification information is failed to be verified, sending a prompt message of interactive failure to the second terminal.
In this exemplary embodiment, when the interactive verification information of the second terminal fails to verify, the preset interactive operation between the first terminal and the second terminal cannot be executed, for example, when the balance of a virtual card configured in the mobile terminal used by the user is insufficient, the fee deduction operation cannot be completed; or when the user takes the subway to get in the station, the current operation of swiping the card at the station cannot be executed because the interaction state of the second terminal is still in the state of not swiping the card at the station because the flow is not normally ended when the user takes the subway last time. At this time, a prompt message of the interaction failure may be sent to the second terminal, so as to explain to the user a state of the current interaction failure or a failure reason, for example, a balance is insufficient or a state is incorrect, and the prompt message may be presented in a form of a text popup window or a vibration, which is not specifically limited by the present disclosure. It should be noted that, if the verification of the interactive verification information fails, the exemplary embodiment may send a prompt message of the interactive failure to the second terminal in the first area, for example, when the user enters a gate while riding a subway, the interactive verification information is verified in the first area, and if the balance is found to be insufficient, the interactive verification information may send the prompt message of the insufficient balance to the terminal used by the user in the first area, and inform the user of the current state in time, so as to avoid the situation of gate congestion; and sending a prompt message of failure of interaction to the second terminal after the second terminal enters the second area, which is not specifically limited by the disclosure.
The present exemplary embodiment may be particularly applied to an application scenario in which the first terminal is a gate terminal of a commercial vehicle, for example, a gate of a subway, and the second terminal is a mobile terminal used by a user, and then the step S330 may include:
and when the mobile terminal is identified to be in a preset motion state according to the motion information and enters the second area, the mobile terminal is enabled to carry out payment operation, and a gate of the commercial vehicle gate terminal is opened.
When the movement trend of the mobile terminal used by the user is detected to be movement towards the direction of the gate terminal in the first area, the user is considered to be in a state of going through the gate at present, and further, when the mobile terminal is detected to enter the second area, the mobile terminal is triggered to carry out payment operation, and the gate of the gate terminal is triggered to be opened. In the process, a verification mechanism for the interactive verification information of the mobile terminal can be set in the first area, the mobile terminal is verified in the first area in advance, after the user enters the second area, repeated verification is not needed for the mobile terminal, and then the payment operation of the mobile terminal can be triggered more quickly and the gate is opened under the condition that the mobile terminal passes through the verification, so that better use experience is provided for the user.
In an exemplary embodiment, after triggering the second terminal to perform the preset interaction operation, as shown in fig. 5, the terminal interaction method based on ultra-wideband communication may further include the steps of:
step S510, triggering the second terminal to generate a locking identifier, wherein the locking identifier is used for locking the next preset interactive operation;
step S520, when the second terminal leaves the second area, triggering the second terminal to clear the locking identifier.
In practical applications, some special situations may occur, for example, when a user gets on a bus and finishes a fee deduction or payment operation between the mobile terminal and the vehicle-mounted POS machine due to congestion caused by a large flow of people, the user still stands or sits in the second area and does not leave the second area. In order to avoid the problem that the user experience is affected by repeated deduction for multiple times and the like in the foregoing situation, in the present exemplary embodiment, after the preset interaction operation is performed between the second terminal and the first terminal, a locking identifier may be triggered to be generated for the second terminal to lock the current state, where the locking identifier may indicate that the next preset interaction operation cannot be performed currently. Further, when it is detected that the second terminal leaves the second area, the clearing of the locking identifier is triggered. In addition, in consideration of the characteristic that the second terminal is movable in the application scene, a situation that the second terminal leaves the second area and enters the second area in a short time may occur, the exemplary embodiment may further set a time threshold, and when it is detected that the time threshold is exceeded when the second terminal leaves the second area, the second terminal is triggered to clear the locking identifier, so that the validity and the accuracy of the locking identifier are improved.
In an exemplary embodiment, the triggering, in step S510, the generating of the locking identifier by the second terminal may include:
and sending feedback information of the completion of the preset interactive operation to the second terminal, so that the second terminal generates a locking identifier.
The locking identifier is used for locking the state of the second terminal, so that the next preset interactive operation is avoided after the current preset interactive operation is completed. Therefore, in this exemplary embodiment, the first terminal may send a completion feedback message of the preset interaction operation to the second terminal after completing the preset interaction operation with the second terminal, so as to indicate to the second terminal that the current preset interaction operation is completed, and may perform locking of the current state, and then the second terminal may generate the locking identifier after receiving the completion feedback message.
In an exemplary embodiment, when the second terminal enters the second area, the method for terminal interaction based on ultra-wideband communication may further include the following steps:
sending interaction request information to a first terminal, and receiving instruction information aiming at the interaction request information;
the triggering of the second terminal to perform the preset interactive operation includes:
and enabling the second terminal to carry out preset interactive operation according to the instruction information.
For some scenes in practical application, the second terminal may correspond to multiple users, for example, when a certain user takes a bus, the user can pay the bus taking fee for other users through multiple card swiping operations between the mobile terminal and the vehicle-mounted POS machine. Based on the above, the present exemplary embodiment may transmit the interactive request information to the second terminal to confirm the current demand to the user, such as the number of passengers or the number of stations in a bus, and the instruction information of the corresponding interactive request information may refer to demand information input by the user, such as several passengers or several stations required to take a bus, and the like. It should be noted that, the process of sending the interactive request information to the second terminal may be performed in the first area or the second area, and this disclosure does not specifically limit this. Further, the first terminal may trigger a preset interactive operation with the second terminal based on the instruction information, for example, deducting fees according to the number of people or deducting fees according to the number of sites, and the like. In addition, in order to improve the non-sensory experience of the user in the interaction process, default instruction information may be preset in the exemplary embodiment, for example, one passenger is provided, and if the user does not perform an input operation of the instruction information within a preset time, the interaction request information is automatically hidden, and a preset interaction operation is performed according to the default instruction information.
The exemplary embodiment of the present disclosure also provides a terminal interaction method based on ultra-wideband communication, which is applied to a second terminal, and includes the following steps S610 to S620:
step S610, sending a state detection signal to the first terminal through the ultra-wideband communication connection, so that the first terminal detects the motion information of the second terminal in the first area according to the state detection signal.
The state detection signal is a signal which is sent by the second terminal to the first terminal and is used for informing the first terminal that the motion state of the first terminal can be monitored, and when the first terminal receives the state detection signal sent by the second terminal, the motion information of the second terminal can be detected. The first area is an area where the first terminal identifies a motion state of the second terminal. After the first terminal establishes the ultra-wideband communication connection with the second terminal, the first terminal may continuously or periodically perform ranging or positioning on the second terminal based on the ultra-wideband communication connection to detect the motion information of the second terminal in the first area, so as to monitor the motion state of the second terminal. The motion information refers to information capable of reflecting a motion state or a motion trend of the second terminal, for example, one or more of a moving direction of the second terminal, a moving angle of the second terminal relative to the first terminal, a moving speed of the second terminal, or a change in a distance from the second terminal to the first terminal, and by analyzing or calculating the motion information, the motion trend of the second terminal can be pre-determined, so as to determine whether the user has an intention to perform an interactive operation with the first terminal. In the present exemplary embodiment, the second terminal may continuously or periodically transmit the state monitoring signal to the surrounding environment, and the first terminal may detect the motion information of the second terminal according to the state detection signal when the second terminal enters the first area.
Step S620, when the second terminal is in the preset motion state and enters the second area, performing a preset interactive operation.
The preset motion state refers to a trend state that the second terminal has interactive operation with the first terminal, and may be specifically represented as that the second terminal moves towards the first terminal, or that a distance between the second terminal and the first terminal gradually decreases, and so on. The second area is an area for triggering execution of preset interactive operation between the first terminal and the second terminal, and the preset interactive operation is specific interactive operation performed between the first terminal and the second terminal, for example, when a user takes a subway, an entrance gate performs a card swiping marking operation on the user terminal, or an exit gate performs a card swiping fee deduction operation on the user terminal, or when the user takes a bus, a vehicle-mounted POS machine performs fee deduction operation on the user terminal, and the like. In the present exemplary embodiment, when it is determined that the second terminal is in the preset motion state, the second terminal may be considered to have a tendency to interoperate with the first terminal. In this exemplary embodiment, after the first terminal detects that the second terminal enters the second area and the second terminal is in the preset motion state, specific information may be sent to the second terminal, so that the second terminal may perform a preset interaction operation.
In summary, in the exemplary embodiment, a status detection signal is sent to a first terminal through an ultra-wideband communication connection, so that the first terminal detects motion information of a second terminal in a first area according to the status detection signal; and when the second terminal is in a preset motion state and enters a second area, carrying out preset interactive operation. On one hand, the exemplary embodiment provides a new terminal interaction method, which accurately judges whether the second terminal needs to perform preset interaction operation or not by monitoring the motion state of the second terminal in the first area by the first terminal and detecting the second terminal in the second area, so that the situation of mistaken interaction between the first terminal and the second terminal can be avoided, and the accuracy and the effectiveness of the interaction process between the first terminal and the second terminal are improved; on the other hand, the interactive operation of the first terminal and the second terminal is carried out based on the ultra-wideband communication technology, the signal transmission efficiency is high in the interactive process, the power consumption is low, in addition, the user does not sense in the whole interactive process, and good use experience can be provided for the user; on the other hand, in the interaction process, the accurate interaction process can be realized only by carrying out multiple times of area detection on the second terminal, the flow is simple, other additional devices are not required to be configured, the hardware cost is low, and the application scene is wide.
In an exemplary embodiment, the terminal interaction method based on ultra wideband communication may further include:
and sending the interactive verification information to the first terminal through the ultra-wideband communication connection so that the first terminal verifies the interactive verification information.
In order to enable the first terminal to perform effective preset interactive operation with the second terminal, the exemplary embodiment may further include an information verification mechanism, where the second terminal may send interactive verification information to the first terminal, so that the first terminal performs verification, and thus, after the second terminal enters the second area when passing verification, the preset interactive operation may be performed quickly and effectively.
It should be noted that, the above process of verifying the interactive verification information of the second terminal may be performed in the first area, specifically, the verification process may be performed after the motion state of the second terminal is identified, for example, when the second terminal is in a preset motion state, the process of verifying the interactive verification information of the second terminal may be performed; before the motion state of the second terminal is identified, that is, when the motion state of the second terminal is not detected after the second terminal enters the first area, the verification process of the interactive verification information of the second terminal can be executed; the verification process of the interactive verification information and the like can also be executed for the second terminal at the same time when the motion state of the second terminal is identified. If the verification process is performed in the first area, the first terminal may acquire the interactive verification information of the second terminal before the second terminal is identified in the motion state, or after the second terminal is identified in the motion state, and may perform the motion state identification on the second terminal at the same time, which is not specifically limited in this disclosure. In addition, the process of verifying the interactive verification information of the second terminal can also be performed in the second area, that is, after the second terminal enters the second area, the interactive verification information of the second terminal is verified.
In an exemplary embodiment, after performing the preset interaction operation, the terminal interaction method based on ultra-wideband communication may further include:
generating a locking identifier, wherein the locking identifier is used for locking the next preset interactive operation;
and clearing the locking mark in response to receiving the area ending feedback information sent by the first terminal.
In the present exemplary embodiment, a locking identifier mechanism may also be set for a special situation that may occur in practical application, for example, when a user gets on a bus and after a fee deduction or payment operation between a mobile terminal and a vehicle-mounted POS machine is completed, the user still stands or sits in a second area and does not leave the second area due to congestion caused by a large flow of people when the user takes the bus, and a situation that user experience is affected by repeated fee deduction and the like may occur, and after the second terminal performs a preset interactive operation with the first terminal, the second terminal may generate a locking identifier to lock a current state, where the locking identifier may indicate that the next preset interactive operation cannot be performed currently. When the first terminal detects that the second terminal leaves the second area, the first terminal may send area end feedback information to the second terminal to indicate that the current operation flow is ended, and further, the second terminal may clear the locking identifier.
Exemplary embodiments of the present disclosure also provide a terminal interaction device based on ultra-wideband communication. As shown in fig. 7, the terminal interaction device 700 based on ultra-wideband communication is applied to a first terminal and may include: a motion information detecting module 710 for detecting motion information of the second terminal in the first area through an ultra-wideband communication connection; and the interactive operation executing module 720 is configured to enable the second terminal to perform a preset interactive operation when the second terminal is identified to be in the preset motion state according to the motion information and enters the second area.
In an exemplary embodiment, the interoperation performing module includes: and the motion information identification unit is used for identifying that the motion direction of the second terminal is towards the second area according to the motion information.
In an exemplary embodiment, the motion information includes one or more of a moving speed of the second terminal, a moving direction of the second terminal, a distance change of the second terminal from the first terminal, or a moving angle of the second terminal with respect to the first terminal.
In an exemplary embodiment, the terminal interaction device based on ultra-wideband communication further includes: the verification information acquisition module is used for acquiring the interactive verification information of the second terminal through ultra-wideband communication connection; and the interactive operation execution module is used for enabling the second terminal to carry out preset interactive operation when the second terminal is identified to be in the preset motion state according to the motion information, the interactive verification information is verified to be passed, and the second terminal enters the second area.
In an exemplary embodiment, the verification information obtaining module is configured to obtain, through an ultra-wideband communication connection, the mutual verification information of the second terminal in the first area, and verify the mutual verification information after recognizing that the second terminal is in the preset motion state.
In an exemplary embodiment, the interactive verification information includes one or more of a second terminal identification, a second terminal interaction status, a virtual card identification, a virtual card balance, a virtual card type.
In an exemplary embodiment, the terminal interaction device based on ultra-wideband communication further comprises: and the interaction failure prompt module is used for sending prompt information of interaction failure to the second terminal when the verification of the interaction verification information fails if the second terminal is identified to be in the preset motion state according to the motion information.
In an exemplary embodiment, the terminal interaction device based on ultra-wideband communication further includes: the locking identifier generation module is used for triggering the second terminal to generate a locking identifier after the second terminal performs the preset interaction operation, and the locking identifier is used for locking the next preset interaction operation; and the locking mark clearing module is used for triggering the second terminal to clear the locking mark when the second terminal leaves the second area.
In an exemplary embodiment, the locking identifier generating module is configured to send feedback information of completion of the preset interaction operation to the second terminal, so that the second terminal generates the locking identifier.
In an exemplary embodiment, the terminal interaction device based on ultra-wideband communication further includes: the instruction information receiving module is used for sending the interaction request information to the first terminal and receiving the instruction information aiming at the interaction request information; and the interactive operation execution module is used for enabling the second terminal to carry out preset interactive operation according to the instruction information.
In an exemplary embodiment, the terminal interaction device based on ultra-wideband communication further comprises: and the connection canceling module is used for canceling the ultra-wideband communication connection established between the first terminal and the second terminal when the second terminal is identified not to be in the preset motion state according to the motion information.
In an exemplary embodiment, the first terminal is a gate terminal of a commercial vehicle, and the second terminal is a mobile terminal; and the interactive operation execution module is used for enabling the mobile terminal to carry out payment operation and opening a gate of the gate terminal of the commercial vehicle when the mobile terminal is identified to be in a preset motion state according to the motion information and enters the second area.
In an exemplary embodiment, the ultra-wideband scanning time interval in the first region is greater than the ultra-wideband scanning time interval in the second region; and/or the ultra-wideband transmission power in the first region is greater than the ultra-wideband transmission power in the second region.
Exemplary embodiments of the present disclosure also provide a terminal interaction device based on ultra-wideband communication. As shown in fig. 8, the terminal interaction device 800 based on ultra-wideband communication is applied to a second terminal and may include: a detection signal sending module 810, configured to send a state detection signal to the first terminal through an ultra-wideband communication connection, so that the first terminal detects, according to the state detection signal, motion information of the second terminal in the first area; and an interactive operation executing module 820, configured to perform a preset interactive operation when the second terminal is in a preset motion state and enters the second area.
In an exemplary embodiment, the terminal interaction device based on ultra-wideband communication further includes: and the verification module is used for sending the interactive verification information to the first terminal through the ultra-wideband communication connection so that the first terminal verifies the interactive verification information.
In an exemplary embodiment, the terminal interaction device based on ultra-wideband communication further comprises: the identification generation module is used for generating a locking identification which is used for locking the next preset interactive operation; and the identifier clearing module is used for clearing the locking identifier in response to receiving the area ending feedback information sent by the first terminal.
The specific details of each module in the above apparatus have been described in detail in the method section, and details that are not disclosed may refer to the method section, and thus are not described again.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
Exemplary embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product including program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the "exemplary methods" section above in this specification, when the program product is run on the terminal device, for example, any one or more of the steps in fig. 3, fig. 4, fig. 5, or fig. 6 may be performed.
Exemplary embodiments of the present disclosure also provide a program product for implementing the above method, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not so limited, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the following claims.

Claims (18)

1. A terminal interaction method based on ultra-wideband communication is applied to a first terminal, and is characterized in that the first terminal is provided with an ultra-wideband communication module, and comprises the following steps:
continuously or periodically ranging or positioning the second terminal through the ultra-wideband communication connection to detect the motion information of the second terminal in the first area, wherein the motion information is information reflecting the motion state or motion trend of the second terminal; the first area is an area for the first terminal to identify the motion state of the second terminal;
under the condition that the interactive verification information passes, when the second terminal is identified to be in a preset motion state according to the motion information and enters a second area, enabling the second terminal to perform preset interactive operation according to the motion information, wherein the second terminal in the preset motion state comprises a trend state that the second terminal has interactive operation with the first terminal; the second area is used for triggering and executing preset interactive operation between the first terminal and the second terminal; an ultra-wideband scanning time interval in the first region is greater than an ultra-wideband scanning time interval in the second region; and/or the ultra-wideband transmission power in the first region is greater than the ultra-wideband transmission power in the second region.
2. The method according to claim 1, wherein the identifying that the second terminal is in a preset motion state according to the motion information comprises:
and identifying the motion direction of the second terminal as the direction towards the second area according to the motion information.
3. The method of claim 2, wherein the motion information comprises one or more of a moving speed of the second terminal, a moving direction of the second terminal, a distance change of the second terminal from the first terminal, or a moving angle of the second terminal relative to the first terminal.
4. The method of claim 1, further comprising:
acquiring interactive verification information of the second terminal through the ultra-wideband communication connection;
when the second terminal is identified to be in a preset motion state according to the motion information and enters a second area, the second terminal is enabled to perform preset interactive operation, including:
and when the second terminal is identified to be in a preset motion state according to the motion information, the interactive verification information is verified to be passed, and the second terminal enters a second area, the second terminal is enabled to carry out preset interactive operation.
5. The method of claim 4, wherein the obtaining interactive authentication information of the second terminal via the ultra-wideband communication connection comprises:
and acquiring the interactive verification information of the second terminal in the first area through the ultra-wideband communication connection, and verifying the interactive verification information after recognizing that the second terminal is in a preset motion state.
6. The method of claim 4, wherein the interactive verification information comprises one or more of a second terminal identification, a second terminal interaction status, a virtual card identification, a virtual card balance, and a virtual card type.
7. The method of claim 4, further comprising:
and if the second terminal is identified to be in a preset motion state according to the motion information, sending prompt information of interaction failure to the second terminal when the verification of the interactive verification information fails.
8. The method according to claim 1, wherein after the second terminal performs the preset interaction operation, the method further comprises:
triggering the second terminal to generate a locking identifier, wherein the locking identifier is used for locking the next preset interactive operation;
and when the second terminal leaves the second area, triggering the second terminal to clear the locking identification.
9. The method of claim 8, wherein the triggering the second terminal to generate the locking identifier comprises:
and sending feedback information of the completion of the preset interactive operation to the second terminal, so that the second terminal generates the locking identifier.
10. The method of claim 1, wherein when the second terminal enters the second area, the method further comprises:
sending interaction request information to the first terminal, and receiving instruction information aiming at the interaction request information;
the making of the second terminal to perform preset interactive operation includes:
and enabling the second terminal to perform the preset interactive operation according to the instruction information.
11. The method of claim 1, further comprising:
and when the second terminal is identified not to be in the preset motion state according to the motion information, canceling the ultra-wideband communication connection established between the first terminal and the second terminal.
12. The method of claim 1, wherein the first terminal is a service vehicle gate terminal and the second terminal is a mobile terminal;
when the second terminal is identified to be in a preset motion state according to the motion information and enters a second area, the second terminal is enabled to perform preset interactive operation, including:
and when the mobile terminal is identified to be in a preset motion state according to the motion information and enters a second area, the mobile terminal is enabled to carry out payment operation, and a gate of the commercial vehicle gate terminal is opened.
13. A terminal interaction method based on ultra-wideband communication is applied to a second terminal, and is characterized by comprising the following steps:
sending a state detection signal to a first terminal through ultra-wideband communication connection, so that the first terminal detects motion information of a second terminal in a first area according to the state detection signal, wherein the motion information is information reflecting the motion state or motion trend of the second terminal; the first area is an area for the first terminal to identify the motion state of the second terminal;
under the condition that the interactive verification information passes, when the second terminal is in a preset motion state and enters a second area, carrying out preset interactive operation according to the motion information, wherein the second terminal in the preset motion state comprises a trend state that the second terminal has interactive operation with the first terminal; the second area is used for triggering and executing preset interactive operation between the first terminal and the second terminal; an ultra-wideband scanning time interval in the first region is greater than an ultra-wideband scanning time interval in the second region; and/or the ultra-wideband transmission power in the first area is greater than the ultra-wideband transmission power in the second area.
14. The method of claim 13, further comprising:
and sending interactive verification information to the first terminal through the ultra-wideband communication connection so that the first terminal verifies the interactive verification information.
15. A terminal interaction device based on ultra-wideband communication is applied to a first terminal and is characterized by comprising:
the motion information detection module is used for continuously or periodically carrying out distance measurement or positioning on the second terminal through ultra-wideband communication connection so as to detect motion information of the second terminal in the first area, wherein the motion information is information reflecting the motion state or motion trend of the second terminal; the first area is an area for the first terminal to identify the motion state of the second terminal;
the interactive operation execution module is used for enabling the second terminal to carry out preset interactive operation according to the motion information when the second terminal is identified to be in a preset motion state according to the motion information and enters a second area under the condition that the interactive verification information passes, wherein the preset motion state of the second terminal comprises a trend state that the second terminal has interactive operation with the first terminal; the second area is used for triggering and executing preset interactive operation between the first terminal and the second terminal;
an ultra-wideband scanning time interval in the first region is greater than an ultra-wideband scanning time interval in the second region; and/or the ultra-wideband transmission power in the first region is greater than the ultra-wideband transmission power in the second region.
16. A terminal interaction device based on ultra-wideband communication is applied to a second terminal, and is characterized by comprising:
the detection signal sending module is used for sending a state detection signal to the first terminal through ultra-wideband communication connection, so that the first terminal detects motion information of the second terminal in a first area according to the state detection signal, wherein the motion information is information reflecting the motion state or motion trend of the second terminal; the first area is an area for the first terminal to identify the motion state of the second terminal;
the interactive operation execution module is used for carrying out preset interactive operation when the second terminal is in a preset motion state and enters a second area under the condition that the interactive verification information passes, wherein the preset motion state of the second terminal comprises a trend state that the second terminal has interactive operation with the first terminal; the second area is used for triggering and executing preset interactive operation between the first terminal and the second terminal; an ultra-wideband scanning time interval in the first region is greater than an ultra-wideband scanning time interval in the second region; and/or the ultra-wideband transmission power in the first region is greater than the ultra-wideband transmission power in the second region.
17. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 14.
18. A terminal, comprising:
the ultra-wideband module is used for establishing ultra-wideband communication connection with other terminals;
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1 to 14 via execution of the executable instructions.
CN202011271332.5A 2020-11-13 2020-11-13 Terminal interaction method and device based on ultra-wideband communication, medium and electronic equipment Active CN112396709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011271332.5A CN112396709B (en) 2020-11-13 2020-11-13 Terminal interaction method and device based on ultra-wideband communication, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011271332.5A CN112396709B (en) 2020-11-13 2020-11-13 Terminal interaction method and device based on ultra-wideband communication, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112396709A CN112396709A (en) 2021-02-23
CN112396709B true CN112396709B (en) 2022-12-06

Family

ID=74601081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011271332.5A Active CN112396709B (en) 2020-11-13 2020-11-13 Terminal interaction method and device based on ultra-wideband communication, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112396709B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055873B (en) * 2021-03-11 2022-09-09 Oppo广东移动通信有限公司 Method and device for identifying devices, electronic device and storage medium
CN113284266A (en) * 2021-07-23 2021-08-20 深圳市深圳通有限公司 Method, system, terminal device and program product for realizing noninductive riding payment
CN113706729B (en) * 2021-08-24 2023-09-15 Oppo广东移动通信有限公司 Parking management method, device, system, computer readable medium and electronic equipment
CN113947826A (en) * 2021-09-30 2022-01-18 熵基科技股份有限公司 Door lock control method, device, terminal and readable storage medium based on UWB
CN115130485A (en) * 2022-07-05 2022-09-30 深圳市汇顶科技股份有限公司 Card reader, card terminal equipment, card swiping method and control unit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110536455A (en) * 2019-10-16 2019-12-03 中兴通讯股份有限公司 A kind of resource selection method, device and storage medium
CN111510862A (en) * 2020-04-24 2020-08-07 支付宝(杭州)信息技术有限公司 Terminal area positioning method and device and electronic equipment
CN111614840A (en) * 2020-05-27 2020-09-01 惠州Tcl移动通信有限公司 Antenna transmission power adjusting method, device, storage medium and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016099048A1 (en) * 2014-12-15 2016-06-23 Samsung Electronics Co., Ltd. Electronic apparatus and method of controlling group action
CN106656278B (en) * 2016-11-29 2019-10-08 努比亚技术有限公司 A kind of near field communication device and terminal device
CN106934887A (en) * 2017-02-27 2017-07-07 南京聚鲲物联网科技有限公司 The smart bluetooth entrance guard device and control method of a kind of integrated position judgment and the direction of motion
CN108337643B (en) * 2018-03-16 2019-12-24 南京大学 Multitask mobile data distribution method based on public WiFi distribution
CN108683799A (en) * 2018-04-23 2018-10-19 Oppo广东移动通信有限公司 Wearable device lookup method and relevant device
CN110213718A (en) * 2019-05-24 2019-09-06 北京小米移动软件有限公司 The method and device of perception terminal behavior

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110536455A (en) * 2019-10-16 2019-12-03 中兴通讯股份有限公司 A kind of resource selection method, device and storage medium
CN111510862A (en) * 2020-04-24 2020-08-07 支付宝(杭州)信息技术有限公司 Terminal area positioning method and device and electronic equipment
CN111614840A (en) * 2020-05-27 2020-09-01 惠州Tcl移动通信有限公司 Antenna transmission power adjusting method, device, storage medium and mobile terminal

Also Published As

Publication number Publication date
CN112396709A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN112396709B (en) Terminal interaction method and device based on ultra-wideband communication, medium and electronic equipment
TWI762788B (en) Payment risk control method and system
US20170300503A1 (en) Method and apparatus for managing video data, terminal, and server
US20210004731A1 (en) Ticketing method and system
CN111784924A (en) Parking control method of vehicle, electronic equipment and shared vehicle system
CN113364490B (en) NFC application calling method, electronic equipment and NFC device
CN109615367A (en) For the method, apparatus of payment, storage medium and electronic equipment
WO2023060902A1 (en) Riding method and apparatus of public transport means, device, storage medium, and computer program product
CN105868979A (en) Near field paying method and mobile terminal
CN112540739A (en) Screen projection method and system
CN114373233A (en) Payment method, payment device, payment equipment and computer-readable storage medium
KR20170006740A (en) User terminal, central server and method for paying fare thereby
CN112272367B (en) Service calling method and application client
CN111540067A (en) UWB-based parking payment system, method, device and equipment
CN111475233B (en) Information acquisition method, graphic code generation method and device
KR101671904B1 (en) System for tracing vehicle using blackbox for vehicle
CN109767230A (en) A kind of method of payment, device and traffic payment devices
CN110660139B (en) Detection system, method and device for copying and using riding code and terminal equipment
CN113409520A (en) Charging method, charging device, electronic equipment and storage medium
CN112906597A (en) User identity recognition method and device and face brushing equipment
CN108921543A (en) A kind of near field payment terminal based on mobile telephone network, system and method
JP6823108B2 (en) Road vehicle communication system, road vehicle communication system monitoring and control device, and road vehicle communication system display control method
CN116347347A (en) Ticket supplementing method, ticket supplementing device and storage medium
KR101499605B1 (en) A terminal apparatus processing vehicle information and method for operating the same
CN115543499A (en) Information checking method, device, equipment, medium and product

Legal Events

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