CN117041376A - Data transmission method, device and system - Google Patents

Data transmission method, device and system Download PDF

Info

Publication number
CN117041376A
CN117041376A CN202311082721.7A CN202311082721A CN117041376A CN 117041376 A CN117041376 A CN 117041376A CN 202311082721 A CN202311082721 A CN 202311082721A CN 117041376 A CN117041376 A CN 117041376A
Authority
CN
China
Prior art keywords
user
wireless
wireless earphone
data
call
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311082721.7A
Other languages
Chinese (zh)
Inventor
金海鹏
王波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TAILING MICROELECTRONICS (SHANGHAI) CO Ltd
Original Assignee
TAILING MICROELECTRONICS (SHANGHAI) CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TAILING MICROELECTRONICS (SHANGHAI) CO Ltd filed Critical TAILING MICROELECTRONICS (SHANGHAI) CO Ltd
Priority to CN202311082721.7A priority Critical patent/CN117041376A/en
Publication of CN117041376A publication Critical patent/CN117041376A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The system comprises a plurality of wireless earphone devices, wherein a first wireless earphone device in the plurality of wireless earphone devices is used for responding to a call request of a first user, acquiring user call data in the call request, and transmitting the user call data to a second wireless earphone device of a second user based on a first wireless transmission path of the first user pointing to the second user; and the second wireless earphone equipment is used for directly or indirectly receiving the user call data and realizing the call between the second user and the first user according to the user call data. The user call data in the call request can be quickly transmitted to the second user based on the first wireless transmission path where the first wireless earphone device is located, and the user call data can be correspondingly transmitted to the second user at a longer distance along with the gradual extension of the wireless transmission path, so that the requirement of intra-group communication is well met, the operation is simple, and the applicability is stronger.

Description

