CN109981907A - Communicate to connect method for building up, device, terminal and storage medium - Google Patents
Communicate to connect method for building up, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109981907A CN109981907A CN201910272639.8A CN201910272639A CN109981907A CN 109981907 A CN109981907 A CN 109981907A CN 201910272639 A CN201910272639 A CN 201910272639A CN 109981907 A CN109981907 A CN 109981907A
- Authority
- CN
- China
- Prior art keywords
- video
- terminal
- target
- control
- suspended window
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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/72439—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User 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
This application discloses a kind of communication connection method for building up, device, terminal and storage mediums, belong to field of terminal technology.The described method includes: showing suspended window in the display screen of terminal when receiving the request of foundation communication connection of target terminal initiation;Video is played in suspended window by video playing control;The relevant information of displaying target terminal and control is answered in the suspended window of above-mentioned broadcasting video;When receiving corresponding to the trigger signal for answering control, establishes and communicate to connect with target terminal.Pass through technical scheme, it solves traditional communication connection establishment process and excessively solidifies single technical problem, it is more rich and varied by playing the page presentation that video to receive after connection request on the basis of realizing that communication connection is established, and more personalized.
Description
Technical field
The invention relates to field of terminal technology, in particular to a kind of communication connection method for building up, device, terminal and
Storage medium.
Background technique
It dials and receives calls, be a basic function of mobile phone.
In the related art, mobile phone can show the incoming call sound page, at this when receiving the incoming call of a certain telephone number
In the incoming call sound page, usually shows the telephone number, answers button and rejection button.For example, user, which clicks, answers button,
It then can choose and answer the incoming call, establish and communicate to connect with the telephone number.
Currently, establish communication connection process excessively solidify it is single.
Summary of the invention
The embodiment of the present application provides a kind of communication connection method for building up, device, terminal and storage medium, can be used for solving
The process for establishing communication connection excessively solidifies single technical problem.The technical solution is as follows:
On the one hand, the embodiment of the present application provides a kind of communication connection method for building up, has communication applied to display screen
In the terminal of function, which comprises
When receiving the request of foundation communication connection of target terminal initiation, shown in the display screen of the terminal outstanding
Floating window;
Video is played in the suspended window by video playing control;
The relevant information of the target terminal is shown in the suspended window for playing video and answers control;
When receive correspond to it is described answer the trigger signal of control when, establish and communicate to connect with the target terminal.
On the other hand, the embodiment of the present application provides a kind of communicate to connect and establishes device, leads to applied to having with display screen
In the terminal of telecommunication function, described device includes:
Suspended window display module, for when receive target terminal initiation foundation communication connection request when, described
Suspended window is shown in the display screen of terminal;
Video playback module, for playing video in the suspended window by video playing control;
Information display module, for showing the related letter of the target terminal in the suspended window for playing video
Cease and answer control;
Module is established in communication connection, for when receive correspond to it is described answer the trigger signal of control when, with the mesh
It marks terminal and establishes communication connection.
In another aspect, the embodiment of the present application provides a kind of terminal, the terminal includes processor and memory, the storage
Be stored at least one instruction, at least a Duan Chengxu, code set or instruction set in device, at least one instruction, it is described at least
One Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize above-mentioned communication connection method for building up.
Another aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored in the storage medium
At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute
Code set or instruction set is stated to be loaded by processor and executed to realize above-mentioned communication connection method for building up.
Another aspect, the embodiment of the present application provide a kind of computer program product, when the computer program product is performed
When, it is used to execute above-mentioned communication connection method for building up.
Technical solution provided by the embodiments of the present application include at least it is following the utility model has the advantages that
In technical solution provided by the embodiments of the present application, by the foundation communication connection for receiving target terminal initiation
When request, suspended window is shown in display screen, and video is played in the suspended window by video playing control, at the same time,
Terminal the relevant information of displaying target terminal and answers control also in the suspended window of the broadcasting video, connects when receiving to correspond to
When listening the trigger signal of control, establishes and communicate to connect with target terminal;It is excessively solid to solve traditional communication connection establishment process
Change single technical problem, on the basis of realizing that communication connection is established, by play video to receive connection request it
Page presentation afterwards is more rich and varied, and more personalized.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 illustrates the basic flow chart of technical scheme;
Fig. 2 is the flow chart for the communication connection method for building up that the application one embodiment provides;
Fig. 3 illustrates the interface schematic diagram of communication connection establishment process;
Fig. 4 illustrates a kind of flow chart of video setting up procedure;
Fig. 5 and Fig. 6 illustrates the schematic diagram of the video selection page;
Fig. 7 and Fig. 8 illustrates the schematic diagram of the video preview page;
Fig. 9 illustrates the interface schematic diagram of priority assignation process;
Figure 10 illustrates the flow chart of another video setting up procedure;
Figure 11 illustrates the interface schematic diagram of contact person's setting up procedure;
Figure 12 illustrates the schematic diagram of the personal settings page;
Figure 13 illustrates a kind of schematic diagram of technology realization framework;
Figure 14 illustrates a kind of flow chart of typical video setting up procedure;
Figure 15 illustrates the inside schematic diagram of video playing component;
Figure 16 illustrates the call flow chart of priority assignation process;
Figure 17 illustrates the flow chart of video setting up procedure;
Figure 18 illustrates the flow chart of the tinkle of bells setting up procedure;
Figure 19 illustrates a kind of flow chart of typical video display process;
Figure 20 illustrates the schematic diagram of video playing and relative information displaying process;
Figure 21 illustrates the schematic diagram of telephone receiving logic;
Figure 22 is the block diagram that device is established in the communication connection that the application one embodiment provides;
Figure 23 is the block diagram that device is established in the communication connection that another embodiment of the application provides;
Figure 24 is the structural block diagram for the terminal that the application one embodiment provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
A kind of request that terminal is communicated to connect in the foundation for receiving other terminals initiations is provided in the embodiment of the present application
When, video is played, and while playing video, show the relevant information of requesting party, answer the contents such as control, rejection control
Technical solution solves traditional communication connection establishment process and excessively solidifies single technical problem, builds realizing to communicate to connect
It is more rich and varied and more a by playing the page presentation that video to receive after connection request on the basis of vertical
Property.
In conjunction with reference Fig. 1, the basic flow chart of technical scheme is illustrated.User A by mobile phone to
The mobile phone of user B initiates to establish the request of communication connection, such as dials the phone of user B or logical to user B initiation voice or video
Words request.The mobile phone of user B is after receiving above-mentioned request, if first lighting display screen, then again in screen state is put out
Suspended window is shown in display screen, video is played in the suspended window by video playing control, it is preparatory which can be user B
The video for playing when receiving communication connection and establishing and request being arranged, the video can be short-sighted frequency, be also possible to grow
Video.During playing video, the mobile phone of user B also shows relevant information (such as phone number of user A in suspended window
The information such as code, user account number or title), and show and answer control and rejection control.If control selection is answered in user B click
It answers, then establishes communication connection between user A and the mobile phone of user B, the mobile phone of user B removes suspended window in display screen, shows
Show call interface.If user B clicks rejection control, selection refusal is answered, and is not established between user A and the mobile phone of user B logical
Letter connection, the mobile phone of user B remove suspended window in display screen, show locking screen interface.It is answered or rejection if made in user B
Selection before, user A is hung up, then does not establish communication connection between user A and the mobile phone of user B, and the mobile phone of user B is being shown
Suspended window is removed in screen, shows locking screen interface.
In the exemplary embodiment, Xiao Zhang is provided with the video played when receiving incoming call in the talk application of mobile phone,
The mobile phone of Xiao Zhang shows suspended window when receiving the incoming call of any telephone number in display screen, plays in the suspended window
The video of above-mentioned setting, and while playing the video, the telephone number of incoming call is shown in suspended window, is answered control, is refused
Connect the contents such as control.
In the exemplary embodiment, Xiao Wang is provided in the instant messaging application of mobile phone and receives voice or video calling
When the video that plays, the mobile phone of Xiao Wang is when receiving voice that any contact person initiates or video calling is requested, in display screen
Middle display suspended window plays the video of above-mentioned setting in the suspended window, and while playing the video, shows in suspended window
Show and initiates the contact information of call request, answers the contents such as control, rejection control.
In the application embodiment of the method, the executing subject of each step can be terminal, which has display screen, and has
Standby communication function.For example, terminal can be the electronic equipments such as mobile phone, tablet computer, smartwatch.Optionally, it is installed in terminal
Operation has for realizing the destination application of the application methodological function, and each step of the application embodiment of the method can be by this
Destination application executes.For example, the destination application can be talk application program, instant messaging application program, society
Hand over class application program or other application programs for having voice or video communication function.For ease of description, in following methods
In embodiment, explanation only is introduced by terminal of the executing subject of each step, but does not constitute to technical scheme
It limits.
Referring to FIG. 2, the flow chart of the communication connection method for building up provided it illustrates the application one embodiment.The party
Method may include the following steps (201~204).
Step 201, it when receiving the request of foundation communication connection of target terminal initiation, is shown in the display screen of terminal
Show suspended window.
Target terminal can be any one terminal.Target terminal can initiate to establish communication connection in talk application
Request, such as dials the telephone number of terminal, and request establishes call connection with terminal;Target terminal can also be in instant messaging application
The middle request for initiating to establish communication connection such as initiates voice or video calling request, the use of request and terminal to the user of terminal
Voice or video calling are established in family.
In one example, the talk application of terminal is when receiving the incoming call requests of destination phone numbers initiation, aobvious
Suspended window is shown in display screen.Destination phone numbers can be any one telephone number, can be Mobile Directory Number (such as hand
Machine number), it is also possible to fixed telephone number (such as base number), the embodiment of the present application is not construed as limiting this.
In another example, the instant messaging application of terminal is logical in the voice or video for receiving object contact person initiation
When words request, suspended window is shown in display screen.Object contact person can be any one contact person of terminal user, such as good
Friend, the contact person in group or other have permission to terminal user initiate call request contact person, the embodiment of the present application is to this
It is not construed as limiting.
When terminal receives the request of foundation communication connection of target terminal initiation, no matter terminal is in screen lock state
Or non-locking screen state, terminal show suspended window in display screen.The suspended window is alternatively referred to as the video playing page, is used for
Play video.
In the exemplary embodiment, suspended window is shown in the display screen of terminal with full form namely suspended window is full of
Entire display screen is shown.
Step 202, video is played in suspended window by video playing control.
Terminal plays video by video playing control in suspended window.Video playing control is for realizing video playing
The application program of function, such as video is decoded, plays function.
In one possible implementation, the video played in the suspended window be it is pre-set, such as by hereafter real
Apply the video that the setting method of example offer is configured.In the exemplary embodiment, terminal plays whole with target in suspended window
Hold (such as destination phone numbers or object contact person) corresponding video.Optionally, there are at least two terminals (such as telephone number or
Contact person) correspond to different videos.For example, terminal can for different telephone numbers (or contact person) be correspondingly arranged it is different
Video, terminal obtain after receiving the request of foundation communication connection of destination phone numbers (or object contact person) initiation
The video being correspondingly arranged with the destination phone numbers (or object contact person), and played in suspended window by video playing control
The video.
In alternatively possible implementation, the video played in the suspended window is random fit, as terminal is connecing
When receiving the request of foundation communication connection of target terminal initiation, one or more videos are randomly choosed from video resource pond,
Then the video of above-mentioned selection is played in suspended window.
Whether the video of pre-set video or random fit, the video can be short video files, can also be with
It is long video file.Wherein, short video files refer to that video length is less than the video file of preset threshold, and long video file refers to
Video length is greater than the video file of preset threshold, which can be preset empirical value, and such as 15 seconds.
In some other examples, the video played in suspended window is not preset or random fit, but eventually
End captured in real-time obtains.Terminal acquires the image of local environment by camera, generates video, the life is played in suspended window
At video.Above-mentioned camera may include the front camera and/or rear camera of terminal.Terminal can adopt camera
The ambient image of collection shown directly as video, can also be carried out to the ambient image that camera acquires after proper treatment again
It is shown as video.Illustratively, AR (Augmented Reality, the enhancing in above-mentioned video comprising being located in environment
Reality) element, for example, terminal can add AR element in the ambient image that camera acquires, or camera is acquired
Environmental element in ambient image is converted to AR element.Wherein, AR element includes but is not limited to AR special efficacy, 3D model, etc..
Optionally, terminal plays video in the form of mute, and during playing video, plays the tinkle of bells.The tinkle of bells can
To be the original audio file of system the tinkle of bells, it is also possible to the target extracted in advance in the video played from the suspended window
Audio file, this carries out selection when video is arranged by user and determines.
In some other examples, terminal plays video in the form of non-mute, and during playing video, mute to broadcast
It puts or forbids playing the tinkle of bells.By the above-mentioned means, equally can achieve broadcasting sound compatible with the video content of video
Purpose.
Step 203, play video suspended window in displaying target terminal relevant information and answer control.
It, can be with displaying target terminal (such as destination phone numbers or mesh during terminal plays video in suspended window
Mark contact person) relevant information.Wherein, the relevant information of target terminal includes but is not limited at least one of following: request hair
Play the telephone number or user account number, the title of the request originator, the head portrait of the request originator, the request originator of side
The classification information of information of home location, the request originator.While terminal plays video in suspended window, by the phase of target terminal
Information is closed to be shown in the suspended window.
In addition, terminal is in suspended window in addition to the correlation of displaying target terminal during playing video in suspended window
Except information, it can also be shown in the suspended window and answer control and rejection control.Answering control is to answer communication for triggering
The operational controls of request are established in connection, and rejection control is to answer the operational controls that request is established in communication connection for triggering refusal,
It answers control and rejection control can be two buttons.
Optionally, terminal creates floating layer on suspended window, and the relevant information of target terminal answers control and rejection control is aobvious
It is shown in the floating layer.Optionally, which is transparent floating layer, such as a transparent interface UI.Although the transparent floating layer is located at outstanding
The upper layer of floating window, but since it is transparent, it is sightless for users, therefore it does not influence user and views suspended window
The video of middle broadcasting.
In the embodiment of the present application, by creating floating layer on suspended window, the then displaying target terminal in the floating layer
Relevant information and control is answered, on the one hand do not interfere with the video played in suspended window and normally checked by user, on the other hand
Control, which can be ensured to answer, can normally receive the touch control operation signal of user.
Step 204, it when receiving corresponding to the trigger signal for answering control, establishes and communicates to connect with target terminal.
It can be user corresponding to the trigger signal for answering control to answer the modes such as control by clicking, pressing and trigger generation
Operation signal, terminal when receiving the trigger signal, answer target terminal initiation communication connection establish request, with target
Communication connection is established between terminal.For example, when it is the incoming call requests in talk application that request is established in above-mentioned communication connection, terminal
Call connection is established between target terminal;Establishing request when above-mentioned communication connection is the voice or video in instant messaging application
Voice or video calling connection are established when call request, between terminal and target terminal.
As shown in figure 3, terminal is after the incoming call for receiving telephone number " 13800000000 ", entirely by taking incoming call sound as an example
Screen display suspended window 100, incoming call video, at the same time, terminal plays are played by video playing control in the suspended window 100
System the tinkle of bells, the system the tinkle of bells can be the audio file extracted from the incoming call video in advance.Terminal is playing video of sending a telegram here
During, also transparent floating layer can be shown on suspended window upper layer, show above-mentioned telephone number in the transparent floating layer
The relevant information, such as the telephone number of " 13800000000 " itself, information of home location.Also, terminal is also in the transparent floating layer
Button 101 and rejection button 102 are answered in middle display.If user clicks and answers button 101, it can trigger and answer the incoming call;
If user clicks rejection button 102, the rejection incoming call can be triggered.
Optionally, terminal is detecting above-mentioned communication connection foundation request Requested Party interruption or above-mentioned communication connection
It establishes the request side of being received to answer or when rejection, remove suspended window, stops broadcasting video.As shown in figure 3, being connect if user clicks
Button 101 is listened, then terminal is shown as the call page 110 from the switching of suspended window 100.
In conclusion in technical solution provided by the embodiments of the present application, by the foundation for receiving target terminal initiation
When the request of communication connection, suspended window is shown in display screen, and video is played in the suspended window by video playing control,
At the same time, terminal the relevant information of displaying target terminal and answers control also in the suspended window of the broadcasting video, works as reception
To when corresponding to the trigger signal for answering control, establishes and communicate to connect with target terminal;It solves traditional communication connection to establish
Process excessively solidifies single technical problem, on the basis of realizing that communication connection is established, to receive by playing video
Page presentation after connection request is more rich and varied, and more personalized.
In addition, by creating floating layer on suspended window, then the relevant information of displaying target terminal and connect in the floating layer
Control is listened, the video played in suspended window is not on the one hand interfered with and is normally checked by user, on the other hand can ensure to answer
Control can normally receive the touch control operation signal of user, realize the success response to user's operation.
In addition, the suspended window for playing video is shown in terminal display screen with full screen format, so that video can
It is played out in entire display screen with being covered with, rather than is only played out in the regional area of display screen, on the one hand, helped
In promoting the bandwagon effect of video, so that the display content received after communication connection foundation request in display screen is more succinct
It is unified;On the other hand, due to also needing the relevant information of displaying target terminal in suspended window and answering control, to realize to above-mentioned
The response of request is established in communication connection, therefore suspended window is displayed in full screen, the relevant information of target terminal is facilitated and is answered
The page layout of the elements such as control is more reasonable, can show corresponding element in the suitable position of display screen, look into convenient for user
It sees and operates.
Foregoing embodiments describe the video display process received when request is established in communication connection, below to the video
Explanation is introduced in setting up procedure, as shown in figure 4, the setting up procedure may include the following steps (401~404).
Step 401, the video selection page is shown.
Terminal shows the video selection page.In the video selection page include at least one candidate video, for for user from
It is middle that the video liked is selected to be set as the video played out when receiving communication connection and establishing and request.Optionally, candidate view
Frequency may come from network, can be from terminal local.For the candidate video of terminal local, terminal shooting can be simultaneously
Be stored in local video, be also possible to terminal and be downloaded and stored at local video from other application program, as terminal from
Local video is downloaded and stored in some short video applications or social application program.
In the exemplary embodiment, terminal shows the static preview graph of each candidate video in the video selection page;If
The dynamic previewing figure of target candidate video is got, then the static preview graph of the target candidate video is replaced with into target candidate view
The dynamic previewing figure of frequency.Above-mentioned target candidate video can be any one candidate video in the video selection page.Target is waited
The static preview graph for selecting video is a picture, which can be the picture frame intercepted from target candidate video,
It is also possible to for the preset cover picture of the target candidate video.The dynamic previewing figure of target candidate video includes multiple figures
Piece, the plurality of pictures play in order to form dynamic image effect, which can be intercepts from target candidate video
Multiple images frame, is also possible to for the preset plurality of pictures of target candidate video, and the embodiment of the present application does not limit this
It is fixed.
Illustratively, as shown in figure 5, terminal shows the video selection page 10, in the video selection page 10, comprising more
A displaying position 11, each displaying position 11 can arrange in tabular form, show a candidate video in each displaying position 11
Static preview graph or dynamic previewing figure.Fig. 5 and Fig. 6 is referred in addition, combining, includes two contingency tables in the video selection page 10
Label, respectively " selected " tag along sort 13 and " customized " tag along sort 14, when user selects " selected " tag along sort 13,
The candidate video shown in the video selection page 10 is the network video that background server provides, when " customized " point of user's selection
When class label 14, the candidate video shown in the video selection page 10 is the local video for being stored in terminal.Above-mentioned network video
Frequency and local video are candidate video, and the network video that user can choose background server offer, which is used as, is receiving communication
The video established and played out when request is connected, local video is also can choose and is used as when receiving communication connection foundation request
The video played out.
Step 402, when receiving the selection instruction of the target video corresponded in the video selection page, video preprocessor is shown
Look at the page.
Target video can be any one candidate video in the video selection page.Selection corresponding to the target video
Instruction refers to the operational order for being used to select the target video for being triggered and being generated by user.The selection instruction can pass through touch-control
Operation triggering generates, for example, as shown in figure 5, user clicks " candidate video 1 " corresponding displaying position in the video selection page 10
11, then terminal receives the selection instruction for corresponding to and being somebody's turn to do " candidate video 1 ".Certainly, in some other possible implementations,
Selection instruction can also be triggered by modes such as voice, gestures, and the embodiment of the present application is not construed as limiting this.
Terminal shows the video preview page when receiving the selection instruction corresponding to target video.Optionally, video preprocessor
The page of looking at is shown in display screen with full form.
Step 403, target video is played in the video preview page.
After terminal shows the video preview page, the target video of user's selection is played in the video preview page.Example
Such as, if the target video is the network video that background server provides, terminal downloads target view from background server
Frequently, the target video is then played in the video preview page;If the target video is the local video for being stored in terminal,
Terminal can directly play the target video in the video preview page.
In conjunction with reference Fig. 5 and Fig. 7, it is assumed that user clicks " candidate video 1 " corresponding displaying in the video selection page 10
Position 11, terminal shows the video preview page 20 as shown in Figure 7, and the candidate video 1 is played in the video preview page 20.
In the exemplary embodiment, the upper layer of the video preview page shows a subpage frame, which is properly termed as
Preview and setting subpage frame.It include preview control and setting control in the preview and setting subpage frame;Wherein, preview control
It is for triggering the operational controls for generating instruction for previewing, setting control is for triggering the operation control for generating video setting instruction
Part, preview control and setting control may each be button.
Optionally, terminal is when receiving instruction for previewing, while playing target video, shows pre-review information, this is pre-
Information of looking at includes the relevant information of default contact person, answers control and rejection control.Wherein, the relevant information packet of contact person is preset
It includes but is not limited at least one of following: telephone number, title, head portrait, the information of home location, classification information of the default contact person.
Default contact person can be any preset contact person.Answering control is the operation that request is established for answering communication connection
Control, rejection button are to communicate to connect the operational controls for establishing request for refusing to answer.
Illustratively, in conjunction with reference Fig. 7 and Fig. 8, the upper layer of the video preview page 20 shows preview and setting subpage frame
21, the preview and setting subpage frame 21 in include preview control 22 and setting control 23.User clicks the triggering life of preview control 22
At instruction for previewing.As shown in figure 8, terminal, after receiving instruction for previewing, while playing candidate video 1, display is default
Telephone number 0755-12345678, information of home location answer the pre-review informations such as button 24, rejection button 25.Above-mentioned pre-review information
It can be shown on the upper layer of the video preview page 20, have no effect on the normal play of the video in the video preview page 20.
In addition, as shown in figure 8, user clicks exiting preview control 26 and can cancelling display pre-review information for the upper left corner.Such as
Shown in Fig. 7, the return control 27 that user clicks the upper left corner can be back to the video selection page 10 from the video preview page 20;With
The adjustable video volume of volume control 28 in the upper right corner is clicked at family, is such as adjusted volume or is switched to mute.
Step 404, it after receiving video setting instruction, sets target video to receive communication connection foundation
The video played out when request.
Video setting instruction refers to that the target video that will currently select is set as when receiving communication connection foundation request
The operational order of the video played out.The frequency setting instruction can be triggered by touch control operation to be generated, for example, as shown in fig. 7,
User clicks setting control 23, and triggering generates video setting instruction.
Terminal sets the target video currently selected to receive communication link after receiving video setting instruction
Connect the video established and played out when request.Display process in relation to the video when receiving communication connection and establishing request can be found in
Foregoing embodiments.
In addition, terminal can also extract the audio-frequency information in target video, generate after receiving video setting instruction
Target audio file saves the corresponding original audio file backup of system the tinkle of bells, then by the corresponding original sound of system the tinkle of bells
Frequency file replaces with target audio file.In this way, establishing the process for playing the video after request when terminal receives to communicate to connect
In, play system the tinkle of bells, and the system the tinkle of bells is the audio-frequency information to match with the video.
In the exemplary embodiment, terminal, can be with display reminding information, the prompt after receiving video setting instruction
Information is used to prompt the user to choose whether to establish when requesting using the audio-frequency information in target video as communication connection is received
System the tinkle of bells.If user selects using the audio-frequency information in target video as the system received when request is established in communication connection
The tinkle of bells, then terminal extracts the audio-frequency information in target video, target audio file is generated, by the corresponding original audio of system the tinkle of bells
File replaces with target audio file;If user select not using the audio-frequency information in target video as receive communication connection
System the tinkle of bells when request is established, then terminal can not execute the audio-frequency information extracted in target video and generate target audio file
The step of, and keep the corresponding original audio file of system the tinkle of bells constant.
In addition, if terminal is to be arranged in receive the video that plays out when request is established in communication connection for the first time, when connecing
When receiving video setting instruction, terminal display reminding pop-up, the prompt pop-up is for prompting user's open system permission;It is receiving
To when priority assignation instruction, the rights management page is shown, include at least one system permission and correspondence in the rights management page
Switch control;After detecting and opening each system permission in the rights management page, terminal execution regards target
Frequency is set as receiving the step of video played out when request is established in communication connection.Optionally, in the rights management page
At least one including but not limited to following system permission: suspended window permission, notification bar access right, the tinkle of bells permission, phone permission,
SD card (Secure Digital Memory Card, safe digital storage card) permission.After user only opens above-mentioned permission,
Terminal could play video when receiving communication connection and establishing request.
Illustratively, as shown in figure 9, terminal is detected whether when receiving video setting instruction to be arranged in connect for the first time
The video that plays when request is established in communication connection is received, if it is being arranged for the first time, terminal display reminding pop-up 30, the prompt bullet
It include prompt information and priority assignation control 31 in window 30.User clicks priority assignation control 31 and triggers priority assignation instruction,
Terminal shows the rights management page 40, in the rights management page 40, if including suspended window permission, notification bar access right etc.
Dry system permission and corresponding switch control 41, user click the corresponding switch control 41 of a certain system permission, then can touch
Hair opens or closes the system permission.After detecting and opening each system permission in the rights management page 40, eventually
End can jump to the video preview page 20, and user video is prompted to be provided with.
In conclusion in technical solution provided by the embodiments of the present application, by providing video in the setting up procedure of video
Preview and information preview function allow users to the display effect of each candidate video of preview, help user highly efficient, quasi-
Really select suitable candidate video as the video played when receiving communication connection and establishing and request.
In addition, the candidate video provided in the video selection page includes the network video that background server provides, also include
The local video of terminal storage preferably meets the customized setting need of user to provide more abundant selection for user
It asks.
Referring to FIG. 10, the flow chart of the video setting up procedure provided it illustrates another embodiment of the application.This sets
The process of setting may include the following steps (1001~1006).
Step 1001, the video selection page is shown.
Step 1002, when receiving the selection instruction of the target video corresponded in the video selection page, video is shown
Preview page.
Step 1003, target video is played in the video preview page.
Above-mentioned steps 1001-1003 is same or like with the step 401-403 in figure 4 above embodiment, reference can be made to above
Explanation is introduced, details are not described herein again.
Step 1004, after receiving video setting instruction, contacts list is shown.
In the present embodiment, terminal is after receiving video setting instruction, display contacts list, in contacts list
Include at least one contact person.The contacts list can be the contacts list of terminal storage, the name comprising each contact person
The information such as title, telephone number.
In the exemplary embodiment, as shown in figure 11, user clicks the setting control 23 in the video preview page 20, triggering
Generate video setting instruction.Terminal is after receiving above-mentioned video setting instruction, and pop-up 50 is arranged in display contact person, in the connection
It is that people is arranged in pop-up 50 comprising contact person's setting prompt information and two selection controls.As shown in figure 11, one of choosing
Selecting control is " being set as defaulting " control 51, and the target video for selecting user is set as the video of default contact person, default
Contact person can be the remaining contact person in addition to designated contact;Another selects control for " setting to designated contact " control
52, the target video for selecting user is set as the video of designated contact, which can be one, can also
Be it is multiple, be customized by the user selection.As shown in figure 11, if user clicks " setting to designated contact " control 52, eventually
End display contacts list 60, in the contacts list 60, comprising several for the contact person of user's selection, such as Zhang San, Lee
Four, king five etc..
Step 1005, the selection instruction of the object contact person corresponded in contacts list is obtained.
Object contact person can be one, be also possible to multiple.That is, the embodiment of the present application is supported while being multiple connections
The function of same video is arranged in people.
As shown in figure 11, user clicks Li Si and the corresponding entry of Zhao six, and terminal obtains the choosing for corresponding to Li Si and Zhao six
Select instruction.Later, user clicks " confirmation " button 61, indicates that confirmation selects Li Si and Zhao six the two contact persons.
Step 1006, target video is set to the video of object contact person.
After user selection target contact person, terminal sets target video to the video of object contact person, namely is connecing
It receives the communication connection that object contact person is sent and establishes the video played when request.By the above-mentioned means, allowing the user to be
Different videos is arranged in different contact persons, is more flexible and personalized.
In the exemplary embodiment, it after terminal shows the video preview page, can also be shown in the video preview page
Show personal settings option, establishes the element shown when request so that user receives communication connection to video, audio, control etc.
Carry out personal settings.
In one example, terminal provides the customization function to audio, comprises the following steps:
1, when receiving the audio setup instructions corresponding to target video, the audio selection page, the audio choosing are shown
It selects in the page comprising at least one candidate audio;
2, the selection instruction of the target audio corresponded in the audio selection page is received;
3, target audio is set to the audio-frequency information of target video.
The candidate audio provided in the audio selection page may come from network, can be from terminal local.Example
Property, as shown in figure 12, terminal shows the personal settings page 70, the personal settings page in the top of the video preview page 20
Comprising several personalized setting options in face 70, " button " setting options 71 as shown in figure 12, " audio " setting options 72,
" special efficacy " setting options 73, " pendant " setting options 74 etc..User clicks " audio " setting options 72, and correspondingly, terminal receives
Audio setup instructions.Later, terminal shows the audio selection page 80, candidate comprising at least one in the audio selection page 80
Audio.Assuming that user selects candidate audio 1, and the upper right corner " determination " button is clicked, then the candidate audio 1 is set mesh by terminal
Mark the audio-frequency information of video.
In another example, terminal provides the customization function to control (such as answering control and rejection control),
It comprises the following steps:
1, when receiving control setting instruction, display control pattern selects the page, includes in the control pattern selection page
At least one candidate's control pattern;
2, the selection instruction of the target widget pattern corresponded in the control pattern selection page is received;
3, target widget pattern is set by the Show Styles for answering control and rejection control.
Control pattern includes the Show Styles such as color, shape, size, the pattern of control, and different control patterns corresponds to
Different control display effects.Illustratively, as shown in figure 12, user clicks " button " setting options 71, and correspondingly, terminal connects
Receive button setting instruction.Later, terminal the Show Button selects the page 90, includes at least one time in the button selection page 90
Select button pattern.Assuming that user selects pattern 2, and the upper right corner " determination " button is clicked, then terminal will answer button and rejection is pressed
The Show Styles of button is set as the pattern 2.In addition, terminal can be in video preview after user's selection target button pattern
The target button pattern is shown in the page 20, so that user is understanding its display effect and then deciding whether to select.
In above-mentioned two example, explanation only is described to the personal settings of audio and control, user can be with
Personal settings are carried out to video, such as add special efficacy, pendant in video, meet the more abundant personal settings need of user
It asks.
In conclusion in technical solution provided by the embodiments of the present application, also by the way that corresponding view is arranged for object contact person
Frequently, allow user to be that different videos is arranged in different contact persons, be more flexible and personalized.
In addition, also by showing personal settings option in the video preview page, so that user is to video, audio, control
Part etc. receives communication connection and establishes the element progress personal settings shown when request, meets the more abundant personalization of user
Setting demand enriches product function.
It is above-mentioned mainly to realize that angle is described explanation to technical scheme from product, angle is realized from technology below
Explanation is introduced to technical scheme in degree.
Please refer to Figure 13, illustrate this application involves a kind of technology realize framework schematic diagram.Such as Figure 13
It is shown, including MVP frame 131, configuration file 132, Template Manager component 133, video management component 134, video playing component
135, video download component 136 and video output component 137.
MVP (Model-View-Presenter, Model-View-presentation layer) frame 131 is aobvious for realizing the page on upper layer
Show.
Configuration file 132 is used to store the basic of each candidate video (also referred to as video template) of background server offer
Information, such as include video ID, title, static preview graph download address, video download link, video size, dynamic previewing figure
The information such as download address.Configuration file 132 supports dynamic to update, and can such as add, modify or delete the base of candidate video
This information.
Template Manager component 133 for encapsulating the relevant operation interface of video template, such as include obtain candidate video list,
Obtain the video etc. of current setting.
Video management component 134 is used to manage the storage location of the video of the video file and current setting downloaded, with
And management file cache strategy etc..
Video playing component 135 such as during video preview and video display, is required to use for playing video
The video playing component 135 carries out video playing.
Video download component 136 is used for download video files.
Video output component 137 from video file for extracting audio file.
Framework is realized by technology shown in Figure 13, and video setting up procedure and display process described above may be implemented.
As shown in figure 14, a kind of typical video setting up procedure comprises the following steps: 1, showing candidate video list;
2, preview candidate video;3, open system permission;4, target video is downloaded;5, audio file is extracted;6, replacement system the tinkle of bells.
Terminal shows candidate video list in the video selection page, user during browsing candidate video list,
It can choose broadcasting candidate video, terminal plays the candidate video of user's selection in the video preview page.If user selects
Set target video to the video played when receiving communication connection and establishing and request, then terminal guidance user unlatching is some must
Then the system permission wanted downloads the video file of the target video, audio-frequency information is extracted from the video file and generates target
Then the original audio file of system the tinkle of bells is replaced with the target audio file by audio file.
Candidate video list can be stored in configuration file, and illustratively, the format of configuration file is as shown in following table -1:
Table -1
Wherein, video ID is the globally unique identifier of video, and different candidate videos corresponds to different video ID, terminal
Some candidate video is uniquely determined by the field.The download address field of static preview graph is for recording the quiet of candidate video
The download address of state preview graph, terminal can be downloaded preferentially when showing the video selection page and show that the static state of each candidate video is pre-
Look at figure.Video download chain field is used to record the download address of candidate video.Video size field is for recording candidate video
File size, unit KB.The download address field of dynamic previewing figure is used to record under the dynamic previewing figure of candidate video
Set address can be accorded between the download address of each picture by preset interval and be separated (such as " | "), if a certain candidate video
The value of the corresponding field is that sky then indicates that dynamic previewing figure is not present in the candidate video.
During preview candidate video, the target video of user's selection is played by video playing component.Video is broadcast
The inside for putting component may include multiple video playing controls, such as include the primary video playing control of terminal operating system and the
Tripartite's video playing control.As shown in figure 15, the inside schematic diagram of video playing component is illustrated comprising video
Play control base class 151, the first video playing control 152 and the second video playing control 153.Video playing control base class 151
The relevant operation interface of video playing is defined, including starts to play, stop broadcasting etc..The name of video playing control base class 151
Title can be denoted as AbsVideoView.Video traffic send a telegram here by calling creation (create) method of factory class 154 to create one
The title of a video playing control object, the factory class can be denoted as VideoViewFactory.In video playing control base class
Following logic is realized in 151 inside, if detecting that the corresponding plug-in unit of the second video playing control 153 does not load, by the
One video playing control 152 plays out video, if detecting that the corresponding plug-in unit of the second video playing control 153 has added
It carries, then video is played out by the second video playing control 153.Wherein, the first video playing control 152 can be terminal
The primary video playing control of operating system, is such as denoted as QVideoView;Second video playing control 153 is that third party's video is broadcast
Control is put, can have the primary higher performance of video playing control of system, such as be denoted as TVKVideoView.
The opening process of system permission guides unlatching by permission unified frame, and call flow is as shown in figure 16, comes
The specified authority items of interface (being such as the denoted as startGuidePage interface) guidance of electric video traffic meeting request permissions frame, packet
Suspended window permission, notification bar access right, the tinkle of bells permission, phone permission, SD card permission etc. are included, permission frame meeting after guidance
It adjusts back corresponding Authorization result and gives incoming call video traffic.Authorization result includes allowing, inquire and refusing three kinds of states.Only work as phase
It closes system permission to be authorized to after permission, user just can be carried out to be operated in next step, and the target video of selection is set as receiving
The video played when request is established in communication connection.
After open system permission, terminal will download the video file of target video automatically, then therefrom extract mesh
Mark with phonetic symbols frequency file, and the file path information of the video file and target audio file is recorded, which can be as shown in figure 17.
Wherein, video download can be realized using the HttpURLConnection class in Android (Android) system from CDN
(Content Delivery Network, content distributing network) to download video files, if failed download, will do it to locally
Downloading is retried, until being more than maximum limited number of times, downloads successfully or failure can all be adjusted back interface by Callback
To external callers.Audio file is extracted after downloading from video file, for example, by using AudioExtractor class
Extract interface carries out audio extraction, and corresponding audio file can be obtained after extraction.
After extraction obtains target audio file in target video, which is substituted into system the tinkle of bells
Original audio file.If terminal supports insertion two SIM (Subscriber Identification Module, users
Identification module) card, then double card the tinkle of bells can be replaced by process as shown in figure 18.Specifically, standby system first
The original audio file of the tinkle of bells can restore system the tinkle of bells if subsequent user cancels incoming call video.Complete backup
Later, the tinkle of bells of SIM card 1 is set, and principle is exactly to update the record information of the tinkle of bells in system media database, is passed through
ContentProvider is operated.Next the tinkle of bells of setting SIM card 2 is used for SIM for different terminal production firms
The system media database of the system the tinkle of bells of card 2 may be different, is adapted to, but the tinkle of bells of principle and SIM card 1 is set
It is identical to set process.
As shown in figure 19, a kind of typical video display process comprises the following steps: 1, incoming call requests are listened to, or
Listen to language or video calling request;2, full frame suspended window is shown;3, video is played;4, system the tinkle of bells jingle bell;5, Dui Fangyong
Family is hung up or home processing;6, full frame suspended window is removed.
Terminal monitors incoming call requests by registration monitor, or monitors language or video calling request, above-mentioned when listening to
When request, the video playing page is shown, which can be a full frame suspended window, then in the full frame suspended window
On previously positioned video, while play system the tinkle of bells are played using video playing component.When listen to the other user hang up or
Home answers or when rejection, removes full frame suspended window automatically.The relevant information of requesting party is shown on suspended window, it is part of
Information can carry out asynchronous acquisition by way of inquiring cloud database.
By taking the terminal of android system monitors incoming call requests as an example, by android system
TelephonyManager monitors incoming call, after listening to incoming call, reads incoming number.TelephonyManager is Android
System is supplied to developer for handling the class of call related service, and wherein listen interface can be used for monitoring incoming/sending call broadcast.
For double-terminal, it can be listened to by the incoming/sending call broadcast of two SIM card of interface.
After terminal monitoring to incoming call, the addView method of WindowManager is called to add suspension on mobile phone screen
Window, which is appointed as full frame suspended window, and can show in screen locking, these attributes all pass through
WindowManager.LayoutParams state modulator.Illustratively, windowType is appointed as TYPE_
APPLICATION_OVERLAY or TYPE_SYSTEM_ERROR illustrates that the suspended window can be shown on screen locking, usually
Incoming call is occurred in screen locking, so needing to be appointed as the type.In addition, in order to enable suspended window played in full screen to regard
Frequently, needing specified windowFlags is particular community, and such as specifying the suspended window is full frame, and screen when flex suspension window
Curtain keeps being always on state, there is the terminal of dummy keyboard for bottom, can hide dummy keyboard automatically, so that suspended window is full of entire
Screen.
On full frame suspended window, previously positioned video is played by video playing component, video is set as quiet when broadcasting
Sound-like state.The relevant information of requesting party is shown simultaneously, is provided and is answered and hang up button.Video playing letter related to requesting party's
Breath shows that process can be as shown in figure 20.Video playing control AbsVideoView load video file is first passed through, has been loaded
At rear mute broadcasting video, while the relevant information of the interface polls requesting party can be looked by cloud, including mark information, Yellow Page letter
Breath, customized mark information etc. will be updated the information of suspended window displaying after poll-final.
Optionally, it for incoming call requests, hangs up interface and is realized using the method endCall of standard, the case where having permission
Under, most of terminal interface can be realized and hung up the telephone.And it answers interface and needs to different android system versions
It is adapted to.As shown in figure 21, the common interface answered 221 is defined, then provides several specific implementation classes, respectively
Telephone receiving is carried out in different ways, and CallProcessorFactory class is factory class 222, for judging current end
End system needs to receive calls by which kind of mode.By judging that different versions is adopted to Android SDK version
With different realization classes.
System the tinkle of bells has been replaced by the audio file of video when video is arranged, and terminal receives communication connection foundation and asks
It can be played automatically when asking, program is without processing.
Terminal can monitor the event of other side's hang-up request, and full frame suspended window is removed when other side is actively hung up.It removes outstanding
Floating window is realized using removeView method.Due to might have collapse during removing, it is therefore desirable to be called removing
It is placed in try-catch sentence, moreover, the related cache information and resource of video playing require to discharge after suspended window removes,
Prevent memory overflow.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Figure 22 is please referred to, it illustrates the block diagrams that device is established in the communication connection that the application one embodiment provides.The dress
It sets to have and realizes the exemplary function of the above method, the function can also be executed corresponding soft by hardware realization by hardware
Part is realized.The device can be terminal described above, also can be set at the terminal.The device 2200 may include: to suspend
Module 2204 is established in window display module 2201, video playback module 2202, information display module 2203 and communication connection.
Suspended window display module 2201, for when receive target terminal initiation foundation communication connection request when,
Suspended window is shown in the display screen of the terminal.
Video playback module 2202, for playing video in the suspended window by video playing control.
Information display module 2203, for showing the phase of the target terminal in the suspended window for playing video
It closes information and answers control.
Module 2204 is established in communication connection, for when receive correspond to it is described answer the trigger signal of control when, with institute
It states target terminal and establishes communication connection.
In conclusion in technical solution provided by the embodiments of the present application, by the foundation for receiving target terminal initiation
When the request of communication connection, suspended window is shown in display screen, and video is played in the suspended window by video playing control,
At the same time, terminal the relevant information of displaying target terminal and answers control also in the suspended window of the broadcasting video, works as reception
To when corresponding to the trigger signal for answering control, establishes and communicate to connect with target terminal;It solves traditional communication connection to establish
Process excessively solidifies single technical problem, on the basis of realizing that communication connection is established, to receive by playing video
Page presentation after connection request is more rich and varied, and more personalized.
In some possible designs, the video playback module 2202 is used for: by the video playing control in institute
It states and plays video corresponding with the target terminal in suspended window.
In some possible designs, the video playback module 2202 is used for: acquiring local environment by camera
Image generates the video, includes the AR element in the environment in the video;Existed by the video playing control
The video is played in the suspended window.
In some possible designs, the information display module 2203 is used for: creating floating layer on the suspended window,
Wherein the relevant information of the target terminal and the control of answering are shown in the floating layer.
In some possible designs, the suspended window is shown in the display screen of the terminal with full form, described
Video is to preset or the short-sighted frequency or long video file of random fit.
In some possible designs, as shown in figure 23, described device 2200 further include: the tinkle of bells playing module 2205 is used
In: during playing the video, play the tinkle of bells;Wherein, the video is played in the form of mute;Alternatively, playing institute
It is mute to play or forbid playing the tinkle of bells during stating video;Wherein, the video is played in the form of non-mute.
In some possible designs, as shown in figure 23, described device 2200 further include: selection page display module
2206, preview page display module 2207, video preview playing module 2208 and video setup module 2209.
Page display module 2206 is selected, includes at least in the video selection page for showing the video selection page
One candidate video.
Preview page display module 2207 is received for working as corresponding to the target video in the video selection page
When selection instruction, the video preview page is shown.
Video preview playing module 2208, for playing the target video in the video preview page.
Video setup module 2209, for setting institute for the target video after receiving video setting instruction
State video.
In some possible designs, the video setup module 2209 is used for: display contacts list, the connection
It include at least one contact person in list;Obtain the selection instruction of the object contact person corresponded in the contacts list;
Set the target video to the video of the object contact person.
In some possible designs, the selection page display module 2206 is used for: in the video selection page
Show the static preview graph of each candidate video;If the dynamic previewing figure of target candidate video is got, by the mesh
The static preview graph of mark candidate video replaces with the dynamic previewing figure of the target candidate video.
In some possible designs, as shown in figure 23, described device 2200 further include: the tinkle of bells setup module 2210 is used
In: after receiving the video setting instruction, the audio-frequency information in the target video is extracted, generates target audio text
Part;The corresponding original audio file backup of system the tinkle of bells is saved;By the corresponding original audio file replacement of the system the tinkle of bells
For the target audio file.
In some possible designs, as shown in figure 23, described device 2200 further include: audio selection module 2211 is used
In: when receiving the audio setup instructions corresponding to the target video, show the audio selection page, the audio selection page
It include at least one candidate audio in face;Receive the selection instruction of the target audio corresponded in the audio selection page;It will
The target audio is set as the audio-frequency information of the target video.
In some possible designs, as shown in figure 23, described device 2200 further include: information preview module 2212 is used
In: when receiving instruction for previewing, while playing the target video, show that pre-review information, the pre-review information include
The relevant information of default contact person answers control and rejection control.
In some possible designs, as shown in figure 23, described device 2200 further include: control setup module 2213 is used
In: when receiving control setting instruction, display control pattern selects the page, and the control pattern selects in the page comprising at least
A kind of candidate's control pattern;Receive the selection instruction of the target widget pattern corresponded in the control pattern selection page;It will
It is described to answer control and the Show Styles of the rejection control is set as the target widget pattern.
In some possible designs, as shown in figure 23, described device 2200 further include: permission opening module 2214 is used
In if the video is arranged for the first time, then when receiving the video setting instruction, display reminding pop-up, the prompt pop-up
For prompting user's open system permission;When receiving priority assignation instruction, the rights management page, the rights management are shown
It include at least one system permission and corresponding switch control in the page;It will be each in the rights management page detecting
After the system permission is opened, calls the video setup module 2209 to execute and described set institute for the target video
The step of stating video.
It should be noted that device provided by the above embodiment, when realizing its function, only with above-mentioned each functional module
It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution,
The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition,
Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this
In repeat no more.
Figure 24 is please referred to, it illustrates the structural block diagrams for the terminal 2400 that the application one embodiment provides.The terminal
2400 can be the electronic equipments such as mobile phone, tablet computer, smartwatch.
In general, terminal 2400 includes: processor 2401 and memory 2402.
Processor 2401 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 2401 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 2401 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 2401 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 2401 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 2402 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 2402 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 2402 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 2401 for realizing this Shen
Please in embodiment of the method provide communication connection method for building up.
In some embodiments, terminal 2400 is also optional includes: peripheral device interface 2403 and at least one periphery are set
It is standby.It can be connected by bus or signal wire between processor 2401, memory 2402 and peripheral device interface 2403.It is each outer
Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 2403.Specifically, peripheral equipment includes:
In radio circuit 2404, touch display screen 2405, camera 2406, voicefrequency circuit 2407, positioning component 2408 and power supply 2409
At least one.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 2400 of structure shown in Figure 24
Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
In this example in embodiment, a kind of terminal is additionally provided, the terminal includes processor and memory, the storage
At least one instruction, at least a Duan Chengxu, code set or instruction set are stored in device.At least one instruction, at least one section
Program, code set or instruction set are configured to be executed by one or more than one processor, to realize that above-described embodiment provides
Communication connection method for building up.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, is stored in the storage medium
At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute
It states code set or described instruction collection and realizes communication connection provided by the above embodiment when being executed by the processor of computer equipment
Method for building up.Optionally, above-mentioned computer readable storage medium can be ROM, RAM, CD-ROM, tape, floppy disk and light data
Store equipment etc..
In the exemplary embodiment, a kind of computer program product is additionally provided, when the computer program product is performed
When, for realizing communication connection method for building up provided by the above embodiment.
It should be understood that referenced herein " multiple " refer to two or more."and/or", description association
The incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A
And B, individualism B these three situations.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".In addition, herein
Described in number of steps, the merely exemplary a kind of possible execution sequencing shown between step, in some other implementations
In example, above-mentioned steps can not also be executed according to number order, and such as the step of two different numbers is performed simultaneously or two
The step of different numbers, executes according to the sequence opposite with diagram, and the embodiment of the present application is not construed as limiting this.
The foregoing is merely the exemplary embodiments of the application, all in spirit herein not to limit the application
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (15)
1. a kind of communication connection method for building up, which is characterized in that applied in the terminal with communication function with display screen, institute
The method of stating includes:
When receiving the request of foundation communication connection of target terminal initiation, suspension is shown in the display screen of the terminal
Window;
Video is played in the suspended window by video playing control;
The relevant information of the target terminal is shown in the suspended window for playing video and answers control;
When receive correspond to it is described answer the trigger signal of control when, establish and communicate to connect with the target terminal.
2. the method according to claim 1, wherein described broadcast in the suspended window by video playing control
Put video, comprising:
Video corresponding with the target terminal is played in the suspended window by the video playing control;
It is described to show the relevant information of the target terminal in the suspended window for playing video and answer control, it wraps
It includes:
Create floating layer on the suspended window, wherein the relevant information of the target terminal and it is described answer control be shown in it is described
In floating layer.
3. the method according to claim 1, wherein described broadcast in the suspended window by video playing control
Put video, comprising:
The image that local environment is acquired by camera generates the video, includes to be located in the environment in the video
Augmented reality AR element;
The video is played in the suspended window by the video playing control.
4. according to the method in any one of claims 1 to 3, which is characterized in that the suspended window is shown with full form
In the display screen of the terminal, the video is to preset or the short-sighted frequency or long video file of random fit.
5. according to the method in any one of claims 1 to 3, which is characterized in that the method also includes:
During playing the video, the tinkle of bells is played;Wherein, the video is played in the form of mute;
Alternatively,
It is mute to play or forbid playing the tinkle of bells during playing the video;Wherein, the video is in the form of non-mute
It plays.
6. according to the method in any one of claims 1 to 3, which is characterized in that it is described by video playing control in institute
It states before playing video in suspended window, further includes:
It shows the video selection page, includes at least one candidate video in the video selection page;
When receiving the selection instruction of the target video corresponded in the video selection page, the video preview page is shown;
The target video is played in the video preview page;
After receiving video setting instruction, the video is set by the target video.
7. according to the method described in claim 6, it is characterized in that, described set the video for the target video, packet
It includes:
It shows contacts list, includes at least one contact person in the contacts list;
Obtain the selection instruction of the object contact person corresponded in the contacts list;
Set the target video to the video of the object contact person.
8. according to the method described in claim 6, it is characterized in that, the display video selection page, comprising:
The static preview graph of each candidate video is shown in the video selection page;
If getting the dynamic previewing figure of target candidate video, the static preview graph of the target candidate video is replaced with into institute
State the dynamic previewing figure of target candidate video.
9. according to the method described in claim 6, it is characterized in that, the method also includes:
After receiving the video setting instruction, the audio-frequency information in the target video is extracted, generates target audio text
Part;
The corresponding original audio file backup of system the tinkle of bells is saved;
The corresponding original audio file of the system the tinkle of bells is replaced with into the target audio file.
10. according to the method described in claim 6, it is characterized in that, after the display video preview page, further includes:
When receiving the audio setup instructions corresponding to the target video, the audio selection page, the audio selection are shown
It include at least one candidate audio in the page;
Receive the selection instruction of the target audio corresponded in the audio selection page;
Set the target audio to the audio-frequency information of the target video.
11. according to the method described in claim 6, it is characterized in that, after the display video preview page, further includes:
When receiving instruction for previewing, while playing the target video, show that pre-review information, the pre-review information include
The relevant information of default contact person answers control and rejection control;
When receiving control setting instruction, display control pattern selects the page, and the control pattern selects in the page comprising extremely
A kind of few candidate control pattern;
Receive the selection instruction of the target widget pattern corresponded in the control pattern selection page;
The target widget pattern is set by the Show Styles for answering control and the rejection control.
12. according to the method described in claim 6, it is characterized in that, the method also includes:
If the video is arranged for the first time, then when receiving the video setting instruction, display reminding pop-up, the prompt bullet
Window is for prompting user's open system permission;
When receiving priority assignation instruction, the rights management page is shown, be including at least one in the rights management page
Permission of uniting and corresponding switch control;
After detecting and opening each system permission in the rights management page, execute described by the mesh
The step of mark video is set as the video.
13. device is established in a kind of communication connection, which is characterized in that applied in the terminal with communication function with display screen,
Described device includes:
Suspended window display module, for when receive target terminal initiation foundation communication connection request when, in the terminal
Display screen in show suspended window;
Video playback module, for playing video in the suspended window by video playing control;
Information display module, for it is described play video the suspended window in show the target terminal relevant information and
Answer control;
Module is established in communication connection, for when receive correspond to it is described answer the trigger signal of control when, it is whole with the target
Communication connection is established at end.
14. a kind of terminal, which is characterized in that the terminal includes processor and memory, is stored at least in the memory
One instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the generation
Code collection or instruction set are loaded by the processor and are executed to realize such as the described in any item methods of claim 1 to 12.
15. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction
Collection is loaded by processor and is executed to realize such as the described in any item methods of claim 1 to 12.
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 true CN109981907A (en) | 2019-07-05 |
CN109981907B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830656A (en) * | 2019-11-13 | 2020-02-21 | 广州酷狗计算机科技有限公司 | Method, device, equipment and storage medium for prompting incoming call |
CN115209194A (en) * | 2019-08-09 | 2022-10-18 | 荣耀终端有限公司 | Terminal device, method and system for realizing one-touch screen projection through remote controller |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090013059A1 (en) * | 2007-07-03 | 2009-01-08 | Eric Partaker | Communication system and method |
US20160255494A1 (en) * | 2013-10-07 | 2016-09-01 | Samsung Electronics Co.,Ltd. | Method and apparatus for displaying associated information in electronic device |
US20160345052A1 (en) * | 2015-05-19 | 2016-11-24 | Lemobile Information Technology (Beijing) Co., Ltd. | Method and device for previewing video files |
CN106713589A (en) * | 2015-11-13 | 2017-05-24 | 北京奇虎科技有限公司 | Incoming call reminding method and device for mobile device |
CN107241656A (en) * | 2017-06-30 | 2017-10-10 | 广东欧珀移动通信有限公司 | A kind of call processing method, device, storage medium and terminal |
CN109068008A (en) * | 2018-10-11 | 2018-12-21 | 广州酷狗计算机科技有限公司 | The tinkle of bells setting method, device, terminal and storage medium |
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 |
CN109981885A (en) * | 2019-02-03 | 2019-07-05 | 华为技术有限公司 | The method and electronic equipment of video are presented in incoming call for a kind of electronic equipment |
-
2019
- 2019-04-04 CN CN201910272639.8A patent/CN109981907B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090013059A1 (en) * | 2007-07-03 | 2009-01-08 | Eric Partaker | Communication system and method |
US20160255494A1 (en) * | 2013-10-07 | 2016-09-01 | Samsung Electronics Co.,Ltd. | Method and apparatus for displaying associated information in electronic device |
US20160345052A1 (en) * | 2015-05-19 | 2016-11-24 | Lemobile Information Technology (Beijing) Co., Ltd. | Method and device for previewing video files |
CN106713589A (en) * | 2015-11-13 | 2017-05-24 | 北京奇虎科技有限公司 | Incoming call reminding method and device for mobile device |
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 |
CN109068008A (en) * | 2018-10-11 | 2018-12-21 | 广州酷狗计算机科技有限公司 | The tinkle of bells setting method, device, terminal 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 |
CN109981885A (en) * | 2019-02-03 | 2019-07-05 | 华为技术有限公司 | The method and electronic equipment of video are presented in incoming call for a kind of electronic equipment |
Non-Patent Citations (2)
Title |
---|
田海编著: "《零基础学UI》", 31 December 2016, 成都:电子科技大学出版社 * |
郄云江等著: "《移动互联网下的教学工具》", 31 December 2017, 杭州:浙江教育出版社 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115209194A (en) * | 2019-08-09 | 2022-10-18 | 荣耀终端有限公司 | Terminal device, method and system for realizing one-touch screen projection through remote controller |
CN115209194B (en) * | 2019-08-09 | 2023-07-21 | 荣耀终端有限公司 | Terminal equipment, method and system for realizing one touch screen through remote controller |
US11800172B2 (en) | 2019-08-09 | 2023-10-24 | Honor Device Co., Ltd. | Terminal device, method and system for realizing one-touch screen projection through remote control |
CN110830656A (en) * | 2019-11-13 | 2020-02-21 | 广州酷狗计算机科技有限公司 | Method, device, equipment and storage medium for prompting incoming call |
Also Published As
Publication number | Publication date |
---|---|
CN109981907B (en) | 2022-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105979501B (en) | Resource allocation methods and device | |
CN108769431A (en) | Audio play control method, device, storage medium and mobile terminal | |
CN109348070A (en) | Caller identification method and device | |
CN106203167B (en) | Application rights management method and device | |
KR102322542B1 (en) | Notification reminder method, terminal and storage medium | |
CN109981907A (en) | Communicate to connect method for building up, device, terminal and storage medium | |
GB2560441B (en) | Automatically delaying playback of a voice message at a captioning device | |
CN110611716B (en) | Prefabricated data propagation method and device and electronic equipment | |
CA2839374C (en) | Call processing method, device and system | |
CN107423125A (en) | A kind of camera shooting control method and shooting control system for intelligent terminal | |
KR20120074042A (en) | Method and apparatus for calling service multipoint in portable terminal | |
CN108111663A (en) | Play multimedia method and device | |
CN104902106B (en) | Clawback incoming call method of accessing and device | |
CN114640747A (en) | Call method, related device and system | |
WO2024027199A1 (en) | Risk identification method and electronic device | |
CN108377302A (en) | Shield the method and device of harassing call | |
CN107508991A (en) | A kind of communication processing method and device, terminal and readable storage medium storing program for executing | |
CN106412855A (en) | Information prompting and transmitting methods and devices | |
CN110351437A (en) | Incoming call reminding method, device, electronic equipment and readable storage medium storing program for executing | |
CN101883187A (en) | Method of realizing automatic incoming call of mobile phone, system and mobile phone with automatic incoming call function | |
CN115278273A (en) | Resource display method and device, electronic equipment and storage medium | |
CN104427135B (en) | CRBT processing method and processing device | |
CN105959465A (en) | Method and device for achieving conference mode and terminal | |
CN105916129A (en) | Call processing method and device, as well as call terminal and system | |
CN105472154B (en) | Communication event processing method and processing device |
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 |