CN114285945B - Video interaction method and device and storage medium - Google Patents

Video interaction method and device and storage medium Download PDF

Info

Publication number
CN114285945B
CN114285945B CN202111514588.9A CN202111514588A CN114285945B CN 114285945 B CN114285945 B CN 114285945B CN 202111514588 A CN202111514588 A CN 202111514588A CN 114285945 B CN114285945 B CN 114285945B
Authority
CN
China
Prior art keywords
video
calling terminal
connection mode
instruction
calling
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
CN202111514588.9A
Other languages
Chinese (zh)
Other versions
CN114285945A (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.)
iMusic Culture and Technology Co Ltd
Original Assignee
iMusic Culture and Technology 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 iMusic Culture and Technology Co Ltd filed Critical iMusic Culture and Technology Co Ltd
Priority to CN202111514588.9A priority Critical patent/CN114285945B/en
Publication of CN114285945A publication Critical patent/CN114285945A/en
Application granted granted Critical
Publication of CN114285945B publication Critical patent/CN114285945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The application discloses a video interaction method, a video interaction device and a storage medium, wherein the method comprises the following steps: receiving a calling instruction of a calling terminal, and connecting with the calling terminal according to the calling instruction; acquiring a session description protocol through a script; judging whether the current connection mode is a voice connection mode or not according to the session description protocol, and if the current connection mode is the voice connection mode, reestablishing the session connection as a video mode; sending the video resource to a calling terminal; and receiving an interactive instruction sent by the calling terminal, and interacting with the calling terminal according to the interactive instruction. According to the technical scheme, more scenes can be applied and implemented in the open source field, the problem that a calling terminal cannot directly enter a video IVR interactive application scene when calling the FreeWITCH platform through common voice is solved, IVR instruction interaction after video conversation communication is realized, and user experience is optimized.

Description

