WO2021164739A1 - Control method for electronic device and electronic device - Google Patents

Control method for electronic device and electronic device Download PDF

Info

Publication number
WO2021164739A1
WO2021164739A1 PCT/CN2021/076883 CN2021076883W WO2021164739A1 WO 2021164739 A1 WO2021164739 A1 WO 2021164739A1 CN 2021076883 W CN2021076883 W CN 2021076883W WO 2021164739 A1 WO2021164739 A1 WO 2021164739A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
image
electronic device
input
application
Prior art date
Application number
PCT/CN2021/076883
Other languages
French (fr)
Chinese (zh)
Inventor
周子翔
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021164739A1 publication Critical patent/WO2021164739A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the embodiment of the present invention relates to the field of communication technology, and in particular to a control method of an electronic device and an electronic device.
  • the electronic device displays the first application in full screen
  • the second application needs to display an interface in the display area of the electronic device at this time
  • the interface of the second application needs to be superimposed and displayed on the interface of the first application.
  • the input method interface needs to be called up in the content of the game interface.
  • the input method interface will be superimposed and displayed on the game interface. Since the input method interface area is large, most of the game interface will be blocked.
  • the embodiments of the present invention provide a method for controlling an electronic device and an electronic device to solve the problem that when a user uses the electronic device for entertainment activities, the outgoing third-party application program occupies an excessively large screen.
  • an embodiment of the present invention provides a method for controlling an electronic device.
  • the method includes: displaying a first interface of a first application;
  • the second interface is associated, the first image at least partially overlaps the first interface, and the first image is an at least partially transparent or at least partially translucent image; in response to the user's second input to the first image, according to the first image and the second interface
  • the mapping relationship of executes the function corresponding to the target control on the second interface; wherein, the position of the target control on the second interface corresponds to the position of the second input on the first image.
  • an embodiment of the present invention also provides an electronic device, which includes a display module and an execution module; wherein, the display module is used to display the first interface of the first application; the display module is also used to respond to the user The first input of, the first image is displayed, the first image is associated with the second interface of the second application, the first image and the first interface at least partially overlap, and the first image is an at least partially transparent or at least partially translucent image; execute The module is used to respond to the user's second input to the first image, and execute the function corresponding to the target control on the second interface according to the mapping relationship between the first image and the second interface; where the target control is on the second interface The position corresponds to the position of the second input on the first image.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor.
  • the computer program is executed by the processor to achieve the following On the one hand, the steps of the control method of the electronic device.
  • the electronic device displays the first image with a preset transparency on the first interface of the first application, because the first image is associated with the second interface of the second application, and the first image and the second interface exist Mapping relationship. Therefore, when the electronic device receives the second input of the user on the first image, it can map the second input to the target control on the second interface to achieve the same as the user’s control of the target control on the second interface. The same effect as the second input.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for controlling an electronic device according to an embodiment of the present invention
  • FIG. 4 is a second schematic diagram of an interface used for page display according to an embodiment of the present invention.
  • FIG. 5 is a third schematic diagram of an interface used for page display according to an embodiment of the present invention.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • the electronic device in the embodiment of the present invention may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA)
  • the non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.; the embodiment of the present invention does not specifically limit it.
  • the execution subject of the electronic device control method provided by the embodiment of the present invention may be the above-mentioned electronic device (including mobile terminal devices and non-mobile terminal devices), or may be a functional module in the electronic device that can implement the electronic device control method And/or functional entities can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • an electronic device is taken as an example to illustrate the control method of the electronic device provided in the embodiment of the present invention.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • an application program can include two parts.
  • One part refers to a service running in the background of an electronic device for detecting user input, for example, detecting the user's first input
  • the other part refers to being displayed on the screen of the electronic device.
  • the first image is displayed on the first interface of the first application.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • the method for controlling an electronic device can be applied to a scenario where the electronic device needs to display display interfaces of multiple application programs. For example, when the electronic device displays the game interface of the application in full screen, or when the video playback interface is displayed in full screen, it needs to display the scene of input method interface for text input.
  • the electronic device may display the first image on the video playback interface with a predetermined transparency when the video playback interface is displayed in full screen, wherein the first image is associated with the second interface of the second application, so After the electronic device receives the user's second input to the first image, the electronic device can execute the corresponding function of the second application according to the mapping relationship between the first image and the second interface, so as to be able to not affect the user's viewing In the case of experience, text input is realized and human-computer interaction performance is improved.
  • an electronic device control method provided in an embodiment of the present invention may include the following steps 301 to 303:
  • Step 301 The electronic device displays the first interface of the first application.
  • Step 302 The electronic device displays a first image in response to the user's first input, where the first image is associated with the second interface of the second application, the first image and the first interface at least partially overlap, and the first image is at least partially transparent Or an image that is at least partially translucent.
  • the aforementioned first input may include an input for triggering the electronic device to display the first image.
  • the foregoing second input may be: the user clicks the input of the notification message of the second application, or the user clicks the input of the application icon of the second application, or the voice command input by the user, or the specific input by the user. Gestures can be set according to actual needs.
  • the aforementioned specific gesture may be any one of a single click gesture, a sliding gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double tap gesture, and the specific gesture can be set according to actual needs.
  • setting the first image to be transparent can reduce the occlusion of the content displayed on the first interface.
  • the electronic device reconfigures the above-mentioned first input used to trigger the display of the second interface of the second application, and is used to trigger the electronic device to display the first image.
  • the first image includes the text part in the second interface, and the background part of the second interface is hidden in the first image.
  • Fig. 4 is a schematic diagram of calling up the input method interface when the electronic device is displaying a video screen in full screen, where the image 40 in Fig. 4 is an image showing the content of the input method interface (That is, the above-mentioned first image).
  • the image 40 in Figure 4 only displays the text content in the input method interface (ie the second interface of the above-mentioned second application) and is used to display the input The border of the control button in the method interface, such as the button control border 41 in FIG. 4.
  • the image 40 in FIG. 4 does not display the background part of the input method interface 30 in FIG. 2.
  • the user can minimize the degree of influence on the user's viewing of the content on the first interface.
  • Step 303 In response to the user's second input of the first image, the electronic device executes the function corresponding to the target control on the second interface according to the mapping relationship between the first image and the second interface.
  • the above-mentioned second input may include: a click input of the user on the first image, or a voice command input by the user, or a specific gesture input by the user, which can be specifically set according to actual needs.
  • the existence of a mapping relationship between the first image and the second interface includes: a mapping relationship between the sub-areas in the first image and the sub-areas in the second interface.
  • the first image includes at least one first sub-area
  • the second interface includes at least one second sub-area
  • one first sub-area corresponds to a second sub-area, that is, each first sub-area in the first image
  • Each sub-area can find the corresponding mapping sub-area on the second interface.
  • the above-mentioned second input may be the user's second input to the first area in the first image. Furthermore, if there is a mapping relationship between the first area in the first image and the second area on the second interface, that is, the second area is a mapping area of the first area on the second interface, the electronic device executes the above The function corresponding to the second area.
  • the electronic device displays the number in the input box 42 of the input method interface "1".
  • the electronic device displays the first image with a preset transparency on the first interface of the first application, because the first image is associated with the second interface of the second application, and the first image There is a mapping relationship with the second interface. Therefore, when the electronic device receives the user's second input on the first image, it can map the second input to the target control of the second interface, so as to reach the user's second interface The same effect on the second input to the target control.
  • the electronic device may update the first image according to the real-time interface content of the second interface of the second application, that is, the content displayed on the first image is the second application of the second application.
  • the real-time interface content of the interface may be updated according to the real-time interface content of the second interface of the second application, that is, the content displayed on the first image is the second application of the second application.
  • the electronic device displays the first interface of the first application
  • the electronic device can display the second interface of the second application in the form of images (that is, with the second interface).
  • the first image associated with the second interface of the application is superimposed and displayed on the first interface of the first application according to the preset transparency, so that the user can view the interface content of the display interfaces of the two applications at the same time.
  • the electronic device may acquire the interface content of the second interface of the second application at a predetermined time interval to update the above-mentioned first image.
  • the electronic device can monitor in real time whether the interface content of the second interface of the second application changes, and update the above-mentioned first interface when the interface content of the second interface of the second application changes.
  • One image can be generated.
  • the position and size of the above-mentioned first image are consistent with the size and position of the second interface of the second application when displayed on the first interface.
  • the video playback interface of the "Video" APP as the first interface, as shown in Figure 4.
  • the user wants to send a video barrage in the video playback interface shown in Figure 4, the user can click on the video to play The barrage input box in the interface (that is, the above-mentioned first input) so as to display the image 40 shown in FIG. 4 on the video playing interface with a predetermined transparency.
  • Step 302a According to the color of the first content located in the target area in the first interface, display the second content located in the target area in the first image.
  • the above-mentioned target color value may be the average value of the color values of all pixels in the interface area; or, the color value of most of the pixels in the interface area (for example, more than 80%) When the color value is the same, the color value is used as the target color value.
  • the inverse color of any color can be calculated from the color value of that color. For example, if the rgb value of a certain pixel is (237, 28, 36), the rgb value of the inverse color of the pixel is (18, 227, 219), that is, the color value of any primary color of the pixel and the The sum of the color values of the inverse colors of the primary colors equals 255.
  • the electronic device sets the color of each area of the first image to the inverse color of the color of the area corresponding to the first interface, so that when the user displays the first image on the electronic device, the distinction between the first image and the first interface becomes more obvious.
  • the electronic device When the electronic device displays the first interface of the first application in full screen, in order to avoid the application installed in the electronic device from frequently sending pop-up message reminders, the electronic device can actively trigger the electronic device to superimpose and display the first interface on the first interface of the first application. image.
  • the user can actively trigger the electronic device to display the first image associated with the second interface of the second application on the first interface of the first application in step 302 when needed.
  • the electronic device does not receive the first input of the user, the first image is not displayed.
  • the electronic device displays the first interface of the first application on a full screen
  • the user can actively trigger the electronic device to display the first image on the first interface through a specific input.
  • the electronic device displays the first interface of the first application in full screen, after receiving the pop-up message of the second application, the electronic device can automatically display the first image associated with the second interface of the second application.
  • the electronic device may also perform the following step 302b:
  • the above-mentioned second application is an application in the electronic device whose security level meets a predetermined condition.
  • the second application security level meets the predetermined condition
  • the electronic device displays the first interface of the first application in full screen
  • the first image associated with the second interface of the second application may be displayed on the first interface with preset transparency .
  • the electronic device displays the first image associated with the interface of the SMS application on the video playback interface of the electronic device .
  • the first image contains the content of the short message reminded by the short message, and the user can turn the page through a sliding gesture (that is, the second input) operation on the first image, so that the user can browse all the content of the short message, that is, the electronic device receives
  • the sliding gesture input is mapped to the short message application, so that the electronic device displays the result of page turning of the short message content on the above first image.
  • the electronic device can automatically display the message content of the message reminder on the first interface of the first application after receiving the message reminder of the important application, preventing the user from omitting important information.
  • the user can operate with a specific gesture to make the electronic device display and display on the first interface with a preset transparency The first image associated with the interface of the input method.
  • step 302 may further include the following step 302c:
  • Step 302c When the electronic device displays the first interface of the first application in full screen, if the operation focus is in the text input box in the first interface, the electronic device displays the first image with a preset transparency on the first interface .
  • the target input box is in a state to be input.
  • the above-mentioned input cursor is used to indicate the input area of the target input box.
  • the above-mentioned input cursor is the input starting position of the target input box, and the first electronic device can automatically recognize the receiving position of the target content according to the above-mentioned input cursor.
  • the electronic device displays the first image associated with the second application on the first interface of the first application; if the user is in the above-mentioned operation focus When the pressing time is less than the threshold time, the electronic device displays the second interface of the second application on the first interface.
  • the user when a user watches a live broadcast on an electronic device and wants to send a bullet screen message for interaction, the user can short press (for example, a pressing time of less than 2 seconds) the text input box of the live broadcast interface, and the electronic device displays and The first image associated with the input method interface; when the user long presses (for example, a pressing time greater than or equal to 2 seconds) the text input box of the live interface, the electronic device displays the input method interface on the live interface.
  • a pressing time of less than 2 seconds for example, a pressing time of less than 2 seconds
  • the user when the user is using the electronic device for full-screen display, he can click the text input box in the first interface to make the electronic device display the input method according to actual needs (for example, when watching a video online and want to input a bullet screen)
  • the application interface of the application, or the first image associated with the input method application interface is convenient for the user to input text.
  • the electronic device displays the first image associated with the second interface with a preset transparency
  • the user wants to view the normal state of the second interface of the second application, he can input by a specific gesture to make the electronic device Switch between displaying the second interface and displaying the first image.
  • the method for controlling an electronic device provided in the embodiment of the present invention further includes the following steps 302d1 and 302d2:
  • Step 302d2. In response to the third input, the electronic device switches and displays the first image associated with the second interface of the second application as the second interface of the second application on the first interface of the first application.
  • the above-mentioned third input may include: a click input by the user on the display screen, or a voice command input by the user, or a specific gesture input by the user, which can be specifically set according to actual needs. It should be noted that the above-mentioned click input, voice command and specific gesture description are described in detail in this embodiment, and will not be repeated here.
  • the above-mentioned target floating control includes a first floating button control and a second floating button control, wherein the above-mentioned first floating button control is used to control the electronic device to have a preset transparency on the first interface of the first application.
  • the first image associated with the second interface of the second application is displayed, and the above-mentioned second floating button control is used to control the electronic device to display the second interface of the second application on the first interface.
  • the electronic device can be flexibly switched between the two display modes.
  • the electronic device when the electronic device displays the first interface of the first application in full screen, the first image associated with the second interface of the second application is displayed with a preset transparency.
  • the color of each area is set to be the inverse of the color of the corresponding area of the first interface, so that the user can conveniently operate the second application on the premise that the electronic device performs full-screen display and does not affect the user's viewing of the content displayed on the first interface. .
  • FIG. 6 is a schematic diagram of a possible structure for implementing an electronic device provided by an embodiment of the present invention.
  • the electronic device 600 includes a display module 601 and an execution module 602, wherein:
  • the execution module 602 is configured to respond to the user's second input to the first image displayed by the display module 601, and execute the function corresponding to the target control on the second interface according to the mapping relationship between the first image and the second interface; The position of the control on the second interface corresponds to the position of the second input on the first image.
  • the display color of the second content is an inverse color of the display color of the first content.
  • the electronic device displays the first image with a preset transparency on the first interface of the first application, because the first image is associated with the second interface of the second application, and the first image is connected to the second interface of the second application.
  • the interface has a mapping relationship. Therefore, when the electronic device receives the user's second input on the first image, it can map the second input to the target control of the second interface, so as to achieve the same goal as the user on the second interface.
  • the second input of the control has the same effect.
  • the electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components.
  • a radio frequency unit 101 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components.
  • the structure of the electronic device 100 shown in FIG. 7 does not constitute a limitation on the electronic device, and the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or Different component arrangements.
  • the electronic device 100 includes, but is not limited to, a mobile phone,
  • the electronic device displays the first image with a preset transparency on the first interface of the first application, because the first image is associated with the second interface of the second application, and the first image is connected to the second interface of the second application.
  • the interface has a mapping relationship. Therefore, when the electronic device receives the user's second input on the first image, it can map the second input to the target control of the second interface to achieve the same goal as the user on the second interface.
  • the second input of the control has the same effect.
  • the audio output unit 103 can convert the 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 it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, 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 audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the 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), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be combined.
  • the input and output functions of the electronic device 100 are realized by integration, which is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones, etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor 110.
  • the computer program implements the above electronic device when the computer program is executed by the processor.
  • Each process of the embodiment of the device control method can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
  • the embodiment of the present invention also provides a readable storage medium, and a computer program is stored on the readable storage medium.
  • a computer program is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiment.
  • the readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided in the embodiments of the present invention are a control method for an electronic device and an electronic device, which are applied to the technical field of communications. The method comprises: displaying a first interface of a first application; displaying a first image in response to a first input of a user, the first image being associated with a second interface of a second application, the first image at least partially overlapping with the first interface, and the first image being an at least partially transparent or at least partially translucent image; and in response to a second input by the user on the first image, executing a function corresponding to a target control on the second interface according to the mapping between the first image and the second interface, the position of the target control on the second interface corresponding to the position of the second input on the first image. The embodiments of the present invention are applied to a full-screen display scenario of an electronic device.

