Data transmission method and device, wearable equipment and storage medium

By dynamically adjusting the audio data reception parameters in the wearable device according to different application scenarios, the problem of difficult to meet the high requirements of audio playback real-time and sound quality in the prior art is solved, and a better audio playback experience is achieved.

CN119484493APending Publication Date: 2025-02-18BEIJING SUPERHEXA CENTURY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410830101.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Existing wearable devices are difficult to meet the high requirements of real-time and sound quality when playing audio, especially in different application scenarios, users' demand for audio playback varies greatly.

Method used

By introducing different reception parameters into the wearable device, the user's needs are determined according to different processes of the second device (such as online meeting app or online music app), and the corresponding reception parameters are set to optimize the reception and processing of audio data. Specifically, for processes with high real-time requirements (such as online meetings), the reception delay and buffer size are reduced to improve the real-time performance of audio playback; for processes with high sound quality requirements (such as online music), the delay is appropriately increased and buffer size to improve the sound quality of audio playback.

Benefits of technology

It realizes dynamic adjustment of audio data reception parameters according to different application scenarios and user needs, thereby meeting users' diverse needs for real-time audio playback and sound quality, and improving the overall performance of wearable devices in audio playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484493A_ABST
    Figure CN119484493A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method and device, wearable equipment and a storage medium, and belongs to the technical field of electronic device.The method comprises the steps that in response to the fact that a first process of second equipment belongs to a first class of processes, data sent by the second equipment is received based on a first receiving parameter; the data sent by the second equipment is audio data corresponding to the first process; receiving data sent by the second equipment based on a second receiving parameter in response to the fact that the first process of the second equipment belongs to a second type of process; the real-time requirement of the first type of process is higher than that of the second type of process. According to the data transmission method and device, the wearable equipment and the storage medium provided by the invention, the requirements of people on audio playing instantaneity and playing sound quality can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the technical field of electronic equipment, and more specifically, to a data transmission method and apparatus, a wearable device, and a storage medium. Background Art

[0002] The development of wearable devices has evolved from simple pedometers in the early days to modern smart watches, health monitoring devices and other diversified products. Their emergence has greatly changed people's lifestyles and provided people with convenient health management, communication, entertainment and other functions. Taking smart audio glasses as an example, smart audio glasses not only provide the auditory experience of traditional headphones, but also combine the convenience and intelligent features of glasses, so that users can maintain awareness of the external environment while enjoying music, which is suitable for use in a variety of occasions.

[0003] With the rapid development of science and technology, people have higher expectations for the functions and performance of wearable devices. Taking audio playback as an example, people have increasingly higher requirements for the real-time performance and sound quality of audio playback, so wearable devices need to be further improved. Summary of the invention The purpose of the present disclosure is to provide a data transmission method and apparatus, a wearable device, and a storage medium to meet people's needs for real-time audio playback and playback sound quality.

[0004] According to a first aspect of the embodiments of the present disclosure, a data transmission method is provided, including: In response to the first process of the second device belonging to the first type of process, receiving the data sent by the second device based on the first receiving parameter; the data sent by the second device is the audio data corresponding to the first process; In response to the first process of the second device belonging to the second type of process, data sent by the second device is received based on a second receiving parameter; the real-time requirement of the first type of process is higher than the real-time requirement of the second type of process.

[0005] A second aspect of the embodiments of the present disclosure provides a data transmission device, including: A first receiving module, configured to receive data sent by the second device based on a first receiving parameter in response to the first process of the second device belonging to the first type of process; the data sent by the second device is audio data corresponding to the first process; The second receiving module is used to receive data sent by the second device based on a second receiving parameter in response to the first process of the second device belonging to the second type of process; the real-time requirement of the first type of process is higher than the real-time requirement of the second type of process.

[0006] According to a third aspect of an embodiment of the present disclosure, a wearable device is provided, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the above-mentioned data transmission method when executing the computer program.

