Delay setting method, device, storage medium and wireless device

By setting personalized delay parameters according to the device type after the wireless device is paired with the electronic device, the lag caused by incompatibility of delay parameters between the wireless device and the electronic device is solved, and the user experience is improved.

CN114390587BActive Publication Date: 2025-08-19GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111573843.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2025-08-19
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

The delay parameter settings between wireless devices and electronic devices are incompatible, resulting in lag problems, which are particularly obvious when used between different types of electronic devices.

Method used

After the wireless device is paired with the electronic device, the device type of the electronic device is obtained and the corresponding delay parameters are set according to the device type to achieve personalized delay control.

Benefits of technology

It effectively avoids lag problems caused by incompatibility in delay parameter settings, and improves user experience, especially between different types of electronic devices and wireless devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114390587B_ABST
    Figure CN114390587B_ABST
Patent Text Reader

Abstract

The present application discloses a delay setting method, apparatus, storage medium, and wireless device, relating to the field of wireless devices. The method includes: after pairing the wireless device with an electronic device, obtaining the device type of the electronic device; setting a first delay parameter of the wireless device based on the device type of the electronic device; and controlling the operation of the wireless device based on the first delay parameter. By using the present application, delay strategies between different types of electronic devices and wireless devices can be taken into account, avoiding the problem of lag caused by incompatibility of the delay parameter setting of the wireless device with the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless devices, and in particular to a delay setting method, apparatus, storage medium and wireless device. Background Art

[0002] Because wireless devices use wireless transmission to communicate with electronic devices, they experience greater latency than traditional wired devices. For example, Bluetooth headsets experience connection delays with mobile devices, which can cause audio and video synchronization issues when watching videos or playing games, resulting in a poor user experience. This latency effect is due to the fact that data exchange between wireless devices and electronic devices requires a series of steps, including data encoding by the electronic device, wireless transmission, wireless device buffering, data decoding, and digital-to-analog conversion. Summary of the Invention

[0003] The present invention provides a method, apparatus, storage medium, and wireless device for setting a delay, which can take into account the delay strategies between different types of electronic devices and wireless devices, and avoid the problem of lag caused by the delay parameter setting of the wireless device being incompatible with the electronic device. The technical solution is as follows:

[0004] In a first aspect, an embodiment of the present application provides a delay setting method, the method comprising:

[0005] After the wireless device is paired with the electronic device, obtaining a device type of the electronic device;

[0006] A first delay parameter of the wireless device is set according to the device type of the electronic device, and the operation of the wireless device is controlled according to the first delay parameter.

[0007] In a second aspect, an embodiment of the present application provides a delay setting device, the device comprising:

[0008] an acquisition type module, configured to acquire a device type of the electronic device after the wireless device is paired with the electronic device;

[0009] The delay setting module is used to set a first delay parameter of the wireless device according to the device type of the electronic device, and control the operation of the wireless device according to the first delay parameter.

[0010] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.

[0011] In a fourth aspect, an embodiment of the present application provides a wireless device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.

[0012] The beneficial effects of the technical solutions provided by some embodiments of the present application include at least:

[0013] This application obtains device parameters of electronic devices, thereby setting delay parameters corresponding to the device parameters on the wireless device, and further controls the delay strategy of the wireless device based on the delay parameters. For example, for the same wireless device, the delay parameters set after pairing with an Android-type electronic device are different from the delay parameters set after pairing with an iOS-type electronic device. That is, this application can take into account the delay strategies between different types of electronic devices and wireless devices, avoiding the problem of lag caused by the delay parameter setting of the wireless device being incompatible with the electronic device, and effectively improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0015] Figure 1 This is a schematic diagram of the architecture of an electronic device and a wireless device provided in an embodiment of the present application;

[0016] Figure 2 This is a flow chart of a delay setting method provided in an embodiment of the present application;

[0017] Figure 3 This is a structural diagram of another delay setting method provided in an embodiment of the present application;