Description

电子设备的控制方法及电子设备Control method of electronic equipment and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年02月21日在中国提交的中国专利申请号No.202010107859.8的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010107859.8 filed in China on February 21, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种电子设备的控制方法及电子设备。The embodiment of the present invention relates to the field of communication technology, and in particular to a control method of an electronic device and an electronic device.
背景技术Background technique
随着电子设备技术的发展,用户使用电子设备进行娱乐活动(例如,看电影、玩游戏等)的频率越来越高。With the development of electronic device technology, users use electronic devices for entertainment activities (for example, watching movies, playing games, etc.) more and more frequently.
在相关技术中,电子设备在全屏显示第一应用时,若此时第二应用需要在电子设备的显示区域显示界面,则该第二应用的界面需要叠加显示在第一应用的界面上。例如,以游戏界面为例,当用户需要在游戏界面内容输入文字,则需要在游戏界面内容调出输入法界面。In the related art, when the electronic device displays the first application in full screen, if the second application needs to display an interface in the display area of the electronic device at this time, the interface of the second application needs to be superimposed and displayed on the interface of the first application. For example, taking a game interface as an example, when a user needs to input text in the content of the game interface, the input method interface needs to be called up in the content of the game interface.
此时,该输入法界面会叠加显示在游戏界面上,由于输入法界面区域较大,会遮挡住大部分游戏界面。At this time, the input method interface will be superimposed and displayed on the game interface. Since the input method interface area is large, most of the game interface will be blocked.
发明内容Summary of the invention
本发明实施例提供一种电子设备的控制方法及电子设备,以解决当用户在使用电子设备进行娱乐活动时,呼出的第三方应用程序占用屏幕过大的问题。The embodiments of the present invention provide a method for controlling an electronic device and an electronic device to solve the problem that when a user uses the electronic device for entertainment activities, the outgoing third-party application program occupies an excessively large screen.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本发明实施例提供一种电子设备的控制方法,该方法包括:显示第一应用的第一界面;响应用户的第一输入,显示第一图像,第一图像与第二应用的第二界面关联,第一图像与第一界面至少部分重叠,第一图像为至少部分透明或至少部分半透明的图像;响应用户对第一图像的第二输入,根据第一图像与第二界面的映射关系,执行与第二界面上的目标控件对应的功能;其中,目标控件在第二界面上的位置,与第二输入在第一图像上的位置相对应。In a first aspect, an embodiment of the present invention provides a method for controlling an electronic device. The method includes: displaying a first interface of a first application; The second interface is associated, the first image at least partially overlaps the first interface, and the first image is an at least partially transparent or at least partially translucent image; in response to the user's second input to the first image, according to the first image and the second interface The mapping relationship of, executes the function corresponding to the target control on the second interface; wherein, the position of the target control on the second interface corresponds to the position of the second input on the first image.
第二方面,本发明实施例还提供了一种电子设备,该电子设备包括显示模 块和执行模块;其中,显示模块,用于显示第一应用的第一界面;显示模块,还用于响应用户的第一输入,显示第一图像,第一图像与第二应用的第二界面关联,第一图像与第一界面至少部分重叠,第一图像为至少部分透明或至少部分半透明的图像;执行模块,用于响应用户对第一图像的第二输入,根据第一图像与第二界面的映射关系,执行与第二界面上的目标控件对应的功能;其中,目标控件在第二界面上的位置,与第二输入在第一图像上的位置相对应。In the second aspect, an embodiment of the present invention also provides an electronic device, which includes a display module and an execution module; wherein, the display module is used to display the first interface of the first application; the display module is also used to respond to the user The first input of, the first image is displayed, the first image is associated with the second interface of the second application, the first image and the first interface at least partially overlap, and the first image is an at least partially transparent or at least partially translucent image; execute The module is used to respond to the user's second input to the first image, and execute the function corresponding to the target control on the second interface according to the mapping relationship between the first image and the second interface; where the target control is on the second interface The position corresponds to the position of the second input on the first image.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的电子设备的控制方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor. The computer program is executed by the processor to achieve the following On the one hand, the steps of the control method of the electronic device.
第四方面,本发明实施例提供了一种可读存储介质,该可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的电子设备的控制方法的步骤。In a fourth aspect, an embodiment of the present invention provides a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for controlling an electronic device as described in the first aspect are implemented. .
在本发明实施例中,电子设备在第一应用的第一界面上以预设透明度显示第一图像,由于第一图像与第二应用的第二界面关联,并且第一图像与第二界面存在映射关系,因此,当电子设备接收到用户在第一图像上的第二输入后,可以将该第二输入映射至第二界面的目标控件上,达到与用户在第二界面上对目标控件的第二输入相同的效果。In the embodiment of the present invention, the electronic device displays the first image with a preset transparency on the first interface of the first application, because the first image is associated with the second interface of the second application, and the first image and the second interface exist Mapping relationship. Therefore, when the electronic device receives the second input of the user on the first image, it can map the second input to the target control on the second interface to achieve the same as the user’s control of the target control on the second interface. The same effect as the second input.
附图说明Description of the drawings
图1为本发明实施例提供的一种可能的安卓操作***的架构示意图;FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种页面显示所应用的界面的示意图之一;FIG. 2 is one of the schematic diagrams of an interface used for page display according to an embodiment of the present invention;
图3为本发明实施例提供的一种电子设备的控制方法流程示意图;FIG. 3 is a schematic flowchart of a method for controlling an electronic device according to an embodiment of the present invention;
图4为本发明实施例提供的一种页面显示所应用的界面的示意图之二;4 is a second schematic diagram of an interface used for page display according to an embodiment of the present invention;
图5为本发明实施例提供的一种页面显示所应用的界面的示意图之三;FIG. 5 is a third schematic diagram of an interface used for page display according to an embodiment of the present invention;
图6为本发明实施例提供的一种电子设备的结构示意图之一;FIG. 6 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention;
图7为本发明实施例提供的一种电子设备的结构示意图之二。FIG. 7 is the second structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部 的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。It should be noted that the "/" in this article means or, for example, A/B can mean A or B; the "and/or" in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean that: A alone exists, A and B exist at the same time, and B exists alone.
需要说明的是,本文中的“多个”是指两个或多于两个。It should be noted that the "plurality" in this article refers to two or more than two.
需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
需要说明的是,为了便于清楚描述本发明实施例的技术方案,在本发明实施例中,采用了“第一”、“第二”等字样对功能或作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。例如,第一应用和第二应用是用于区别不同的应用,而不是用于描述应用的特定顺序。It should be noted that, in order to facilitate the clear description of the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", etc. are used for the same or similar items with basically the same function or effect. Distinguishing, those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order. For example, the first application and the second application are used to distinguish different applications, rather than to describe a specific order of applications.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本发明实施例中的电子设备可以为移动终端设备,也可以为非移动终端设备。移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a mobile terminal device or a non-mobile terminal device. The mobile terminal device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA) The non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.; the embodiment of the present invention does not specifically limit it.
本发明实施例提供的电子设备的控制方法的执行主体可以为上述的电子设 备(包括移动终端设备和非移动终端设备),也可以为该电子设备中能够实现该电子设备的控制方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的电子设备的控制方法进行示例性的说明。The execution subject of the electronic device control method provided by the embodiment of the present invention may be the above-mentioned electronic device (including mobile terminal devices and non-mobile terminal devices), or may be a functional module in the electronic device that can implement the electronic device control method And/or functional entities can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention. In the following, an electronic device is taken as an example to illustrate the control method of the electronic device provided in the embodiment of the present invention.
本发明实施例中的电子设备可以为具有操作***的终端设备。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a terminal device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
下面以安卓操作***为例,介绍一下本发明实施例提供的电子设备的控制方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the control method of the electronic device provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的安卓操作***的架构示意图。在图1中,安卓操作***的架构包括4层,分别为:应用程序层、应用程序框架层、***运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In Figure 1, the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作***中的各个应用程序(包括***应用程序和第三方应用程序)。示例性的,应用程序层可以包括本发明实施例中第一应用和第二应用。需要说明的是,本发明实施例中的第一应用和第二应用可以为电子设备中安装的任一应用程序或功能应用,本发明实施例对此不作限定。例如,可以为第三方游戏应用程序,也可以为电子设备自带的输入法应用程序。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system. Exemplarily, the application layer may include the first application and the second application in the embodiment of the present invention. It should be noted that the first application and the second application in the embodiment of the present invention may be any application or functional application installed in the electronic device, which is not limited in the embodiment of the present invention. For example, it can be a third-party game application, or it can be an input method application that comes with the electronic device.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
通常,应用程序可以包括两部分,一部分是指运行在电子设备后台的服务(service),用于检测用户的输入,例如,检测用户的第一输入,另一部分是指显示在电子设备的屏幕上的内容,例如,在第一应用的第一界面上,显示第一图像。Generally, an application program can include two parts. One part refers to a service running in the background of an electronic device for detecting user input, for example, detecting the user's first input, and the other part refers to being displayed on the screen of the electronic device. For example, the first image is displayed on the first interface of the first application.
***运行库层包括库(也称为***库)和安卓操作***运行环境。库主要为安卓操作***提供其所需的各类资源。安卓操作***运行环境用于为安卓操作***提供软件环境。The system runtime layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作***的操作***层,属于安卓操作***软件层次的最底层。内核层基于Linux内核为安卓操作***提供核心***服务和与硬件相关的驱 动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作***为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作***的***架构,开发实现本发明实施例提供的电子设备的控制方法的软件程序,从而使得该电子设备的控制方法可以基于如图1所示的安卓操作***运行。即处理器或者电子设备可以通过在安卓操作***中运行该软件程序实现本发明实施例提供的电子设备的控制方法。Taking the Android operating system as an example, in this embodiment of the present invention, developers can develop software programs that implement the electronic device control method provided by the embodiment of the present invention based on the system architecture of the Android operating system shown in FIG. The control method of the electronic device can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the control method of the electronic device provided in the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例提供的电子设备的控制方法可以应用于电子设备需要显示多个应用程序的显示界面的场景中。例如,电子设备在全屏显示应用程序的游戏界面的情况下,或者,在全屏显示视频播放界面的情况下,需要显示输入法界面进行文字输入的场景。The method for controlling an electronic device provided by the embodiment of the present invention can be applied to a scenario where the electronic device needs to display display interfaces of multiple application programs. For example, when the electronic device displays the game interface of the application in full screen, or when the video playback interface is displayed in full screen, it needs to display the scene of input method interface for text input.
以“视频”应用程序(application,APP)的视频播放界面为例,当用户想要在电子设备全屏显示视频播放界面时,发送视频弹幕。在相关技术中,如图2所示,电子设备可以点击视频播放界面的文本输入框,从而触发电子设备在视频播放界面上叠加显示图2所示的输入法界面30,此时,该输入法界面30遮挡了视频播放界面的大部分区域,导致用户无法正常观看视频。在本发明实施例中,电子设备可以在全屏显示视频播放界面的情况下,在视频播放界面上以预定透明度叠加显示第一图像,其中,第一图像与第二应用的第二界面关联,因此,当电子设备接收到用户对该第一图像的第二输入后,电子设备可以根据该第一图像与第二界面间的映射关系,执行第二应用的相应功能,从而能够在不影响用户观看体验的情况下,实现文字输入,提高人机交互性能。Taking the video playback interface of the "video" application (application, APP) as an example, when the user wants to display the video playback interface on the full screen of the electronic device, a video barrage is sent. In the related art, as shown in FIG. 2, the electronic device can click the text input box of the video playback interface to trigger the electronic device to superimpose and display the input method interface 30 shown in FIG. 2 on the video playback interface. At this time, the input method The interface 30 occludes most areas of the video playback interface, resulting in users unable to watch the video normally. In the embodiment of the present invention, the electronic device may display the first image on the video playback interface with a predetermined transparency when the video playback interface is displayed in full screen, wherein the first image is associated with the second interface of the second application, so After the electronic device receives the user's second input to the first image, the electronic device can execute the corresponding function of the second application according to the mapping relationship between the first image and the second interface, so as to be able to not affect the user's viewing In the case of experience, text input is realized and human-computer interaction performance is improved.
下面具体结合各个相关附图对本发明实施例提供的图像处理方法进行示例性的说明。Hereinafter, the image processing method provided by the embodiment of the present invention will be exemplarily described in detail with reference to various relevant drawings.
如图3所示,本发明实施例提供的一种电子设备的控制方法,该方法可以包括下述的步骤301至步骤303:As shown in FIG. 3, an electronic device control method provided in an embodiment of the present invention may include the following steps 301 to 303:
步骤301、电子设备显示第一应用的第一界面。Step 301: The electronic device displays the first interface of the first application.
步骤302、电子设备响应用户的第一输入,显示第一图像,其中,第一图像与第二应用的第二界面关联,第一图像与第一界面至少部分重叠,第一图像为至少部分透明或至少部分半透明的图像。Step 302: The electronic device displays a first image in response to the user's first input, where the first image is associated with the second interface of the second application, the first image and the first interface at least partially overlap, and the first image is at least partially transparent Or an image that is at least partially translucent.
示例性的,上述的第一输入可以包括用于触发电子设备显示第一图像的输入。Exemplarily, the aforementioned first input may include an input for triggering the electronic device to display the first image.
示例性的,上述第二输入可以为:用户点击第二应用的通知消息的输入,或者,用户点击第二应用的应用程序图标的输入,或者,用户输入的语音指令,或者,用户输入的特定手势,具体的可以根据实际需求设定。Exemplarily, the foregoing second input may be: the user clicks the input of the notification message of the second application, or the user clicks the input of the application icon of the second application, or the voice command input by the user, or the specific input by the user. Gestures can be set according to actual needs.
其中,上述的特定手势可以为单击手势、滑动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种,具体的可以根据实际需求设定。Among them, the aforementioned specific gesture may be any one of a single click gesture, a sliding gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double tap gesture, and the specific gesture can be set according to actual needs.
示例性的,由于上述第一图像与上述第一界面至少部分重叠,因此,将上述第一图像设置为透明,可以减少对上述第一界面上显示内容的遮挡。Exemplarily, since the first image is at least partially overlapped with the first interface, setting the first image to be transparent can reduce the occlusion of the content displayed on the first interface.
示例性的,电子设备将上述用于触发显示第二应用的第二界面的第一输入进行重配置,并用于触发电子设备显示第一图像。Exemplarily, the electronic device reconfigures the above-mentioned first input used to trigger the display of the second interface of the second application, and is used to trigger the electronic device to display the first image.
举例说明,上述第一输入在重配置之前,用于触发电子设备显示第二应用的第二界面,在对第一输入进行重配置后,上述第一输入不再触发电子设备显示第二应用的第二界面,而是用于触发电子设备显示第一图像。For example, before the reconfiguration, the first input is used to trigger the electronic device to display the second interface of the second application. After the first input is reconfigured, the first input no longer triggers the electronic device to display the second application. The second interface is used to trigger the electronic device to display the first image.
可选地,在本发明实施例中,上述第一图像中包含上述第二界面中的文字部分,且上述第一图像中隐藏上述第二界面的背景部分。Optionally, in the embodiment of the present invention, the first image includes the text part in the second interface, and the background part of the second interface is hidden in the first image.
示例性的,上述第一图像用于显示第二应用的第二界面上显示的内容,区别在于,第一图像并非显示上述第二界面上的所有内容,而是显示上述第二界面上的文字部分内容,以及其他具有提示功能的内容,例如,用于指示按钮控件可点击范围的边框等内容。并且,上述第一图像并不显示上述第二界面的背景部分。Exemplarily, the first image is used to display the content displayed on the second interface of the second application. The difference is that the first image does not display all the content on the second interface, but displays the text on the second interface. Part of the content, and other content with a prompt function, for example, a border that indicates the clickable range of a button control. In addition, the first image does not display the background part of the second interface.
举例说明,结合图2,如图4所示,图4为电子设备在全屏显示视频画面时,调出输入法界面的示意图,其中,图4中图像40为显示有输入法界面内容的图像(即上述第一图像),与图2中的输入法界面30相比,图4中图像40只显示输入法界面(即上述第二应用的第二界面)中的文字内容,以及用于显示输入法界面中控件按钮的边框,例如图4中的按钮控件边框41。与图2相比,图4中图像40并未显示图2中输入法界面30的背景部分。For example, in conjunction with Fig. 2, as shown in Fig. 4, Fig. 4 is a schematic diagram of calling up the input method interface when the electronic device is displaying a video screen in full screen, where the image 40 in Fig. 4 is an image showing the content of the input method interface ( That is, the above-mentioned first image). Compared with the input method interface 30 in Figure 2, the image 40 in Figure 4 only displays the text content in the input method interface (ie the second interface of the above-mentioned second application) and is used to display the input The border of the control button in the method interface, such as the button control border 41 in FIG. 4. Compared with FIG. 2, the image 40 in FIG. 4 does not display the background part of the input method interface 30 in FIG. 2.
如此,可以使得用户在识别出第二应用的第二界面内容的同时,最大限度的降低对用户观看第一界面上内容的影响程度。In this way, while recognizing the content of the second interface of the second application, the user can minimize the degree of influence on the user's viewing of the content on the first interface.
步骤303、电子设备响应用户对第一图像的第二输入,根据第一图像与第二界面的映射关系,执行与第二界面上的目标控件对应的功能。Step 303: In response to the user's second input of the first image, the electronic device executes the function corresponding to the target control on the second interface according to the mapping relationship between the first image and the second interface.
其中,上述目标控件在第二界面上的位置,与上述第二输入在第一图像上的位置相对应。Wherein, the position of the target control on the second interface corresponds to the position of the second input on the first image.
示例性的,上述第二输入可以包括:用户对第一图像的点击输入,或者是用户输入的语音指令,或者是用户输入的特定手势,具体的可以根据实际需求设定。Exemplarily, the above-mentioned second input may include: a click input of the user on the first image, or a voice command input by the user, or a specific gesture input by the user, which can be specifically set according to actual needs.
示例性的,上述第一图像与上述第二界面存在映射关系,包括:上述第一图像中的子区域与第二界面中的子区域间存在映射关系。示例性的,上述第一图像包括至少一个第一子区域,上述第二界面包括至少一个第二子区域,一个第一子区域对应一个第二子区域,即上述第一图像中的每个第一子区域均可在第二界面上找到对应的映射子区域。Exemplarily, the existence of a mapping relationship between the first image and the second interface includes: a mapping relationship between the sub-areas in the first image and the sub-areas in the second interface. Exemplarily, the first image includes at least one first sub-area, the second interface includes at least one second sub-area, and one first sub-area corresponds to a second sub-area, that is, each first sub-area in the first image Each sub-area can find the corresponding mapping sub-area on the second interface.
在一种示例中,假设上述第二输入可以为用户对第一图像中的第一区域的第二输入。则进一步的,若第一图像中的第一区域与第二界面上的第二区域间存在映射关系,即上述第二区域为第一区域在第二界面上的映射区域,则电子设备执行上述第二区域对应的功能。In an example, it is assumed that the above-mentioned second input may be the user's second input to the first area in the first image. Furthermore, if there is a mapping relationship between the first area in the first image and the second area on the second interface, that is, the second area is a mapping area of the first area on the second interface, the electronic device executes the above The function corresponding to the second area.
可选地,在本发明实施例中,电子设备可以根据第二输入在第一图像上的触控位置的位置信息,来确定第二输入在第二界面上的映射区域。同时,根据第二输入的输入类型(例如,点击输入、滑动输入、短按压输入、长按压输入等),确定执行该映射区域对应的与该输入类型匹配的功能。Optionally, in this embodiment of the present invention, the electronic device may determine the mapping area of the second input on the second interface according to the position information of the touch position of the second input on the first image. At the same time, according to the input type of the second input (for example, click input, sliding input, short press input, long press input, etc.), it is determined to execute the function corresponding to the mapping area that matches the input type.
示例性的,结合图4,当用户点击图像40中的数字“1”的图案(即上述第二输入,如图4中的41)时,电子设备在输入法界面的输入框42内显示数字“1”。Exemplarily, in conjunction with FIG. 4, when the user clicks the pattern of the number "1" in the image 40 (that is, the second input, 41 in FIG. 4), the electronic device displays the number in the input box 42 of the input method interface "1".
本发明实施例提供的电子设备的控制方法,电子设备在第一应用的第一界面上以预设透明度显示第一图像,由于第一图像与第二应用的第二界面关联,并且第一图像与第二界面存在映射关系,因此,当电子设备接收到用户在第一图像上的第二输入后,可以将该第二输入映射至第二界面的目标控件上,达到 与用户在第二界面上对目标控件的第二输入相同的效果。In the method for controlling an electronic device provided by an embodiment of the present invention, the electronic device displays the first image with a preset transparency on the first interface of the first application, because the first image is associated with the second interface of the second application, and the first image There is a mapping relationship with the second interface. Therefore, when the electronic device receives the user's second input on the first image, it can map the second input to the target control of the second interface, so as to reach the user's second interface The same effect on the second input to the target control.
可选地,在本发明实施例中,电子设备可以按照第二应用的第二界面的实时界面内容更新上述第一图像,即上述的第一图像上显示的内容为上述第二应用的第二界面的实时界面内容。Optionally, in the embodiment of the present invention, the electronic device may update the first image according to the real-time interface content of the second interface of the second application, that is, the content displayed on the first image is the second application of the second application. The real-time interface content of the interface.
可以理解,电子设备在显示第一应用的第一界面后,若想要显示第二应用的第二界面,则电子设备可以将上述第二应用的第二界面以图像的形式(即与第二应用的第二界面关联的第一图像),按照预设透明度叠加显示在第一应用的第一界面上,从而能够使得用户能够同时查看到两个应用的显示界面的界面内容。It can be understood that after the electronic device displays the first interface of the first application, if it wants to display the second interface of the second application, the electronic device can display the second interface of the second application in the form of images (that is, with the second interface). The first image associated with the second interface of the application) is superimposed and displayed on the first interface of the first application according to the preset transparency, so that the user can view the interface content of the display interfaces of the two applications at the same time.
进一步可选地,在本发明实施例中,为了节省电子设备的处理负荷,电子设备可以按照预定时间间隔来获取第二应用的第二界面的界面内容,以更新上述第一图像。Further optionally, in the embodiment of the present invention, in order to save the processing load of the electronic device, the electronic device may acquire the interface content of the second interface of the second application at a predetermined time interval to update the above-mentioned first image.
进一步可选地,在本发明实施例中,电子设备可以实时监测第二应用的第二界面的界面内容是否发生变化,并在第二应用的第二界面的界面内容发生变化时,更新上述第一图像。Further optionally, in the embodiment of the present invention, the electronic device can monitor in real time whether the interface content of the second interface of the second application changes, and update the above-mentioned first interface when the interface content of the second interface of the second application changes. One image.
可选地,在本发明实施例中,上述第一图像的位置和大小,与该第二应用的第二界面在第一界面上显示时的大小和位置一致。Optionally, in this embodiment of the present invention, the position and size of the above-mentioned first image are consistent with the size and position of the second interface of the second application when displayed on the first interface.
举例说明,以第一界面为“视频”APP的视频播放界面为例,如图4所示,当用户想要在图4所示的视频播放界面内发送视频弹幕时,用户可以点击视频播放界面中的弹幕输入框(即上述第一输入),从而以预定透明度在视频播放界面上显示图4所示的图像40。For example, take the video playback interface of the "Video" APP as the first interface, as shown in Figure 4. When the user wants to send a video barrage in the video playback interface shown in Figure 4, the user can click on the video to play The barrage input box in the interface (that is, the above-mentioned first input) so as to display the image 40 shown in FIG. 4 on the video playing interface with a predetermined transparency.
可选地,在本发明实施例中,由于上述第一图像为透明图像,因此,为了增加用户对第一图像上内容的识别容易程度,上述步骤302中的显示第一图像,可以按照以下步骤302a所示的方法进行显示:Optionally, in the embodiment of the present invention, since the above-mentioned first image is a transparent image, in order to increase the user’s ease of recognizing the content on the first image, the first image displayed in the above step 302 can be performed according to the following steps Display the method shown in 302a:
步骤302a、根据第一界面中位于目标区域的第一内容的颜色,对上述第一图像中位于目标区域的第二内容,进行显示。Step 302a: According to the color of the first content located in the target area in the first interface, display the second content located in the target area in the first image.
其中,所述目标区域为所述第一界面与所述第一图像重叠的区域。Wherein, the target area is an area where the first interface and the first image overlap.
示例性的,上述第一界面中的目标区域与上述第一图像中的目标区域为电 子设备屏幕上同一区域。Exemplarily, the target area in the first interface and the target area in the first image are the same area on the screen of the electronic device.
示例性的,上述第一内容为第二界面在目标区域的显示内容,上述第二内容为上述第一图像在目标区域的显示内容。电子设备根据上述第一内容的颜色,来确定第二内容的颜色。Exemplarily, the first content is the display content of the second interface in the target area, and the second content is the display content of the first image in the target area. The electronic device determines the color of the second content according to the color of the first content.
例如,如图5所示,图5中输入法界面50内显示有符号“+”51,此时在符号“+”51的所在区域,电子设备播放的视频内容颜色为黑色,则电子设备将上述符号“+”51的颜色设置为白色。For example, as shown in Figure 5, the input method interface 50 in Figure 5 displays the symbol "+" 51. At this time, in the area where the symbol "+" 51 is located, the color of the video content played by the electronic device is black, and the electronic device will The color of the above symbol "+" 51 is set to white.
进一步可选地,本发明实施例中,上述第二内容的显示颜色为上述第一内容的显示颜色的反色。Further optionally, in this embodiment of the present invention, the display color of the second content is the inverse of the display color of the first content.
示例性的,电子设备在第一应用的第一界面上显示第一图像之前,按照第二应用的第二界面的界面内容对第一图像进行区域划分,得到多个图像分区。针对任一图像分区,电子设备会获取上述任一图像分区所覆盖的第一界面的界面区域内的目标色彩值,然后,将该任一图像分区内的图像色彩值设置为该目标色彩值对应颜色的反色的色彩值。Exemplarily, before displaying the first image on the first interface of the first application, the electronic device divides the first image into regions according to the interface content of the second interface of the second application to obtain multiple image partitions. For any image partition, the electronic device obtains the target color value in the interface area of the first interface covered by any of the above-mentioned image partitions, and then sets the image color value in any image partition to correspond to the target color value The color value of the inverse color of the color.
在一种示例中,上述的目标色彩值可以为该界面区域内所有像素点的色彩值的平均值;或者,在该界面区域内的大部分像素点(如,80%以上)的色彩值为相同色彩值时,则将该色彩值作为目标色彩值。In an example, the above-mentioned target color value may be the average value of the color values of all pixels in the interface area; or, the color value of most of the pixels in the interface area (for example, more than 80%) When the color value is the same, the color value is used as the target color value.
应注意的是,任一颜色的反色可以通过该颜色的色彩值计算得到。例如,若某一像素点的rgb值为(237,28,36),则该像素点的反色的rgb值为(18,227,219),即像素点的任一基色的色彩值与该基色的反色的色彩值相加等于255。It should be noted that the inverse color of any color can be calculated from the color value of that color. For example, if the rgb value of a certain pixel is (237, 28, 36), the rgb value of the inverse color of the pixel is (18, 227, 219), that is, the color value of any primary color of the pixel and the The sum of the color values of the inverse colors of the primary colors equals 255.
如此,电子设备通过将第一图像各个区域的颜色设置成与第一界面对应区域颜色的反色,使得用户在电子设备显示第一图像时,第一图像与第一界面的区分更加明显。In this way, the electronic device sets the color of each area of the first image to the inverse color of the color of the area corresponding to the first interface, so that when the user displays the first image on the electronic device, the distinction between the first image and the first interface becomes more obvious.
可选地,在本发明实施例中,本发明实施例提供的方案至少可以应用于以下两个场景中。Optionally, in the embodiment of the present invention, the solution provided in the embodiment of the present invention can be applied to at least the following two scenarios.
在第一种可能的场景中:In the first possible scenario:
在电子设备全屏显示第一应用的第一界面时,为了避免电子设备中安装的 应用频繁的发送弹窗消息提醒,电子设备可以主动触发电子设备在第一应用的第一界面上叠加显示第一图像。When the electronic device displays the first interface of the first application in full screen, in order to avoid the application installed in the electronic device from frequently sending pop-up message reminders, the electronic device can actively trigger the electronic device to superimpose and display the first interface on the first interface of the first application. image.
在一种示例中,用户可以在需要时主动触发电子设备以上述步骤302在第一应用的第一界面上显示与第二应用的第二界面关联的第一图像。In an example, the user can actively trigger the electronic device to display the first image associated with the second interface of the second application on the first interface of the first application in step 302 when needed.
示例性的,若电子设备没有接收到用户的第一输入,则不显示第一图像。Exemplarily, if the electronic device does not receive the first input of the user, the first image is not displayed.
举例说明,当用户使用电子设备在线观看视频时,通过输入语音指令,使电子设备在聊天应用中与指定好友用户发送消息,并将该聊天应用中与该好友用户的聊天界面关联的第一图像,显示在电子设备播放视频的界面上。For example, when a user uses an electronic device to watch a video online, by inputting a voice command, the electronic device sends a message to a designated friend user in a chat application, and associates the first image in the chat application with the chat interface of the friend user , Displayed on the interface of the electronic device to play the video.
如此,在电子设备全屏显示第一应用的第一界面的情况下,用户可以通过特定输入,主动触发电子设备在第一界面上显示第一图像。In this way, when the electronic device displays the first interface of the first application on a full screen, the user can actively trigger the electronic device to display the first image on the first interface through a specific input.
在第二种可能的场景中:In the second possible scenario:
在电子设备全屏显示第一应用的第一界面的情况下,电子设备接收到第二应用的弹窗消息后,可以自动显示与第二应用的第二界面关联的第一图像。When the electronic device displays the first interface of the first application in full screen, after receiving the pop-up message of the second application, the electronic device can automatically display the first image associated with the second interface of the second application.
示例性的,在上述步骤302之前,本发明实施例中,电子设备还可以执行以下步骤302b:Exemplarily, before the above step 302, in the embodiment of the present invention, the electronic device may also perform the following step 302b:
步骤302b、电子设备在接收第二应用的第一消息后,在第一界面上,以预设透明度显示第一图像。Step 302b: After receiving the first message of the second application, the electronic device displays the first image with a preset transparency on the first interface.
示例性的,上述的第二应用为电子设备中安全等级满足预定条件的应用程序。当第二应用安全等级满足预定条件时,电子设备在全屏显示第一应用的第一界面时,可以在第一界面上,以预设透明度显示与第二应用的第二界面关联的第一图像。Exemplarily, the above-mentioned second application is an application in the electronic device whose security level meets a predetermined condition. When the second application security level meets the predetermined condition, when the electronic device displays the first interface of the first application in full screen, the first image associated with the second interface of the second application may be displayed on the first interface with preset transparency .
示例性的,上述第二应用可以为:短信应用、银行应用以及社交应用等与用户社交、财产关系密切的应用。Exemplarily, the above-mentioned second application may be: a short message application, a banking application, a social application, and other applications that are closely related to the user's social interaction and property.
举例说明,当用户使用电子设备全屏显示视频播放界面时,电子设备接收到短信应用的短信提醒,则电子设备将与该短信应用的界面关联的第一图像,显示在电子设备的视频播放界面上。其中,该第一图像包含上述短信提醒的短信内容,用户可以在该第一图像上通过滑动手势(即上述第二输入)操作进行翻页,使得用户可以浏览全部短信内容,即,电子设备接收到用户在上述第一 图像上的滑动手势输入后,将该滑动手势输入映射至短信应用,以使得电子设备将短信内容翻页的结果,显示在上述第一图像上。For example, when the user uses the electronic device to display the video playback interface in full screen, and the electronic device receives the SMS reminder of the SMS application, the electronic device displays the first image associated with the interface of the SMS application on the video playback interface of the electronic device . Wherein, the first image contains the content of the short message reminded by the short message, and the user can turn the page through a sliding gesture (that is, the second input) operation on the first image, so that the user can browse all the content of the short message, that is, the electronic device receives After the user's sliding gesture input on the above first image, the sliding gesture input is mapped to the short message application, so that the electronic device displays the result of page turning of the short message content on the above first image.
如此,当用户使用电子设备全屏显示时,电子设备可以在接收到重要应用的消息提醒后,自动在第一应用的第一界面上显示该消息提醒的消息内容,防止用户遗漏重要信息。In this way, when the user uses the electronic device for full-screen display, the electronic device can automatically display the message content of the message reminder on the first interface of the first application after receiving the message reminder of the important application, preventing the user from omitting important information.
可选地,以第二应用为输入法为例,在电子设备全屏显示第一应用的第一界面时,用户可以通过特定手势操作,使得电子设备在第一界面上,以预设透明度显示与输入法的界面关联的第一图像。Optionally, taking the second application as the input method as an example, when the electronic device displays the first interface of the first application in full screen, the user can operate with a specific gesture to make the electronic device display and display on the first interface with a preset transparency The first image associated with the interface of the input method.
示例性的,上述步骤302还可以包括以下步骤302c:Exemplarily, the foregoing step 302 may further include the following step 302c:
步骤302c、在电子设备全屏显示第一应用的第一界面的情况下,若操作焦点处于第一界面中的文本输入框内,则电子设备在第一界面上,以预设透明度显示第一图像。Step 302c: When the electronic device displays the first interface of the first application in full screen, if the operation focus is in the text input box in the first interface, the electronic device displays the first image with a preset transparency on the first interface .
其中,第二应用的第二界面为文本输入界面。Wherein, the second interface of the second application is a text input interface.
示例性的,在上述电子设备的第一应用的第一界面中显示目标输入框的情况下,电子设备可以通过判定目标输入框中是否存在输入光标,来确定在目标输入框当前是否具有操作焦点。若存在,则确定上述目标输入框包含上述操作焦点,若不存在,则上述目标输入框未包含上述操作焦点。Exemplarily, in the case where the target input box is displayed in the first interface of the first application of the above electronic device, the electronic device may determine whether the target input box currently has an operation focus by determining whether there is an input cursor in the target input box . If it exists, it is determined that the target input box includes the operation focus, and if it does not exist, the target input box does not include the operation focus.
示例性的,若操作焦点在上述目标输入框中,则上述目标输入框处于待输入状态。Exemplarily, if the operation focus is on the target input box, the target input box is in a state to be input.
示例性的,上述输入光标用于指示目标输入框的输入区域。上述的输入光标为目标输入框的输入起始位置,第一电子设备可以根据上述输入光标自动识别目标内容的接收位置。Exemplarily, the above-mentioned input cursor is used to indicate the input area of the target input box. The above-mentioned input cursor is the input starting position of the target input box, and the first electronic device can automatically recognize the receiving position of the target content according to the above-mentioned input cursor.
示例性的,若用户在上述操作焦点的按压时间大于或等于阈值时间,则电子设备在第一应用的第一界面上,显示与第二应用关联的第一图像;若用户在上述操作焦点的按压时间小于阈值时间,则电子设备在第一界面上,显示第二应用的第二界面。Exemplarily, if the pressing time of the user in the above-mentioned operation focus is greater than or equal to the threshold time, the electronic device displays the first image associated with the second application on the first interface of the first application; if the user is in the above-mentioned operation focus When the pressing time is less than the threshold time, the electronic device displays the second interface of the second application on the first interface.
例如,用户在电子设备上观看直播,想要发送弹幕消息进行互动时,用户可以短按(例如,小于2秒的按压时间)直播界面的文本输入框,则电子设备 在直播界面上显示与输入法界面关联的第一图像;当用户长按(例如,大于或等于2秒的按压时间)直播界面的文本输入框,则电子设备在直播界面上显示输入法界面。For example, when a user watches a live broadcast on an electronic device and wants to send a bullet screen message for interaction, the user can short press (for example, a pressing time of less than 2 seconds) the text input box of the live broadcast interface, and the electronic device displays and The first image associated with the input method interface; when the user long presses (for example, a pressing time greater than or equal to 2 seconds) the text input box of the live interface, the electronic device displays the input method interface on the live interface.
如此,当用户在使用电子设备进行全屏显示时,可根据实际需求(例如,在线观看视频时,想要输入弹幕),通过点击第一界面中的文本输入框,使电子设备显示出输入法应用的应用界面,或者输入法应用界面关联的第一图像,方便用户进行文字输入。In this way, when the user is using the electronic device for full-screen display, he can click the text input box in the first interface to make the electronic device display the input method according to actual needs (for example, when watching a video online and want to input a bullet screen) The application interface of the application, or the first image associated with the input method application interface, is convenient for the user to input text.
可选地,在电子设备以预设透明度显示与第二界面关联的第一图像的情况下,若用户想要查看第二应用的第二界面的正常状态,可以通过特定手势输入,使得电子设备在显示第二界面和显示第一图像两种显示方式之间切换。Optionally, in the case that the electronic device displays the first image associated with the second interface with a preset transparency, if the user wants to view the normal state of the second interface of the second application, he can input by a specific gesture to make the electronic device Switch between displaying the second interface and displaying the first image.
示例性的,在上述步骤302之后,本发明实施例提供的电子设备的控制方法还包括以下步骤302d1和步骤302d2:Exemplarily, after the above step 302, the method for controlling an electronic device provided in the embodiment of the present invention further includes the following steps 302d1 and 302d2:
步骤302d1、电子设备接收用户的第三输入。Step 302d1. The electronic device receives the third input of the user.
步骤302d2、响应该第三输入,电子设备在第一应用的第一界面上,将与第二应用的第二界面关联的第一图像切换显示为第二应用的第二界面。Step 302d2. In response to the third input, the electronic device switches and displays the first image associated with the second interface of the second application as the second interface of the second application on the first interface of the first application.
示例性的,上述第三输入可以包括:用户在显示屏上的点击输入,或者是用户输入的语音指令,或者是用户输入的特定手势,具体的可以根据实际需求设定。需要说明的是,对上述点击输入、语音指令以及特定手势描述,本实施例以进行过详细描述,在此不再赘述。Exemplarily, the above-mentioned third input may include: a click input by the user on the display screen, or a voice command input by the user, or a specific gesture input by the user, which can be specifically set according to actual needs. It should be noted that the above-mentioned click input, voice command and specific gesture description are described in detail in this embodiment, and will not be repeated here.
示例性的,电子设备的显示屏上显示目标悬浮控件。其中,上述目标悬浮控件用于控制电子设备切换显示第二界面和与第二界面关联的第一图像。Exemplarily, the target floating control is displayed on the display screen of the electronic device. Wherein, the above-mentioned target floating control is used to control the electronic device to switch and display the second interface and the first image associated with the second interface.
在一种示例中,上述的目标悬浮控件包括第一悬浮按钮控件和第二悬浮按钮控件,其中,上述第一悬浮按钮控件用于控制电子设备在第一应用的第一界面上以预设透明度显示与第二应用的第二界面关联的第一图像,上述第二悬浮按钮控件用于控制电子设备在第一界面上显示第二应用的第二界面。In an example, the above-mentioned target floating control includes a first floating button control and a second floating button control, wherein the above-mentioned first floating button control is used to control the electronic device to have a preset transparency on the first interface of the first application. The first image associated with the second interface of the second application is displayed, and the above-mentioned second floating button control is used to control the electronic device to display the second interface of the second application on the first interface.
如此,使得用户可以在某些特殊的情况下,例如,第一界面的颜色过于复杂,看不清楚第一图像上显示的内容,可以使电子设备在两种显示方式之间灵活切换。In this way, under certain special circumstances, for example, the color of the first interface is too complicated, and the content displayed on the first image cannot be seen clearly, the electronic device can be flexibly switched between the two display modes.
本发明实施例提供的电子设备的控制方法,在电子设备全屏显示第一应用的第一界面时,以预设透明度显示与第二应用的第二界面关联的第一图像,通过将第一图像各个区域的颜色设置成与第一界面对应区域颜色的反色的方式,在电子设备进行全屏显示,且不影响用户观看第一界面显示内容的前提下,使用户方便的对第二应用进行操作。In the method for controlling an electronic device provided by an embodiment of the present invention, when the electronic device displays the first interface of the first application in full screen, the first image associated with the second interface of the second application is displayed with a preset transparency. The color of each area is set to be the inverse of the color of the corresponding area of the first interface, so that the user can conveniently operate the second application on the premise that the electronic device performs full-screen display and does not affect the user's viewing of the content displayed on the first interface. .
需要说明的是,本发明实施例中,上述各个方法附图所示的电子设备的控制方法均是以结合本发明实施例中的一个附图为例示例性的说明的。具体实现时,上述各个方法附图所示的电子设备的控制方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiment of the present invention, the control method of the electronic device shown in each of the above method drawings is exemplarily described in conjunction with a drawing in the embodiment of the present invention. In specific implementation, the control method of the electronic device shown in the figures of the above methods can also be implemented in combination with any other figures that can be combined as illustrated in the above embodiments, and will not be repeated here.
图6为实现本发明实施例提供的一种电子设备的可能的结构示意图,如图6所示,电子设备600包括:显示模块601和执行模块602,其中:FIG. 6 is a schematic diagram of a possible structure for implementing an electronic device provided by an embodiment of the present invention. As shown in FIG. 6, the electronic device 600 includes a display module 601 and an execution module 602, wherein:
显示模块601,用于显示第一应用的第一界面。显示模块601,还用于响应用户的第一输入,显示第一图像,第一图像与第二应用的第二界面关联,第一图像与第一界面至少部分重叠,第一图像为至少部分透明或至少部分半透明的图像。The display module 601 is used to display the first interface of the first application. The display module 601 is further configured to display a first image in response to a user's first input. The first image is associated with the second interface of the second application, the first image is at least partially overlapped with the first interface, and the first image is at least partially transparent. Or an image that is at least partially translucent.
执行模块602,用于响应用户对显示模块601显示的第一图像的第二输入,根据第一图像与第二界面的映射关系,执行与第二界面上的目标控件对应的功能;其中,目标控件在第二界面上的位置,与第二输入在第一图像上的位置相对应。The execution module 602 is configured to respond to the user's second input to the first image displayed by the display module 601, and execute the function corresponding to the target control on the second interface according to the mapping relationship between the first image and the second interface; The position of the control on the second interface corresponds to the position of the second input on the first image.
可选地,上述第一图像中包含上述第二界面中的文字部分,且上述第一图像中隐藏上述第二界面的背景部分。Optionally, the first image includes the text part in the second interface, and the background part of the second interface is hidden in the first image.
可选地,显示模块601,具体于根据上述第一界面中位于目标区域的第一内容的颜色,对第一图像中位于目标区域的第二内容,进行显示;其中,上述目标区域为第一界面与第一图像重叠的区域。Optionally, the display module 601 is specifically configured to display the second content in the target area in the first image according to the color of the first content in the target area in the first interface; wherein, the target area is the first The area where the interface overlaps the first image.
可选地,上述第二内容的显示颜色为上述第一内容的显示颜色的反色。Optionally, the display color of the second content is an inverse color of the display color of the first content.
本发明实施例提供的电子设备,电子设备在第一应用的第一界面上以预设透明度显示第一图像,由于第一图像与第二应用的第二界面关联,并且第一图像与第二界面存在映射关系,因此,当电子设备接收到用户在第一图像上的第 二输入后,可以将该第二输入映射至第二界面的目标控件上,达到与用户在第二界面上对目标控件的第二输入相同的效果。According to the electronic device provided by the embodiment of the present invention, the electronic device displays the first image with a preset transparency on the first interface of the first application, because the first image is associated with the second interface of the second application, and the first image is connected to the second interface of the second application. The interface has a mapping relationship. Therefore, when the electronic device receives the user's second input on the first image, it can map the second input to the target control of the second interface, so as to achieve the same goal as the user on the second interface. The second input of the control has the same effect.
本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
图7为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图7中示出的电子设备100的结构并不构成对电子设备的限定,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备100包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。7 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention. The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device 100 shown in FIG. 7 does not constitute a limitation on the electronic device, and the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or Different component arrangements. In the embodiment of the present invention, the electronic device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, and a pedometer.
其中,用户输入单元107,用于接收用户的第一输入和第二输入;处理器110,用于响应于在用户输入单元107接收到用户的第一输入后,显示第一图像。处理器110,还用于在用户输入单元107接收到用户对第一图像的第二输入后,根据第一图像与第二界面的映射关系,执行与第二界面上的目标控件对应的功能。The user input unit 107 is configured to receive the first input and the second input of the user; the processor 110 is configured to display the first image in response to the user input unit 107 receiving the first input of the user. The processor 110 is further configured to perform a function corresponding to the target control on the second interface according to the mapping relationship between the first image and the second interface after the user input unit 107 receives the second input of the user to the first image.
本发明实施例提供的电子设备,电子设备在第一应用的第一界面上以预设透明度显示第一图像,由于第一图像与第二应用的第二界面关联,并且第一图像与第二界面存在映射关系,因此,当电子设备接收到用户在第一图像上的第二输入后,可以将该第二输入映射至第二界面的目标控件上,达到与用户在第二界面上对目标控件的第二输入相同的效果。According to the electronic device provided by the embodiment of the present invention, the electronic device displays the first image with a preset transparency on the first interface of the first application, because the first image is associated with the second interface of the second application, and the first image is connected to the second interface of the second application. The interface has a mapping relationship. Therefore, when the electronic device receives the user's second input on the first image, it can map the second input to the target control of the second interface to achieve the same goal as the user on the second interface. The second input of the control has the same effect.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信***与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the 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 the network and other devices through a wireless communication system.
电子设备100通过网络模块102为用户提供了无线的宽带互联网访问,如 帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device 100 provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the 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 it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the 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), etc.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设 备100的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 can 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 100. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图7中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备100的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备100的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 7, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be combined. The input and output functions of the electronic device 100 are realized by integration, which is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(Input/Output,I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所 需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones, etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是电子设备100的控制中心,利用各种接口和线路连接整个电子设备100的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备100的各种功能和处理数据,从而对电子设备100进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device 100. It uses various interfaces and lines to connect the various parts of the entire electronic device 100, runs or executes software programs and/or modules stored in the memory 109, and calls and stores them in the memory 109. , Execute various functions of the electronic device 100 and process data, so as to monitor the electronic device 100 as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理***与处理器110逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
可选地,本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器执行时实现上述电子设备的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor 110. The computer program implements the above electronic device when the computer program is executed by the processor. Each process of the embodiment of the device control method can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
本发明实施例还提供一种可读存储介质,可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述电子设备的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述的可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a readable storage medium, and a computer program is stored on the readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned electronic device control method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the processor is the processor in the electronic device described in the foregoing embodiment. The readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装 置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.

Claims (12)

  1. 一种电子设备的控制方法,其中,应用于电子设备,所述方法包括:A control method of an electronic device, wherein, applied to an electronic device, the method includes:
    显示第一应用的第一界面;Display the first interface of the first application;
    响应用户的第一输入,显示第一图像,所述第一图像与第二应用的第二界面关联,所述第一图像与所述第一界面至少部分重叠,所述第一图像为至少部分透明或至少部分半透明的图像;In response to the first input of the user, a first image is displayed, the first image is associated with the second interface of the second application, the first image is at least partially overlapped with the first interface, and the first image is at least partially Transparent or at least partially translucent images;
    响应用户对所述第一图像的第二输入,根据所述第一图像与所述第二界面的映射关系,执行与所述第二界面上的目标控件对应的功能;In response to the user's second input to the first image, execute a function corresponding to the target control on the second interface according to the mapping relationship between the first image and the second interface;
    其中,所述目标控件在所述第二界面上的位置,与所述第二输入在所述第一图像上的位置相对应。Wherein, the position of the target control on the second interface corresponds to the position of the second input on the first image.
  2. 根据权利要求1所述的方法,其中,所述第一图像中包含所述第二界面中的文字部分,且所述第一图像中隐藏所述第二界面的背景部分。The method according to claim 1, wherein the first image includes a text part in the second interface, and the background part of the second interface is hidden in the first image.
  3. 根据权利要求1或2所述的方法,其中,所述显示第一图像,包括:根据所述第一界面中位于目标区域的第一内容的颜色,对所述第一图像中位于所述目标区域的第二内容,进行显示;The method according to claim 1 or 2, wherein the displaying the first image comprises: according to the color of the first content located in the target area in the first interface, comparing the color of the first content located in the target area in the first image; The second content of the area is displayed;
    其中,所述目标区域为所述第一界面与所述第一图像重叠的区域。Wherein, the target area is an area where the first interface and the first image overlap.
  4. 根据权利要求3所述的方法,其中,所述第二内容的显示颜色为所述第一内容的显示颜色的反色。The method according to claim 3, wherein the display color of the second content is the inverse of the display color of the first content.
  5. 一种电子设备,其中,所述电子设备包括显示模块和执行模块;An electronic device, wherein the electronic device includes a display module and an execution module;
    所述显示模块,用于显示第一应用的第一界面;The display module is used to display the first interface of the first application;
    所述显示模块,还用于响应用户的第一输入,显示第一图像,所述第一图像与第二应用的第二界面关联,所述第一图像与所述第一界面至少部分重叠,所述第一图像为至少部分透明或至少部分半透明的图像;The display module is further configured to display a first image in response to a user's first input, the first image being associated with a second interface of a second application, and the first image and the first interface at least partially overlapping, The first image is an image that is at least partially transparent or at least partially translucent;
    所述执行模块,用于响应用户对所述显示模块显示的所述第一图像的第二输入,根据所述第一图像与所述第二界面的映射关系,执行与所述第二界面上的目标控件对应的功能;The execution module is configured to respond to a user's second input to the first image displayed by the display module, and execute a connection with the second interface according to the mapping relationship between the first image and the second interface. The corresponding function of the target control;
    其中,所述目标控件在所述第二界面上的位置,与所述第二输入在所述第一图像上的位置相对应。Wherein, the position of the target control on the second interface corresponds to the position of the second input on the first image.
  6. 根据权利要求5所述的电子设备,其中,所述第一图像中包含所述第二 界面中的文字部分,且所述第一图像中隐藏所述第二界面的背景部分。The electronic device according to claim 5, wherein the first image includes a text part in the second interface, and the background part of the second interface is hidden in the first image.
  7. 根据权利要求5或6所述的电子设备,其中,The electronic device according to claim 5 or 6, wherein:
    所述显示模块,具体用于根据所述第一界面中位于目标区域的第一内容的颜色,对所述第一图像中位于所述目标区域的第二内容,进行显示;The display module is specifically configured to display the second content in the target area in the first image according to the color of the first content in the target area in the first interface;
    其中,所述目标区域为所述第一界面与所述第一图像重叠的区域。Wherein, the target area is an area where the first interface and the first image overlap.
  8. 根据权利要求7所述的电子设备,其中,所述第二内容的显示颜色为所述第一内容的显示颜色的反色。8. The electronic device according to claim 7, wherein the display color of the second content is the inverse of the display color of the first content.
  9. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至4中任一项所述的方法的步骤。An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to implement any of claims 1 to 4 One of the steps of the method described.
  10. 一种可读存储介质,其中,所述可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的方法的步骤。A readable storage medium, wherein a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are realized.
  11. 一种计算机程序产品,其中,所述程序产品被至少一个处理器执行以实现如权利要求1至4中任一项所述的方法。A computer program product, wherein the program product is executed by at least one processor to implement the method according to any one of claims 1 to 4.
  12. 一种电子设备的控制装置,其中,包括所述装置被配置成用于执行如权利要求1至4中任一项所述的方法。A control device for electronic equipment, wherein the device is configured to execute the method according to any one of claims 1 to 4.
PCT/CN2021/076883 2020-02-21 2021-02-19 Control method for electronic device and electronic device WO2021164739A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010107859.8A CN111338525A (en) 2020-02-21 2020-02-21 Control method of electronic equipment and electronic equipment
CN202010107859.8 2020-02-21

Publications (1)

Publication Number Publication Date
WO2021164739A1 true WO2021164739A1 (en) 2021-08-26

Family

ID=71183962

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/076883 WO2021164739A1 (en) 2020-02-21 2021-02-19 Control method for electronic device and electronic device

Country Status (2)

Country Link
CN (1) CN111338525A (en)
WO (1) WO2021164739A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245159A (en) * 2021-12-10 2022-03-25 武汉斗鱼鱼乐网络科技有限公司 Live broadcast platform switch data pushing method, storage medium, electronic device and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338525A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment
CN116886809B (en) * 2023-09-04 2023-12-12 北京珞安科技有限责任公司 Display method and system of intelligent terminal

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200847002A (en) * 2007-02-14 2008-12-01 Ibm Methods and arrangements to manage transparent windows
CN101477792A (en) * 2009-01-21 2009-07-08 深圳华为通信技术有限公司 Method for displaying overlapped pattern on the background picture and display apparatus thereof
US20110107212A1 (en) * 2009-11-05 2011-05-05 Pantech Co., Ltd. Terminal and method for providing see-through input
CN102419691A (en) * 2011-11-18 2012-04-18 聂清永 Method and device for displaying symbol identifier on virtual keyboard
CN104321719A (en) * 2012-04-04 2015-01-28 徐舟兴 Method for displaying keypad for smart device
CN104407763A (en) * 2014-10-27 2015-03-11 百度在线网络技术(北京)有限公司 Content input method and system
EP2854013A1 (en) * 2013-09-30 2015-04-01 Samsung Electronics Co., Ltd Method for displaying in electronic device and electronic device thereof
CN104620199A (en) * 2012-09-14 2015-05-13 日本电气方案创新株式会社 Input display control device, thin client system, input display control method, and recording medium
CN105027060A (en) * 2013-12-13 2015-11-04 Lg电子株式会社 Electronic device and method of controlling the same
CN105630281A (en) * 2014-11-21 2016-06-01 Lg电子株式会社 Mobile terminal and control method thereof
CN111338525A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156617A (en) * 2011-05-25 2011-08-17 冠捷显示科技(厦门)有限公司 Method for displaying hollow multimedia menu
US9355472B2 (en) * 2013-03-15 2016-05-31 Apple Inc. Device, method, and graphical user interface for adjusting the appearance of a control
KR20160097393A (en) * 2013-06-07 2016-08-18 삼성전자주식회사 Method for invoking program and electronic device therof
CN108874481A (en) * 2018-05-30 2018-11-23 北京小米移动软件有限公司 Handle the method and device of suspended window
CN109885224A (en) * 2019-02-26 2019-06-14 努比亚技术有限公司 Interface of input method display methods, storage medium and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200847002A (en) * 2007-02-14 2008-12-01 Ibm Methods and arrangements to manage transparent windows
CN101477792A (en) * 2009-01-21 2009-07-08 深圳华为通信技术有限公司 Method for displaying overlapped pattern on the background picture and display apparatus thereof
US20110107212A1 (en) * 2009-11-05 2011-05-05 Pantech Co., Ltd. Terminal and method for providing see-through input
CN102419691A (en) * 2011-11-18 2012-04-18 聂清永 Method and device for displaying symbol identifier on virtual keyboard
CN104321719A (en) * 2012-04-04 2015-01-28 徐舟兴 Method for displaying keypad for smart device
CN104620199A (en) * 2012-09-14 2015-05-13 日本电气方案创新株式会社 Input display control device, thin client system, input display control method, and recording medium
EP2854013A1 (en) * 2013-09-30 2015-04-01 Samsung Electronics Co., Ltd Method for displaying in electronic device and electronic device thereof
CN105027060A (en) * 2013-12-13 2015-11-04 Lg电子株式会社 Electronic device and method of controlling the same
CN104407763A (en) * 2014-10-27 2015-03-11 百度在线网络技术(北京)有限公司 Content input method and system
CN105630281A (en) * 2014-11-21 2016-06-01 Lg电子株式会社 Mobile terminal and control method thereof
CN111338525A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245159A (en) * 2021-12-10 2022-03-25 武汉斗鱼鱼乐网络科技有限公司 Live broadcast platform switch data pushing method, storage medium, electronic device and system

Also Published As

Publication number Publication date
CN111338525A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
US11210049B2 (en) Display control method and terminal
US11243653B2 (en) Method for display control and mobile terminal
WO2020233285A1 (en) Message display method and terminal device
WO2020186945A1 (en) Interface display method and terminal device
WO2021164739A1 (en) Control method for electronic device and electronic device
KR102554191B1 (en) Information processing method and terminal
US20200280628A1 (en) Method for prompting notification message and mobile terminal
WO2020258934A1 (en) Interface display method and terminal device
US11838438B2 (en) Message viewing method and terminal
CN108712577B (en) Call mode switching method and terminal equipment
WO2020156120A1 (en) Notification message display method and mobile terminal
WO2021115278A1 (en) Group management method and electronic device
WO2019196864A1 (en) Control method for virtual button and mobile terminal
WO2021083256A1 (en) Touch-control response method and electronic device
WO2020220873A1 (en) Image display method and terminal device
WO2020057257A1 (en) Application interface switching method and mobile terminal
WO2021031717A1 (en) Screen capturing method and terminal device
US20230025276A1 (en) Information display method, electronic device, and storage medium
WO2020211612A1 (en) Information display method and terminal device
US20220329741A1 (en) Camera start method and electronic device
CN110865745A (en) Screen capturing method and terminal equipment
WO2021057290A1 (en) Information control method and electronic device
WO2021129537A1 (en) Method for controlling electronic device and electronic device
WO2020192297A1 (en) Screen interface switching method and terminal device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21756364

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21756364

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21756364

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28/02/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21756364

Country of ref document: EP

Kind code of ref document: A1