[0007] According to a fourth aspect of the embodiments of the present disclosure, a computer storage medium is provided, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned data transmission method are implemented.

[0008] The data transmission method and apparatus, wearable device, and storage medium provided by the embodiments of the present disclosure have the following beneficial effects: In the disclosed embodiment, the first device is a wearable device with an audio playback function, and the second device may be a smart terminal such as a mobile phone or a tablet computer. By connecting the first device and the second device, audio playback and automatic call functions may be realized.

[0009] The first type of process may include processes such as online conference apps. When conducting online conferences, users hope to communicate smoothly, so they have high requirements for the real-time performance of audio playback. When the first device receives audio data corresponding to this type of process, it can set the receiving parameter to the first receiving parameter to reduce the receiving delay and improve the real-time performance of audio playback. The second type of process may include processes such as online music apps. When listening to music online, users hope to enjoy higher sound quality and have lower requirements for the real-time performance of music playback. When the first device receives audio data corresponding to this type of process, it can set the receiving parameter to the second receiving parameter, appropriately increase the delay, and use more time to process the received audio signal to improve the sound quality of audio playback.

[0010] The disclosed embodiment determines different needs of users according to different processes of the second device, and then sets corresponding receiving parameters according to the different needs of users, so as to meet the users' needs for real-time performance and playback quality of audio playback. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0011] Figure 1 A schematic diagram of an application scenario of a data transmission method provided by an embodiment of the present disclosure; Figure 2 A flowchart of a data transmission method provided by an embodiment of the present disclosure; Figure 3 A structural block diagram of a data transmission device provided in one embodiment of the present disclosure; Figure 4 A schematic block diagram of a wearable device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0012] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.

[0013] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0014] Please refer to Figure 1 , Figure 1 This is a schematic diagram of an application scenario of a data transmission method and apparatus, a wearable device, and a storage medium provided in an embodiment of the present disclosure. The method of this embodiment can be implemented by a wearable device 130, which can be a smart audio glasses or a smart bracelet, etc. When a user 110 plays audio through a smart terminal such as a mobile phone 120a or a tablet computer 120b, the smart terminal can send the audio data to the wearable device 130, and the wearable device 130 plays the audio data. The user 110 can operate the wearable device 130 through voice commands or touch control, without having to take out the mobile phone, which is more convenient to operate.

[0015] in, Figure 1 The wearable devices and smart terminals are only some of the devices cited as examples. In this disclosure, the terminals are not limited to these Figure 1 The equipment listed in .

[0016] Please refer to Figure 2 , Figure 2 A flowchart of a data transmission method provided by an embodiment of the present disclosure is provided, and the method includes: S201: In response to the first process of the second device belonging to the first type of process, receiving data sent by the second device based on a first receiving parameter; the data sent by the second device is audio data corresponding to the first process.

[0017] In this embodiment, the first device is a wearable device with an audio playback function, and the second device can be a smart terminal such as a mobile phone or a tablet computer. By connecting the first device and the second device, audio playback and automatic call functions can be realized.

[0018] The first receiving parameter may include receiving delay time, buffer size, etc. During the audio data transmission process, the first device may receive audio data irregularly due to communication network congestion, thereby generating audio data jitter. By increasing the receiving delay time, more time can be provided for the first device to smooth out such jitter, ensuring the stability and continuity of the audio data stream. However, at the same time, increasing the receiving delay time will affect the real-time performance of audio data playback. The buffer is used to temporarily store audio data received by the first device. Increasing the size of the buffer can allow more audio data to wait for processing in the memory, thereby providing a stable data stream when the arrival time of audio data is irregular. At the same time, increasing the size of the buffer will also affect the real-time performance of audio data playback.

[0019] The first type of process may include processes such as online conference apps. When conducting online conferences, users hope to communicate smoothly, so the real-time requirements for audio playback are relatively high. When the first device receives audio data corresponding to this type of process, it can set the receiving parameter to a smaller first receiving parameter, that is, set a smaller receiving delay time and a smaller buffer zone, so as to reduce the receiving delay and improve the real-time performance of audio playback.