[0018] Figure 4A This is a schematic diagram of setting a delay mode of a wireless device provided in an embodiment of the present application;

[0019] Figure 4B This is a schematic diagram of another setting of a wireless device delay mode provided in an embodiment of the present application;

[0020] Figure 5 This is a flow chart of a delay setting method provided in an embodiment of the present application;

[0021] Figure 6 This is a schematic diagram of a comparison table of electronic device types and delay parameters provided in an embodiment of the present application;

[0022] Figure 7 Schematic diagram of a delay setting device provided in an embodiment of the present application;

[0023] Figure 8 This is a structural diagram of a wireless device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0025] In the description of this application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood to indicate or imply relative importance. In the description of this application, it should be noted that, unless otherwise expressly specified and limited, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances. In addition, in the description of this application, unless otherwise specified, "multiple" refers to two or more. "and / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0026] The present application is described in detail below with reference to specific embodiments.

[0027] In one embodiment, Figure 1 As shown in FIG, an architecture diagram of a wireless device and an electronic device provided in an embodiment of the present application includes a wireless device 101 and an electronic device 102. It can be understood that, Figure 1 The number and types of wireless devices 101 and electronic devices 102 shown in the figure are for illustration only, and the present application also includes any other type of wireless device and electronic device.

[0028] The wireless device 101 can be understood as an electronic device having one or more wireless data transmission functions among NFC function, WiFi function and Bluetooth function, for example, Figure 1A Bluetooth headset 1011 and a mobile phone 1012 are shown.

[0029] The electronic device 102 (terminal device) includes but is not limited to a mobile station (MS), a mobile terminal, a mobile phone, a handset, and portable equipment. The terminal device can communicate with one or more core networks via a radio access network (RAN). For example, the terminal device can be a mobile phone (or "cellular" phone), a computer with wireless communication capabilities, etc. The terminal device can also be a portable, pocket-sized, handheld, computer-built-in, or vehicle-mounted mobile device or equipment. Figure 1 As shown, the electronic device 102 includes a mobile phone 1021 , a tablet 1022 and a computer 1023 .

[0030] Because wireless devices use wireless transmission, they need to go through a series of links such as data encoding, wireless transmission, receiving buffer, data decoding, digital-to-analog conversion DAC, etc. in the electronic device when transmitting data. Therefore, there will be a longer delay than traditional wired devices. The reason for the production line delay is that the delay of Bluetooth headsets will cause the audio and video to be out of sync, which will bring a bad experience to users. For example, when users watch videos through Bluetooth headsets, severe delays will lead to a poor user experience. In order to solve this problem, many manufacturers have added low-latency modes to their wireless device products. There are three main ways to implement the low-latency mode of wireless devices on the market:

[0031] The first is full-network low-latency mode: This approach doesn't distinguish between connected devices or usage scenarios, but simply sets the wireless device's latency to below a threshold. This approach has the advantage of being simple to implement, but has the disadvantage that if a wireless device's anti-interference capability is positively correlated with its latency, even if the latency is low, the anti-interference capability will be weaker.

[0032] The second type is a low-latency mode that can be manually switched on and off by the user. This method is implemented by preparing two or more delay schemes for wireless devices. For example, one high-latency mode is suitable for listening to music and books on wireless devices, where the wireless devices have strong anti-interference capabilities. The other low-latency mode is suitable for gaming, watching videos, and making video calls, where the wireless devices have weaker anti-interference capabilities.

[0033] The third method is proprietary low-latency: This method requires cooperation between wireless devices and electronic devices. The wireless devices and electronic devices simultaneously enter the proprietary low-latency mode through a protocol. The advantage of this method is that the latency can be extremely low, but the disadvantage is that it is only supported by specific electronic devices.

