Method, device and storage medium for switching audio call to video call
By reserving system resources when audio calls are switched to video calls and creating a video media channel, the problem of unsmooth switching between audio calls and video calls is solved, and a smoother interface switching is achieved.
Patent Information
- Application Number
- CN202211632247.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2042-12-19
AI Technical Summary
During the switching process of audio calls and video calls, the existing technology has problems such as unsmooth switching and lag in the interface, which is mainly due to the separation of business logic and communication logic, which leads to adaptation difficulties.
When the audio call is switched to a video call, the video service system is requested to reserve system resources and create a video media channel to ensure the smoothness of video calls between the service terminal and the user terminal.
The smoothness of the switching process between audio calls and video calls is improved, and the user terminal can switch to the video call interface in time to reduce waiting time.
Smart Images

Figure CN116248929B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular to a method, device, and storage medium for switching an audio call to a video call. Background Art
[0002] With the development of technology, more and more terminal devices have audio and video calling functions. Audio and video calls based on data traffic and wireless networks are relatively easy to implement with current technology, but users currently prefer a way to switch between audio and video calls during a call.
[0003] Currently, switching between audio and video calls often experiences slow switching and interface lag. This is because the business system is an application attached to the communication system within the call system, leaving the business logic and communication logic separate. This results in a lack of perfect adaptation when switching between audio and video calls. Making the switching between audio and video calls smoother has become an urgent issue. Summary of the Invention
[0004] The present invention provides a method, device, and storage medium for switching from an audio call to a video call. These methods are used to improve the smoothness of the switching process between audio and video calls. The technical solution of the present invention is as follows:
[0005] In a first aspect, a method for switching an audio call to a video call is provided, the method comprising:
[0006] receiving first request information from a user terminal, where the first request information is used to request that a call between the user terminal and the service terminal be switched from an audio call to a video call;
[0007] In response to receiving the first request information, sending a second request information to the video service system, the second request information being used to request the video service system to reserve system resources required for a video call between the user terminal and the service terminal;
[0008] receiving second response information from the video service system, where the second response information is used to determine that the system resources have been reserved;
[0009] In response to receiving the second response information, a third request information is sent to the service terminal, where the third request information is used to instruct the service terminal to use system resources to create a video media channel so that the service terminal and the user terminal can conduct a video call through the video media channel.
[0010] The technical solution provided by the present invention provides at least the following beneficial effects: upon receiving a first request to switch a call between a user terminal and a service terminal from an audio call to a video call, the system requests the video service system to reserve the system resources required for the video call between the user terminal and the service terminal. This allows the service terminal to use the system resources to create a video media channel, enabling the service terminal and the user terminal to conduct a video call via the video media channel, thereby improving the smoothness of the switching process between audio and video calls.
[0011] In a possible implementation, a third response message is received from the service terminal, where the third response message is used to indicate that the video media channel is successfully created; in response to receiving the third response message,
[0012] A first response message is sent to the user terminal, where the first response message is used to indicate a successful switch from an audio call to a video call.
[0013] Based on this possible implementation, if the service terminal successfully establishes a video media channel using system resources, the user terminal can promptly receive a first response message from the service terminal indicating the successful switch from an audio call to a video call. The user terminal can also promptly switch from the audio call interface to the video call interface based on the instruction, further improving the smoothness of the audio-video call switching process.
[0014] In another possible implementation, the system resources include bandwidth resources, video processing resources, and video quality inspection resources.
[0015] Based on this possible implementation, the video service system reserves the system resources required for a video call between the user terminal and the service terminal, so that the service terminal can use the system resources to create a video media channel.
[0016] In another possible implementation, the first request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
[0017] Based on this possible implementation, receiving the identification information of the call between the service terminals and the configuration information of the video call can help the service terminal successfully create a video media channel, and after successful creation, quickly find the corresponding user terminal and send a first response message to the corresponding user terminal indicating the successful switching from the audio call to the video call.
[0018] In another possible implementation, the second request information includes identification information of the call between the user terminal and the service terminal 5 and configuration information of the video call.
[0019] Based on this possible implementation, the identification information of the call between the user terminal and the service terminal can help the video service system find the user terminal that needs to reserve system resources for the video call with the service terminal in the stored user terminal list.
[0020] This helps the video service system reserve the system resources required for the corresponding user terminal to make a video call.
[0021] In a second aspect, a device for switching an audio call to a video call is provided, the device comprising:
[0022] A receiving module, configured to receive first request information from a user terminal, where the first request information is used to request that a call between the user terminal and the service terminal be switched from an audio call to a video call;
[0023] A sending module, configured to send a second request message to the video service system in response to receiving the first request message, wherein the second request message is used to request the video service system to reserve system resources required for a video call between the user terminal and the service terminal;
[0024] The receiving module is further configured to receive a second response message from the video service system, wherein the second response message is used to determine that the system resources have been reserved;
[0025] The sending module is further used to send a third request information to the service terminal in response to receiving the second response information, where the third request information is used to instruct the service terminal to use system resources to create a video media channel so that the service terminal and the user terminal can conduct a video call through the video media channel.
[0026] In a possible implementation, the receiving module is further configured to receive a third response message from the service terminal, where the third response message is used to indicate that the video media channel is successfully created.
[0027] The sending module is further used to send first response information to the user terminal in response to receiving the third response information, where the first response information is used to indicate successful switching from the audio call to the video call.
[0028] In another possible implementation, the system resources include bandwidth resources, video processing resources, and video quality inspection resources.
[0029] In another possible implementation, the first request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
[0030] In another possible implementation, the second request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
[0031] In a third aspect, a communication device is provided, comprising: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the method of switching an audio call to a video call as in the first aspect and any possible implementation thereof.
[0032] In a fourth aspect, a computer-readable storage medium is provided, on which computer instructions are stored. When the computer instructions are executed on a communication device, the communication device executes a method for switching an audio call to a video call as in the first aspect and any possible implementation thereof.
[0033] For the detailed description of the second to fourth aspects of the present invention and their various implementations, reference may be made to the detailed description of the first aspect and its various implementations. For the beneficial effects of the second to fourth aspects and their various implementations, reference may be made to the analysis of the beneficial effects of the first aspect and its various implementations, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 Provides an existing audio and video service system architecture diagram;
[0035] Figure 2 An architecture diagram of an audio and video service system provided by an embodiment of the present invention;
[0036] Figure 3 A method for switching an audio call to a video call provided by an embodiment of the present invention Figure 1 ;
[0037] Figure 4 A method for switching an audio call to a video call provided by an embodiment of the present invention Figure 2 ;
[0038] Figure 5 A schematic diagram of the structure of a device for switching an audio call to a video call provided by an embodiment of the present invention;
[0039] Figure 6 A schematic structural diagram of a communication device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0041] It should be noted that, in the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present invention should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0042] Existing audio and video calls generally use the Session Initiation Protocol (SIP) or Session Description Protocol (SDP) for call signaling control, including registration, session negotiation, session establishment, release and other processes. When the terminal initiates a call, it determines whether the call is a video call based on whether the contact header field in the caller's initial INVITE message contains a video tag or whether the SDP carries a video media line. If the initial call is a video call, it can be negotiated to be an audio call before the call, or it can be switched to an audio call by either party during the call. If the initial call is an audio call, it can be negotiated to be a video call before the call, and upgraded to a video call during the call.
[0043] For example, Figure 1 Provides an existing audio and video business system architecture diagram, such as Figure 1 As shown, the existing audio and video service system includes: user terminal 101, signaling system 102, media service system 103, service terminal 104, audio service system 105 and video service system 106.
[0044] During an audio call, the user terminal 101 , signaling system 102 , media service system 103 , service terminal 104 and audio service system 105 in the audio and video service system architecture assist in completing the relevant audio services.
[0045] During a video call, the user terminal 101 , signaling system 102 , media service system 103 , service terminal 104 and video service system 106 in the audio and video service system architecture assist in completing the relevant video service.
[0046] As can be seen above, due to the different audio and video processing logic in various industry applications, related business applications need to trigger different logic and select different program paths based on the call type to complete the overall interaction. Currently, the decision on call type is made by the terminal and communication system, and call type switching is also controlled by the terminal and communication system. The business system is more of an application attached to the communication system, and the business logic and communication logic are separated. This makes it difficult for the business system to adapt to audio and video switching scenarios.
[0047] In light of this, the present invention provides a method for switching an audio call to a video call. Upon receiving a request from a user terminal to switch a call between the user terminal and a service terminal from an audio call to a video call, the method requests the video service system to reserve the system resources required for the video call between the user terminal and the service terminal. The service terminal can then use the reserved system resources to create a video media channel, enabling the service terminal and the user terminal to conduct a video call via the video media channel, thus improving the smoothness of the audio-to-video call transition.
[0048] An embodiment of the present invention provides an optimization method for switching from an audio call to a video call, which can be applied to an apparatus for switching from an audio call to a video call. Exemplarily, the apparatus for switching from an audio call to a video call can be used in an audio and video service system architecture. Optionally, the apparatus for switching from an audio call to a video call can also implement the functions required by the apparatus for switching from an audio call to a video call via a virtual machine (VM) deployed on a physical machine.
[0049] For example, Figure 2 1 shows a schematic diagram of an audio and video service system architecture provided by an embodiment of the present invention. The audio and video service system architecture may include: a user terminal 101, a signaling system 102, a media service system 103, a service terminal 104, an audio service system 105, a video service system 106, and an audio and video service continuity switching system 107.
[0050] The audio and video service continuity switching system 107 may include a signaling capture subsystem 1071 and a control inversion subsystem 1072 .
[0051] User terminal 101 establishes a connection with signaling system 102 via signaling, is used to interact with the user, and transmits user operation instructions to signaling system 102 via signaling. User terminal 101 can be a physical machine, such as a desktop computer, a mobile phone, a tablet computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. It can also be a terminal used by users such as WeChat mini-programs, or some third-party applications.
[0052] The signaling system 102 establishes a connection with the audio and video service continuity switching system 107 through signaling, and is responsible for signaling proxy and transmission functions such as user terminal registration, session and media negotiation, and terminal release.
[0053] The media service system 103 is connected to the user terminal 101 and the service terminal 104, and exchanges and transmits media streams with the user terminal and the service terminal respectively via the Real-time Transport Protocol (RTP).
[0054] The service terminal 104 is connected to the audio service system 105 and the video service system 106 via an application program interface (API), and establishes related service media channels by calling resources reserved by the audio service system and the video service system.
[0055] The service terminal 104 establishes a connection with the audio and video service continuity switching system 107 through signaling, and is used to perform media negotiation with the control inversion subsystem 1072 in the audio and video service continuity switching system 107 .
[0056] The service terminal 104 may be a service system client such as a voice customer service system or a conference system, or may be a user terminal.
[0057] The audio service system 105 is used to reserve system resources required for audio calls between user terminals and service terminals, such as voice customer service systems and audio conferencing systems.
[0058] The video service system 106 is used to reserve system resources required for video calls between user terminals and service terminals, for example, a video customer service system, a video conferencing system, etc.
[0059] The signaling capture subsystem 1071 is used to extract SIP / SDP signaling in the signaling system 102. When audio and video switching occurs, it can sense and trigger the API interface in advance and notify the control inversion subsystem 1072 of the switching behavior.
[0060] The control inversion subsystem 1072 is connected to the audio service system 105 and the video service system 106 through an API interface, and is used to request the audio service system 105 and the video service system to reserve resources required for audio and video service interaction.
[0061] In some embodiments, the signaling capture subsystem 1071 can be divided into a SIP parsing module, an event subscription module, a SIP proxy module, and a SIP processing module according to the functions it adopts.
[0062] In some embodiments, the control inversion subsystem 1072 can be divided into a time processing module, a service orchestration module, a service mapping module, and a service control module according to the functions it adopts.
[0063] In some embodiments, continue to refer to Figure 2Based on the audio and video service system architecture, when a user terminal initiates an audio call or video call request for the first time, the specific process of building the corresponding audio and video service is as follows: after the user terminal 101 completes the registration and access process in the signaling system 102, the user terminal 101 initiates an audio and video service request and transmits it in a signaling manner; after the signaling system 102 captures the audio and video service request, it routes the audio and video service request to the signaling capture subsystem 1071 in the audio and video service continuity switching system 107 in a signaling manner; the signaling capture subsystem 1071 establishes a session negotiation announcement based on the subscription information contained in the audio and video service request, and sends the session negotiation announcement to the control inversion subsystem 1072.
[0064] Control inversion subsystem 1072 selects the corresponding service system based on the service to be established in the session negotiation announcement. For example, if the service to be established is audio, audio service system 105 is selected, and if the service to be established is video, video service system 106 is selected. After selecting the service system, the session negotiation announcement is forwarded to service terminal 104. If service terminal 104 successfully receives the session negotiation announcement, it establishes the corresponding audio channel or video channel. In this way, user terminal 101 can conduct an audio or video call with service terminal 104 via the audio and video media channel.
[0065] For example, Figure 2 When mapped to the system structure of the VOLTE video customer service system, the user terminal 101 is a VOLTE mobile phone terminal; the signaling system 102 is the IMS network signaling processing part, which is mainly responsible for the registration process of the VOLTE mobile phone terminal; the media service system 103 is the IP Multimedia Subsystem (IMS) network and the Inter-network Session BordorController (I-SBC); the service terminal 104 is the customer service system; among them, the VOLTE mobile phone terminal and the customer service system are connected to the IMS network and I-SBC to exchange and transmit media streams.
[0066] The VOLTE mobile terminal initiates an audio service request and transmits it through signaling. After receiving the request, the IMS network signaling processing part routes the request to the signaling capture subsystem in the audio service continuous line switching system in the form of signaling; the signaling capture subsystem establishes a session negotiation notification based on the subscription information contained in the audio service request, and sends the session negotiation notification to the control inversion subsystem; the control inversion subsystem selects the audio service system as the business logic service unit and forwards the session negotiation notification to the customer service system; after the customer service system processes the audio information, it establishes an audio media stream from the terminal--ISBC--customer service system, and feedbacks the negotiation success information to the VOLTE mobile terminal.
[0067] The following describes in detail a method for switching an audio call to a video call provided by an embodiment of the present invention with reference to the accompanying drawings.
[0068] Figure 3 The process of the method for switching an audio call to a video call provided by the embodiment of the present invention Figure 1 .like Figure 3 As shown, the method includes the following steps:
[0069] S101: An audio and video service continuity switching system receives first request information from a user terminal.
[0070] The first request information is used to request to switch the call between the user terminal and the service terminal from an audio call to a video call.
[0071] In some embodiments, the first request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
[0072] In some embodiments, the identification information of the call is the mobile phone number of the user terminal, or the registered account of the user terminal, or the IP address of the user terminal or other signs with user characteristic information.
[0073] In some embodiments, the configuration information of the video call includes the clarity of the video image, the size of the video image, and the transmission rate of the video image.
[0074] In some embodiments, the first request information of the user terminal is mainly generated when the user terminal is making an audio call. Specifically, the user can actively send the first request information to the audio and video service continuity switching system by manually operating the terminal device; or, when the terminal device perceives the need to switch the audio call to a video call, it triggers the relevant program and sends the first request information to the audio and video service continuity switching system.
[0075] The first request information may be transmitted via SIP / SDP signaling.
[0076] For example, if a call needs to be switched to a video call due to service requirements, the VOLTE mobile terminal can initiate an Update request to modify the media parameters to video and send the request to the IMS network signaling processing part. The IMS network routes the Update request to the audio and video service continuity switching system.
[0077] In this way, transmitting the user's request in the form of signaling transmission is conducive to protecting the user's privacy and security, and is also convenient for the signaling capture subsystem to receive and process it.
[0078] Continue to refer Figure 2 Based on the audio and video service system architecture, the implementation method of step S101 is specifically as follows: when the user terminal 101 and the service terminal 104 are conducting an audio call, the user terminal 101 initiates a first request information to switch the audio call to a video call, and transmits the first request information to the signaling capture subsystem 1071 through the signaling system 102 in the form of signaling.
[0079] For example, when the user terminal 101 is a VOLTE mobile terminal, the signaling system 102 is the IMS network signaling processing part, the media service system 103 is the IMS network and the inter-network session border controller (I-SBC), and the service terminal 104 is a customer service system, the VOLTE mobile terminal initiates a first request message; the IMS network signaling processing part receives the first request message and routes the first request message to the signaling capture subsystem through signaling.
[0080] S102: In response to receiving the first request information, the audio and video service continuity switching system sends second request information to the video service system.
[0081] The second request information is used to request the video service system to reserve system resources required for a video call between the user terminal and the service terminal.
[0082] In some embodiments, the second request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call. System resources include bandwidth resources, video processing resources, and video quality inspection resources.
[0083] In some embodiments, continue to refer to Figure 2 Based on the audio and video service system architecture, step S102 is implemented as follows: after receiving the first request information initiated by the user terminal to switch the call between the user terminal 101 and the service terminal 104 from an audio call to a video call, the signaling capture subsystem 1071 forwards the first request information to the control inversion subsystem 1072; the control inversion subsystem 1072 sends a second request information to the video service system 106; and the video service system 106 reserves the system resources required for the video call between the user terminal 101 and the service terminal 104 based on the call identification information and video call configuration information in the second request information.
[0084] In this way, the service terminal can reserve the system resources required for the video call between the user terminal and the service terminal based on the video service system, and establish a video media channel for the user terminal and the service terminal.
[0085] S103: The audio and video service continuity switching system receives second response information from the video service system.
[0086] The second response information is used by the audio and video service continuity switching system to determine that system resources have been reserved.
[0087] In some embodiments, continue to refer to Figure 2 Based on the audio and video service system architecture, step S103 is implemented as follows: after the video service system 106 successfully reserves system resources, it sends a second response message to the audio and video service continuity switching system 107. In this way, the audio and video service continuity switching system 107 can continue to switch the audio call to a video call, reducing waiting time.
[0088] S104 . In response to receiving the second response information, the audio and video service continuity switching system sends third request information to the service terminal.
[0089] The third request information is used to instruct the service terminal to use system resources to create a video media channel.
[0090] In some embodiments, continue to refer to Figure 2 Based on the audio and video service system architecture, the implementation method of step S104 is specifically as follows: after receiving the second response information, the control inversion subsystem 1072 in the audio and video service continuity switching system 107 sends a third request information to the service terminal 104, and the third request information is used to instruct the service terminal 104 to use system resources to create a video media channel.
[0091] In this way, the user terminal 101 and the service terminal 104 can conduct a video call based on the video media channel.
[0092] Based on this, by requesting the video service system to reserve the system resources required for video calls between the user terminal and the service terminal, the service terminal can use the system resources to create a video media channel, allowing the user terminal to make video calls through the video media channel, thereby improving the smoothness of the switching process between audio calls and video calls.
[0093] Figure 4 A method for switching an audio call to a video call provided by an embodiment of the present invention Figure 2 .like Figure 4 As shown, the method includes the following steps:
[0094] S105. The audio and video service continuity switching system receives third response information from the service terminal.
[0095] The third response information is used to indicate that the video media channel is created successfully.
[0096] In some embodiments, continue to refer to Figure 2 Based on the audio and video service system architecture, step S105 is specifically implemented as follows: the audio and video service continuity switching system 107 receives a third response message from the service terminal 104 indicating that the video media channel was successfully created. In this way, upon learning that the video media channel was successfully created, the audio and video service continuity switching system 107 can avoid repeatedly instructing the service terminal to use reserved system resources to create the video media channel.
[0097] S106 . In response to receiving the third response information, the audio and video service continuity switching system sends the first response information to the user terminal.
[0098] The first response information is used to indicate a successful switch from an audio call to a video call.
[0099] In some embodiments, continue to refer to Figure 2 Based on the audio and video service system architecture, the implementation method of step S106 is specifically as follows: in response to receiving the third response information, the audio and video service continuity switching system 107 sends a first response information to the user terminal, and the first response information is used to indicate a successful switch from an audio call to a video call.
[0100] Based on this, if the service terminal successfully uses system resources to establish a video media channel, the service terminal sends a first response message to the user terminal indicating the successful switch from audio to video call. This allows the user terminal to promptly switch to the video call interface, further improving the smoothness of the audio-video call switching process.
[0101] In one possible implementation, after the signaling capture subsystem captures the signaling, it notifies the control inversion subsystem of the signaling content based on the subscription information. Based on the video nature of this communication, the control inversion subsystem interacts with the video service system and, as the continuity service business logic unit, requests the video service unit to reserve resources for recording and video quality inspection. After successful resource reservation, the control inversion subsystem initiates an Update process with the customer service system for media negotiation. The customer service system receives the negotiation request and establishes a new video media channel. After the video stream is transmitted, the customer service system can view the audio and video status of the terminal camera, and the video service system enables recording and video quality inspection, thus completing the interaction logic of the entire video service. These video services can include remote photography, identity verification, audio recording, or video recording.
[0102] In actual applications, the specific implementation process of switching from a video call to an audio call is as follows:
[0103] The audio and video service continuity switching system receives a request message sent by a user terminal to switch a call between the user terminal and the service terminal from a video call to an audio call;
[0104] The audio and video service continuity switching system sends a request message to the video service system for requesting the video service system to release system resources required for a video call between the user terminal and the service terminal;
[0105] The audio and video service continuity switching system receives response information from the video service system for determining that system resources required for a video call between a user terminal and a service terminal are successfully released;
[0106] The audio and video service continuity switching system sends a request message to the service terminal to instruct the service terminal to use the relevant system resources of the audio call to create an audio media channel, so that the service terminal and the user terminal can conduct an audio call through the audio media channel;
[0107] After receiving information from the service terminal indicating that the audio media channel is successfully created, the audio and video service continuity switching system sends information to the user terminal indicating that the video call is successfully switched to the audio call.
[0108] Among them, the specific implementation method of switching from a video call to an audio call can refer to the specific implementation method of switching from an audio call to a video call mentioned above.
[0109] It is understandable that the above method can be implemented by a device for switching an audio call to a video call. In order to implement the above functions, the device for switching an audio call to a video call includes hardware structures or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in hardware or in a computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present invention.
[0110] In embodiments of the present invention, the apparatus for switching an audio call to a video call, etc., can be divided into functional modules based on the above-described method example. For example, each functional module can be divided according to its function. The above-described integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the module division in the embodiments of the present invention is illustrative and merely represents a logical functional division. In actual implementation, other division methods may be used.
[0111] In the case of dividing each functional module into corresponding functional modules, Figure 5 FIG. 1 shows a possible structural diagram of the device for switching an audio call to a video call involved in the above embodiment, which is applied to an audio and video service continuity switching system. Figure 5 As shown, the device 50 for switching an audio call to a video call includes: a receiving module 51 and a sending module 52.
[0112] A receiving module 51 is configured to receive first request information from a user terminal, where the first request information is used to request that a call between the user terminal and the service terminal be switched from an audio call to a video call;
[0113] A sending module 52 is configured to send a second request message to the video service system in response to receiving the first request message, wherein the second request message is used to request the video service system to reserve system resources required for a video call between the user terminal and the service terminal;
[0114] The receiving module 51 is further configured to receive a second response message from the video service system, where the second response message is used to determine that the system resources have been reserved;
[0115] The sending module 52 is further used to send a third request information to the service terminal in response to receiving the second response information. The third request information is used to instruct the service terminal to use system resources to create a video media channel so that the service terminal and the user terminal can conduct a video call through the video media channel.
[0116] In some embodiments, the receiving module 51 is further used to receive a third response message from the service terminal, and the third response message is used to indicate that the video media channel is successfully created; the sending module 52 is further used to send a first response message to the user terminal in response to receiving the third response message, and the first response message is used to indicate a successful switch from an audio call to a video call.
[0117] In some embodiments, system resources include bandwidth resources, video processing resources, and video quality inspection resources.
[0118] In some embodiments, the first request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
[0119] In some embodiments, the second request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
[0120] At the same time, the device diagram corresponding to the method of switching a video call to an audio call in the present invention can also refer to the above Figure 5 The description of the device 50 for switching from an audio call to a video call will not be repeated here.
[0121] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present invention provides a possible structure of the communication device involved in the above-mentioned embodiment. Figure 6 As shown, the communication device 60 includes: a processor 602 and a bus 604. Optionally, the communication device may further include a memory 601; and optionally, the communication device may further include a communication interface 603.
[0122] Processor 602 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present invention. Processor 602 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present invention. Processor 602 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, or a combination of a DSP and a microprocessor.
[0123] The communication interface 603 is used to connect to other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0124] The memory 601 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0125] As a possible implementation, memory 601 may exist independently of processor 602 and may be connected to processor 602 via bus 604 for storing instructions or program codes. When processor 602 calls and executes the instructions or program codes stored in memory 601, the method for switching from an audio call to a video call provided in an embodiment of the present invention can be implemented.
[0126] In another possible implementation, the memory 601 and the processor 602 may be integrated together.
[0127] The bus 604 may be an extended industry standard architecture (EISA) bus, etc. The bus 604 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0128] The present invention also provides a computer-readable storage medium (for example, a non-transitory computer-readable storage medium), which stores computer program instructions. When the computer program instructions are run on a computer, the computer executes a method for switching an audio call to a video call as in any of the above embodiments.
[0129] Exemplarily, the above-mentioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes, etc.), optical disks (e.g., compact disks (CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memories (EPROMs), cards, sticks, or key drives, etc.). The various computer-readable storage media described in the present invention may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.
[0130] An embodiment of the present invention provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is caused to execute the method for switching an audio call to a video call as described in any of the above embodiments.
[0131] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be covered by the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for switching an audio call to a video call, characterized in that: The method comprises: receiving first request information from a user terminal, where the first request information is used to request switching a call between the user terminal and a service terminal from an audio call to a video call; In response to receiving the first request information, sending a second request information to the video service system, wherein the second request information is used to request the video service system to reserve system resources required for the video call between the user terminal and the service terminal; receiving second response information from the video service system, where the second response information is used to determine that the system resources have been reserved; In response to receiving the second response information, a third request information is sent to the service terminal, where the third request information is used to instruct the service terminal to use the system resources to create a video media channel so that the service terminal and the user terminal can conduct a video call through the video media channel.
2. The method according to claim 1, characterized in that The method further comprises: receiving a third response message from the service terminal, wherein the third response message is used to indicate that the video media channel is successfully created; In response to receiving the third response information, a first response information is sent to the user terminal, where the first response information is used to indicate a successful switch from the audio call to the video call.
3. The method according to claim 1 or 2, characterized in that The system resources include bandwidth resources, video processing resources and video quality inspection resources.
4. The method according to claim 1 or 2, characterized in that The first request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
5. The method according to claim 1 or 2, characterized in that The second request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
6. A device for switching an audio call to a video call, characterized in that: The device comprises: A receiving module, configured to receive first request information from a user terminal, wherein the first request information is used to request that a call between the user terminal and a service terminal be switched from an audio call to a video call; a sending module configured to send a second request message to the video service system in response to receiving the first request message, wherein the second request message is used to request the video service system to reserve system resources required for a video call between the user terminal and the service terminal; The receiving module is further configured to receive second response information from the video service system, wherein the second response information is used to determine that the system resources have been reserved; The sending module is further used to send a third request message to the service terminal in response to receiving the second response message, wherein the third request message is used to instruct the service terminal to use the system resources to create a video media channel so that the service terminal and the user terminal can conduct a video call through the video media channel.
7. The device according to claim 6, characterized in that The receiving module is further configured to receive third response information from the service terminal, where the third response information is used to indicate that the video media channel is successfully created; The sending module is further configured to send first response information to the user terminal in response to receiving the third response information, where the first response information is used to indicate a successful switch from the audio call to the video call.
8. The device according to claim 6 or 7, characterized in that The system resources include bandwidth resources, video processing resources and video quality inspection resources.
9. The device according to claim 6 or 7, characterized in that The first request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
10. The device according to claim 6 or 7, characterized in that The second request information includes identification information of the call between the user terminal and the service terminal and configuration information of the video call.
11. A communication device, characterized in that: It includes a memory and a processor; the memory and the processor are coupled, the memory is used to store a computer program, and when the processor executes the computer program, it implements the method for switching an audio call to a video call as described in any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a communication device, the communication device executes the method for switching an audio call to a video call according to any one of claims 1 to 5.
Citation Information
Patent Citations
Advertisement insertion method, device, and system
CN103703798A
Interactive interface display method and device
CN105183296A