[go: up one dir, main page]

CN106162034B - Method and system for inserting video during call - Google Patents

Method and system for inserting video during call Download PDF

Info

Publication number
CN106162034B
CN106162034B CN201510148499.5A CN201510148499A CN106162034B CN 106162034 B CN106162034 B CN 106162034B CN 201510148499 A CN201510148499 A CN 201510148499A CN 106162034 B CN106162034 B CN 106162034B
Authority
CN
China
Prior art keywords
video
call
user
interface
playing
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.)
Expired - Fee Related
Application number
CN201510148499.5A
Other languages
Chinese (zh)
Other versions
CN106162034A (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.)
Shanghai Xiu I Digital Advertising Media Co Ltd
Original Assignee
Shanghai Xiu I Digital Advertising Media 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 Shanghai Xiu I Digital Advertising Media Co Ltd filed Critical Shanghai Xiu I Digital Advertising Media Co Ltd
Priority to CN201510148499.5A priority Critical patent/CN106162034B/en
Publication of CN106162034A publication Critical patent/CN106162034A/en
Application granted granted Critical
Publication of CN106162034B publication Critical patent/CN106162034B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

One aspect of the present invention provides a method for inserting video during a call, comprising: in the call process, inserting a video playing interface into a call interface of a call terminal, and playing a video on the video playing interface in a mode of allowing the call to be normally carried out; and after the call process is finished, popping up the video playing interface on the call interface, and completely playing the video in the popped up video playing interface. In another aspect of the present invention, a system for inserting video during a call is provided.

Description

Method and system for inserting video during call
Technical Field
The present invention relates to the field of communications, and more particularly, to a method and system for inserting video during a call.
Background
The existing communication terminal device only displays the caller/outgoing number or the corresponding contact information and the communication duration and state in the communication process (including the calling/called waiting process and the talkback process, specifically, operations such as dialing, ringing, connecting and the like are all included in the communication process), or displays the information of the photo type such as the picture of the caller after installing some third party applications. CN201010537170.5 discloses a method for adding background scenes in a mobile phone call, in which calling and called users manually set or synthesize call scenes according to their preferences. The problems in the prior art are that: the content displayed by the background scene is too little, and the content expressed by the information of the pictures, the characters and the like is too limited; the displayed content is set by the user in advance, the user can feel tired after a long time, and the user does not know what scene is the favorite scene at all. In addition, it should not be ignored that people are in a state of effective information reception during the waiting process of the call, and the content delivered at this time is likely to cause the user to pay attention and even generate economic benefits. With the increasing screen size of android (android) terminal equipment, the internet surfing speed is greatly improved, and the popularization and application of the Bluetooth headset are realized, a method for intelligently releasing and inter-cutting videos by a server according to the preference of a user in the conversation process needs to be provided urgently, so that the waiting process of the user is not tedious any more, and even the economic benefit is realized.
Disclosure of Invention
In one aspect of the present invention, a method for inserting video during a call is provided, including:
in the call process, inserting a video playing interface into a call interface of a call terminal, and playing a video on the video playing interface in a mode of allowing the call to be normally carried out; and
after the call process is finished, popping up the video playing interface on the call interface, and completely playing a video in the popped up video playing interface;
the system codes are directly modified at the call terminal or an application with the video inter-cut function is installed at the call terminal to realize video inter-cut in the call process.
In a preferred embodiment of the method of the present invention, the manner allowing the call to proceed normally means that the video playing interface is in the form of a window, and the size of the window is adapted to the call terminal to ensure that information necessary for the call is not blocked.
In a preferred embodiment of the method of the invention, the size of the window is scalable by the user.
In a preferred embodiment of the method of the invention, the window is closable by a user.
In a preferred embodiment of the method of the invention, the window is draggable by the user.
In a preferred embodiment of the method of the invention, the play time limit and the play time limit of the video are selected or configured by the server.
In a preferred embodiment of the method of the invention, the playback volume of the video is adjustable by the user.
In a preferred embodiment of the method of the present invention, the brightness of the video to be played is adjustable by the user.
In a preferred embodiment of the method of the present invention, the video playing interface is attached with a click-to-jump application download link or a website.
In a preferred embodiment of the method of the present invention, the connection with the server is performed every a preset period to obtain the video and download to the call terminal.
In a preferred embodiment of the method of the present invention, the telephony terminal connects to the server and downloads video when a data connection is successfully established in a wifi environment.
In a preferred embodiment of the method of the present invention, after the video is successfully downloaded, the local video list is updated, and the time when the update is successful is stored.
In a preferred embodiment of the method of the present invention, during a call, if the video is not pushed to the call terminal, the call terminal may actively connect to a video server to play the video online under the instruction of the user.
In a preferred embodiment of the method of the present invention, the video played in the popped video playing interface is a complete version of the video played during the call.
In a preferred embodiment of the method of the present invention, the video played in the popped video playing interface is a new video pushed according to the user's needs or preferences.
In another aspect of the present invention, there is provided a system for inter-casting video during a call, the system comprising:
the video playing module is used for inserting a video playing interface into a call interface of a call terminal in the call process and playing a video on the video playing interface in a mode of allowing the call to be normally carried out; and
after the call is finished, a video playing interface is popped up on the call interface, and a video can be completely played in the popped video playing interface;
the system codes are directly modified at the call terminal or an application with the video inter-cut function is installed at the call terminal to realize video inter-cut in the call process.
In a preferred embodiment of the system of the present invention, the system further comprises a video function adjusting module, which enables a user to manually adjust the window of the video playing interface and control the playing process of the video.
In a preferred embodiment of the system of the present invention, the system further includes an automatic video downloading module, which is connected to the server at intervals of a preset period to obtain videos and downloads the videos to the call terminal.
In a preferred embodiment of the system of the present invention, the manner allowing the call to proceed normally means that the video playing interface is in the form of a window, and the size of the window is adapted to the call terminal to ensure that information necessary for the call is not blocked.
In a preferred embodiment of the system of the invention, the size of the window is scalable by the user.
In a preferred embodiment of the system of the present invention, the window is closable by a user.
In a preferred embodiment of the system of the present invention, the window is draggable by the user.
In a preferred embodiment of the system of the present invention, the play time limit and play number limit of the video are selected or configured by the server.
In a preferred embodiment of the system of the present invention, the playback volume of the video is adjustable by the user.
In a preferred embodiment of the system of the present invention, the brightness of the video being played is adjustable by the user.
In a preferred embodiment of the system of the present invention, the call terminal connects to the server and downloads the video when the data connection is successfully established in the wifi environment.
In a preferred embodiment of the system of the present invention, after the video is successfully downloaded, the local video list is updated, and the time when the update is successful is stored.
In a preferred embodiment of the system of the present invention, during a call, if the video is not pushed to the call terminal, the call terminal may actively connect to a video server to play the video online under the instruction of the user.
In a preferred embodiment of the system of the present invention, the video played in the popped video playback interface is a full version of the video played during the call.
In a preferred embodiment of the system of the present invention, the video played in the popped video playing interface is a new video pushed according to the user's needs or preferences.
In a preferred embodiment of the system of the present invention, the video playing interface is attached with a click-to-jump application download link or web address.
Drawings
The above and other features of the present invention will be more readily understood from the following description and appended claims, taken in conjunction with the accompanying drawings.
Fig. 1 is a flowchart illustrating an implementation process of automatically downloading a video according to an embodiment of the present invention.
Fig. 2 is a flow diagram illustrating video playback during a call according to one embodiment of the invention.
Fig. 3 is a flow diagram illustrating a video function adjustment process according to one embodiment of the present invention.
Fig. 4 is a flowchart illustrating a process of playing a full video after the call process is ended.
Fig. 5 shows a flowchart of an embodiment for installing an application with video-on-plug functionality in an android terminal, according to an embodiment of the invention.
Fig. 6A and 6B are effect diagrams of a video playing interface of an android terminal according to an embodiment of the present invention, where fig. 6A is an effect diagram of the video playing interface during a call, and fig. 6B is an effect diagram of the video playing interface after the call is ended.
Detailed Description
In the following detailed description, reference is made to the accompanying drawings, which form a part hereof. The aspects of the present invention described generally herein and illustrated in the accompanying drawings may be arranged, substituted, combined, split, and truncated in a wide variety of configurations, all of which fall within the scope of the present invention, without departing from the principles and scope of the inventive subject matter presented herein.
In an embodiment of the present invention, when a user uses a call terminal, such as an android terminal, to make a dial call, an incoming call reminder, or a call connection, any video that the user may like may be actively inserted in a call interface according to the preference of the user. The android terminal is only one type of call terminal suitable for implementing the invention, and the invention can be implemented on ios, wp and other intelligent mobile terminals, and even can be implemented on computers, mobile phones or tablet computers equipped with network call software such as skype and the like. The content of the video is pushed to an android terminal by a video server according to a specific rule in advance or the video is actively connected with the video server by the android terminal to be played online in the 3g/4g conversation process; the size of the inserted video needs to be adapted according to the model of the mobile phone, and it needs to be ensured that information necessary for the call (specifically, information of a keyboard or a dial and a caller for the mobile terminal) is not shielded; the size of the video inserted can be manually adjusted by the user to zoom and adjust the brightness and volume of the play; the video that is inserted can be manually closed by a user clicking a close button of the interface; the playing time limit and the number limit of the video insertion can be selectively configured by the server; the video playing interface can be attached with an application downloading link, a website and the like which can be clicked and jumped.
And actively popping up a video playing interface after the call is ended, wherein the video can be a complete video version of the video which is inserted and played in the call just now, or can be a new video which is automatically released and displayed according to the requirement of a user. The video can be manually played or paused by the user in the video playing interface; the user can adjust the volume of the video and the display brightness of the video; a user can manually adjust a window of a video playing interface and control the playing process of a video, for example, the video playing interface can be manually closed through a home button, a return button or a close button in the interface; the contents of characters or pictures pushed by the server can be displayed on a video display interface, and information such as application download links and websites which can be clicked and jumped can be attached according to special requirements of the server; the user can manually collect videos to the local or the server according to the preference; the user can manually switch the horizontal screen or the vertical screen to play the video; the user can manually click the mute button to mute the played video.
In the implementation of the embodiment of the present invention on an android terminal, there are two main implementation ways for video insertion in a call process, one is to directly modify a system code at the android terminal, and the other is to install an application with a video insertion function at the android terminal, which will be described in detail further below.
Firstly, for the implementation mode of directly modifying system codes at an android terminal:
a, calling process:
1. after the data connection is successfully established, the android terminal is connected with the server to acquire video content which may be interested by the user and downloads the video content to the local every a preset period, such as 24 hours;
2. a user opens a dial plate, inputs a number and clicks a dial key to enter a calling interface, at the moment, a video acquired from a server in the step 1 can be popped up for playing, if the video acquisition in the step 1 fails, a 3g or 4g network system is used for calling currently, a connection server can be tried to be directly played on line according to the preference of the user, the position of the popped-up video can be adjusted according to a model type calling interface, and information of a keyboard and a caller cannot be blocked;
3. the user can manually zoom and adjust the size of a playing window of the inter-cut video, can manually adjust the brightness of the inter-cut video, can manually click a button to pause or close the inter-cut video, the playing times and the playing time of the inter-cut video can be configured by the transmission parameters of the server terminal, and a video playing interface can be attached with an application downloading link, a website and the like which can be clicked and jumped;
4. after the call is finished, a video playing interface is immediately popped up, the video displayed on the interface can be a complete content corresponding to the video inserted and played in the call, or a new video released according to the requirements of a user, the user can manually select full-screen playing of a horizontal screen, can manually adjust the volume and the brightness of video playing, the interface can simultaneously display the text or picture content pushed by a server, and can also attach information such as a click skip application download link, a website and the like according to the special requirements of the server, the user can press a home key to return to a desktop, can press a return key to quit the playing of the video, and the user can manually select to collect the video;
b, called process:
1. after the data connection is successfully established, the android terminal is connected with the server to acquire video content which may be interested by the user and downloads the video content to the local every a preset period, such as 24 hours;
2. when a call comes in, the android terminal pops up an incoming call notification interface, at the moment, the video acquired from the server in the step 1 can be popped up and played, if the video acquired in the step 1 fails, if a 3g or 4g network system is used for calling currently, the server can be tried to be connected to directly play the video online according to the preference of a user, the position of the popped video can be adjusted according to the calling interface of the model, and the information of a keyboard and a caller cannot be blocked;
3. the user can manually zoom and adjust the size of a playing window of the inter-cut video, can manually adjust the brightness of the inter-cut video, can manually click a button to pause or close the inter-cut video, the playing times and the playing time of the inter-cut video can be configured by the transmission parameters of the server terminal, and a video playing interface can be attached with a clickable skip application downloading link, a website and the like;
4. after the call is finished, a video playing interface is immediately popped up, the video displayed on the interface can be a complete content corresponding to the video inserted and played in the call, or a new video released according to the requirements of a user, the user can manually select full-screen playing of a horizontal screen, can manually adjust the volume and the brightness of video playing, the interface can simultaneously display the text or picture content pushed by a server, and can also attach information such as a click skip application download link, a website and the like according to the special requirements of the server, the user can press a home key to return to a desktop, can press a return key to quit the playing of the video, and the user can manually select to collect the video;
c, during the conversation, calling in:
at the moment, the video inserted in the android terminal is not influenced, a new incoming call can be normally displayed, and the brightness, the volume, the position of the inserted video and the content of the inserted video which are adjusted before are not covered or changed by the new inserted content;
d, in the process of communication, a user dials a call:
at the moment, the video inserted in the android terminal is not influenced, the call can be normally dialed, and the brightness, the volume, the position of the video inserted and the content of the video inserted cannot be covered or changed by the new inserted content.
Since the telephony function is implemented in the telephony application (Phone APP) of the android system, the Phone APP needs to be modified to implement the above-described functions and procedures. The specific implementation module is divided into: and automatically downloading the video, playing the video in the call process, adjusting the video function, and displaying the complete video after the call is finished.
[ automatic video download ]: the system needs to actively connect to the video server every a preset period, for example, 24 hours, in the case of WiFi connection (as can be understood by those skilled in the art, downloading video only in the case of WiFi connection is only for saving the cost of the user, but the user can also download video through mobile data connection as long as the user allows), and then update the relevant video content from the server, so that the user can watch the video smoothly during the dialing/calling process and after the call is finished. For this purpose, a broadcast receiver process (broadcastreceiver) needs to be defined in android manifest.xml of the system Phone APP, that is, the WiFi status change receiver process "WiFi statechanging receiver" hereinafter, which is specifically defined as follows:
<receiver android:name="WifiStateChangeReceiver">
<intent-filter>
<action android:name="android.net.wifi.WIFI_STATE_CHANGED"/>
</intent-filter>
</receiver>
when the Wifi state of the system changes, the Wifi statehandler receiver process is activated by the android system, and a specific processing flow is shown in fig. 1.
Fig. 1 is a flow diagram illustrating an execution process of automatically downloading a video, in particular, a WifiStateChangeReceiver process, according to an embodiment of the present invention: firstly, obtaining wifi state information, judging whether wifi is successfully connected, if not, finishing execution, returning, if so, obtaining last video updating time, and judging whether the comparison with the current time exceeds a preset period (for example, 24 hours). If the last updating time cannot be obtained, the updating is performed for the first time, and the server is directly connected to perform the updating without time comparison. If the comparison with the current time exceeds a preset period, for example 24 hours, the video server is connected to download the video update. The downloaded video content is stored in a system storage directory corresponding to a telephone (Phone), a video list needs to be updated at the same time, and the video list and the updating time are both stored through a sharing priority 'SharedPreferences' mechanism of android. And after downloading is successful, updating the local video list and storing the successful time of the updating.
Video playing in the process of conversation: for the Phone APP of the system Phone, all operations in the call process, including dialing, ringing, connection and the like, are operated in the incoming screen behavior process "InCallScreen Activity", a processor "Handler" thread is started in the InCallScreen Activity to monitor the change of the Phone State process "Phone State", and then a User Interface (UI) is refreshed to display different processes. In order to complete video playing in the dialing process, different processing needs to be performed on different states of a Phone in a Handler thread that monitors a Phone State, and when the Phone State changes, the Handler thread is activated, and a specific flow is shown in fig. 2.
Fig. 2 is a flow chart showing video playing during a call in one embodiment of the method according to the present invention, and specifically shows the processing procedure of the processor "Handler" thread of the monitoring Phone State process "Phone State". Although the method according to the invention is illustrated in fig. 2 in a calling mode, it will be appreciated by a person skilled in the art that the method according to the invention can be implemented in a similar manner in a called mode. Firstly, the latest telephone State is obtained, and whether the telephone enters a call dialing State is judged. If the call dialing state is achieved, a user-defined video visual interface Layout 'video Layout' process is instantiated, a corresponding file is initialized into View (a visual interface) according to user setting or preference, an on Move (used for processing the situation that a user drags a video position) and an on Close (used for processing the situation that the user closes a video) callback function of the View are set, and the visual interface (View) is added and activated according to the Layout (Layout) of an incoming call screen (IncallScreen). If not, judging whether to enter a call connection state. If not, other state processing of the telephone (Phone) is entered. If the call is on, the videolayout process is closed and the visual interface (View) is removed from the incall screen Activity.
When entering a dialing interface, initializing a customized videolayout layout, setting video information to be played, and if the user does not update the video information, the videolayout will actively (under the permission of the user) directly acquire streaming media information from a video server through a current data network for playing, and the specific processing is described in detail below with respect to the videolayout. In order to facilitate the operation of dragging and closing the video by the user, it is necessary to set the onMove and onClose callback functions of the VideoViewLayout, obtain a new position of the video to be slid by the user in the onMove, reset the coordinates of the VideoViewLayout to enhance the user experience, and if the user does not like to watch the video, directly click the close button on the VideoVideoVideoWLayout, the onClose function will directly remove the VideoWLayout from the InCallScreen, thereby closing the video playing.
[ video function adjustment ]: the video related operation functions are all completed in the VideoViewLayout, so that a user can manually adjust a window of a video playing interface and control the playing process of a video. The visual interface (View) inherits a frame layout FrameLayout of an Android system, the FrameLayout belongs to a visual interface group (Viewgroup), the ViewViewLayout comprises a scalable ViewViewView video View of the Android system, and a Close button View, when a user clicks the Close View, an onClose callback function is called to Close the whole video playing View, and when the ViewLayout detects that touch sliding exists, an onMove callback function is called, and the display coordinates of the ViewLayout are reset according to the current sliding coordinates, so that the sliding function of the video in the InClCallScreen Activity is realized. The functions of pause, fast forward, backward, progress adjustment and the like related to video playing are finished by a Scalable VideoView video View of an Android system. Since the video content may not be updated when playing the video, the process needs to be performed when the videolayout is initialized, and the specific flow is shown in fig. 3.
Fig. 3 is a flow chart illustrating a video function adjustment process according to an embodiment of the present invention, specifically illustrating a video content processing process in a custom video playing layout "VideoViewLayout" process. The ScalableVideoView of the Android system supports streaming media playing, only the streaming media URL needs to be acquired from the server and set in the ScalableVideoView, but playing is delayed according to the current network condition. If the video content is not updated locally, and the data network (WiFi or 3G/4G) during the call cannot be used, the video file cannot be played.
As shown in FIG. 3, first, a Scalable video Play "Scalable View" instance of the android system is initialized. And then, acquiring a local video list and judging whether the video list is empty or not. And if the video list is not empty, acquiring a video file directory set by the user or interested by the user. The video file directory address is set to "Scalable VideoView" and then video file playback is started. Since this is playing locally, there is no delay. And if the video list is judged to be empty, connecting the video playing server (under the permission of the user), acquiring a url website of the streaming media playing (if the connection of the video server fails, ending the whole playing process, namely not playing any video), setting the streaming media url in 'scalablevideoView', and starting the streaming media video playing. The streaming video playing will be delayed according to the network condition.
[ video playback after the call is ended ]: if the user uses a Bluetooth headset or a hands-free device, the user can choose to watch the video, and the video stops playing after a display screen of the terminal is closed or backlight is turned off, and the user-defined FullVideoActivity is opened until the call is finished, wherein the Activity shows the complete content description of the previously played video, and the user can click a video thumbnail in the interface to play the complete video. The fullVideoActivities are composed of a plurality of views such as a ViewView (View for playing a complete video), a TextView (briefly describing a video), an ImageView (a highlight image in a video), a Button (a user can collect a video as a preference of the user) and the like.
The call ending State is still determined in the Handler thread monitoring the Phone State in the thread monitoring the change of the Phone State by the Handler in the InCallScreen, and the specific processing flow is shown in fig. 4.
Fig. 4 is a flowchart illustrating a process of playing a full video after a call is ended according to an embodiment of the present invention, and in particular, illustrates a process of a customized full video activity process. If the user uses a Bluetooth headset or a hands-free device, the user can choose to watch the video, and the video stops playing after a display screen of the terminal is closed or backlight is turned off, and until the call is finished, the user-defined FullVideoActivity process is opened, the complete content description of the previously played video is shown in the process, and the user can click a video thumbnail in the interface to play the complete video. The FullVideoActivity is composed of a video visual interface "VideoView" (a visual interface (View) that plays a complete video), a text visual interface "TextView" (a visual interface that briefly describes a video), an ImageView (a visual interface for a highlight image in a video), a Button "(a user can collect a video as his/her own preference), and many other visual interfaces (views).
The call ending State is judged to be still in the Handler thread of the monitoring Phone State in the incoming call screen InCallScreen. The specific flow of the "fullvideoacity" process is shown in fig. 4: firstly, obtaining the latest telephone state (PhoneState), judging whether to enter a call ending state, if not, entering other state processing of the telephone, and if the call ending state is entered, obtaining information of a complete video corresponding to a video played during dialing (called a dialing video for short). Next, it is determined whether the complete video has been updated locally. If the video has been updated to the local, the "FullVideoActivity" interface is opened and the complete video can be played. If not, it is checked whether the data network connection is normal. If not, the process ends, and the video is not attempted to be played any more, without opening the "fullvideoacity" interface. And if the data connection is normal, connecting the video server under the permission of the user, acquiring the streaming media url of the complete video, and trying to play the streaming media. That is to say, after entering the progress of the complete video behavior "FullVideoActivity", when the user clicks the video visual interface, if the complete video has been updated to the local, the video is directly played, if not, the video server is connected to obtain the URL of the streaming media, the streaming media is played, the delay is slightly delayed according to the network condition, and if no data network connection exists, the user is prompted that the video cannot be played.
Secondly, for the implementation mode of installing the application with the video inserting function on the android terminal:
A. the calling process:
1. after a data connection is successfully established at an android (android) terminal, every a preset period, such as 24 hours, an application S (apk S) installed at the android terminal is connected with a server to acquire video content which may be interested by a user and downloads the video content to a directory specified by the application S (apk S), wherein the application S (apk S) needs to register static or dynamic Broadcast (Broadcast) related to a calling process;
2. a user opens a dial plate, inputs a number and clicks a dial key to enter a calling interface, at the moment, an application S (apk S) acquires a broadcast of a calling party, the application S (apk S) can pop up and play the video acquired from the server in the step 1, if the video acquisition fails in the step 1, a call using a 3g or 4g network system can be tried to be connected with the server to directly play the video online according to the preference of the user (under the permission of the user), and the position of the popped up video is adjusted by the application S (apk S) according to a model interface, so that the information of a keyboard and a caller cannot be blocked;
3. the user can manually zoom and adjust the size of a playing window of the inter-cut video, can manually adjust the brightness of the inter-cut video, can manually click a button to pause or close the inter-cut video, the playing times and the playing time of the inter-cut video can be configured by the transmission parameters of the server terminal, and a video playing interface can be attached with a clickable skip application downloading link, a website and the like;
4. after the call is finished, a video playing interface is immediately popped up, the video displayed on the interface can be a complete content corresponding to the video inserted in the call, or a new video inserted according to the requirements of a user, the user can manually select full-screen playing of a horizontal screen, manually adjust the volume and the brightness of the video playing to display the text or picture content pushed by a server, or attach information such as a click skip application download link, a website and the like according to the special requirements of the server, the user can press a home button to return to a desktop, can press a return button to quit the playing of the video, the user can manually collect the video to the local or the server according to the preference, and the user can manually click a mute button to mute the played video;
B. the called process:
1. after a data connection is successfully established, at intervals of a preset period, for example, 24 hours, an application s (apk s) is connected with a server to acquire video content that a user may be interested in and downloads the video content to a directory specified by the application s (apk s), and the application s (apk s) needs to register static or dynamic broadcast related to a calling process;
2. when a call comes in, an android (android) terminal pops up an incoming call notification interface, at the moment, an application S (apk S) acquires incoming call broadcast, the application S (apk S) can pop up and play the video acquired from the server in the step 1, if the video acquisition fails in the step 1, a call of a 3g or 4g network system is used currently, the connection of the server can be tried, the video can be directly played online according to the preference of a user, and the position of the popped video is adjusted by the application S (apk S) according to the model interface, so that the information of a keyboard and a caller cannot be blocked;
3. the user can manually zoom and adjust the size of a playing window of the inter-cut video, can manually adjust the brightness of the inter-cut video, can manually click a button to pause or close the inter-cut video, the playing times and the playing time of the inter-cut video can be configured by the transmission parameters of the server terminal, and a video playing interface can be attached with a clickable skip application downloading link, a website and the like;
4. after the call is finished, a video playing interface is immediately popped up, the video displayed on the interface can be a complete content corresponding to the video inserted in the call, or a new video inserted according to the requirements of a user, the user can manually select full-screen playing of a horizontal screen, manually adjust the volume and the brightness of the video playing to display the text or picture content pushed by a server, or attach information such as a click skip application download link, a website and the like according to the special requirements of the server, the user can press a home button to return to a desktop, can press a return button to quit the playing of the video, the user can manually collect the video to the local or the server according to the preference, and the user can manually click a mute button to mute the played video;
C. in the process of calling, a call is called:
at the moment, a video which is inserted in an android terminal application S (apk S) is not influenced, a new incoming call can be normally displayed, the brightness, the volume and the position of the video which is inserted are adjusted before, and the content of the video which is inserted is not covered or changed by the new inserted content;
D. during the call, the user makes a call:
at the moment, the video which is inserted in an android terminal application S (apk S) is not influenced, the call can be normally dialed, and the content of the inserted video cannot be covered or changed by new inserted content due to the previously adjusted brightness, volume and position of the inserted video;
the difference between the implementation manner of the android APK third-party application (hereinafter referred to as "third-party application") and the implementation manner in the system Phone application Phone APP mainly lies in the State judgment manner for the Phone State. The implementation mode for modifying the system code (hereinafter referred to as "system implementation") may use a Handle thread in the incall screenactivity of Phone APP, which is dedicated to monitoring the Phone State, and the third-party implementation mode needs to monitor the broadcast message of the Phone State to obtain the Phone State, so that it may be determined when to play the video. The specific implementation module is divided into: and automatically downloading the video, playing the video in the dialing process, adjusting the video function, and displaying the complete video after the call is finished.
1 automatically downloading video, the same as the system implementation.
2, playing the video in the dialing process, wherein the system can directly use a Handler thread in the InCallScreen to monitor the Phone State State, and a third-party application needs to define a broadcast receiver to acquire the Phone State. For example, in this embodiment, the phone status broadcast receiver phonestatemecongestreceiver needs to be defined in android manifest. xml of android APK:
<receiver android:name="PhoneStateChangeReceiver">
<intent-filter>
<action android:name="android.intent.action.PHONE_STATE"/>
</intent-filter>
</receiver>
when a telephone process occurs, the system activates PhoneStateChangeReceiver, and as broadcastexecutevier of the android system belongs to system scheduling and cannot process a large amount of data, a Service (Service) needs to be started to perform video playing processing, and the Service is a customized call video Service, namely a customized call video Service, and the processing flow of the Service is shown in fig. 5.
Fig. 5 shows a flowchart of an implementation manner of installing an application with a video spot insertion function in an android terminal according to an embodiment of the present invention, and specifically shows a processing procedure of a customized call video service "CallVideoService". As shown in fig. 5, compared to the system implementation, the android third-party application also needs to handle three states: call dialing, call connection and call hang-up. After receiving a call dialing state, judging whether the video content is updated locally (whether a video list is empty), if not, performing data network connection to obtain a streaming media URL, and then directly performing streaming media playing, wherein a scalable video visual interface 'scalable video view' process for playing the video needs to be embedded into a currently running Activity interface, and different models need to be adapted to determine that the optimal position for playing the video does not interfere with various call functions of the currently running Activity. And after receiving the call connection message, directly removing the scalablevideoView from the current operation Activity, and closing the video. After receiving the call hangup message, the user also needs to judge whether the complete content of the video exists locally, if not, the user needs to perform data network connection to obtain a streaming media URL, and then opens the fullVideoActivity to complete the display of the complete content of the video.
3. And video function adjustment is realized in the same system.
4. And after the call is finished, displaying the complete video, and realizing the video display with the system.
Fig. 6A and 6B are effect diagrams of a video playing interface of an android terminal according to an embodiment of the present invention, where fig. 6A is an effect diagram of the video playing interface during a call, and fig. 6B is an effect diagram of the video playing interface after the call is ended.
While the invention has been shown and described with reference to particular embodiments, it will be understood by those skilled in the art that the foregoing and other changes in form and details may be made therein without departing from the spirit and scope of the invention, including but not limited to the addition, subtraction and modification of applied components or the substitution of equivalents.

Claims (31)

1. A method for inserting video during a call, comprising:
in the call process, inserting a video playing interface into a call interface of a call terminal, and playing a video on the video playing interface in a mode of allowing the call to be normally carried out; and
after the call process is finished, popping up the video playing interface on the call interface, and completely playing a video in the popped up video playing interface;
the system codes are directly modified at the call terminal or an application with the video inter-cut function is installed at the call terminal to realize video inter-cut in the call process.
2. The method according to claim 1, wherein the manner for allowing the call to proceed normally means that the video playing interface is in the form of a window, and the size of the window is adapted to the call terminal to ensure that information necessary for the call is not blocked.
3. The method of claim 2, wherein the size of the window is scalable by a user.
4. The method of claim 2, wherein the window is closable by a user.
5. The method of claim 2, wherein the window is draggable by a user.
6. The method according to any of claims 1 to 5, wherein the play time limit and play number limit of the video are selected or configured by the server.
7. The method of claim 1, wherein the playback volume of the video is adjustable by a user.
8. The method of claim 1 or 7, wherein the brightness of the video is adjustable by the user.
9. The method as claimed in any one of claims 1 to 5, wherein the video playing interface is accompanied by a clickable jump application download link or web address.
10. The method according to claim 1, wherein the connection with the server is performed at intervals of a preset period to obtain the video and download to the call terminal.
11. The method of claim 10, wherein the telephony terminal connects to the server and downloads the video when the data connection is successfully established in a wifi environment.
12. The method of claim 11, wherein after the downloading of the video is successful, the local video list is updated, and the time when the updating is successful is stored.
13. The method according to any one of claims 10-12, wherein during the call, if the video is not pushed to the call terminal, the call terminal can actively connect to a video server to play the video online under the instruction of the user.
14. The method of claim 1, wherein the video played in the popped video playback interface is a full version of the video played during the call.
15. The method according to claim 1, wherein the video played in the popped video playing interface is a new video pushed according to user requirements or preferences.
16. A system for inter-casting video during a call, the system comprising:
the video playing module is used for inserting a video playing interface into a call interface of a call terminal in the call process and playing a video on the video playing interface in a mode of allowing the call to be normally carried out; and
after the call is finished, a video playing interface is popped up on the call interface, and a video can be completely played in the popped video playing interface;
the system codes are directly modified at the call terminal or an application with the video inter-cut function is installed at the call terminal to realize video inter-cut in the call process.
17. The system of claim 16, further comprising a video function adjustment module that enables a user to manually adjust a window of the video playback interface and control a playback process of a video.
18. The system according to claim 16 or 17, further comprising an automatic video downloading module, which connects with the server at preset intervals to obtain video and downloads the video to the call terminal.
19. The system according to claim 17, wherein the means for allowing the call to proceed normally means that the video playing interface is in the form of a window, and the size of the window is adapted to the call terminal to ensure that information necessary for the call is not blocked.
20. The system of claim 19, wherein the size of the window is scalable by a user.
21. The system of claim 19, wherein the window is closable by a user.
22. The system of claim 19, wherein the window is draggable by a user.
23. The system of claim 17, wherein the play time limit and play time limit of the video are selected or configured by the server.
24. The system of claim 17, wherein the playback volume of the video is adjustable by the user.
25. The system of claim 17, wherein the brightness of the video is adjustable by the user.
26. The system of claim 18, wherein the telephony terminal connects to the server and downloads video when a data connection is successfully established in a wifi environment.
27. The system of claim 18, wherein after the video is successfully downloaded, the local video list is updated and the time when the update was successful is stored.
28. The system of claim 18, wherein during the call, if the video is not pushed to the call terminal, the call terminal can actively connect to a video server to play the video online under the instruction of the user.
29. The system of claim 16, wherein the video played in the popped video playback interface is a full version of the video played during the call.
30. The system according to claim 16, wherein the video played in the popped video playing interface is a new video pushed according to user's needs or preferences.
31. The system of claim 16, wherein the video playing interface is accompanied by a click-to-jump application download link or web address.
CN201510148499.5A 2015-03-31 2015-03-31 Method and system for inserting video during call Expired - Fee Related CN106162034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510148499.5A CN106162034B (en) 2015-03-31 2015-03-31 Method and system for inserting video during call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510148499.5A CN106162034B (en) 2015-03-31 2015-03-31 Method and system for inserting video during call

Publications (2)

Publication Number Publication Date
CN106162034A CN106162034A (en) 2016-11-23
CN106162034B true CN106162034B (en) 2020-01-17

Family

ID=57337976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510148499.5A Expired - Fee Related CN106162034B (en) 2015-03-31 2015-03-31 Method and system for inserting video during call

Country Status (1)

Country Link
CN (1) CN106162034B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019130428A1 (en) * 2017-12-26 2019-07-04 三菱電機株式会社 Inter-occupant conversation device and inter-occupant conversation method
CN108513253A (en) * 2018-02-27 2018-09-07 国广互联科技(北京)有限公司 A method of being applied to intelligent video information push displaying in communication process
CN110300227A (en) * 2019-06-28 2019-10-01 北京金山安全软件有限公司 Call interface display method, device and equipment of terminal equipment
CN115695379A (en) * 2021-07-23 2023-02-03 华为技术有限公司 Method and device for delivering media content

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909646A (en) * 2006-08-11 2007-02-07 华为技术有限公司 Video communication method and system
CN101184194A (en) * 2007-12-04 2008-05-21 华为技术有限公司 Method, device and system for playing video
CN103401923A (en) * 2013-07-31 2013-11-20 张先锋 Intelligent terminal for intelligent push of advertisements and buying and selling comments

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909646A (en) * 2006-08-11 2007-02-07 华为技术有限公司 Video communication method and system
CN101184194A (en) * 2007-12-04 2008-05-21 华为技术有限公司 Method, device and system for playing video
CN103401923A (en) * 2013-07-31 2013-11-20 张先锋 Intelligent terminal for intelligent push of advertisements and buying and selling comments

Also Published As

Publication number Publication date
CN106162034A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US8786664B2 (en) System and method for providing integrated video communication applications on a mobile computing device
US20180352398A1 (en) Method, Device And User Equipment For Pushing Service Information
US20080082936A1 (en) Method and system for displaying alternative task data on mobile electronic device
EP2047647B1 (en) User-initiated communications during multimedia content playback on mobile communications device
CN108920120B (en) Information display control method and device
KR20160046751A (en) Method and apparatus for running application program
JP2009527946A (en) Dynamic wallpaper on mobile communication devices
JP2017532700A (en) This application is filed on the basis of a Chinese patent application whose application number is CN20150946713.6 and the filing date is August 13, 2015, claiming priority of the Chinese patent application, The entire contents of the Chinese patent application are hereby incorporated herein by reference.
CN106162034B (en) Method and system for inserting video during call
CN106921892B (en) Online video playing method and device
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN107846617B (en) Interaction method of intelligent terminal and intelligent television
CN112751971A (en) Voice playing method and device and electronic equipment
US20220043852A1 (en) Method and apparatus for recalling image file, control method and apparatus for recalling image file, and mobile terminal
CN108174256B (en) Video playing method and device and computer readable storage medium
TW201545529A (en) Intelligent guide service system integrated with IMS and supported by intelligent terminal technology and method thereof
CN105956199B (en) Information displaying method and device
EP3264750A1 (en) Method, device and system for recording television program
US8166167B2 (en) System and method for providing customized rendering of content
CN107220059A (en) The display methods and device of application interface
CN108153832B (en) Push information display method and device
CN112866782A (en) Video playing method, video playing device and electronic equipment
CN114339320B (en) Virtual resource processing method, device, equipment and storage medium
EP3132596B1 (en) Systems and methods for sharing selected data by phone call
CN109714247B (en) Group chat information processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200117

CF01 Termination of patent right due to non-payment of annual fee