[0034] However, none of the above three methods can perfectly take into account a variety of electronic devices, which may cause the wireless device to freeze at certain times. Specifically, the delay of the wireless device can be set to a lower level by reducing the data cache time of the wireless device, speeding up the data parsing speed, and other technical means. However, no matter which of the above three implementation methods is used, due to the different types of electronic devices, the parameters such as the data transmission frequency and the single data transmission amount of the electronic devices will be different. If the delay of the wireless device is reduced without considering the situation of the electronic device, the wireless device will freeze when used. For example, the data transmission frequency of some brands of mobile phones is 100ms, while the data transmission frequency of another mobile phone is 200ms. The delay parameters of the Bluetooth headset in low-latency mode are adapted to the data transmission frequency of 100ms, but not to the data transmission frequency of 200ms, so the problem of freezing will occur.

[0035] Therefore, if Figure 2 As shown, a delay setting method specifically provided by an embodiment of the present application is used to solve the above-mentioned problem. This method can be implemented by relying on a computer program and can be run on a delay setting device based on the von Neumann architecture. The computer program can be integrated into an application or run as a standalone tool application.

[0036] Specifically, the delay setting method includes:

[0037] S101: After a wireless device is paired with an electronic device, obtain the device type of the electronic device.

[0038] The device type of the electronic device includes the manufacturer of the electronic device, the system configured by the electronic device, the model of the electronic device, etc. For example, the device type of the electronic device is a type that is set with a Windos system or a type that is set with an Android system.

[0039] Pairing a wireless device with an electronic device can be understood as establishing a data transmission and reception channel between the wireless device and the electronic device based on a wireless protocol. For example, an electronic device can pair with a Bluetooth headset based on the Bluetooth protocol.

[0040] In one embodiment, a method for obtaining a device type of an electronic device includes obtaining a vendor identifier and / or a device identifier of the electronic device in a wireless protocol, and determining the device type of the electronic device based on the vendor identifier and / or the device identifier. For example, the wireless device queries the PNP manager PnPInfo of the electronic device through the Session Description Protocol (SDP) to obtain the device identifier vendor ID and / or the manufacturer identifier product ID of the electronic device; or, when the electronic device connects back to the wireless device and the electronic device supports a codec function, the wireless device obtains the device identifier vendor ID and / or the manufacturer identifier product ID based on the codec returned by the electronic device, and further determines the device type of the electronic device based on the device identifier vendor ID and / or the manufacturer identifier product ID.

[0041] S102: Setting a first delay parameter of the wireless device according to the device type of the electronic device, and controlling the operation of the wireless device according to the first delay parameter.

[0042] Delay parameters can be understood as including one or more parameters such as the data buffering duration on the wireless device, data decoding speed, and digital-to-analog conversion speed, which are used to control the delay duration of the wireless device. For example, according to the first delay parameter, the delay duration of the wireless device after pairing with the electronic device is indicated to be 1ms.

[0043] This application obtains device parameters of electronic devices, thereby setting delay parameters corresponding to the device parameters on the wireless device, and further controls the delay strategy of the wireless device based on the delay parameters. For example, for the same wireless device, the delay parameters set after pairing with an Android-type electronic device are different from the delay parameters set after pairing with an iOS-type electronic device. That is, this application can take into account the delay strategies between different types of electronic devices and wireless devices, avoiding the problem of lag caused by the delay parameter setting of the wireless device being incompatible with the electronic device, and effectively improving the user experience.

[0044] like Figure 3 As shown, a delay setting method specifically provided by an embodiment of the present application is used to solve the above-mentioned problem. This method can be implemented by relying on a computer program and can be run on a delay setting device based on the von Neumann architecture. The computer program can be integrated into an application or run as a standalone tool application.

[0045] Specifically, the delay setting method includes:

[0046] S201: Determine the delay mode of the wireless device.