Data transmission method, device and system
Technical Field
The disclosure relates to the technical field of wireless transmission, and in particular relates to a data transmission method, device and system.
Background
Currently, there are various communication demands in daily life. The interphone is used as a bidirectional mobile communication tool and can be applied to application scenes such as relative fixation, frequent conversation and the like. The interphone can be arranged on a certain communication channel or frequency through the key on the interphone, and can realize the intercom with other interphones in the same communication channel or frequency after a PUSH-TO-TALK (PTT) key is pressed.
However, the interphone is large in size and inconvenient to carry, and group communication equipment such as interphone cannot well meet the requirement of long-distance communication.
Disclosure of Invention
The disclosure provides at least a data transmission method, device and system, which can realize remote intra-group communication only by simple wireless connection operation, and has stronger applicability.
In a first aspect, an embodiment of the present disclosure provides a data transmission system, including: a plurality of wireless headset devices;
a first wireless earphone device of the plurality of wireless earphone devices is used for responding to a call request of a first user, acquiring user call data in the call request, and transmitting the user call data to a second wireless earphone device of a second user based on a first wireless transmission path of the first user pointing to the second user; the second wireless headset device belongs to one of the plurality of wireless headset devices;
The second wireless earphone device is configured to directly or indirectly receive the user call data, and implement a call between the second user and the first user according to the user call data.
In a possible implementation manner, the first wireless earphone device is specifically configured to determine a first wireless transmission path of the first user pointing to the second user according to the following steps:
responding to the Bluetooth connection request of the first wireless earphone device, and determining other wireless earphone devices which successfully respond to Bluetooth connection;
determining a transmission path between the first wireless headset device and the second wireless headset device as the first wireless transmission path in a case where the other wireless headset device is the second wireless headset device; or,
in the case that the other wireless earphone device is not the second wireless earphone device, the other wireless earphone device directly or indirectly establishes a connection with the second wireless earphone device, and determines a transmission path among the first wireless earphone device, the second wireless earphone device and the other wireless earphone device as the first wireless transmission path.
In a possible implementation manner, the wireless earphone device further comprises a terminal device which is connected with the second wireless earphone device in advance;
the second wireless earphone device is configured to obtain audio data of the terminal device, and play mixed data obtained by mixing the audio data with the user call data.
In a second aspect, the present disclosure further provides a data transmission method applied to a first wireless headset device, where the method includes:
responding to a call request of a first user, and acquiring user call data in the call request;
and transmitting the user call data to second wireless earphone equipment of a second user based on a first wireless transmission path of the first user pointing to the second user.
In one possible embodiment, the first wireless transmission path of the first user directed to the second user is determined according to the following steps:
responding to the Bluetooth connection request of the first wireless earphone device, and determining other wireless earphone devices which successfully respond to Bluetooth connection;
determining a transmission path between the first wireless headset device and the second wireless headset device as the first wireless transmission path in a case where the other wireless headset device is the second wireless headset device; or,
In the case that the other wireless earphone device is not the second wireless earphone device, the other wireless earphone device directly or indirectly establishes a connection with the second wireless earphone device, and determines a transmission path among the first wireless earphone device, the second wireless earphone device and the other wireless earphone device as the first wireless transmission path.
In one possible implementation manner, the determining the other wireless earphone devices that successfully respond to the bluetooth connection includes:
judging whether the group identification number of any wireless earphone device is consistent with the group identification number extracted from the Bluetooth connection request or not under the condition that any wireless earphone device acquires the Bluetooth connection request;
and if so, determining any wireless earphone device as the other wireless earphone device which successfully responds to the Bluetooth connection.
In one possible implementation, the method further comprises responding to a bluetooth connection request of the first wireless headset device in the following manner:
responding to a Bluetooth connection request of the first wireless earphone device under the condition that the first wireless earphone device is switched to a Bluetooth asynchronous link ACL mode or a Bluetooth audio transmission model protocol A2DP mode;
And responding to a Bluetooth connection request of the first wireless earphone device under the condition that the first wireless earphone device is switched to a Bluetooth communication interface system CIS mode.
In a possible implementation manner, in a case that each wireless earphone device corresponds to one network node, the minimum connection number of the first wireless earphone device is set as follows:
and in response to the total number of network nodes being greater than or equal to N, the minimum connection number is N after the first wireless earphone device removes one connection with the corresponding terminal device.
In one possible embodiment, the method further comprises:
judging whether the number of other wireless earphone devices which successfully respond to Bluetooth connection exceeds a preset threshold value;
if yes, stopping initiating the Bluetooth connection request.
In one possible embodiment, the method further comprises:
and under the condition that any terminal equipment successfully responds to Bluetooth connection, determining that the connection relation between the any terminal equipment and the first wireless earphone equipment is established.
In a third aspect, the present disclosure further provides a data transmission method applied to a second wireless earphone device, where the method includes:
responding to a call request of a first user, and acquiring user call data transmitted by first wireless earphone equipment based on a first wireless transmission path of the first user pointing to a second user;
And realizing the call between the second user and the first user according to the user call data.
In one possible embodiment, the method further comprises:
acquiring audio data sent by a pre-connected terminal device;
mixing the audio data with the user call data to obtain mixed data;
and playing the mixed data.
In a fourth aspect, the present disclosure further provides a data transmission apparatus applied to a first wireless earphone device, the apparatus including:
the acquisition module is used for responding to a call request of a first user and acquiring user call data in the call request;
and the transmission module is used for transmitting the user call data to second wireless earphone equipment of the second user based on a first wireless transmission path of the first user pointing to the second user.
In a fifth aspect, the present disclosure further provides a data transmission apparatus applied to a second wireless earphone device, the apparatus including:
the system comprises an acquisition module, a first wireless earphone device and a second wireless earphone device, wherein the acquisition module is used for responding to a call request of a first user and acquiring user call data transmitted by the first wireless earphone device based on a first wireless transmission path of the first user pointing to a second user;
And the call module is used for realizing the call between the second user and the first user according to the user call data.
In a sixth aspect, the present disclosure further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the data transmission method of any of the second aspect, the third aspect and various embodiments thereof.
In a seventh aspect, the present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the data transmission method according to any of the second aspect, the third aspect and various embodiments thereof.
The data transmission method, the data transmission device and the data transmission system are adopted, the system comprises a plurality of wireless earphone devices, wherein a first wireless earphone device in the plurality of wireless earphone devices is used for responding to a call request of a first user, acquiring user call data in the call request, and transmitting the user call data to a second wireless earphone device of a second user based on a first wireless transmission path of the first user pointing to the second user; the second wireless earphone device is configured to directly or indirectly receive the user call data, and implement a call between the second user and the first user according to the user call data. In the disclosure, a first user may initiate a call request through a self-held first wireless earphone device, where in the case that the call request is directed to a second user, user call data in the call request may be quickly transmitted to the second user based on a first wireless transmission path where the first wireless earphone device is located, and along with gradual extension of the wireless transmission path, the call request may be correspondingly transmitted to a second user with a longer distance, so that a requirement of intra-group communication is well satisfied, and the method is simple to operate and has stronger applicability.
Other advantages of the present disclosure will be explained in more detail in conjunction with the following description and accompanying drawings.
It should be understood that the foregoing description is only an overview of the technical solutions of the present disclosure so that the technical means of the present disclosure may be more clearly understood and may be implemented in accordance with the content of the specification. The following specific examples illustrate the present disclosure in order to make the above and other objects, features and advantages of the present disclosure more comprehensible.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the embodiments are briefly described below, which are incorporated in and constitute a part of the specification, these drawings showing embodiments consistent with the present disclosure and together with the description serve to illustrate the technical solutions of the present disclosure. It is to be understood that the following drawings illustrate only certain embodiments of the present disclosure and are therefore not to be considered limiting of its scope, for the person of ordinary skill in the art may admit to other equally relevant drawings without inventive effort. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
Fig. 1 shows an application schematic of a data transmission system provided by an embodiment of the present disclosure;
fig. 2 shows a flowchart of a data transmission method provided by an embodiment of the present disclosure;
FIG. 3 illustrates a flow chart of another data transmission method provided by an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a data transmission device according to an embodiment of the disclosure;
fig. 5 shows a schematic diagram of another data transmission device provided by an embodiment of the present disclosure;
fig. 6 shows a schematic diagram of an electronic device provided by an embodiment of the disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In the description of the embodiments of the present disclosure, it should be understood that terms such as "comprises" or "comprising" are intended to indicate the presence of features, numbers, steps, acts, components, portions or combinations thereof disclosed in the present specification, and are not intended to exclude the possibility of the presence of one or more other features, numbers, steps, acts, components, portions or combinations thereof.
Unless otherwise indicated, "/" means or, e.g., A/B may represent A or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone.
The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature. In the description of the embodiments of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
Through researches, the interphone can be set at a certain communication channel or frequency through a key on the interphone, and then after a PUSH-TO-TALK (PTT) key is pressed, the interphone can realize the intercom with other interphones in the same communication channel or frequency.
However, the interphone is large in size and inconvenient to carry, and besides, group communication devices such as interphones are usually based on point-to-point and point-to-multipoint communication, have no relay function, and cannot well meet the requirement of long-distance communication.
To at least partially solve one or more of the above-mentioned problems and other potential problems, the present disclosure provides at least one data transmission method, apparatus, and system, which can implement remote intra-group communication by performing only a simple wireless connection operation, and has a higher applicability.
In order to facilitate understanding of the data transmission method provided by the embodiments of the present disclosure, the entire data transmission system will be described in detail first. The data transmission system herein may be a network system formed by including a plurality of wireless earphone devices, the system including a plurality of wireless earphone devices; wherein:
a first wireless earphone device of the plurality of wireless earphone devices is used for responding to a call request of a first user, acquiring user call data in the call request, and transmitting the user call data to a second wireless earphone device of a second user based on a first wireless transmission path of the first user pointing to the second user; the second wireless earphone device belongs to one of a plurality of wireless earphone devices;
and the second wireless earphone equipment is used for directly or indirectly receiving the user call data and realizing the call between the second user and the first user according to the user call data.
In order to facilitate understanding of the data transmission system provided by the embodiments of the present disclosure, a specific description is first provided below of an application scenario of the system. The data transmission system in the embodiment of the disclosure can be mainly applied to any related scene requiring group communication, such as sports and leisure scenes, sports and athletic scenes, building monitoring scenes and the like. As the group communication range expands, the scene that can be covered is also larger, whereas a smaller group communication range will cover a smaller scene range.
Taking building monitoring scenes as an example, a corresponding group communication range can be built on each floor, and a group communication range can also be built on all floors, which is not particularly limited by the embodiment of the disclosure; taking a sports scene as an example, a plurality of football players can correspond to a group communication range; taking the sport and leisure scenario as an example, one riding team can correspond to one group communication range.
It is known that there are typically multiple users in the group communication range, and the multiple users can communicate through a self-supporting wireless headset device, and meanwhile, the wireless headset device may also be connected with a terminal device in a matching manner, that is, in practical application, each user may be configured with one terminal device, such as a mobile phone, an IPAD, etc., and may also be configured with one wireless headset device, such as a wireless bluetooth headset/earplug, etc.
Here, when the first user initiates the call request to the second user, the user call data may be acquired based on the first wireless headset device first, and then the first wireless headset device may transmit the user call data to the second wireless headset device of the second user through the first wireless transmission path where the first user points to the second user, so as to implement the call between the first user and the second user in the group.
The first user may be any user in the group communication range that needs to initiate a call, and the second user may be a target user in the group communication range that responds to the call of the first user. The user call data in the embodiments of the present disclosure may also be different for different application scenarios, for example, for a plurality of cyclists each wearing headphones, the call data herein may be mutual confirmation about the riding route, etc.; for another example, the call data may be floor safety information or the like for a plurality of floor administrators each wearing headphones.
The call request in the embodiment of the disclosure may carry device identification information pointing to the target user, and user call data may be transmitted to the second wireless earphone device of the second user according to the device identification. Meanwhile, the second wireless earphone device may be connected with the terminal device in advance, so that the second user can send call data to the first user according to the process of initiating the call similar to that of the first user, and then two users can talk through the respective wireless earphone device.
For the second user, the audio data of the terminal device connected in advance can be received while the call of the first user is answered, that is, the audio receiving can be performed on the premise of realizing the call in the group, which further improves the applicability of the data transmission system provided by the embodiment of the disclosure.
Whether the first wireless earphone device or the second wireless earphone device, or other wireless earphone devices, are key devices for constructing a group communication range in which the embodiments of the present disclosure are located, that is, through a connectable relationship between the wireless earphone devices, a wireless transmission path belonging to any wireless earphone device may be constructed, where the wireless transmission path may provide a fast channel for transmission of user call data, so as to further improve call response speed.
Here, the bluetooth connection request may be initiated in advance for the first wireless headset device within the group communication range, and for other wireless headset devices that successfully respond to the bluetooth connection, the second wireless headset device may be itself, and further, a transmission path between two headset devices (i.e., the first wireless headset device and the second wireless headset device) may be directly determined as a first wireless transmission path where the first user points to the second user.
In addition, the other wireless earphone devices may be used as an intermediate medium for transmitting call data to the outside of the first wireless earphone device, where the other wireless earphone devices may be one or more.
For each other wireless headset device, a bluetooth connection request, such as a first wireless headset device, may also be established, and then the wireless headset device with which the connection relationship is made is determined, where the transmission path between the first wireless headset device, the second wireless headset device and the other wireless headset devices is determined as the first wireless transmission path where the first user is directed to the second user.
In order to facilitate further connection with the data transmission system provided by the embodiments of the present disclosure, a description will be given below with reference to a specific example shown in fig. 1. In the group communication range shown in fig. 1, a total of 5 users respectively correspond to 5 headsets and 5 handsets.
Taking the example of earphone number 1, here handset #1 may stream music to this earphone.
When user #5 wants to talk to the group, user #5 talks to the microphone on headset #5, microphone data (i.e., user talk data) is first transferred from headset #5 to headset #4, and headset #4 plays the microphone data to user # 4.
Thereafter, the microphone data is transmitted from the earphone #4 to the earphone #2 and the earphone #3, the earphone #2 plays the microphone data to the user #2, and the earphone #3 plays the microphone data to the user # 3.
Subsequently, microphone data is transferred from earphone #2 to earphone #1, and the same microphone data is transferred from earphone #3 to earphone #1. Here, headset #1 may only hold one copy of microphone data.
Since music is streamed at the same time, headset #1 mixes microphone data and music before playing to user #1.
Assuming that user #3 is simultaneously talking to the microphone on headset #3, the data for microphone #3 will be transmitted similarly to the other headsets. At this time, headset #1 has three data sources: own handset music, earphone #5 data, earphone #3 data, which are mixed before being played to user #1.
Based on the data transmission system provided by the embodiment of the disclosure, the embodiment of the disclosure also provides a plurality of data transmission methods executed by different execution bodies. The main body of execution of the data transmission method provided herein is generally an electronic device with a certain computing capability, and the electronic device includes, for example, a wireless earphone device, where the wireless earphone device may be various earphone devices with a wireless communication function, specifically may be a bluetooth headset, or may be an ear-wearing bluetooth headset. In some possible implementations, the data transmission method may be implemented by way of a processor invoking computer readable instructions stored in a memory.
Referring to fig. 2, a flowchart of a data transmission method provided by an embodiment of the present disclosure may be a first wireless headset device of a first user initiating a call request, where the data transmission method includes steps S201 to S202, where:
s201: responding to a call request of a first user, and acquiring user call data in the call request;
s202: user call data is transmitted to a second wireless headset device of a second user based on a first wireless transmission path that the first user is directed to the second user.
The first user may be any user in the group communication range that needs to initiate a call, and the second user may be a target user in the group communication range that responds to the first user call. Under the condition that a first user initiates a call request to a second user through a first wireless earphone device, user call data in the call request can be acquired firstly, and then the user call data can be transmitted to the second user through a pre-established first wireless transmission path, so that the call between the first user and the second user in the group is realized.
For specific call procedures, reference may be made to the above description of the data transmission system, and details thereof are not repeated herein.
In the embodiment of the disclosure, the first wireless transmission path belonging to the first wireless earphone device may be established as follows:
step one, responding to a Bluetooth connection request of first wireless earphone equipment, and determining other wireless earphone equipment which successfully responds to Bluetooth connection;
step two, when the other wireless earphone device is the second wireless earphone device, determining a transmission path between the first wireless earphone device and the second wireless earphone device as a first wireless transmission path; or in the case that the other wireless earphone device is not the second wireless earphone device, the other wireless earphone device directly or indirectly establishes a connection with the second wireless earphone device, and determines a transmission path among the first wireless earphone device, the second wireless earphone device and the other wireless earphone device as the first wireless transmission path.
Here, after the bluetooth connection is performed for each wireless headset device within the group communication range, a first wireless transmission path belonging to the first wireless headset device may be obtained, and there may be one or more first wireless transmission paths.
In practical applications, regarding the first wireless transmission path pre-established by the first wireless headset device, adaptation adjustment may be performed along with the whole communication environment, for example, in the case that for an original group communication range including 5 wireless headset devices, if one of the wireless headset devices has a signal interruption, the wireless transmission path may be re-established, which mainly considers that the embodiment of the present disclosure may establish a plurality of connection relationships for each wireless headset device, and a plurality of connection relationships between a plurality of wireless headset devices may combine more wireless transmission paths, so that a wireless transmission path more suitable for the current situation may be selected without affecting communication.
It should be noted that, although the connection between the wireless earphone devices is emphasized when the wireless transmission path is established, in practical application, when the bluetooth earphone of each user is turned on, two different types of devices, that is, a mobile phone or another earphone in the same group, may be searched, that is, the wireless transmission path here may further include a transmission node where the terminal device, that is, the mobile phone, is located. In other words, considering that the earphone and the mobile phone of a user are usually in a relatively consistent environment, the wireless transmission path is usually directly formed by the wireless earphone device, and if a user only carries the mobile phone and does not wear the earphone, the data transmission can be performed by means of the wireless transmission path formed by the transmission node of the mobile phone.
In the embodiment of the disclosure, under the condition that any wireless earphone device obtains a bluetooth connection request of a first wireless earphone device, whether a group identification number where any wireless earphone device is located is consistent with a group identification number extracted from the bluetooth connection request is judged, and when the group identification number is judged to be consistent, the first wireless earphone device is determined to be successfully responded, and connection can be established accordingly.
In a specific application, the headphones in the same group may be identified by a group ID in a bluetooth page message or a bluetooth low energy broadcast (Bluetooth Low Energy Advertising, BLE ADV) message, so that other headphones or handsets will use the group ID to identify them as belonging to the same group.
The bluetooth connection request about the first wireless headset device may be initiated in a bluetooth classical mode, such as a bluetooth asynchronous link (Asynchronous Connection-Less link, ACL) mode or a bluetooth audio transmission model profile (Advanced Audio Distribution Profile, A2 DP) mode, when the first wireless headset device switches to the bluetooth audio mode, or may be initiated in a bluetooth communication interface system (Communication Interface System, CIS) mode.
It should be noted that, bluetooth connections initiated according to the above modes may be provided between the headset and the headset, or between the headset and the mobile phone, and the headset may be capable of serving as a master device or a slave device on any of these connections, which is not particularly limited herein.
In the disclosed embodiments, each headset may establish a connection with other headset or cell phone, with one connection for the cell phone and the other connection for connecting the other headset.
If the earphone searches the mobile phone, it can establish a connection with the mobile phone; if the headset searches for a different headset within the group, it establishes a connection with the headset.
In practical applications, in order to ensure complete connection within the entire group communication range, if the total number of network nodes is greater than or equal to N within the communication network range formed by each wireless earphone device, at this time, after each wireless earphone device removes one connection with the corresponding terminal device, the minimum connection number may be N.
For example, for a network of 2 or more and 3 or less nodes, N may be set to 2 to ensure that the network is fully connected; for another example, N may be set to 3 corresponding to a network of 3 or more and less than 6 nodes to ensure complete network connectivity.
In order to reduce waste of device power and the like as much as possible while ensuring complete connection, here, bluetooth connection may not be initiated in case the number of wireless earphone devices successfully connected by one wireless earphone device exceeds a preset threshold.
The preset threshold may be a threshold set to exclude 1 connection with the handset, for example, when the total number of connections established by one headset is greater than 3, the search for other nodes may be stopped, otherwise the search may be continued for a new bluetooth connection.
For headphones connected to less than 3, it may mean that the headphones are located in a network of single or two nodes (each of which is a headphone), or that all other nodes in the network have reached 3 connections.
Referring to fig. 3, a flowchart of another data transmission method provided in an embodiment of the present disclosure may be a second wireless headset device of a second user responding to a call request, where the data transmission method includes steps S301 to S302, where:
s301: responding to a call request of a first user, and acquiring user call data transmitted by first wireless earphone equipment based on a first wireless transmission path of the first user pointing to a second user;
s302: and realizing the call between the second user and the first user according to the user call data.
Here, in the case where it is determined that the first user has a call intention, user call data transmitted via the first wireless transmission path to which the first wireless headset device belongs may be acquired first, and then played.
The specific content of the user call data is referred to the above description, and will not be described herein.
In practical application, the wireless earphone device can also acquire audio data of the terminal device, such as scheduling command, navigation information or music and other data heard from the mobile phone, and can mix the audio data with the user call data and perform mixed playing, that is, the data transmission method provided by the embodiment of the disclosure not only realizes group call among multiple users, but also realizes audio playing in combination with the wireless earphone device, and has wider application scenarios.
In the description of the present specification, reference to the terms "some possible embodiments," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiments or examples is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the various embodiments or examples described in this specification and the features of the various embodiments or examples may be combined and combined by those skilled in the art without contradiction.
With respect to the method flow diagrams of the disclosed embodiments, certain operations are described as distinct steps performed in a certain order. Such a flowchart is illustrative and not limiting. Some steps described herein may be grouped together and performed in a single operation, may be partitioned into multiple sub-steps, and may be performed in an order different than that shown herein. The various steps illustrated in the flowcharts may be implemented in any manner by any circuit structure and/or tangible mechanism (e.g., by software running on a computer device, hardware (e.g., processor or chip implemented logic functions), etc., and/or any combination thereof).
It will be appreciated by those skilled in the art that in the above-described method of the specific embodiments, the written order of steps is not meant to imply a strict order of execution but rather should be construed according to the function and possibly inherent logic of the steps.
Based on the same inventive concept, the embodiments of the present disclosure further provide a data transmission device corresponding to the data transmission method, and since the principle of the device in the embodiments of the present disclosure for solving the problem is similar to that of the data transmission method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 4, a schematic diagram of a data transmission apparatus according to an embodiment of the disclosure is provided, where the apparatus is applied to a first wireless earphone device, and specifically includes: an acquisition module 401 and a transmission module 402; wherein,
an obtaining module 401, configured to respond to a call request of a first user, and obtain user call data in the call request;
a transmission module 402, configured to transmit user call data to a second wireless headset device of a second user based on a first wireless transmission path that the first user points to the second user.
By adopting the data transmission device, the user call data in the call request can be acquired in response to the call request of the first user, and the user call data can be transmitted to the second user based on the transmission path because the first wireless earphone device establishes the first wireless transmission path in advance. It can be known that, in the disclosure, the first user may initiate a call request through the self-held first wireless earphone device, and in the case that the call request is directed to the second user, user call data in the call request may be quickly transmitted to the second user based on the first wireless transmission path where the first wireless earphone device is located.
In a possible implementation manner, the transmission module 402 is specifically configured to determine a first wireless transmission path that the first user points to the second user according to the following steps:
responding to the Bluetooth connection request of the first wireless earphone device, and determining other wireless earphone devices which successfully respond to Bluetooth connection;
in the case where the other wireless headphone device is the second wireless headphone device, determining a transmission path between the first wireless headphone device and the second wireless headphone device as a first wireless transmission path; or,
In the case where the other wireless headphone device is not the second wireless headphone device, the other wireless headphone device establishes a connection directly or indirectly with the second wireless headphone device, and determines a transmission path among the first wireless headphone device, the second wireless headphone device, and the other wireless headphone device as the first wireless transmission path.
In a possible implementation manner, the transmission module 402 is specifically configured to determine the other wireless earphone devices that successfully respond to the bluetooth connection according to the following steps:
judging whether the group identification number of any wireless earphone device is consistent with the group identification number extracted from the Bluetooth connection request or not under the condition that any wireless earphone device acquires the Bluetooth connection request;
if so, any wireless headset device is determined to be the other wireless headset device that successfully responds to the Bluetooth connection.
In a possible implementation manner, the transmission module 402 is configured to respond to a bluetooth connection request of the first wireless headset device in the following manner:
responding to a Bluetooth connection request of the first wireless earphone device under the condition that the first wireless earphone device is switched to a Bluetooth asynchronous link ACL mode or a Bluetooth audio transmission model protocol A2DP mode;
In the case where the first wireless earphone device is switched to the bluetooth communication interface system CIS mode, a bluetooth connection request of the first wireless earphone device is responded.
In one possible implementation, in case that each wireless headset device corresponds to one network node, the minimum number of connections of the first wireless headset device is set as follows:
and in response to the total number of network nodes being greater than or equal to N, the minimum number of connections is N after the first wireless headset device removes one connection with the corresponding terminal device.
In one possible implementation, the transmission module 402 is further configured to:
judging whether the number of other wireless earphone devices which successfully respond to Bluetooth connection exceeds a preset threshold value;
if yes, stopping initiating the Bluetooth connection request.
In a possible implementation manner, the obtaining module 401 is further configured to:
and under the condition that any terminal equipment successfully responds to the Bluetooth connection, determining that any terminal equipment establishes a connection relationship with the first wireless earphone equipment.
Referring to fig. 5, a schematic diagram of a data transmission apparatus according to an embodiment of the present disclosure is shown, where the apparatus is applied to a second wireless earphone device, and specifically includes: an acquisition module 501 and a conversation module 502; wherein,
An obtaining module 501, configured to obtain, in response to a call request of a first user, user call data transmitted by a first wireless headset device based on a first wireless transmission path that the first user points to a second user;
and the call module 502 is configured to implement a call between the second user and the first user according to the user call data.
In one possible embodiment, the apparatus further includes:
a playing module 503, configured to obtain audio data sent by a pre-connected terminal device; mixing the audio data with the user call data to obtain mixed data; and playing the mixed data.
It should be noted that, the apparatus in the embodiments of the present disclosure may implement each process of the foregoing embodiments of the method, and achieve the same effects and functions, which are not described herein again.
Corresponding to the data transmission method in fig. 2 and fig. 3, the embodiment of the disclosure further provides an electronic device, as shown in fig. 6, which is a schematic structural diagram of the electronic device provided in the embodiment of the disclosure, including:
a processor 61, a memory 62, and a bus 63; memory 62 is used to store execution instructions, including memory 621 and external memory 622; the memory 621 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 61 and data exchanged with the external memory 622 such as a hard disk, the processor 61 exchanges data with the external memory 622 through the memory 621, and when the electronic device 600 is operated, the processor 61 and the memory 62 communicate with each other through the bus 63, so that the processor 61 executes the following instructions:
Responding to a call request of a first user, and acquiring user call data in the call request;
transmitting user call data to a second wireless headset device of a second user based on a first wireless transmission path of the first user pointing to the second user;
or to execute the following instructions:
responding to a call request of a first user, and acquiring user call data transmitted by first wireless earphone equipment based on a first wireless transmission path of the first user pointing to a second user;
and realizing the call between the second user and the first user according to the user call data.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the data transmission method described in the method embodiments above. Wherein the storage medium may be a volatile or nonvolatile computer readable storage medium.
The embodiments of the present disclosure further provide a computer program product, where the computer program product carries a program code, where instructions included in the program code may be used to perform the steps of the data transmission method described in the foregoing method embodiments, and specifically reference the foregoing method embodiments will not be described herein in detail.
Wherein the above-mentioned computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
The various embodiments in this disclosure are described in a progressive manner, and identical and similar parts of the various embodiments are all referred to each other, and each embodiment is mainly described as different from other embodiments. In particular, for apparatus, devices and computer readable storage medium embodiments, the description thereof is simplified as it is substantially similar to the method embodiments, as relevant points may be found in part in the description of the method embodiments.
The apparatus, the device, and the computer readable storage medium provided in the embodiments of the present disclosure are in one-to-one correspondence with the methods, and therefore, the apparatus, the device, and the computer readable storage medium also have similar advantageous technical effects as the corresponding methods, and since the advantageous technical effects of the methods have been described in detail above, the advantageous technical effects of the apparatus, the device, and the computer readable storage medium are not repeated herein.
It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, apparatus (device or system), or computer readable storage medium. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer-readable storage medium embodied in one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices or systems) and computer-readable storage media according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Furthermore, although the operations of the methods of the present disclosure are depicted in the drawings in a particular order, this is not required to or suggested that these operations must be performed in this particular order or that all of the illustrated operations must be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
While the spirit and principles of the present disclosure have been described with reference to several particular embodiments, it is to be understood that this disclosure is not limited to the particular embodiments disclosed nor does it imply that features in these aspects are not to be combined to benefit from this division, which is done for convenience of description only. The disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (16)