[0020] S202: In response to the first process of the second device belonging to the second type of process, receiving data sent by the second device based on a second receiving parameter; the real-time requirement of the first type of process is higher than the real-time requirement of the second type of process.

[0021] In this embodiment, the second type of process may include processes such as online music apps. When listening to music online, users hope to enjoy higher quality music and have relatively low requirements for the real-time performance of music playback. When the first device receives audio data corresponding to this type of process, it can set the receiving parameter to a higher second receiving parameter, that is, set a higher receiving delay time and a larger buffer zone, and use more time to process the received audio signal, thereby improving the sound quality of audio playback.

[0022] It can be concluded from the above that the embodiment of the present disclosure determines different needs of users according to different processes of the second device, and then sets corresponding receiving parameters according to different needs of users to meet the user's needs for real-time audio playback and playback quality.

[0023] In one embodiment of the present disclosure, the data transmission method further includes: In response to the first process of the second device belonging to the third type of process and the traffic data corresponding to the first process being greater than the traffic threshold, receiving the data sent by the second device based on the first receiving parameter; In response to the first process of the second device belonging to the third type of process and the traffic data corresponding to the first process is less than or equal to the traffic threshold, the data sent by the second device is received based on the second receiving parameter.

[0024] In this embodiment, the third type of process may include chat software, which usually has functions such as voice chat, video chat, and voice messaging. Considering that functions such as voice chat and video chat have higher real-time requirements for audio playback than voice messaging, this embodiment first distinguishes between voice chat, video chat, and voice messaging functions based on the difference in traffic required for voice chat and video chat and traffic required for voice messaging. Then, based on the different real-time requirements for audio playback for different functions, when a user is performing voice chat or video chat, audio data is received with a lower first receiving parameter (i.e., a lower receiving delay time and a smaller buffer zone); when a user is viewing a voice message, audio data is received with a higher second receiving parameter (i.e., a higher receiving delay time and a larger buffer zone).

[0025] When receiving audio data with a lower first receiving parameter, the first device is required to operate at a higher operating frequency to minimize the receiving delay. A higher operating frequency will result in higher power consumption. Therefore, this embodiment distinguishes between voice chat, video chat and voice message functions, and receives audio data with a higher second receiving parameter when the user views the voice message. This is beneficial to reducing the power consumption of the first device and thereby increasing the standby time of the first device.

[0026] In one embodiment of the present disclosure, when the first process of the second device belongs to the first type of process, the data transmission method further includes: In response to the power information of the first device being less than the power threshold and the location information of the first device showing that the first device is located in the first area, data sent by the second device is received based on the second receiving parameter.

[0027] In this embodiment, when the first process of the second device belongs to the first type of process, the first device receives the audio data with a lower first receiving parameter. At this time, the first device operates at a higher operating frequency, which will result in higher power consumption. When the power of the first device is low (less than the power threshold), if it is judged based on the location information that the first device is located in an area where charging is inconvenient, such as outdoors or in a shopping mall (that is, the first area), the receiving parameter of the first device can be switched to the second receiving parameter to reduce the power consumption of the first device and increase the usage time of the first device. In an embodiment of the present disclosure, when the first process of the second device belongs to the first type of process and the data sent by the second device is received based on the second receiving parameter, the data transmission method further includes: In response to the location information of the first device showing that the first device is located in a designated area, data sent by the second device is received based on the first receiving parameter.

[0028] In this embodiment, after detecting that the battery level of the first device is low and switching the receiving parameter from the first receiving parameter to the second receiving parameter, if it is determined based on the location information that the first device has moved to an area (i.e., the second area) that is convenient for charging, such as the user's home or company, the receiving parameter can be switched from the second receiving parameter back to the first receiving parameter to ensure real-time reception of the audio signal.