[0047] Latency modes include at least high-latency mode and low-latency mode. High-latency mode is a mode in which the wireless device's latency exceeds a preset threshold, while low-latency mode is a mode in which the wireless device's latency falls below a preset threshold. For example, in high-latency mode, the latency of a wireless device is 10ms, while in low-latency mode, the latency is 1ms. High-latency mode is suitable for scenarios such as listening to music and reading on a wireless device, as the wireless device has strong anti-interference capabilities. Another solution uses low-latency mode, suitable for scenarios such as playing games, watching videos, and making video calls, as the wireless device has weaker anti-interference capabilities.

[0048] Determining the delay mode of the wireless device includes setting the delay mode of the wireless device. Specifically, the delay mode of the wireless device is set by the electronic device and / or by the wireless device.

[0049] like Figure 4A As shown, it is a setting diagram of the delay mode of a wireless device provided by an embodiment of the present application, and the figure shows an electronic device after being paired with a wireless device through the Bluetooth protocol. The electronic device displays the setting interface of "Bluetooth Settings", and the setting interface is provided with a "Low Latency Mode" control and a "High Latency Mode" control; through the user's trigger instruction on the target control on the setting interface, for example, the user selects "Low Latency Mode", that is, the target control is the "Low Latency Mode" control; based on the trigger instruction on the target control, a low latency mode selection instruction is sent to the wireless device through the Bluetooth protocol, and the wireless device switches to low latency mode based on the low latency mode selection instruction, or maintains low latency mode. It can be understood that, Figure 4A The setting interface shown is only an example, and this application also includes other delay modes.

[0050] Figure 4B As shown, it is a schematic diagram of another setting of the delay mode of a wireless device provided in an embodiment of the present application, which includes a VR device 1013 and a matching controller 1013A and a controller 1013B, the VR device 1013 belongs to the wireless device 101, and the computer 1024 belongs to the electronic device 102, wherein the computer 1024 and the VR device 1013 are paired based on the WiFi protocol.

[0051] exist Figure 4B In the illustrated embodiment, a user can use controllers 1013A and / or 1013B to indicate the latency mode of the VR device 1013. For example, the user can use a button on controller 1013A to send a low-latency mode instruction to the VR device 1013, thereby placing the VR device 1013 in low-latency mode.

[0052] S202A: If the wireless device is in low-latency mode, obtain the device type of the electronic device.

[0053] When the wireless device is in the low-latency mode, the device type of the electronic device is obtained through the wireless protocol. The method for obtaining the device type of the electronic device is as described in S101 above and will not be repeated here.

[0054] S203A: Set a first delay parameter of the wireless device according to the device type of the electronic device, and control the operation of the wireless device according to the first delay parameter.

[0055] See above S102, which will not be described again here.

[0056] S202B: If the wireless device is in the high-delay mode, set the preset delay parameter as a second delay parameter of the wireless device, and control the operation of the wireless device according to the second delay parameter.

[0057] The preset delay parameters can be understood as delay parameters that are compatible with most types of electronic devices, with the advantages of high anti-interference and high stability. For example, some brands of mobile phones have a data transmission frequency of 100ms, while other brands have a data transmission frequency of 200ms. The second delay parameter of the Bluetooth headset is adapted to the data transmission frequency of 100ms and the data transmission frequency of 200ms.

[0058] When the wireless device is in high-latency mode, a stored preset delay parameter is obtained, the preset delay parameter is used as a second delay parameter, and the operation of the wireless device is controlled according to the second delay parameter. Furthermore, the delay duration when the wireless device is controlled by the second delay parameter is greater than the delay duration when the wireless device is controlled by the first delay parameter. For example, according to the second delay parameter, the delay duration of the wireless device corresponding to an electronic device with a data transmission frequency of 100ms is 10ms, and the delay duration of the wireless device corresponding to an electronic device with a data transmission frequency of 200ms is 5ms; according to the first delay parameter, the delay duration of the wireless device corresponding to an electronic device with a data transmission frequency of 100ms is 5ms, and the delay duration of the wireless device corresponding to an electronic device with a data transmission frequency of 200ms is 2ms, and no lag occurs.

