CN114302380A - Data transmission method and device and terminal equipment - Google Patents

Data transmission method and device and terminal equipment Download PDF

Info

Publication number
CN114302380A
CN114302380A CN202111615132.1A CN202111615132A CN114302380A CN 114302380 A CN114302380 A CN 114302380A CN 202111615132 A CN202111615132 A CN 202111615132A CN 114302380 A CN114302380 A CN 114302380A
Authority
CN
China
Prior art keywords
incoming call
electronic devices
audio data
playing
receiving
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
CN202111615132.1A
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.)
Spreadtrum Semiconductor Chengdu Co Ltd
Original Assignee
Spreadtrum Semiconductor Chengdu 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 Spreadtrum Semiconductor Chengdu Co Ltd filed Critical Spreadtrum Semiconductor Chengdu Co Ltd
Priority to CN202111615132.1A priority Critical patent/CN114302380A/en
Publication of CN114302380A publication Critical patent/CN114302380A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The application discloses a data transmission method, a data transmission device and terminal equipment, which are applied to the terminal equipment, wherein the method comprises the following steps: in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request; receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices; and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call. By adopting the method provided by the application, the transmitted data can be processed in a personalized way according to the user requirements, and the user experience is improved.

Description

Data transmission method and device and terminal equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a data transmission method, an apparatus, and a terminal device.
Background
Bluetooth Low Energy (BLE) has introduced the concept of Isochronous channels (Isochronous), which support connection-oriented and connectionless communications. The connection-oriented communication mode transmits synchronous audio data, has timeliness and generally refers to audio data during conversation; the connectionless communication mode transmits asynchronous audio data, has no timeliness, and generally refers to audio data in non-call, such as sound in music and video.
At present, for a scene that a plurality of users listen to audio and video from the same terminal device in a connectionless communication mode through an electronic device supporting low-power-consumption bluetooth, when a telephone is connected to the terminal device, that is, synchronous audio data and asynchronous audio data exist at the same time, all users can only hear a call sound from the electronic device, or hear a sound in which the call sound and the audio and video sound are mixed together from the electronic device, so that the user experience can be reduced.
Disclosure of Invention
The application provides a data transmission method and device and terminal equipment, and the terminal equipment can perform personalized processing on transmission data according to user requirements, so that user experience is improved.
In a first aspect, the present application provides a data transmission method, which is applied to a terminal device, and the method includes: in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request; receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices; and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call.
Based on the method described in the first aspect, in the process that the terminal device plays the asynchronous audio data through the multiple electronic devices, if the terminal device receives the incoming call request, the multiple electronic devices are notified of receiving the incoming call request, if the incoming call needs to be accessed, the terminal device receives an incoming call answering instruction corresponding to one or more electronic devices, and then the terminal device can play the synchronous audio data through the electronic device which confirms the incoming call, and play the asynchronous audio data through the electronic device which does not confirm the incoming call. Therefore, based on the method, the terminal equipment can perform personalized processing on the transmission data according to the user requirements, and the user experience is improved.
In a possible implementation manner, the receiving an incoming call answering instruction corresponding to one or more electronic devices in the plurality of electronic devices includes: receiving an incoming call answering instruction input to one or more electronic devices in the plurality of electronic devices by the terminal device operated by a user; or receiving an incoming call answering instruction sent by one or more electronic devices in the plurality of electronic devices.
In one possible implementation, the method further includes: receiving a call quitting instruction corresponding to first electronic equipment, wherein the first electronic equipment is any one of electronic equipment playing synchronous audio data; and playing the asynchronous audio data through the first electronic equipment. According to the user requirements, the electronic equipment accessing the incoming call can quit the current call at any time, and the user experience is improved.
In one possible implementation, the method further includes: receiving an audio switching instruction corresponding to second electronic equipment, wherein the second electronic equipment is any one of electronic equipment playing asynchronous audio data, and the audio switching instruction is used for switching the asynchronous audio data played by the second electronic equipment into target asynchronous audio data; and playing the target asynchronous audio data through the second electronic equipment. According to the user requirements, the asynchronous audio data played currently can be switched, and the user experience is improved.
In a possible implementation manner, the notifying the electronic devices of receiving the incoming call request if the incoming call request is received includes: if an incoming call request is received, determining one or more preset electronic devices which are configured in advance by a user from the plurality of electronic devices; and informing one or more preset electronic devices in the plurality of electronic devices of receiving the incoming call request. According to the user requirements, the receiving of the incoming call request can be only informed to one or more preset electronic devices, personalized data transmission is achieved, and user experience is improved.
In a second aspect, the present application provides a data transmission apparatus, comprising: the notification unit is used for notifying the electronic equipment of receiving the incoming call request if the incoming call request is received in the process of playing the asynchronous audio data through the electronic equipment; the receiving unit is used for receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices; and the output unit is used for playing the synchronous audio data by the electronic equipment which confirms the incoming call and playing the asynchronous audio data by the electronic equipment which does not confirm the incoming call.
In a third aspect, the present application provides a chip comprising a processor and a communication interface, the processor configured to perform the following operations: in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request; receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices; and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call.
In a fourth aspect, the present application provides a module device, which includes a communication module, a power module, a storage module, and a chip, wherein: the power module is used for providing electric energy for the module equipment; the storage module is used for storing data and instructions; the communication module is used for carrying out internal communication of the module equipment or is used for carrying out communication between the module equipment and external equipment; the chip is used for: in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request; receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices; and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call.
In a fifth aspect, an embodiment of the present invention discloses a terminal device, where the terminal device includes a memory and a processor, the memory is used for storing a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method in the first aspect and any possible implementation manner thereof.
In a sixth aspect, the present application provides a computer-readable storage medium having stored thereon computer-readable instructions that, when run on a communication device, cause the communication device to perform the method of the first aspect and any of its possible implementations.
In a seventh aspect, the present application provides a computer program or computer program product comprising code or instructions which, when run on a computer, cause the computer to perform the method as in the first aspect and any one of its possible implementations.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of an electronic device listening to audio data sent by a terminal device through BIS technology according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an electronic device listening to audio data transmitted by a terminal device through CIS technology according to an embodiment of the present application;
fig. 3 is a schematic architecture diagram of a data transmission system according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an information configuration interface provided by an embodiment of the present application;
fig. 6 is a schematic diagram of an incoming call answering operation interface according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating that a terminal device is connected to multiple electronic devices for data transmission according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating another terminal device connected to multiple electronic devices for data transmission according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an audio switching interface provided by an embodiment of the present application;
fig. 10 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a module apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the following embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the specification of the present application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the listed items.
It should be noted that the terms "first," "second," "third," and the like in the description and claims of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than described or illustrated herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In order to enable terminal equipment to perform personalized processing on transmission data according to user requirements and improve user experience, the embodiment of the application provides a data transmission method. Specifically, the general principle of the data transmission method is as follows: in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request; receiving a call answering instruction corresponding to one or more electronic devices in the plurality of electronic devices, then playing synchronous audio data by confirming the electronic device answering the call, and playing asynchronous audio data by the electronic device not confirming the call answering.
The data transmission method provided by the application can be executed by the terminal device, or can be executed by the terminal device and the electronic device together. The terminal device in the embodiment of the present application is a device having a wireless communication function, and may be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), an access terminal device, a vehicle-mounted terminal device, an industrial control terminal device, a UE unit, a UE station, a mobile station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent, or a UE apparatus. The terminal device may be fixed or mobile. It should be noted that the terminal device may support at least one wireless communication technology, such as LTE, New Radio (NR), and the like. For example, the terminal device may be a mobile phone (mobile phone), a tablet (pad), a desktop, a notebook, a kiosk, a vehicle-mounted terminal, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving, a wireless terminal in remote surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in city (PDA) a wireless terminal in smart home, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (PDA) a wireless local area, a wireless personal digital assistant (wldi), a handheld wireless terminal with personal communication function, and a wireless terminal with personal communication function, A computing device or other processing device connected to a wireless modem, a wearable device, a terminal device in a future mobile communication network or a terminal device in a future evolved public mobile land network (PLMN), etc. In some embodiments of the present application, the terminal device may also be an apparatus having a transceiving function, such as a system-on-chip. The chip system may include a chip, and may further include other discrete devices, which is not limited in this application.
The electronic device according to the embodiment of the present application is an electronic device supporting Bluetooth Low Energy (BLE), for example, a Bluetooth headset, a Bluetooth speaker, and the like, and the embodiment of the present application is not limited thereto. Bluetooth low energy is also called bluetooth low energy, is a personal area network technology designed and sold by the bluetooth technical alliance, and is used for emerging applications in the fields of medical care, sports and fitness, beacons, security protection, home entertainment and the like. Bluetooth low energy is intended to significantly reduce power consumption and cost while maintaining equivalent communication range compared to classical bluetooth. Bluetooth low energy introduces the concept of Isochronous channels (Isochronous), which support both connection-oriented and connectionless communications. The connection-oriented communication mode transmits synchronous audio data, has timeliness and generally refers to audio data during conversation; the connectionless communication mode transmits asynchronous audio data, has no timeliness, and generally refers to audio data in non-call, such as sound in music and video. Among them, the connectionless communication method includes Broadcast Isochronous Stream (BIS) and Broadcast Isochronous Group (BIG): the BIS technology is a connectionless synchronous data communication mode defined in BLE, one party only transmits data, the other party only receives data, and data reply is not needed; the BIG technology belongs to the same BIG stream sharing time sequence reference data, as shown in fig. 1, the electronic device listens to the same audio data broadcasted by the terminal device through the BIG technology. The connection-oriented communication method includes a Connectable Isochronous Stream (CIS) and a Connectable Isochronous Group (CIG): the CIS technology is a connection-oriented synchronous data communication mode defined in BLE, and two connected parties can perform bidirectional data transmission; the CIG technology shares timing reference data with streams belonging to the same CIG, and as shown in fig. 2, the synchronous data (data transmitted from the terminal device to the electronic device) transmitted by the CIS belonging to the same CIG is the same.
For example, it is assumed that the data transmission method is performed by the terminal device. Referring to fig. 3, fig. 3 is a schematic structural diagram of a data transmission system according to an embodiment of the present application, and as shown in fig. 3, the data transmission system 300 may include a terminal device 301 and a plurality of electronic devices 302. The terminal device 301 is mainly used for performing relevant steps of the data transmission method, and implementing playing of synchronous audio data or asynchronous audio data. In addition, the electronic device 302 can send an incoming call answering instruction to the terminal device 301. The terminal device 301 and the electronic device 302 may implement a communication connection, and the connection manner may include a wired connection and a wireless connection, which is not limited herein.
With reference to the data transmission system, the data transmission method according to the embodiment of the present application may generally include:
in the process of playing asynchronous audio data through the plurality of electronic devices 302, if an incoming call request is received, the terminal device 301 notifies the plurality of electronic devices 302 of receiving the incoming call request; receiving incoming call answering instructions corresponding to one or more electronic devices of the plurality of electronic devices 302; and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call. The incoming call answering command may be a command sent to the terminal device 301 by the electronic device 302, or may be a command input by the user operating the terminal device 301, and is not limited herein.
It is to be understood that the system architecture diagram described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows that along with the evolution of the system architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Based on the above description of the architecture of the data transmission system, an embodiment of the present application discloses a data transmission method, please refer to fig. 4, which is a flowchart illustrating the data transmission method disclosed in the embodiment of the present application, where an execution main body of the data transmission method may be a terminal device, and specifically may be a terminal device 301 in the data transmission system; or the execution body may be a chip in the terminal device. The main body of the method shown in fig. 4 is a terminal device, and the data transmission method may specifically include steps 401 to 403:
401. in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the terminal device informs the electronic devices of receiving the incoming call request.
In this embodiment, the terminal device may be connected to a plurality of electronic devices, and play the asynchronous audio data through the plurality of electronic devices. Where asynchronous audio data may refer to music, sound in video, and the like. The terminal device can send the asynchronous audio data to the plurality of electronic devices through the BIS communication mode, and then play the asynchronous audio data through the plurality of electronic devices, and the current mode of the electronic devices is set to be the low power consumption mode. In the process of playing asynchronous audio data by multiple electronic devices, if a terminal device receives an incoming call request, the multiple electronic devices need to be notified to receive the incoming call request, so that subsequent electronic devices can respond correspondingly, and the notification may be in a manner of sending a prompt instruction to the electronic devices, or in a manner of adopting other forms, which is not limited herein. Illustratively, the terminal device is connected with 5 electronic devices, and each of the 5 electronic devices adopts a BIS communication mode to play asynchronous audio data sent by the same terminal device, and if the terminal device receives an incoming call request, the 5 electronic devices are notified to receive the incoming call request.
It should be noted that, for the way of playing the asynchronous audio data by the electronic device, if the terminal device does not transmit the asynchronous audio data through the communication way of the BIS, or the current mode of the electronic device is not in the low power consumption mode, the electronic device can only play the asynchronous audio data through other ways, and the other ways may be a play-out mode, an online listening mode, and the like.
In a possible implementation manner, the notifying the electronic devices of receiving the incoming call request if the incoming call request is received includes: if an incoming call request is received, determining one or more preset electronic devices which are configured in advance by a user from the plurality of electronic devices; and informing one or more preset electronic devices in the plurality of electronic devices of receiving the incoming call request. It should be understood that, after receiving the incoming call request, the terminal device may not notify all electronic devices, but may determine one or more preset electronic devices that are configured in advance by the user from the plurality of electronic devices according to information configured in advance by the user, and then notify the one or more preset electronic devices of receiving the incoming call request. Based on the mode, the personalized processing of data transmission can be realized, and the user experience is improved.
Illustratively, as shown in fig. 5, fig. 5 is a schematic diagram of an information configuration interface provided in an embodiment of the present application, where the information configuration interface includes 4 preset electronic device input boxes, an add button, a confirm button, and a cancel button. The first preset electronic device input box inputs the electronic device 1, the second preset electronic device input box inputs the electronic device 2, the third preset electronic device input box inputs the electronic device 3, and the fourth preset electronic device input box inputs the electronic device 4. The user can add more preset electronic equipment through the adding button, save the current configuration information through the determining button, and cancel the current configuration information through the canceling button. When the terminal device receives the incoming call request, it only needs to notify the electronic devices 1, 2, 3, and 4 that the incoming call request is received.
402. And the terminal equipment receives the incoming call answering instruction corresponding to one or more electronic equipment in the plurality of electronic equipment.
In this embodiment of the present application, the incoming call answering instruction corresponding to the electronic device may be an instruction allowing the electronic device to answer an incoming call. For example, the user allows the electronic device 1 to answer the incoming call, and then the terminal device receives an incoming call answering command corresponding to the electronic device 1.
In a possible implementation manner, the receiving an incoming call answering instruction corresponding to one or more electronic devices in the plurality of electronic devices includes: receiving an incoming call answering instruction input to one or more electronic devices in the plurality of electronic devices by the terminal device operated by a user; or receiving an incoming call answering instruction sent by one or more electronic devices in the plurality of electronic devices. It should be understood that the call answering command can be sent to the terminal device by the electronic device, for example, a user can determine to answer a call through an answering button on the electronic device, and the electronic device sends a corresponding call answering command to the terminal device.
Certainly, the incoming call answering instruction may also be an incoming call answering instruction input by the user operating the terminal device, as shown in fig. 6, fig. 6 is a schematic view of an incoming call answering interface provided in an embodiment of the present application, where the incoming call answering interface includes 4 electronic devices (electronic device 1, electronic device 2, electronic device 3, and electronic device 4) and corresponding incoming call answering buttons, and when the user triggers the incoming call answering button corresponding to the electronic device, the terminal device will receive the incoming call answering instruction of the electronic device. Illustratively, when the user triggers the incoming call answering button corresponding to the electronic device 1, the terminal device receives an incoming call answering command of the electronic device 1.
403. The terminal equipment plays the synchronous audio data through the electronic equipment which confirms the incoming call and plays the asynchronous audio data through the electronic equipment which does not confirm the incoming call.
In the embodiment of the application, after receiving a call answering instruction corresponding to the electronic device, the terminal device sends the synchronous audio data to the electronic device, and the electronic device correspondingly exits the BIS mode and establishes CIS connection with the terminal device, so that the synchronous audio data is played by the electronic device which confirms to answer the call, namely, voice call is performed. And for the electronic equipment which does not confirm to answer the incoming call, keeping the BIS mode and continuously playing the asynchronous audio data. Based on the mode, the terminal equipment can perform personalized processing on the transmission data according to the user requirements, and the user experience is improved.
As shown in fig. 7, fig. 7 is a schematic diagram of a terminal device connected to multiple electronic devices for data transmission, where the terminal device is connected to 5 electronic devices, an electronic device 1 and an electronic device 3 play asynchronous audio data sent by the terminal device in a BIS communication manner, and an electronic device 2, an electronic device 4 and an electronic device 5 play synchronous audio data sent by the terminal device in a CIS communication manner.
It should be noted that, after the voice call is finished, all the electronic devices will resume to the BIS communication mode to play the asynchronous audio data.
In one possible implementation, the method further includes: receiving a call quitting instruction corresponding to first electronic equipment, wherein the first electronic equipment is any one of electronic equipment playing synchronous audio data; and playing the asynchronous audio data through the first electronic equipment. It should be understood that, for the electronic device that determines to answer the incoming call, the current call can be exited at any time. As shown in fig. 8, fig. 8 is a schematic diagram of another terminal device connected to multiple electronic devices for data transmission according to an embodiment of the present application, where the terminal device is connected to 5 electronic devices, the electronic device 1, the electronic device 3, and the electronic device 4 play asynchronous audio data sent by the terminal device in a BIS communication manner, and the electronic device 2 and the electronic device 5 play synchronous audio data sent by the terminal device in a CIS communication manner. As can be seen from fig. 7, the electronic device 4 changes from the originally-used CIS communication mode to the BIS communication mode, that is, the electronic device 4 exits the current call.
In one possible implementation, the method further includes: receiving an audio switching instruction corresponding to second electronic equipment, wherein the second electronic equipment is any one of electronic equipment playing asynchronous audio data, and the audio switching instruction is used for switching the asynchronous audio data played by the second electronic equipment into target asynchronous audio data; and playing the target asynchronous audio data through the second electronic equipment. It should be understood that for an electronic device that plays asynchronous audio data, the user can switch to other asynchronous audio data at any time. Based on the mode, the transmission data can be subjected to personalized processing according to the user requirements, and the user experience is improved.
As shown in fig. 9, fig. 9 is a schematic diagram of an audio switching interface provided in an embodiment of the present application, where the audio switching interface includes a currently playing audio display frame and a switching audio display frame. The currently played audio display box shows asynchronous audio data A, and the switched audio display box shows asynchronous audio data B and corresponding confirmation buttons, asynchronous audio data C and corresponding confirmation buttons. The electronic device 1 currently plays the asynchronous audio data a, and the user can switch the currently played asynchronous audio data a to the asynchronous audio data B by clicking a determination button corresponding to the asynchronous audio data B in the switching audio display box.
The following is a specific example:
the terminal equipment adopts a BIS communication mode to play asynchronous audio data through 5 electronic equipment, and if the terminal equipment receives an incoming call request at the moment, a prompt instruction can be sent to each electronic equipment to inform each electronic equipment of receiving the incoming call request. Further, according to different requirements of a user, the terminal device receives incoming call answering instructions corresponding to the electronic device 1 and the electronic device 3, so that the terminal device sends synchronous audio data to the electronic device 1 and the electronic device 3 in a CIS communication mode, and the rest of the electronic devices still adopt a BIS communication mode to play asynchronous audio data, that is, the electronic device 1 and the electronic device 3 play synchronous audio data, and the electronic device 2, the electronic device 4 and the electronic device 5 play asynchronous audio data.
In the method depicted in fig. 4, during the process that the terminal device plays the asynchronous audio data through the plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are notified of receiving the incoming call request; the terminal equipment receives incoming call answering instructions corresponding to one or more electronic equipment in the plurality of electronic equipment; the terminal equipment plays the synchronous audio data through the electronic equipment which confirms the incoming call and plays the asynchronous audio data through the electronic equipment which does not confirm the incoming call. Therefore, based on the method described in fig. 4, the terminal device can perform personalized processing on the transmission data according to the user requirement, thereby improving the user experience.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention, where the data transmission apparatus may be a terminal device or an apparatus (e.g., a chip) having a function of the terminal device. Specifically, as shown in fig. 10, the data transmission apparatus 1000 may include:
a notification unit 1001 configured to notify, when receiving an incoming call request, a plurality of electronic devices that the incoming call request is received in a process of playing asynchronous audio data by the plurality of electronic devices;
a receiving unit 1002, configured to receive incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices;
the output unit 1003 is configured to play the synchronous audio data by the electronic device that confirms the incoming call and play the asynchronous audio data by the electronic device that does not confirm the incoming call.
Optionally, when receiving an incoming call answering instruction corresponding to one or more electronic devices of the plurality of electronic devices, the receiving unit 1002 is specifically configured to: receiving an incoming call answering instruction input to one or more electronic devices in the plurality of electronic devices by the terminal device operated by a user; or receiving an incoming call answering instruction sent by one or more electronic devices in the plurality of electronic devices.
Optionally, the apparatus further includes a processing unit, where the processing unit is configured to: receiving a call quitting instruction corresponding to first electronic equipment, wherein the first electronic equipment is any one of electronic equipment playing synchronous audio data; and playing the asynchronous audio data through the first electronic equipment.
Optionally, the apparatus further includes a processing unit, where the processing unit is configured to: receiving an audio switching instruction corresponding to second electronic equipment, wherein the second electronic equipment is any one of electronic equipment playing asynchronous audio data, and the audio switching instruction is used for switching the asynchronous audio data played by the second electronic equipment into target asynchronous audio data; and playing the target asynchronous audio data through the second electronic equipment.
Optionally, the notifying unit 1001, when notifying the plurality of electronic devices that the incoming call request is received if the incoming call request is received, is specifically configured to: if an incoming call request is received, determining one or more preset electronic devices which are configured in advance by a user from the plurality of electronic devices; and informing one or more preset electronic devices in the plurality of electronic devices of receiving the incoming call request.
The embodiment of the present invention and the embodiment of the method shown in fig. 4 are based on the same concept, and the technical effects thereof are also the same, and for the specific principle, reference is made to the description of the embodiment shown in fig. 4, which is not repeated herein.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. The terminal device 1100 may comprise a memory 1101, a processor 1102 and a communication interface 1103, the memory 1101, the processor 1102 and the communication interface 1103 being connected by one or more communication buses. Wherein the communication interface 1103 is controlled by the processor 1102 to transmit and receive information.
The memory 1101 may include read-only memory and random access memory and provides instructions and data to the processor 1102. A portion of the memory 1101 may also include non-volatile random access memory.
The Processor 1102 may be a Central Processing Unit (CPU), and the Processor 1102 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general-purpose processor may be a microprocessor, but in the alternative, the processor 1102 may be any conventional processor or the like. Wherein:
a memory 1101 for storing program instructions.
A processor 1102 for invoking program instructions stored in memory 1101.
The processor 1102 calls program instructions stored in the memory 1101 to cause the terminal device 1100 to perform the following operations:
in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request; receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices; and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call.
In an implementation manner, when receiving an incoming call answering instruction corresponding to one or more electronic devices of the plurality of electronic devices, the processor 1102 is specifically configured to: receiving an incoming call answering instruction input to one or more electronic devices in the plurality of electronic devices by the terminal device operated by a user; or receiving an incoming call answering instruction sent by one or more electronic devices in the plurality of electronic devices.
In one implementation, the processor 1102 is further configured to: receiving a call quitting instruction corresponding to first electronic equipment, wherein the first electronic equipment is any one of electronic equipment playing synchronous audio data; and playing the asynchronous audio data through the first electronic equipment.
In one implementation, the processor 1102 is further configured to: receiving an audio switching instruction corresponding to second electronic equipment, wherein the second electronic equipment is any one of electronic equipment playing asynchronous audio data, and the audio switching instruction is used for switching the asynchronous audio data played by the second electronic equipment into target asynchronous audio data; and playing the target asynchronous audio data through the second electronic equipment.
In one implementation manner, when the processor 1102 notifies the electronic devices that the incoming call request is received if the incoming call request is received, the processor is specifically configured to: if an incoming call request is received, determining one or more preset electronic devices which are configured in advance by a user from the plurality of electronic devices; and informing one or more preset electronic devices in the plurality of electronic devices of receiving the incoming call request.
It should be noted that, for details that are not mentioned in the embodiment corresponding to fig. 11 and the specific implementation manner of each step, reference may be made to the embodiment shown in fig. 4 and the foregoing details, which are not described herein again.
The embodiment of the application also provides a chip, and the chip can execute the relevant steps of the terminal device in the embodiment of the method. The chip includes a processor and a communication interface, the processor configured to perform the following operations:
in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request; receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices; and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call.
In an implementation manner, when receiving an incoming call answering instruction corresponding to one or more electronic devices of the plurality of electronic devices, the chip is specifically configured to: receiving an incoming call answering instruction input to one or more electronic devices in the plurality of electronic devices by the terminal device operated by a user; or receiving an incoming call answering instruction sent by one or more electronic devices in the plurality of electronic devices.
In one implementation, the chip is further configured to: receiving a call quitting instruction corresponding to first electronic equipment, wherein the first electronic equipment is any one of electronic equipment playing synchronous audio data; and playing the asynchronous audio data through the first electronic equipment.
In one implementation, the chip is further configured to: receiving an audio switching instruction corresponding to second electronic equipment, wherein the second electronic equipment is any one of electronic equipment playing asynchronous audio data, and the audio switching instruction is used for switching the asynchronous audio data played by the second electronic equipment into target asynchronous audio data; and playing the target asynchronous audio data through the second electronic equipment.
In one implementation, when the chip notifies the plurality of electronic devices that the incoming call request is received if the chip receives the incoming call request, the chip is specifically configured to: if an incoming call request is received, determining one or more preset electronic devices which are configured in advance by a user from the plurality of electronic devices; and informing one or more preset electronic devices in the plurality of electronic devices of receiving the incoming call request.
In a possible implementation, the chip includes at least one processor, at least one first memory, and at least one second memory; the at least one first memory and the at least one processor are interconnected through a line, and instructions are stored in the first memory; the at least one second memory and the at least one processor are interconnected through a line, and the second memory stores the data required to be stored in the method embodiment.
For each device or product applied to or integrated in the chip, each module included in the device or product may be implemented by hardware such as a circuit, or at least a part of the modules may be implemented by a software program running on a processor integrated in the chip, and the rest (if any) part of the modules may be implemented by hardware such as a circuit.
As shown in fig. 12, fig. 12 is a schematic structural diagram of a module device according to an embodiment of the present application. The module apparatus 1200 can perform the relevant steps of the terminal apparatus in the foregoing method embodiments, and the module apparatus 1200 includes: a communication module 1201, a power module 1202, a memory module 1203, and a chip module 1204.
The power module 1202 is configured to provide power for the module device; the storage module 1203 is used for storing data and instructions; the communication module 1201 is used for performing module device internal communication, or for performing communication between the module device and an external device; the chip module 1204 is configured to: in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request; receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices; and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call.
In one implementation, when receiving an incoming call answering command corresponding to one or more electronic devices of the plurality of electronic devices, the chip module 1204 is specifically configured to: receiving an incoming call answering instruction input to one or more electronic devices in the plurality of electronic devices by the terminal device operated by a user; or receiving an incoming call answering instruction sent by one or more electronic devices in the plurality of electronic devices.
In one implementation, the chip module 1204 is further configured to: receiving a call quitting instruction corresponding to first electronic equipment, wherein the first electronic equipment is any one of electronic equipment playing synchronous audio data; and playing the asynchronous audio data through the first electronic equipment.
In one implementation, the chip module 1204 is further configured to: receiving an audio switching instruction corresponding to second electronic equipment, wherein the second electronic equipment is any one of electronic equipment playing asynchronous audio data, and the audio switching instruction is used for switching the asynchronous audio data played by the second electronic equipment into target asynchronous audio data; and playing the target asynchronous audio data through the second electronic equipment.
In one implementation, when the chip module 1204 receives the incoming call request and notifies the electronic devices of receiving the incoming call request, the chip module is specifically configured to: if an incoming call request is received, determining one or more preset electronic devices which are configured in advance by a user from the plurality of electronic devices; and informing one or more preset electronic devices in the plurality of electronic devices of receiving the incoming call request.
In a possible implementation, the chip includes at least one processor, at least one first memory, and at least one second memory; the at least one first memory and the at least one processor are interconnected through a line, and instructions are stored in the first memory; the at least one second memory and the at least one processor are interconnected through a line, and the second memory stores the data required to be stored in the method embodiment.
For each device and product applied to or integrated in the chip module, each module included in the device and product may be implemented by using hardware such as a circuit, and different modules may be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least some of the modules may be implemented by using a software program running on a processor integrated in the chip module, and the rest (if any) of the modules may be implemented by using hardware such as a circuit. Embodiments of the present application further provide a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium is executed on a processor, the method flow of the above method embodiments is implemented.
Embodiments of the present application further provide a computer program product, where when the computer program product runs on a processor, the method flow of the above method embodiments is implemented.
Each module/unit included in each apparatus and product described in the above embodiments may be a software module/unit, or may also be a hardware module/unit, or may also be a part of a software module/unit and a part of a hardware module/unit. For example, each module/unit included in each apparatus or product applied to or integrated in a chip may be implemented by hardware such as a circuit, or at least a part of the modules/units may be implemented by a software program running on an integrated processor in the chip, and the rest (if any) part of the modules/units may be implemented by hardware such as a circuit; for each device or product applied to or integrated with the chip module, each module/unit included in the device or product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same piece (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least some of the modules/units may be implemented by using a software program running on a processor integrated inside the chip module, and the rest (if any) of the modules/units may be implemented by using hardware such as a circuit; for each device or product applied to or integrated in the terminal, the modules/units included in the device or product may all be implemented by hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal, or at least some of the modules/units may be implemented by software programs running on a processor integrated in the terminal, and the rest (if any) of the modules/units may be implemented by hardware such as a circuit.
It is noted that, for simplicity of explanation, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some acts may, in accordance with the present application, occur in other orders and/or concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The descriptions of the embodiments provided in the present application may be referred to each other, and the descriptions of the embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. For convenience and brevity of description, for example, the functions and operations performed by the devices and apparatuses provided in the embodiments of the present application may refer to the related descriptions of the method embodiments of the present application, and may also be referred to, combined with or cited among the method embodiments and the device embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A data transmission method is applied to a terminal device, and the method comprises the following steps:
in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request;
receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices;
and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call.
2. The method of claim 1, wherein receiving incoming call answering instructions corresponding to one or more of the plurality of electronic devices comprises:
receiving an incoming call answering instruction input to one or more electronic devices in the plurality of electronic devices by the terminal device operated by a user; alternatively, the first and second electrodes may be,
and receiving an incoming call answering instruction sent by one or more electronic devices in the plurality of electronic devices.
3. The method of claim 1, further comprising:
receiving a call quitting instruction corresponding to first electronic equipment, wherein the first electronic equipment is any one of electronic equipment playing synchronous audio data;
and playing the asynchronous audio data through the first electronic equipment.
4. The method of claim 3, further comprising:
receiving an audio switching instruction corresponding to second electronic equipment, wherein the second electronic equipment is any one of electronic equipment playing asynchronous audio data, and the audio switching instruction is used for switching the asynchronous audio data played by the second electronic equipment into target asynchronous audio data;
and playing the target asynchronous audio data through the second electronic equipment.
5. The method of claim 1, wherein notifying the plurality of electronic devices of receiving the incoming call request if the incoming call request is received comprises:
if an incoming call request is received, determining one or more preset electronic devices which are configured in advance by a user from the plurality of electronic devices;
and informing one or more preset electronic devices in the plurality of electronic devices of receiving the incoming call request.
6. A data transmission apparatus, characterized in that the apparatus comprises:
the device comprises a notification unit, a processing unit and a processing unit, wherein the notification unit is used for notifying a plurality of electronic devices of receiving an incoming call request if the incoming call request is received in the process of playing asynchronous audio data through the plurality of electronic devices;
the receiving unit is used for receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices;
and the output unit is used for playing the synchronous audio data by the electronic equipment which confirms the incoming call and playing the asynchronous audio data by the electronic equipment which does not confirm the incoming call.
7. A chip comprising a processor and a communication interface, the processor configured to:
in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request;
receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices;
and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call.
8. The utility model provides a module equipment, its characterized in that, module equipment includes communication module, power module, storage module and chip module, wherein:
the power supply module is used for providing electric energy for the module equipment;
the storage module is used for storing data and instructions;
the communication module is used for carrying out internal communication of module equipment or is used for carrying out communication between the module equipment and external equipment;
the chip module is used for:
in the process of playing asynchronous audio data through a plurality of electronic devices, if an incoming call request is received, the plurality of electronic devices are informed of receiving the incoming call request;
receiving incoming call answering instructions corresponding to one or more electronic devices in the plurality of electronic devices;
and playing the synchronous audio data by the electronic equipment which confirms to answer the incoming call, and playing the asynchronous audio data by the electronic equipment which does not confirm to answer the incoming call.
9. A terminal device comprising a memory for storing a computer program comprising program instructions and a processor configured to invoke the program instructions to perform the method of any of claims 1 to 5.
10. A computer readable storage medium having computer readable instructions stored thereon which, when run on a communication device, cause the communication device to perform the method of any of claims 1-5.
CN202111615132.1A 2021-12-27 2021-12-27 Data transmission method and device and terminal equipment Pending CN114302380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111615132.1A CN114302380A (en) 2021-12-27 2021-12-27 Data transmission method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111615132.1A CN114302380A (en) 2021-12-27 2021-12-27 Data transmission method and device and terminal equipment

Publications (1)

Publication Number Publication Date
CN114302380A true CN114302380A (en) 2022-04-08

Family

ID=80969957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111615132.1A Pending CN114302380A (en) 2021-12-27 2021-12-27 Data transmission method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN114302380A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550505A (en) * 2022-09-22 2022-12-30 维沃移动通信有限公司 Incoming call processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550505A (en) * 2022-09-22 2022-12-30 维沃移动通信有限公司 Incoming call processing method and device
CN115550505B (en) * 2022-09-22 2024-02-20 维沃移动通信有限公司 Incoming call processing method and device

Similar Documents

Publication Publication Date Title
US11812485B2 (en) Bluetooth communication method and terminal
CN108668041B (en) Wireless user equipment device and method for wireless user equipment device
CN101288317B (en) System and method for communcation using a wireless handset
US20110230209A1 (en) Method and Mobile Device for Automatic Activation of Applications
US7349689B2 (en) Communications device processor peripheral
US20030193930A1 (en) Voice over IP portable transreceiver
JP2004235838A (en) Electronic apparatus, its connection controlling method and method for regulating voice
CN103873644A (en) Data processing method and terminal
CN101860626A (en) Application providing method and mobile terminal
CN103220429A (en) Low-power-consumption intelligent mobile terminal based on cloud computing and supporting system of low-power-consumption intelligent mobile terminal
CN114040373A (en) Audio service processing method and device, electronic equipment and storage medium
CN114302380A (en) Data transmission method and device and terminal equipment
CN112367581B (en) Earphone device, conversation system, equipment and device
CN101330697B (en) Consistent user interface for multi-mode mobile terminals
JP2003125448A (en) Information terminal, communication method using same, and program therefor
WO2023045784A1 (en) Call control method and apparatus, and electronic device and computer-readable storage medium
CN113395576B (en) Scene switching method, computer equipment and storage medium
US20060094477A1 (en) Power saving system and method
CN113271385B (en) Call forwarding method
CN103516871A (en) Method for displaying avatar of speaker in trunked call and terminal thereof
CN112867114A (en) Wireless device
JP2010109620A (en) Communication terminal
CN103402018A (en) Terminal and data processing method
RU2569338C2 (en) Mobile device and third party call method
WO2023109282A1 (en) Incoming call processing method and apparatus, electronic device, and storage medium

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