[0029] In one embodiment of the present disclosure, the data transmission method further includes: In response to the strength of the first communication signal received by the first device being less than a strength threshold, adjusting the receiving parameter based on the strength of the first communication signal; the receiving parameter is the first receiving parameter or the second receiving parameter; the first communication signal is a communication signal between the first device and the second device.

[0030] In this embodiment, when the first communication signal between the first device and the second device is weak (less than the strength threshold), the transmission speed of the audio data will be reduced. At this time, in order to ensure the sound quality, it is necessary to increase the delay time and ensure the stability of the audio data stream, or increase the size of the buffer to reduce audio jitter and interruption and ensure the continuity and smoothness of the audio data.

[0031] Specifically, a positive correlation between the first communication signal strength difference and the delay time variation, and a positive correlation between the first communication signal strength difference and the buffer change can be pre-constructed, and the receiving delay time and the buffer size can be adjusted based on the above positive correlation, wherein the first communication signal strength difference is the difference between the strength of the first communication signal and the strength threshold. The following calculation formula can be used as a reference:

[0032] in, Indicates the adjusted receiving delay time. Indicates the receiving delay time before adjustment. Indicates the change in receiving delay time. Represents the preset first proportionality coefficient, Indicates the signal strength threshold, Indicates the strength of the first communication signal; Indicates the buffer size after adjustment. Indicates the buffer size before adjustment. Indicates the amount of change in the buffer. Indicates the preset second scaling factor.

[0033] It should be noted that if the receiving delay time or the buffer is too large, the user will feel a significant delay, thereby reducing the user experience. and Each of them has a corresponding upper limit value. After reaching the corresponding upper limit value, and No longer increasing.

[0034] In one embodiment of the present disclosure, the data transmission method further includes: Determining the intensity level of the second communication signal based on the relative size of the intensity of the second communication signal and the first reference value; the second communication signal is a communication signal generated when the first device and the second device communicate using the first communication mode, and the first reference value is a reference value of the second communication signal; Determine the strength level of the third communication signal based on the relative size of the strength of the third communication signal and the second reference value; the third communication signal is a communication signal generated when the first device and the second device communicate using the second communication mode, and the second reference value is a reference value of the third communication signal; The communication signal with a higher strength level between the second communication signal and the third communication signal is determined as the first communication signal.

[0035] In this embodiment, the first device and the second device can communicate with each other through multiple communication modes, and the multiple communication modes are redundantly set to ensure reliable communication between the first device and the second device. Among them, the first communication mode can be a Bluetooth communication mode, and the second communication mode can be a WiFi communication mode. When the signal strength of the Bluetooth signal (that is, the second communication signal) is strong, the Bluetooth communication mode can be used to achieve communication between the first device and the second device, and when the signal strength of the WiFi signal (that is, the third communication signal) is strong, the WiFi communication can be used to achieve communication between the first device and the second device.

[0036] Specifically, we can use the formula Calculate the strength level of the second communication signal, where represents the first reference value, represents the strength of the second communication signal, Indicates the minimum value of the second communication signal strength.

[0037] Similarly, we can use the formula Calculate the strength level of the third communication signal, where: represents the second reference value, represents the strength of the third communication signal, Indicates the minimum value of the third communication signal strength.

[0038] On the basis of obtaining the strength level of the second communication signal and the strength level of the third communication signal, the communication signal with a higher strength level may be selected for communication between the first device and the second device, and the corresponding communication strength is determined as the strength of the first communication signal. If the strength level of the second communication signal is the same as the strength level of the third communication signal, the first communication mode is preferentially selected to reduce the power consumption of the first device.

[0039] In one embodiment of the present disclosure, the data transmission method further includes: In response to the first user instruction, adjusting the playback parameters of the first device; The receiving parameter is adjusted based on the adjusted playback parameter; the receiving parameter is the first receiving parameter or the second receiving parameter.