[0059] This application determines whether it is necessary to obtain the device type of the electronic device by obtaining the delay mode of the wireless device. This can reduce the logical resource occupation and communication instability problems caused by frequent data exchanges between wireless devices and electronic devices, and reduce the parameter setting time of the wireless device, allowing users to enjoy the set wireless device more quickly.

[0060] In another embodiment, the wireless device in the high-latency mode or low-latency mode of the present application will obtain the device type of the electronic device, and thus obtain the corresponding delay parameter according to the device type of the electronic device, that is, Figure 2 The embodiment shown.

[0061] This application obtains device parameters of electronic devices, thereby setting delay parameters corresponding to the device parameters on the wireless device, and further controls the delay strategy of the wireless device based on the delay parameters. For example, for the same wireless device, the delay parameters set after pairing with an Android-type electronic device are different from the delay parameters set after pairing with an iOS-type electronic device. That is, this application can take into account the delay strategies between different types of electronic devices and wireless devices, avoiding the problem of lag caused by the delay parameter setting of the wireless device being incompatible with the electronic device, and effectively improving the user experience.

[0062] like Figure 5 As shown, a delay setting method specifically provided by an embodiment of the present application is used to solve the above-mentioned problem. This method can be implemented by relying on a computer program and can be run on a delay setting device based on the von Neumann architecture. The computer program can be integrated into an application or run as a standalone tool application.

[0063] Specifically, the delay setting method includes:

[0064] S301: After the wireless device is paired with the electronic device, obtain the device type of the electronic device.

[0065] See S101, which will not be repeated here.

[0066] S302: According to the device type of the electronic device, obtain a preset data sending frequency corresponding to the device type.

[0067] Manufacturers of electronic devices often set a preset data transmission frequency. Therefore, a comparison table can be used to determine the preset data transmission frequency for each device type. For example, a phone with one operating system may have a preset data transmission frequency of 100ms, while a phone with another operating system may have a preset data transmission frequency of 200ms.

[0068] S303: Set a first delay parameter of the wireless device according to a preset data sending frequency.

[0069] The preset data transmission frequency is negatively correlated with the delay duration when controlling the operation of the wireless device according to the first delay parameter. For example, if the delay parameter includes the data buffering duration of the wireless device, then a higher data transmission frequency of the electronic device will result in a shorter data buffering duration of the wireless device, and a shorter data buffering duration will correspond to a shorter delay duration of the wireless device. For another example, if the delay parameter includes a speed value of the data decoding speed of the wireless device, then a higher data transmission frequency of the electronic device will result in a higher speed value of the data decoding speed of the wireless device, and a higher speed value will correspond to a shorter delay duration of the wireless device.

[0070] like Figure 6 As shown in FIG, a schematic diagram of a comparison table of electronic device types and delay parameters provided in an embodiment of the present application is provided. In the figure, the data cache duration is used as one of the parameters mainly included in the delay parameter, and the present application also includes the case where the delay parameter is other parameters, and the present application also includes the case of other device types. Figure 6 According to the comparison table shown, the wireless device determines the data transmission frequency of the electronic device according to the device type of the electronic device, thereby setting the first delay parameter of the wireless device.

[0071] S304: Control the operation of the wireless device according to the first delay parameter.

[0072] See S102, which will not be repeated here.

[0073] S305: Monitor the real-time data transmission frequency of the electronic device.

[0074] Due to issues such as the working environment, aging or damage of parts, etc., there may be deviations between the real-time data transmission frequency of an electronic device and the preset data transmission frequency. For example, the rated data transmission frequency of an electronic device is 100ms, and the actual data transmission frequency is 120ms. In this application, the real-time data transmission frequency of an electronic device can also be understood as the data receiving frequency of a wireless device due to signal transmission problems. For example, the data transmission frequency of an electronic device detected by the electronic device end is 120ms. Due to issues such as poor signal or long transmission distance, the data receiving frequency of the wireless device end is 150ms. 150ms is used as the actual data transmission frequency of the electronic device.