Video interaction method and device and storage medium
Technical Field
The present application relates to the field of voice and video communication, and in particular, to a video interaction method, apparatus, and storage medium.
Background
FreeWITCH is a cross-platform, open source telephony softswitch platform that is very scalable and is intended to provide routing and interconnection communication protocols for audio, video, text, or any other form of media. However, freeWITCH is mainly applied to an interactive response scene in the voice aspect in the IVR field at present, a calling terminal calls a FreeWITCH platform through voice, a service flow of key interaction is basically entered according to voice prompt, an interaction mode is simple, and experience is poor. Moreover, the FreeWITCH platform does not have a scheme for directly configuring voice call video IVR, so that a calling terminal cannot directly enter an application scene of video IVR interaction when a common voice calls the FreeWITCH platform, and interaction cannot be realized through an IVR instruction after video conversation is connected, and the user experience is reduced.
Therefore, the above technical problems of the related art need to be solved.
Disclosure of Invention
The present application is directed to solving one of the technical problems in the related art. Therefore, the embodiment of the application provides a video interaction method, a video interaction device and a video interaction storage medium, so that a calling terminal can directly enter an application scene of video IVR interaction when a common voice calls a FreeWITCH platform, and user experience is optimized.
According to an aspect of an embodiment of the present application, there is provided a video interaction method, including:
receiving a calling instruction of a calling terminal, and connecting with the calling terminal according to the calling instruction;
acquiring a session description protocol through a script;
judging whether the current connection mode is a voice connection mode or not according to the session description protocol, and if the current connection mode is the voice connection mode, reestablishing the session connection to be a video mode;
sending the video resource to a calling terminal;
and receiving an interactive instruction sent by the calling terminal, and interacting with the calling terminal according to the interactive instruction.
In one embodiment, the session description protocol is obtained through a script, and the script is a Lua script.
In one embodiment, the determining whether the current connection mode is the voice connection mode according to the session description protocol includes:
and judging whether the identification bit in the session description protocol is H264/90000, and if the identification bit in the session description protocol is H264/90000, determining that the current connection mode is the voice connection mode.
In one embodiment, the media format of the reestablished session connection in video mode is: PCMU, PCMA, H264.
In one embodiment, the video resource to the calling terminal includes:
and sending the video resource to the calling terminal by a PlayAndGetDigits method of the Lua script.
In one embodiment, receiving an interactive instruction sent by a calling terminal, and interacting with the calling terminal according to the interactive instruction includes:
receiving a dual-tone multi-frequency signal key interaction instruction;
and sending the video resource contained in the dual-tone multi-frequency signal key interaction instruction to the calling terminal according to the dual-tone multi-frequency signal key interaction instruction.
According to an aspect of an embodiment of the present application, a video interaction method is provided, where the method includes:
acquiring an IVR access code borne by a FreeWITCH platform;
and calling the FreeSHUTCH platform through common voice according to the IVR access code.
In one embodiment, the method comprises:
and sending a dual-tone multi-frequency signal key instruction to the Freeswitch platform, and interacting with the Freeswitch platform through the dual-tone multi-frequency signal key instruction.
According to an aspect of embodiments of the present application, there is provided a video interaction apparatus, including:
the signaling receiving module is used for receiving a calling instruction of a calling terminal and connecting with the calling terminal according to the calling instruction;
the session reestablishing module is used for acquiring a session description protocol through the script, judging whether the current connection mode is a voice connection mode according to the session description protocol, and reestablishing the session connection to be a video mode if the current connection mode is the voice connection mode;
the signaling sending module is used for sending the video resource to the calling terminal; and receiving an interactive instruction sent by the calling terminal, and interacting with the calling terminal according to the interactive instruction.
According to an aspect of the embodiments of the present application, there is provided a storage medium storing a program executable by a processor, wherein the program executable by the processor implements the video interaction method according to the foregoing embodiments when executed by the processor.
The method for upgrading the elevator master control program provided by the embodiment of the application has the beneficial effects that: according to the method and the device, a call instruction of a calling terminal is received, a session description protocol is obtained through a script, whether the current connection mode is a voice connection mode or not is judged according to the session description protocol, if the current connection mode is the voice connection mode, the session connection is reestablished to be a video mode, video resources are sent to the calling terminal, an interaction instruction sent by the calling terminal is received, interaction is carried out with the calling terminal according to the interaction instruction, and a video IVR interaction technical scheme is achieved on a FreeS switch-on platform.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a video interaction method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an implementation environment of another video interaction method according to an embodiment of the present application;
fig. 3 is a flowchart of a video interaction method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an interaction method between a Freeswitch platform and a calling terminal according to an embodiment of the present application;
fig. 5 is a schematic workflow diagram of a video interaction method according to an embodiment of the present application;
fig. 6 is a schematic diagram of a video interaction apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
FreeWITCH is a cross-platform, open source telephony softswitch platform that is very scalable and is intended to provide routing and interconnection communication protocols for audio, video, text, or any other form of media. However, freeWITCH is mainly applied to an interactive response scene in the voice aspect in the IVR field at present, a calling terminal calls a FreeWITCH platform through voice, a service flow of key interaction is basically entered according to voice prompt, an interaction mode is simple, and experience is poor. Moreover, the Freeswitch platform does not have a scheme of directly configuring voice call video IVR, so that the calling terminal cannot directly enter an application scene of video IVR interaction when the common voice calls the Freeswitch platform, and interaction cannot be realized through an IVR instruction after the video session is connected, and the user experience is reduced.
In order to solve the above problem, the present application proposes a video interaction method, which may be applied in a terminal, or may be applied in a server, or may be applied in an implementation environment composed of a terminal and a server. In addition, the method can also be software running in a terminal or a server, such as an application program with an image feature extraction function. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, a big data and artificial intelligence platform, and the like.
Fig. 1 and fig. 2 are implementation environments of a video interaction method provided by an embodiment of the present application. The two implementation environments include different devices, and the functions of each device may be different, so that the steps performed by each device in the video interaction method may be different. The embodiment of the present application does not specifically limit what kind of implementation environment is.
In one possible implementation, referring to fig. 1, the enforcement environment may include a computer device 101, the computer device 101 may have an image capture function, and the computer device 101 may capture an image of a user for video communication. In fig. 1, a smartphone 1011, a tablet 1012, and a desktop 1013 are exemplary embodiments of a terminal; and 1014 is a server.
In another possible implementation, referring to fig. 2, the implementation environment may include a computer device 101 and an image capture device 102, and the image capture device 102 may have an image capture function. Image capture device 102 may capture an image of a user. In fig. 2, the smartphone 1011, the tablet computer 1012, and the desktop computer 1013 are exemplary embodiments of terminals; and 1014 is a server.
As shown in fig. 3, a video interaction method provided in the embodiment of the present application specifically includes:
s301, receiving a calling instruction of the calling terminal.
In this step, the FreeS WITCH platform receives a call instruction of the calling terminal, and the calling terminal calls an IVR access code, such as a TeleSey music 118100 access code, carried by the FreeS WITCH platform in a VoLTE network through a common voice mode.
S302, obtaining the session description protocol through the script.
It should be noted that the Freeswitch platform interfaces with the core network, and therefore is able to obtain the session description protocol via scripts. The core network divides the mobile network into three parts, a base station subsystem, a network subsystem and a system supporting part such as safety management, etc., the core network part is positioned in the network subsystem, and the core network is mainly used for connecting a call request or a data request sent by an A port to different networks; the Session Description Protocol (or SDP for short) describes the initialization parameters of streaming media, which are used to assist the notification of the multimedia conference and transmit the relevant setting information for the Session participants. The session description protocol is used to transmit this information to the receiving end. The session description protocol is entirely a session description format, is not a transport protocol, and uses only different appropriate transport protocols, including Session Announcement Protocol (SAP), session Initiation Protocol (SIP), real Time Streaming Protocol (RTSP), MIME extended protocol e-mail, and hypertext transfer protocol (HTTP).
In particular, the script for acquiring the session description protocol may be a Lua script. The Lua script can be stored in a Lua format through an interactive mode or a notebook editing code, run through a Lua compiler, and pack and independently run the Lua through a third-party tool. The Lua script can be flexibly embedded into the application program so as to provide flexible extension and customization functions for the application program, so that when the script for acquiring the session description protocol is the Lua script, the session description protocol can be simply and conveniently acquired, and the system load is reduced.
S303, judging whether the current connection mode is a voice connection mode according to the session description protocol.
In step S303, the connection mode includes a voice connection mode and a video connection mode, where the voice connection mode is to establish a voice connection between the calling terminal and the FreeSWITCH platform, and can implement a voice call between the calling terminal and the FreeSWITCH platform; the voice connection mode is that the video communication connection is established between the calling terminal and the Freeswitch platform, and the video call between the calling terminal and the Freeswitch platform can be realized.
And S304, if the current connection mode is the voice connection mode, reestablishing the session connection to be the video mode.
In step S304, if the current connection mode is the voice connection mode, the current connection mode needs to be converted into the video connection mode, and the present embodiment adopts a session reestablishment mode to convert the current connection mode into the video connection mode, specifically: the current session is cancelled and the session is re-established on the link between the session initiator (i.e., the calling terminal) and the session recipient (i.e., the FreeSWITCH platform) for the transfer of data.
Optionally, the determining, in step S304, whether the current connection mode is the voice connection mode according to the session description protocol may further include: and judging whether the identification bit in the session description protocol is H264/90000 or not, and if the identification bit in the session description protocol is H264/90000, determining whether the current connection mode is the voice connection mode or not. In the session description protocol, the flag of the connection mode may change according to the difference of the current connection mode, and when the current connection mode is the voice connection mode, the flag will become H264/90000, so this embodiment may determine whether the current connection mode is the voice connection mode by determining whether the flag in the session description protocol is H264/90000.
It should be noted that the media format for reestablishing the session connection in the video mode is as follows: PCMU, PCMA, H264. Both PCMU and PCMA formats provide better voice quality, so this embodiment uses PCMU and PCMA as the media format for video mode. H264 is a new generation of digital video compression format following MPEG4, one of the video codec technology standards named by the ITU-T under the name H26x series. H264 provides more excellent picture quality at the same bandwidth than other video coding standards. By this standard, the compression efficiency at the same image quality is improved by about 2 times as compared with the conventional standard (MPEG 2). Therefore, the present embodiment can obtain more excellent picture quality by using H264 as the media format of the video mode.
S305, sending the video resource to the calling terminal.
Optionally, the method for sending the video resource to the calling terminal may include: and sending the video resource to the calling terminal by a PlayAndGetDigits method of the Lua script.
S306, receiving an interactive instruction sent by the calling terminal, and interacting with the calling terminal according to the interactive instruction.
In the embodiment, a FreeS WITCH platform is used as an execution body, a session description protocol is obtained through a script by receiving a call instruction of a calling terminal, whether the current connection mode is a voice connection mode or not is judged according to the session description protocol, if the current connection mode is the voice connection mode, the session connection is reestablished to be a video mode, a video resource is sent to the calling terminal, an interaction instruction sent by the calling terminal is received, interaction is carried out with the calling terminal according to the interaction instruction, and the video IVR interaction technical scheme realized on the FreeS WITCH open source platform has more application and implementation scenes in the open source field, solves the problem that the calling terminal cannot directly enter a video IVR interaction application scene when calling the FreeS WITCH platform through common voice, realizes IVR interaction after video session connection, and optimizes user experience.
As shown in fig. 4, the present specification further explains, in the previous embodiment, receiving an interactive instruction sent by a calling terminal, and interacting with the calling terminal according to the interactive instruction:
s401, receiving a dual-tone multi-frequency signal key interaction instruction.
S402, sending the video resource contained in the dual-tone multi-frequency signal key interaction instruction to the calling terminal according to the dual-tone multi-frequency signal key interaction instruction.
After the video IVR session is successfully established in the foregoing embodiment, the FreeSWITCH platform queries corresponding video resource information, and then plays and presents video resources to the calling terminal by using the playandgetkeys method of the Lua script, the calling terminal performs instruction interaction with the FreeSWITCH platform by clicking a dial button, and after receiving a Dual Tone Multi-Frequency signal (Dual Tone Multi-Frequency) button instruction of a user, the FreeSWITCH platform implements different video streaming media resource display and related service function processing.
The application further provides a video interaction method, which specifically comprises the following steps: obtaining an IVR access code borne by a FreeWITCH platform; and calling the FreeS WITCH platform through common voice according to the IVR access code. The function of the embodiment is that the calling terminal calls the Freeswitch platform in the form of an access code, so that a session is formed between the calling terminal and the Freeswitch platform, and the communication requirement of the terminal user is met.
Optionally, in the video interaction method provided by the present application, an interaction process between the calling terminal and the FreeWITCH platform specifically includes; and the calling terminal sends a dual-tone multi-frequency signal key instruction to the Freeswitch platform, and interacts with the Freeswitch platform through the dual-tone multi-frequency signal key instruction. A user presses a key (comprising an entity key or a virtual key) on a device (such as a mobile phone, a telephone and the like) of a calling terminal, the device of the calling terminal responds to an input signal of the user and sends an output signal to a Freeswitch platform, wherein the output signal comprises an instruction (comprising an audio and video resource index and the like) sent by the calling terminal to the Freeswitch platform; the FreeWITCH platform acquires the requirement of the calling terminal after receiving the signal sent by the calling terminal, and sends the audio and video resources to the calling terminal after calling the audio and video resources.
Fig. 5 is a schematic workflow diagram of a video interaction method according to an embodiment of the present application, and as shown in fig. 5, when the video interaction method according to the present application is applied to a telecomm call, a workflow of the video interaction method according to the embodiment of the present application is as follows:
after a terminal user calls an IVR access code of the telecom favorite music 118100 video through ordinary voice, the user can receive and play hot video polyphonic ringtone resources, and simultaneously, after a dial plate key is operated according to audio prompt, the method for playing the current video polyphonic ringtone comprises the following steps:
step (1), the calling terminal dials the telecom love music 118100 video IVR access code, initiates a common voice call, and transfers the signaling request to the love music Freeswitch video IVR platform through the core network.
And (2) the FreeS WITCH video IVR platform establishes a video signaling connection channel without an inductive incoming call after confirming the session request forwarding user through a session reestablishment technology.
And (3) calling the color ring back tone service platform by the video IVR platform, and acquiring hot video color ring back tone operation guide video information resources according to the user attributes.
And (4) the video IVR platform returns the acquired recommended operation guide video to the calling terminal for display.
And (5) after the terminal user watches the guide video, operating corresponding key information, and switching the key information to the video IVR platform through the core network.
And (6) after the video IVR platform receives the user key signaling, calling the color ring back tone service platform to perform service ordering operation, and simultaneously returning successful video streaming media generated by an operation result to the user terminal.
And (7) the calling terminal receives the streaming media resource for displaying, and the user can acquire the information of successful operation.
According to the technical scheme provided by the embodiment, the calling terminal calls the FreeS WITCH video IVR platform through a common voice, the video IVR platform establishes a video signaling channel with the terminal through a reestablishment session technology, and then the video signaling channel and the IVR platform perform instruction interaction to finish high-quality video guidance operation experience.
Referring to fig. 6, an embodiment of the present invention further provides a video interaction apparatus, including:
the signaling receiving module 601 is configured to receive a call instruction of a calling terminal.
The session reestablishment module 602 is configured to obtain a session description protocol through a script, determine whether a current connection mode is a voice connection mode according to the session description protocol, and reestablish a session connection as a video mode if the current connection mode is the voice connection mode.
A signaling sending module 603, configured to send a video resource to a calling terminal; and receiving an interactive instruction sent by the calling terminal, and interacting with the calling terminal according to the interactive instruction.
It can be seen that the contents in the foregoing method embodiments are all applicable to this apparatus embodiment, the functions specifically implemented by this apparatus embodiment are the same as those in the foregoing method embodiment, and the advantageous effects achieved by this apparatus embodiment are also the same as those achieved by the foregoing method embodiment.
An embodiment of the present invention further provides a storage medium, where the storage medium stores a program, and the program is used to implement the video interaction method according to the foregoing embodiment when executed by a processor.
The contents in the above method embodiments are all applicable to the present storage medium embodiment, and the functions implemented in the present storage medium embodiment are the same as those in the above method embodiments.
Similarly, the contents in the foregoing method embodiments are all applicable to this storage medium embodiment, the functions specifically implemented by this storage medium embodiment are the same as those in the foregoing method embodiments, and the advantageous effects achieved by this storage medium embodiment are also the same as those achieved by the foregoing method embodiments.
In alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present application are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and in which sub-operations described as part of larger operations are performed independently.
Furthermore, although the present application is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the functions and/or features may be integrated in a single physical device and/or software module, or one or more functions and/or features may be implemented in a separate physical device or software module. It will also be appreciated that a detailed discussion regarding the actual implementation of each module is not necessary for an understanding of the present application. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be understood within the ordinary skill of an engineer, given the nature, function, and internal relationship of the modules. Accordingly, those skilled in the art can, using ordinary skill, practice the present application as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative of and not intended to limit the scope of the application, which is defined by the appended claims and their full scope of equivalents.
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 or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to 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 (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the foregoing description of the specification, reference to the description of "one embodiment/example," "another embodiment/example," or "certain embodiments/examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: numerous changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. A video interaction method, the method comprising:
receiving a calling instruction of a calling terminal, and connecting with the calling terminal according to the calling instruction;
acquiring a session description protocol through a script;
judging whether the current connection mode is a voice connection mode or not according to the session description protocol, and if the current connection mode is the voice connection mode, reestablishing the session connection as a video mode;
sending the video resource to a calling terminal;
wherein, sending the video resource to the calling terminal comprises: receiving a dual-tone multi-frequency signal key interaction instruction; and sending the video resource contained in the dual-tone multi-frequency signal key interaction instruction to the calling terminal according to the dual-tone multi-frequency signal key interaction instruction.
2. The video interaction method as recited in claim 1, wherein the script is a Lua script.
3. The video interaction method according to claim 1, wherein said determining whether the current connection mode is a voice connection mode according to the session description protocol comprises:
and judging whether the identification bit in the session description protocol is H264/90000 or not, and if the identification bit in the session description protocol is H264/90000, determining that the current connection mode is the voice connection mode.
4. The video interaction method according to claim 1, wherein the media format of the reestablished session connection in the video mode is: PCMU, PCMA, H264.
5. The video interaction method of claim 1, wherein the sending the video resource to the calling terminal comprises:
and sending the video resource to the calling terminal by a PlayAndGetDigits method of the Lua script.
6. The video interaction method according to claim 1, wherein the method comprises:
obtaining an IVR access code borne by a FreeWITCH platform;
and the calling terminal calls the FreeSHUTCH platform through common voice according to the IVR access code.
7. The video interaction method according to claim 6, wherein the method comprises:
and sending a dual-tone multi-frequency signal key instruction to the Freeswitch platform, and interacting with the Freeswitch platform through the dual-tone multi-frequency signal key instruction.
8. A video interaction apparatus, the apparatus comprising:
the signaling receiving module is used for receiving a calling instruction of a calling terminal and connecting with the calling terminal according to the calling instruction;
the session reestablishing module is used for acquiring a session description protocol through a script, judging whether the current connection mode is a voice connection mode or not according to the session description protocol, and reestablishing session connection to be a video mode if the current connection mode is the voice connection mode;
the signaling sending module is used for sending the video resource to the calling terminal; wherein, sending the video resource to the calling terminal comprises: receiving a dual-tone multi-frequency signal key interaction instruction; and sending the video resource contained in the dual-tone multi-frequency signal key interaction instruction to the calling terminal according to the dual-tone multi-frequency signal key interaction instruction.
9. A storage medium storing a program executable by a processor, the program being executable by the processor to implement the video interaction method according to any one of claims 1 to 7.
CN202111514588.9A 2021-12-13 2021-12-13 Video interaction method and device and storage medium Active CN114285945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111514588.9A CN114285945B (en) 2021-12-13 2021-12-13 Video interaction method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111514588.9A CN114285945B (en) 2021-12-13 2021-12-13 Video interaction method and device and storage medium

Publications (2)

Publication Number Publication Date
CN114285945A CN114285945A (en) 2022-04-05
CN114285945B true CN114285945B (en) 2023-03-24

Family

ID=80871977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111514588.9A Active CN114285945B (en) 2021-12-13 2021-12-13 Video interaction method and device and storage medium

Country Status (1)

Country Link
CN (1) CN114285945B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115883766A (en) * 2023-01-09 2023-03-31 广州讯鸿网络技术有限公司 Method, device and system for realizing 5G video interactive response of call center

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835135A (en) * 2010-03-30 2010-09-15 中兴通讯股份有限公司 System and method for realizing voice call video service

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704106B (en) * 2014-11-27 2019-11-12 腾讯科技(深圳)有限公司 A kind of visualization IVR implementation method and mobile terminal
CN107241519A (en) * 2017-06-12 2017-10-10 刘志 A kind of audio call centered video householder method and system
CN110995942B (en) * 2019-12-06 2021-08-06 科大国创软件股份有限公司 Soft switch automatic calling method and system based on interface visualization
CN111580725A (en) * 2020-05-07 2020-08-25 网经科技(苏州)有限公司 Freeswitch-based IVR graphical configuration system and method thereof
CN112492110B (en) * 2020-12-18 2022-03-25 咪咕文化科技有限公司 Video color ring interaction method, system, electronic equipment and storage medium
CN112822337B (en) * 2021-01-22 2022-09-23 深圳壹账通智能科技有限公司 Smart phone platform, incoming call method, outgoing call method, device, and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835135A (en) * 2010-03-30 2010-09-15 中兴通讯股份有限公司 System and method for realizing voice call video service

Also Published As

Publication number Publication date
CN114285945A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
US8861510B1 (en) Dynamic assignment of media proxy
EP2012516B1 (en) Customised playback telephony services
US9883028B2 (en) Method and apparatus for providing interactive media during communication in channel-based media telecommunication protocols
KR101104713B1 (en) Method and Application Server for providing early-media service based on session initiation protocol using early session
CN202918417U (en) Video conversation system based on Android set top box
KR100921554B1 (en) System for service sharing and controling contents in voice session and thereof method
US10506000B2 (en) Mesh conferencing
CN116636192A (en) Call processing system and call processing method
CN116636199A (en) Call processing method, call processing device and related equipment
CN114285945B (en) Video interaction method and device and storage medium
CN101888377A (en) Communication method, media server and communication system
US20090109957A1 (en) Content Delivery During Call Setup
CN102457772A (en) Information display method and information display device
WO2015014174A1 (en) Ring-back playing method and apparatus, and ring-back service system
EP1592216A1 (en) Content delivery during call setup
JP4867321B2 (en) Connection control apparatus and method, and program
KR20050067913A (en) System and its method for multimedia ring back service using session initiation protocol
CN111355699B (en) Voice capability implementation system
CN113572749A (en) VoLTE-based video calling method and system
CN114866647A (en) Communication method, communication system, and computer-readable storage medium
US9042528B2 (en) Data communication
US8886823B2 (en) Method of communicating between several terminals
EP2456182A1 (en) Method, system and parlay x gateway for implementing advanced call
KR100660739B1 (en) Alternation image service method for call waiting occurrence in telecommunication system
CN109729051B (en) Information processing method, set top box and computer storage medium

Legal Events

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