[0040] In this embodiment, it is taken into account that the user may modify the playback parameters. For example, the user may choose different digital sound effect modes (including classical music mode, pop music mode, rock music mode, etc.) and different environmental sound effect modes (including opera house mode, cinema mode, cave mode, stadium mode, etc.) according to the current mood. For another example, the user may modify the noise reduction level of the first device according to the noise level of the current environment. Different sound effect modes and noise reduction levels require different processing times and processing methods. Therefore, in order to ensure the sound quality, it is necessary to adjust the receiving delay time and buffer size of the first device according to the different sound effect modes and noise reduction levels, that is, it is necessary to adjust the receiving parameters of the first device according to the different playback parameters.

[0041] Specifically, the preset third proportionality coefficient can be determined according to the number of sound effect modes selected by the user. The more sound effect modes the user selects, the larger the third proportional coefficient For example, when the user does not add sound effects, the third proportional coefficient Set to 0, when the user only adds digital sound effects, the third scale factor Less than the third proportionality factor when adding digital sound effects and ambient sound effects at the same time .

[0042] Similarly, the preset fourth proportionality coefficient can be determined according to the noise reduction level selected by the user. The size of the fourth proportional coefficient is The bigger.

[0043] In getting the third proportionality coefficient and the fourth proportionality factor Based on the third proportionality factor , the fourth proportionality coefficient , first step long and the second step length The receiving parameters of the first device are adjusted, and the calculation formula is as follows:

[0044] in, Indicates the adjusted receiving delay time. Indicates the receiving delay time before adjustment. Indicates the buffer size after adjustment. Indicates the buffer size before adjustment.

[0045] In another embodiment of the present disclosure, another data transmission method is provided, which can be executed by a wearable device. This embodiment takes the example that the first process of the second device belongs to the first category of processes, the power information of the first device is less than the power threshold, and the location information of the first device shows that the first device moves from the first area to the second area, but the present disclosure is not limited to this.

[0046] The method provided in the embodiment of the present disclosure may include the following steps: S301: In response to the first process of the second device belonging to the first type of process, receiving data sent by the second device based on a first receiving parameter; the data sent by the second device is audio data corresponding to the first process.

[0047] S302: In response to the power information of the first device being less than a power threshold, and the location information of the first device indicating that the first device is located in a first area, receiving data sent by the second device based on a second receiving parameter.

[0048] S303: In response to the location information of the first device showing that the first device is located in the second area, receiving data sent by the second device based on the first receiving parameter.

[0049] For other contents of this embodiment, please refer to the above Figure 1 and Figure 2 Description of embodiments.

[0050] This embodiment determines the different needs of users according to the different processes of the second device, and then sets corresponding receiving parameters according to the different needs of users to meet the user's needs for real-time audio playback and playback quality. At the same time, taking into account the difference in energy consumption corresponding to the first receiving parameter and the second receiving parameter, when the power of the first device is low and the first device is located in a first area where charging is inconvenient, the second receiving parameter with lower power consumption is uniformly used to receive audio data. When the first device moves to a second area where charging is convenient, it switches back to the original first receiving parameter to receive audio data. The data transmission method of this embodiment can extend the standby time of the first device as much as possible on the basis of ensuring the user's usage needs.

[0051] Corresponding to the data transmission method of the above embodiment, Figure 3 This is a structural block diagram of a data transmission device provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 3 The data transmission device 30 includes: a first receiving module 31 and a second receiving module 32. in, A first receiving module 31 is configured to receive data sent by the second device based on a first receiving parameter in response to the first process of the second device belonging to the first type of process; the data sent by the second device is audio data corresponding to the first process; The second receiving module 32 is used to receive data sent by the second device based on a second receiving parameter in response to the first process of the second device belonging to the second type of process; the real-time requirement of the first type of process is higher than the real-time requirement of the second type of process.