[0075] The wireless device monitors the real-time data transmission frequency of the electronic device, for example, by recording the frequency of received data through a clock unit within a preset period, thereby obtaining the real-time data transmission frequency of the electronic device.

[0076] S306: Compensate the first delay parameter according to the real-time data transmission frequency to obtain a third delay parameter, and control the operation of the wireless device according to the third delay parameter.

[0077] A compensation value for the first delay parameter is obtained based on the deviation between the actual data transmission frequency and the preset data transmission frequency, thereby compensating the first delay parameter to obtain a third delay parameter, and the operation of the wireless device is controlled based on the third delay parameter. For example, based on the preset data transmission frequency of the electronic device of 100 ms, the data buffering duration included in the first delay parameter is 50 ms. If the real-time data transmission frequency of the electronic device is detected to be 150 ms, the data buffering duration is compensated to obtain a data buffering duration of 55 ms included in the third delay parameter, and the operation of the wireless device is further controlled based on the third delay parameter.

[0078] In this application, by detecting the real-time data transmission frequency of the electronic device in real time, the delay parameters of the wireless device can be compensated, thereby improving the delay reliability of the wireless device and avoiding freezes and the like.

[0079] This application obtains device parameters of electronic devices, thereby setting delay parameters corresponding to the device parameters on the wireless device, and further controls the delay strategy of the wireless device based on the delay parameters. For example, for the same wireless device, the delay parameters set after pairing with an Android-type electronic device are different from the delay parameters set after pairing with an iOS-type electronic device. That is, this application can take into account the delay strategies between different types of electronic devices and wireless devices, avoiding the problem of lag caused by the delay parameter setting of the wireless device being incompatible with the electronic device, and effectively improving the user experience.

[0080] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0081] See Figure 7 , which shows a schematic diagram of the structure of a delay setting device provided by an exemplary embodiment of the present application. The delay setting device can be implemented as all or part of the device through software, hardware, or a combination of both. The delay setting device includes a type acquisition module 701 and a delay setting module 702.

[0082] The acquisition type module 701 is configured to acquire the device type of the electronic device after the wireless device is paired with the electronic device;

[0083] The delay setting module 702 is configured to set a first delay parameter of the wireless device according to the device type of the electronic device, and control the operation of the wireless device according to the first delay parameter.

[0084] In one embodiment, the acquisition type module 701 includes:

[0085] The type acquisition unit is used to acquire the device type of the electronic device if the wireless device is in the low latency mode.

[0086] In one embodiment, the delay setting device further includes:

[0087] a preset delay module, configured to set a preset delay parameter as a second delay parameter of the wireless device if the wireless device is in a high delay mode, and control the operation of the wireless device according to the second delay parameter;

[0088] The delay duration when the wireless device is controlled to operate according to the second delay parameter is greater than the delay duration when the wireless device is controlled to operate according to the first delay parameter.

[0089] In one embodiment, the delay setting module 701 includes:

[0090] A frequency acquisition unit, configured to acquire, according to the device type of the electronic device, a preset data transmission frequency corresponding to the device type;

[0091] A parameter setting unit is used to set a first delay parameter of the wireless device according to the preset data sending frequency.

[0092] In one embodiment, the preset data sending frequency is negatively correlated with the delay duration when controlling the operation of the wireless device according to the first delay parameter.

[0093] In one embodiment, the delay setting device further includes:

[0094] A monitoring frequency module, used to monitor the real-time data transmission frequency of the electronic device;

[0095] A compensation setting module is used to compensate the first delay parameter according to the real-time data sending frequency to obtain a third delay parameter, and control the operation of the wireless device according to the third delay parameter.

[0096] In one embodiment, the acquisition type module 701 includes:

[0097] The identification acquisition unit is configured to acquire the manufacturer identification and / or device identification of the electronic device in the wireless protocol, and determine the device type of the electronic device according to the manufacturer identification and / or device identification.