1. A data transmission system, comprising: a plurality of wireless headset devices;
a first wireless earphone device of the plurality of wireless earphone devices is used for responding to a call request of a first user, acquiring user call data in the call request, and transmitting the user call data to a second wireless earphone device of a second user based on a first wireless transmission path of the first user pointing to the second user; the second wireless headset device belongs to one of the plurality of wireless headset devices;
the second wireless earphone device is configured to directly or indirectly receive the user call data, and implement a call between the second user and the first user according to the user call data.
2. The system according to claim 1, wherein the first wireless headset device is configured to determine a first wireless transmission path for the first user to point to a second user by:
responding to the Bluetooth connection request of the first wireless earphone device, and determining other wireless earphone devices which successfully respond to Bluetooth connection;
determining a transmission path between the first wireless headset device and the second wireless headset device as the first wireless transmission path in a case where the other wireless headset device is the second wireless headset device; or,
in the case that the other wireless earphone device is not the second wireless earphone device, the other wireless earphone device directly or indirectly establishes a connection with the second wireless earphone device, and determines a transmission path among the first wireless earphone device, the second wireless earphone device and the other wireless earphone device as the first wireless transmission path.
3. The system according to claim 1 or 2, further comprising a terminal device pre-connected with the second wireless headset device;
the second wireless earphone device is configured to obtain audio data of the terminal device, and play mixed data obtained by mixing the audio data with the user call data.
4. A data transmission method, characterized in that it is applied to a first wireless earphone device, the method comprising:
responding to a call request of a first user, and acquiring user call data in the call request;
and transmitting the user call data to second wireless earphone equipment of a second user based on a first wireless transmission path of the first user pointing to the second user.
5. The method of claim 4, wherein the first wireless transmission path for the first user to point to the second user is determined by:
responding to the Bluetooth connection request of the first wireless earphone device, and determining other wireless earphone devices which successfully respond to Bluetooth connection;
determining a transmission path between the first wireless headset device and the second wireless headset device as the first wireless transmission path in a case where the other wireless headset device is the second wireless headset device; or,
in the case that the other wireless earphone device is not the second wireless earphone device, the other wireless earphone device directly or indirectly establishes a connection with the second wireless earphone device, and determines a transmission path among the first wireless earphone device, the second wireless earphone device and the other wireless earphone device as the first wireless transmission path.
6. The method of claim 5, wherein said determining other wireless headset devices that successfully responded to a bluetooth connection comprises:
judging whether the group identification number of any wireless earphone device is consistent with the group identification number extracted from the Bluetooth connection request or not under the condition that any wireless earphone device acquires the Bluetooth connection request;
and if so, determining any wireless earphone device as the other wireless earphone device which successfully responds to the Bluetooth connection.
7. The method of claim 5, wherein the bluetooth connection request of the first wireless headset device is responded to in one of the following ways:
responding to a Bluetooth connection request of the first wireless earphone device under the condition that the first wireless earphone device is switched to a Bluetooth asynchronous link ACL mode or a Bluetooth audio transmission model protocol A2DP mode;
and responding to a Bluetooth connection request of the first wireless earphone device under the condition that the first wireless earphone device is switched to a Bluetooth communication interface system CIS mode.
8. The method according to any of claims 5 to 7, wherein in case each wireless headset device corresponds to one network node, the minimum number of connections of the first wireless headset device is set as follows:
And in response to the total number of network nodes being greater than or equal to N, the minimum connection number is N after the first wireless earphone device removes one connection with the corresponding terminal device.
9. The method according to any one of claims 5 to 7, further comprising:
judging whether the number of other wireless earphone devices which successfully respond to Bluetooth connection exceeds a preset threshold value;
if yes, stopping initiating the Bluetooth connection request.
10. The method according to any one of claims 5 to 7, further comprising:
and under the condition that any terminal equipment successfully responds to Bluetooth connection, determining that the connection relation between the any terminal equipment and the first wireless earphone equipment is established.
11. A data transmission method, characterized in that it is applied to a second wireless earphone device, the method comprising:
responding to a call request of a first user, and acquiring user call data transmitted by first wireless earphone equipment based on a first wireless transmission path of the first user pointing to a second user;
and realizing the call between the second user and the first user according to the user call data.
12. The method of claim 11, wherein the method further comprises:
Acquiring audio data of a terminal device connected in advance;
mixing the audio data with the user call data to obtain mixed data;
and playing the mixed data.
13. A data transmission apparatus for use with a first wireless headset device, the apparatus comprising:
the acquisition module is used for responding to a call request of a first user and acquiring user call data in the call request;
and the transmission module is used for transmitting the user call data to second wireless earphone equipment of the second user based on a first wireless transmission path of the first user pointing to the second user.
14. A data transmission apparatus for use with a second wireless headset device, the apparatus comprising:
the system comprises an acquisition module, a first wireless earphone device and a second wireless earphone device, wherein the acquisition module is used for responding to a call request of a first user and acquiring user call data transmitted by the first wireless earphone device based on a first wireless transmission path of the first user pointing to a second user;
and the call module is used for realizing the call between the second user and the first user according to the user call data.
15. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the data transmission method of any one of claims 4 to 12.
16. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the data transmission method according to any of claims 4 to 12.
CN202311082721.7A 2023-08-25 2023-08-25 Data transmission method, device and system Pending CN117041376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311082721.7A CN117041376A (en) 2023-08-25 2023-08-25 Data transmission method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311082721.7A CN117041376A (en) 2023-08-25 2023-08-25 Data transmission method, device and system