[0052] In an embodiment of the present disclosure, the data transmission device 30 further includes a third receiving module, and the third receiving module is used to: In response to the first process of the second device belonging to the third type of process and the traffic data corresponding to the first process being greater than the traffic threshold, receiving the data sent by the second device based on the first receiving parameter; In response to the first process of the second device belonging to the third type of process and the traffic data corresponding to the first process is less than or equal to the traffic threshold, the data sent by the second device is received based on the second receiving parameter.

[0053] In one embodiment of the present disclosure, the first receiving module 31 is further configured to: In response to the power information of the first device being less than the power threshold and the location information of the first device showing that the first device is located in the first area, data sent by the second device is received based on the second receiving parameter.

[0054] In one embodiment of the present disclosure, the first receiving module 31 is further configured to: When the first process of the second device belongs to the first type of process and the data sent by the second device is received based on the second receiving parameter, the data transmission method further includes: In response to the location information of the first device showing that the first device is located in the second area, data sent by the second device is received based on the first receiving parameter.

[0055] In one embodiment of the present disclosure, the data transmission device 30 further includes a parameter adjustment module, which is used to: In response to the strength of the first communication signal received by the first device being less than a strength threshold, adjusting the receiving parameter based on the strength of the first communication signal; the receiving parameter is the first receiving parameter or the second receiving parameter; the first communication signal is a communication signal between the first device and the second device.

[0056] In one embodiment of the present disclosure, the parameter adjustment module is further used to: Determining the intensity level of the second communication signal based on the relative size of the intensity of the second communication signal and the first reference value; the second communication signal is a communication signal generated when the first device and the second device communicate using the first communication mode, and the first reference value is a reference value of the second communication signal; Determine the strength level of the third communication signal based on the relative size of the strength of the third communication signal and the second reference value; the third communication signal is a communication signal generated when the first device and the second device communicate using the second communication mode, and the second reference value is a reference value of the third communication signal; The communication signal with a higher strength level between the second communication signal and the third communication signal is determined as the first communication signal.

[0057] In one embodiment of the present disclosure, the parameter adjustment module is further used to: In response to the first user instruction, adjusting the playback parameters of the first device; The receiving parameter is adjusted based on the adjusted playback parameter; the receiving parameter is the first receiving parameter or the second receiving parameter.

[0058] See also Figure 4 , Figure 4 A schematic block diagram of a wearable device provided by an embodiment of the present disclosure. Figure 4 The wearable device 400 in the embodiment shown may include: one or more processors 401, one or more input devices 402, one or more output devices 403 and one or more memories 404. The processors 401, input devices 402, output devices 403 and memories 404 communicate with each other via a communication bus 405. The memory 404 is used to store computer programs, which include program instructions. The processor 401 is used to execute the program instructions stored in the memory 404. The processor 401 is configured to call the program instructions to execute the functions of each module / unit in the above-mentioned device embodiments, such as Figure 3 The functions of the modules 31 to 32 are shown.

[0059] It should be understood that in the embodiment of the present disclosure, the processor 401 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0060] The input device 402 may include a touch panel, a fingerprint collection sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 403 may include a display (LCD, etc.), a speaker, etc.

[0061] The memory 404 may include a read-only memory and a random access memory, and provide instructions and data to the processor 401. A portion of the memory 404 may also include a non-volatile random access memory. For example, the memory 404 may also store information about the device type.

[0062] In a specific implementation, the processor 401, input device 402, and output device 403 described in the embodiments of the present disclosure can execute the implementation methods described in the first and second embodiments of the data transmission method provided in the embodiments of the present disclosure, and can also execute the implementation methods of the wearable device described in the embodiments of the present disclosure, which will not be repeated here.

