CN111050109B - Electronic equipment control method and electronic equipment - Google Patents

Electronic equipment control method and electronic equipment Download PDF

Info

Publication number
CN111050109B
CN111050109B CN201911345930.XA CN201911345930A CN111050109B CN 111050109 B CN111050109 B CN 111050109B CN 201911345930 A CN201911345930 A CN 201911345930A CN 111050109 B CN111050109 B CN 111050109B
Authority
CN
China
Prior art keywords
video call
input
state
electronic device
call 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.)
Active
Application number
CN201911345930.XA
Other languages
Chinese (zh)
Other versions
CN111050109A (en
Inventor
李家凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=70238893&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN111050109(B) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911345930.XA priority Critical patent/CN111050109B/en
Publication of CN111050109A publication Critical patent/CN111050109A/en
Priority to PCT/CN2020/137676 priority patent/WO2021129537A1/en
Application granted granted Critical
Publication of CN111050109B publication Critical patent/CN111050109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an electronic equipment control method and electronic equipment, relates to the technical field of communication, and can solve the problem that the efficiency of the electronic equipment for executing video call related actions is low. The method comprises the following steps: receiving a first input of a user to a video call window; and responding to the first input, and controlling a camera or a video call window of the electronic equipment to be in a target state, wherein the target state is a state corresponding to the first input. The embodiment of the invention is applied to the process of carrying out video call through the electronic equipment.

Description

Electronic equipment control method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an electronic equipment control method and electronic equipment.
Background
Generally, when a user performs a video call through a social application of an electronic device, the electronic device may suspend displaying a video window to display images of other users in the video call, so as to implement communication between the users.
However, in the above method, in the video call process, when the user needs to perform other operations (for example, screen capture, view other contents) on the electronic device, the user needs to first click and input the video call window to enable the electronic device to display the video window in a full screen, and then the user performs input in the video window to enable the electronic device to perform corresponding actions (for example, switching of a camera), so that the operations of the user are cumbersome, and the efficiency of the electronic device to perform actions related to the video call is low.
Disclosure of Invention
The embodiment of the invention provides an electronic equipment control method and electronic equipment, which can solve the problem of low efficiency of the electronic equipment in executing video call related actions.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect of embodiments of the present invention, an electronic device control method is provided, which is applied to an electronic device, and includes: receiving a first input of a user to a video call window; and responding to the first input, and controlling a camera or a video call window of the electronic equipment to be in a target state, wherein the target state is a state corresponding to the first input.
In a second aspect of the embodiments of the present invention, there is provided an electronic device, including: the device comprises a receiving module and a control module. The receiving module is used for receiving a first input of a user to the video call window. And the control module is used for responding to the first input received by the receiving module and controlling a camera or a video call window of the electronic equipment to be in a target state, wherein the target state is a state corresponding to the first input.
In a third aspect of the embodiments of the present invention, an electronic device is provided, where the electronic device includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, and the computer program, when executed by the processor, implements the steps of the electronic device control method according to the first aspect.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the electronic device control method according to the first aspect.
In the embodiment of the invention, the electronic equipment can control a camera or a video call window of the electronic equipment to be in a target state corresponding to the first input according to the first input of the user to the video call window. Because the user can directly perform the first input on the video call window, the electronic device can quickly control the camera or the video call window to be in the target state (namely, execute the related action of the video process) without performing multiple inputs by the user, the operation of the user can be simplified, and the efficiency of the electronic device in executing the related action of the video process can be improved.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an electronic device control method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 5 is a third schematic diagram of an example of an interface of a mobile phone according to the embodiment of the present invention;
fig. 6 is a second schematic diagram of an electronic device control method according to an embodiment of the present invention;
fig. 7 is a fourth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 8 is a third schematic diagram illustrating a control method of an electronic device according to an embodiment of the invention;
fig. 9 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 10 is a fourth schematic diagram illustrating an electronic device control method according to an embodiment of the invention;
fig. 11 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 13 is a second schematic structural diagram of an electronic apparatus according to a second embodiment of the invention;
fig. 14 is a third schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 15 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of elements refers to two elements or more.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a display panel and/or a backlight, which may mean: there are three cases of a display panel alone, a display panel and a backlight at the same time, and a backlight alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, input/output denotes input or output.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides an electronic equipment control method and electronic equipment. Because the user can directly perform the first input on the video call window, the electronic device can quickly control the camera or the video call window to be in the target state (namely, execute the related action of the video process) without performing multiple inputs by the user, the operation of the user can be simplified, and the efficiency of the electronic device in executing the related action of the video process can be improved.
The electronic equipment control method and the electronic equipment provided by the embodiment of the invention can be applied to the process of carrying out video call through the electronic equipment.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the electronic device control method provided by the embodiment of the present invention, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the electronic device control method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the electronic device control method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the electronic device control method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
An electronic device control method and an electronic device provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In the embodiment of the invention, in a scene, when a user needs to show the environment or some articles where the user is located to other users in the video call process through the electronic equipment, the user can perform the first input on the video call window, so that the electronic equipment can rapidly update the state of the camera of the electronic equipment, for example, the front camera is switched to the rear camera, and the user is prevented from switching the front camera and the rear camera through multiple inputs.
In another scenario, in the embodiment of the present invention, in a process that a user performs a video call through an electronic device, when the user needs to perform other operations on the electronic device, such as a screen capture operation and viewing a video picture or a picture, the electronic device may update a state of the video call window by performing a first input on the video call window, for example, reducing a display size of the video call window or hiding the video call window, so as to avoid a content of the video call window appearing in a captured picture after the electronic device captures the screen, or avoid a blocking of the video call window on the video picture or the picture.
Fig. 2 shows a flowchart of an electronic device control method provided in an embodiment of the present invention, and the method may be applied to an electronic device having an android operating system shown in fig. 1. As shown in fig. 2, the electronic device control method provided by the embodiment of the present invention may include steps 201 and 202 described below.
Step 201, the electronic device receives a first input of a user to a video call window.
In the embodiment of the invention, under the condition that the electronic equipment displays the video call window, a user can perform first input on the video call window.
Optionally, in the embodiment of the present invention, the electronic device may display the video call window in a case that the electronic device runs the target application.
Optionally, in this embodiment of the present invention, the target application may be an application having a video function (e.g., a video call function), for example, the target application may be a social application, a video application, a short video application, and the like.
Optionally, in the embodiment of the present invention, the electronic device may display the video call window on any interface of the electronic device, for example, a desktop of the electronic device, an interface of a target application program, an interface of another application program, or the like.
Optionally, in the embodiment of the present invention, the electronic device may display the video call window in a floating display mode.
Optionally, in the embodiment of the present invention, a user may perform permission setting in the electronic device (for example, in a video-related application) in advance to trigger the electronic device to open a permission of the floating window, so as to open a permission of a gesture shortcut operation (that is, a gesture operation related to a video call window).
Optionally, in the embodiment of the present invention, the user may perform an input (for example, a double-click input) on the video call window to trigger the electronic device to open the floating window permission.
Optionally, in this embodiment of the present invention, the first input may be used to trigger the electronic device to perform switching between the front camera and the rear camera (for example, the front camera is in an on state or the rear camera is in an on state).
Optionally, in this embodiment of the present invention, the first input may be a user's turning input on a video call window.
Optionally, in an embodiment of the present invention, the first input may specifically be a press input and a slide input of an operable area in the video call window by a user, so as to trigger the electronic device to perform a flipping operation on the video call window.
The electronic device is taken as a mobile phone for illustration. As shown in fig. 3, a user may perform a press input and a slide input (e.g., the user may press the lower right corner region 12 of the floating window 10 to drag in the left direction 13 or press the lower left corner region 11 of the floating window 10 to drag in the right direction 14) on an operable region (e.g., two black filled regions (e.g., the lower left corner region 11 and the lower right corner region 12) of a video call window (e.g., the floating window 10) of the video call window to make the video call window turn (with a special turning effect).
Optionally, in this embodiment of the present invention, the first input may be used to trigger the electronic device to turn off the camera function (for example, the front camera is in a turned-off state or the rear camera is in a turned-off state).
Optionally, in an embodiment of the present invention, the first input is a sliding input of a video call window by a user.
For example, as shown in fig. 4, a user may perform a sliding input (e.g., a sliding input from top to bottom) on a video call window (e.g., the floating window 10), so that the mobile phone may perform a covering process on the video call window (with a special covering effect, which is illustrated by a black filled area in fig. 4), until the video call window is completely covered, the mobile phone may close the camera function, and update and display the video call window with a preset display effect (e.g., a color deepening effect of an edge line of the window), so as to prompt the user that the video call window is in a covered state.
Optionally, in this embodiment of the present invention, the first input may be used to trigger the electronic device to adjust a display size (e.g., minimize display) of the video call window.
Optionally, in an embodiment of the present invention, the first input is a drag input of the video call window by the user.
Optionally, in this embodiment of the present invention, the first input may specifically be a zoom input of the video call window by the user.
For example, as shown in fig. 5, the user may perform a drag input on a video call window (e.g., the floating window 10) (e.g., drag the floating window 10 to fit the uppermost boundary line of the screen of the mobile phone), so that the mobile phone may reduce the display size of the video call window (with a special effect of shrinking upward) until the video call window is in a minimized state (e.g., a state of shrinking to a thick line at the uppermost position of the screen of the mobile phone).
Step 202, the electronic device responds to the first input and controls a camera or a video call window of the electronic device to be in a target state.
In an embodiment of the present invention, the target state is a state corresponding to the first input.
It can be understood that the user can update the camera of the electronic device to different states or update the video call window to different states through different inputs, that is, different inputs correspond to different states, that is, the input type of the first input is different, the state of the camera of the electronic device is different or the state of the video call window is different.
Optionally, in this embodiment of the present invention, the input type of the first input may be any one of the following types: a flip input, a slide input, and a drag input.
Optionally, in an embodiment of the present invention, the first input is a user's turning input on a video call window. Referring to fig. 2, as shown in fig. 6, the step 202 can be specifically realized by the following step 202 a.
Step 202a, the electronic device responds to the first input, and controls a camera of the electronic device to switch to a target state under the condition that the turning angle value of the video call window is larger than or equal to a preset angle value.
In an embodiment of the present invention, the target state is a front camera open state or a rear camera open state.
Optionally, in the embodiment of the present invention, when the front camera of the electronic device is in an open state, and when the turning angle value of the video call window is greater than or equal to the preset angle value, the electronic device may close the front camera and open the rear camera (i.e., control the rear camera to be in the open state), so as to implement switching between the front camera and the rear camera.
Optionally, in the embodiment of the present invention, when the rear camera of the electronic device is in an open state, and when the turning angle value of the video call window is greater than or equal to the preset angle value, the electronic device may close the rear camera and open the front camera (i.e., control the front camera to be in the open state), so as to implement switching between the front camera and the rear camera.
Optionally, in the embodiment of the present invention, after the first input is ended, if the flip angle value of the video call window is smaller than the preset angle value, the electronic device may resume the display state of the video call window.
Optionally, in an embodiment of the present invention, the preset angle value may be 90 °.
For another example, referring to fig. 3, as shown in fig. 7, a user may press the lower right corner of the floating window 10 to slide to the left (marked as a front side), at this time, the floating window 10 continuously turns over, and when the turning angle value of the floating window 10 does not reach 90 °, if the first input is finished (for example, the user releases the finger), the mobile phone may control the floating window 10 to return to the non-turned state; if the user continues to perform the flipping input, the mobile phone may control the floating window 10 to continuously flip (for example, from the front side to the back side), and after the first input is finished (for example, the user releases the finger) (at this time, the floating window 10 has been flipped by one circle), the mobile phone may control the camera of the electronic device to be in the target state (i.e., perform the conversion of the camera).
In the embodiment of the invention, a user can input the video call window in a turning manner, so that the electronic equipment can rapidly realize the conversion between the front camera and the rear camera.
Optionally, in an embodiment of the present invention, the first input is a sliding input of a video call window by a user. Referring to fig. 2, as shown in fig. 8, in the step 202, "controlling a camera or a video call window of the electronic device to be in a target state", the electronic device control method according to the embodiment of the present invention may further include the following step 301, and the step 202 may be specifically implemented by the following step 202 b.
Step 301, the electronic device responds to the first input, and updates the video call window to be displayed with a preset display effect.
Optionally, in an embodiment of the present invention, the preset display effect includes at least one of the following: the color deepening effect of the edge line of the window, the window covering effect, the window hiding effect and the like.
And step 202b, the electronic equipment controls a camera of the electronic equipment to be switched to a target state according to the display effect of the video call window.
In an embodiment of the present invention, the target state is a front camera off state or a rear camera off state.
In the embodiment of the invention, the electronic equipment can detect the display effect of the video call window in real time, and can close the front camera or the rear camera after detecting that the video call window is displayed by the preset display effect.
Optionally, in the embodiment of the present invention, when the front-facing camera of the electronic device is in an open state, the electronic device may close the front-facing camera (i.e., control the front-facing camera to be in a closed state) in response to the first input; in a case where the rear camera of the electronic device is in an on state, the electronic device may turn off the rear camera (i.e., control the rear camera to be in an off state) in response to the first input.
In the embodiment of the invention, the user can slide and input the video call window, so that the electronic equipment can quickly close the front camera or the rear camera.
Optionally, in the embodiment of the present invention, after the step 202b, the electronic device control method provided in the embodiment of the present invention may further include the following step 401 and step 402.
Step 401, the electronic device receives a second input of the user.
In an embodiment of the present invention, the second input is used to trigger the electronic device to turn on the front camera or the rear camera.
Optionally, in this embodiment of the present invention, the second input may be a sliding input of the video call window by the user.
And 402, the electronic equipment responds to the second input, cancels the display of the video call window with the preset display effect, and controls a camera of the electronic equipment to be switched to the first state.
In an embodiment of the present invention, the first state is a front camera opening state or a rear camera opening state.
In the embodiment of the invention, after the electronic equipment closes the front camera or the rear camera according to the first input, the information of the closed camera can be stored in the electronic equipment, and after the electronic equipment receives the second input, the closed camera can be turned on again.
Optionally, in the embodiment of the present invention, if the camera turned off by the electronic device according to the first input is a front-facing camera, after receiving the second input, the electronic device may turn on the front-facing camera again; if the camera closed by the electronic equipment according to the first input is the rear camera, the electronic equipment can restart the rear camera after receiving the second input.
For example, in conjunction with fig. 4, as shown in fig. 9, the user may perform a second input (e.g., a sliding input from bottom to top) on the floating window 10, so that the mobile phone may cancel displaying the floating window 10 with the preset display effect (e.g., cancel covering the floating window 10), and re-open the front camera or the rear camera, so that the user may continue to perform the video call.
In the embodiment of the invention, the user can carry out second input on the video call window, so that the electronic equipment can quickly restart the front camera or the rear camera.
Optionally, in an embodiment of the present invention, the first input is a drag input of the video call window by the user. Referring to fig. 2, as shown in fig. 10, the step 202 can be specifically realized by the following step 202 c.
Step 202c, the electronic device adjusts the display size of the video call window in response to the first input, so that the video call window is in the target state.
In an embodiment of the present invention, the target state is a preset size display state.
Optionally, in this embodiment of the present invention, the electronic device may reduce the display size of the video call window according to the first input.
Optionally, in an embodiment of the present invention, the target state may be a minimum size display state (e.g., a minimum display state).
Optionally, in the embodiment of the present invention, when the video call window is in the display state with the preset size, the shielding degree of the video call window on the content currently displayed by the electronic device is minimum, and the user may perform screen capture input or view a full-screen picture (for example, an image of another user during a video call).
In the embodiment of the invention, the user can perform dragging input on the video call window, so that the electronic equipment can quickly adjust the display size of the video call window, and the shielding degree of the video call window on the content displayed on the current interface of the electronic equipment is reduced.
Optionally, in the embodiment of the present invention, after the step 202c, the electronic device control method provided in the embodiment of the present invention may further include the following step 501, step 502, and step 503 (or step 504).
Step 501, the electronic device receives a third input from the user.
In an embodiment of the present invention, the third input is used to trigger the electronic device to recover the display size of the video call window.
Optionally, in this embodiment of the present invention, the third input may be a click input or a pull input of the user on the video call window.
Step 502, the electronic device responds to the third input and restores the display size of the video call window.
Optionally, in this embodiment of the present invention, the electronic device may increase the display size of the video call window to the initial display size according to a drop three input of the user.
Step 503, if a fourth input of the user to the video call window is received within the preset time, the electronic device displays the video call window in the target area according to the display size of the recovered video call window.
In an embodiment of the present invention, the target area is an area corresponding to the fourth input.
In the embodiment of the invention, after the electronic device recovers the display size of the video call window, the user can perform the fourth input on the video call window to obtain that the electronic device displays the video call window in the recovered display size in the corresponding area.
Optionally, in this embodiment of the present invention, the fourth input may be a drag input of the video call window by the user.
And step 504, if any input of the user is not received within the preset time length, the electronic equipment cancels the restoration of the display size of the video call window.
It can be understood that, if the user does not input for the video call window within the preset duration, the electronic device may adjust the display size of the video call window again, so that the video call window is in the preset size display state.
For example, referring to fig. 5, as shown in fig. 11, a user may click and input the floating window 10 in a minimized state (for example, a state of contracting to a thick line at the top of the screen of the mobile phone) to enable the mobile phone to restore the display size of the floating window 10 (i.e., exit from the minimized state), and if a fourth input is received from the user (for example, the user drags the floating window 10 to leave the top position of the screen), the mobile phone may display the floating window 10 in a region corresponding to the fourth input with the restored display size within a preset time period.
The embodiment of the invention provides a method for controlling electronic equipment, wherein the electronic equipment can control a camera or a video call window of the electronic equipment to be in a target state corresponding to first input according to the first input of a user to the video call window. Because the user can directly perform the first input on the video call window, the electronic device can quickly control the camera or the video call window to be in the target state (namely, execute the related action of the video process) without performing multiple inputs by the user, the operation of the user can be simplified, and the efficiency of the electronic device in executing the related action of the video process can be improved.
The embodiment of the invention provides a method for quickly interacting with a floating window during a video call, which is combined with a specific video application, abstracts out related functions of videos in the video application (such as video special effects, picture-in-picture, left-right split screen and the like), increases gesture operations defined by a user, can quickly control related operations of the video call such as turning over a camera, temporarily closing the camera or hiding the floating window and the like through simple operations such as sliding input, dragging input or clicking input and the like by the user, is quick and convenient, and can avoid switching back and forth between a video picture of the whole screen and a video picture of the floating window so as to reduce complicated operations of the user.
Optionally, in the embodiment of the present invention, a user may perform an input (for example, a double-click input) on the video call window to trigger the electronic device to close the floating window permission, so that the user cannot perform a related operation on the video call window using a gesture any more, so as to prevent a user from performing a misoperation on the video call window.
Fig. 12 shows a schematic diagram of a possible structure of an electronic device involved in the embodiment of the present invention. As shown in fig. 12, the electronic device 80 may include: a receiving module 81 and a control module 82.
The receiving module 81 is configured to receive a first input of a user to the video call window. And a control module 82, configured to control a camera or a video call window of the electronic device to be in a target state in response to the first input received by the receiving module 81, where the target state is a state corresponding to the first input.
In a possible implementation manner, the first input is a user's turning input to the video call window. The control module 82 is specifically configured to control the camera of the electronic device to switch to a target state when the turning angle value of the video call window is greater than or equal to the preset angle value, where the target state is a front-camera opening state or a rear-camera opening state.
In a possible implementation manner, the first input is a sliding input of the video call window by the user. Referring to fig. 12, as shown in fig. 13, the electronic device 80 according to the embodiment of the present invention further includes: and a processing module 83. The processing module 83 is configured to update the video call window to be displayed with a preset display effect before the control module 82 controls the camera or the video call window of the electronic device to be in the target state. The control module 82 is specifically configured to control the camera of the electronic device to switch to a target state according to the display effect of the video call window, where the target state is a front-camera off state or a rear-camera off state.
In a possible implementation manner, the receiving module 81 is further configured to receive a second input from the user after the control module 82 controls the camera of the electronic device to switch to the target state. The processing module 83 is further configured to cancel displaying the video call window with the preset display effect in response to the second input received by the receiving module 81, and control the camera of the electronic device to switch to the first state, where the first state is a front-facing camera open state or a rear-facing camera open state.
In a possible implementation manner, the first input is a dragging input of the video call window by the user. The control module 82 is specifically configured to adjust a display size of the video call window, so that the video call window is in a target state, where the target state is a preset size display state.
In a possible implementation manner, the receiving module 81 is further configured to receive a third input from the user after the control module 82 adjusts the size of the video call window so that the video call window is in the target state. Referring to fig. 12, as shown in fig. 14, an electronic device 80 according to an embodiment of the present invention further includes: a processing module 83 and a display module 84. Wherein, the processing module 83 is configured to restore the display size of the video call window in response to the third input received by the receiving module 81. The display module 84 is configured to, if a fourth input to the video call window by the user is received within the preset time period, display the video call window in a target area according to the display size of the recovered video call window, where the target area is an area corresponding to the fourth input. The processing module 83 is further configured to cancel restoring the display size of the video call window if any input of the user is not received within the preset time length.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and for avoiding repetition, detailed descriptions are not repeated here.
The embodiment of the invention provides electronic equipment, which can control a camera or a video call window of the electronic equipment to be in a target state corresponding to first input according to the first input of a user to the video call window. Because the user can directly perform the first input on the video call window, the electronic device can quickly control the camera or the video call window to be in the target state (namely, execute the related action of the video process) without performing multiple inputs by the user, the operation of the user can be simplified, and the efficiency of the electronic device in executing the related action of the video process can be improved.
Fig. 15 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 15, electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111.
It should be noted that the electronic device structure shown in fig. 15 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in fig. 15, or combine some components, or arrange different components, as will be understood by those skilled in the art. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The user input unit 107 is configured to receive a first input of the video call window from a user.
And the processor 110 is used for responding to the first input and controlling a camera or a video call window of the electronic equipment to be in a target state.
The embodiment of the invention provides electronic equipment, which can control a camera or a video call window of the electronic equipment to be in a target state corresponding to first input according to the first input of a user to the video call window. Because the user can directly perform the first input on the video call window, the electronic device can quickly control the camera or the video call window to be in the target state (namely, execute the related action of the video process) without performing multiple inputs by the user, the operation of the user can be simplified, and the efficiency of the electronic device in executing the related action of the video process can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 15, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 15, the memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements the processes of the foregoing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. An electronic device control method is applied to an electronic device, and is characterized by comprising the following steps:
receiving a first input of a user to a video call window;
responding to the first input, updating the state of the video call window, and controlling a camera of the electronic equipment to be in a target state according to the state of the video call window, wherein the target state is a state corresponding to the first input;
the updating the state of the video call window comprises: updating the display effect of the video call window, or turning over the video call window;
the video call window is a floating window.
2. The method of claim 1, wherein the first input is a user's flip input to the video call window;
the controlling the camera of the electronic device to be in a target state includes:
and under the condition that the turning angle value of the video call window is greater than or equal to a preset angle value, controlling the camera of the electronic equipment to be switched to the target state, wherein the target state is a front camera opening state or a rear camera opening state.
3. The method of claim 1, wherein the first input is a sliding input of the video call window by a user;
the updating the state of the video call window comprises:
updating the video call window to be displayed with a preset display effect;
the controlling the camera of the electronic device to be in a target state includes:
and controlling the camera of the electronic equipment to be switched to the target state according to the display effect of the video call window, wherein the target state is a front camera closing state or a rear camera closing state.
4. The method of claim 3, wherein after the controlling the camera of the electronic device to switch to the target state, the method further comprises:
receiving a second input of the user;
and responding to the second input, canceling the display of the video call window with the preset display effect, and controlling the camera of the electronic equipment to be switched to a first state, wherein the first state is a front camera opening state or a rear camera opening state.
5. An electronic device, characterized in that the electronic device comprises: the device comprises a receiving module and a control module;
the receiving module is used for receiving the data from the receiving module,
the video call processing device is used for receiving a first input of a user to a video call window;
the control module is used for responding to the first input received by the receiving module, updating the state of the video call window, and controlling a camera of the electronic equipment to be in a target state according to the state of the video call window, wherein the target state is a state corresponding to the first input;
the updating the state of the video call window comprises: updating the display effect of the video call window, or turning over the video call window;
the video call window is a floating window.
6. The electronic device of claim 5, wherein the first input is a user input to flip the video call window;
the control module is specifically configured to control the camera of the electronic device to switch to the target state when the turning angle value of the video call window is greater than or equal to a preset angle value, where the target state is a front-camera opening state or a rear-camera opening state.
7. The electronic device of claim 5, wherein the first input is a sliding input of the video call window by a user;
the electronic device further includes: a processing module;
the processing module is used for processing the state of the video call window updated by the control module and updating the video call window to be displayed with a preset display effect;
the control module is specifically configured to control the camera of the electronic device to switch to the target state according to the display effect of the video call window, where the target state is a front-camera closed state or a rear-camera closed state.
8. The electronic device of claim 7, wherein the receiving module is further configured to receive a second input from a user after the control module controls the camera of the electronic device to switch to the target state;
the processing module is further configured to cancel displaying the video call window with the preset display effect in response to the second input received by the receiving module, and control the camera of the electronic device to switch to a first state, where the first state is a front-facing camera opening state or a rear-facing camera opening state.
9. An electronic device, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the electronic device control method according to any one of claims 1 to 4.
CN201911345930.XA 2019-12-24 2019-12-24 Electronic equipment control method and electronic equipment Active CN111050109B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911345930.XA CN111050109B (en) 2019-12-24 2019-12-24 Electronic equipment control method and electronic equipment
PCT/CN2020/137676 WO2021129537A1 (en) 2019-12-24 2020-12-18 Method for controlling electronic device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911345930.XA CN111050109B (en) 2019-12-24 2019-12-24 Electronic equipment control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111050109A CN111050109A (en) 2020-04-21
CN111050109B true CN111050109B (en) 2021-09-17

Family

ID=70238893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911345930.XA Active CN111050109B (en) 2019-12-24 2019-12-24 Electronic equipment control method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111050109B (en)
WO (1) WO2021129537A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050109B (en) * 2019-12-24 2021-09-17 维沃移动通信有限公司 Electronic equipment control method and electronic equipment
CN113923349B (en) * 2021-09-02 2024-06-11 深圳壹秘科技有限公司 Camera privacy protection method, device, equipment and storage medium
CN114125137A (en) * 2021-11-08 2022-03-01 维沃移动通信有限公司 Video display method and device, electronic equipment and readable storage medium
CN114840298B (en) * 2022-07-04 2023-04-18 荣耀终端有限公司 Suspended window opening method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206712945U (en) * 2017-04-26 2017-12-05 联想新视界(天津)科技有限公司 Video communications system
CN108012182A (en) * 2017-12-26 2018-05-08 珠海格力电器股份有限公司 Video display method and terminal equipment
CN108933865A (en) * 2014-05-13 2018-12-04 Lg 电子株式会社 Mobile terminal and its control method
CN109327568A (en) * 2018-10-18 2019-02-12 维沃移动通信(杭州)有限公司 A kind of method and mobile terminal switching camera
US10389765B2 (en) * 2015-12-29 2019-08-20 Facebook, Inc. Multi-user content presentation system
CN110362373A (en) * 2019-06-29 2019-10-22 华为技术有限公司 A kind of method and relevant device controlling screen wicket
CN110489043A (en) * 2019-07-31 2019-11-22 华为技术有限公司 A kind of management method and relevant apparatus of suspension windows
CN110531864A (en) * 2019-09-18 2019-12-03 华为技术有限公司 A kind of gesture interaction method, device and terminal device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118299B (en) * 2011-11-16 2016-07-06 中国电信股份有限公司 IPTV video calling control method and Set Top Box
JP6229283B2 (en) * 2013-03-26 2017-11-15 株式会社リコー Image processing apparatus, display terminal, image display system, image processing method, display terminal control method, image display system control method, and program for those methods
GB2526245A (en) * 2014-03-04 2015-11-25 Microsoft Technology Licensing Llc Sharing content
GB201406789D0 (en) * 2014-04-15 2014-05-28 Microsoft Corp Displaying video call data
CN108366221A (en) * 2018-05-16 2018-08-03 维沃移动通信有限公司 A kind of video call method and terminal
CN108924616B (en) * 2018-07-27 2020-11-13 维沃移动通信有限公司 Display control method and terminal
CN110174993B (en) * 2019-05-20 2021-05-07 维沃移动通信有限公司 Display control method, terminal equipment and computer readable storage medium
CN110248254A (en) * 2019-06-11 2019-09-17 Oppo广东移动通信有限公司 Display control method and Related product
CN111050109B (en) * 2019-12-24 2021-09-17 维沃移动通信有限公司 Electronic equipment control method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108933865A (en) * 2014-05-13 2018-12-04 Lg 电子株式会社 Mobile terminal and its control method
US10389765B2 (en) * 2015-12-29 2019-08-20 Facebook, Inc. Multi-user content presentation system
CN206712945U (en) * 2017-04-26 2017-12-05 联想新视界(天津)科技有限公司 Video communications system
CN108012182A (en) * 2017-12-26 2018-05-08 珠海格力电器股份有限公司 Video display method and terminal equipment
CN109327568A (en) * 2018-10-18 2019-02-12 维沃移动通信(杭州)有限公司 A kind of method and mobile terminal switching camera
CN110362373A (en) * 2019-06-29 2019-10-22 华为技术有限公司 A kind of method and relevant device controlling screen wicket
CN110489043A (en) * 2019-07-31 2019-11-22 华为技术有限公司 A kind of management method and relevant apparatus of suspension windows
CN110531864A (en) * 2019-09-18 2019-12-03 华为技术有限公司 A kind of gesture interaction method, device and terminal device

Also Published As

Publication number Publication date
CN111050109A (en) 2020-04-21
WO2021129537A1 (en) 2021-07-01

Similar Documents

Publication Publication Date Title
US20220276909A1 (en) Screen projection control method and electronic device
CN109002243B (en) Image parameter adjusting method and terminal equipment
CN111050109B (en) Electronic equipment control method and electronic equipment
CN109857306B (en) Screen capturing method and terminal equipment
WO2021098603A1 (en) Preview picture display method and electronic device
CN111163260B (en) Camera starting method and electronic equipment
CN109407948B (en) Interface display method and mobile terminal
CN109407949B (en) Display control method and terminal
CN109857495A (en) A kind of display control method and terminal device
CN111385415B (en) Shooting method and electronic equipment
CN109104566B (en) Image display method and terminal equipment
CN110830713A (en) Zooming method and electronic equipment
CN110968229A (en) Wallpaper setting method and electronic equipment
CN109993711A (en) A kind of image processing method and terminal device
CN111596990A (en) Picture display method and device
CN111190517B (en) Split screen display method and electronic equipment
CN110851098B (en) Video window display method and electronic equipment
CN111338525A (en) Control method of electronic equipment and electronic equipment
CN109859718B (en) Screen brightness adjusting method and terminal equipment
CN109189514B (en) Terminal device control method and terminal device
CN110750200A (en) Screenshot picture processing method and terminal equipment
CN109756630A (en) A kind of screen control method and terminal device
CN111246105B (en) Photographing method, electronic device, and computer-readable storage medium
CN111163347B (en) Bullet screen information processing method and electronic equipment
CN110647506B (en) Picture deleting method and terminal equipment

Legal Events

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