CN116668586B - Control method, terminal, server and storage medium for private color ring back tone service state - Google Patents

Control method, terminal, server and storage medium for private color ring back tone service state Download PDF

Info

Publication number
CN116668586B
CN116668586B CN202211425741.5A CN202211425741A CN116668586B CN 116668586 B CN116668586 B CN 116668586B CN 202211425741 A CN202211425741 A CN 202211425741A CN 116668586 B CN116668586 B CN 116668586B
Authority
CN
China
Prior art keywords
private
state
crbt
back tone
switch
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
CN202211425741.5A
Other languages
Chinese (zh)
Other versions
CN116668586A (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 CN202211425741.5A priority Critical patent/CN116668586B/en
Publication of CN116668586A publication Critical patent/CN116668586A/en
Application granted granted Critical
Publication of CN116668586B publication Critical patent/CN116668586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42017Customized ring-back tones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to the technical field of terminals, and provides a control method, a terminal, a server and a readable storage medium for a private ring back tone service state, wherein the method comprises the following steps: when a calling terminal initiates a call request, detecting the current state of a private color ring service of the calling terminal; inquiring the private color ring switch state of the calling terminal when the service state is an expiration state; when the private color ring switch state is in an on state, triggering the operation for switching the private color ring switch state, so that after the private color ring service of the terminal expires, the video call and the video color ring play can be automatically switched to be normally carried out, the using effect of the video color ring is improved, and the user experience is improved.

Description

Control method, terminal, server and storage medium for private color ring back tone service state
Technical Field
The present invention relates to the field of multimedia services, and in particular, to a method, a terminal, a server, and a readable storage medium for controlling a state of a private ring back tone service.
Background
The private color ring back tone is a special customized video color ring back tone service set by a user for the user. For example, the terminal a supports playing video color ring, the user sets the terminal a to open a private color ring service, and when the terminal a calls the terminal B, the interface of the terminal a displays the video color ring picture set by the user no matter whether the terminal B opens the video color ring service or not.
In the process of using the private CRBT, when a user sets a terminal to open the private CRBT service, a private CRBT switch of a CRBT operator APP is opened, and the terminal requests to play the video CRBT when calling; when the private color ring service of the terminal expires, the private color ring switch is not closed, but if the private color ring switch of the terminal is not closed, the terminal cannot normally request to play the video color ring and cannot perform video call.
Disclosure of Invention
The application provides a control method, a terminal, a server and a readable storage medium for a private CRBT service state, and aims to enable the terminal to automatically switch between normal video call and video CRBT play after the private CRBT service of the terminal expires, so that user experience is improved.
In a first aspect, the present application provides a method for controlling a state of a private ring back tone service, which is applied to a calling terminal, where the method includes:
when a calling terminal initiates a call request, detecting the current state of a private color ring service of the calling terminal;
inquiring the private color ring switch state of the calling terminal when the service state is an expiration state;
and triggering the operation of switching the private color ring switch state when the private color ring switch state is in an on state.
According to the control method for the private CRBT service state, when a calling terminal initiates a call request, the current state of the private CRBT service of the calling terminal is detected, if the current state is an expiration state, whether the private CRBT switch is in an on state or not is inquired, if the private CRBT switch is in an on state, the operation for switching the private CRBT switch state is triggered, if the private CRBT switch is closed, after the private CRBT switch is closed, the calling terminal is not influenced by the private CRBT service, the ordinary video CRBT procedure can be executed, further, the video call can be realized, and if the video CRBT set by a called terminal, the calling terminal can play the video CRBT, so that the normal video call and the video CRBT play can be automatically switched after the terminal private CRBT service expires, the use effect of the video CRBT is improved, and the user experience is improved.
In one possible implementation manner, the step of detecting the current state of the private ring back tone service of the calling terminal includes:
the calling terminal sends a request message for acquiring the current state of the private CRBT to the communication base station;
and receiving response information returned by the communication base station based on the request message, and determining the current state of the private CRBT service according to the response information.
In another possible implementation manner, the step of determining the current state of the private ring back tone service according to the response information includes:
judging whether the private CRBT service identifier carried in the response information is in a failure state or not;
and when the private CRBT service identifier is in a failure state, determining that the current state of the private CRBT service is an expiration state.
In another possible implementation manner, the request message is an UPdate message, where the UPdate message carries an indication of acquiring the identifier of the private ring back tone service.
In another possible implementation manner, the step of triggering the operation of switching the state of the private ring back tone switch includes:
and closing the private color ring switch.
In another possible implementation manner, the step of triggering the operation of switching the state of the private ring back tone switch includes:
outputting prompt information for closing the private color ring switch to prompt a user to close;
and when the closing operation of the private color ring switch is detected, closing the private color ring switch.
In another possible implementation manner, the step of triggering the closing operation of the private ring back tone switch of the calling terminal includes:
The step of triggering the operation for switching the state of the private color ring switch comprises the following steps:
outputting prompt information for closing the private CRBT switch to prompt a user to close the private CRBT switch of the CRBT operator APP in the calling terminal;
and when the closing operation of the private color ring switch is detected, closing the private color ring switch.
In another possible implementation manner, the step of querying the state of the private ring back tone switch of the calling terminal includes:
inquiring whether a private color ring switch of an APP in the calling terminal is gray or not;
if not, the private color ring switch state is an open state.
In another possible implementation manner, after the step of triggering the operation of switching the state of the private ring back tone switch, the method further includes:
carrying out SDP negotiation on the video media again with the communication base station;
and when receiving the video color ring back tone returned by the communication base station, playing the video color ring back tone and establishing a call.
In another possible implementation manner, after the step of renegotiating the video media SDP with the communication base station, the method further includes:
and playing the traditional video ringtone when receiving the returned prompt message for playing the traditional video ringtone.
In another possible implementation manner, after the step of triggering the operation of switching the state of the private ring back tone switch, the method further includes:
switching to voice call or ending the call request;
when a call request is initiated again, the calling terminal and the communication base station complete video media SDP negotiation;
receiving the video color ring back tone returned by the communication base station, playing the video color ring back tone, and establishing a call.
In a second aspect, the present application further provides a method for controlling a state of a shared ring back tone service, which is applied to a ring back tone operator server, where the method includes:
the method comprises the steps that a CRBT operator server receives an expiration message of a private CRBT service sent by a calling terminal, wherein the expiration message is sent to the CRBT operator server by the calling terminal, and when a calling terminal initiates a call request, if the private CRBT service expires and a private CRBT switch state of the calling terminal is an on state, the expiration message is sent to the CRBT operator server;
and switching the private color ring switch state of the calling terminal to a closed state.
In one possible implementation manner, the step of switching the state of the private ring back tone switch of the calling terminal to the off state includes:
Popping up an expiration message of the private color ring back tone service;
when the request for re-handling the private CRBT service is not received within a preset time, setting gray a private CRBT switch of a CRBT operator APP in the calling terminal;
and when the request is received from the private ring back tone service in a preset time interval, maintaining the opening state of the private ring back tone switch of the operator APP.
In a third aspect, the present application further provides a calling terminal, including: the system comprises a detection module, a query module and a processing module;
the detection module is used for detecting the current state of the private CRBT service of the calling terminal;
the inquiring module is used for inquiring the state of the private ring back tone switch of the calling terminal when the current state is an expiration state;
and the processing module is used for triggering the operation of switching the private color ring switch state when the private color ring switch state is in an open state.
In a fourth aspect, the present application further provides a server of a polyphonic ringtone operator, including: a receiving module and a processing module;
the receiving module is configured to receive an expiration message of a private ring back tone service sent by a calling terminal, where the expiration message is sent by the calling terminal to a ring back tone operator server, and when the calling terminal initiates a call request, if the private ring back tone service expires and a private ring back tone switch state of the calling terminal is an on state, then the expiration message is sent to the ring back tone operator server;
And the processing module is used for switching the private color ring switch state of the calling terminal into a closed state.
In a fifth aspect, the present application further provides a terminal, including: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the terminal, cause the terminal to perform the method for controlling the state of the private ring back tone service as described in the first aspect or any one of the possible implementations of the first aspect.
In a fifth aspect, the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, causes the processor to execute the method for controlling the state of the private ring back tone service according to the first aspect or any one of the possible implementation manners of the first aspect.
In a sixth aspect, the present application provides a chip, where the chip includes a processor and a data interface, where the processor reads an instruction stored on a memory through the data interface, and executes the control method of the state of the private ring back tone service in the first aspect or any one of possible implementation manners of the first aspect.
Optionally, as a possible implementation manner, the chip may further include a memory, where the memory stores instructions, and the processor is configured to execute the instructions stored on the memory, and when the instructions are executed, the processor is configured to execute the method for controlling the state of the private ring back tone service in the first aspect or any one of the possible implementation manners of the first aspect.
Drawings
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 2 is a software architecture block diagram of a terminal according to an embodiment of the present application;
fig. 3 is an interaction diagram of a method for controlling a state of a private ring back tone service according to an embodiment of the present application;
fig. 4 is a private color ring switch interface diagram related to a method for controlling a state of a private color ring service according to an embodiment of the present application;
fig. 5 is a flowchart of a method for controlling a state of a private ring back tone service according to another embodiment of the present application;
fig. 6 is a flowchart of a method for controlling a state of a shared color ring back tone service according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a calling terminal provided in the present application;
fig. 8 is a schematic structural diagram of a server of a private ring back tone provider provided in the present application;
FIG. 9 is a diagram of a call interface provided in one embodiment of the present application;
fig. 10 is a schematic diagram of a call interface according to another embodiment of the present application.
Detailed Description
The terms first, second, third and the like in the description and in the claims and drawings are used for distinguishing between different objects and not for limiting the specified sequence.
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.
For clarity and conciseness of the following descriptions of the embodiments, a brief description of an implementation scheme of controlling a state of a private color ring service is given first:
the private color ring back tone service is different from the common video color ring back tone service, wherein the common video color ring back tone service means that a terminal A supports to play video color ring back tone, and a terminal B opens the video color ring back tone service, so that when the terminal A calls the terminal B, a video color ring back tone picture opened by the terminal B appears on the interface of the terminal A. And the private color ring is a special customized video color ring service set by the user for the user. For example, the terminal a supports playing video color ring, the user sets the terminal a to open a private color ring service, and when the terminal a calls the terminal B, the interface of the terminal a displays the video color ring picture set by the user no matter whether the terminal B opens the video color ring service or not. Some terminals support both ordinary video color ring and private video color ring.
However, in the process of using the private CRBT, when a user sets a terminal to open the private CRBT service, a private CRBT switch of a CRBT operator APP is opened, and the terminal requests to play the video CRBT when calling; after the private CRBT service of the terminal expires, the CRBT operator server does not synchronously expire information, so that the private CRBT switch is not closed. However, if the private ring back tone switch of the terminal is not closed, the terminal recognizes the private ring back tone service and requests to execute the private ring back tone service, and the telephone application server does not issue the private ring back tone video, so that when the terminal calls the video call, the terminal cannot normally request to play the video ring back tone (including the common video ring back tone opened by the called terminal and cannot play the common video ring back tone), the video call cannot be performed, but the terminal is converted into the common voice call, and the video call effect of the terminal is affected.
Based on the problems in the above technical solutions, the present application provides a method for controlling the state of a private ring back tone service, where when a calling terminal initiates a call request, the current state of the private ring back tone service of the calling terminal is obtained through a communication base station (a phone application server); when the service state is an expiration state (failure state) and the private ring back tone switch of the calling terminal is still in an opening state, automatically triggering the closing operation of the private ring back tone switch of the calling terminal, when the private ring back tone switch is closed, the calling terminal does not execute the flow of the private ring back tone, and executes the flow according to the normal video call flow, if the called terminal opens the ordinary video ring back tone service, the ordinary video ring back tone flow is executed, and the video ring back tone of the called terminal is played at the interface of the called terminal; if the called terminal does not open the ordinary video color ring service, executing the traditional video ring flow, and playing the traditional video ring on the interface of the called terminal. Based on the method, after the expiration of the private CRBT service, the method can be automatically switched to the common video call, so that the situation that the terminal cannot normally play the video CRBT and cannot perform the video call is avoided, the using effect of the CRBT service is improved, and the user experience is improved. The provided control method for the state of the private color ring back tone service can be suitable for electronic devices such as mobile phones, tablet computers, desktop, laptop, notebook computers, ultra-mobi le persona l computer (UMPC), handheld computers, netbooks, personal digital assistants (Persona l Digita l Ass i stant, PDA), wearable electronic devices, intelligent watches and the like. The structure of the electronic device, to which the method for controlling the state of the private ring back tone service is applied, may be as shown in fig. 1.
As shown in fig. 1, fig. 1 is a diagram illustrating an example of the composition of a terminal provided herein, and the terminal 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (un iversa l ser ia l bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identity module (subscr iber ident ificat ion modu le, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal 100. In other embodiments, the terminal 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (app l icat ion processor, AP), a modem processor, a graphics processor (graph ics process ing un it, GPU), an image signal processor (image s igna l processor, ISP), a controller, a video codec, a digital signal processor (d igita l s igna l processor, DSP), a baseband processor, and/or a neural network processor (neuro l-network process ing un it, 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 terminal 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 memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated ci rcu it, I2C) interface, an integrated circuit built-in audio (inter-integrated ci rcu it sound, I2S) interface, a pulse code modulation (pu l se code modu l at ion, PCM) interface, a universal asynchronous receiver transmitter (un iversa l asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobi le industry processor interface, MI PI), a general purpose input/output (GPIO) interface, a subscriber identity module (subscr iber ident ity modu le, SIM) interface, and/or a universal serial bus (un iversa l ser ia l bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (ser ia l data l ine, SDA) and a serial clock line (derai l C lock l ine, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the terminal 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MI PI interface may be used to connect the processor 110 with peripheral devices such as a display 194, a camera 193, and the like. The MI PI interface includes camera serial interface (camera ser ia l interface, CSI), display screen serial interface (d i sp l ay ser ia linterface, DSI), etc. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing function of terminal 100. The processor 110 and the display 194 communicate through a DSI interface to implement the display function of the terminal 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MI PI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a mini USB interface, a Micro USB interface, a USB type c interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal 100, or may be used to transfer data between the terminal 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the present embodiment is only illustrative, and does not limit the structure of the terminal 100. In other embodiments of the present application, the terminal 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the terminal 100. The charging management module 140 may also supply power to the terminal 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the terminal 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 terminal 100 may be configured 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 including 2G/3G/4G/5G wireless communication applied to the terminal 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noi se amp l ifier, 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 a modulator and a demodulator. 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 wireless communication module 160 may provide solutions for wireless communication including wireless local area network (Wi re less loca l area networks, WLAN) (e.g., wireless fidelity (Wi re less fide l ity, wi-Fi) network), bluetooth (BT), global navigation satellite system (globa l navigat ion sate l l ite system, GNSS), frequency modulation (frequency modu l at ion, FM), near field wireless communication technology (near fie ld commun icat ion, NFC), infrared technology (I R), etc., applied on the terminal 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of terminal 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal 100 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques may include global system for mobile communications (globa l system for mobi l e commun icat ions, GSM), general packet radio service (genera l packet rad io service, GPRS), code division multiple access (code d ivi s ion mu lt ip le access, CDMA), wideband code division multiple access (wideband code d ivi s ion mu lt ip le access, WCDMA), time division code division multiple access (t ime-d ivi s ion code d ivi s ion mu lt ip le access, TD-SCDMA), long term evolution (long term evo l ut ion, LTE), BT, GNSS, WLAN, NFC, FM, and/or I R techniques, among others. The GNSS may include a global satellite positioning system (globa l pos it ion ing system, GPS), a global navigation satellite system (globa lnavigat ion sate l l ite system, GLONASS), a beidou satellite navigation system (beidou navigat ion sate l l ite system, BDS), a quasi zenith satellite system (quas i-zen ith sate l l ite system, QZSS) and/or a satellite based augmentation system (sate l l ite based augmentat ion systems, SBAS).
Terminal 100 implements display functions via a GPU, display 194, and application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (l iqu id crysta l d i sp l ay, LCD), an Organic Light Emitting Diode (OLED), an active-matr ix organ ic l ight emitt ing d iode or active-matrix OLED (AMOLED), a Flexible Light Emitting Diode (FLED), a mini led, micro-OLED, a quantum dot light emitting diode (quantum dot l ight emitt ing d iodes, QLED), or the like. In some embodiments, the terminal 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
A series of graphical user interfaces (graph ica l user interface, GUIs) may be displayed on the display 194 of the terminal 100, all of which are home screens of the terminal 100. Generally, the display 294 of the terminal 100 is fixed in size and only limited controls can be displayed in the display 194 of the terminal 100. A control is a GUI element that is a software component contained within an application program that controls all data processed by the application program and interactive operations on that data, and a user can interact with the control by direct manipulation (d i rect man ipu l at ion) to read or edit information about the application program. In general, controls may include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and the like. For example, in the present embodiment, the display 191 may display virtual keys (one-key arrangement, start arrangement, scene arrangement).
The terminal 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coup led device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, terminal 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, etc.
Video codecs are used to compress or decompress digital video. The terminal 100 may support one or more video codecs. In this way, the terminal 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a Neural Network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of the terminal 100 can be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a MicroSD card, to realize the memory capability of the extension terminal 100. The external memory card communicates with the processor 210 through the external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the terminal 100 and data processing by executing instructions stored in the internal memory 121. For example, in the present embodiment, the processor 110 may perform scene orchestration by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (e.g., audio data, phonebook, etc.) created during use of the terminal 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (un iversa l f l ash storage, UFS), and the like. The processor 110 performs various functional applications of the terminal 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal 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 terminal 100 can listen to music or to handsfree calls 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 the terminal 100 receives a telephone call or voice message, it is possible to receive voice by approaching the receiver 170B 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 terminal 100 may be provided with at least one microphone 170C. In other embodiments, the terminal 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 terminal 100 may be further provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement 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 mobi le termina l p l atform, OMTP) standard interface, a american cellular telecommunications industry association (ce l l u l ar te lecommun icat ions industry associat ion of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The terminal 100 determines the strength of the pressure according to the change of the capacitance. When a touch operation is applied to the display 194, the terminal 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the terminal 100. In some embodiments, the angular velocity of terminal 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180B detects the angle of the shake of the terminal 100, calculates the distance to be compensated by the lens module according to the angle, and allows the lens to counteract the shake of the terminal 100 by the reverse motion, thereby realizing anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal 100 calculates altitude from barometric pressure values measured by the barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The terminal 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the terminal 100 is a folder, the terminal 100 may detect opening and closing of the folder according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the terminal 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the terminal 100 is stationary. The method can also be used for recognizing the gesture of the terminal 100, and can be applied to applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The terminal 100 may measure the distance by infrared or laser. In some embodiments, the terminal 100 may range using the distance sensor 180F to achieve quick focusing.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal 100 emits infrared light outward through the light emitting diode. The terminal 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object near the terminal 100. When insufficient reflected light is detected, the terminal 100 may determine that there is no object in the vicinity of the terminal 100. The terminal 100 can detect that the user holds the terminal 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The terminal 100 may adaptively adjust the brightness of the display 194 according to the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the terminal 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is for detecting temperature. In some embodiments, terminal 100 performs a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal 100 performs a reduction in performance of a processor located near the temperature sensor 180J in order to reduce power consumption for implementing thermal protection. In other embodiments, when the temperature is below another threshold, the terminal 100 heats the battery 142 to avoid the terminal 100 from being abnormally shut down due to low temperatures. In other embodiments, when the temperature is below a further threshold, terminal 100 performs boosting of the output voltage of battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the terminal 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset.
The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The terminal 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the terminal 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be contacted and separated from the terminal 100 by being inserted into the SIM card interface 195 or by being withdrawn from the SIM card interface 195. The terminal 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the terminal 100 employs esims, i.e.: an embedded SIM card. The eSIM card may be embedded in the terminal 100 and cannot be separated from the terminal 100.
In addition, an operating system is run on the components. Such as the hong Monte System, the iOS operating system, the Android open source operating system, the Windows operating system, and the like. An operating application may be installed on the operating system.
Fig. 2 is a block diagram of a software system of the terminal 100 according to an embodiment of the present application. Referring to fig. 2, the hierarchical architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run time) and system layer, and a kernel layer, respectively.
The application layer may include a series of application packages. As shown in fig. 2, the application package may include applications such as instant messaging, screen casting, sharing, cameras, maps, navigation, WLAN, bluetooth, music, video, short messages, etc. In this embodiment of the present application, the application layer further includes an operator APP, for example, a mobile APP, a communication APP, or a telecommunications APP, where the operator provides a private ring back tone service, and after the user opens the private ring back tone service, a private ring back tone switch in the operator APP is opened to prompt the user to open the private ring back tone service. After the private color ring of the operator APP is opened, the video port of the terminal receives the private video color ring, and then plays the private video color ring. After the private ring back tone of the operator APP is closed, the video port of the terminal can receive the common video ring back tone, and then play the common video ring back tone, or the terminal receives the traditional video ring. In addition, when the operator APP receives a switch closing instruction issued by the CRBT operator server, the private CRBT switch is closed or gray is set. And when the operator APP receives a switch opening instruction issued by the CRBT operator server, the private CRBT switch is opened or lightened.
The application framework layer provides an application programming interface (app l icat ion 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 window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is for providing communication functions of the electronic device. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system. The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules, such as: a surface manager (surface manager), a media library (Med ia Librar ies), a three-dimensional graphics processing library (e.g., openGL ES), a 2D graphics engine (e.g., SGL), etc. The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications. Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as: MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
For easy understanding, the following embodiments of the present application will take the terminal 100 having the structure shown in fig. 1 and fig. 2 as an example, and specifically describe a method for controlling the state of the shared color ring back tone service provided in the embodiments of the present application in conjunction with the drawings and the application scenario.
Fig. 3 is a block interaction diagram of a method for controlling a state of a private ring back tone service according to an embodiment of the present application.
As shown in fig. 3, the method for controlling the state of the private ring back tone service may include:
step S301: and the calling terminal initiates a call request to the called terminal and completes resource reservation of the calling terminal and the called terminal.
In the embodiment of the application, when the calling terminal initiates a video call request to the called terminal or the calling terminal initiates a call request to the called terminal which has opened the video color ring service, the video color ring program is executed so as to play the video color ring on the calling terminal.
When a calling terminal initiates a call to a called terminal, the calling terminal and the called terminal firstly complete resource reservation.
Optionally, the process of completing resource reservation between the calling terminal and the called terminal is as follows:
the calling UE sends out a call request, namely a request (I nvite) message which comprises a Session Description Protocol (SDP) of the calling terminal; after receiving the request, the CSCF network element of the called IMS domain forwards the I nvite message to a CAT AS (shared CRBT service) according to an initial filtering rule (iFC rule) configured by an operator for a user; after the CATAS finishes message processing, the processed I nvite message is returned to the CSCF; the CSCF continues to execute the iFC rules and forwards the I nvite message to the communication base station (telephony application server TAS); after finishing the message processing, the TAS returns the processed I nvite message to the CSCF; the CSCF forwards the I nvite message to the called terminal;
The called terminal receives the I nvite message and returns 183 a message to the CSCF. The 183 message indicates that the called terminal has received the call request message, and the 183 message comprises the SDP of the called terminal. 183 message will be sent to the calling terminal along the path followed by the I nvite message; the calling terminal sends an acknowledgement (PRACK) message to the called terminal, indicating that the 183 message has been received; the called terminal returns a 200OK message to the calling terminal, wherein the 200OK message carries PRACK information, which indicates that the called terminal has received the PRACK message; and the calling terminal receives the 200OK message and finishes the resource reservation of the calling terminal and the called terminal.
Step S302: carrying out private video media negotiation;
because the private CRBT service information in the operator system is not synchronous with the CRBT operator APP in the terminal, if the private CRBT service of the calling terminal expires, the operator system stops the private CRBT service, but the calling terminal cannot know the message, so that the private CRBT switch of the CRBT operator APP of the calling terminal is always in an on state (except that the user is manually closed). Based on the above, when the calling terminal performs a call, the calling terminal initiates SDP negotiation with the communication base station for the private CRBT media to request to play the private CRBT.
When receiving a negotiation request of a calling terminal, a communication base station sends a private CRBT media negotiation message to the calling terminal; and the calling terminal determines a video media negotiation result according to the private CRBT media negotiation message and the media capability information of the calling terminal. The calling terminal sends a video media negotiation result to the communication base station, the communication base station sends the video media negotiation result to the private CRBT operator server according to the video media negotiation result to request to play the video CRBT, and the private CRBT operator server transmits a video media stream to the calling terminal through the communication base station so as to play the video CRBT. The video media negotiation result includes, but is not limited to, information that the calling terminal supports the video media, I P address where the calling terminal receives the video media, information of a video channel port, information of video encoding/decoding, and the like.
If the private color ring service started by the calling terminal expires, in the process of carrying out private video media negotiation between the active terminal and the communication base station or the private color ring operator server, when the communication base station recognizes that the private color ring service of the calling terminal is not in the effective period, the communication base station does not request the private video color ring set by the calling terminal from the private color ring operator server, and based on the incapability of playing video color ring, the communication base station sets the video port of the calling terminal to 0, and the calling terminal switches to voice communication, so that the calling terminal cannot carry out video communication and cannot play video color ring under the condition that the private color ring service expires and based on the fact that the private switch is in an open state.
Based on the above, in order to avoid the situation that after the private ring back tone service started by the terminal expires, if the user does not close the private ring back tone switch in the operator APP in time, the terminal cannot make video call and cannot play video ring back tone. When a calling terminal calls a called terminal, the method detects the current state of a private CRBT service of the calling terminal in the process of carrying out private media negotiation between the calling terminal and a communication base station or a private CRBT operation server, and determines whether the private CRBT service is in an effective state or an expiration state. And adjusting the negotiation message with the communication base station according to different states of the private color ring service.
In a possible implementation manner, the manner in which the calling terminal detects the current state of the private ring back tone service is:
the calling terminal sends a request message carrying the current state of acquiring the private color ring back tone service to the communication base station;
the request message is an UPdate message, and the UPdate message carries an indication of acquiring the private CRBT service identifier. For example, the UPdate message has a=current: qos remote none to indicate that the private ring back tone service identifier is obtained.
When a calling terminal initiates a call to a called terminal, an UPdate message is sent to a communication base station to request private video media negotiation, and the UPdate message contains an indication of a private color ring service identifier and indicates the communication base station to return the identifier of the private color ring service. And after receiving the UPdate message, the communication base station returns a private video media negotiation message according to the UPdate message, wherein the private video media negotiation message carries the private color ring identifier and the state of the private color ring service.
And receiving response information returned by the communication base station based on the request message, and determining the current state of the private CRBT service according to the response information. The response information is a private video media negotiation message (UPdate 2 message returned by the communication base station) returned by the communication base station, and the calling terminal determines the state of the private color ring back tone service of the local terminal according to the private video media negotiation message.
In one possible implementation manner, if the state of the private ring back tone service is a failure state, determining that the current state of the private ring back tone service is an expiration state. That is, the private ring back tone operating system has stopped providing the private ring back tone service. For example, the private video media negotiation message carries a=current: qos remote none; a=content: g.3gpp.cat; a=at, which indicates that the calling terminal starts the private color ring service and the private color ring service is in the validity period. If the private video media negotiation message carries a=current, qos remote none; a=content: g.3gpp.cat; a=inative, it indicates that the private ring back tone service started by the calling terminal has failed (expired). Thus, in this implementation, qos remote none may be based on a=current carried in UPdate; a=content: g.3gpp.cat; a=inative, determining that the current state of the private ring back tone service of the calling terminal is an expiration state or an implementation state.
If the current state of the private CRBT service is determined to be an effective state, the calling terminal, the communication base station and the private CRBT operator server continue to complete the subsequent procedure of the private video media negotiation until the private video set by the calling terminal is played at the calling terminal.
In another possible implementation manner, the manner in which the calling terminal detects the current state of the private ring back tone service is:
and before the calling terminal sends the private video media negotiation request message to the communication base station, the calling terminal sends a request message of the current state of the private color ring service of the local terminal to the communication base station. After receiving the request message, the communication base station inquires the private CRBT service state of the calling terminal from the CRBT operator server of the calling terminal, and then responds to the request of the calling terminal based on the private CRBT service state to return response information. And the calling terminal inquires the service state of the private color ring based on the response information, and if the private color ring service of the local terminal expires, the step S303 is directly executed without sending a private video media negotiation request message to the communication base station. If the private color ring back tone service of the local terminal is in the effective period, the private video media negotiation request is normally initiated.
The method for determining the service state of the private color ring is the same as the implementation method, and the service state of the private color ring is determined by a=current in the UPdate message; a=content: g.3gpp.cat; a=inative, and therefore is not limited herein.
Step S303: the private color ring service expires, and the private color ring switch state of the calling terminal is inquired;
and when the calling terminal determines that the private CRBT service is in a failure state according to the private CRBT service identifier, determining that the private CRBT service is due. At this time, the calling terminal inquires about the state of the private ring back tone switch at the home terminal, and optionally, the private ring back tone switch is a switch in the ring back tone operator APP, that is, inquires about whether the private ring back tone switch in the ring back tone operator APP is in an on state, if so, the communication base station and the calling terminal perform normal video call, and also cannot play video ring back tone normally. If the private color ring switch is in the off state, the calling terminal can continue to complete the video media negotiation with the communication base station or the private color ring operator, thereby completing the communication flow.
In this embodiment, the calling terminal queries the operator APP to share the color ring switch in two ways, including but not limited to:
In one possible implementation manner, whether a private ring back tone switch in a ring back tone operator APP of the calling terminal is gray or not or whether the private ring back tone switch is at a closed position is queried; if not, the private color ring switch is in an open state. The calling terminal can obtain the state of the private CRBT switch by inquiring the CRBT operator APP through the system.
In another possible implementation manner, whether the video port of the calling terminal is 0 is detected; if yes, the private color ring switch is in an open state. It should be noted that, if the private ring back tone switch is in an open state and the private ring back tone service of the calling terminal has failed, the communication base station issues an instruction to set the video port of the calling terminal to 0, if the video port is 0, only a voice call can be performed, and a video call cannot be performed, based on which, when the calling terminal detects that the video port is 0, it is determined that the private ring back tone switch is in an open state.
Step S304: and when the private color ring switch state is an on state, the calling terminal closes the private color ring switch.
When the calling terminal determines that the private ring back tone switch state is the on state (as shown in fig. 4, the private ring back tone switch is the on state), the calling terminal automatically closes the private ring back tone switch adopting the operator APP, so as to avoid that the video ring back tone of the called terminal cannot be negotiated and the video call cannot be performed. It should be noted that, in this embodiment, the operation of triggering by the calling terminal to switch the private ring back tone switch is to directly close the private ring back tone switch of the ring back tone operator APP, so that the operation of switching the private ring back tone switch further includes other operations, and specifically refer to the following embodiments.
Optionally, the mode of closing the private ring back tone switch of the ring back tone operator APP may be performed by a system interface, for example, closing an interface that interfaces with the private ring back tone switch, so as to implement closing of the private ring back tone switch.
In one possible implementation manner, when the private ring back tone switch of the ring back tone operator APP is turned off, a prompt message that the private ring back tone switch has been turned off is output to prompt the user that the private ring back tone service has expired, and the private ring back tone switch is automatically turned off for the user, as shown in fig. 9. If the user needs to continue to open the private color ring, the private color ring service can be transacted again.
Step S305: and the calling terminal updates message and re-sends the UPdate message to the communication base station.
After the private CRBT switch of the CRBT operator APP is closed, the UPdate message of the calling terminal and the called terminal are reserved again, and then the process of the SDP negotiation of the video media is completed again.
In one possible implementation manner, since the private ring back tone switch is already turned off, the UPdate message of the calling terminal is different from the UPdate message initiated to the communication base station when the call request is initiated in step S301, for example, the UPdate message requests a common video media negotiation instead of the private video media negotiation, and the communication base station only needs to determine whether the called terminal opens the common video ring back tone service when responding to the common video media negotiation message, if so, the communication base station only needs to send the video ring back tone of the called terminal to the calling terminal after completing the negotiation. That is, step S301 and step S302 are performed back, and step S306 is performed directly after the private video media negotiation is completed.
In another possible implementation manner, after the private ring back tone switch of the ring back tone operator APP is turned off, the calling terminal sends an UPdate message to the communication base station again, where the UPdate message may be the same as the UPdate message initiated in step S301, and steps S301, S302 and S303 are repeated, where the private ring back tone switch is queried to be in the off state, and video media negotiation can be continuously completed between the calling terminal and the communication base station, so as to implement video ring back tone playing. That is, after the private ring back tone switch of the ring back tone operator APP is turned off, the calling terminal resends the UPdate message, and then completes resource reservation with the called terminal, and performs video media negotiation with the communication base station, so as to play the video ring back tone.
Step S306: and playing the video color ring of the called terminal, and establishing a call.
After the calling terminal and the communication base station complete the video media negotiation, the communication base station requests the video color ring to the color ring operator server according to the video media negotiation result, then the video color ring is sent to the calling terminal, the calling terminal plays the video color ring of the called terminal, and establishes a call to realize playing the video color ring and the video call.
In one possible implementation manner, if the called terminal opens the video color ring, in the UPdate message of the calling terminal, the UPdate message is sent to the communication base station again, after completing the video media SDP negotiation with the communication base station again, the calling terminal plays the video color ring of the called terminal, and establishes a call.
In another possible implementation manner, if the called terminal does not open the video color ring, in the UPdate message of the calling terminal, the UPdate message is sent to the communication base station again, when the communication base station performs the video media SDP negotiation with the communication base station again, the communication base station sets up a call when the calling terminal plays the traditional video based on the fact that the called terminal does not open the video color ring, the negotiation information returned to the calling terminal is a prompt message for playing the traditional video ring, and the calling terminal plays the traditional video zero.
According to the control method for the private CRBT service state, when a calling terminal initiates a call request, the current state of the private CRBT service of the calling terminal is detected, if the current state is an expiration state, whether a private CRBT switch is in an on state or not is inquired, if the private CRBT switch is in an on state, the closing operation of the private CRBT switch is triggered, when the private CRBT switch is closed, the calling terminal is not influenced by the private CRBT service, the ordinary video CRBT procedure can be executed, further, video call can be realized, and if the video CRBT set by a called terminal, the calling terminal can play the video CRBT, so that after the terminal expires, the normal video call and video CRBT play can be automatically switched.
Fig. 5 is a flowchart of a method for controlling a state of a private ring back tone service according to another embodiment of the present application, where, as shown in fig. 5, the method for controlling a state of a private ring back tone service may include:
step S501: and the calling terminal initiates a call request to the called terminal and completes resource reservation of the calling terminal and the called terminal.
Step S502: carrying out private video media negotiation;
step S503: the private color ring service expires, and the private color ring switch state of the calling terminal is inquired;
in the embodiment of the present application, the steps S501 to S503 can be referred to the embodiment shown in fig. 3, and the detailed descriptions of the steps S301 to S303 are omitted here.
Step S504: when the private color ring switch state is the on state, the calling terminal outputs prompt information for closing the private color ring switch so as to prompt a user to close the private color ring switch in the color ring operator APP in the calling terminal.
In this embodiment of the present invention, when the calling terminal determines that the private ring back tone switch is turned on, the calling terminal outputs a prompt message for turning off the private ring back tone switch on the interface of the calling terminal, so as to prompt the user that the currently turned on private ring back tone service has expired, and the private ring back tone switch of the ring back tone operator APP has no relationship yet, and needs to be manually set to be turned off, or select to turn on the private ring back tone service again, so as to continue using the private ring back tone service.
In this embodiment of the present application, the prompt information is displayed on a call page of the calling terminal, and after the user selects to end the call, the user opens the ring back tone operator APP to close the private ring back tone switch, or opens the private ring back tone service. Or, the user can switch on the color ring operator APP to close the private color ring switch or switch on the private color ring service after switching the call to background operation. It should be noted that, in this embodiment, the calling terminal triggers the operation of switching the private ring back tone switch to output the prompt information for closing the private ring back tone switch in the call interface, as shown in fig. 10.
In one possible implementation manner, the opening manner of the CRBT operator APP is that the user clicks the CRBT operator APP icon, the CRBT operator APP operates, and the CRBT operator APP is opened.
In another possible implementation manner, the calling terminal may be set to output a prompt message for closing the private ring back tone switch, which is associated with the open connection of the ring back tone operator APP, and when the user clicks the prompt message on the interface, the interface of the terminal directly jumps to the running interface of the ring back tone operator APP, or jumps to the private ring back tone switch interface of the ring back tone operator APP, so that the user may directly select to close the private ring back tone switch. Or jump to the processing interface of the private CRBT service of the CRBT operator APP, and the user can select to process the private CRBT service again.
Step S505: and establishing a voice call.
In this embodiment of the present application, since the private video color ring of the calling terminal has expired in the private video media negotiation process of the calling terminal and the communication base station, the communication base station cannot obtain the private video color ring of the calling terminal, so that the communication base station switches the call to a voice call, and the port numbers of the audio and video media lines of the session description protocol SDP in the Update message issued to the calling terminal are 0, so that the calling terminal and the called terminal establish the voice call to complete the call.
If the private ring back tone service expires and the private ring back tone switch is in an open state, the user is required to manually trigger the private ring back tone to close, or to transact the private ring back tone service again, the duration of the whole operation process is long, in order to avoid the call drop caused by overtime in the call process, and in order to avoid that the calling terminal cannot timely UPdate the message, the click call is also not effective, and the user experience is bad, therefore, in the call request, the embodiment completes the call according to the flow of the private ring back tone switch in the open state, that is to say, the video call is switched to the voice call, the call is only used for reminding the user that the private ring back tone service expires, and the private ring back tone switch is not closed, so that the user only needs the video call to be changed into the reason of the voice call. Based on the reminding, after the user performs the corresponding operation, the calling terminal can play the video color ring according to the normal common video color ring service when calling next time, or can enjoy the private color ring normally when calling next time after processing the private color ring service again.
In this embodiment, the calling terminal may complete the current call flow by switching the call to the voice call, and the calling terminal may automatically end the current call request, so that the user may initiate the call request again.
When a user initiates a call request again through a calling terminal, the calling terminal and a communication base station complete video media SDP negotiation; after the calling terminal and the communication base station complete the video media negotiation, the communication base station requests the video color ring to the color ring operator server according to the video media negotiation result, then the video color ring is sent to the calling terminal, the calling terminal plays the video color ring of the called terminal, and establishes a call to realize playing the video color ring and the video call.
In addition, the calling terminal can also send UPdate message to the communication base station again after the user manually triggers the private ring switch to close, and based on the UPdate message, the calling terminal completes the video media negotiation with the communication base station again, then plays the ring video of the called terminal, and establishes a call. That is, the calling terminal may wait for the user to complete the operation of closing the private ring back tone switch, and then re-UPdate the UPdate information to perform the video media negotiation of the current call, so as to negotiate the video ring back tone and the video call of the current call, without triggering again manually, and simplify the complicated operation. The specific description will refer to step S305 and step S306 in fig. 3, and thus will not be repeated here.
The control method of the private color ring back tone service state provided by the embodiment can prompt the user to close the private color ring back tone service switch in time when the private color ring back tone service expires, so that the situation that the terminal cannot make video call and play video color ring back tone in subsequent use is avoided.
Fig. 6 is a flowchart of a method for controlling a state of a private ring back tone service according to another embodiment of the present application. As shown in fig. 6, the method for controlling the state of the private ring back tone service may include:
step S601: and the calling terminal initiates a call request to the called terminal and completes resource reservation of the calling terminal and the called terminal.
Step S602: carrying out private video media negotiation;
step S603: the private color ring service expires, and the private color ring switch state of the calling terminal is inquired;
in the embodiment of the present application, the steps S601 to S603 can be referred to the embodiment shown in fig. 3, and the detailed descriptions of the steps S301 to S303 are omitted here.
Step S604: and when the private CRBT switch state is an on state, sending expiration information of the private CRBT service to a CRBT operator server so that the CRBT operator server can close the private CRBT switch of the calling terminal.
Because the service status information in the operator system and the CRBT operator server do not synchronously information, the private CRBT switch on the CRBT operator APP is not synchronously closed after the private CRBT service of the terminal expires. Based on the above, after the expiration of the private ring back tone service, the terminal cannot perform normal video listening and play of the video ring back tone when the terminal initiates a call request because the private ring back tone of the ring back tone operator APP is in an open state.
In the embodiment of the application, when the expiration of the private ring back tone service of the calling terminal is queried and the private ring back tone of the ring back tone operator APP is in an open state, the calling terminal actively transmits expiration information (failure information) of the private ring back tone service to the ring back tone operator server when the calling terminal cannot perform normal video listening and video playing, so as to synchronize service state information in the operator system with the ring back tone operator server. It should be noted that, in this embodiment, the calling terminal triggers the operation of switching the private ring back tone switch to send expiration information of the private ring back tone service to the ring back tone operator server, so that the service states of the ring back tone operator server and the operator system are synchronized.
Step S605: and the CRBT operator server turns off the private CRBT switch of the calling terminal.
And the CRBT operator server receives the expiration message of the private CRBT service sent by the calling terminal, and closes the private CRBT switch of the CRBT operator APP of the calling terminal, so as to avoid the private CRBT switch from affecting the normal playing of the video CRBT and the video call of the calling terminal.
In one possible implementation, the private ring-back tone switch is turned off directly, for example, the private ring-back tone switch is switched to the off position.
In another possible implementation manner, in order to avoid that the user manually opens the private ring back tone switch of the ring back tone operator APP again (in the case of not re-subscribing to the private ring back tone service), the ring back tone operator server grey the private ring back tone switch in the ring back tone operator APP of the calling terminal. It should be noted that, to gray the private ring back tone switch refers to directly setting the private ring back tone switch as an inoperable control, and the user cannot manually open the private ring back tone switch.
Optionally, in this embodiment, the ring back tone operator server may directly gray a private ring back tone switch in a ring back tone operator APP of the calling terminal.
Optionally, the ring back tone operator server may also gray the private ring back tone switch when it is clear that the user is no longer transacting the private ring back tone service. For example, when receiving an expiration message of a private ring back tone service sent by a calling terminal, a ring back tone operator server pops up the expiration message of the private ring back tone service, and can pop up on an interface of a ring back tone operator APP or on a current calling interface; the user can transact the private color ring service in the color ring operator APP. If the request for re-handling the private CRBT service is not received within the preset time, the private CRBT switch of the operator APP is gray, and the user cannot manually open the private CRBT switch. If the request is received from the private ring back tone service in the preset time interval, the opening state of the private ring back tone switch of the operator APP is maintained, and the calling terminal continues to enjoy the private ring back tone service.
Optionally, in one possible implementation manner, before the ring back tone operator server closes the private ring back tone switch in the ring back tone operator APP of the calling terminal, the expiration information may be checked, so as to avoid error of the expiration information provided by the calling terminal. For example, the private ring back tone service information of the calling terminal is requested to an operator system, when the private ring back tone service information returned by the operator system is obtained, whether the private ring back tone service of the calling terminal has expired is checked according to the private ring back tone service information, if yes, a private ring back tone switch in a ring back tone operator APP of the calling terminal is closed. If not, the private CRBT service unexpired information is fed back to the calling terminal, and the calling terminal is prompted to recheck the current service state of the private CRBT of the home terminal.
Step S606: the calling terminal UPdate message is sent to the communication base station again;
step S607: and playing the video color ring of the called terminal, and establishing a call.
In one possible implementation manner, after the ring back tone operation server turns off a private ring back tone switch in a ring back tone operator APP of the calling terminal, the calling terminal may send an UPdate message to the communication base station again to perform video media negotiation, so as to realize video call and play video ring back tone. In the embodiment shown in fig. 3, the steps S606 to S607 can be referred to as the specific description of the steps S305 to S306, and thus are not repeated here.
Or in another possible implementation manner, in the call request, whether the server of the CRBT operator closes the private CRBT switch in the APP of the CRBT operator or not, the calling terminal completes the call request according to the voice call. After step S604 is performed, a voice call is established. Because the private video color ring of the calling terminal is expired in the private video media negotiation process of the calling terminal and the communication base station, the communication base station cannot obtain the private video color ring of the calling terminal, so that the communication base station switches the call into a voice call, and the port numbers of the audio and video media lines of the session description protocol SDP in the Update message issued to the calling terminal are 0, thus, the calling terminal and the called terminal establish the voice call to complete the call.
If the private color ring service expires and the private color ring switch is in an open state, the color ring operator server is required to close the private color ring switch, and the specific closing time of the color ring operator server is uncontrollable, so that in the call request, the implementation mode completes the call according to the flow of the private color ring switch in the open state, that is to say, the video call is switched to the voice call, the call is only for reminding the user that the private color ring service expires, and the private color ring switch is not closed, so that the user only needs to change the video call into the voice call. Based on the reminding, after the user performs the corresponding operation, the calling terminal can play the video color ring according to the normal common video color ring service when calling next time, or can enjoy the private color ring normally when calling next time after processing the private color ring service again.
In this embodiment, the calling terminal may complete the current call flow by switching the call to the voice call, and the calling terminal may automatically end the current call request, so that the user may initiate the call request again.
When a user initiates a call request again through a calling terminal, the calling terminal and a communication base station complete video media SDP negotiation; after the calling terminal and the communication base station complete the video media negotiation, the communication base station requests the video color ring to the color ring operator server according to the video media negotiation result, then the video color ring is sent to the calling terminal, the calling terminal plays the video color ring of the called terminal, and establishes a call to realize playing the video color ring and the video call.
The control method of the private ring back tone service state provided by the embodiment can update service state information in the ring back tone operator server in time when the private ring back tone service expires, so as to remind the ring back tone operator server of solving the problem that the normal operation of the video call of the terminal is affected and the terminal cannot play the video ring back tone is affected when the private ring back tone switch is not closed in time.
According to the control method for the private CRBT service state, the problems that after the private CRBT service expires, the terminal cannot play the video CRBT and carry out the video call service are solved by combining the control of the video CRBT playing and the video call flow through the SI P signaling and the state of the private CRBT switch of the CRBT operator APP. And the user is reminded to close the private color ring switch or automatically close the private color ring switch through the interface prompt, so that automatic control is realized, or the user is reminded of the reason that the user cannot conduct video call and play the private color ring at present; or the operator private color ring server synchronizes the state information of the user service, so that the on-off state of the private color ring of the communication APP is changed, and the user does not need to turn off the switch after the service expires.
Fig. 7 shows a schematic structural diagram of a calling terminal provided in the present application. The calling terminal 700 provided by the present application includes: a detection module 701, a query module 702 and a processing module 703;
in one possible implementation manner, the detection module is configured to detect a current state of a private ring back tone service of the calling terminal;
the inquiring module is used for inquiring the state of the private ring back tone switch of the calling terminal when the current state is an expiration state;
and the processing module is used for triggering the operation of switching the private color ring switch state when the private color ring switch state is in an open state.
Fig. 8 shows a schematic structural diagram of a server of a polyphonic ringtone provider provided in the present application. The calling terminal 800 provided in the present application includes: a receiving module 801 and a processing module 802;
the receiving module is used for receiving an expiration message of the private CRBT service sent by the calling terminal, wherein the expiration message initiates a call request for the calling terminal, and detects that the private CRBT service expires, and the private CRBT switch of the calling terminal is sent to a CRBT operator server when not closed;
and the processing module is used for setting ash of the private color ring switch of the calling terminal by a user.
It should be understood that the terminal herein is embodied in the form of functional modules. The term "module" herein may be implemented in software and/or hardware, and is not specifically limited thereto. For example, a "module" may be a software program, a hardware circuit, or a combination of both that implements the functionality described above. The hardware circuitry may include application specific integrated circuits (app l icat ion specific integrated ci rcu it, ASICs), electronic circuits, processors (e.g., shared, proprietary, or group processors, etc.) and memory for executing one or more software or firmware programs, merged logic circuits, and/or other suitable components that support the described functions.
The application also provides a terminal, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the electronic device, cause the electronic device to perform the method of controlling the state of the private ring back tone service as described in the first aspect or any of the possible implementations of the first aspect.
The present application further provides a computer readable storage medium, in which a computer program is stored, where the computer program, when executed by a processor, causes the processor to execute the method for controlling the state of the private ring back tone service according to the first aspect or any one of the possible implementation manners of the first aspect.
The application further provides a chip, the chip comprises a processor and a data interface, the processor reads the instruction stored on the memory through the data interface, and the control method of the private ring back tone service state of the first aspect or any one of possible implementation manners of the first aspect is executed.
Optionally, the chip may further include a memory, where the memory stores instructions, and the processor is configured to execute the instructions stored in the memory, and when the instructions are executed, the processor is configured to execute the method for controlling the state of the private ring back tone service according to the first aspect or any one of possible implementation manners of the first aspect.
The memory may be read-on-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or other types of dynamic storage devices that can store information and instructions, electrically erasable programmable read-only memory (e lectr ica l lyerasab le programmab le read-on-memory, EEPROM), compact disc read-only memory (compact d i sc read-on-y memory, CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media, or any other magnetic storage device that can be utilized to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, etc.
In this embodiment, "and/or" describes an association relationship of an association object, which means that there may be three relationships, for example, a and/or B, and may mean that there is a alone, a and B together, and B alone. Wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of the following" and the like means any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c may represent: a, b, c, a-, b, a-, c, b-, c, or a-, b-, c, wherein a, b, c may be single or plural.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in the embodiments disclosed herein can be implemented as a combination of electronic hardware, computer software, and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In several embodiments provided herein, any of the functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in 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 foregoing is merely specific embodiments of the present application, and any person skilled in the art may easily conceive of changes or substitutions within the technical scope of the present application, which should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. The method is characterized by being applied to a calling terminal, and comprises the following steps:
when a calling terminal initiates a call request, detecting the current state of a private color ring service of the calling terminal;
inquiring the private color ring switch state of the color ring operator APP in the calling terminal when the service state is an expiration state;
when the state of the private color ring switch is an on state, the private color ring switch is closed; or,
outputting prompt information for closing the private CRBT switch to prompt a user to close the private CRBT switch of the CRBT operator APP in the calling terminal, and closing the private CRBT switch when the closing operation of the private CRBT switch is detected; or,
and when the private CRBT switch state is an on state, sending expiration information of the private CRBT service to a CRBT operator server so that the CRBT operator server can close the private CRBT switch of the calling terminal.
2. The method for controlling the state of the private ring back tone service according to claim 1, wherein the step of detecting the current state of the private ring back tone service of the calling terminal comprises:
sending a request message for acquiring the current state of the private color ring back tone service to a communication base station;
and receiving response information returned by the communication base station based on the request message, and determining the current state of the private CRBT service according to the response information.
3. The method for controlling the state of the private ring back tone service according to claim 2, wherein the step of determining the current state of the private ring back tone service according to the response information comprises:
judging whether the private CRBT service identifier carried in the response information is in a failure state or not;
and when the private CRBT service identifier is in a failure state, determining that the current state of the private CRBT service is an expiration state.
4. The method for controlling the state of the private ring back tone service according to claim 2, wherein the request message is an UPdate message, and the UPdate message carries an indication for acquiring the identifier of the private ring back tone service.
5. The method for controlling the state of a private ring back tone service according to claim 1, wherein the step of querying the state of a private ring back tone switch of a ring back tone operator APP in the calling terminal comprises:
Inquiring whether a private color ring switch of an APP in the calling terminal is gray or not;
if not, the private color ring switch state is an open state.
6. The method for controlling the state of a private ring back tone service according to any one of claims 1 to 5, wherein the method further comprises:
carrying out SDP negotiation on the video media again with the communication base station;
and when receiving the video color ring back tone returned by the communication base station, playing the video color ring back tone and establishing a call.
7. The method for controlling the state of the shared color ring back tone service as recited in claim 6, wherein after the step of re-negotiating the video media SDP with the communication base station, further comprises:
and playing the traditional video ringtone when receiving the returned prompt message for playing the traditional video ringtone.
8. The method for controlling the state of a private ring back tone service according to any one of claims 1 to 5, wherein the method further comprises:
switching to voice call or ending the call request;
when a call request is initiated again, completing video media SDP negotiation with the communication base station;
receiving the video color ring back tone returned by the communication base station, playing the video color ring back tone, and establishing a call.
9. The method is characterized by being applied to a CRBT service server, and comprises the following steps:
receiving an expiration message of a private CRBT service sent by a calling terminal, wherein the expiration message is sent to a CRBT operator server when the calling terminal inquires that the private CRBT service is due and a private CRBT switch state of a CRBT operator APP is an on state;
and switching the private color ring switch state of the calling terminal to a closed state.
10. The method for controlling the state of the private ring back tone service according to claim 9, wherein the step of switching the state of the private ring back tone switch of the calling terminal to the off state comprises:
popping up an expiration message of the private color ring back tone service;
when the request for re-handling the private CRBT service is not received within a preset time, setting gray a private CRBT switch of a CRBT operator APP in the calling terminal;
and when the request is received from the private ring back tone service in a preset time interval, maintaining the opening state of the private ring back tone switch of the operator APP.
11. A calling terminal, comprising: the system comprises a detection module, a query module and a processing module;
The detection module is used for detecting the current state of the private CRBT service of the calling terminal;
the inquiring module is used for inquiring the private color ring switch state of the color ring operator APP in the calling terminal when the current state is an expiration state;
the processing module is used for closing the private color ring switch when the state of the private color ring switch is an on state; or,
when the state of the private CRBT switch is an on state, the method outputs prompt information for closing the private CRBT switch to prompt a user to close the private CRBT switch of a CRBT operator APP in the calling terminal, and when the closing operation of the private CRBT switch is detected, the private CRBT switch is closed; or,
and the method is used for sending expiration information of the private CRBT service to a CRBT operator server when the private CRBT switch state is an on state, so that the CRBT operator server can close the private CRBT switch of the calling terminal.
12. A color ring operator server, comprising: a receiving module and a processing module;
the receiving module is used for receiving an expiration message of the private CRBT service sent by the calling terminal, wherein the expiration message is sent to a CRBT operator server when the calling terminal inquires that the private CRBT service is due and a private CRBT switch state of a CRBT operator APP is an on state;
And the processing module is used for switching the private color ring switch state of the calling terminal into a closed state.
13. A terminal, comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the terminal, cause the terminal to perform the method of controlling the state of the private ring back tone service according to any one of claims 1 to 8 or 9 to 10.
14. A computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the processor is caused to perform the method for controlling the state of the private ring back tone service according to any one of claims 1 to 8 or 9 to 10.
CN202211425741.5A 2022-11-14 2022-11-14 Control method, terminal, server and storage medium for private color ring back tone service state Active CN116668586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211425741.5A CN116668586B (en) 2022-11-14 2022-11-14 Control method, terminal, server and storage medium for private color ring back tone service state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211425741.5A CN116668586B (en) 2022-11-14 2022-11-14 Control method, terminal, server and storage medium for private color ring back tone service state

Publications (2)

Publication Number Publication Date
CN116668586A CN116668586A (en) 2023-08-29
CN116668586B true CN116668586B (en) 2024-03-19

Family

ID=87724845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211425741.5A Active CN116668586B (en) 2022-11-14 2022-11-14 Control method, terminal, server and storage medium for private color ring back tone service state

Country Status (1)

Country Link
CN (1) CN116668586B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767564A (en) * 2004-10-30 2006-05-03 华为技术有限公司 Method for informing color ring back tone maturity
CN1905597A (en) * 2006-08-04 2007-01-31 华为技术有限公司 Method and system for providing ringring tone service to calling party
CN101540801A (en) * 2008-03-18 2009-09-23 中国移动通信集团公司 Method, device and system for realizing coloring ring back tone service
CN101646103A (en) * 2009-09-08 2010-02-10 中兴通讯股份有限公司 Multimedia color bell back tone service method, system and multimedia color bell back tone server
CN113132923A (en) * 2019-12-31 2021-07-16 华为技术有限公司 Method, system and related device for processing call

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767564A (en) * 2004-10-30 2006-05-03 华为技术有限公司 Method for informing color ring back tone maturity
CN1905597A (en) * 2006-08-04 2007-01-31 华为技术有限公司 Method and system for providing ringring tone service to calling party
CN101540801A (en) * 2008-03-18 2009-09-23 中国移动通信集团公司 Method, device and system for realizing coloring ring back tone service
CN101646103A (en) * 2009-09-08 2010-02-10 中兴通讯股份有限公司 Multimedia color bell back tone service method, system and multimedia color bell back tone server
WO2011029367A1 (en) * 2009-09-08 2011-03-17 中兴通讯股份有限公司 Method and system for state service of customized multimedia ringing service, and customized multimedia ringing server
CN113132923A (en) * 2019-12-31 2021-07-16 华为技术有限公司 Method, system and related device for processing call

Also Published As

Publication number Publication date
CN116668586A (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN113905179B (en) Method for switching cameras by terminal and terminal
EP4319169A1 (en) Screen projection method for electronic device, and electronic device
US11843712B2 (en) Address book-based device discovery method, audio and video communication method, and electronic device
US11973895B2 (en) Call method and apparatus
CN114125130B (en) Method for controlling communication service state, terminal device and readable storage medium
US20230351048A1 (en) Application Permission Management Method and Apparatus, and Electronic Device
CN114115770B (en) Display control method and related device
US11792631B2 (en) Emergency call method and user terminal
CN113141483B (en) Screen sharing method based on video call and mobile device
JP2022515446A (en) Connection establishment method and terminal device
CN114915747B (en) Video call method, electronic device and readable storage medium
CN117425227A (en) Method and device for establishing session based on WiFi direct connection
CN116668586B (en) Control method, terminal, server and storage medium for private color ring back tone service state
CN115460445B (en) Screen projection method of electronic equipment and electronic equipment
CN111801931B (en) Method for switching on and hanging up telephone when call occurs SRVCC switch
CN116708674B (en) Communication method and electronic equipment
CN116744187B (en) Speaker control method and device
EP4339770A1 (en) Screen sharing method and related device
CN116489272B (en) Voice message playing method and electronic equipment
CN116170782A (en) Screen projection method, related device and system
CN116938950A (en) Data transmission method, electronic equipment and storage medium
CN117666820A (en) Mouse connection method and electronic equipment
CN116709220A (en) Network connection method, network connection device, electronic equipment and computer readable storage medium
CN116405594A (en) Voice communication method and device
CN117435309A (en) Task migration method, electronic equipment and system

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