Electronic equipment control method and device, terminal and storage medium
By controlling the electronic devices to send and receive data at preset intervals, the problem of wireless interference between multi-chip devices is solved, communication throughput and speed are improved, and packet loss rate is reduced.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2026-03-10
AI Technical Summary
In multi-chip, multi-protocol devices, wireless communication between devices is susceptible to interference, making it impossible to meet the demand for high-speed communication. Furthermore, increasing the communication rate and throughput exacerbates the interference problem.
Electronic devices send data to other electronic devices at preset number of cycles and receive data in each cycle. The preset number is an integer greater than or equal to 3. The data transmission frequency is reduced to minimize interference with other devices.
By reducing the data transmission frequency, interference with similar frequency bands is reduced, the overall throughput and rate of communication are improved, and data is automatically uploaded when data is lost to reduce the packet loss rate.
Smart Images

Figure CN121645185A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of information technology, and in particular to control methods and apparatuses, terminals and storage media for electronic devices. Background Technology
[0002] Typically, such as Figure 1 As shown, wireless communication between devices uses a one-to-one transmission and reception method, meaning the master device sends data once, and the slave device uploads data once. In multi-chip, multi-protocol devices, data transmitted by one device chip can cause wireless interference to other device chips or protocols, failing to meet high-speed communication requirements. With the miniaturization of devices, this interference problem cannot be solved by adding hardware isolation and will become more severe. Furthermore, increasing communication rate and throughput can only be achieved by increasing the data transmission speed, but this will cause interference to other device chips. Therefore, further improvements in this area are desired. Summary of the Invention
[0003] To address the existing problems, this disclosure provides a control method, apparatus, terminal, and storage medium for an electronic device.
[0004] The following technical solution is adopted in this disclosure.
[0005] The present disclosure provides a control method for an electronic device, the control method comprising: sending data to another electronic device at preset number of cycles, wherein the electronic device and the other electronic device are wirelessly connected, the preset number is an integer greater than or equal to 3, and the cycle is the cycle in which the other electronic device sends data once; and receiving data transmitted back from the other electronic device in each cycle.
[0006] Another embodiment of this disclosure provides a control device for an electronic device. The processing device includes: a data transmission module configured to transmit data to another electronic device at preset number of cycles, wherein the electronic device and the other electronic device are wirelessly connected, the preset number is an integer greater than or equal to 3, and the cycle is the cycle in which the other electronic device transmits data once; and a data receiving module configured to receive data transmitted back from the other electronic device at each cycle.
[0007] In some embodiments, this disclosure provides a terminal, including: at least one memory and at least one processor; wherein the memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the control method of the above-described electronic device.
[0008] In some embodiments, this disclosure provides a storage medium for storing program code for executing the control method of the above-described electronic device.
[0009] The electronic device disclosed herein sends data to other electronic devices at preset intervals, and spends most of its time in data receiving mode without sending data, thereby reducing interference to other devices that use similar frequency bands for data transmission and improving the overall throughput and rate of device communication. Attached Figure Description
[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0011] Figure 1 A schematic diagram of data transmission between devices in the prior art is shown.
[0012] Figure 2 This is a flowchart of a control method for an electronic device according to an embodiment of the present disclosure.
[0013] Figure 3 A schematic diagram illustrating data transmission between devices according to an embodiment of the present disclosure is shown.
[0014] Figure 4 This is a part of the control device of an electronic device according to another embodiment of the present disclosure.
[0015] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0016] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0017] It should be understood that the various steps described in the method embodiments of this disclosure can be performed in sequence and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0018] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0019] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0020] It should be noted that the use of the word "a" in this disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as "one or more" unless otherwise expressly indicated in the context.
[0021] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0022] When electronic devices frequently transmit data, the radio frequency (RF) sidebands of these devices significantly impact data transmission from devices using similar frequency bands. For example, assuming an electronic device transmits data using 2.4 GHz Wi-Fi, its frequent data transmissions greatly affect the data transmission of other devices using 2.4 GHz Wi-Fi. This disclosure reduces the interference of the electronic device's RF signal to wireless communication within the same frequency band. For instance, in a virtual reality (VR) station scenario, reducing interference between multiple chips in the 2.4 GHz band can improve the communication rate and throughput of that band.
[0023] Figure 2 A flowchart of a control method for an electronic device according to embodiments of the present disclosure is provided. Figure 3 A schematic diagram illustrating data transmission between devices according to an embodiment of this disclosure is shown. (As follows) Figure 2 and Figure 3As shown, the control method for the electronic device disclosed herein may include step S101, transmitting data to another electronic device at preset intervals. In some embodiments, the electronic device and the other electronic device are wirelessly connected, for example, via Bluetooth, Wi-Fi, etc. In some embodiments, the electronic device includes a head-mounted device, and the other electronic device includes a handle and / or a pose sensor (tracker). In some embodiments, the electronic device and the other electronic device may be separate or integrated. In some embodiments, the interval is the interval at which the other electronic device transmits data once. For example, if the other electronic device is a handle, and the handle's frequency is, for example, 500Hz, the interval may be, for example, 2ms.
[0024] In some embodiments, the preset quantity is an integer greater than or equal to 3. In some embodiments, the preset quantity is typically less than 50, for example, 11, 13, 19, 29, etc. In some embodiments, the preset quantity is greater than or equal to 11 and less than 50. In some embodiments, the data sent by the electronic device to another electronic device may include vibration signals, time synchronization signals, etc.
[0025] In some embodiments, the method of this disclosure may further include step S102, in which data is received from another electronic device in each cycle. For example... Figure 3 As shown, the electronic device receives uploaded data from another electronic device in each cycle. In some embodiments, the data uploaded by the other electronic device may include information such as its position and orientation.
[0026] The electronic device disclosed herein sends data to other electronic devices at preset intervals, and spends most of its time in data receiving mode without sending data. Compared to sending data to other electronic devices every interval, this reduces interference to other devices that transmit data using similar frequency bands, and improves the overall throughput and rate of device communication.
[0027] In some embodiments, the preset number is a prime number greater than 5. This prevents it from intersecting with the frequency hopping cycle. In some embodiments, the preset number is a prime number greater than 5 and less than 50. This takes into account the static mode, where the receiving window opens after the same cycle. For example, if the preset number is a multiple of 5, each opening cycle is likely to be on the same channel, and if this channel is interfered with, it can easily cause multiple communication failures and disconnections.
[0028] In some embodiments, the control method for the electronic device disclosed herein further includes: when the electronic device needs to synchronize data with another electronic device in the current cycle, sending data to the other electronic device in the current cycle, and recounting the preset number of cycle intervals. For example, assuming the preset number is 19, the electronic device typically sends data to the other electronic device once every 19 cycles. If the electronic device needs to synchronize data in the 17th cycle, it sends data to the other electronic device in the 17th cycle, and from the 17th cycle onwards, it sends data to the other electronic device again after another 19 cycles, that is, the preset number of cycle intervals is recounted. In this way, the adverse effects on data real-time performance caused by sending data over multiple cycles can be minimized.
[0029] In some embodiments, the control method for the electronic device disclosed herein further includes: when the electronic device determines that another electronic device has failed to transmit data in the current cycle, sending data to the other electronic device in the next cycle of the current cycle, requesting the other electronic device to transmit data for the current cycle and the next cycle, and recounting the preset number of cycle intervals. For example, assuming the preset number is 29, the electronic device typically sends data to the other electronic device once every 29 cycles. If the electronic device detects packet loss in the other electronic device in the 17th cycle, i.e., data upload failure, then the electronic device sends data to the other electronic device in the 18th cycle, requesting the other electronic device to upload the data for the 17th and 18th cycles. Starting from the 18th cycle, data is sent to the other electronic device after another 29 cycles, i.e., the preset number of cycle intervals is recounted. In this way, the adverse effects caused by the failure of the other electronic device to upload data or packet loss can be eliminated in a timely manner.
[0030] In some embodiments, the control method for the electronic device disclosed herein further includes: performing time synchronization and initiating automatic data upload when another electronic device receives data sent by the electronic device. That is, time synchronization is performed each time another electronic device receives data sent by the electronic device, and data is automatically uploaded every cycle.
[0031] In some embodiments, the control method for the electronic device disclosed herein further includes: initiating automatic data upload when another electronic device does not receive data sent by the electronic device during the first third of each cycle. Therefore, the other electronic device can upload data at 1 / 3 of each cycle, whereas previously it typically uploaded data at 1 / 2 of each cycle, thus increasing data throughput by 1 / 6. Therefore, if the other electronic device does not receive data within a preset time period of each cycle, it can send data earlier, thereby improving bandwidth utilization efficiency and wireless communication throughput efficiency. Furthermore, when packet loss occurs due to data transmission failure by the electronic device, the other electronic device can automatically upload data, reducing the packet loss rate of the uploaded data.
[0032] In some embodiments, additional electronic devices include multiple handles and / or pose sensors, and the head-mounted device is connected to the multiple handles and / or pose sensors via 2.4G Bluetooth Wi-Fi. In some embodiments, when the head-mounted device is wirelessly connected to the multiple handles and / or pose sensors, and all are connected via 2.4G Bluetooth Wi-Fi, the frequent data transmission from the head-mounted device causes particularly severe interference to wireless communication. By employing the control method of the electronic device disclosed herein, the adverse effects of the frequent data transmission from the head-mounted device on a stable 2.4G Bluetooth Wi-Fi connection can be greatly reduced.
[0033] This disclosure reduces the impact of the electronic device's RF on the corresponding frequency band by lowering the frequency at which the electronic device transmits data, thereby increasing the wireless communication throughput of that band. Furthermore, in the event of data transmission failure or packet loss by an electronic device, another electronic device can automatically upload data, reducing the packet loss rate of uploaded data.
[0034] Embodiments of this disclosure also provide a control device 400 for an electronic device. Figure 4 A control device 400 for an electronic device according to some embodiments is shown. The control device 400 includes a data transmission module 401 and a data reception module 402. In some embodiments, the data transmission module 401 is configured to transmit data to another electronic device at preset number of cycles, wherein the electronic device and the other electronic device are wirelessly connected, the preset number is an integer greater than or equal to 3, and the cycle is the cycle in which the other electronic device transmits data once. In some embodiments, the data reception module 402 is configured to receive data transmitted back from the other electronic device each cycle.
[0035] It should be understood that the description of the control method for electronic devices also applies to the control device 400 for electronic devices described herein, but for simplicity, it will not be described in detail here.
[0036] In some embodiments, the preset quantity is a prime number greater than 5. In some embodiments, the data transmission module is further configured to: when the electronic device needs to synchronize data with another electronic device in the current cycle, send data to the other electronic device in the current cycle, and reset the count for the preset number of cycle intervals. In some embodiments, the data transmission module is further configured to: when the electronic device determines that the other electronic device has failed to return data in the current cycle, send data to the other electronic device in the next cycle of the current cycle, requesting the other electronic device to return data for the current cycle and the next cycle, and reset the count for the preset number of cycle intervals. In some embodiments, the control device of the electronic device further includes: an automatic upload start module, configured to perform time synchronization and start automatic data upload when the other electronic device receives data sent by the electronic device. In some embodiments, the automatic upload start module is further configured to: start automatic data upload when the other electronic device does not receive data sent by the electronic device in the first third of each cycle. In some embodiments, the electronic device includes a head-mounted device, and the other electronic device includes a handle and / or a pose sensor. In some embodiments, the other electronic device includes multiple handles and / or pose sensors, and the head-mounted device and the multiple handles and / or pose sensors are all connected via 2.4G Bluetooth Wi-Fi.
[0037] Furthermore, this disclosure also provides a terminal, comprising: at least one memory and at least one processor; wherein the memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the control method of the above-described electronic device.
[0038] In addition, this disclosure also provides a computer storage medium storing program code for executing the control method of the above-described electronic device.
[0039] The control method and apparatus for the electronic device of this disclosure have been described above based on embodiments and application examples. Furthermore, this disclosure also provides a terminal and a storage medium, which are described below.
[0040] The following is for reference. Figure 5 The diagram illustrates a structural schematic of an electronic device (e.g., a terminal device or a server) 500 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0041] like Figure 5 As shown, the electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0042] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0043] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, it performs the functions defined in the methods of embodiments of this disclosure.
[0044] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0045] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0046] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0047] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure.
[0048] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0049] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0050] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0051] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0052] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0053] According to one or more embodiments of this disclosure, a control method for an electronic device is provided. The control method includes: sending data to another electronic device at preset number of cycles, wherein the electronic device and the other electronic device are wirelessly connected, the preset number is an integer greater than or equal to 3, and the cycle is the cycle in which the other electronic device sends data once; and receiving data transmitted back from the other electronic device in each cycle.
[0054] According to one or more embodiments of this disclosure, the preset quantity is a prime number greater than 5.
[0055] According to one or more embodiments of this disclosure, the control method for an electronic device further includes: when the electronic device needs to synchronize data with the other electronic device in the current period, sending data to the other electronic device in the current period, and recounting at a preset number of period intervals.
[0056] According to one or more embodiments of this disclosure, the control method of the electronic device further includes: when the electronic device determines that the other electronic device fails to transmit data in the current cycle, sending data to the other electronic device in the next cycle of the current cycle, requesting the other electronic device to transmit data of the current cycle and the next cycle, and recounting at a preset number of cycle intervals.
[0057] According to one or more embodiments of this disclosure, the control method for an electronic device further includes: when the other electronic device receives data sent by the electronic device, performing time synchronization and initiating automatic data upload.
[0058] According to one or more embodiments of this disclosure, the control method for the electronic device further includes: initiating automatic data upload when the other electronic device does not receive data sent by the electronic device during the first third of each cycle.
[0059] According to one or more embodiments of this disclosure, the electronic device includes a head-mounted device, and the additional electronic device includes a handle and / or a pose sensor.
[0060] According to one or more embodiments of this disclosure, the additional electronic device includes a plurality of handles and / or pose sensors, and the head-mounted device is connected to the plurality of handles and / or pose sensors via 2.4G Bluetooth Wi-Fi.
[0061] According to one or more embodiments of this disclosure, a control device for an electronic device is provided. The control device includes: a data transmission module configured to transmit data to another electronic device at preset number of cycles, wherein the electronic device and the other electronic device are wirelessly connected, the preset number is an integer greater than or equal to 3, and the cycle is the cycle in which the other electronic device transmits data once; and a data receiving module configured to receive data transmitted back from the other electronic device at each cycle.
[0062] According to one or more embodiments of the present disclosure, a terminal is provided, comprising: at least one memory and at least one processor; wherein the at least one memory is used to store program code, and the at least one processor is used to invoke the program code stored in the at least one memory to execute the method described in any one of the above descriptions.
[0063] According to one or more embodiments of the present disclosure, a storage medium is provided for storing program code for performing the methods described above.
[0064] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0065] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0066] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A control method of an electronic device, characterized by, The control method of the electronic device comprises: sending data to another electronic device every preset number of periods, wherein the electronic device is wirelessly connected in communication with the another electronic device, the preset number is an integer greater than or equal to 3, and the period is a period in which the another electronic device sends data once; receiving returned data from the another electronic device every period. 2.The control method of an electronic device according to claim 1, wherein, The preset number is a prime number greater than 5. 3.The control method of an electronic device according to claim 1, wherein, Further comprising: when the electronic device has a demand for data synchronization with the another electronic device in a current period, sending data to the another electronic device in the current period, and resetting the interval of the preset number of periods. 4.The control method of an electronic device according to claim 1, characterized in that, Further comprising: when the electronic device determines that the another electronic device fails to return data in a current period, sending data to the another electronic device in a next period of the current period, requesting the another electronic device to return data of the current period and the next period, and resetting the interval of the preset number of periods. 5.The control method of an electronic device according to claim 1, wherein, Further comprising: when the another electronic device receives the data sent by the electronic device, performing time synchronization and starting automatic uploading of data. 6.The control method of an electronic device according to claim 1, wherein, Further comprising: when the another electronic device does not receive the data sent by the electronic device in the first third of each period, starting automatic uploading of data. 7.The control method of an electronic device according to claim 1, wherein, The electronic device comprises a head-mounted device, and the another electronic device comprises a handle and / or a pose sensor. 8.The control method of an electronic device according to claim 7, characterized in that, The another electronic device comprises a plurality of handles and / or pose sensors, and the head-mounted device is connected to each of the plurality of handles and / or pose sensors through 2.4G Bluetooth Wi-Fi.
9. A control device of an electronic device, characterized by comprising: The control device of the electronic device comprises: a data sending module configured to send data to another electronic device every preset number of periods, wherein the electronic device is wirelessly connected in communication with the another electronic device, the preset number is an integer greater than or equal to 3, and the period is a period in which the another electronic device sends data once; a data receiving module configured to receive returned data from the another electronic device every period.
10. A terminal comprising: at least one memory and at least one processor; wherein the at least one memory is configured to store program code, and the at least one processor is configured to invoke the program code stored in the at least one memory to execute the control method of the electronic device according to any one of claims 1 to 8.
11. A storage medium for storing program code, wherein the program code is configured to execute the control method of the electronic device according to any one of claims 1 to 8.