[0098] This application obtains device parameters of electronic devices, thereby setting delay parameters corresponding to the device parameters on the wireless device, and further controls the delay strategy of the wireless device based on the delay parameters. For example, for the same wireless device, the delay parameters set after pairing with an Android-type electronic device are different from the delay parameters set after pairing with an iOS-type electronic device. That is, this application can take into account the delay strategies between different types of electronic devices and wireless devices, avoiding the problem of lag caused by the delay parameter setting of the wireless device being incompatible with the electronic device, and effectively improving the user experience.

[0099] It should be noted that the delay setting device provided in the above embodiment, when executing the delay setting method, is merely illustrated by the division of the above-mentioned functional modules. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the delay setting device provided in the above embodiment and the delay setting method embodiment are based on the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.

[0100] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0101] The present application also provides a computer storage medium that can store multiple instructions, which are suitable for being loaded and executed by a processor as described above. Figures 1-6 The specific implementation process of the delay setting method in the embodiment shown can be found in Figures 1-6 The detailed description of the illustrated embodiment will not be repeated here.

[0102] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figures 1-6 The specific implementation process of the delay setting method in the embodiment shown can be found in Figures 1-6 The detailed description of the illustrated embodiment will not be repeated here.

[0103] See Figure 8 , provides a schematic diagram of the structure of a wireless device according to an embodiment of the present application. Figure 8 As shown, the wireless device 800 may include: at least one processor 801 , at least one network interface 804 , a user interface 803 , a memory 805 , and at least one communication bus 802 .

[0104] The communication bus 802 is used to implement the connection and communication between these components.

[0105] The user interface 803 may include a touch screen, and the optional user interface 803 may also include a standard wired interface or a wireless interface.

[0106] The network interface 804 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0107] The processor 801 may include one or more processing cores. The processor 801 utilizes various interfaces and circuits to connect various components within the server 800. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 805, and calling data stored in the memory 805, the processor 801 executes various functions of the server 800 and processes data. Optionally, the processor 801 may be implemented using at least one hardware form selected from the group consisting of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 801 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is responsible for handling wireless communications. It is understood that the modem may not be integrated into the processor 801 and may be implemented separately on a single chip.

[0108] Among them, the memory 805 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 805 includes a non-transitory computer-readable storage medium. The memory 805 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 805 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 805 may also be optionally at least one storage device located away from the aforementioned processor 801. As Figure 8 As shown, the memory 805 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a delay setting application.

[0109] exist Figure 8In the wireless device 800 shown, the user interface 803 is mainly used to provide an input interface for the user and obtain user input data; and the processor 801 can be used to call the delay setting application stored in the memory 805 and specifically perform the following operations:

[0110] After the wireless device is paired with a wireless device, obtaining a device type of the wireless device;

[0111] A first delay parameter of the wireless device is set according to a device type of the wireless device, and the operation of the wireless device is controlled according to the first delay parameter.

[0112] In one embodiment, the processor 801 executes the acquiring of the device type of the wireless device by specifically performing:

[0113] If the wireless device is in low latency mode, obtain the device type of the wireless device.

[0114] In one embodiment, the processor 801 further executes:

[0115] If the wireless device is in a high-latency mode, setting the preset delay parameter as a second delay parameter of the wireless device, and controlling the operation of the wireless device according to the second delay parameter;

[0116] The delay duration when the wireless device is controlled to operate according to the second delay parameter is greater than the delay duration when the wireless device is controlled to operate according to the first delay parameter.

[0117] In one embodiment, the processor 801 executes the step of setting the first delay parameter of the wireless device according to the device type of the wireless device, specifically performing:

[0118] According to the device type of the wireless device, obtaining a preset data sending frequency corresponding to the device type;

[0119] A first delay parameter of the wireless device is set according to the preset data sending frequency.

[0120] In one embodiment, the preset data sending frequency is negatively correlated with the delay duration when controlling the operation of the wireless device according to the first delay parameter.

