Method for displaying character special effect on native terminal in real time based on communication network
By introducing application servers, media servers, navigation interface modules and special effects engine modules into the communication network, special effects processing of camera video streams is realized, which solves the problem of lack of personalized processing in mobile communication services and improves user experience and interest.
Patent Information
- Application Number
- CN202410695675.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-10-22
AI Technical Summary
Existing technology is difficult to implement character special effects on user mobile terminals in mobile communication services. It lacks a complete system architecture and method processes to process video streams in a personalized manner, resulting in video effects that are not personalized and scene-based.
By introducing the application server, media server, navigation interface module and special effects engine module into the communication network, the internal special effects logic processing of the camera video stream is realized, a special effects video stream is formed, and played on the user terminal, and the special effects function is dynamically expanded to adapt to different services scene.
The dynamic expansion of special effects functions is realized on the user's native terminal, which improves the user experience and interest of the video ringtone service and meets the more personalized needs of young people.
Smart Images

Figure CN118827633A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of communication network and video processing, and in particular to a method for displaying character special effects in real time on a native terminal based on a communication network. Background Art
[0002] At present, for traditional video calls, both terminals obtain the other party's camera video stream and play the video stream to the user's mobile phone without modification through the media server. The business process is relatively simple, and the video effect is not personalized and scenario-based. With the rapid change of business and adapting to the more personalized requirements of young people, some special effects are added, such as headgear, facial deformation, beauty and other special effects. In mobile communication business, how to personalize the user video stream pushed to the terminal without changing the business process, so as to finally realize the character special effects on the user's mobile terminal, there is currently no complete system architecture and method flow, and it still needs to be developed and designed to be realized. Summary of the invention
[0003] In view of the above problems, the present invention provides a system for displaying character special effects in real time on a native terminal based on a communication network, comprising an application server AS, a media server MS, a navigation interface module, a special effects engine module and a user terminal;
[0004] The application server AS is used to load the playback service processing logic to implement functions such as signaling process control and playback control;
[0005] The media server MS is used to provide media processing functions in basic and enhanced services, including resource functions such as audio, video, data processing and conversion between different encoding and decoding algorithms, as well as communication functions and management and maintenance functions;
[0006] The navigation interface module has several functional interfaces, and corresponding functional signaling interactions are realized by calling different functional interfaces;
[0007] The special effects engine module is used to perform internal special effects logic processing on the camera video stream and form special effects video stream data;
[0008] The user terminal is used to initiate a call and receive and play special effect videos.
[0009] As a further explanation of the present invention, the functional interfaces of the navigation interface module include a first interface A, a second interface B, a third interface C, a fourth interface D and a fifth interface E; the first interface A is used for key reporting and response with the application server AS; the second interface B is used for sdp exchange and response with the special effects engine module; the third interface C is used for preparation for streaming notification with the special effects engine module; the fourth interface D is used for key reporting with the special effects engine module; and the fifth interface E is used for exit special effects notification with the special effects engine module.
[0010] On the other hand, the present invention also provides a method for displaying character special effects in real time on a native terminal based on a communication network, comprising the following steps:
[0011] Step S1, after the user terminal establishes a call, the application server AS performs media negotiation with the media server MS, and after the negotiation is completed, plays the shim video to the user terminal;
[0012] Step S2, notifying the navigation interface module of the sdp information negotiated in step S1, the session ID of this call, the calling and called numbers, etc., the navigation interface module performs internal data conversion processing, initiates an interface request for exchanging sdp information to the special effect engine module, and the navigation interface module responds to the application server AS with the special effect engine module sdp information exchanged with the special effect engine module;
[0013] Step S3, the application server AS instructs the media server MS to bridge the user terminal and the special effect engine module, and pushes the camera video stream of the user terminal to the special effect engine module, and the special effect engine module performs internal special effect logic processing to obtain special effect video stream data;
[0014] Step S4, the special effect processing module notifies the navigation interface module of the message that the special effect stream is ready, and the navigation interface module notifies the message to the application server AS, and the application server AS disconnects the gasket video, and the application server AS bridges the special effect platform and the terminal;
[0015] Step S5, the special effect engine module pushes the special effect video stream rtp to the media server MS, the media server MS pushes the special effect video stream to the user terminal, and the user terminal plays the special effect video;
[0016] Step S6, when the user terminal plays the special effect video, when the user presses a button, the business service application server AS reports the button information to the navigation interface module, and the navigation interface module notifies the special effect engine module of the button. The special effect engine module makes corresponding special effect actions according to the business logic and updates the special effect video stream content currently being pushed to the media server MS;
[0017] Step S7, during the user terminal playing the special effect video, when the user initiates hanging up or exiting the special effect function, the application server AS reports the exit information to the navigation interface module, and the navigation interface module calls the interface to report the disconnection operation to the special effect engine module, and the special effect engine module performs the disconnection and resource recovery operation with the media server MS. At the same time, the application server AS also needs to initiate the exit operation to the media server MS, and the media server MS performs resource recovery.
[0018] Furthermore, in step S2, the sdp information, the session ID of this call, the calling and called numbers and other information are notified to the navigation interface module through the interface reporting method, and the internal data conversion processing is performed in the navigation interface module.
[0019] Furthermore, the step S2 includes the application server AS sending authentication information to the media server MS.
[0020] Furthermore, the authentication information is the IP and PORT of the audio and video in the sdp information. After the media server MS obtains the IP and PORT, it subsequently performs IP and PORT authentication on the source end counted into itself. Illegal IP and PORT will not accept data from the source end.
[0021] Furthermore, when entering the video playback process for the first time, it is assumed that the user terminal has no key operation.
[0022] The present invention can realize special effect functions on the user's native terminal. When the terminal business process is fixed, the special effect functions can be dynamically expanded, and different special effect functions can be realized according to different business scenarios, bringing better user experience and fun to the user's video ringtone business. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 The present invention is a flow chart of a method for displaying character special effects on a native terminal in real time based on a communication network. DETAILED DESCRIPTION
[0024] The following is a detailed description of the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments.
[0025] In the description of the present invention, it should be understood that the terms "upper", "lower", "front", "back", "left", "right", "top", "bottom", "inside", "outside", "first", "second", etc., indicating the orientation or position or sequential relationship, are based on the orientation or position or sequential relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0026] A system for displaying character special effects in real time on a native terminal based on a communication network is invented, comprising an application server AS, a media server MS, a navigation interface module, a special effects engine module and a user terminal;
[0027] The application server AS is used to load the playback service processing logic to implement functions such as signaling process control and playback control;
[0028] The media server MS is used to provide media processing functions in basic and enhanced services, including resource functions such as audio, video, data processing and conversion between different encoding and decoding algorithms, as well as communication functions and management and maintenance functions;
[0029] The navigation interface module has several functional interfaces, and corresponding functional signaling interactions are realized by calling different functional interfaces;
[0030] The special effects engine module is used to perform internal special effects logic processing on the camera video stream and form special effects video stream data;
[0031] The user terminal is used to initiate a call and receive and play special effect videos.
[0032] As a further explanation of the present invention, the functional interfaces of the navigation interface module include a first interface A, a second interface B, a third interface C, a fourth interface D and a fifth interface E; the first interface A is used for key reporting and response with the application server AS; the second interface B is used for sdp exchange and response with the special effects engine module; the third interface C is used for preparation for streaming notification with the special effects engine module; the fourth interface D is used for key reporting with the special effects engine module; and the fifth interface E is used for exit special effects notification with the special effects engine module.
[0033] Based on the above system, the present invention can realize a method for real-time display of character special effects on a native terminal based on a communication network. Figure 1 As shown, the following steps are included:
[0034] Step S1: The terminal initiates a call to the video access number service background. After the call is connected, the application server AS initiates a negotiation request to the media server MS. The media server and the terminal conduct media negotiation. After the negotiation is completed, the application server AS initiates a playback instruction of "Loading" to the media server MS, and the media server MS starts playing the initial "Loading" video to the terminal.
[0035] Step S2: When entering for the first time, the default is no key operation. The sdp information negotiated in step 1, the session ID of this call, the calling and called numbers and other information are notified to the navigation interface module through the interface reporting method. The navigation interface module performs internal data conversion processing and initiates an interface request for exchanging sdp information to the special effects engine module. The navigation interface module responds to the application server AS with the sdp information of the special effects engine module after exchanging with the special effects engine module. The application server AS reports the IP and two PORTs of audio and video in the sdp information to the media server MS. The purpose of the media server MS obtaining the IP and PORT is to subsequently authenticate the IP and PORT of the source end counted into itself. Illegal IP and PORT will not accept data from the source end.
[0036] Step S3: The application server AS instructs the media server MS to bridge the user terminal and the special effect module, and push the camera video stream of the user terminal to the special effect engine module. The special effect engine module performs internal special effect logic processing and prepares the special effect video stream data.
[0037] Step S4: the special effect processing module notifies the navigation interface module of the message that the special effect stream is ready, and the navigation interface module notifies the message to the application server AS, and the application server AS disconnects the "loading" video and bridges the special effect platform and the terminal.
[0038] Step S5: The special effect engine pushes the special effect video stream rtp to the media server MS. The media server MS pushes the special effect video stream to the user terminal. The user terminal plays the special effect video.
[0039] Step S6: When the user presses a button, the business service application server AS reports the button information to the navigation interface module, and the navigation interface module notifies the special effect module of the button. The special effect module makes corresponding special effect actions based on the business logic and updates the special effect video stream content currently being pushed to the media server MS.
[0040] Step S7: When the user initiates hanging up or exiting the special effect function, the application server AS reports the exit information to the navigation interface module, and the navigation interface module calls the interface to report the disconnection operation to the special effect engine module, and the special effect engine module performs the disconnection and resource recovery operation between the media server MS. At the same time, the application server AS also needs to initiate the exit operation to the media server MS, and the media server MS recovers the resources, and the entire special effect process is completed.
[0041] The above only describes the preferred embodiments of the present invention, which should not be construed as limiting the claims. The present invention is not limited to the above embodiments, and its specific structure is allowed to be changed. In short, all changes made within the protection scope of the independent claims of the present invention are within the protection scope of the present invention.
Claims
1. A system for displaying character special effects in real time on native terminals based on a communication network. Features: It includes application server AS, media server MS, navigation interface module, special effect engine module and user terminal; The application server AS is used to load the playback service processing logic to implement functions such as signaling process control and playback control; The media server MS is used to provide media processing functions in basic and enhanced services, including resource functions such as audio, video, data processing and conversion between different encoding and decoding algorithms, as well as communication functions and management and maintenance functions; The navigation interface module has several functional interfaces, and corresponding functional signaling interactions are realized by calling different functional interfaces; The special effects engine module is used to perform internal special effects logic processing on the camera video stream and form special effects video stream data; The user terminal is used to initiate a call and receive and play special effect videos.
2. According to claim 1, the system for displaying character special effects on a native terminal in real time based on a communication network, Features: The functional interfaces of the navigation interface module include a first interface A, a second interface B, a third interface C, a fourth interface D and a fifth interface E; the first interface A is used for key reporting and response with the application server AS; the second interface B is used for sdp exchange and response with the special effects engine module; the third interface C is used for preparation for streaming notification with the special effects engine module; the fourth interface D is used for key reporting with the special effects engine module; the fifth interface E is used for exit special effects notification with the special effects engine module.
3. A method for displaying character special effects in real time on a native terminal based on a communication network, It is characterized in that The following steps are involved: Step S1, after the user terminal establishes a call, the application server AS performs media negotiation with the media server MS, and after the negotiation is completed, plays the shim video to the user terminal; Step S2, notifying the navigation interface module of the sdp information negotiated in step S1, the session ID of this call, the calling and called numbers, etc., the navigation interface module performs internal data conversion processing, initiates an interface request for exchanging sdp information to the special effect engine module, and the navigation interface module responds to the application server AS with the special effect engine module sdp information exchanged with the special effect engine module; Step S3, the application server AS instructs the media server MS to bridge the user terminal and the special effect engine module, and pushes the camera video stream of the user terminal to the special effect engine module, and the special effect engine module performs internal special effect logic processing to obtain special effect video stream data; Step S4, the special effect processing module notifies the navigation interface module of the message that the special effect stream is ready, and the navigation interface module notifies the message to the application server AS, and the application server AS disconnects the gasket video, and the application server AS bridges the special effect platform and the terminal; Step S5, the special effect engine module pushes the special effect video stream rtp to the media server MS, the media server MS pushes the special effect video stream to the user terminal, and the user terminal plays the special effect video; Step S6, when the user terminal plays the special effect video, when the user presses a button, the business service application server AS reports the button information to the navigation interface module, and the navigation interface module notifies the special effect engine module of the button. The special effect engine module makes corresponding special effect actions according to the business logic and updates the special effect video stream content currently being pushed to the media server MS; Step S7, during the user terminal playing the special effect video, when the user initiates hanging up or exiting the special effect function, the application server AS reports the exit information to the navigation interface module, and the navigation interface module calls the interface to report the disconnection operation to the special effect engine module, and the special effect engine module performs the disconnection and resource recovery operation with the media server MS. At the same time, the application server AS also needs to initiate the exit operation to the media server MS, and the media server MS performs resource recovery.
4. According to claim 3, the method for displaying character special effects in real time on a native terminal based on a communication network, Features: In step S2, the sdp information, the session ID of this call, the calling and called numbers and other information are notified to the navigation interface module through the interface reporting method, and the internal data conversion processing is performed in the navigation interface module.
5. According to claim 3, the method for displaying character special effects on a native terminal in real time based on a communication network, Features: The step S2 includes the application server AS sending authentication information to the media server MS.
6. The method for displaying character special effects in real time on a native terminal based on a communication network according to claim 5, Features: The authentication information is the IP and PORT of the audio and video in the sdp information. After the media server MS obtains the IP and PORT, it subsequently performs IP and PORT authentication on the source end counted into itself. Illegal IP and PORT will not accept data from the source end.
7. The method for displaying character special effects in real time on a native terminal based on a communication network according to claim 3, Features: When entering the video playback process for the first time, it is assumed that the user terminal has no key operation.
