CN116743924B - Color ringing sound processing method and electronic equipment - Google Patents

Color ringing sound processing method and electronic equipment Download PDF

Info

Publication number
CN116743924B
CN116743924B CN202211207750.7A CN202211207750A CN116743924B CN 116743924 B CN116743924 B CN 116743924B CN 202211207750 A CN202211207750 A CN 202211207750A CN 116743924 B CN116743924 B CN 116743924B
Authority
CN
China
Prior art keywords
module
color
electronic device
audio
switching instruction
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.)
Active
Application number
CN202211207750.7A
Other languages
Chinese (zh)
Other versions
CN116743924A (en
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211207750.7A priority Critical patent/CN116743924B/en
Publication of CN116743924A publication Critical patent/CN116743924A/en
Application granted granted Critical
Publication of CN116743924B publication Critical patent/CN116743924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/041Encoding the ringing signal, i.e. providing distinctive or selective ringing capability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a color ringing sound processing method and electronic equipment. The method comprises the following steps: the call module responds to the received incoming call information, and when the current color vibration state is determined, color vibration state notification is respectively sent to the multi-screen collaboration module and the equipment virtualization module; the multi-screen coordination module responds to the received color vibration state notification to judge whether the audio and video state is on the second electronic equipment side coordinated with the first electronic equipment; if yes, the multi-screen cooperative module sends a channel switching instruction to the equipment virtualization module, wherein the channel switching instruction is used for indicating the equipment virtualization module to establish a color ring data channel; and the equipment virtualization module establishes a color ringing data channel in response to receiving the color vibration state notification and the channel switching instruction, so that the first electronic equipment transmits the received color ringing data to the second electronic equipment through the color ringing data channel. Therefore, the color vibration bell is transferred to the equipment side equipment to be played, so that the synchronization of color vibration audio and video is realized, and the use experience of a user is improved.

Description

Color ringing sound processing method and electronic equipment
Technical Field
The application relates to the field of terminal equipment, in particular to a color ring sound processing method and electronic equipment.
Background
Currently, users commonly have multiple electronic devices. In order to facilitate the use of a plurality of electronic devices by a user, a scheme of cooperation of the plurality of electronic devices is provided. Collaborative conversation is one of them. After the mobile phone is cooperated with the tablet or computer and other equipment, the call audio of the mobile phone end can be played on the tablet or computer and other equipment.
In the current cooperative call scene, if a user opens a color vibration service, when the mobile phone is in a cooperative state, the color ringing sound cannot be played on the cooperative tablet or computer and other devices.
Disclosure of Invention
In order to solve the technical problems, the application provides a color ringing sound processing method and electronic equipment, so that color ringing sound before call connection can be played on the equipment side equipment in cooperation under a conversation scene, color ringing sound and video synchronization is realized, and user experience is improved.
In a first aspect, the present application provides a method for processing a color ring tone. The method is applied to a first electronic device, and comprises the following steps: the call module responds to the received incoming call information, and when the current color vibration state is determined, color vibration state notification is respectively sent to the multi-screen collaboration module and the equipment virtualization module; the multi-screen coordination module responds to the received color vibration state notification to judge whether the audio and video state is on the second electronic equipment side coordinated with the first electronic equipment; if yes, the multi-screen cooperative module sends a channel switching instruction to the equipment virtualization module, wherein the channel switching instruction is used for indicating the equipment virtualization module to establish a color ring data channel; and the equipment virtualization module establishes a color ringing data channel in response to receiving the color vibration state notification and the channel switching instruction, so that the first electronic equipment transmits the received color ringing data to the second electronic equipment through the color ringing data channel. Therefore, before the telephone in the cooperative call is switched on, the color vibration bell is transferred to the equipment side equipment to be played, so that the synchronization of color vibration audio and video is realized, and the use experience of a user is improved.
According to a first aspect, the call module sends color vibration status notifications to the multi-screen collaboration module and the device virtualization module, respectively, including: the communication module broadcasts the color vibration state notification, and the multi-screen coordination module and the equipment virtualization module monitor the color vibration state notification.
According to a first aspect, the multi-screen collaboration module determines whether an audio/video status is on a second electronic device side that is collaborative with a first electronic device, including: the multi-screen collaboration module queries the current audio and video state identification, and determines whether the audio and video state is on the second electronic device side in collaboration with the first electronic device according to the current audio and video state identification.
According to a first aspect, the color ring tone data path includes a modem, an audio data processing module at a kernel layer, a virtual audio processing module at a hardware abstraction layer, and a device virtualization module connected in sequence.
According to a first aspect, a device virtualization module establishes a color ring tone data path, comprising: the equipment virtualization module establishes connection with the virtual audio processing module according to the channel switching instruction and forwards the channel switching instruction to the virtual audio processing module; the virtual audio processing module receives the access switching instruction, establishes connection with the audio data processing module according to the access switching instruction, and forwards the access switching instruction to the audio data processing module; the audio data processing module receives the access switching instruction and receives data from the modem according to the access switching instruction.
According to a first aspect, the call module and the multi-screen collaboration module are located at an application layer of the first electronic device, and the device virtualization module is located at an application framework layer of the first electronic device.
According to the first aspect, the multi-screen collaboration module, in response to receiving the color vibration state notification, determines whether the audio/video state is before a second electronic device side that is collaborative with the first electronic device, and further includes: the first electronic device establishes a cooperative connection with the second electronic device in response to a first operation of the multi-screen cooperative module by a user.
According to a first aspect, the first electronic device is a mobile phone and the second electronic device is a tablet or a personal computer.
In a second aspect, the present application provides an electronic device, comprising: a memory and a processor, the memory coupled to the processor; the memory stores program instructions that, when executed by the processor, cause the electronic device to perform the method of color ring tone processing of any of the first aspects.
In a third aspect, the present application provides a computer readable storage medium comprising a computer program which, when run on an electronic device, causes the electronic device to perform the method of any one of the first aspects.
Drawings
Fig. 1 is a schematic structural diagram of an exemplary electronic device 100;
fig. 2 is a software architecture block diagram of an electronic device 100 of an embodiment of the present application, which is exemplarily shown;
FIG. 3 is a schematic diagram of an exemplary multi-device collaboration scenario;
fig. 4 is a schematic diagram of a path of the mobile phone a in the present embodiment when no color ring tone is received;
fig. 5 is a schematic diagram of a path of the mobile phone a after receiving a color ring tone in the embodiment;
fig. 6 is a schematic diagram illustrating a processing procedure of a ringing tone in the present embodiment.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms first and second and the like in the description and in the claims of embodiments of the present application are used for distinguishing between different objects and not necessarily for describing a particular sequential order of objects. For example, the first target object and the second target object, etc., are used to distinguish between different target objects, and are not used to describe a particular order of target objects.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more. For example, the plurality of processing units refers to two or more processing units; the plurality of systems means two or more systems.
Through the multi-screen cooperative application, electronic equipment such as a mobile phone and the like can be cooperatively connected with other electronic equipment such as a Personal Computer (PC), a tablet and the like, and through the connection, when the mobile phone receives an incoming call, the incoming call voice can be transferred to the other electronic equipment which cooperates with the mobile phone, and the other electronic equipment plays the incoming call voice.
However, before answering the call, the color ring tone sent to the mobile phone by the network server cannot be played on other electronic devices cooperated with the mobile phone.
The embodiment of the application provides a color ringing sound processing method, which enables color ringing sound before call connection to be played on cooperative equipment side equipment under a cooperative call scene, and improves user experience.
The color ring processing method in the embodiment of the application can be applied to electronic equipment, and the electronic equipment can be a mobile phone or other electronic equipment with a call function.
The structure of the electronic device in this embodiment may be as shown in fig. 1.
Fig. 1 is a schematic diagram of an exemplary illustrated electronic device 100. It should be understood that the electronic device 100 shown in fig. 1 is only one example of an electronic device, and that the electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
Referring to fig. 1, an electronic device 100 may include: processor 110, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, indicator 192, camera 193, etc.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The Modem processor may include one or more modems (modems), which may include modulators and demodulators. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In this embodiment, taking an Android (Android) system with a hierarchical architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 2 is a software structural block diagram of the electronic device 100 of the embodiment of the present application, which is exemplarily shown.
The layered architecture of the electronic device 100 divides the software into several layers, each with a distinct role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system may include an application layer, an application framework layer, a hardware abstraction layer (i.e., hal layer), a kernel layer, and the like.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as cameras, gallery, phone calls, WLAN, music, video, multi-screen collaboration, etc.
The call application is used for realizing the voice call function.
The multi-screen cooperative application can realize the cooperative call function. Through the multi-screen collaborative application, conversational voice on electronic device 100 may be played on another electronic device.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 2, the application framework layer may include a telephony manager, a device virtualization module, and the like.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The device virtualization module is a module required for implementing the color ring processing method of the embodiment. The device virtualization module is used for controlling the creation of a color ring tone data path in the color ring tone processing method of the present embodiment. For detailed functions of the device virtualization module, please refer to the description in the following embodiments.
As shown in fig. 2, the hardware abstraction layer may include a virtual audio processing module. The virtual audio processing module is a module required for implementing the color ring processing method of the embodiment. For detailed functions of the virtual audio processing module in the color ring tone processing method of the present embodiment, please refer to the description in the subsequent embodiments.
As shown in fig. 2, the kernel layer may include modules such as an audio digital signal processor ADSP, a display driver, a Wi-Fi driver, a bluetooth driver, an audio driver, a sensor driver, and the like.
The audio digital signal processor ADSP is a module required for implementing the color ring processing method of the present embodiment. For detailed functions of the audio digital signal processor ADSP in the color ring tone processing method of the present embodiment, please refer to the description in the subsequent embodiments.
It will be appreciated that the layers and components contained in the layers in the software structure shown in fig. 2 do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer layers than shown, and more or fewer components may be included in each layer, as the present application is not limited.
The present application will be described in detail with reference to examples.
Fig. 3 is a schematic diagram of an exemplary multi-device collaboration scenario. Referring to fig. 3, in this embodiment, a voice call is performed between the user a and the user B through the mobile phone a and the mobile phone B, and the mobile phone a and the personal computer C start a multi-screen collaboration function. The mobile phone a is a center-side device (may also be referred to as a master device) in the collaboration, and the personal computer C is a device-side device (may also be referred to as a slave device) in the collaboration.
Taking the multi-device collaboration scenario shown in fig. 3 as an example, the color ringing sound processing method of the present embodiment will be described.
And the second user inputs the telephone number of the mobile phone A on the dialing interface of the mobile phone B, and before the telephone is not connected by the first user, the network server sends a color ringing sound to the mobile phone A.
Fig. 4 is a schematic diagram of a path of the mobile phone a in the present embodiment when no color ring tone is received. Referring to fig. 4, when the mobile phone a does not receive the color ring tone, no path is established between the call module, the multi-screen collaboration module, the device virtualization module, the virtual audio processing module, the audio digital signal processor and the modem in the mobile phone a.
Fig. 5 is a schematic diagram of a path of the mobile phone a after receiving a color ring tone in the embodiment. Referring to fig. 5, after the mobile phone a receives the color ring tone and before the phone is turned on, the processing procedure in the mobile phone a is as follows:
s1, a call module in an application program layer of a mobile phone A responds to the mobile phone A to receive incoming call information, and when the current color vibration state is determined, color vibration state notification is broadcast to other applications in the mobile phone A, and a multi-screen collaboration module in the application program layer and a device virtualization module in an application program frame layer monitor the color vibration state notification.
The communication module creates a color vibration state notification broadcasting mechanism, and when a mobile phone which opens color vibration service receives an incoming call, the communication module sends the color vibration state notification to other applications in a broadcasting mode, and the other applications monitor the notification and respond.
For the mobile phone which opens the color vibration service, the network server also sends the video information and the audio information of the color vibration to the mobile phone when calling the mobile phone. When the mobile phone receives an incoming call, the video receiving channel of the mobile phone can send the video information of the color vibration to the call module in the mobile phone, so that the call module obtains the video information (comprising a series of color vibration video images) of the color vibration, and the color vibration video images are displayed on the mobile phone interface. The communication module can determine that the current color vibration state is in according to the received video information of the color vibration.
The color vibration state refers to a state that the mobile phone plays color vibration audio and video after receiving incoming call and before making a call. In the color vibration state, the telephone is not connected yet, the audio transmission channel between the mobile phone A and the cooperative personal computer C is not established yet, and the mobile phone A only transmits the video information of the color vibration to the cooperative personal computer C. Therefore, before the color ringing sound processing method of the embodiment is used, only the color ringing video image is played on the collaborative personal computer C, and the color ringing sound is not played.
S2, the multi-screen coordination module monitors the color vibration state notification, judges whether the audio and video state is at the side of the mobile phone A or the side of the personal computer C, and if the audio and video state is at the side of the personal computer C, the multi-screen coordination module sends a channel switching instruction to the equipment virtualization module.
The multi-screen collaboration module stores a current audio and video state identifier. Therefore, the multi-screen collaboration module can query the current audio and video state identification, and determine which side of the collaboration the audio and video state is in according to the current audio and video state identification.
For example, in one example, after handset a cooperates with personal computer C, if the current audio/video status in handset a is identified as "audio/video switch to PC", the multi-screen cooperation module may determine that the current audio/video status is on the side of handset a. If the current audio/video state in the mobile phone A is identified as 'audio/video switching to the mobile phone', the multi-screen coordination module can determine that the current audio/video state is at the side of the personal computer C.
The channel switching instruction is used for indicating the equipment virtualization module to establish a color ring data channel. The data flow path in fig. 5 is a color ring data path.
The path switching instruction may include all module information and connection relation information included in the path to be switched to. Therefore, in the process of issuing the path switching instruction layer by layer, each module can know which module is the next module connected with the module on the path according to all the module information and the connection relation information included in the path switching instruction.
And S3, the equipment virtualization module monitors the color vibration state notification, receives the channel switching instruction of the multi-screen coordination module, establishes connection with the virtual audio processing module of the hardware abstraction layer, and forwards the channel switching instruction to the virtual audio processing module.
S4, the virtual audio processing module receives the access switching instruction, establishes connection with the audio data processing module of the kernel layer according to the access switching instruction, and forwards the access switching instruction to the audio data processing module.
S5, the audio data processing module receives a channel switching instruction, and receives the color ring data from the modem according to the channel switching instruction.
Wherein the connection between the audio data processing module and the modem is already present.
The modem receives signals containing the color ringing sound from the antenna of the mobile phone A and demodulates the signals to obtain the color ringing sound data.
S6, the audio data processing module sends the color ring data to the virtual audio processing module through the connection established between the audio data processing module and the virtual audio processing module.
And S7, the virtual audio processing module sends the color ring data to the equipment virtualization module through the connection established between the virtual audio processing module and the equipment virtualization module.
S8, the device virtualization module sends the color ring data to a data receiving module at the side of the personal computer C.
Thus, after receiving the color ringing data, the personal computer C performs a series of processing on the color ringing data to obtain an analog audio electric signal corresponding to the color ringing data, and then sends the analog audio electric signal to an audio player (for example, a speaker) of the personal computer C, and the audio player of the personal computer C plays a sound corresponding to the analog audio electric signal.
Still taking the mobile phone a in fig. 3 as an example, the processing procedure of the color ringing sound will be described. Fig. 6 is a schematic diagram illustrating a processing procedure of a ringing tone in the present embodiment. Referring to fig. 6, in this embodiment, the process of the method for processing a color ring tone may include the following steps:
s601, the call module receives the incoming call.
S602, broadcasting color vibration state notification by the communication module.
S603, the multi-screen cooperative module monitors the color vibration state notification, judges that the audio and video state is at the side of the mobile phone A, and generates a channel switching instruction.
S604, the multi-screen cooperative module sends a channel switching instruction to the device virtualization module.
S605, the device virtualization module monitors the color vibration state notification and receives the channel switching instruction of the multi-screen collaboration module.
S606, the equipment virtualization module is connected with the virtual audio processing module of the hardware abstraction layer, and the access switching instruction is sent to the virtual audio processing module.
S607, the virtual audio processing module receives the channel switching instruction, establishes connection with the audio data processing module ADSP of the kernel layer according to the channel switching instruction, and forwards the channel switching instruction to the audio data processing module ADSP.
S608, the audio data processing module ADSP receives the channel switching instruction, and receives the color ringing data from the modem, namely, the modem sends the color ringing data to the audio data processing module ADSP.
S609, the audio data processing module ADSP sends color ring data to the virtual audio processing module.
S610, the virtual audio processing module sends color ring data to the device virtualization module.
S611, the device virtualization module sends the color ring data to the data receiving module of the personal computer C.
Therefore, before the telephone is connected, the color vibration bell sound is transferred to the cooperative equipment side equipment to be played, and synchronization of color vibration audio and video is realized.
The embodiment of the application also provides electronic equipment, which comprises a memory and a processor, wherein the memory is coupled with the processor, the memory stores program instructions, and when the program instructions are executed by the processor, the electronic equipment can execute the color ringing sound processing method.
It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware and/or software modules that perform the respective functions. The steps of an algorithm for each example described in connection with the embodiments disclosed herein may be embodied in hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation is not to be considered as outside the scope of this application.
The present embodiment also provides a computer storage medium, in which computer instructions are stored, which when executed on an electronic device, cause the electronic device to execute the above-mentioned related method steps to implement the method for processing a color ring tone in the above-mentioned embodiment.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the method for processing color ringing sounds in the above-mentioned embodiments.
In addition, the embodiment of the application also provides a device, which can be a chip, a component or a module, and the device can comprise a processor and a memory which are connected; the memory is used for storing computer-executable instructions, and when the device is operated, the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the color ring sound processing method in the method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding methods provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding methods provided above, and will not be described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Any of the various embodiments of the application, as well as any of the same embodiments, may be freely combined. Any combination of the above is within the scope of the present application.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions to cause a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
The steps of a method or algorithm described in connection with the disclosure of the embodiments disclosed herein may be embodied in hardware, or may be embodied in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in random access Memory (Random Access Memory, RAM), flash Memory, read Only Memory (ROM), erasable programmable Read Only Memory (Erasable Programmable ROM), electrically Erasable Programmable Read Only Memory (EEPROM), registers, hard disk, a removable disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (9)

1. A method for processing a color ring tone, the method comprising:
the call module responds to the received incoming call information, and when the current color vibration state is determined, color vibration state notification is respectively sent to the multi-screen collaboration module and the equipment virtualization module;
the multi-screen coordination module responds to the received color vibration state notification to judge whether the audio and video state is at a second electronic device side coordinated with the first electronic device;
if yes, the multi-screen cooperative module sends a channel switching instruction to the equipment virtualization module, wherein the channel switching instruction is used for indicating the equipment virtualization module to establish a color ringing data channel;
the device virtualization module responds to the received color vibration state notification and the channel switching instruction to establish a color ringing data channel so that the first electronic device transmits the received color ringing data to the second electronic device through the color ringing data channel;
the color ring data path comprises a modem, an audio data processing module positioned at a kernel layer, a virtual audio processing module positioned at a hardware abstraction layer and the equipment virtualization module which are connected in sequence.
2. The method of claim 1, wherein the sending, by the call module, the color vibration status notification to the multi-screen collaboration module and the device virtualization module, respectively, comprises:
and broadcasting the color vibration state notification by the communication module, and monitoring the color vibration state notification by the multi-screen cooperative module and the equipment virtualization module.
3. The method of claim 1, wherein the multi-screen collaboration module determining whether an audio-video status is on a second electronic device side that is collaborative with the first electronic device comprises:
and the multi-screen collaboration module queries the current audio and video state identification, and determines whether the audio and video state is on the side of the second electronic device collaborating with the first electronic device according to the current audio and video state identification.
4. The method of claim 1, wherein the device virtualization module establishes a color ring tone data path comprising:
the device virtualization module establishes connection with the virtual audio processing module according to the channel switching instruction and forwards the channel switching instruction to the virtual audio processing module;
the virtual audio processing module receives the access switching instruction, establishes connection with the audio data processing module according to the access switching instruction, and forwards the access switching instruction to the audio data processing module;
the audio data processing module receives the channel switching instruction and receives data from the modem according to the channel switching instruction.
5. The method of claim 1, wherein the talk module and the multi-screen collaboration module are located at an application layer of the first electronic device and the device virtualization module is located at an application framework layer of the first electronic device.
6. The method of claim 1, wherein the multi-screen coordination module, in response to receiving the color vibration status notification, determines whether an audio-video status is in front of a second electronic device side that is coordinated with the first electronic device, further comprising:
and the first electronic equipment responds to the first operation of the user on the multi-screen cooperative module, and establishes cooperative connection with the second electronic equipment.
7. The method of claim 1, wherein the first electronic device is a cell phone and the second electronic device is a tablet or a personal computer.
8. An electronic device, comprising:
a memory and a processor, the memory coupled with the processor;
the memory stores program instructions that, when executed by the processor, cause the electronic device to perform the method of color ring tone processing of any of claims 1-7.
9. A computer readable storage medium comprising a computer program which, when run on an electronic device, causes the electronic device to perform the method of color ringing sound processing as claimed in any one of claims 1 to 7.
CN202211207750.7A 2022-09-30 2022-09-30 Color ringing sound processing method and electronic equipment Active CN116743924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211207750.7A CN116743924B (en) 2022-09-30 2022-09-30 Color ringing sound processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211207750.7A CN116743924B (en) 2022-09-30 2022-09-30 Color ringing sound processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN116743924A CN116743924A (en) 2023-09-12
CN116743924B true CN116743924B (en) 2024-04-12

Family

ID=87912090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211207750.7A Active CN116743924B (en) 2022-09-30 2022-09-30 Color ringing sound processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN116743924B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500716A (en) * 2022-01-10 2022-05-13 荣耀终端有限公司 Cooperative call method, apparatus, device, storage medium and program product
CN114844988A (en) * 2022-04-02 2022-08-02 咪咕文化科技有限公司 Service processing method, device, system and storage medium of virtualized color ring platform
CN115086481A (en) * 2022-07-20 2022-09-20 荣耀终端有限公司 Incoming call reminding method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500716A (en) * 2022-01-10 2022-05-13 荣耀终端有限公司 Cooperative call method, apparatus, device, storage medium and program product
CN114844988A (en) * 2022-04-02 2022-08-02 咪咕文化科技有限公司 Service processing method, device, system and storage medium of virtualized color ring platform
CN115086481A (en) * 2022-07-20 2022-09-20 荣耀终端有限公司 Incoming call reminding method and electronic equipment

Also Published As

Publication number Publication date
CN116743924A (en) 2023-09-12

Similar Documents

Publication Publication Date Title
CN111131866B (en) Screen-projecting audio and video playing method and electronic equipment
US11653398B2 (en) Bluetooth connection method and device
US11778363B2 (en) Audio data transmission method applied to switching between single-earbud mode and double-earbud mode of TWS headset and device
US11805350B2 (en) Point-to-multipoint data transmission method and device
WO2022007848A1 (en) Call method, apparatus, and system
US20230299806A1 (en) Bluetooth Communication Method, Wearable Device, and System
CN113039822B (en) Method and equipment for establishing data channel
CN109327613B (en) Negotiation method based on voice call translation capability and electronic equipment
US20240040481A1 (en) Tws headset connection method and device
CN114466097A (en) Mobile terminal capable of preventing sound leakage and sound output method of mobile terminal
CN113301544B (en) Method and equipment for voice intercommunication between audio equipment
CN116743924B (en) Color ringing sound processing method and electronic equipment
CN114844735B (en) Display equipment and voice forwarding method
CN114844736B (en) Equipment and call control method
CN114466324B (en) Calling method and related device
CN116743905B (en) Call volume control method and electronic equipment
CN116743904A (en) Call volume control method and electronic equipment
CN114125352A (en) Screen sharing method, electronic equipment and system
CN114885440B (en) Method for voice call among multiple audio devices, electronic device and storage medium
CN117812547A (en) Call transfer method and electronic equipment
CN117014843A (en) Mobile communication method and electronic equipment
CN117812548A (en) Distributed communication method and electronic equipment
CN117714854A (en) Camera calling method, electronic equipment, readable storage medium and chip
CN114785886A (en) Call method using multiple audio devices and electronic device
RU2569338C2 (en) Mobile device and third party call method

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
GR01 Patent grant
GR01 Patent grant