[0121] In one embodiment, after executing the step of controlling the operation of the wireless device according to the first delay parameter, the processor 801 further executes:

[0122] monitoring the real-time data transmission frequency of the wireless device;

[0123] The first delay parameter is compensated according to the real-time data transmission frequency to obtain a third delay parameter, and the operation of the wireless device is controlled according to the third delay parameter.

[0124] In one embodiment, the processor 801 executes the acquiring of the device type of the wireless device by specifically performing:

[0125] Obtain a manufacturer identifier and / or a device identifier of the wireless device in a wireless protocol, and determine a device type of the wireless device according to the manufacturer identifier and / or the device identifier.

[0126] This application obtains device parameters of electronic devices, thereby setting delay parameters corresponding to the device parameters on the wireless device, and further controls the delay strategy of the wireless device based on the delay parameters. For example, for the same wireless device, the delay parameters set after pairing with an Android-type electronic device are different from the delay parameters set after pairing with an iOS-type electronic device. That is, this application can take into account the delay strategies between different types of electronic devices and wireless devices, avoiding the problem of lag caused by the delay parameter setting of the wireless device being incompatible with the electronic device, and effectively improving the user experience.

[0127] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory, or a random access memory.

[0128] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A delay setting method, characterized in that: For wireless devices, The method comprises: After the wireless device is paired with the electronic device, If the wireless device is in low-latency mode, obtaining a device type of the electronic device, setting a first delay parameter of the wireless device according to the device type of the electronic device, and controlling the operation of the wireless device according to the first delay parameter; the first delay parameter is used to control the delay duration of the wireless device; If the wireless device is in a high-latency mode, setting the preset delay parameter as a second delay parameter of the wireless device, and controlling the operation of the wireless device according to the second delay parameter; the preset delay parameter is compatible with multiple types of electronic devices; The delay duration when the wireless device is controlled to operate according to the second delay parameter is greater than the delay duration when the wireless device is controlled to operate according to the first delay parameter.

2. The method according to claim 1, characterized in that The step of setting a first delay parameter of the wireless device according to the device type of the electronic device includes: According to the device type of the electronic device, obtaining a preset data sending frequency corresponding to the device type; A first delay parameter of the wireless device is set according to the preset data sending frequency.

3. The method according to claim 2, characterized in that The preset data sending frequency is negatively correlated with the delay duration when controlling the operation of the wireless device according to the first delay parameter.

4. The method according to claim 1, wherein After controlling the operation of the wireless device according to the first delay parameter, the method further includes: monitoring the real-time data transmission frequency of the electronic device; The first delay parameter is compensated according to the real-time data transmission frequency to obtain a third delay parameter, and the operation of the wireless device is controlled according to the third delay parameter.

5. The method according to claim 1, wherein The obtaining the device type of the electronic device includes: Obtain a manufacturer identifier and / or a device identifier of the electronic device in a wireless protocol, and determine a device type of the electronic device according to the manufacturer identifier and / or the device identifier.

6. A delay setting device, characterized in that: For wireless devices, The device comprises: an acquisition type module, configured to acquire a device type of the electronic device after the wireless device is paired with the electronic device and if the wireless device is in a low latency mode; a delay setting module, configured to set a first delay parameter of the wireless device according to the device type of the electronic device, and control the operation of the wireless device according to the first delay parameter; the first delay parameter is used to control the delay duration of the wireless device; a preset delay module, configured to set a preset delay parameter as a second delay parameter of the wireless device if the wireless device is in a high delay mode, and control the operation of the wireless device according to the second delay parameter; the preset delay parameter is compatible with multiple types of electronic devices; The delay duration when the wireless device is controlled to operate according to the second delay parameter is greater than the delay duration when the wireless device is controlled to operate according to the first delay parameter.

7. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 6.

8. A wireless device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Synchronizing remote audio with fixed video

    CN101933333A

  • Bluetooth connection method and related device

    CN112822663A