[0063] In another embodiment of the present disclosure, a computer storage medium is provided, the computer storage medium stores a computer program, the computer program includes program instructions, the program instructions are executed by the processor to implement all or part of the process in the above embodiment method, and can also be completed by instructing related hardware through the computer program. The computer program can be stored in a computer storage medium, and the computer program can implement the steps of each of the above method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer readable media can include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0064] The computer storage medium may be an internal storage unit of the wearable device of any of the aforementioned embodiments, such as a hard disk or memory of the wearable device. The computer storage medium may also be an external storage device of the wearable device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the wearable device. Furthermore, the computer storage medium may also include both an internal storage unit of the wearable device and an external storage device. The computer storage medium is used to store computer programs and other programs and data required by the wearable device. The computer storage medium may also be used to temporarily store data that has been output or is to be output.

[0065] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0066] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the wearable device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0067] In the several embodiments provided in the present application, it should be understood that the disclosed wearable devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces or units, or it can be an electrical, mechanical or other form of connection.

[0068] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present disclosure.

[0069] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0070] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present disclosure, and these modifications or replacements should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A data transmission method, applied to a first device, characterized in that: include: In response to the first process of the second device belonging to the first type of process, receiving data sent by the second device based on the first receiving parameter; The data sent by the second device is the audio data corresponding to the first process; In response to the first process of the second device belonging to the second type of process, data sent by the second device is received based on a second receiving parameter; the real-time requirement of the first type of process is higher than the real-time requirement of the second type of process.

2. The data transmission method according to claim 1, characterized in that: Also includes: In response to the first process of the second device belonging to the third type of process and the traffic data corresponding to the first process being greater than the traffic threshold, receiving the data sent by the second device based on the first receiving parameter; In response to the first process of the second device belonging to the third type of process and the traffic data corresponding to the first process is less than or equal to the traffic threshold, the data sent by the second device is received based on the second receiving parameter.

3. The data transmission method according to claim 1, characterized in that: When the first process of the second device belongs to the first type of process, the data transmission method further includes: In response to the power information of the first device being less than a power threshold and the location information of the first device showing that the first device is located in a first area, data sent by the second device is received based on a second receiving parameter.

4. The data transmission method according to claim 3, characterized in that: When the first process of the second device belongs to the first type of process and the data sent by the second device is received based on the second receiving parameter, the data transmission method further includes: In response to the location information of the first device showing that the first device is located in a second area, data sent by the second device is received based on a first receiving parameter.

5. The data transmission method according to claim 1, characterized in that: Also includes: In response to the strength of the first communication signal received by the first device being less than a strength threshold, adjusting a reception parameter based on the strength of the first communication signal; The receiving parameter is the first receiving parameter or the second receiving parameter; the first communication signal is a communication signal between the first device and the second device.

6. The data transmission method according to claim 5, characterized in that: Also includes: Determining a strength level of the second communication signal based on a relative magnitude of the strength of the second communication signal and the first reference value; The second communication signal is a communication signal generated when the first device and the second device communicate with each other in a first communication manner, and the first reference value is a reference value of the second communication signal; Determine the strength level of the third communication signal based on the relative size of the strength of the third communication signal and the second reference value; the third communication signal is a communication signal generated when the first device and the second device communicate using the second communication mode, and the second reference value is a reference value of the third communication signal; The communication signal with a higher strength level between the second communication signal and the third communication signal is determined as the first communication signal.

7. The data transmission method according to claim 1, characterized in that: Also includes: In response to a first user instruction, adjusting a playback parameter of the first device; adjusting the receiving parameters based on the adjusted playing parameters; The receiving parameter is the first receiving parameter or the second receiving parameter.

8. A data transmission device, characterized in that: include: A first receiving module, configured to receive data sent by the second device based on a first receiving parameter in response to the first process of the second device belonging to the first type of process; the data sent by the second device is audio data corresponding to the first process; The second receiving module is used to receive data sent by the second device based on a second receiving parameter in response to the first process of the second device belonging to the second type of process; the real-time requirement of the first type of process is higher than the real-time requirement of the second type of process.

9. A wearable device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.