CN113950123B - Connection method, device, equipment and storage medium of communication equipment - Google Patents

Connection method, device, equipment and storage medium of communication equipment Download PDF

Info

Publication number
CN113950123B
CN113950123B CN202111287327.8A CN202111287327A CN113950123B CN 113950123 B CN113950123 B CN 113950123B CN 202111287327 A CN202111287327 A CN 202111287327A CN 113950123 B CN113950123 B CN 113950123B
Authority
CN
China
Prior art keywords
communication
connection
frequency hopping
list
communication device
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
CN202111287327.8A
Other languages
Chinese (zh)
Other versions
CN113950123A (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202111287327.8A priority Critical patent/CN113950123B/en
Publication of CN113950123A publication Critical patent/CN113950123A/en
Application granted granted Critical
Publication of CN113950123B publication Critical patent/CN113950123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/7156Arrangements for sequence synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • H04B2001/7154Interference-related aspects with means for preventing interference
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for connecting communication equipment. According to the invention, after initial connection is established with the communication equipment, a communication list request is periodically sent to the communication equipment, and then when the communication equipment performs frequency hopping operation according to the data communication list request, synchronous frequency hopping is performed according to the data communication list so as to establish data communication connection. According to the embodiment, the communication list request is periodically sent to the communication equipment, at the moment, the communication list request is periodically changed, then when the communication equipment performs frequency hopping operation according to the communication list request, synchronous frequency hopping is performed according to the communication list request so as to establish data communication connection, and therefore updating of the communication list request can be achieved in the data connection process, an interfered frequency band is avoided, and synchronous frequency hopping can be achieved so as to establish stable connection.

Description

Connection method, device, equipment and storage medium of communication equipment
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for connecting a communication device.
Background
Along with the development of science and technology, more and more products are in communication connection through wireless communication, taking VR equipment and a handle as examples, most of communication between the VR equipment and the handle is carried out by using 2.4G, the frequency band is between 2.400 GHz and 2.480GHz, and the advantage of the frequency band is mainly characterized by strong anti-interference performance and long transmission distance, so that the communication device is widely applied. On VR, VR equipment in order to track the handle that can be fine, need the triaxial gesture data of handle to report to VR equipment with high frequency, low delay's requirement, and then reach good tracking effect. For the above reasons, in order to achieve a better tracking effect, it is necessary to transmit data using a 2.4G private protocol. Because the 2.4GHz frequency band can be interfered by radio frequency signals of other devices, even the interference is dynamically unstable, the product is required to dynamically detect the interfered frequency band and timely avoid the interfered frequency band, and jump to a new high-quality frequency band for communication. In the process of connecting and binding the VR equipment and the handle of the existing 2.4G private protocol, the unique chip number digital information of the two parties is mainly transmitted to the other party, after the other party receives the number information, the information is stored in a memory, and the number information of the other party can be used for realizing the reconnection.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a connection method, a device, equipment and a storage medium of communication equipment, and aims to solve the technical problem that synchronous frequency hopping between communication equipment cannot be realized in the prior art so as to establish stable connection.
To achieve the above object, the present invention provides a connection method of a communication device, including:
after an initial connection is established with the communication equipment, periodically sending a communication list request to the communication equipment;
and when the communication equipment performs frequency hopping operation according to the communication list request, performing synchronous frequency hopping according to the communication list request so as to establish data communication connection.
Optionally, the communication list request includes a data communication list and frequency hopping count information for judging whether to hop frequencies;
when the communication device performs frequency hopping operation according to the communication list request, performing synchronous frequency hopping according to the communication list request to establish data communication connection, which specifically includes:
and when the communication equipment performs frequency hopping operation according to the frequency hopping counting information and the data communication list, performing synchronous frequency hopping according to the data communication list so as to establish data communication connection.
Optionally, before the step of periodically sending a communication list request to the communication device after the initial connection is established with the communication device, the method further includes:
periodically sending a broadcast packet to communication equipment, wherein the broadcast packet comprises a connection communication list;
and when the communication equipment performs frequency hopping operation according to the connection communication list, performing frequency hopping according to the connection communication list so as to establish initial connection with the communication equipment.
Optionally, the step of periodically sending a broadcast packet to the communication device, where the broadcast packet includes a connection communication list, before the step of:
performing frequency band scanning on the surrounding environment, and generating a connection communication list according to a scanning result;
and acquiring signal intensity information of each frequency band in the connection communication list, and configuring frequency hopping counting information according to the signal intensity information.
Optionally, after the step of establishing the data communication connection, when the communication device performs the frequency hopping operation according to the frequency hopping count information and the data communication list, performing synchronous frequency hopping according to the data communication list, the method further includes:
after establishing data communication connection with the communication equipment, acquiring an initial communication frequency band and performing erasing flash operation;
when the erasing flash operation is completed, acquiring a current count value of a preset counter;
determining a communication period consumed by a binding operation with the communication equipment according to the current count value;
and determining a target communication frequency band according to the consumed communication period and the initial communication frequency band.
Optionally, the step of determining the target communication band according to the consumed communication period and the initial communication band specifically includes:
determining the change condition of the frequency hopping counting information according to the consumed communication period;
determining the frequency hopping time required by changing the frequency hopping counting information into target frequency hopping counting information according to the change condition;
and determining a target communication frequency band according to the frequency hopping time and the initial communication frequency band.
Optionally, the communication device includes: VR device or handle.
In addition, to achieve the above object, the present invention also proposes a connection device of a communication apparatus, including:
the request sending module is used for periodically sending a communication list request to the communication equipment after the initial connection is established with the communication equipment;
and the communication connection module is used for carrying out synchronous frequency hopping according to the communication list request when the communication equipment carries out frequency hopping operation according to the communication list request so as to establish data communication connection.
In addition, to achieve the above object, the present invention also proposes a connection device of a communication device, including: the communication device connection method includes a memory, a processor, and a communication device connection program stored on the memory and executable on the processor, the communication device connection program configured to implement the communication device connection method as described above.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a connection program of a communication device, which when executed by a processor, implements the connection method of a communication device as described above.
According to the invention, after initial connection is established with the communication equipment, a communication list request is periodically sent to the communication equipment, and then when the communication equipment performs frequency hopping operation according to the data communication list request, synchronous frequency hopping is performed according to the data communication list so as to establish data communication connection. According to the embodiment, the communication list request is periodically sent to the communication equipment, at the moment, the communication list request is periodically changed, then when the communication equipment performs frequency hopping operation according to the communication list request, synchronous frequency hopping is performed according to the communication list request so as to establish data communication connection, and therefore updating of the communication list request can be achieved in the data connection process, an interfered frequency band is avoided, and synchronous frequency hopping can be achieved so as to establish stable connection.
Drawings
Fig. 1 is a schematic structural diagram of a connection device of a communication device in a hardware running environment according to an embodiment of the present invention;
fig. 2 is a flowchart of a first embodiment of a connection method of a communication device according to the present invention;
fig. 3 is a flowchart of a second embodiment of a connection method of a communication device according to the present invention;
fig. 4 is a flowchart of a third embodiment of a connection method of a communication device according to the present invention;
fig. 5 is a block diagram showing the structure of a first embodiment of the connection means of the communication device of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a connection device structure of a communication device in a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the connection device of the communication device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the connection device of the communication device, and may include more or less components than illustrated, or may combine certain components, or may be arranged in different components.
As shown in fig. 1, the memory 1005, which is one type of storage medium, may include an operating system, a network communication module, a user interface module, and a connection program of a communication device.
In the connection device of the communication device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the connection device of the communication device of the present invention may be disposed in the connection device of the communication device, and the connection device of the communication device invokes the connection program of the communication device stored in the memory 1005 through the processor 1001 and executes the connection method of the communication device provided in the embodiment of the present invention.
An embodiment of the present invention provides a method for connecting a communication device, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a method for connecting a communication device according to the present invention.
In this embodiment, the connection method of the communication device includes the following steps:
step S10: after an initial connection is established with the communication equipment, periodically sending a communication list request to the communication equipment;
the execution body of the present embodiment may be the connection device of the communication device having the network communication and program operation functions, or may be another device capable of implementing the same or similar functions, which is not particularly limited in this embodiment.
It is understood that the initial connection refers to an initial connection between two communication devices, and after the initial connection is established, the two communication devices can communicate through the same frequency band, and the two communication devices are any two devices that can establish a communication connection, for example: unmanned aerial vehicle and remote controller, VR equipment and handle, this embodiment does not make specific limitation to this.
It should be understood that the period in the periodic transmission of the communication list request may be set according to the actual situation, and each period may scan all frequency bands in the surrounding environment, for example, typically, 80 frequency bands need to be scanned, and assuming that the time required to scan each frequency band is 1ms, the period needs to be set to 80ms, and the period in which the communication device transmits the request in other environments may also be set according to the above manner, which is not repeated in this embodiment.
It may be appreciated that the data communication list may include all frequency bands that can be scanned in the current environment, and the frequency hopping count information may be a frequency hopping count value, for example: 1. 2, 3, etc., the specific value may be set by a counter.
In a specific implementation, when two communication devices establish an initial connection, one of the communication devices may receive a connection reply packet sent by the other communication device, where the connection reply packet indicates that the initial connection has been established at this time, and at this time, one of the communication devices starts periodically sending a communication list request to the other communication device.
Step S20: and when the communication equipment performs frequency hopping operation according to the frequency hopping counting information and the data communication list, performing synchronous frequency hopping according to the data communication list so as to establish data communication connection.
It should be noted that synchronous frequency hopping refers to that, under the condition of synchronization and simultaneous, both transmitting and receiving ends transmit signals by using a specific type of narrow frequency carrier to establish a data communication connection.
Further, in the present embodiment, the communication list request includes a data communication list and frequency hopping count information that determines whether or not frequency hopping is possible.
The data communication list includes a plurality of pieces of band information that enable data communication in the current environment.
Further, in this embodiment, the step S20 includes: and when the communication equipment performs frequency hopping operation according to the connection communication list, performing frequency hopping according to the connection communication list so as to establish initial connection with the communication equipment.
It can be understood that the frequency hopping count information will change with the period change, that is, the frequency hopping count value in the frequency hopping count information will decrease by 1 every time a period passes, until the frequency hopping count information is 0, and the frequency hopping operation is performed.
In a specific implementation, when one communication device performs a frequency hopping operation, the other communication device also performs synchronous frequency hopping according to the data communication list to establish a data communication connection, so as to realize data communication between the two communication devices.
The embodiment establishes the data communication connection by periodically sending a communication list request to the communication device after the initial connection is established with the communication device, and then performing synchronous frequency hopping according to the data communication list when the communication device performs frequency hopping operation according to the data communication list request. According to the embodiment, the communication list request is periodically sent to the communication equipment, at the moment, the communication list request is periodically changed, then when the communication equipment performs frequency hopping operation according to the communication list request, synchronous frequency hopping is performed according to the communication list request so as to establish data communication connection, and therefore updating of the communication list request can be achieved in the data connection process, an interfered frequency band is avoided, and synchronous frequency hopping can be achieved so as to establish stable connection.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a connection method of a communication device according to the present invention.
Based on the first embodiment, in this embodiment, before step S10, the method further includes:
step S01: periodically sending a broadcast packet to communication equipment, wherein the broadcast packet comprises a connection communication list;
it should be noted that, the period in periodically transmitting the broadcast packet to the communication device may be set to 1ms, and the specific value may be set according to the actual situation, which is not particularly limited in this embodiment.
It will be appreciated that the broadcast packet contains a connection communication list in which a plurality of frequency bands are present, but in practice the number of frequency bands in the connection communication list cannot be too large or too small, which would result in too slow an initial connection to be established, since all frequency bands in the connection communication list need to be scanned each time, which would result in that all frequency bands in the connection communication list would be disturbed when the surrounding environment is too severely disturbed, resulting in unsuccessful initial connection. The number of frequency bands in the specific connection communication list may be set according to the surrounding environment, which is not particularly limited in this embodiment.
Further, before the step S01, the method further includes: performing frequency band scanning on the surrounding environment, and generating a connection communication list according to a scanning result; and acquiring signal intensity information of each frequency band in the connection communication list, and configuring frequency hopping counting information according to the signal intensity information.
It should be noted that the signal strength information may include a received signal strength indicator (Received Signal Strength Indication, RSSI) that may indicate that all frequency bands in the surrounding environment are being interfered, and the higher the signal strength, the less interfered.
It should be understood that, in theory, the larger the frequency hopping count information is set, the more stable, but the larger it will affect the speed of stable connection; when the external interference is too serious, the setting of the frequency hopping counting information is too small, which can cause unsuccessful connection establishment and disconnection, so that the size of the frequency hopping counting information needs to be set according to a specific interference environment.
In a specific implementation, after the signal intensity information of each frequency band in the connection communication list is obtained, the interfered condition of each frequency band in the connection communication list needs to be judged according to the signal intensity information of each frequency band, when the signal intensity information is smaller, the condition that the frequency band is interfered is more serious, when the number of the interfered frequency bands is more, the configured frequency hopping count information is larger, a mapping relation between the number of the interfered frequency bands and the frequency hopping count information can be specifically established, for example, when the number of the interfered frequency bands is less than 5, the configured frequency hopping count information is 3, and can be specifically set according to the actual condition.
Step S02: and when the communication equipment performs frequency hopping operation according to the connection communication list, performing frequency hopping according to the connection communication list so as to establish initial connection with the communication equipment.
It should be understood that, assuming that two communication apparatuses are communication apparatus a and communication apparatus B, corresponding to the periodic transmission request packet by communication apparatus a, communication apparatus B will also periodically receive the request packet, in this embodiment, the period of receiving the request packet by specific communication apparatus B may be larger than the period of transmitting the request packet by communication apparatus a, at this time, the rate of transmitting the request packet by communication apparatus a is faster, and the rate of receiving the request packet by communication apparatus B is slower, so that communication apparatus a and communication apparatus B must be able to jump to the same frequency band in the connection communication list to perform communication.
In a specific implementation, when the communication device B performs a frequency hopping operation according to the connection communication list, it is described that at this time, the communication device a and the communication device B perform initial connection through the same frequency band on the communication connection list.
The embodiment periodically transmits a broadcast packet to the communication device, wherein the broadcast packet contains a connection communication list, and then when the communication device performs frequency hopping operation according to the connection communication list, frequency hopping is performed according to the connection communication list so as to establish initial connection with the communication device. In this embodiment, before a connection is not established with a communication device, a broadcast packet is periodically sent to the communication device, and the communication device periodically receives the broadcast packet, so that, because the sending rate of one communication device is different from the receiving rate of another communication device, the communication device can finally jump to the same frequency band in the connection communication list to perform communication, so as to establish an initial connection.
Referring to fig. 4, fig. 4 is a flowchart of a third embodiment of a connection method of a communication device according to the present invention.
Based on the above embodiments, in this embodiment, after the step S20, the method further includes:
step S30: after establishing data communication connection with the communication equipment, acquiring an initial communication frequency band and performing erasing flash operation;
it will be appreciated that the initial communication band in which data communication is currently performed may be obtained after the data communication connection is established with the communication device.
It should be understood that when the communication device a and the communication device B are connected for the first time, the flash erasing operation is required, and when the communication device a and the communication device B are not connected for the first time, the flash erasing operation is not required. The specific way of judging whether the communication device a and the communication device B are connected for the first time may be to judge through the frequency band in the connection communication list sent by the communication device a and received by the communication device B, if the frequency band is adjacent to the frequency band in the connection communication list sent by the communication device a, the description is not the first time connection.
In a specific implementation, the flash is a memory, and is divided into an on-chip flash and an external flash, when the flash is erased, the micro control unit (Microcontroller Unit, MCU) can be caused to pause operation, namely, a program pauses operation, at the moment, the situation that the frequency hopping counting information cannot be reduced by 1 is generated, further, the frequency hopping counting information of one party of the communication equipment A or the communication equipment B is not changed, the frequency hopping counting information of the other party is still changed, and therefore, the communication frequency ranges between the communication equipment A and the communication equipment B in the next period are inconsistent, and normal communication cannot be performed.
Step S40: when the erasing flash operation is completed, acquiring a current count value of a preset counter;
it can be understood that when the erasing flash operation starts, the initial count value of the preset counter needs to be set to 0, and when the erasing flash operation is completed, the current count value of the preset counter is obtained, so that the time consumed in the erasing flash process can be obtained.
Step S50: determining a communication period consumed by a binding operation with the communication equipment according to the current count value;
in a specific implementation, the consumed communication period may be determined according to the time consumed in the flash erasing process, that is, the consumed time divided by the time of each period, and the flash erasing process is a process of binding with the communication device.
Step S60: and determining a target communication frequency band according to the consumed communication period and the initial communication frequency band.
Further, in order to determine the target communication band, in this embodiment, the step S60 includes: determining the change condition of the frequency hopping counting information according to the consumed communication period; determining the frequency hopping time required by changing the frequency hopping counting information into target frequency hopping counting information according to the change condition; and determining a target communication frequency band according to the frequency hopping time and the initial communication frequency band.
In this embodiment, the target frequency hopping count information is 0, and may be set to other values according to the actual situation, which is not particularly limited in this embodiment.
It can be understood that the change condition of the frequency hopping count information can be obtained according to the consumed communication period, that is, how many times of 1 reduction operations are performed, so that the time required for reducing the frequency hopping count information to 0, that is, the frequency hopping time, can be obtained, so that the target communication frequency band can be obtained according to the initial communication frequency band and the frequency hopping time, and after the target communication frequency band is obtained, communication can be performed with the communication device on the same frequency band.
In a specific implementation, the communication device may include a VR device or a handle, and after the VR device establishes an initial connection with the handle, periodically send a communication list request to the handle, and then when the handle performs a frequency hopping operation according to the communication list request, perform synchronous frequency hopping according to the communication list request to establish a data communication connection. The communication list request can be periodically sent to the VR device after the initial connection between the handle and the VR device is established, and then synchronous frequency hopping is performed according to the communication list request when the VR device performs frequency hopping operation according to the communication list request, so that data communication connection is established. Thus, whether the communication device is a VR device or a handle, a data communication connection may be established by the above-described method of the present invention. The data communication connection can be realized by the method of the invention for any two communication devices needing to establish the data communication connection.
According to the embodiment, after data communication connection is established with the communication equipment, an initial communication frequency band is obtained, erasing flash operation is carried out, when the erasing flash operation is completed, a current count value of a preset counter is obtained, then a communication period consumed by binding operation with the communication equipment is determined according to the current count value, and then a target communication frequency band is determined according to the consumed communication period and the initial communication frequency band. According to the embodiment, the communication period consumed by erasing the flash is obtained in the binding process with the communication equipment, and then the target communication frequency band is determined according to the consumed communication period and the initial communication frequency band, so that frequency hopping synchronization of one communication equipment and another communication equipment can be realized, and normal communication can be realized.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a connection program of the communication device, and the connection program of the communication device realizes the connection method of the communication device when being executed by a processor.
Referring to fig. 5, fig. 5 is a block diagram showing the structure of a first embodiment of the connection device of the communication apparatus of the present invention.
As shown in fig. 5, a connection device for a communication device according to an embodiment of the present invention includes:
a request sending module 10, configured to periodically send a communication list request to a communication device after an initial connection is established with the communication device;
and the communication connection module 20 is configured to, when the communication device performs a frequency hopping operation according to the communication list request, perform synchronous frequency hopping according to the communication list request, so as to establish a data communication connection.
The embodiment establishes the data communication connection by periodically sending a communication list request to the communication device after the initial connection is established with the communication device, and then performing synchronous frequency hopping according to the data communication list when the communication device performs frequency hopping operation according to the data communication list request. According to the embodiment, the communication list request is periodically sent to the communication equipment, at the moment, the communication list request is periodically changed, then when the communication equipment performs frequency hopping operation according to the communication list request, synchronous frequency hopping is performed according to the communication list request so as to establish data communication connection, and therefore updating of the communication list request can be achieved in the data connection process, an interfered frequency band is avoided, and synchronous frequency hopping can be achieved so as to establish stable connection.
Based on the above-described first embodiment of the connection device of the communication apparatus of the present invention, a second embodiment of the connection device of the communication apparatus of the present invention is proposed.
In this embodiment, the communication connection module 20 is further configured to, when the communication device performs a frequency hopping operation according to the frequency hopping count information and the data communication list, perform synchronous frequency hopping according to the data communication list to establish a data communication connection.
The connection device of the communication equipment further comprises an initial connection module 30, wherein the initial connection module 30 is used for periodically sending a broadcast packet to the communication equipment, and the broadcast packet contains a connection communication list; and when the communication equipment performs frequency hopping operation according to the connection communication list, performing frequency hopping according to the connection communication list so as to establish initial connection with the communication equipment.
Further, the connection device of the communication device further includes an information configuration module 40, where the information configuration module 40 is configured to perform frequency band scanning on the surrounding environment, and generate a connection communication list according to the scanning result; and acquiring signal intensity information of each frequency band in the connection communication list, and configuring frequency hopping counting information according to the signal intensity information.
Further, the communication connection module 20 is further configured to acquire an initial communication frequency band and perform an erasing flash operation after establishing a data communication connection with the communication device; when the erasing flash operation is completed, acquiring a current count value of a preset counter; determining a communication period consumed by a binding operation with the communication equipment according to the current count value; and determining a target communication frequency band according to the consumed communication period and the initial communication frequency band.
Further, the communication connection module 20 is further configured to determine a change condition of the frequency hopping count information according to the consumed communication period; determining the frequency hopping time required by changing the frequency hopping counting information into target frequency hopping counting information according to the change condition; and determining a target communication frequency band according to the frequency hopping time and the initial communication frequency band.
Other embodiments or specific implementation manners of the connection device of the communication device of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. read-only memory/random-access memory, magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A method of connecting a communication device, the method comprising:
after initial connection is established with communication equipment, periodically sending a communication list request to the communication equipment, wherein the communication list request comprises a data communication list and frequency hopping counting information for judging whether frequency hopping occurs;
when the communication equipment performs frequency hopping operation according to the frequency hopping counting information and the data communication list, performing synchronous frequency hopping according to the data communication list so as to establish data communication connection;
after establishing data communication connection with the communication equipment, acquiring an initial communication frequency band and performing erasing flash operation;
when the erasing flash operation is completed, acquiring a current count value of a preset counter;
determining a communication period consumed by a binding operation with the communication equipment according to the current count value;
and determining a target communication frequency band according to the consumed communication period and the initial communication frequency band.
2. The method for connecting a communication device according to claim 1, wherein the step of periodically transmitting a communication list request to the communication device after the initial connection is established with the communication device, further comprises:
periodically sending a broadcast packet to communication equipment, wherein the broadcast packet comprises a connection communication list;
and when the communication equipment performs frequency hopping operation according to the connection communication list, performing frequency hopping according to the connection communication list so as to establish initial connection with the communication equipment.
3. The method for connecting a communication device according to claim 2, wherein the step of periodically transmitting a broadcast packet to the communication device, wherein the broadcast packet includes a connection communication list, further includes, before the step of:
performing frequency band scanning on the surrounding environment, and generating a connection communication list according to a scanning result;
and acquiring signal intensity information of each frequency band in the connection communication list, and configuring frequency hopping counting information according to the signal intensity information.
4. The method for connecting a communication device according to claim 1, wherein the step of determining a target communication band based on the consumed communication period and the initial communication band comprises:
determining the change condition of the frequency hopping counting information according to the consumed communication period;
determining the frequency hopping time required by changing the frequency hopping counting information into target frequency hopping counting information according to the change condition;
and determining a target communication frequency band according to the frequency hopping time and the initial communication frequency band.
5. The connection method of a communication device according to any one of claims 1 to 4, wherein the communication device includes: VR device or handle.
6. A connection apparatus of a communication device, characterized in that the connection apparatus of the communication device comprises:
the request sending module is used for periodically sending a communication list request to the communication equipment after the initial connection is established with the communication equipment, wherein the communication list request comprises a data communication list and frequency hopping counting information for judging whether frequency hopping occurs;
the communication connection module is used for synchronously hopping frequencies according to the data communication list when the communication equipment performs frequency hopping operation according to the frequency hopping counting information and the data communication list so as to establish data communication connection;
the communication connection module is also used for acquiring an initial communication frequency band and performing erasing flash operation after establishing data communication connection with the communication equipment; when the erasing flash operation is completed, acquiring a current count value of a preset counter; determining a communication period consumed by a binding operation with the communication equipment according to the current count value; and determining a target communication frequency band according to the consumed communication period and the initial communication frequency band.
7. A connection device of a communication device, characterized in that the connection device of the communication device comprises: memory, a processor and a connection program of a communication device stored on the memory and executable on the processor, the connection program of the communication device being configured to implement the connection method of a communication device according to any one of claims 1 to 5.
8. A storage medium having stored thereon a connection program of a communication device, which when executed by a processor, implements the connection method of a communication device according to any one of claims 1 to 5.
CN202111287327.8A 2021-10-29 2021-10-29 Connection method, device, equipment and storage medium of communication equipment Active CN113950123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111287327.8A CN113950123B (en) 2021-10-29 2021-10-29 Connection method, device, equipment and storage medium of communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111287327.8A CN113950123B (en) 2021-10-29 2021-10-29 Connection method, device, equipment and storage medium of communication equipment

Publications (2)

Publication Number Publication Date
CN113950123A CN113950123A (en) 2022-01-18
CN113950123B true CN113950123B (en) 2024-04-09

Family

ID=79337292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111287327.8A Active CN113950123B (en) 2021-10-29 2021-10-29 Connection method, device, equipment and storage medium of communication equipment

Country Status (1)

Country Link
CN (1) CN113950123B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1227685A (en) * 1996-06-11 1999-09-01 夸尔柯姆股份有限公司 Method and apparatus of providing bit count integrity and synchronous data transfer over a channel which does not preserce synchronization
CN103117772A (en) * 2013-02-05 2013-05-22 思创网联(北京)科技发展有限公司 Synchronous frequency hopping method and system in wireless sensor network
CN106255120A (en) * 2016-08-24 2016-12-21 重庆邮电大学 A kind of dynamic spectrum system of selection combined with heterogeneous network on/off algorithm
CN110445511A (en) * 2019-10-09 2019-11-12 恒玄科技(北京)有限公司 A kind of adaptive synchronicity frequency-hopping method, device, wireless aps and communication system
CN111132100A (en) * 2019-10-09 2020-05-08 珠海市杰理科技股份有限公司 Bluetooth connection method and device, Bluetooth equipment and Bluetooth system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517069B (en) * 2017-08-22 2020-06-02 深圳市华信天线技术有限公司 Frequency hopping synchronization method, device, receiver and transmitter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1227685A (en) * 1996-06-11 1999-09-01 夸尔柯姆股份有限公司 Method and apparatus of providing bit count integrity and synchronous data transfer over a channel which does not preserce synchronization
CN103117772A (en) * 2013-02-05 2013-05-22 思创网联(北京)科技发展有限公司 Synchronous frequency hopping method and system in wireless sensor network
CN106255120A (en) * 2016-08-24 2016-12-21 重庆邮电大学 A kind of dynamic spectrum system of selection combined with heterogeneous network on/off algorithm
CN110445511A (en) * 2019-10-09 2019-11-12 恒玄科技(北京)有限公司 A kind of adaptive synchronicity frequency-hopping method, device, wireless aps and communication system
CN111132100A (en) * 2019-10-09 2020-05-08 珠海市杰理科技股份有限公司 Bluetooth connection method and device, Bluetooth equipment and Bluetooth system

Also Published As

Publication number Publication date
CN113950123A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
US7899393B2 (en) Method and device for fast near-field communication
US6980819B2 (en) Radio communication system, and apparatus, method, and computer program for said radio communication system
CN107277747B (en) Method for establishing Bluetooth connection and Bluetooth device
WO2011012528A4 (en) Wireless network protocol coexistence
WO2006115990A1 (en) Method and system for bluetooth and wireless local area network coexistence
KR20120094918A (en) Method and system for announcement time of idle timeout for power saving operations in wireless networks
CN110445511B (en) Self-adaptive synchronous frequency hopping method and device, wireless AP and communication system
CN109429297B (en) Wireless communication device, and method for controlling wireless communication device
JP3787555B2 (en) Communication method and access point device in network
US20230152422A1 (en) Communication method and communication apparatus
CN112055315B (en) Bluetooth broadcast communication method, system and master device and slave device thereof
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
EP4161197A1 (en) Cross-system interference avoidance method, device and system
CN113950123B (en) Connection method, device, equipment and storage medium of communication equipment
CN113038437B (en) Data transmission method, device, storage medium and terminal equipment
KR102298616B1 (en) Power saving for non-trigger-based ranging
CN111556360A (en) Wireless channel selection method, computer device and storage medium
CN116744264A (en) Communication method of Bluetooth protocol, electronic equipment, device, storage medium and product
WO2022027681A1 (en) Wireless communication method and device
CN116567690A (en) Neighbor cell measurement method and related device
CN112825572A (en) Bluetooth inquiry/paging method and communication equipment
CN114337889A (en) Data transmission method, data reception method, communication device, and computer storage medium
CN113841431B (en) Communication method and communication device
CN114556872B (en) Wireless communication method, device, electronic equipment and storage medium
CN111935831B (en) Frequency band allocation method, device, storage medium, network equipment and terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20221124

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Applicant after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 workshop 1, phase III, Geer Photoelectric Industrial Park, 3999 Huixian Road, Yongchun community, Qingchi street, high tech Zone, Weifang City, Shandong Province

Applicant before: GoerTek Optical Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant