CN109981907B - Communication connection establishing method, device, terminal and storage medium - Google Patents

Communication connection establishing method, device, terminal and storage medium Download PDF

Info

Publication number
CN109981907B
CN109981907B CN201910272639.8A CN201910272639A CN109981907B CN 109981907 B CN109981907 B CN 109981907B CN 201910272639 A CN201910272639 A CN 201910272639A CN 109981907 B CN109981907 B CN 109981907B
Authority
CN
China
Prior art keywords
video
target
control
playing
terminal
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
CN201910272639.8A
Other languages
Chinese (zh)
Other versions
CN109981907A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910272639.8A priority Critical patent/CN109981907B/en
Publication of CN109981907A publication Critical patent/CN109981907A/en
Application granted granted Critical
Publication of CN109981907B publication Critical patent/CN109981907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a communication connection establishing method, a communication connection establishing device, a terminal and a storage medium, and belongs to the technical field of terminals. The method comprises the following steps: when a request for establishing communication connection initiated by a target terminal is received, displaying a floating window in a display screen of the terminal; playing the video in the floating window through the video playing control; displaying related information and an answering control of a target terminal in the floating window for playing the video; and when receiving a trigger signal corresponding to the answering control, establishing communication connection with the target terminal. According to the technical scheme, the technical problem that the traditional communication connection establishing process is too solidified and single is solved, and on the basis of realizing communication connection establishment, the webpage display after the connection request is received is richer and more diversified through playing the video and is more personalized.

Description

Communication connection establishing method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a communication connection establishing method, a communication connection establishing device, a terminal and a storage medium.
Background
Dialing and answering a call are basic functions of the mobile phone.
In the related art, when a mobile phone receives an incoming call from a certain phone number, an incoming call answering page is displayed, and the phone number, an answering button and a rejecting button are usually displayed in the incoming call answering page. For example, the user clicks an answer button, and then can choose to answer the incoming call to establish a communication connection with the phone number.
At present, the process of establishing communication connection is too rigid and single.
Disclosure of Invention
The embodiment of the application provides a communication connection establishing method, a communication connection establishing device, a terminal and a storage medium, which can be used for solving the technical problem that the communication connection establishing process is too solidified and single. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a communication connection establishing method, which is applied to a terminal with a display screen and a communication function, where the method includes:
when a request for establishing communication connection initiated by a target terminal is received, displaying a floating window in a display screen of the terminal;
playing a video in the floating window through a video playing control;
displaying related information and an answering control of the target terminal in the floating window of the played video;
and when a trigger signal corresponding to the answering control is received, establishing communication connection with the target terminal.
On the other hand, an embodiment of the present application provides a communication connection establishing apparatus, which is applied to a terminal with a display screen and having a communication function, and the apparatus includes:
the system comprises a floating window display module, a floating window display module and a communication module, wherein the floating window display module is used for displaying a floating window in a display screen of a terminal when receiving a request for establishing communication connection initiated by a target terminal;
the video playing module is used for playing a video in the floating window through the video playing control;
the information display module is used for displaying the related information and the answering control of the target terminal in the floating window of the played video;
and the communication connection establishing module is used for establishing communication connection with the target terminal when receiving the trigger signal corresponding to the answering control.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the above communication connection establishment method.
In yet another aspect, an embodiment of the present application provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the above communication connection establishment method.
In yet another aspect, the present application provides a computer program product, when being executed, for executing the above communication connection establishing method.
The technical scheme provided by the embodiment of the application at least comprises the following beneficial effects:
according to the technical scheme provided by the embodiment of the application, when a request for establishing communication connection initiated by a target terminal is received, a floating window is displayed in a display screen, a video is played in the floating window through a video playing control, meanwhile, the terminal also displays related information and an answering control of the target terminal in the floating window for playing the video, and when a trigger signal corresponding to the answering control is received, the terminal establishes communication connection with the target terminal; the technical problem that the traditional communication connection establishing process is too solidified and single is solved, and on the basis of realizing communication connection establishment, the display of the page after the connection request is received is richer and more diversified and more personalized by playing the video.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a basic flow chart illustrating the technical solution of the present application;
fig. 2 is a flowchart of a communication connection establishment method according to an embodiment of the present application;
FIG. 3 illustrates an interface diagram of a communication connection establishment procedure;
FIG. 4 illustrates a flow chart of a video setup process;
FIGS. 5 and 6 illustrate schematic diagrams of video selection pages;
FIGS. 7 and 8 illustrate diagrams of video preview pages;
FIG. 9 is an interface diagram illustrating a rights setting process;
FIG. 10 illustrates a flow chart of another video setup process;
FIG. 11 is an interface diagram illustrating a contact setup process;
FIG. 12 illustrates a schematic diagram of a personalization set page;
FIG. 13 illustrates a schematic diagram of a technical implementation architecture;
FIG. 14 illustrates a flow chart of a typical video setup process;
FIG. 15 illustrates an internal schematic diagram of a video playback component;
FIG. 16 is a call flow diagram illustrating a rights setting process;
fig. 17 is a flowchart illustrating a video setting process;
fig. 18 is a flowchart illustrating a ringtone setting process;
FIG. 19 illustrates a flow chart of a typical video display process;
FIG. 20 is a diagram illustrating a video playback and related information presentation process;
FIG. 21 illustrates a schematic diagram of telephone answering logic;
fig. 22 is a block diagram of a communication connection establishing apparatus according to an embodiment of the present application;
fig. 23 is a block diagram of a communication connection establishing apparatus according to another embodiment of the present application;
fig. 24 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a technical scheme that when a terminal receives a request for establishing communication connection initiated by other terminals, the terminal plays a video and displays related information of a requester, an answering control, a refusing control and other contents while playing the video, so that the technical problem that the traditional communication connection establishment process is too solidified and single is solved, and on the basis of realizing the establishment of the communication connection, pages after the connection request is received are displayed more abundantly and diversely and are more personalized by playing the video.
Reference is also made to fig. 1, which schematically shows a basic flow chart of the technical solution of the present application. The user A initiates a request for establishing a communication connection to the mobile phone of the user B through the mobile phone, such as dialing the phone of the user B or initiating a voice or video call request to the user B. After receiving the request, if the mobile phone of the user B is in the screen-off state, the display screen is firstly lightened, then the floating window is displayed in the display screen, and a video is played in the floating window through the video playing control, wherein the video can be a video preset by the user B and used for playing when the communication connection establishment request is received, and the video can be a short video or a long video. In the process of playing the video, the mobile phone of the user B also displays the related information (such as the telephone number, the user account number or the name) of the user a in the floating window, and displays an answering control and a rejecting control. And if the user B clicks the answering control to select answering, establishing communication connection between the user A and the mobile phone of the user B, removing the floating window from the display screen by the mobile phone of the user B, and displaying a call interface. And if the user B clicks the rejection control to select to reject answering, the communication connection is not established between the mobile phones of the user A and the user B, the mobile phone of the user B removes the floating window in the display screen, and a screen locking interface is displayed. If the user A hangs up before the user B makes a selection of answering or rejecting, the communication connection between the mobile phones of the user A and the user B is not established, the mobile phone of the user B removes the floating window in the display screen, and a screen locking interface is displayed.
In an exemplary embodiment, a video played when an incoming call is received is set in a call application of a mobile phone by a small sheet, when the incoming call of any telephone number is received by the small sheet of mobile phone, a floating window is displayed in a display screen, the set video is played in the floating window, and contents such as the telephone number of the incoming call, an answering control, a refusing control and the like are displayed in the floating window while the video is played.
In an exemplary embodiment, the king sets a video played when a voice or video call is received in an instant messaging application of a mobile phone, and when the mobile phone of the king receives a voice or video call request initiated by any contact, the mobile phone of the king displays a floating window in a display screen, plays the set video in the floating window, and displays contents such as contact information, an answering control, a refusing control and the like initiating the call request in the floating window while playing the video.
In the embodiment of the method, the main body for executing each step can be a terminal, and the terminal is provided with a display screen and has a communication function. For example, the terminal may be an electronic device such as a mobile phone, a tablet computer, a smart watch, and the like. Optionally, a target application for implementing the functions of the method of the present application is installed and operated in the terminal, and each step of the embodiment of the method of the present application may be executed by the target application. For example, the target application may be a call application, an instant messaging application, a social-type application, or other voice or video communication enabled application. For convenience of explanation, in the following method embodiments, only the execution subject of each step is described as a terminal, but the present invention is not limited thereto.
Referring to fig. 2, a flowchart of a communication connection establishment method according to an embodiment of the present application is shown. The method can comprise the following steps (201-204).
Step 201, when a request for establishing a communication connection initiated by a target terminal is received, a floating window is displayed in a display screen of the terminal.
The target terminal may be any one of the terminals. The target terminal can initiate a request for establishing communication connection in the call application, such as dialing a telephone number of the terminal and requesting to establish the call connection with the terminal; the target terminal may also initiate a request for establishing a communication connection in the instant messaging application, such as initiating a voice or video call request to a user of the terminal, requesting to establish a voice or video call with the user of the terminal.
In one example, the call application of the terminal displays a floating window in a display screen when receiving an incoming call request initiated by a target telephone number. The destination phone number may be any phone number, which may be a mobile phone number (e.g., a mobile phone number) or a fixed phone number (e.g., a landline phone number), and the embodiment of the present application is not limited thereto.
In another example, the instant messaging application of the terminal displays a floating window in the display screen upon receiving a voice or video call request initiated by a target contact. The target contact may be any contact of the end user, such as a friend, a contact in a group, or another contact having an authority to initiate a call request to the end user, which is not limited in this embodiment of the present application.
When the terminal receives a request for establishing communication connection initiated by a target terminal, the terminal displays a floating window in a display screen no matter whether the terminal is in a screen locking state or a non-screen locking state. The floating window may also be referred to as a video playback page, which is used to play video.
In an exemplary embodiment, the floating window is displayed in a full screen manner in the display screen of the terminal, that is, the floating window fills the whole display screen for displaying.
And 202, playing the video in the floating window through the video playing control.
And the terminal plays the video in the floating window through the video playing control. The video playing control is an application program for realizing a video playing function, such as functions of decoding and playing videos.
In one possible implementation, the video played in the floating window is preset, such as the video set by the setting method provided in the following embodiment. In an exemplary embodiment, the terminal plays a video corresponding to a target terminal (e.g., a target phone number or a target contact) in a floating window. Optionally, there are at least two terminals (e.g., phone numbers or contacts) corresponding to different videos. For example, the terminal may set different videos for different telephone numbers (or contacts), and after receiving a request initiated by a target telephone number (or a target contact) to establish a communication connection, the terminal acquires the video set corresponding to the target telephone number (or the target contact) and plays the video in the floating window through the video play control.
In another possible implementation manner, the videos played in the floating window are matched randomly, for example, when the terminal receives a request for establishing a communication connection initiated by the target terminal, one or more videos are randomly selected from a video resource pool, and then the selected videos are played in the floating window.
The video may be a short video file or a long video file, regardless of whether the video is a preset video or a randomly matched video. The short video file refers to a video file with a video duration less than a preset threshold, the long video file refers to a video file with a video duration greater than a preset threshold, and the preset threshold may be a preset empirical value, such as 15 seconds.
In some other examples, the video played in the floating window is not preset or randomly matched, but is shot by the terminal in real time. The terminal collects images of an environment through the camera to generate a video, and the generated video is played in the suspension window. The camera can comprise a front camera and/or a rear camera of the terminal. The terminal can directly display the environment image collected by the camera as a video, and also can display the environment image collected by the camera as a video after being properly processed. For example, the terminal may add an AR element to the environment image captured by the camera, or convert the environment element in the environment image captured by the camera into the AR element. The AR elements include, but are not limited to, AR special effects, 3D models, and the like.
Optionally, the terminal plays the video in a silent mode, and plays the ring tone during the playing of the video. The ring tone may be an original audio file of a system ring tone, or a target audio file pre-extracted from a video played in the floating window, which is determined by a user selection when setting the video.
In some other examples, the terminal plays the video in a non-silent form, and during the playing of the video, the terminal mutes or prohibits the ring tone from being played. By the mode, the purpose of playing the sound matched with the video content of the video can be achieved.
And 203, displaying the related information and the answering control of the target terminal in a floating window for playing the video.
The terminal can also display the related information of the target terminal (such as a target telephone number or a target contact person) in the process of playing the video in the floating window. Wherein, the related information of the target terminal includes but is not limited to at least one of the following: the phone number or user account of the request initiator, the name of the request initiator, the head portrait of the request initiator, the attribution information of the request initiator, and the classification information of the request initiator. And the terminal displays the related information of the target terminal in the floating window while playing the video in the floating window.
In addition, in the process of playing the video in the floating window, the terminal can display an answering control and a refusing control in the floating window besides displaying the relevant information of the target terminal in the floating window. The answering control is an operation control used for triggering answering of the communication connection establishment request, the refusing control is an operation control used for triggering refusing of the answering of the communication connection establishment request, and the answering control and the refusing control can be two buttons.
Optionally, the terminal creates a floating layer on the floating window, and the relevant information, the answer control and the reject control of the target terminal are displayed on the floating layer. Optionally, the float is a transparent float, such as a transparent UI interface. Although the transparent floating layer is positioned on the upper layer of the floating window, the transparent floating layer is transparent and invisible to a user, so that the user is not influenced to view the video played in the floating window.
In the embodiment of the application, the floating layer is created on the floating window, and then the related information and the answering control of the target terminal are displayed in the floating layer, so that on one hand, the video played in the floating window is not influenced to be normally viewed by a user, and on the other hand, the answering control can be ensured to normally receive the touch operation signal of the user.
And step 204, when a trigger signal corresponding to the answering control is received, establishing communication connection with the target terminal.
The triggering signal corresponding to the answering control can be an operation signal generated by a user through clicking, pressing and the like, and when the terminal receives the triggering signal, the terminal answers a communication connection establishment request initiated by the target terminal and establishes communication connection with the target terminal. For example, when the communication connection establishment request is an incoming call request in a call application, a call connection is established between the terminal and a target terminal; and when the communication connection establishment request is a voice or video call request in the instant messaging application, establishing voice or video call connection between the terminal and the target terminal.
As shown in fig. 3, taking incoming call answering as an example, after receiving an incoming call with a phone number "13800000000", the terminal displays the floating window 100 in full screen, and plays an incoming call video in the floating window 100 through a video playing control, and at the same time, the terminal plays a system ring, which may be an audio file extracted from the incoming call video in advance. In the process of playing the incoming call video, the terminal also displays a transparent floating layer on the upper layer of the floating window, and displays the relevant information of the telephone number '13800000000', such as the telephone number itself, the home location information and the like in the transparent floating layer. And, the terminal also displays a listen button 101 and a reject button 102 in the transparent floating layer. If the user clicks the answer button 101, the call can be triggered to be answered; if the user clicks the reject button 102, rejection of the incoming call may be triggered.
Optionally, when detecting that the communication connection establishment request is interrupted by the requesting party or the communication connection establishment request is accepted or rejected by the receiving party, the terminal removes the floating window and stops playing the video. As shown in fig. 3, if the user clicks the listen button 101, the terminal switches display from the floating window 100 to the talk page 110.
To sum up, in the technical solution provided in this embodiment of the present application, when a request for establishing a communication connection initiated by a target terminal is received, a floating window is displayed in a display screen, a video is played in the floating window through a video playing control, meanwhile, the terminal also displays related information of the target terminal and an answering control in the floating window for playing the video, and when a trigger signal corresponding to the answering control is received, a communication connection is established with the target terminal; the technical problem that the traditional communication connection establishing process is too solidified and single is solved, and on the basis of realizing communication connection establishment, the display of the page after the connection request is received is richer and more diversified and more personalized by playing the video.
In addition, the floating layer is created on the floating window, and then the related information and the answering control of the target terminal are displayed in the floating layer, so that on one hand, the video played in the floating window is not influenced to be normally viewed by a user, on the other hand, the answering control can be ensured to normally receive a touch operation signal of the user, and the successful response to the user operation is realized.
In addition, the floating window for playing the video is displayed in a full-screen manner in the terminal display screen, so that the video can be fully distributed in the whole display screen for playing, and is not played only in a local area of the display screen, on one hand, the display effect of the video is favorably improved, and the display content in the display screen is more concise and uniform after the communication connection establishment request is received; on the other hand, the related information and the answering control of the target terminal are required to be displayed in the floating window so as to realize the response to the communication connection establishment request, so that the floating window is displayed in a full screen manner, the page layout of the related information and the answering control of the target terminal and other elements is more reasonable, the corresponding elements can be displayed at the proper positions of the display screen, and the user can conveniently check and operate the elements.
The above embodiment describes a video presentation process when a communication connection establishment request is received, and a video setting process is described below, and as shown in fig. 4, the video setting process may include the following steps (401 to 404).
Step 401, displaying a video selection page.
The terminal displays a video selection page. The video selection page comprises at least one candidate video, and the video selection page is used for allowing the user to select a favorite video from the candidate video and setting the favorite video as a video played when a communication connection establishment request is received. Alternatively, the candidate video may come from the network or may come locally from the terminal. The candidate video local to the terminal may be a video shot by the terminal and stored locally, or a video downloaded by the terminal from other applications and stored locally, such as a video downloaded by the terminal from some short video applications or social applications and stored locally.
In an exemplary embodiment, the terminal displays a still preview of each candidate video in a video selection page; and if the dynamic preview of the target candidate video is obtained, replacing the static preview of the target candidate video with the dynamic preview of the target candidate video. The target candidate video may be any one of candidate videos in the video selection page. The still preview of the target candidate video is a picture, which may be an image frame captured from the target candidate video or a cover picture preset for the target candidate video. The dynamic preview of the target candidate video includes a plurality of pictures, the plurality of pictures are sequentially played to form a dynamic image effect, the plurality of pictures may be a plurality of image frames captured from the target candidate video, or a plurality of pictures preset for the target candidate video, which is not limited in the embodiment of the present application.
Illustratively, as shown in fig. 5, the terminal displays a video selection page 10, in which the video selection page 10 includes a plurality of display positions 11, each display position 11 may be arranged in a list, and a static preview or a dynamic preview of a candidate video is displayed in each display position 11. In addition, referring to fig. 5 and fig. 6 in combination, the video selection page 10 includes two classification tags, namely a "pick" classification tag 13 and a "custom" classification tag 14, when the user selects the "pick" classification tag 13, the candidate video displayed in the video selection page 10 is the network video provided by the background server, and when the user selects the "custom" classification tag 14, the candidate video displayed in the video selection page 10 is the local video stored in the terminal. The network video and the local video are both candidate videos, and a user can select the network video provided by the background server as a video played when receiving a communication connection establishment request and also can select the local video as a video played when receiving the communication connection establishment request.
Step 402, when a selection instruction corresponding to a target video in the video selection page is received, displaying a video preview page.
The target video may be any one of the candidate videos in the video selection page. The selection instruction corresponding to the target video refers to an operation instruction triggered and generated by a user and used for selecting the target video. The selection instruction may be generated by touch operation, for example, as shown in fig. 5, when the user clicks a display position 11 corresponding to "candidate video 1" in the video selection page 10, the terminal receives the selection instruction corresponding to "candidate video 1". Of course, in some other possible implementations, the selection instruction may also be triggered by voice, gesture, or the like, which is not limited in this embodiment of the application.
And when the terminal receives a selection instruction corresponding to the target video, displaying a video preview page. Optionally, the video preview page is displayed in a full screen manner in the display screen.
And step 403, playing the target video in the video preview page.
And after the terminal displays the video preview page, playing the target video selected by the user in the video preview page. For example, if the target video is a network video provided by a background server, the terminal downloads the target video from the background server, and then plays the target video in a video preview page; if the target video is a local video stored in the terminal, the terminal can directly play the target video in the video preview page.
With combined reference to fig. 5 and fig. 7, it is assumed that the user clicks the presentation position 11 corresponding to the "candidate video 1" in the video selection page 10, the terminal displays the video preview page 20 as shown in fig. 7, and plays the candidate video 1 in the video preview page 20.
In an exemplary embodiment, the upper layer of the video preview page is displayed with a sub-page, which may be referred to as a preview and set sub-page. The preview and setting sub-page comprises a preview control and a setting control; the preview control is an operation control used for triggering and generating a preview instruction, the setting control is an operation control used for triggering and generating a video setting instruction, and the preview control and the setting control can be buttons.
Optionally, when the terminal receives the preview instruction, the terminal displays preview information while playing the target video, where the preview information includes related information of a preset contact, an answering control and a rejecting control. Wherein, the related information of the preset contact includes but is not limited to at least one of the following: the phone number, name, head portrait, attribution information and classification information of the preset contact person. The preset contact may be any preset contact. The answering control is an operation control used for answering the communication connection establishment request, and the rejecting button is an operation control used for rejecting answering the communication connection establishment request.
Illustratively, referring collectively to fig. 7 and 8, the upper layer of the video preview page 20 displays a preview and settings sub-page 21, which preview and settings sub-page 21 includes a preview control 22 and a settings control 23. Clicking on the preview control 22 by the user triggers the generation of a preview instruction. As shown in fig. 8, after receiving the preview instruction, the terminal displays preview information such as the preset telephone number 0755-12345678, home information, answer button 24, and reject button 25 while playing the candidate video 1. The preview information may be displayed on an upper layer of the video preview page 20 without affecting the normal play of the video in the video preview page 20.
Additionally, as shown in FIG. 8, the user may cancel displaying the preview information by clicking on the exit preview control 26 in the upper left corner. As shown in FIG. 7, the user clicking on the return control 27 in the upper left corner may return from the video preview page 20 to the video selection page 10; clicking on the volume control 28 in the upper right corner by the user may adjust the volume of the video, such as by adjusting the volume level or switching to mute.
Step 404, after receiving the video setting instruction, setting the target video as the video to be played when receiving the communication connection establishment request.
The video setting instruction is an operation instruction for setting the currently selected target video as the video to be played when the communication connection establishment request is received. The frequency setting instruction can be generated by touch operation, for example, as shown in fig. 7, a user clicks the setting control 23 to trigger generation of a video setting instruction.
And after receiving the video setting instruction, the terminal sets the currently selected target video as the video played when receiving the communication connection establishment request. The above embodiments are referred to with respect to the display process of the video when the communication connection establishment request is received.
In addition, after the terminal receives the video setting instruction, the terminal can also extract the audio information in the target video to generate a target audio file, backup and store the original audio file corresponding to the system ring, and then replace the original audio file corresponding to the system ring with the target audio file. Thus, when the terminal receives the communication connection establishment request and plays the video, the system ring is played, and the system ring is the audio information matched with the video.
In an exemplary embodiment, after receiving the video setting instruction, the terminal may display a prompt message for prompting the user to select whether to use the audio information in the target video as the system ring tone when the communication connection establishment request is received. If the user selects the audio information in the target video as the system ring tone when the communication connection establishment request is received, the terminal extracts the audio information in the target video, generates a target audio file, and replaces the original audio file corresponding to the system ring tone with the target audio file; if the user chooses not to take the audio information in the target video as the system ring tone when the communication connection establishment request is received, the terminal may not perform the step of extracting the audio information in the target video to generate the target audio file, and keep the original audio file corresponding to the system ring tone unchanged.
In addition, if the terminal is a video which is set for the first time and played when the communication connection establishment request is received, when a video setting instruction is received, the terminal displays a prompt popup window which is used for prompting a user to open the system authority; when receiving an authority setting instruction, displaying an authority management page, wherein the authority management page comprises at least one system authority and a corresponding switch control; and after detecting that all system authorities in the authority management page are opened, the terminal executes a step of setting the target video as the video played when the communication connection establishment request is received. Optionally, at least one system right including but not limited to the following is included in the rights management page: floating window permission, notification bar use permission, ring permission, telephone permission, and SD Card (Secure Digital Memory Card) permission. Only after the user opens the authority, the terminal can play the video when receiving the communication connection establishment request.
Illustratively, as shown in fig. 9, when receiving a video setting instruction, the terminal detects whether a video played when receiving a communication connection establishment request is set for the first time, and if the video is set for the first time, the terminal displays a prompt popup window 30, wherein the prompt popup window 30 contains prompt information, and an authority setting control 31. The user clicks the authority setting control 31 to trigger the authority setting indication, the terminal displays the authority management page 40, the authority management page 40 includes a plurality of system authorities such as the authority of the floating window and the authority of the notification bar and the corresponding switch control 41, and the user clicks the switch control 41 corresponding to a certain system authority to trigger the system authority to be turned on or turned off. After detecting that each system right in the right management page 40 is opened, the terminal may jump to the video preview page 20 and prompt the user that the video has been set.
In summary, in the technical solution provided in the embodiment of the present application, by providing the video preview and information preview functions in the video setting process, the user can preview the display effect of each candidate video, and the user is helped to select a suitable candidate video more efficiently and accurately as a video to be played when the communication connection establishment request is received.
In addition, the candidate videos provided in the video selection page include network videos provided by the background server and local videos stored by the terminal, so that richer selections are provided for the user, and the user-defined setting requirements of the user are better met.
Referring to fig. 10, a flow chart of a video setting process according to another embodiment of the present application is shown. The setup process may include several steps (1001-1006) as follows.
Step 1001, display video selection page.
Step 1002, when a selection instruction corresponding to a target video in the video selection page is received, displaying a video preview page.
And step 1003, playing the target video in the video preview page.
The steps 1001-1003 are the same as or similar to the steps 401-403 in the embodiment of fig. 4, and are described in the above description, and are not repeated herein.
And step 1004, after receiving the video setting instruction, displaying the contact list.
In this embodiment, after receiving the video setting instruction, the terminal displays a contact list, where the contact list includes at least one contact. The contact list may be a contact list stored by the terminal, and includes names, phone numbers, and other information of the respective contacts.
In an exemplary embodiment, as shown in FIG. 11, the user clicks on the settings control 23 in the video preview page 20, triggering the generation of a video settings instruction. After receiving the video setting instruction, the terminal displays a contact setting popup window 50, wherein the contact setting popup window 50 comprises contact setting prompt information and two selection controls. As shown in fig. 11, one of the selection controls is a "set to default" control 51 for setting the target video selected by the user as the video of the default contact, which may be the remaining contacts except the designated contact; another selection control is a "set to designated contact" control 52 for setting the target video selected by the user as the video of the designated contact, which may be one or more, and is selected by the user in a customized manner. As shown in fig. 11, if the user clicks the "set to designated contact" control 52, the terminal displays a contact list 60, and in the contact list 60, a plurality of contacts for the user to select, such as zhang san, lie si, wang wu, etc., are included.
Step 1005, obtaining a selection instruction corresponding to the target contact in the contact list.
The target contact can be one or more. That is, the embodiment of the application supports the function of setting the same video for a plurality of contacts at the same time.
As shown in fig. 11, the user clicks the items corresponding to the four and six zhhao items, and the terminal acquires the selection instructions corresponding to the four and six zhhao items. Thereafter, the user clicks the "confirm" button 61, indicating confirmation of selection of two contacts, namely, li four and zhao six.
Step 1006, set the target video as the video of the target contact.
After the user selects the target contact person, the terminal sets the target video as the video of the target contact person, namely the video played when the communication connection establishment request sent by the target contact person is received. By the method, the user can set different videos for different contacts, and flexibility and individuation are achieved.
In an exemplary embodiment, after the terminal displays the video preview page, a personalized setting option may also be displayed in the video preview page, so that a user can perform personalized setting on elements displayed when a communication connection establishment request is received by a video, an audio, a control, and the like.
In one example, the terminal provides a personalized setting function for audio, and comprises the following steps:
1. when an audio setting instruction corresponding to a target video is received, displaying an audio selection page, wherein the audio selection page comprises at least one candidate audio;
2. receiving a selection instruction corresponding to a target audio in an audio selection page;
3. and setting the target audio as the audio information of the target video.
The candidate audio provided in the audio selection page may be from the network or locally from the terminal. Illustratively, as shown in fig. 12, the terminal displays a personalization setting page 70 on the top of the video preview page 20, and the personalization setting page 70 includes several personalization setting options, such as "button" setting option 71, "audio" setting option 72, "special effect" setting option 73, "pendant" setting option 74, and the like, shown in fig. 12. The user clicks on the "audio" setting option 72 and the terminal receives audio setting instructions accordingly. The terminal then displays an audio selection page 80, in which audio selection page 80 at least one candidate audio is included. Assuming that the user selects a candidate audio 1 and clicks the "ok" button in the upper right corner, the terminal sets the candidate audio 1 as the audio information of the target video.
In another example, the terminal provides a function of personalizing controls (such as an answering control and a rejecting control), and comprises the following steps:
1. when a control setting instruction is received, displaying a control style selection page, wherein the control style selection page comprises at least one candidate control style;
2. receiving a selection instruction corresponding to a target control style in a control style selection page;
3. and setting the display styles of the answering control and the refusing control as target control styles.
The control style comprises display styles such as colors, shapes, sizes and patterns of the control, and different control styles correspond to different control display effects. Illustratively, as shown in fig. 12, the user clicks a "button" setting option 71, and accordingly, the terminal receives a button setting instruction. Thereafter, the terminal displays a button selection page 90 in which at least one candidate button style is included in the button selection page 90. Assuming that the user selects the style 2 and clicks the "ok" button in the upper right corner, the terminal sets the display style of the answer button and the reject button to the style 2. In addition, after the user selects the target button style, the terminal may display the target button style in the video preview page 20 so that the user can decide whether to select or not after knowing the display effect thereof.
In the two examples, only the personalized settings of the audio and the control are introduced and described, and the user can also perform personalized settings on the video, such as adding special effects, pendants and the like in the video, so that richer personalized setting requirements of the user are met.
In summary, in the technical scheme provided by the embodiment of the application, the user can set different videos for different contacts by setting corresponding videos for the target contacts, so that the flexibility and the individuation are better.
In addition, personalized setting options are displayed in the video preview page, so that the user can perform personalized setting on elements displayed when the communication connection establishment request is received by the video, the audio, the control and the like, richer personalized setting requirements of the user are met, and product functions are enriched.
The technical scheme of the present application is described above mainly from the product implementation perspective, and is described below from the technical implementation perspective.
Refer to fig. 13, which illustrates a schematic diagram of a technical implementation architecture to which the present application relates. As shown in fig. 13, it includes an MVP framework 131, a configuration file 132, a template management component 133, a video management component 134, a video playing component 135, a video downloading component 136, and a video processing component 137.
An MVP (Model-View-Presenter, Model-View-presentation layer) framework 131 is used to implement page display of the upper layer.
The configuration file 132 is used for storing basic information of each candidate video (also referred to as a video template) provided by the backend server, such as information including a video ID, a title, a download address of a static preview, a video download link, a video size, a download address of a dynamic preview, and the like. The configuration file 132 supports dynamic updates, such as basic information that can be added, modified, or deleted from candidate videos.
The template management component 133 is used for encapsulating the video template-related operation interface, such as obtaining a candidate video list, obtaining a currently set video, and the like.
The video management component 134 is used to manage the storage locations of downloaded video files and currently set videos, and manage file caching policies, and the like.
The video playing component 135 is used for playing video, and for example, in the process of video preview and video display, the video playing component 135 is required to be used for video playing.
The video download component 136 is used to download video files.
The video processing component 137 is used to extract audio files from video files.
The video setup process and display process described above may be implemented by the technical implementation architecture shown in fig. 13.
As shown in fig. 14, a typical video setup process includes the following steps: 1. displaying a candidate video list; 2. previewing the candidate video; 3. opening system authority; 4. downloading a target video; 5. extracting an audio file; 6. replacing the system ring tone.
The terminal displays the candidate video list in the video selection page, the user can select to play the candidate video in the process of browsing the candidate video list, and the terminal plays the candidate video selected by the user in the video preview page. If the user selects to set the target video as the video to be played when the communication connection establishment request is received, the terminal guides the user to open some necessary system permissions, then downloads the video file of the target video, extracts audio information from the video file to generate a target audio file, and then replaces the original audio file of the system ringtone with the target audio file.
The candidate video list may be stored in a configuration file, which is illustratively in the format shown in table-1 below:
TABLE-1
Figure BDA0002018915700000151
Figure BDA0002018915700000161
The video ID is a global unique identification of the video, different candidate videos correspond to different video IDs, and the terminal uniquely determines a certain candidate video through the field. And the download address field of the static preview is used for recording the download address of the static preview of the candidate video, and the static preview of each candidate video is preferentially downloaded and displayed when the terminal displays the video selection page. The video download link field is used for recording the download address of the candidate video. The video size field is used to record the file size of the candidate video in KB. The download address field of the dynamic preview is used for recording the download address of the dynamic preview of the candidate video, the download addresses of the pictures can be separated by a preset interval character (such as "|"), and if the value of the field corresponding to a certain candidate video is null, the candidate video does not have the dynamic preview.
In the process of previewing the candidate video, the target video selected by the user is played by the video playing component. The video playing component may include a plurality of video playing controls inside, such as a video playing control native to the terminal operating system and a third-party video playing control. As shown in fig. 15, which illustrates an internal schematic diagram of a video playing component, it includes a video playing control base class 151, a first video playing control 152, and a second video playing control 153. Video play control base class 151 defines the relevant operation interfaces for video play, including start play, stop play, and so on. The name of video playback control base class 151 may be denoted as AbsVideoView. The incoming video service creates a video playing control object by calling a create method of the factory class 154, and the name of the factory class can be recorded as VideoViewFactory. In the video playing control base class 151, a logic is implemented that, if it is detected that the plug-in corresponding to the second video playing control 153 is not loaded, the video is played through the first video playing control 152, and if it is detected that the plug-in corresponding to the second video playing control 153 is loaded, the video is played through the second video playing control 153. The first video playing control 152 may be a native video playing control of the terminal operating system, such as denoted as QVideoView; the second video playing control 153 is a third-party video playing control, and may have higher performance than the native video playing control of the system, such as denoted as tvkvdeoview.
The opening process of the system permission is guided and opened by the permission framework in a unified manner, the call flow is as shown in fig. 16, the incoming video service requests an interface (such as a startguiddepage interface) of the permission framework to guide specified permission items, including a floating window permission, a notification bar use permission, a ring permission, a telephone permission, an SD card permission and the like, and after the guidance is finished, the permission framework recalls a corresponding authorization result to the incoming video service. The authorization result comprises three states of permission, inquiry and rejection. Only after the relevant system authority is authorized to be allowed, the user can perform the next operation, and the selected target video is set as the video played when the communication connection establishment request is received.
After the system authority is turned on, the terminal automatically downloads the video file of the target video, then extracts the target audio file from the video file, and records the file path information of the video file and the target audio file, and the process can be as shown in fig. 17. The video downloading can adopt an http connection type in an Android system to realize downloading of a video file from a CDN (Content Delivery Network) to the local, and if the downloading fails, the downloading is retried until the maximum limit number is exceeded, and the interface is called back to an external caller through Callback if the downloading succeeds or fails. And after downloading is finished, extracting an audio file from the video file, for example, extracting the audio by using an extract interface of an audioextract type, and obtaining the corresponding audio file after extraction is finished.
After extracting the target audio file from the target video, the target audio file is replaced to the original audio file of the system ring tone. If the terminal supports the insertion of two SIM (Subscriber identity Module) cards, the dual-card ring tone may be replaced by the procedure shown in fig. 18. Specifically, the original audio file of the system ring tone is backed up first, and if the subsequent user cancels the incoming call video, the system ring tone can be restored. After the backup is completed, the ring of the SIM card 1 is set, and the principle is to update the ring record information in the system media database, and operate through ContentProvider. The ring tone of the SIM card 2 is then set, and the system media database for the system ring tone of the SIM card 2 may be different for different terminal manufacturers and needs to be adapted, but the principle is the same as the ring tone setting process of the SIM card 1.
As shown in fig. 19, a typical video display process includes the following steps: 1. monitoring an incoming call request, or monitoring a language or video call request; 2. displaying a full screen floating window; 3. playing the video; 4. ringing a system bell; 5. the opposite user hangs up or the own user processes; 6. the full screen floating window is removed.
The terminal monitors an incoming call request or a language or video call request through a registered monitor, when the request is monitored, a video playing page is displayed, the video playing page can be a full-screen floating window, then a video playing component is adopted to play a video set previously on the full-screen floating window, and simultaneously a system ring is played. And when the fact that the opposite user hangs up or the local user answers or refuses is monitored, automatically removing the full-screen floating window. And displaying the related information of the requester on the floating window, wherein part of the information can be asynchronously acquired by querying the cloud database.
Taking the example that the terminal of the Android system monitors the incoming call request, the incoming call is monitored through the TelephonManager in the Android system, and the incoming call number is read after the incoming call is monitored. TelephonyManager is a class provided by the Android system for developers to handle call related services, wherein a listen interface can be used to listen to incoming and outgoing broadcasts. For the dual-card terminal, incoming and outgoing broadcasts of the two SIM cards can be monitored through the interface.
After the terminal monitors an incoming call, a floating window is added on a mobile phone screen by calling an addView method of a Windows manager, the floating window is designated as a full-screen floating window and can be displayed on a lock screen, and the attributes are controlled by a parameter of the Windows manager. Illustratively, the windows TYPE is designated as TYPE _ APPLICATION _ OVERLAY or TYPE _ SYSTEM _ ERROR, indicating that the floating window can be displayed above the lock screen, and that incoming calls typically occur while the screen is locked, and so need to be designated as that TYPE. In addition, in order to enable the floating window to play a video in a full screen mode, the windows flags need to be appointed to be specific attributes, if the floating window is appointed to be in the full screen mode, the screen keeps a normally bright state when the floating window is displayed, and for a terminal with a virtual keyboard at the bottom, the virtual keyboard can be automatically hidden, so that the floating window is full of the whole screen.
And on the full-screen floating window, playing the previously set video through the video playing component, and setting the video to be in a mute state during playing. Meanwhile, relevant information of the requester is displayed, and answering and hang-up buttons are provided. The flow of the video playing and the related information presentation of the requesting party can be as shown in fig. 20. Firstly, a video file is loaded through a video playing control AbsVideoView, a video is played in a mute mode after the video file is loaded, meanwhile, relevant information of the requester, including mark information, yellow page information, custom mark information and the like, is inquired through a cloud inquiry interface, and information displayed by a floating window is updated after the inquiry is finished.
Optionally, for the incoming call request, the hang-up interface is implemented by using a standard method endCall, and under the condition of permission, the interface can be used for hanging up the call for most terminals. And the answering interface needs to be adapted to different Android system versions. As shown in fig. 21, a public interface 221 for answering is defined, then a plurality of specific implementation classes are provided, and different ways are respectively adopted for answering calls, and the CallProcessorFactory class is a factory class 222 for determining which way the current terminal system needs to answer calls. By judging the Android SDK version, different versions adopt different implementation classes.
The system ring tone is replaced by the audio file of the video when the video is set, the terminal can automatically play when receiving the communication connection establishment request, and the program does not need to be processed.
The terminal can monitor the event of the hang-up request of the opposite side, and when the opposite side actively hangs up, the full-screen floating window is removed. And removing the floating window by adopting a removeView method. Since crash may occur during the removal process, the removal call needs to be placed in the try-catch statement, and after the floating window is removed, the related cache information and resources of the video playing need to be released, so as to prevent memory leakage.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 22, a block diagram of a communication connection establishing apparatus according to an embodiment of the present application is shown. The device has the functions of realizing the method examples, and the functions can be realized by hardware or by hardware executing corresponding software. The device may be the terminal described above, or may be provided on the terminal. The apparatus 2200 may comprise: a floating window display module 2201, a video playing module 2202, an information display module 2203 and a communication connection establishing module 2204.
The floating window displaying module 2201 is configured to, when a request for establishing a communication connection initiated by a target terminal is received, display a floating window in a display screen of the terminal.
And a video playing module 2202, configured to play a video in the floating window through the video playing control.
An information display module 2203, configured to display the relevant information and the answering control of the target terminal in the floating window of the played video.
A communication connection establishing module 2204, configured to establish a communication connection with the target terminal when receiving the trigger signal corresponding to the listening control.
To sum up, in the technical solution provided in the embodiment of the present application, when a request for establishing a communication connection initiated by a target terminal is received, a floating window is displayed in a display screen, and a video is played in the floating window through a video playing control, meanwhile, the terminal also displays related information of the target terminal and an answering control in the floating window for playing the video, and when a trigger signal corresponding to the answering control is received, a communication connection is established with the target terminal; the technical problem that the traditional communication connection establishing process is too solidified and single is solved, and on the basis of realizing the establishment of the communication connection, the display of the page after the connection request is received is richer and more diversified by playing the video and is more personalized.
In some possible designs, the video playback module 2202 is configured to: and playing the video corresponding to the target terminal in the floating window through the video playing control.
In some possible designs, the video playback module 2202 is configured to: acquiring images of an environment through a camera to generate the video, wherein the video comprises AR elements in the environment; and playing the video in the floating window through the video playing control.
In some possible designs, the information display module 2203 is configured to: and creating a floating layer on the floating window, wherein the relevant information of the target terminal and the answering control are displayed on the floating layer.
In some possible designs, the floating window is displayed in a full-screen manner in a display screen of the terminal, and the video is a preset or randomly matched short video or long video file.
In some possible designs, as shown in fig. 23, the apparatus 2200 further comprises: a ring playing module 2205, configured to: playing a ring tone in the process of playing the video; wherein the video is played in a mute form; or in the process of playing the video, playing the ring tone in a mute way or forbidding playing the ring tone; wherein the video is played in an un-muted form.
In some possible designs, as shown in fig. 23, the apparatus 2200 further comprises: a selected page display module 2206, a preview page display module 2207, a video preview play module 2208 and a video setup module 2209.
A selected page display module 2206, configured to display a video selected page, where the video selected page includes at least one candidate video.
A preview page display module 2207, configured to display a video preview page when a selection instruction corresponding to a target video in the video selection page is received.
A video preview playing module 2208, configured to play the target video in the video preview page.
A video setting module 2209, configured to set the target video as the video after receiving the video setting instruction.
In some possible designs, the video setup module 2209 is configured to: displaying a contact list, wherein the contact list comprises at least one contact; acquiring a selection instruction corresponding to a target contact in the contact list; and setting the target video as the video of the target contact.
In some possible designs, the selection page display module 2206 is configured to: displaying a still preview of each of the candidate videos in the video selection page; and if the dynamic preview of the target candidate video is obtained, replacing the static preview of the target candidate video with the dynamic preview of the target candidate video.
In some possible designs, as shown in fig. 23, the apparatus 2200 further comprises: a ringtone setting module 2210 for: after the video setting instruction is received, extracting audio information in the target video to generate a target audio file; the original audio file corresponding to the system ring is backed up and stored; and replacing the original audio file corresponding to the system ring tone with the target audio file.
In some possible designs, as shown in fig. 23, the apparatus 2200 further comprises: an audio selection module 2211 configured to: when an audio setting instruction corresponding to the target video is received, displaying an audio selection page, wherein the audio selection page comprises at least one candidate audio; receiving a selection instruction corresponding to a target audio in the audio selection page; and setting the target audio as the audio information of the target video.
In some possible designs, as shown in fig. 23, the apparatus 2200 further comprises: an information preview module 2212 for: when a preview instruction is received, displaying preview information while playing the target video, wherein the preview information comprises related information of a preset contact, an answering control and a refusing control.
In some possible designs, as shown in fig. 23, the apparatus 2200 further comprises: a control setting module 2213 configured to: when a control setting instruction is received, displaying a control style selection page, wherein the control style selection page comprises at least one candidate control style; receiving a selection instruction corresponding to a target control style in the control style selection page; and setting the display styles of the answering control and the refusing control as the target control style.
In some possible designs, as shown in fig. 23, the apparatus 2200 further comprises: the permission opening module 2214 is used for displaying a prompt popup window for prompting a user to open a system permission when the video setting instruction is received if the video is set for the first time; when receiving an authority setting instruction, displaying an authority management page, wherein the authority management page comprises at least one system authority and a corresponding switch control; after detecting that each system permission in the permission management page is opened, invoking the video setting module 2209 to execute the step of setting the target video as the video.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, the division of each functional module is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, which are not described herein again.
Referring to fig. 24, a block diagram of a terminal 2400 according to an embodiment of the present application is shown. The terminal 2400 may be an electronic device such as a mobile phone, a tablet computer, and a smart watch.
Generally, the terminal 2400 includes: a processor 2401 and a memory 2402.
The processor 2401 may include one or more processing cores, such as 4-core processors, 8-core processors, and so on. The processor 2401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 2401 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in a wake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 2401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 2401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 2402 may include one or more computer-readable storage media, which may be non-transitory. The memory 2402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 2402 is used to store at least one instruction for execution by processor 2401 to implement the communication connection establishment methods provided by method embodiments herein.
In some embodiments, the terminal 2400 may further optionally include: a peripheral interface 2403 and at least one peripheral. The processor 2401, memory 2402 and peripheral interface 2403 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 2403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2404, a touch display screen 2405, a camera 2406, an audio circuit 2407, a positioning component 2408 and a power supply 2409.
Those skilled in the art will appreciate that the configuration shown in fig. 24 is not intended to be limiting and that terminal 2400 may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
In an example embodiment, there is also provided a terminal comprising a processor and a memory having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein. The at least one instruction, at least one program, set of codes, or set of instructions is configured to be executed by one or more processors to implement the communication connection establishment methods provided by the above embodiments.
In an exemplary embodiment, a computer readable storage medium is also provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which when executed by a processor of a computer device, implements the communication connection establishment method provided by the above-described embodiment. Alternatively, the computer-readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which, when executed, is configured to implement the communication connection establishment method provided by the above-described embodiments.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, the step numbers described herein only exemplarily show one possible execution sequence among the steps, and in some other embodiments, the steps may also be executed out of the numbering sequence, for example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in a reverse order to the order shown in the figure, which is not limited by the embodiment of the present application.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A communication connection establishing method is applied to a terminal with a display screen and a communication function, and comprises the following steps:
Displaying a video selection page, wherein the video selection page comprises at least one candidate video;
when a selection instruction corresponding to a target video in the video selection page is received, displaying a video preview page;
responding to the operation of setting an option for the audio displayed in the video preview page, and displaying an audio selection page, wherein the audio selection page comprises at least one candidate audio; receiving a selection instruction corresponding to a target audio in the audio selection page, and setting the target audio as audio information of the target video;
in response to an operation of setting options for a control displayed in the video preview page, displaying a control style selection page, wherein the control style selection page comprises at least one candidate control style; receiving a selection instruction corresponding to a target control style in the control style selection page, and setting the display styles of an answering control and a rejecting control as the target control style;
playing the target video in the video preview page, and playing audio information of the target video and displaying preview information in the process of playing the target video, wherein the preview information comprises an answering control and a refusing control which are displayed according to the style of the target control;
After receiving a video setting instruction, setting the target video as a video played when a communication connection establishment request is received;
displaying prompt information, wherein the prompt information is used for prompting whether the audio information in the target video is used as a system ring when a communication connection establishment request is received; in response to the confirmation that the audio information in the target video is used as the system ring tone, extracting the audio information in the target video to generate a target audio file, and replacing an original audio file corresponding to the system ring tone with the target audio file;
displaying a contact person setting popup window, wherein the contact person setting popup window comprises contact person setting reminding information and two selection controls; one of the two selection controls is used for setting the target video as a video of a default contact person, wherein the default contact person is the rest contact persons except the designated contact person; the other selection control of the two selection controls is used for setting the target video as the video of the designated contact;
when a request for establishing communication connection initiated by a target terminal is received, displaying a floating window in a display screen of the terminal;
Playing the video in the floating window through a video playing control, and playing the system ring in the process of playing the video;
displaying related information and an answering control of the target terminal in the floating window for playing the video;
and when a trigger signal corresponding to the answering control is received, establishing communication connection with the target terminal.
2. The method of claim 1, wherein the playing the video in the floating window through a video playing control comprises:
playing a video corresponding to the target terminal in the floating window through the video playing control;
the displaying the related information and the answering control of the target terminal in the floating window for playing the video comprises the following steps:
and creating a floating layer on the floating window, wherein the relevant information of the target terminal and the answering control are displayed on the floating layer.
3. The method of claim 1, wherein the playing the video in the floating window through a video playing control comprises:
acquiring an image of an environment through a camera to generate the video, wherein the video comprises Augmented Reality (AR) elements in the environment;
And playing the video in the floating window through the video playing control.
4. The method according to any one of claims 1 to 3, wherein the floating window is displayed in a full screen manner on a display screen of the terminal, and the video is a preset or randomly matched short video or long video file.
5. The method according to any one of claims 1 to 3, further comprising:
in response to an operation on the other selection control, displaying a contact list, wherein at least one contact is contained in the contact list;
acquiring a selection instruction corresponding to a designated contact in the contact list;
and setting the target video as the video of the designated contact.
6. The method of any of claims 1 to 3, wherein displaying the video selection page comprises:
displaying a still preview of each of the candidate videos in the video selection page;
and if the dynamic preview of the target candidate video is obtained, replacing the static preview of the target candidate video with the dynamic preview of the target candidate video.
7. The method according to any one of claims 1 to 3, further comprising:
If the video is set for the first time, displaying a prompt popup window when the video setting instruction is received, wherein the prompt popup window is used for prompting a user to start a system authority;
when receiving an authority setting instruction, displaying an authority management page, wherein the authority management page comprises at least one system authority and a corresponding switch control;
and after detecting that all the system authorities in the authority management page are opened, executing the step of setting the target video as the video played when the communication connection establishment request is received.
8. A communication connection establishing apparatus, for use in a terminal with a display screen and having a communication function, the apparatus comprising:
the selected page display module is used for displaying a video selected page, and the video selected page comprises at least one candidate video;
the preview page display module is used for displaying a video preview page when receiving a selection instruction corresponding to a target video in the video selection page;
the audio selection module is used for responding to the operation of setting options aiming at the audio displayed in the video preview page and displaying an audio selection page, and the audio selection page comprises at least one candidate audio; receiving a selection instruction corresponding to a target audio in the audio selection page, and setting the target audio as audio information of the target video;
The control setting module is used for responding to the operation of setting options for the controls displayed in the video preview page and displaying a control style selection page, and the control style selection page comprises at least one candidate control style; receiving a selection instruction corresponding to a target control style in the control style selection page, and setting the display styles of an answering control and a rejecting control as the target control style;
the preview page display module is further configured to play the target video in the video preview page, play audio information of the target video and display preview information in the process of playing the target video, where the preview information includes an answering control and a refusing control displayed according to the target control style;
the video setting module is used for setting the target video into a video which is played when a communication connection establishment request is received after a video setting instruction is received;
a ring setting module for displaying prompt information, wherein the prompt information is used for prompting whether the audio information in the target video is used as the system ring when the communication connection establishment request is received; in response to the confirmation that the audio information in the target video is used as the system ring tone, extracting the audio information in the target video to generate a target audio file, and replacing an original audio file corresponding to the system ring tone with the target audio file;
The video setting module is also used for displaying a contact person setting popup window, and the contact person setting popup window comprises contact person setting reminding information and two selection controls; one of the two selection controls is used for setting the target video as a video of a default contact person, wherein the default contact person is the rest contact persons except the designated contact person; the other selection control of the two selection controls is used for setting the target video as the video of the designated contact;
the system comprises a floating window display module, a floating window display module and a communication module, wherein the floating window display module is used for displaying a floating window in a display screen of a terminal when a request for establishing communication connection initiated by a target terminal is received;
the video playing module is used for playing the video in the floating window through a video playing control and playing the system ring in the process of playing the video;
the information display module is used for displaying the related information and the answering control of the target terminal in the floating window for playing the video;
and the communication connection establishing module is used for establishing communication connection with the target terminal when receiving the trigger signal corresponding to the answering control.
9. A terminal, characterized in that the terminal comprises a processor and a memory, in which at least one program is stored, which is loaded and executed by the processor to implement the method according to any of claims 1 to 7.
10. A computer-readable storage medium, in which at least one program is stored, which is loaded and executed by a processor to implement the method according to any one of claims 1 to 7.
CN201910272639.8A 2019-04-04 2019-04-04 Communication connection establishing method, device, terminal and storage medium Active CN109981907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910272639.8A CN109981907B (en) 2019-04-04 2019-04-04 Communication connection establishing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910272639.8A CN109981907B (en) 2019-04-04 2019-04-04 Communication connection establishing method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109981907A CN109981907A (en) 2019-07-05
CN109981907B true CN109981907B (en) 2022-06-28

Family

ID=67083158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910272639.8A Active CN109981907B (en) 2019-04-04 2019-04-04 Communication connection establishing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109981907B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115209195B (en) 2019-08-09 2023-10-20 荣耀终端有限公司 Terminal equipment, method and system for realizing one touch screen through remote controller
CN110830656A (en) * 2019-11-13 2020-02-21 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for prompting incoming call

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241656A (en) * 2017-06-30 2017-10-10 广东欧珀移动通信有限公司 A kind of call processing method, device, storage medium and terminal
CN109348045A (en) * 2018-09-18 2019-02-15 艾普有限公司 A kind of display methods of call interface, device, equipment and storage medium
CN109348070A (en) * 2018-12-21 2019-02-15 北京金山安全软件有限公司 Caller identification method and device
CN109462698A (en) * 2018-12-21 2019-03-12 北京金山安全软件有限公司 Caller identification method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0712878D0 (en) * 2007-07-03 2007-08-08 Skype Ltd Communication system and method
KR102220945B1 (en) * 2013-10-07 2021-02-26 삼성전자 주식회사 Apparatus and method for displaying an related contents information related the opponent party in terminal
CN105992068A (en) * 2015-05-19 2016-10-05 乐视移动智能信息技术(北京)有限公司 Video file preview method and device
CN106713589A (en) * 2015-11-13 2017-05-24 北京奇虎科技有限公司 Incoming call reminding method and device for mobile device
CN109068008B (en) * 2018-10-11 2020-12-04 广州酷狗计算机科技有限公司 Ringtone setting method, device, terminal and storage medium
CN114390139B (en) * 2019-02-03 2023-04-04 华为技术有限公司 Method for presenting video by electronic equipment in incoming call, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241656A (en) * 2017-06-30 2017-10-10 广东欧珀移动通信有限公司 A kind of call processing method, device, storage medium and terminal
CN109348045A (en) * 2018-09-18 2019-02-15 艾普有限公司 A kind of display methods of call interface, device, equipment and storage medium
CN109348070A (en) * 2018-12-21 2019-02-15 北京金山安全软件有限公司 Caller identification method and device
CN109462698A (en) * 2018-12-21 2019-03-12 北京金山安全软件有限公司 Caller identification method and device