Publications (1)

Publication Number Publication Date
CN117041376A true CN117041376A (en) 2023-11-10

Family

ID=88622654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311082721.7A Pending CN117041376A (en) 2023-08-25 2023-08-25 Data transmission method, device and system

Country Status (1)

Country Link
CN (1) CN117041376A (en)

Similar Documents

Publication Publication Date Title
US11812485B2 (en) Bluetooth communication method and terminal
US20100048133A1 (en) Audio data flow input/output method and system
RU2411691C2 (en) Audio headset
CN109445741B (en) Data transmission method and device, electronic equipment and storage medium
US7349689B2 (en) Communications device processor peripheral
US20090023417A1 (en) Multiple interactive modes for using multiple earpieces linked to a common mobile handset
US20210127352A1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
CN113906773B (en) Channel selection method and device for low-power consumption Bluetooth equipment
US10743165B1 (en) Automatically pairing a Bluetooth low energy (BLE) device to a user device
US9253803B2 (en) Managing short range wireless data transmissions
CN117296348A (en) Method and electronic device for Bluetooth audio multi-streaming
CN113825107B (en) Talkback processing method and device based on true wireless stereo earphone
CN117062256B (en) Cross-equipment service transfer method, electronic equipment and system
CN105281811A (en) Voice data transmission processing method and terminal
CN112367581B (en) Earphone device, conversation system, equipment and device
CN117041376A (en) Data transmission method, device and system
KR20150131332A (en) System and method for multi-party communication
US20210306448A1 (en) Controlling audio output
KR101945174B1 (en) Program Stored in Recording Medium for Supporting Automatic Response Service
KR20070120665A (en) Apparatus and method for audio broadcasting through bluetooth module
JP2009089380A (en) Method and apparatus for muting sounder device
CN115696650A (en) Audio communication method and device, electronic equipment and storage medium
CN114915878A (en) Earphone communication method, system, device, equipment and storage medium
KR101436443B1 (en) Method of providing auto-switching amplified audio signal output based on ear-microphone set, and computer-readable recording medium for the same
WO2024060750A1 (en) Bluetooth switching method and apparatus, bluetooth connection method and apparatus, and electronic device

Legal Events

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