Also Published As

Publication number Publication date
CN109981907A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN109089043B (en) Shot image preprocessing method and device, storage medium and mobile terminal
CN105979501B (en) Resource allocation methods and device
JP2010148107A (en) Method of incoming call processing of communication terminal and apparatus therefor
CN109981907B (en) Communication connection establishing method, device, terminal and storage medium
CN111752669A (en) Interface generation method and device, electronic equipment and storage medium
KR102322542B1 (en) Notification reminder method, terminal and storage medium
US11347988B2 (en) Method and device for configuring NFC smart card
CN113325983A (en) Virtual image processing method, device, terminal and storage medium
CN112882779A (en) Lock screen display control method and device, mobile terminal and storage medium
EP4161118A1 (en) Call identity authentication method, terminal and computer-readable storage medium
CN110764847B (en) User information processing method, device, electronic equipment and storage medium
CN104780256A (en) Address book management method and device and intelligent terminal
CN107423125A (en) A kind of camera shooting control method and shooting control system for intelligent terminal
CN104902106B (en) Clawback incoming call method of accessing and device
CN108830268A (en) Content acquisition method, device, terminal and storage medium
US20240244017A1 (en) Service Sharing Method and System, and Electronic Device
EP3001660B1 (en) Method, device and system for telephone interaction
CN115278273A (en) Resource display method and device, electronic equipment and storage medium
CN112291799B (en) Method and device for determining download network speed, user equipment and storage medium
CN108665265A (en) Virtual card display methods and device
CN114567790A (en) Information display method and device, electronic equipment and storage medium
CN107577938A (en) Information return method, device, equipment and storage medium
CN116668581B (en) Method and device for preventing false touch
TW201519630A (en) System and method for reminding the incoming call
CN113268185A (en) Information providing method and device and electronic equipment

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