WO2023025184A1 - Interface element control method and apparatus, electronic device and storage medium - Google Patents

Interface element control method and apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2023025184A1
WO2023025184A1 PCT/CN2022/114455 CN2022114455W WO2023025184A1 WO 2023025184 A1 WO2023025184 A1 WO 2023025184A1 CN 2022114455 W CN2022114455 W CN 2022114455W WO 2023025184 A1 WO2023025184 A1 WO 2023025184A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
clarity
elements
display interface
degree
Prior art date
Application number
PCT/CN2022/114455
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 WO2023025184A1 publication Critical patent/WO2023025184A1/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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present application relates to the technical field of electronic equipment, in particular to a method and device for controlling interface elements, electronic equipment, and a storage medium.
  • a portable electronic device such as a mobile phone
  • a touch screen to facilitate user touch operations.
  • users can use external keyboards, mice, handles, etc. to implement operations and control based on mobile phones. Farther than touch operation.
  • a method and device for controlling interface elements, an electronic device, and a storage medium When the input source of the electronic device is a non-touch screen input device, the clarity of elements in the display interface is improved, so that users can see the information in the interface clearly.
  • a method for controlling interface elements which is used in electronic devices.
  • the method includes: obtaining an input method; when the input method is a non-touch screen input device as the input source, making at least some elements in the current display interface Display at the first level of clarity; when the input mode is the touch screen as the input source, at least some elements in the current display interface are displayed at the second level of clarity, the first level of clarity is higher than the second level of clarity.
  • the input source of the electronic device is a non-touch screen input device, improve the clarity of the elements in the display interface, so that when the user uses a non-touch screen input device for input and is far away from the electronic device, it can still You can see the information on the display interface clearly.
  • the process of displaying at least some elements in the current display interface with the first degree of clarity includes: when the input is acquired , to determine the source of the current input.
  • the current input source is a non-touch screen input device
  • at least some elements in the current display interface are displayed with the first degree of clarity
  • the input method is a touch screen as the input source
  • the process of displaying at least part of the elements in the current display interface with a second degree of clarity includes: when the input is obtained, determining the source of the current input, and when the source of the current input is a touch screen, making at least part of the elements in the current display interface Some elements are displayed at a second clarity level.
  • the process of displaying at least some elements in the current display interface with a first degree of clarity includes: when connected to a non-touch screen When using the touch screen as the input device, at least some elements in the current display interface are displayed with the first clarity; when the input method is the touch screen as the input source, at least some elements in the current display interface are displayed with the second clarity
  • the process of level display includes: when the non-touch screen input device is not connected, at least some elements in the current display interface are displayed at the second level of clarity.
  • the process of displaying at least some elements in the current display interface with the first degree of clarity includes: when the non-touch display When the screen input device is used as the device to be input, at least some elements in the current display interface are displayed with the first degree of clarity; when the input method is a touch screen as the input source, at least some elements in the current display interface are displayed with the first degree
  • the process of displaying at the second level of clarity includes: when the touch screen is used as the device to be input, at least some elements in the current display interface are displayed at the second level of clarity.
  • the first clarity level is higher than the second clarity level includes one or any combination of the following items: the text size at the first clarity level is larger than the text size at the second clarity level, the first clarity level
  • the text font in the first definition is thicker than the text in the second definition
  • the control pattern size in the first definition is larger than the control pattern size in the second definition
  • the control pattern line in the first definition is larger than that in the second definition.
  • the line of the control pattern in the second definition is thicker, and the color of the element in the first definition is darker than that in the second definition.
  • the process of displaying at least some elements in the current display interface with the first degree of clarity when the input mode is a non-touch display screen input device as the input source it further includes: when Reduces the clarity of at least some elements of the currently displayed interface when a non-touch display input device is disconnected. If the non-touch screen input device used for input is disconnected from the electronic device, it means that the user switches to a handheld electronic device for touch operation, that is, the distance between the user and the electronic device is relatively short, so the control makes the display interface The sharpness of at least some elements of the is reduced to accommodate the user's closer viewing.
  • the process of reducing the clarity of at least some elements in the current display interface includes: when the non-touch screen input device is disconnected , at least part of the elements in the current display interface are displayed with the second degree of clarity.
  • the non-touch display input device includes a keyboard, a mouse, a tablet, a handle, a microphone, and a camera.
  • the process of displaying at least some elements in the current display interface with the first degree of clarity includes: the current input source is When an external keyboard is connected, at least some elements in the current display interface are displayed with the first degree of clarity.
  • the input from the external keyboard is acquired as an opportunity to trigger the improvement of the clarity of the element, it can be more accurately determined that the user is far away from the electronic device.
  • the process of displaying at least some elements in the current display interface with a first degree of clarity includes: the source of the current input is an external microphone, And when the electronic device is in a non-handheld state, at least some elements in the current display interface are displayed with a first degree of clarity. At the same time, it is determined that the source of the current input is an external microphone, and the electronic device is in a non-handheld state. It can be more accurately determined that the user is performing voice input through the external microphone at a distance from the electronic device, so the clarity of the elements in the control display interface is improved. To be suitable for users to watch from a long distance.
  • the non-handheld state is a static state.
  • the electronic device is a screen projection source device, and the screen projection source device is connected to the screen projection device through communication, and the current display interface of the screen projection source device is projected and displayed on the screen projection window of the screen projection device middle.
  • screen projection it can be determined that when the user's viewing distance is relatively long, the clarity of elements can be improved so that the user can watch from a long distance.
  • the screen projection window of the screen projection device Size and resolution are unchanged.
  • an interface element control device for electronic equipment, and the device includes: an acquisition module for acquiring an input mode; a display module for when the input mode is a non-touch screen input device as the input source to display at least some elements in the current display interface with a first clarity; the display module is also used to display at least some elements in the current display interface with a second clarity when the input method is a touch screen as the input source
  • the degree shows that the first degree of clarity is higher than the second degree of clarity.
  • an interface element control device including: a processor and a memory, the memory is used to store at least one instruction, and when the instruction is executed by the processor, the interface element control device implements the above interface element control method.
  • an electronic device including a touch display screen, and the interface element control device of the second aspect or the third aspect.
  • a computer-readable storage medium is provided.
  • a computer program is stored in the computer-readable storage medium.
  • the computer is made to execute the above interface element control method.
  • FIG. 1 is a schematic diagram of a state when a user performs a touch operation based on an electronic device
  • FIG. 2 is a schematic diagram of the state when the user performs keyboard operations based on the electronic device
  • FIG. 3 is a structural block diagram of an electronic device in an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for controlling interface elements in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a display interface of an electronic device in different states in an embodiment of the present application.
  • Fig. 6a is a schematic flowchart of another interface element control method in the embodiment of the present application.
  • Fig. 6b is a schematic flowchart of another interface element control method in the embodiment of the present application.
  • FIG. 7 is a schematic diagram of a display interface of a screen projection device and a screen projection source device in a state in an embodiment of the present application;
  • FIG. 8 is a schematic diagram of a display interface of a screen projection device and a screen projection source device in another state in an embodiment of the present application;
  • FIG. 9 is a schematic flowchart of another interface element control method in the embodiment of the present application.
  • FIG. 3 shows a schematic structural diagram of the electronic device 100.
  • the electronic device 100 may include a processor 110, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 2, a wireless communication module 160, a sensor module 180, and a button 190 , display screen 194 and so on.
  • the sensor module 180 may include a touch sensor 180K and the like.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • Part of the wireless communication functions of the electronic device 100 can be realized by the antenna 2, the wireless communication module 160 and the like.
  • Antenna 2 is used for transmitting and receiving electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation on it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the display screen 194 in the embodiment of the present application is a touch display screen.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the embodiment of the present application provides a method for controlling interface elements, which is used in an electronic device.
  • the electronic device may be, for example, the above-mentioned electronic device 100.
  • the initial display interface 10 of the electronic device 100 is shown on the left side of FIG. 5 It shows that the elements in the display interface 10 have an initial degree of clarity, and the initial degree of clarity is suitable for the viewing distance of the user during touch operation.
  • the method includes:
  • Step 101 obtaining the input method
  • Step 1021 determine the source of the input in the input mode, and when the input mode is a non-touch screen input device as the source of the input, go to step 1022, make at least some elements in the current display interface 10 displayed with the first degree of clarity, when When the input mode is the touch screen as the input source, enter step 1023 to display at least some elements in the current display interface 10 with the second clarity level, and the first clarity level is higher than the second clarity level.
  • the input methods in the embodiments of the present application include text input methods and command input methods.
  • the default input method is a touch screen display.
  • the electronic device is a mobile phone
  • the user can hold the mobile phone
  • the input is realized through the touch screen of the mobile phone, that is, the input method is the touch screen as the source of input.
  • the display interface 10 on the left side of FIG. 5 will be displayed, and the elements in the display interface 10 have initial clarity degree, even if at least some elements in the current display interface 10 are displayed with the second degree of clarity; and when the input method of the mobile phone is a non-touch screen input device (not shown in FIG.
  • the input mode can be considered as non- The touch screen input device is used as the source of input. In this scenario, the user will most likely use a non-handheld mobile phone and place the mobile phone at a far distance for input.
  • elements with improved clarity include audio input controls, text input controls, pull-up controls, picture controls, expression controls, return controls, text, and cursors.
  • the degree of clarity in this embodiment of the present application refers to the degree of clarity of the image seen by the human eye macroscopically. Improving the clarity of elements can include, for example, increasing the pattern size of elements, making the pattern lines of elements thicker, or making the pattern Color deepening etc.
  • the clarity of the elements in the display interface is improved, so that the user can use the non-touch display input device to perform When the input is far away from the electronic device, the information in the display interface can still be seen clearly.
  • step 1021 is to determine the input source in the input mode.
  • enter step 1022 to make the current The process of displaying at least some elements in the display interface 10 with a first degree of clarity includes:
  • Step 10211 When the input is obtained, determine the source of the current input. If the source of the current input is a non-touch screen input device, go to Step 1022. Make at least some elements in the current display interface 10 be displayed with the first degree of clarity. The state where at least some elements in the display interface 10 are displayed with the first degree of clarity is shown on the right side of FIG. 5 ;
  • step 1021 determine the source of the input in the input mode.
  • the input mode is the touch screen as the source of the input
  • enter step 1023 and the process of displaying at least some elements in the current display interface 10 with the second degree of clarity includes:
  • Step 10211 When the input is obtained, determine the source of the current input. When the source of the current input is a touch screen, go to step 1023. Make at least some elements in the current display interface 10 be displayed with the second degree of clarity, and the display interface 10 The state in which at least some of the elements in are displayed at the second level of clarity is shown on the left side of FIG. 5 .
  • the display interface 10 on the left side of FIG. The device is viewed at a relatively close distance, and when the electronic device 100 is connected to a Bluetooth keyboard, the user will place the electronic device 100 at a position far from the eyes. At this time, if the user enters text content through the Bluetooth keyboard, it will be judged in step 1021
  • the source of the current input is an external bluetooth keyboard, rather than a touch operation from the touch screen. At this time, it will enter step 1022 to improve the clarity of at least some elements in the current display interface 10, with the first clarity Displaying, displaying the display interface 10 on the right side in FIG.
  • step 1022 and step 1023 you can enter step 101 or step 10211 to continuously detect the source of the input.
  • the input is obtained as a trigger to enter step 1022 , it can be more accurately determined that the user is far away from the electronic device 100 , so as to adjust the clarity of elements based on the distance between the user and the electronic device 100 more accurately.
  • the process of entering step 1022 and displaying at least some elements in the current display interface 10 with a first degree of clarity includes: the current input
  • the source of the source is an external keyboard, go to step 1022 to display at least some elements in the current display interface 10 with the first clarity.
  • the input from the external keyboard is acquired as the trigger to enter step 1022, it can be more accurately determined that the user is far away from the electronic device 100, and when the input from the keyboard is received, it can be determined that the user is in the non-handheld electronic
  • the state of the device 100, and an external keyboard is being used for input, so the distance between the user and the electronic device 100 must be relatively long, so it is triggered to increase the clarity of the elements in the display interface 10, and the elements are displayed with the first clarity, so that the user can
  • the information on the display interface 10 can be seen clearly at a position far from the electronic device 100 .
  • the first clarity level is higher than the second clarity level includes one or any combination of the following items: the text size at the first clarity level is larger than the text size at the second clarity level, the first clarity level
  • the text font in the first definition is thicker than the text in the second definition
  • the control pattern size in the first definition is larger than the control pattern size in the second definition
  • the control pattern line in the first definition is larger than that in the second definition.
  • the line of the control pattern in the second definition is thicker, and the color of the element in the first definition is darker than that in the second definition.
  • the elements in the display interface 10 include controls and text, and information can be embodied through the controls and text.
  • the pattern display area of an element is positively correlated with the clarity of the element. The larger the pattern display area, the higher the clarity and the easier it is to see clearly. The smaller the pattern display area, the lower the clarity and the less easy it is. see clearly.
  • increasing the size of the pattern and thickening the lines of the pattern can increase the display area of the pattern, which can improve the clarity, so that the control can be easily seen by the user at a longer distance, such as icon options and other interface information.
  • the size of the font size is positively related to the display area of the text.
  • the thickness of the text font is related to the display area of the text.
  • the display area of the text in the bold font is larger, and the display area of the text in the non-bold font is smaller.
  • the text here may include fixed text matched with controls in the display interface 10, or may include text used for input.
  • the font size of the text displayed by the user input is [small]
  • the characters that the user has input and continues to input are all displayed in [ ⁇ ] font size.
  • the color depth of an element is related to the clarity of the element. The darker the element, the higher the clarity, and the lighter the element, the lower the clarity.
  • step 1022 and step 1023 the embodiments of the present application do not limit which elements have their clarity changed and which elements have their clarity unchanged. Specifically, settings can be made as needed to change the clarity of elements. Take the size as an example.
  • the current display interface 10 includes a message board interface and a system information bar of a social application, which can be set to change the size of all elements in the message board interface and keep the size of all elements in the system information bar unchanged;
  • the size of all elements in the current display interface 10 can be set to change, including the message board interface and the system information column; in addition, the size of the elements can be changed without distinguishing between applications, that is, for any application or system application to display
  • the size of elements therein will increase based on the input of the non-touch display screen input device. For example, even if the user switches to display other applications, or switches to return to the system desktop, the size of the display will increase Larger interface elements for easier viewing by the user.
  • step 1022 improving the clarity of at least some elements in the current display interface 10
  • the non-touch screen input device used for input is disconnected from the electronic device 100, it means that the user may switch to the short-distance interaction method of the handheld electronic device 100.
  • the touch operation is obtained, Even if the electronic device 100 is still connected to the Bluetooth keyboard, it still means that the user switches to the handheld electronic device 100 for touch operation, that is, the distance between the user and the electronic device 100 is relatively short, so the control makes at least some elements in the display interface 10
  • the degree of clarity is reduced to adapt to the user's viewing at a closer distance, for example, as shown in Figure 6b, when the non-touch display input device is disconnected, the process of reducing the clarity of at least some elements in the current display interface 10 Including: when the non-touch screen input device is disconnected, enter step 1023, and at least some elements in the current display interface 10 are displayed with the second degree of clarity; when the non-touch screen input device is not disconnected , you can go to step 101 or step 10211 to continue monitoring the input source.
  • step 1022 the display interface 10 on the right side in FIG. Large size display, so that part of the text in the display interface 10 is displayed in a larger font size, and part of the text is displayed in a bold font. Afterwards, if the non-touch display input device is disconnected, the display interface 10 is restored to that shown in Figure 5 In the display interface 10 shown on the left side, that is, the size of the control, the font size and the font of the text are restored to display at the second level of clarity.
  • the interface element control method will be described through a specific embodiment below in conjunction with Fig. 5 and Fig. 6b.
  • the non-touch display input device is an external keyboard.
  • the monitoring interface judges whether the current input is from an external keyboard. When a key event is detected, it means that the input from the external keyboard has been received, and then enter step 1022.
  • step 1022 first obtain all view container views in the page, and traverse each view For the controls in , set the font of each control to the font corresponding to the first clarity level.
  • the controls include button controls and text controls.
  • the text of the button control is fixed text, and the text of the text control is the text entered by the user.
  • the display interface 10 "Message Board” in the text is the text of the button control
  • "Enter” is the text of the text control
  • the font of the text on the left in Figure 5 is the font corresponding to the second clarity level
  • the font of the text on the right in Figure 5 is the first clarity
  • the font corresponding to the level, the font corresponding to the first level of clarity is larger than the font corresponding to the second level of clarity, or relatively bold, for the button control, after changing to a larger or relatively bold font, the control itself
  • the pattern will change adaptively and become larger in size, that is, the size of the control pattern corresponding to the first clarity level is larger than the size of the control pattern corresponding to the second clarity level, and the font corresponding to the first clarity level and the font corresponding to the second clarity level It can be the system default setting, or it can be adjusted based on the user's preset settings.
  • the display at the second clarity level means that at least some elements in the current display interface 10 are displayed in a smaller size corresponding to the second clarity level.
  • the system When the user interacts with an item in the display interface 10 through a touch event to trigger the view container View with a registered listener, the system will call the callback method provided by the event listener interface in the View class, and on the one hand trigger the system to execute Touch operation, on the other hand, triggers at least some elements in the current display interface 10 to be displayed with the second degree of clarity, for example, first obtain all views in the page, traverse the controls in each view, and set the font of each control to the second For the font corresponding to the second clarity level, the size of the control will also be adaptively adjusted and set to the size corresponding to the second clarity level due to the change of the font.
  • the user finishes inputting text content through the bluetooth keyboard connected to the electronic device 100
  • the user disconnects the bluetooth keyboard it means that the user has finished inputting in a state far away from the electronic device 100, and may continue to pick up the electronic device 100 to watch , so that the elements in the display interface 10 are restored to the size corresponding to the second degree of clarity that is convenient for close viewing
  • a touch operation is detected, that is When it is determined that the source of the current input is the touch display screen, it means that the user may pick up the electronic device 100 to operate, and the distance from the electronic device 100 is relatively close, so the elements in the display interface 10 are restored to the second level of clarity that is convenient for close viewing. size of.
  • the non-touch display input device includes a keyboard, a mouse, a tablet, a handle, a microphone, and a camera.
  • the input from the keyboard may be, for example, text input through the keyboard, or shortcut key instructions input through keyboard operations.
  • the input from the mouse may be, for example, a pointer movement operation or a click operation of the mouse.
  • the keyboard in this embodiment of the application refers to a physical keyboard.
  • the input from the microphone may be, for example, voice input text or voice commands.
  • the input from the camera can be, for example, text or instructions input through gesture recognition.
  • the microphone and camera here may be an external microphone and camera, or may be a built-in microphone and camera of the electronic device.
  • the above-mentioned step 1021 is to determine the source of the input in the input mode.
  • the input mode is a non-touch screen input device as the source of the input, go to step 1022 to make at least one of the current display interface 10
  • the process of displaying some elements with the first degree of clarity includes: when connected to a non-touch screen input device, at least some elements in the current display interface 10 are displayed with the first degree of clarity; the above step 1021, determine the input method in the input mode source, when the input mode is the touch screen as the source of input, enter step 1023, and the process of displaying at least some elements in the current display interface 10 with the second degree of clarity includes: when not connected to a non-touch screen When the device is input, at least part of the elements in the current display interface 10 are displayed with the second degree of clarity.
  • the non-touch screen input device is a handle
  • the electronic device 100 when the electronic device 100 is not connected to an external non-touch screen input device, it can be considered by default that the user will use the touch screen as the source of input, so at least some elements in the current display interface 10 are displayed in the second clarity level display; and when the electronic device 100 is connected to the handle, it can be considered that the user will use the handle to operate instead of holding the electronic device 100 to operate, so the distance from the electronic device 100 can trigger the size of at least some elements in the display interface 10 to become larger, That is, it is displayed with the first degree of clarity, so that the user can clearly see the information in the display interface 10 at a position far from the electronic device 100 .
  • the above-mentioned step 1021 is to determine the source of the input in the input mode.
  • the input mode is a non-touch screen input device as the source of the input
  • the process of displaying some elements with the first degree of clarity includes: when the non-touch screen input device is used as the device to be input, at least some elements in the current display interface 10 are displayed with the first degree of clarity; the above step 1021, determine the input method
  • the source of the input, when the input mode is the touch screen as the source of the input, enter step 1023, and the process of displaying at least some elements in the current display interface 10 with the second degree of clarity includes: when the touch screen is used as the source of the input When the device is input, at least part of the elements in the current display interface 10 are displayed with the second degree of clarity.
  • the input device of the non-touch display screen is a microphone.
  • the touch display screen is used as the device to be input, so that at least some elements in the display interface 10 are displayed with the second degree of clarity, and when the input mode is switched When it is in the voice input mode, it will switch to the microphone as the device to be input. Therefore, when switching to the voice input mode, it can be triggered to increase the clarity of the elements in the display interface 10 and display them with the first clarity.
  • the electronic device 100 is a screen projection source device, and the screen projection source device is connected to the screen projection device 200 through communication, and the current display interface of the screen projection source device is 10
  • the screen projection is displayed in the screen projection window 20 of the screen projection device 200.
  • the display content in the screen projection window 20 is the same as the display content in the current display interface 10 of the screen projection source device.
  • the communication connection between the devices 200 allows the user to realize interactive control with the source device for screen projection through the screen projection device 200 .
  • the screen projection source device realizes the scenario of multi-screen collaboration by projecting the screen on the screen projection device 200.
  • the user can operate the screen projection source device on the screen projection device 200.
  • the user Will watch the display interface of the screen projection source device on the screen projection device 200.
  • step 10211 when the screen projection source device obtains the input, determine the source of the current input. If the source of the current input is touch The display screen enables the elements in the display interface 10 to be displayed with a second degree of clarity.
  • the touch display screen here includes the touch screen display screen of the screen projection source device itself, and also includes the touch screen display screen of the screen projection device 200, that is, In other words, if the screen projection device 200 has a touch screen, and the user performs a touch operation on the display interface in the screen projection window 20 based on the touch screen screen of the screen projection device 200, the display interface 10 of the screen projection source device The elements will remain displayed at the second clarity level; if the source of the current input from the projection source device is a non-touch screen input device, the clarity of at least some elements in the current display interface 10 will be improved, and the first clarity level will be used.
  • the non-touch display screen input device here can be a device connected to the screen projection source device or connected to the screen projection device 200.
  • the device can be an external device, or it can be a control device belonging to the screen projection device 200 itself.
  • the screen projection device 200 is a laptop computer
  • the user performs an input on the screen projection window 20 through a touch operation on the screen of the laptop computer
  • the elements in the display interface of the screen-casting source device will be displayed in the second level of clarity, so that the user can watch at a close distance.
  • Window 20 performs input, indicating that the user is far away from the touch screen of the notebook computer, so that the clarity of the elements in the display interface of the screen projection source device is improved, and the elements are displayed at the first level of clarity, so that the user is far away from the touch screen of the notebook computer.
  • the information in the display interface in the screen projection window 20 can be seen clearly at a distance from the display screen.
  • the screen projection source device can determine that the source of the current input is the screen projection
  • the touch display screen of the device 200 is also another component of the screen projection device 200 , or an external device connected to the screen projection device 200 .
  • step 1022 after at least some elements in the current display interface 10 are displayed with the first degree of clarity, when the non-touch screen input When the device is disconnected, or when the touch operation is obtained, that is, when it is determined in step 10211 that the source of the current input is the touch screen, the clarity of at least some elements in the current display interface 10 is reduced, and the second The clarity shows that the touch operation is based on the touch screen of the screen projection source device or the screen projection device 200 .
  • the screen projection source device is a mobile phone
  • the screen projection device 200 is a notebook computer
  • the non-touch display input device is a keyboard.
  • the notebook computer When the mobile phone screen is projected to the notebook computer to achieve multi-screen collaboration, the notebook computer is connected to an external keyboard via Bluetooth.
  • the user inputs in the screen projection window 20 through an external keyboard connected to the laptop computer, at least some elements in the display interface 10 corresponding to the screen projection source device are displayed with a first degree of clarity, so that the corresponding elements in the screen projection window 20 are displayed with The first level of clarity is displayed so that the user can watch at a position far away from the notebook computer.
  • the clarity of the elements in the display interface 10 of the mobile phone is reduced, and the elements in the screen projection window 20 are displayed with a second clarity.
  • the corresponding element in is reduced in sharpness and displayed in a second sharpness for viewing closer to a laptop or mobile phone.
  • the method of judging whether the input source comes from a specific touch display or a non-touch display input device is similar to the above-mentioned embodiment.
  • Communication connection whether receiving input through a laptop or a mobile phone, can determine the source of the input based on the monitoring interface provided by the mobile phone's own system.
  • the input belongs to the input of the notebook computer itself, and will not be used as the input of the mobile phone, but the input made by the notebook computer in the screen projection window 20 will be used as the input of the mobile phone.
  • Touch operation will generate a touch event, and the mobile phone will monitor the touch event through the monitoring interface, which is the same as the touch event generated by the touch screen of the mobile phone itself, and the processing logic is the same; if the laptop itself If the keyboard or external keyboard is input based on the projection window 20, a key event will be generated, and the mobile phone will monitor the key event through the monitoring interface, which is the same as the key event generated by the keyboard connected to the mobile phone, and the processing logic is also the same.
  • the interface element control method in the embodiment of the present application does not need to change the display mode of the screen projection window 20 in the screen projection device 200, but only needs to display the screen projection source device in the screen projection window 20 according to the screen projection method. Only the display interface 10 of the screen projection device 200 does not need to be improved, and the clarity of the elements in the screen projection window 20 can be correspondingly changed by only changing the clarity of the elements on the display interface 10 of the screen projection source device itself.
  • the connection manner of the non-touch screen input device includes wireless connection and wired connection.
  • it can be connected through Bluetooth or USB interface, etc.
  • the non-touch display screen input device can be an input device connected to the projection source device, It may also be an input device connected to the screen projection device 200 .
  • the process of entering step 1022 and displaying at least some elements in the current display interface 10 with a first degree of clarity includes: When the source is an external microphone and the electronic device 100 is in a non-handheld state, at least some elements in the current display interface 10 are displayed with a first degree of clarity.
  • the user may perform input based on different non-touch display input devices.
  • the most common non-touch display input device is a keyboard
  • the more common non-touch display input device is a microphone.
  • the following combination is based on the keyboard
  • the process of inputting and the process of inputting based on an external microphone are described in a relatively complete embodiment to describe the interface element control method. For example, as shown in FIG.
  • the process of making at least some elements in the current display interface 10 displayed with a first degree of clarity includes: step 201, determining whether the source of the current input is a keyboard, if so, then entering step 1022, if not, then entering step 202; step 202, Determine whether the source of the current input is an external microphone, and the electronic device 100 is in a non-handheld state, if so, then enter step 1022, if not, then enter step 1023, if no condition is any one of the following three conditions: condition 1.
  • the source of the current input is an external microphone, and the electronic device 100 is in a handheld state; condition 2, the source of the current input is not an external microphone, and the electronic device 100 is in a non-handheld state; condition 3, the source of the current input is not an external microphone, and The electronic device 100 is in a handheld state. That is to say, on the premise of judging the voice input through the external microphone, it is necessary to further judge whether the electronic device 100 is in the hand-held state. At least some elements are displayed with the second level of clarity, which is convenient for the user to watch at a close distance.
  • step 1022 If it is determined that the voice input is performed through an external microphone, and the electronic device 100 is in a non-handheld state, it means that the user is far away from the electronic device 100 Voice input is performed in the scene, so go to step 1022, and at least some elements in the current display interface 10 are displayed with the first degree of clarity, which is suitable for the user to watch from a distance.
  • the specific process of step 1022 and step 1023 in FIG. 9 is the same as that of the above-mentioned embodiment, and will not be repeated here. Among them, whether the electronic device 100 is in a hand-held state can be specifically determined according to the sensor on the electronic device 100.
  • a grip sensor can be provided on the electronic device 100, and it can be determined according to the grip sensor on the electronic device 100. If the grip sensor detects If the grip strength of the grip sensor reaches the threshold, it is judged that the electronic device 100 is in a hand-held state; if the grip strength detected by the grip sensor does not reach the threshold, it is judged that the electronic device 100 is in a non-hand-held state. Other types of sensors are provided on the electronic device 100 to determine whether the electronic device is in a hand-held state. It should be noted that the electronic device 100 such as a mobile phone usually has a microphone itself, but for the scene of voice input through the built-in microphone of the mobile phone, the user may not be too far away from the mobile phone.
  • the source is an external microphone, and the electronic device 100 is in a non-handheld state, so as to determine that the user is performing voice input through, for example, a Bluetooth microphone at a distance from the electronic device 100, so that at least some elements in the control display interface 10 are displayed with a first degree of clarity, to Suitable for users to watch from a distance.
  • the non-handheld state is a static state.
  • an electronic device 100 such as a mobile phone
  • the electronic device will usually move or change its posture, etc.
  • the electronic device 100 is in a stationary state, that is, it is determined that the electronic device 100 is in a non-handheld state, and if the electronic device 100 is in a non-stationary state, it is determined that the electronic device 100 is in a handheld state.
  • Whether the electronic device 100 is in a static state may be determined, for example, according to sensors such as an acceleration sensor or a gyroscope on the electronic device 100 .
  • the embodiment of the present application also provides an interface element control device, which is used in electronic equipment, and the device includes: an acquisition module, which is used to acquire an input mode; a display module, which is used as an input source when the input mode is a non-touch screen input device When, at least some elements in the current display interface are displayed with the first degree of clarity; the display module is also used to display at least some elements in the current display interface with the second degree of clarity when the input method is the touch screen as the input source.
  • the sharpness shows that the first sharpness is higher than the second sharpness.
  • the interface element control device may apply the interface element control method in any of the above-mentioned embodiments, and its specific process and principle are the same as those in the above-mentioned embodiments, and will not be repeated here.
  • the display module is specifically configured to, when the input is obtained, determine the source of the current input, and when the source of the current input is a non-touch screen input device, make at least some elements in the current display interface Display at the first level of clarity; the display module is also specifically used to determine the source of the current input when the input is obtained, and when the source of the current input is a touch screen, make at least some elements in the current display interface at the second level of clarity degree display.
  • the display module is specifically configured to, when connected to a non-touch display screen input device, display at least some elements in the current display interface with a first degree of clarity; the display module is also specifically configured to, When not connected to the non-touch display input device, at least some elements in the currently displayed interface are displayed at the second clarity level.
  • the display module is specifically configured to, when a non-touch display screen input device is used as a device to be input, display at least some elements in the current display interface with a first degree of clarity; the display module is also specifically configured to Therefore, when the touch screen is used as the device to be input, at least some elements in the current display interface are displayed with the second degree of clarity.
  • the first clarity level is higher than the second clarity level includes one or any combination of the following items: the text size at the first clarity level is larger than the text size at the second clarity level, the first clarity level
  • the text font in the first definition is thicker than the text in the second definition
  • the control pattern size in the first definition is larger than the control pattern size in the second definition
  • the control pattern line in the first definition is larger than that in the second definition.
  • the line of the control pattern in the second definition is thicker, and the color of the element in the first definition is darker than that in the second definition.
  • the display module is further configured to, when the non-touch display screen input device is disconnected, reduce the clarity of at least some elements in the current display interface.
  • the display module is specifically configured to, when the non-touch display screen input device is disconnected, display at least some elements in the current display interface with the second degree of clarity.
  • the non-touch display input device includes a keyboard, a mouse, a tablet, a handle, a microphone, and a camera.
  • the display module is specifically configured to, when the source of the current input is an external keyboard, display at least some elements in the current display interface with a first degree of clarity.
  • the display module is specifically configured to display at least some elements in the current display interface 10 with a first degree of clarity when the source of the current input is an external microphone and the electronic device is in a non-handheld state.
  • the non-handheld state is a static state.
  • the electronic device 100 is a screen projection source device, and the screen projection source device is connected to the screen projection device 200 through communication, and the current display interface 10 of the screen projection source device is projected and displayed on the screen projection device 200 in the screen-casting window 20 of .
  • the screen projection window of the screen projection device 200 size and resolution unchanged.
  • interface element control devices is only a division of logical functions, which may be fully or partially integrated into one physical entity or physically separated during actual implementation.
  • these modules can all be implemented in the form of software called by the processing element; they can also be implemented in the form of hardware; some modules can also be implemented in the form of software called by the processing element, and some modules can be implemented in the form of hardware.
  • any one of the acquisition module and the display module can be a separate processing element, and can also be integrated in the interface element control device, such as integrated in a chip of the interface element control device.
  • each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
  • the acquisition module and the display module can be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC), or, one or more micro A processor (digital signal processor, DSP), or, one or more Field Programmable Gate Arrays (Field Programmable Gate Array, FPGA), etc.
  • ASIC Application Specific Integrated Circuit
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processors that can call programs.
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • the embodiment of the present application also provides an interface element control device, including: a processor and a memory, the memory is used to store at least one instruction, and when the instruction is executed by the processor, the interface element control device realizes the interface element control in any of the above embodiments method.
  • an interface element control device including: a processor and a memory, the memory is used to store at least one instruction, and when the instruction is executed by the processor, the interface element control device realizes the interface element control in any of the above embodiments method.
  • the specific process and principle of the interface element control method are the same as those in the above-mentioned embodiments, and will not be repeated here.
  • the number of processors may be one or more, and the processors and memory may be connected through a bus or in other ways.
  • the memory can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions/modules corresponding to the interface element control device in the embodiment of the present application.
  • the processor executes various functional applications and data processing by running non-transitory software programs, instructions and modules stored in the memory, that is, implements the method in any of the above method embodiments.
  • the memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function; and necessary data and the like.
  • the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices.
  • the processor here may be the processor 110 in FIG. 3 .
  • An embodiment of the present application further provides an electronic device, including a touch display screen, and the device for controlling interface elements in any of the above embodiments.
  • the electronic device can be, for example, the electronic device 100 in FIG. 3 , and the touch display screen is the display screen 194 therein.
  • the specific principle of the device for controlling interface elements is the same as that of the above-mentioned embodiment, and will not be repeated here.
  • the electronic device may be, for example, a mobile phone, a tablet computer, a smart watch, a bracelet, and the like.
  • An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when running on a computer, the computer is made to execute the interface element control method in any of the above-mentioned embodiments.
  • the specific process and principle of the interface element control method are the same as those in the above-mentioned embodiments, and will not be repeated here.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device including a server, a data center, and the like integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk).
  • "at least one” means one or more, and “multiple” means two or more.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate that A exists alone, A and B exist simultaneously, or B exists alone. Among them, A and B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship.
  • “At least one of the following” and similar expressions refer to any combination of these items, including any combination of single items or plural items.
  • At least one of a, b, and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, and c may be single or multiple.

Landscapes

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

Abstract

Embodiments of the present application provide an interface element control method and apparatus, an electronic device and a storage medium, which relate to the technical field of electronic devices. When an input source of the electronic device is a non-touch screen input device, the clarity of elements in the display interface is increased such that a user can see information in the interface clearly. The interface element control method is applied to the electronic device. The method comprises: obtaining an input mode; in an input mode where the input source is a non-touch screen input device, at least part of the elements in the current display interface are displayed at a first degree of clarity; and in an input mode where the input source is a touch screen input device, at least part of the elements in the current display interface are displayed at a second degree of clarity, the first degree of clarity being higher than the second degree of clarity.

Description

界面元素控制方法和装置、电子设备和存储介质Interface element control method and device, electronic device and storage medium
本申请要求于2021年8月25日提交中国专利局、申请号为202110984083.2、申请名称为“界面元素控制方法和装置、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110984083.2 and the application title "interface element control method and device, electronic equipment and storage medium" filed with the China Patent Office on August 25, 2021, the entire contents of which are incorporated by reference incorporated in this application.
技术领域technical field
本申请涉及电子设备技术领域,特别涉及一种界面元素控制方法和装置、电子设备和存储介质。The present application relates to the technical field of electronic equipment, in particular to a method and device for controlling interface elements, electronic equipment, and a storage medium.
背景技术Background technique
如图1所示,对于便携式的电子设备,例如手机,通常会具有触控显示屏,以便于用户触控操作。然而,随着技术的发展,电子设备的性能逐渐提高,如图2所示,用户可以通过外接键盘、鼠标、手柄等方式来实现基于手机的操作和控制,此时,用户使用手机的距离会比触控操作时更远。As shown in FIG. 1 , a portable electronic device, such as a mobile phone, usually has a touch screen to facilitate user touch operations. However, with the development of technology, the performance of electronic equipment has gradually improved. As shown in Figure 2, users can use external keyboards, mice, handles, etc. to implement operations and control based on mobile phones. Farther than touch operation.
发明内容Contents of the invention
一种界面元素控制方法和装置、电子设备和存储介质,当电子设备的输入来源为非触控显示屏输入设备时,提高显示界面中元素的清晰程度,以便于用户看清界面中的信息。A method and device for controlling interface elements, an electronic device, and a storage medium. When the input source of the electronic device is a non-touch screen input device, the clarity of elements in the display interface is improved, so that users can see the information in the interface clearly.
第一方面,提供一种界面元素控制方法,用于电子设备,方法包括:获取输入方式;当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示;当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的至少部分元素以第二清晰程度显示,第一清晰程度高于第二清晰程度。当电子设备的输入来源为非触控显示屏输入设备时,提高显示界面中的元素的清晰程度,以便于用户在使用非触控显示屏输入设备进行输入,距离电子设备距离较远时,仍可以看清显示界面中的信息。In the first aspect, there is provided a method for controlling interface elements, which is used in electronic devices. The method includes: obtaining an input method; when the input method is a non-touch screen input device as the input source, making at least some elements in the current display interface Display at the first level of clarity; when the input mode is the touch screen as the input source, at least some elements in the current display interface are displayed at the second level of clarity, the first level of clarity is higher than the second level of clarity. When the input source of the electronic device is a non-touch screen input device, improve the clarity of the elements in the display interface, so that when the user uses a non-touch screen input device for input and is far away from the electronic device, it can still You can see the information on the display interface clearly.
在一种可能的实施方式中,当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:当获取到输入时,确定当前输入的来源,当前输入的来源为非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示;当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的至少部分元素以第二清晰程度显示的过程包括:当获取到输入时,确定当前输入的来源,当前输入的来源为触控显示屏时,使当前显示界面中的至少部分元素以第二清晰程度显示。将获取到输入时作为触发提高元素清晰程度的时机,可以较为准确地确定用户已经处于距离电子设备较远,以实现更加准确地基于用户与电子设备之间的距离来调整元素的清晰程度。In a possible implementation manner, when the input mode is a non-touch screen input device as the source of the input, the process of displaying at least some elements in the current display interface with the first degree of clarity includes: when the input is acquired , to determine the source of the current input. When the current input source is a non-touch screen input device, at least some elements in the current display interface are displayed with the first degree of clarity; when the input method is a touch screen as the input source The process of displaying at least part of the elements in the current display interface with a second degree of clarity includes: when the input is obtained, determining the source of the current input, and when the source of the current input is a touch screen, making at least part of the elements in the current display interface Some elements are displayed at a second clarity level. Using the time when the input is obtained as a trigger to improve the clarity of the element can accurately determine that the user is far away from the electronic device, so as to adjust the clarity of the element more accurately based on the distance between the user and the electronic device.
在一种可能的实施方式中,当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:当连接至非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示;当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的至少部分元素以第二清晰程度显示的过程包括:当未连接至非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第二清晰程度显示。In a possible implementation manner, when the input mode is a non-touch screen input device as an input source, the process of displaying at least some elements in the current display interface with a first degree of clarity includes: when connected to a non-touch screen When using the touch screen as the input device, at least some elements in the current display interface are displayed with the first clarity; when the input method is the touch screen as the input source, at least some elements in the current display interface are displayed with the second clarity The process of level display includes: when the non-touch screen input device is not connected, at least some elements in the current display interface are displayed at the second level of clarity.
在一种可能的实施方式中,当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:当非触控显示屏输入设备作为待输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示;当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的至少部分元素以第二清晰程度显示的过程包括:当触控显示屏作为待输入设备时,使当前显示界面中的至少部分元素以第二清晰程度显示。In a possible implementation manner, when the input mode is a non-touch display screen input device as the input source, the process of displaying at least some elements in the current display interface with the first degree of clarity includes: when the non-touch display When the screen input device is used as the device to be input, at least some elements in the current display interface are displayed with the first degree of clarity; when the input method is a touch screen as the input source, at least some elements in the current display interface are displayed with the first degree The process of displaying at the second level of clarity includes: when the touch screen is used as the device to be input, at least some elements in the current display interface are displayed at the second level of clarity.
在一种可能的实施方式中,第一清晰程度高于第二清晰程度包括以下各项之一或任意组合:第一清晰程度下的文字字号大于第二清晰程度下的文字字号、第一清晰度下的文字字体相对于第二清晰度下的文字字体加粗、第一清晰度下的控件图案尺寸大于第二清晰度下的控件图案尺寸、第一清晰度下的控件图案线条相对于第二清晰度下的控件图案线条加粗、第一清晰度下的元素颜色相对第二清晰度下的元素颜色加深。In a possible implementation manner, the first clarity level is higher than the second clarity level includes one or any combination of the following items: the text size at the first clarity level is larger than the text size at the second clarity level, the first clarity level The text font in the first definition is thicker than the text in the second definition, the control pattern size in the first definition is larger than the control pattern size in the second definition, and the control pattern line in the first definition is larger than that in the second definition. The line of the control pattern in the second definition is thicker, and the color of the element in the first definition is darker than that in the second definition.
在一种可能的实施方式中,在当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程之后,还包括:当非触控显示屏输入设备断开连接时,使当前显示界面中的至少部分元素的清晰程度降低。如果用于输入的非触控显示屏输入设备与电子设备之间断开连接,说明用户换为手持电子设备进行触控操作,即用户与电子设备之间的距离较近,因此控制使显示界面中的至少部分元素的清晰程度降低,以适应用户较近距离的观看。In a possible implementation manner, after the process of displaying at least some elements in the current display interface with the first degree of clarity when the input mode is a non-touch display screen input device as the input source, it further includes: when Reduces the clarity of at least some elements of the currently displayed interface when a non-touch display input device is disconnected. If the non-touch screen input device used for input is disconnected from the electronic device, it means that the user switches to a handheld electronic device for touch operation, that is, the distance between the user and the electronic device is relatively short, so the control makes the display interface The sharpness of at least some elements of the is reduced to accommodate the user's closer viewing.
在一种可能的实施方式中,当非触控显示屏输入设备断开连接时,使当前显示界面中的至少部分元素的清晰程度降低的过程包括:当非触控显示屏输入设备断开连接时,使当前显示界面中的至少部分元素以第二清晰程度显示。In a possible implementation manner, when the non-touch screen input device is disconnected, the process of reducing the clarity of at least some elements in the current display interface includes: when the non-touch screen input device is disconnected , at least part of the elements in the current display interface are displayed with the second degree of clarity.
在一种可能的实施方式中,非触控显示屏输入设备包括键盘、鼠标、手写板、手柄、麦克风和摄像头。In a possible implementation manner, the non-touch display input device includes a keyboard, a mouse, a tablet, a handle, a microphone, and a camera.
在一种可能的实施方式中,当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:当前输入的来源为外接键盘时,使当前显示界面中至少部分元素以第一清晰程度显示。将获取到来自于外接键盘的输入时作为触发提高元素的清晰程度的时机,可以较为准确地确定用户已经处于距离电子设备较远。In a possible implementation manner, when the input mode is a non-touch screen input device as the input source, the process of displaying at least some elements in the current display interface with the first degree of clarity includes: the current input source is When an external keyboard is connected, at least some elements in the current display interface are displayed with the first degree of clarity. When the input from the external keyboard is acquired as an opportunity to trigger the improvement of the clarity of the element, it can be more accurately determined that the user is far away from the electronic device.
在一种可能的实施方式中,当前输入的来源为非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:当前输入的来源为外接麦克风,且电子设备处于非手持状态时,使当前显示界面中至少部分元素以第一清晰程度显示。同时确定当前输入的来源为外接麦克风,且电子设备处于非手持状态,可以更为准确地确定用户正在距离电子设备较远处通过外接麦克风进行语音输入,因此控制显示界面中元素的清晰程度提高,以适合用户远距离观看。In a possible implementation manner, when the source of the current input is a non-touch screen input device, the process of displaying at least some elements in the current display interface with a first degree of clarity includes: the source of the current input is an external microphone, And when the electronic device is in a non-handheld state, at least some elements in the current display interface are displayed with a first degree of clarity. At the same time, it is determined that the source of the current input is an external microphone, and the electronic device is in a non-handheld state. It can be more accurately determined that the user is performing voice input through the external microphone at a distance from the electronic device, so the clarity of the elements in the control display interface is improved. To be suitable for users to watch from a long distance.
在一种可能的实施方式中,非手持状态为静止状态。In a possible implementation manner, the non-handheld state is a static state.
在一种可能的实施方式中,电子设备为投屏源端设备,投屏源端设备通信连接于投屏设备,投屏源端设备的当前显示界面投屏显示于投屏设备的投屏窗口中。可以在投屏的场景下确定当用户的观看距离较远时,提高元素的清晰程度,以便于用户远距离观看。In a possible implementation manner, the electronic device is a screen projection source device, and the screen projection source device is connected to the screen projection device through communication, and the current display interface of the screen projection source device is projected and displayed on the screen projection window of the screen projection device middle. In the scenario of screen projection, it can be determined that when the user's viewing distance is relatively long, the clarity of elements can be improved so that the user can watch from a long distance.
在一种可能的实施方式中,使当前显示界面中的至少部分元素以第一清晰程度显示以及使当前显示界面中的至少部分元素以第二清晰程度显示时,投屏设备的投屏窗口的尺寸和分辨率不变。In a possible implementation manner, when at least some elements in the current display interface are displayed with a first clarity level and at least some elements in the current display interface are displayed with a second clarity level, the screen projection window of the screen projection device Size and resolution are unchanged.
第二方面,提供一种界面元素控制装置,用于电子设备,装置包括:获取模块,用于获取输入方式;显示模块,用于当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示;显示模块还用于,当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的至少部分元素以第二清晰程度显示,第一清晰程度高于第二清晰程度。In a second aspect, an interface element control device is provided for electronic equipment, and the device includes: an acquisition module for acquiring an input mode; a display module for when the input mode is a non-touch screen input device as the input source to display at least some elements in the current display interface with a first clarity; the display module is also used to display at least some elements in the current display interface with a second clarity when the input method is a touch screen as the input source The degree shows that the first degree of clarity is higher than the second degree of clarity.
第三方面,提供一种界面元素控制装置,包括:处理器和存储器,存储器用于存储至少一条指令,指令被处理器执行时,使得界面元素控制装置实现上述的界面元素控制方法。In a third aspect, an interface element control device is provided, including: a processor and a memory, the memory is used to store at least one instruction, and when the instruction is executed by the processor, the interface element control device implements the above interface element control method.
第四方面,提供一种电子设备,包括触控显示屏,以及第二方面或第三方面的界面元素控制装置。In a fourth aspect, an electronic device is provided, including a touch display screen, and the interface element control device of the second aspect or the third aspect.
第五方面,提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行上述的界面元素控制方法。In a fifth aspect, a computer-readable storage medium is provided. A computer program is stored in the computer-readable storage medium. When running on a computer, the computer is made to execute the above interface element control method.
附图说明Description of drawings
图1为用户基于电子设备进行触控操作时的状态示意图;FIG. 1 is a schematic diagram of a state when a user performs a touch operation based on an electronic device;
图2为用户基于电子设备进行键盘操作时的状态示意图;FIG. 2 is a schematic diagram of the state when the user performs keyboard operations based on the electronic device;
图3为本申请实施例中一种电子设备的结构框图;FIG. 3 is a structural block diagram of an electronic device in an embodiment of the present application;
图4为本申请实施例中一种界面元素控制方法的流程示意图;FIG. 4 is a schematic flowchart of a method for controlling interface elements in an embodiment of the present application;
图5为本申请实施例中电子设备在不同状态的显示界面示意图;FIG. 5 is a schematic diagram of a display interface of an electronic device in different states in an embodiment of the present application;
图6a为本申请实施例中另一种界面元素控制方法的流程示意图;Fig. 6a is a schematic flowchart of another interface element control method in the embodiment of the present application;
图6b为本申请实施例中另一种界面元素控制方法的流程示意图;Fig. 6b is a schematic flowchart of another interface element control method in the embodiment of the present application;
图7为本申请实施例中一种投屏设备和投屏源端设备在一种状态下的显示界面示意图;7 is a schematic diagram of a display interface of a screen projection device and a screen projection source device in a state in an embodiment of the present application;
图8为本申请实施例中一种投屏设备和投屏源端设备在另一种状态下的显示界面示意图;FIG. 8 is a schematic diagram of a display interface of a screen projection device and a screen projection source device in another state in an embodiment of the present application;
图9为本申请实施例中另一种界面元素控制方法的流程示意图。FIG. 9 is a schematic flowchart of another interface element control method in the embodiment of the present application.
具体实施方式Detailed ways
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the embodiments of the present application are only used to explain specific embodiments of the present application, and are not intended to limit the present application.
首先对本申请实施例所涉及的电子设备进行介绍,图3示出了电子设备100的结 构示意图。First, the electronic device involved in the embodiment of the present application is introduced. FIG. 3 shows a schematic structural diagram of the electronic device 100.
电子设备100可以包括处理器110,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线2,无线通信模块160,传感器模块180,按键190,显示屏194等。其中传感器模块180可以包括触摸传感器180K等。The electronic device 100 may include a processor 110, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 2, a wireless communication module 160, a sensor module 180, and a button 190 , display screen 194 and so on. The sensor module 180 may include a touch sensor 180K and the like.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
电子设备100的部分无线通信功能可以通过天线2,无线通信模块160等实现。Part of the wireless communication functions of the electronic device 100 can be realized by the antenna 2, the wireless communication module 160 and the like.
天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。Antenna 2 is used for transmitting and receiving electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波 辐射出去。The wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation on it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。本申请实施例中的显示屏194为触控显示屏。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1. The display screen 194 in the embodiment of the present application is a touch display screen.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。The touch sensor 180K is also called "touch device". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
如图4所示,本申请实施例提供一种界面元素控制方法,用于电子设备,该电子设备例如可以为上述的电子设备100,电子设备100初始的显示界面10如图5中左侧所示,显示界面10中的元素具有初始的清晰程度,初始的清晰程度适合用户触控操作时的观看距离,该方法包括:As shown in FIG. 4, the embodiment of the present application provides a method for controlling interface elements, which is used in an electronic device. The electronic device may be, for example, the above-mentioned electronic device 100. The initial display interface 10 of the electronic device 100 is shown on the left side of FIG. 5 It shows that the elements in the display interface 10 have an initial degree of clarity, and the initial degree of clarity is suitable for the viewing distance of the user during touch operation. The method includes:
步骤101、获取输入方式; Step 101, obtaining the input method;
步骤1021、确定输入方式中输入的来源,当输入方式为非触控显示屏输入设备作为输入的来源时,进入步骤1022、使当前显示界面10中的至少部分元素以第一清晰程度显示,当输入方式为触控显示屏作为输入的来源时,进入步骤1023、使当前显示界面10中的至少部分元素以第二清晰程度显示,第一清晰程度高于第二清晰程度。 Step 1021, determine the source of the input in the input mode, and when the input mode is a non-touch screen input device as the source of the input, go to step 1022, make at least some elements in the current display interface 10 displayed with the first degree of clarity, when When the input mode is the touch screen as the input source, enter step 1023 to display at least some elements in the current display interface 10 with the second clarity level, and the first clarity level is higher than the second clarity level.
具体地,本申请实施例中的输入方式包括文本的输入方式以及指令的输入方式,对于电子设备来说,默认的输入方式为触控显示屏,例如当电子设备为手机时,用户可以手持手机,通过手机的触控显示屏实现输入,即输入方式为触控显示屏作为输入的来源,此时,例如会显示图5中左侧的显示界面10,显示界面10中的元素具有初始的清晰程度,即使当前显示界面10中的至少部分元素以第二清晰程度显示;而当手机的输入方式为非触控显示屏输入设备(图5中未示出)作为输入的来源时,例如当电子设备100连接至蓝牙键盘时,或者,当电子设备100接收到来自于蓝牙键盘的输入时,或者,当电子设备100的输入状态为待接收来自于摄像头的手势输入时,可 以认为输入方式为非触控显示屏输入设备作为输入的来源,在该场景下,用户大概率会使用非手持手机的状态,将手机放置于距离较远的位置来进行输入,因此可以使当前显示界面10中的至少部分元素的清晰程度提高,即使当前显示界面10中的至少部分元素以第二清晰程度显示,元素的清晰程度提高之后会呈现如图5中右侧的显示界面10,显示界面10中的至少部分元素的清晰程度提高,以便于用户在距离手机较远的位置可以看清界面中的信息。在图5所示的显示界面10中,清晰程度提高的元素包括音频输入控件、文本输入控件、上拉控件、图片控件、表情控件、返回控件、文字以及光标。本申请实施例中的清晰程度是指人眼宏观看到的图像的清晰程度,使元素的清晰度提高,例如可以包括使元素的图案尺寸变大、使元素的图案线条加粗或者使图案的颜色加深等。Specifically, the input methods in the embodiments of the present application include text input methods and command input methods. For electronic devices, the default input method is a touch screen display. For example, when the electronic device is a mobile phone, the user can hold the mobile phone , the input is realized through the touch screen of the mobile phone, that is, the input method is the touch screen as the source of input. At this time, for example, the display interface 10 on the left side of FIG. 5 will be displayed, and the elements in the display interface 10 have initial clarity degree, even if at least some elements in the current display interface 10 are displayed with the second degree of clarity; and when the input method of the mobile phone is a non-touch screen input device (not shown in FIG. 5 ) as the source of input, for example, when the electronic When the device 100 is connected to the Bluetooth keyboard, or when the electronic device 100 receives input from the Bluetooth keyboard, or when the input state of the electronic device 100 is to receive gesture input from the camera, the input mode can be considered as non- The touch screen input device is used as the source of input. In this scenario, the user will most likely use a non-handheld mobile phone and place the mobile phone at a far distance for input. Therefore, at least The clarity of some elements is improved, even if at least some elements in the current display interface 10 are displayed with the second clarity, after the clarity of the elements is improved, the display interface 10 on the right side in Figure 5 will appear, and at least some of the elements in the display interface 10 The clarity of elements is improved so that users can see the information in the interface when they are far from the phone. In the display interface 10 shown in FIG. 5 , elements with improved clarity include audio input controls, text input controls, pull-up controls, picture controls, expression controls, return controls, text, and cursors. The degree of clarity in this embodiment of the present application refers to the degree of clarity of the image seen by the human eye macroscopically. Improving the clarity of elements can include, for example, increasing the pattern size of elements, making the pattern lines of elements thicker, or making the pattern Color deepening etc.
本申请实施例中的界面元素控制方法,当电子设备的输入来源为非触控显示屏输入设备时,提高显示界面中的元素的清晰程度,以便于用户在使用非触控显示屏输入设备进行输入,距离电子设备距离较远时,仍可以看清显示界面中的信息。In the interface element control method in the embodiment of the present application, when the input source of the electronic device is a non-touch display input device, the clarity of the elements in the display interface is improved, so that the user can use the non-touch display input device to perform When the input is far away from the electronic device, the information in the display interface can still be seen clearly.
在一种可能的实施方式中,如图6a所示,上述步骤1021、确定输入方式中输入的来源,当输入方式为非触控显示屏输入设备作为输入的来源时,进入步骤1022、使当前显示界面10中的至少部分元素以第一清晰程度显示的过程包括:In a possible implementation manner, as shown in FIG. 6a, the above step 1021 is to determine the input source in the input mode. When the input mode is a non-touch screen input device as the input source, enter step 1022 to make the current The process of displaying at least some elements in the display interface 10 with a first degree of clarity includes:
步骤10211、当获取到输入时,确定当前输入的来源,当前输入的来源为非触控显示屏输入设备时,进入步骤1022、使当前显示界面10中的至少部分元素以第一清晰程度显示,显示界面10中至少部分元素以第一清晰程度显示的状态如图5中右侧所示; Step 10211. When the input is obtained, determine the source of the current input. If the source of the current input is a non-touch screen input device, go to Step 1022. Make at least some elements in the current display interface 10 be displayed with the first degree of clarity. The state where at least some elements in the display interface 10 are displayed with the first degree of clarity is shown on the right side of FIG. 5 ;
上述步骤1021、确定输入方式中输入的来源,当输入方式为触控显示屏作为输入的来源时,进入步骤1023、使当前显示界面10中的至少部分元素以第二清晰程度显示的过程包括:In the above step 1021, determine the source of the input in the input mode. When the input mode is the touch screen as the source of the input, enter step 1023, and the process of displaying at least some elements in the current display interface 10 with the second degree of clarity includes:
步骤10211、当获取到输入时,确定当前输入的来源,当前输入的来源为触控显示屏时,进入步骤1023、使当前显示界面10中的至少部分元素以第二清晰程度显示,显示界面10中至少部分元素以第二清晰程度显示的状态如图5中左侧所示。 Step 10211. When the input is obtained, determine the source of the current input. When the source of the current input is a touch screen, go to step 1023. Make at least some elements in the current display interface 10 be displayed with the second degree of clarity, and the display interface 10 The state in which at least some of the elements in are displayed at the second level of clarity is shown on the left side of FIG. 5 .
具体地,例如,当用户手持电子设备100进行触控操作输入文本内容时,显示图5中左侧的显示界面10,元素具有初始的清晰程度,即第二清晰程度,以便于用户在距离电子设备较近的距离观看,而当电子设备100连接蓝牙键盘时,用户会将电子设备100放置于距离眼睛较远的位置,此时如果用户通过蓝牙键盘输入文本内容,则会在步骤1021中判断当前输入的来源为外接的蓝牙键盘,而非来自于触控显示屏的触控操作,此时,会进入步骤1022,使当前显示界面10中至少部分元素的清晰程度提高,以第一清晰程度显示,显示图5中右侧的显示界面10,以便于用于在距离电子设备100较远的位置仍可以看清显示界面10中的信息。在步骤1022和步骤1023之后,可以进入步骤101或步骤10211,持续检测输入的来源。将获取到输入时作为触发进入步骤1022的时机,可以较为准确地确定用户已经处于距离电子设备100较远,以实现更加准确地基于用户与电子设备100之间的距离来调整元素的清晰程度。Specifically, for example, when the user holds the electronic device 100 to perform a touch operation to input text content, the display interface 10 on the left side of FIG. The device is viewed at a relatively close distance, and when the electronic device 100 is connected to a Bluetooth keyboard, the user will place the electronic device 100 at a position far from the eyes. At this time, if the user enters text content through the Bluetooth keyboard, it will be judged in step 1021 The source of the current input is an external bluetooth keyboard, rather than a touch operation from the touch screen. At this time, it will enter step 1022 to improve the clarity of at least some elements in the current display interface 10, with the first clarity Displaying, displaying the display interface 10 on the right side in FIG. 5 , so that the information in the display interface 10 can still be seen clearly when the user is far away from the electronic device 100 . After step 1022 and step 1023, you can enter step 101 or step 10211 to continuously detect the source of the input. When the input is obtained as a trigger to enter step 1022 , it can be more accurately determined that the user is far away from the electronic device 100 , so as to adjust the clarity of elements based on the distance between the user and the electronic device 100 more accurately.
在一种可能的实施方式中,上述当前输入的来源为非触控显示屏输入设备时,进入步骤1022、使当前显示界面10中的至少部分元素以第一清晰程度显示的过程包 括:当前输入的来源为外接键盘时,进入步骤1022,使当前显示界面10中的至少部分元素以第一清晰程度显示。将获取到来自于外接键盘的输入时作为触发进入步骤1022的时机,可以较为准确地确定用户已经处于距离电子设备100较远,当接收到来自于键盘的输入时,可以确定用户处于非手持电子设备100的状态,且正在使用外接键盘进行输入,因此用户与电子设备100之间的距离必然较远,因此触发提高显示界面10中元素的清晰程度,以第一清晰程度显示,以便于用户可以在距离电子设备100较远的位置看清显示界面10中的信息。In a possible implementation manner, when the source of the above-mentioned current input is a non-touch screen input device, the process of entering step 1022 and displaying at least some elements in the current display interface 10 with a first degree of clarity includes: the current input When the source of the source is an external keyboard, go to step 1022 to display at least some elements in the current display interface 10 with the first clarity. When the input from the external keyboard is acquired as the trigger to enter step 1022, it can be more accurately determined that the user is far away from the electronic device 100, and when the input from the keyboard is received, it can be determined that the user is in the non-handheld electronic The state of the device 100, and an external keyboard is being used for input, so the distance between the user and the electronic device 100 must be relatively long, so it is triggered to increase the clarity of the elements in the display interface 10, and the elements are displayed with the first clarity, so that the user can The information on the display interface 10 can be seen clearly at a position far from the electronic device 100 .
在一种可能的实施方式中,第一清晰程度高于第二清晰程度包括以下各项之一或任意组合:第一清晰程度下的文字字号大于第二清晰程度下的文字字号、第一清晰度下的文字字体相对于第二清晰度下的文字字体加粗、第一清晰度下的控件图案尺寸大于第二清晰度下的控件图案尺寸、第一清晰度下的控件图案线条相对于第二清晰度下的控件图案线条加粗、第一清晰度下的元素颜色相对第二清晰度下的元素颜色加深。In a possible implementation manner, the first clarity level is higher than the second clarity level includes one or any combination of the following items: the text size at the first clarity level is larger than the text size at the second clarity level, the first clarity level The text font in the first definition is thicker than the text in the second definition, the control pattern size in the first definition is larger than the control pattern size in the second definition, and the control pattern line in the first definition is larger than that in the second definition. The line of the control pattern in the second definition is thicker, and the color of the element in the first definition is darker than that in the second definition.
具体地,显示界面10中的元素包括控件以及文字,可以通过控件以及文字来体现信息。例如,一方面,元素的图案显示面积与元素的清晰程度正相关,图案显示面积越大,则清晰程度越高,越容易看清楚,图案显示面积越小,则清晰程度越低,越不容易看清楚。对于控件来说,增大图案尺寸以及加粗图案线条均可以增大图案显示面积,即可以提高清晰程度,以便于使控件容易被用户在更远的距离看清楚图标选项等界面信息。对于文字来说,字号的大小和文字显示面积正相关,字号越大,则文字的显示面积越大,字号越小,则文字的显示面积越小,文字字体的粗细和文字显示面积相关,加粗字体的文字显示面积较大,非加粗字体的文字显示面积较小。这里的文字可以包括显示界面10中与控件相配合的固定文字,也可以包括用于输入的文字,例如,在图5中左侧的显示界面10中,用户输入显示的文字字号为【小】,在图5中右侧的显示界面10中,用户已经输入以及继续输入的文字均以【中】字号显示。另一方面,元素的颜色深浅程度与元素的清晰程度相关,元素的颜色越深,则清晰程度越高,元素的颜色越浅,则清晰程度越低。Specifically, the elements in the display interface 10 include controls and text, and information can be embodied through the controls and text. For example, on the one hand, the pattern display area of an element is positively correlated with the clarity of the element. The larger the pattern display area, the higher the clarity and the easier it is to see clearly. The smaller the pattern display area, the lower the clarity and the less easy it is. see clearly. For the control, increasing the size of the pattern and thickening the lines of the pattern can increase the display area of the pattern, which can improve the clarity, so that the control can be easily seen by the user at a longer distance, such as icon options and other interface information. For text, the size of the font size is positively related to the display area of the text. The larger the font size, the larger the display area of the text; the smaller the font size, the smaller the display area of the text. The thickness of the text font is related to the display area of the text. The display area of the text in the bold font is larger, and the display area of the text in the non-bold font is smaller. The text here may include fixed text matched with controls in the display interface 10, or may include text used for input. For example, in the left display interface 10 in FIG. 5, the font size of the text displayed by the user input is [small] , in the display interface 10 on the right side in FIG. 5 , the characters that the user has input and continues to input are all displayed in [中] font size. On the other hand, the color depth of an element is related to the clarity of the element. The darker the element, the higher the clarity, and the lighter the element, the lower the clarity.
需要说明的是,在步骤1022和步骤1023的切换过程中,本申请实施例对于哪些元素的清晰程度变化,哪些元素的清晰程度不变不做限定,具体可以根据需要进行设置,以改变元素的尺寸为例,例如,当前显示界面10包括某社交应用的留言板界面以及系统信息栏,可以设置为使留言板界面中所有元素的尺寸变化,保持系统信息栏中所有元素的尺寸不变;在一些可能的实施方式中,可以设置当前显示界面10中所有元素的尺寸均变化,包括留言板界面和系统信息栏;另外,可以不区分应用进行元素的尺寸变化,即对于任意应用或系统应用显示在当前显示界面10中的内容,其中的元素尺寸都会基于非触控显示屏输入设备的输入而变大,例如,即便用户切换为显示其他应用,或者切换为回到系统桌面,都会显示尺寸变大之后的界面元素,以便于用户观看。It should be noted that, during the switching process between step 1022 and step 1023, the embodiments of the present application do not limit which elements have their clarity changed and which elements have their clarity unchanged. Specifically, settings can be made as needed to change the clarity of elements. Take the size as an example. For example, the current display interface 10 includes a message board interface and a system information bar of a social application, which can be set to change the size of all elements in the message board interface and keep the size of all elements in the system information bar unchanged; In some possible implementations, the size of all elements in the current display interface 10 can be set to change, including the message board interface and the system information column; in addition, the size of the elements can be changed without distinguishing between applications, that is, for any application or system application to display For the content in the current display interface 10, the size of elements therein will increase based on the input of the non-touch display screen input device. For example, even if the user switches to display other applications, or switches to return to the system desktop, the size of the display will increase Larger interface elements for easier viewing by the user.
在一种可能的实施方式中,如图6a所示,在上述步骤1022、使当前显示界面10中的至少部分元素的清晰程度提高之后,还包括:步骤103、当非触控显示屏输入设备断开连接时,使当前显示界面10中的至少部分元素的清晰程度降低。In a possible implementation, as shown in FIG. 6a, after step 1022, improving the clarity of at least some elements in the current display interface 10, it further includes: step 103, when the non-touch screen input device When the connection is disconnected, the clarity of at least some elements in the current display interface 10 is reduced.
具体地,如果用于输入的非触控显示屏输入设备与电子设备100之间断开连接, 说明用户可能会重新换为手持电子设备100的较近距离交互方式,当获取到触控操作时,即便电子设备100仍连接于蓝牙键盘,但仍说明用户换为手持电子设备100进行触控操作,即用户与电子设备100之间的距离较近,因此控制使显示界面10中的至少部分元素的清晰程度降低,以适应用户较近距离的观看,例如,如图6b所示,当非触控显示屏输入设备断开连接时,使当前显示界面10中的至少部分元素的清晰程度降低的过程包括:当非触控显示屏输入设备断开连接时,进入步骤1023、使当前显示界面10中的至少部分元素以第二清晰程度显示,而当非触控显示屏输入设备未断开连接时,可以进入步骤101或步骤10211,继续监控输入来源。以图5所示的显示界面10为例,在步骤1022中,显示图5中右侧的显示界面10,显示界面10的至少部分元素以第一清晰程度显示,即使显示界面10中控件以较大的尺寸显示,使显示界面10中部分文字以较大的字号显示,部分文字以加粗的字体显示,之后如果非触控显示屏输入设备断开连接,则使显示界面10恢复至图5中左侧所示的显示界面10,即使控件尺寸、文字的字号和字体恢复至以第二清晰程度显示。Specifically, if the non-touch screen input device used for input is disconnected from the electronic device 100, it means that the user may switch to the short-distance interaction method of the handheld electronic device 100. When the touch operation is obtained, Even if the electronic device 100 is still connected to the Bluetooth keyboard, it still means that the user switches to the handheld electronic device 100 for touch operation, that is, the distance between the user and the electronic device 100 is relatively short, so the control makes at least some elements in the display interface 10 The degree of clarity is reduced to adapt to the user's viewing at a closer distance, for example, as shown in Figure 6b, when the non-touch display input device is disconnected, the process of reducing the clarity of at least some elements in the current display interface 10 Including: when the non-touch screen input device is disconnected, enter step 1023, and at least some elements in the current display interface 10 are displayed with the second degree of clarity; when the non-touch screen input device is not disconnected , you can go to step 101 or step 10211 to continue monitoring the input source. Taking the display interface 10 shown in FIG. 5 as an example, in step 1022, the display interface 10 on the right side in FIG. Large size display, so that part of the text in the display interface 10 is displayed in a larger font size, and part of the text is displayed in a bold font. Afterwards, if the non-touch display input device is disconnected, the display interface 10 is restored to that shown in Figure 5 In the display interface 10 shown on the left side, that is, the size of the control, the font size and the font of the text are restored to display at the second level of clarity.
以下结合图5和图6b,通过一个具体实施例对界面元素控制方法进行说明,假设非触控显示屏输入设备为外接键盘,在步骤10211中,当收到输入时,具体可以通过系统提供的监听接口判断当前输入是否来自于外接键盘,当监听到按键事件时,即说明收到了外接键盘的输入,进入步骤1022,在步骤1022中,首先获取页面中的所有视图容器view,遍历每个view中的控件,将每个控件的字体设置为第一清晰程度对应的字体,控件包括按钮控件和文本控件,按钮控件的文字为固定文字,文本控件的文字为用户输入的文字,例如显示界面10中的“留言板”为按钮控件的文字,“进入”为文本控件的文本,图5中左侧的文字字体为第二清晰程度对应的字体,图5中右侧的文字字体为第一清晰程度对应的字体,第一清晰程度对应的字体比第二清晰程度对应的字体的字号大,或者相对加粗,对于按钮控件来说,改为字号更大或者相对加粗的字体之后,控件本身的图案会自适应变化,变得尺寸更大,即第一清晰程度对应的控件图案尺寸比第二清晰程度对应的控件图案尺寸大,第一清晰程度对应的字体和第二清晰程度对应的字体可以为系统默认设置,也可以基于用户预先设置进行调整。当外接键盘断开连接时,或者,当获取到触控操作时,即在步骤10211中确定当前输入的来源为触控显示屏时,进入步骤1023、使当前显示界面10中的至少部分元素以第二清晰程度显示,即使当前显示界面10中至少部分元素的以第二清晰程度对应的较小尺寸显示。其中,对于外接键盘断开连接的判断,具体可以通过系统提供的监听接口判断外接键盘是否断开;另外,对于当前输入的来源为触控显示屏的判断,可以通过系统提供的监听接口判断,当用户与显示界面10中的项目通过触控事件进行交互触发了已注册侦听器的视图容器View时,系统将调用View类中的事件侦听器接口提供的回调方法,一方面触发系统执行触控操作,另一方面触发使当前显示界面10中至少部分元素以第二清晰程度显示,例如首先获取页面中的所有view,遍历每个view中的控件,将每个控件的字体设置为第二清晰程度对应的字体,控件尺寸也会由于字体的变化而自适应调整设置为第二清晰程度对应的尺寸。例如,当用户通过电子设备100外接的蓝牙键盘输入文本内容结束之后,如果用户断开蓝牙键盘,则说明用户结束了距离电子设备100较远状态下的输入,可能会继续拿起电子设 备100观看,因此使显示界面10中的元素恢复至便于近距离观看的第二清晰程度对应的尺寸,或者,当用户通过电子设备100外接的蓝牙键盘输入文本内容结束之后,如果检测到触控操作,即确定当前输入的来源为触控显示屏时,说明用户可能拿起电子设备100进行操作,距离电子设备100较近,因此使显示界面10中的元素恢复至便于近距离观看的第二清晰程度对应的尺寸。The interface element control method will be described through a specific embodiment below in conjunction with Fig. 5 and Fig. 6b. Assume that the non-touch display input device is an external keyboard. The monitoring interface judges whether the current input is from an external keyboard. When a key event is detected, it means that the input from the external keyboard has been received, and then enter step 1022. In step 1022, first obtain all view container views in the page, and traverse each view For the controls in , set the font of each control to the font corresponding to the first clarity level. The controls include button controls and text controls. The text of the button control is fixed text, and the text of the text control is the text entered by the user. For example, the display interface 10 "Message Board" in the text is the text of the button control, "Enter" is the text of the text control, the font of the text on the left in Figure 5 is the font corresponding to the second clarity level, and the font of the text on the right in Figure 5 is the first clarity The font corresponding to the level, the font corresponding to the first level of clarity is larger than the font corresponding to the second level of clarity, or relatively bold, for the button control, after changing to a larger or relatively bold font, the control itself The pattern will change adaptively and become larger in size, that is, the size of the control pattern corresponding to the first clarity level is larger than the size of the control pattern corresponding to the second clarity level, and the font corresponding to the first clarity level and the font corresponding to the second clarity level It can be the system default setting, or it can be adjusted based on the user's preset settings. When the external keyboard is disconnected, or when the touch operation is obtained, that is, when it is determined in step 10211 that the source of the current input is the touch screen, enter step 1023, and at least some elements in the current display interface 10 are The display at the second clarity level means that at least some elements in the current display interface 10 are displayed in a smaller size corresponding to the second clarity level. Among them, for the judgment of the disconnection of the external keyboard, it can be judged through the monitoring interface provided by the system whether the external keyboard is disconnected; in addition, for the judgment that the source of the current input is the touch display screen, it can be judged through the monitoring interface provided by the system. When the user interacts with an item in the display interface 10 through a touch event to trigger the view container View with a registered listener, the system will call the callback method provided by the event listener interface in the View class, and on the one hand trigger the system to execute Touch operation, on the other hand, triggers at least some elements in the current display interface 10 to be displayed with the second degree of clarity, for example, first obtain all views in the page, traverse the controls in each view, and set the font of each control to the second For the font corresponding to the second clarity level, the size of the control will also be adaptively adjusted and set to the size corresponding to the second clarity level due to the change of the font. For example, after the user finishes inputting text content through the bluetooth keyboard connected to the electronic device 100, if the user disconnects the bluetooth keyboard, it means that the user has finished inputting in a state far away from the electronic device 100, and may continue to pick up the electronic device 100 to watch , so that the elements in the display interface 10 are restored to the size corresponding to the second degree of clarity that is convenient for close viewing, or, after the user finishes inputting text content through the Bluetooth keyboard external to the electronic device 100, if a touch operation is detected, that is When it is determined that the source of the current input is the touch display screen, it means that the user may pick up the electronic device 100 to operate, and the distance from the electronic device 100 is relatively close, so the elements in the display interface 10 are restored to the second level of clarity that is convenient for close viewing. size of.
在一种可能的实施方式中,非触控显示屏输入设备包括键盘、鼠标、手写板、手柄、麦克风和摄像头。来自于键盘的输入例如可以为通过键盘输入文字,或者通过键盘操作输入的快捷键指令。来自于鼠标的输入例如可以为鼠标的指针移动操作或点击操作。本申请实施例中的键盘是指实体键盘。来自于麦克风的输入例如可以为通过语音输入的文字,或者语音指令。来自于摄像头的输入例如可以为通过手势识别输入的文字或指令。这里的麦克风和摄像头可以为外接的麦克风和摄像头,也可以为电子设备内置的麦克风和摄像头。In a possible implementation manner, the non-touch display input device includes a keyboard, a mouse, a tablet, a handle, a microphone, and a camera. The input from the keyboard may be, for example, text input through the keyboard, or shortcut key instructions input through keyboard operations. The input from the mouse may be, for example, a pointer movement operation or a click operation of the mouse. The keyboard in this embodiment of the application refers to a physical keyboard. The input from the microphone may be, for example, voice input text or voice commands. The input from the camera can be, for example, text or instructions input through gesture recognition. The microphone and camera here may be an external microphone and camera, or may be a built-in microphone and camera of the electronic device.
在一种可能的实施方式中,上述步骤1021、确定输入方式中输入的来源,当输入方式为非触控显示屏输入设备作为输入的来源时,进入步骤1022、使当前显示界面10中的至少部分元素以第一清晰程度显示的过程包括:当连接至非触控显示屏输入设备时,使当前显示界面10中的至少部分元素以第一清晰程度显示;上述步骤1021、确定输入方式中输入的来源,当输入方式为触控显示屏作为输入的来源时,进入步骤1023、使当前显示界面10中的至少部分元素以第二清晰程度显示的过程包括:当未连接至非触控显示屏输入设备时,使当前显示界面10中的至少部分元素以第二清晰程度显示。不同于上述的将获取到输入时作为提高元素的清晰程度的触发时机,可以将电子设备100连接至外接设备时作为触发提高元素的清晰程度的时机,例如,非触控显示屏输入设备为手柄,当电子设备100未连接至外接的非触控显示屏输入设备时,可以默认认为用户会基于触控显示屏作为输入的来源,因此使当前显示界面10中的至少部分元素以第二清晰程度显示;而当电子设备100连接至手柄时,可以认为用户会使用手柄操作而不会手持电子设备100操作,因此距离电子设备100较远,可以触发显示界面10中至少部分元素的尺寸变大,即以第一清晰程度显示,以便于用户在距离电子设备100较远的位置可以看清显示界面10中的信息。In a possible implementation manner, the above-mentioned step 1021 is to determine the source of the input in the input mode. When the input mode is a non-touch screen input device as the source of the input, go to step 1022 to make at least one of the current display interface 10 The process of displaying some elements with the first degree of clarity includes: when connected to a non-touch screen input device, at least some elements in the current display interface 10 are displayed with the first degree of clarity; the above step 1021, determine the input method in the input mode source, when the input mode is the touch screen as the source of input, enter step 1023, and the process of displaying at least some elements in the current display interface 10 with the second degree of clarity includes: when not connected to a non-touch screen When the device is input, at least part of the elements in the current display interface 10 are displayed with the second degree of clarity. Different from the above-mentioned timing when the input is acquired as a trigger to improve the clarity of elements, when the electronic device 100 is connected to an external device can be used as a trigger to improve the clarity of elements, for example, the non-touch screen input device is a handle , when the electronic device 100 is not connected to an external non-touch screen input device, it can be considered by default that the user will use the touch screen as the source of input, so at least some elements in the current display interface 10 are displayed in the second clarity level display; and when the electronic device 100 is connected to the handle, it can be considered that the user will use the handle to operate instead of holding the electronic device 100 to operate, so the distance from the electronic device 100 can trigger the size of at least some elements in the display interface 10 to become larger, That is, it is displayed with the first degree of clarity, so that the user can clearly see the information in the display interface 10 at a position far from the electronic device 100 .
在一种可能的实施方式中,上述步骤1021、确定输入方式中输入的来源,当输入方式为非触控显示屏输入设备作为输入的来源时,进入步骤1022、使当前显示界面10中的至少部分元素以第一清晰程度显示的过程包括:当非触控显示屏输入设备作为待输入设备时,使当前显示界面10中的至少部分元素以第一清晰程度显示;上述步骤1021、确定输入方式中输入的来源,当输入方式为触控显示屏作为输入的来源时,进入步骤1023、使当前显示界面10中的至少部分元素以第二清晰程度显示的过程包括:当触控显示屏作为待输入设备时,使当前显示界面10中的至少部分元素以第二清晰程度显示。例如,非触控显示屏输入设备为麦克风,在默认的输入模式中,触控显示屏作为待输入设备,因此使显示界面10中的至少部分元素以第二清晰程度显示,而当输入方式切换为语音输入模式时,会切换至麦克风作为待输入设备,因此,可以在切换至语音输入模式时,触发提高显示界面10中元素的清晰程度,以第一清晰程度显示。In a possible implementation manner, the above-mentioned step 1021 is to determine the source of the input in the input mode. When the input mode is a non-touch screen input device as the source of the input, go to step 1022 to make at least one of the current display interface 10 The process of displaying some elements with the first degree of clarity includes: when the non-touch screen input device is used as the device to be input, at least some elements in the current display interface 10 are displayed with the first degree of clarity; the above step 1021, determine the input method The source of the input, when the input mode is the touch screen as the source of the input, enter step 1023, and the process of displaying at least some elements in the current display interface 10 with the second degree of clarity includes: when the touch screen is used as the source of the input When the device is input, at least part of the elements in the current display interface 10 are displayed with the second degree of clarity. For example, the input device of the non-touch display screen is a microphone. In the default input mode, the touch display screen is used as the device to be input, so that at least some elements in the display interface 10 are displayed with the second degree of clarity, and when the input mode is switched When it is in the voice input mode, it will switch to the microphone as the device to be input. Therefore, when switching to the voice input mode, it can be triggered to increase the clarity of the elements in the display interface 10 and display them with the first clarity.
在一种可能的实施方式中,如图7和图8所示,电子设备100为投屏源端设备,投屏源端设备通信连接于投屏设备200,投屏源端设备的当前显示界面10投屏显示于投屏设备200的投屏窗口20中,投屏窗口20中的显示内容和投屏源端设备的当前显示界面10中的显示内容相同,基于投屏源端设备和投屏设备200之间的通信连接,用户可以通过投屏设备200来实现与投屏源端设备之间的交互控制。In a possible implementation manner, as shown in FIG. 7 and FIG. 8 , the electronic device 100 is a screen projection source device, and the screen projection source device is connected to the screen projection device 200 through communication, and the current display interface of the screen projection source device is 10 The screen projection is displayed in the screen projection window 20 of the screen projection device 200. The display content in the screen projection window 20 is the same as the display content in the current display interface 10 of the screen projection source device. Based on the screen projection source device and the screen projection The communication connection between the devices 200 allows the user to realize interactive control with the source device for screen projection through the screen projection device 200 .
具体地,投屏源端设备通过在投屏设备200上投屏的方式实现多屏协同的场景,用户可以在投屏设备200上操作投屏源端设备,在多屏协同的场景下,用户会在投屏设备200上观看投屏源端设备的显示界面,此时,在步骤10211中,当投屏源端设备获取到输入时,确定当前输入的来源,如果当前输入的来源为触控显示屏,则使显示界面10中元素以第二清晰程度显示,这里的触控显示屏包括投屏源端设备本身的触控显示屏,也包括投屏设备200的触控显示屏,也就是说,如果投屏设备200具有触控显示屏,且用户基于投屏设备200的触控显示屏对投屏窗口20中的显示界面进行触控操作,投屏源端设备的显示界面10中的元素会保持以第二清晰程度显示;如果投屏源端设备当前输入的来源为非触控显示屏输入设备,则会使当前显示界面10中至少部分元素的清晰程度提高,以第一清晰程度显示,由于投屏源端设备的显示界面10被投屏到投屏设备200上,因此,投屏设备200上投屏窗口20所述显示的显示界面中的元素的清晰程度也会提高,以第一清晰程度显示,以便于用户距离投屏设备200较远处观看,这里的非触控显示屏输入设备可以是与投屏源端设备连接的设备,也可以是与投屏设备200连接的设备,可以是外接设备,也可以是属于投屏设备200本身的控制设备,例如,投屏设备200为笔记本电脑时,如果用户通过笔记本电脑显示屏的触控操作在投屏窗口20进行输入,说明用户距离笔记本电脑的触控显示屏较近,则投屏源端设备显示界面中的元素以第二清晰程度显示,以便于用户近距离观看,而如果用户通过笔记本电脑的键盘操作在投屏窗口20进行输入,说明用户距离笔记本电脑的触控显示屏较远,则使投屏源端设备显示界面中的元素清晰程度提高,以第一清晰程度显示,以便于用户距离笔记本电脑的触控显示屏较远处可以看清投屏窗口20中显示界面中的信息。也就是说,虽然界面元素控制方法的执行主体为投屏源端设备,但是通过投屏源端设备和投屏设备200之间的通信,投屏源端设备可以判断当前输入的来源是投屏设备200的触控显示屏还是投屏设备200的其他部件,或者是投屏设备200所连接的外接设备。Specifically, the screen projection source device realizes the scenario of multi-screen collaboration by projecting the screen on the screen projection device 200. The user can operate the screen projection source device on the screen projection device 200. In the multi-screen collaboration scenario, the user Will watch the display interface of the screen projection source device on the screen projection device 200. At this time, in step 10211, when the screen projection source device obtains the input, determine the source of the current input. If the source of the current input is touch The display screen enables the elements in the display interface 10 to be displayed with a second degree of clarity. The touch display screen here includes the touch screen display screen of the screen projection source device itself, and also includes the touch screen display screen of the screen projection device 200, that is, In other words, if the screen projection device 200 has a touch screen, and the user performs a touch operation on the display interface in the screen projection window 20 based on the touch screen screen of the screen projection device 200, the display interface 10 of the screen projection source device The elements will remain displayed at the second clarity level; if the source of the current input from the projection source device is a non-touch screen input device, the clarity of at least some elements in the current display interface 10 will be improved, and the first clarity level will be used. It is shown that since the display interface 10 of the screen projection source device is projected onto the screen projection device 200, the clarity of the elements in the display interface displayed in the screen projection window 20 on the screen projection device 200 will also be improved, so that The first level of clarity is displayed so that the user can watch at a distance from the screen projection device 200. The non-touch display screen input device here can be a device connected to the screen projection source device or connected to the screen projection device 200. The device can be an external device, or it can be a control device belonging to the screen projection device 200 itself. For example, when the screen projection device 200 is a laptop computer, if the user performs an input on the screen projection window 20 through a touch operation on the screen of the laptop computer, It means that the user is relatively close to the touch screen of the laptop, and the elements in the display interface of the screen-casting source device will be displayed in the second level of clarity, so that the user can watch at a close distance. Window 20 performs input, indicating that the user is far away from the touch screen of the notebook computer, so that the clarity of the elements in the display interface of the screen projection source device is improved, and the elements are displayed at the first level of clarity, so that the user is far away from the touch screen of the notebook computer. The information in the display interface in the screen projection window 20 can be seen clearly at a distance from the display screen. That is to say, although the execution subject of the interface element control method is the screen projection source device, through the communication between the screen projection source device and the screen projection device 200, the screen projection source device can determine that the source of the current input is the screen projection The touch display screen of the device 200 is also another component of the screen projection device 200 , or an external device connected to the screen projection device 200 .
另外,结合图6b、图7和图8所示,在多屏协同的场景下,在步骤1022、使当前显示界面10中至少部分元素以第一清晰程度显示之后,当非触控显示屏输入设备断开连接时,或者,当获取到触控操作时,即在步骤10211中确定当前输入的来源为触控显示屏时,使当前显示界面10中至少部分元素的清晰程度降低,以第二清晰程度显示,触控操作为基于投屏源端设备或投屏设备200的触控显示屏的触控操作。例如,假设投屏源端设备为手机,投屏设备200为笔记本电脑,非触控显示屏输入设备为键盘,当手机投屏至笔记本电脑上实现多屏协同时,笔记本电脑通过蓝牙连接外接键盘,用户通过笔记本电脑所连接的外接键盘在投屏窗口20进行输入时,投屏源端设备对应的显示界面10中至少部分元素以第一清晰程度显示,以使投屏窗口20中对应元素以第一清晰程度显示,以便于用户在距离笔记本电脑较远的位置观看,此时, 如果用户断开键盘与笔记本电脑之间的连接,或者用户通过笔记本电脑的触控显示屏进行触控操作来实现在投屏窗口进行输入,或者用户通过手机本身的触控显示屏进行触控操作的输入,则手机显示界面10中的元素的清晰程度降低,以第二清晰程度显示,使投屏窗口20中对应元素的清晰程度降低,以第二清晰程度显示,以便于用于在距离笔记本电脑或手机较近的位置观看。其中,对于输入来源来自于具体哪个触控显示屏还是非触控显示输入设备的判断方式与上述实施例类似,对于手机来说,在投屏笔记本电脑的过程中,会与笔记本电脑之间建立通信连接,不论是通过笔记本电脑来接收输入还是通过手机接收输入,都可以基于手机本身系统所提供的监听接口来判断输入的来源,对于笔记本电脑来说,在投屏窗口20之外所进行的输入属于笔记本电脑本身的输入,不会作为手机的输入,而通过笔记本电脑在投屏窗口20所进行的输入,则会作为手机的输入,如果通过笔记本的触控显示屏在投屏窗口20进行触控操作,则会产生触控事件,手机会通过监听接口监听到触控事件,与来自于手机本身的触控显示屏所产生的触控事件相同,处理逻辑也相同;如果通过笔记本电脑本身的键盘或者外接键盘基于投屏窗口20进行输入,则会产生按键事件,手机会通过监听接口监听到按键事件,与来自于手机所连接的键盘所产生的按键事件相同,处理逻辑也相同。In addition, as shown in FIG. 6b, FIG. 7 and FIG. 8, in the scenario of multi-screen collaboration, after step 1022, after at least some elements in the current display interface 10 are displayed with the first degree of clarity, when the non-touch screen input When the device is disconnected, or when the touch operation is obtained, that is, when it is determined in step 10211 that the source of the current input is the touch screen, the clarity of at least some elements in the current display interface 10 is reduced, and the second The clarity shows that the touch operation is based on the touch screen of the screen projection source device or the screen projection device 200 . For example, suppose the screen projection source device is a mobile phone, the screen projection device 200 is a notebook computer, and the non-touch display input device is a keyboard. When the mobile phone screen is projected to the notebook computer to achieve multi-screen collaboration, the notebook computer is connected to an external keyboard via Bluetooth. When the user inputs in the screen projection window 20 through an external keyboard connected to the laptop computer, at least some elements in the display interface 10 corresponding to the screen projection source device are displayed with a first degree of clarity, so that the corresponding elements in the screen projection window 20 are displayed with The first level of clarity is displayed so that the user can watch at a position far away from the notebook computer. Realize input in the screen projection window, or the user performs touch operation input through the touch display screen of the mobile phone itself, then the clarity of the elements in the display interface 10 of the mobile phone is reduced, and the elements in the screen projection window 20 are displayed with a second clarity. The corresponding element in is reduced in sharpness and displayed in a second sharpness for viewing closer to a laptop or mobile phone. Among them, the method of judging whether the input source comes from a specific touch display or a non-touch display input device is similar to the above-mentioned embodiment. Communication connection, whether receiving input through a laptop or a mobile phone, can determine the source of the input based on the monitoring interface provided by the mobile phone's own system. The input belongs to the input of the notebook computer itself, and will not be used as the input of the mobile phone, but the input made by the notebook computer in the screen projection window 20 will be used as the input of the mobile phone. Touch operation will generate a touch event, and the mobile phone will monitor the touch event through the monitoring interface, which is the same as the touch event generated by the touch screen of the mobile phone itself, and the processing logic is the same; if the laptop itself If the keyboard or external keyboard is input based on the projection window 20, a key event will be generated, and the mobile phone will monitor the key event through the monitoring interface, which is the same as the key event generated by the keyboard connected to the mobile phone, and the processing logic is also the same.
在一种可能的实施方式中,如图7和图8所示,在多屏协同的场景下,使当前显示界面10中的至少部分元素以第一清晰程度显示以及使当前显示界面10中的至少部分元素以第二清晰程度显示时,投屏设备200的投屏窗口20的尺寸和分辨率不变。也就是说,本申请实施例中的界面元素控制方法,不需要改变投屏设备200中投屏窗口20的显示方式,只需要按照投屏的方式在投屏窗口20中显示投屏源端设备的显示界面10即可,无需对投屏设备200进行改进,仅仅改变投屏源端设备自身显示界面10的元素清晰程度即可使投屏窗口20中的元素的清晰程度对应改变。In a possible implementation manner, as shown in FIG. 7 and FIG. 8 , in the scenario of multi-screen collaboration, at least some elements in the current display interface 10 are displayed with the first degree of clarity and the elements in the current display interface 10 are When at least some elements are displayed with the second clarity level, the size and resolution of the screen projection window 20 of the screen projection device 200 remain unchanged. That is to say, the interface element control method in the embodiment of the present application does not need to change the display mode of the screen projection window 20 in the screen projection device 200, but only needs to display the screen projection source device in the screen projection window 20 according to the screen projection method. Only the display interface 10 of the screen projection device 200 does not need to be improved, and the clarity of the elements in the screen projection window 20 can be correspondingly changed by only changing the clarity of the elements on the display interface 10 of the screen projection source device itself.
在一种可能的实施方式中,非触控显示屏输入设备的连接方式包括无线连接和有线连接。例如可以通过蓝牙或USB接口连接等,需要说明的是,对于图7和图8所示的多屏协同的场景下,非触控显示屏输入设备可以为与投影源端设备连接的输入设备,也可以为与投屏设备200所连接的输入设备。In a possible implementation manner, the connection manner of the non-touch screen input device includes wireless connection and wired connection. For example, it can be connected through Bluetooth or USB interface, etc. It should be noted that, for the multi-screen collaboration scenarios shown in Figure 7 and Figure 8, the non-touch display screen input device can be an input device connected to the projection source device, It may also be an input device connected to the screen projection device 200 .
在一种可能的实施方式中,上述当前输入的来源为非触控显示屏输入设备时,进入步骤1022、使当前显示界面10中至少部分元素以第一清晰程度显示的过程包括:当前输入的来源为外接麦克风,且电子设备100处于非手持状态时,使当前显示界面10中至少部分元素以第一清晰程度显示。In a possible implementation manner, when the source of the above-mentioned current input is a non-touch screen input device, the process of entering step 1022 and displaying at least some elements in the current display interface 10 with a first degree of clarity includes: When the source is an external microphone and the electronic device 100 is in a non-handheld state, at least some elements in the current display interface 10 are displayed with a first degree of clarity.
具体地,用户可能会基于不同的非触控显示屏输入设备进行输入,最常见的非触控显示屏输入设备为键盘,另外比较常见的非触控显示屏输入设备为麦克风,以下结合基于键盘进行输入的过程以及基于外接麦克风进行输入的过程,以一个较为完整的实施例对界面元素控制方法进行说明,例如如图9所示,上述当前输入的来源为非触控显示屏输入设备时,使当前显示界面10中的至少部分元素以第一清晰程度显示的过程包括:步骤201、确定当前输入的来源是否为键盘,若是,则进入步骤1022,若否,则进入步骤202;步骤202、确定是否当前输入的来源为外接麦克风,且电子设备100处于非手持状态,若是,则进入步骤1022,若否,则进入步骤1023,若否的 条件为以下三个条件中的任意一者:条件1、当前输入的来源为外接麦克风,且电子设备100处于手持状态;条件2、当前输入的来源不是外接麦克风,且电子设备100处于非手持状态;条件3、当前输入的来源不是外接麦克风,且电子设备100处于手持状态。也就是说,在判断通过外接麦克风进行语音输入的前提下,需要进一步判断电子设备100是否处于手持状态,如果电子设备100处于手持状态,即用户手持手机进行语音输入的场景,使显示界面10中至少部分元素以第二清晰程度显示,便于用户近距离观看即可,而如果判断通过外接麦克风进行语音输入的前提下,且电子设备100处于非手持状态,即说明是用户距离电子设备100较远的场景下进行语音输入,因此进入步骤1022、使当前显示界面10中至少部分元素以第一清晰程度显示,以适合用户远距离观看。图9中的步骤1022、步骤1023的具体过程与上述实施例相同,在此不再赘述。其中,对于电子设备100是否处于手持状态,具体可以根据电子设备100上的传感器来确定,例如电子设备100上可以设置有握力传感器,根据电子设备100上的握力传感器来确定,如果握力传感器检测到的握力达到阈值,则判断电子设备100处于手持状态,如果握力传感器检测到的握力未达到阈值,则判断电子设备100处于非手持状态,当然,可以理解地,也可以通过其他的方式,例如通过其他类型的设置在电子设备100上的传感器来确定电子设备是否处于手持状态。需要说明的是,手机等电子设备100本身通常具有麦克风,但是对于通过手机内置麦克风进行语音输入的场景,用户距离手机可能不会太远,因此,在本实施例中,需要同时确定当前输入的来源为外接麦克风,且电子设备100处于非手持状态,以确定用户正在距离电子设备100较远处通过例如蓝牙麦克风进行语音输入,因此控制显示界面10中至少部分元素以第一清晰程度显示,以适合用户远距离观看。Specifically, the user may perform input based on different non-touch display input devices. The most common non-touch display input device is a keyboard, and the more common non-touch display input device is a microphone. The following combination is based on the keyboard The process of inputting and the process of inputting based on an external microphone are described in a relatively complete embodiment to describe the interface element control method. For example, as shown in FIG. 9, when the source of the above-mentioned current input is a non-touch screen input device, The process of making at least some elements in the current display interface 10 displayed with a first degree of clarity includes: step 201, determining whether the source of the current input is a keyboard, if so, then entering step 1022, if not, then entering step 202; step 202, Determine whether the source of the current input is an external microphone, and the electronic device 100 is in a non-handheld state, if so, then enter step 1022, if not, then enter step 1023, if no condition is any one of the following three conditions: condition 1. The source of the current input is an external microphone, and the electronic device 100 is in a handheld state; condition 2, the source of the current input is not an external microphone, and the electronic device 100 is in a non-handheld state; condition 3, the source of the current input is not an external microphone, and The electronic device 100 is in a handheld state. That is to say, on the premise of judging the voice input through the external microphone, it is necessary to further judge whether the electronic device 100 is in the hand-held state. At least some elements are displayed with the second level of clarity, which is convenient for the user to watch at a close distance. However, if it is determined that the voice input is performed through an external microphone, and the electronic device 100 is in a non-handheld state, it means that the user is far away from the electronic device 100 Voice input is performed in the scene, so go to step 1022, and at least some elements in the current display interface 10 are displayed with the first degree of clarity, which is suitable for the user to watch from a distance. The specific process of step 1022 and step 1023 in FIG. 9 is the same as that of the above-mentioned embodiment, and will not be repeated here. Among them, whether the electronic device 100 is in a hand-held state can be specifically determined according to the sensor on the electronic device 100. For example, a grip sensor can be provided on the electronic device 100, and it can be determined according to the grip sensor on the electronic device 100. If the grip sensor detects If the grip strength of the grip sensor reaches the threshold, it is judged that the electronic device 100 is in a hand-held state; if the grip strength detected by the grip sensor does not reach the threshold, it is judged that the electronic device 100 is in a non-hand-held state. Other types of sensors are provided on the electronic device 100 to determine whether the electronic device is in a hand-held state. It should be noted that the electronic device 100 such as a mobile phone usually has a microphone itself, but for the scene of voice input through the built-in microphone of the mobile phone, the user may not be too far away from the mobile phone. Therefore, in this embodiment, it is necessary to determine the current input The source is an external microphone, and the electronic device 100 is in a non-handheld state, so as to determine that the user is performing voice input through, for example, a Bluetooth microphone at a distance from the electronic device 100, so that at least some elements in the control display interface 10 are displayed with a first degree of clarity, to Suitable for users to watch from a distance.
在一种可能的实施方式中,非手持状态为静止状态。对于电子设备100,例如手机来说,当手机处于手持状态时,电子设备通常会发生移动或者改变姿态等,因此,根据电子设备100是否处于静止状态即可判断电子设备100是否处于手持状态,如果电子设备100处于静止状态,即确定电子设备100处于非手持状态,如果电子设备100处于非静止状态,即确定电子设备100处于手持状态。电子设备100是否处于静止状态可以例如根据电子设备100上的加速度传感器或陀螺仪等传感器来判断。In a possible implementation manner, the non-handheld state is a static state. For an electronic device 100, such as a mobile phone, when the mobile phone is in a hand-held state, the electronic device will usually move or change its posture, etc. The electronic device 100 is in a stationary state, that is, it is determined that the electronic device 100 is in a non-handheld state, and if the electronic device 100 is in a non-stationary state, it is determined that the electronic device 100 is in a handheld state. Whether the electronic device 100 is in a static state may be determined, for example, according to sensors such as an acceleration sensor or a gyroscope on the electronic device 100 .
本申请实施例还提供一种界面元素控制装置,用于电子设备,装置包括:获取模块,用于获取输入方式;显示模块,用于当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示;显示模块还用于,当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的至少部分元素以第二清晰程度显示,第一清晰程度高于第二清晰程度。其中,界面元素控制装置可以应用上述任意实施例中的界面元素控制方法,其具体过程和原理与上述实施例相同,在此不再赘述。The embodiment of the present application also provides an interface element control device, which is used in electronic equipment, and the device includes: an acquisition module, which is used to acquire an input mode; a display module, which is used as an input source when the input mode is a non-touch screen input device When, at least some elements in the current display interface are displayed with the first degree of clarity; the display module is also used to display at least some elements in the current display interface with the second degree of clarity when the input method is the touch screen as the input source. The sharpness shows that the first sharpness is higher than the second sharpness. Wherein, the interface element control device may apply the interface element control method in any of the above-mentioned embodiments, and its specific process and principle are the same as those in the above-mentioned embodiments, and will not be repeated here.
在一种可能的实施方式中,显示模块具体用于,当获取到输入时,确定当前输入的来源,当前输入的来源为非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示;显示模块具体还用于,当获取到输入时,确定当前输入的来源,当前输入的来源为触控显示屏时,使当前显示界面中的至少部分元素以第二清晰程度显示。In a possible implementation manner, the display module is specifically configured to, when the input is obtained, determine the source of the current input, and when the source of the current input is a non-touch screen input device, make at least some elements in the current display interface Display at the first level of clarity; the display module is also specifically used to determine the source of the current input when the input is obtained, and when the source of the current input is a touch screen, make at least some elements in the current display interface at the second level of clarity degree display.
在一种可能的实施方式中,显示模块具体用于,当连接至非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示;显示模块具体还用于,当未连接至非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第二清晰程度显示。In a possible implementation manner, the display module is specifically configured to, when connected to a non-touch display screen input device, display at least some elements in the current display interface with a first degree of clarity; the display module is also specifically configured to, When not connected to the non-touch display input device, at least some elements in the currently displayed interface are displayed at the second clarity level.
在一种可能的实施方式中,显示模块具体用于,当非触控显示屏输入设备作为待输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示;显示模块具体还用于,当触控显示屏作为待输入设备时,使当前显示界面中的至少部分元素以第二清晰程度显示。In a possible implementation manner, the display module is specifically configured to, when a non-touch display screen input device is used as a device to be input, display at least some elements in the current display interface with a first degree of clarity; the display module is also specifically configured to Therefore, when the touch screen is used as the device to be input, at least some elements in the current display interface are displayed with the second degree of clarity.
在一种可能的实施方式中,第一清晰程度高于第二清晰程度包括以下各项之一或任意组合:第一清晰程度下的文字字号大于第二清晰程度下的文字字号、第一清晰度下的文字字体相对于第二清晰度下的文字字体加粗、第一清晰度下的控件图案尺寸大于第二清晰度下的控件图案尺寸、第一清晰度下的控件图案线条相对于第二清晰度下的控件图案线条加粗、第一清晰度下的元素颜色相对第二清晰度下的元素颜色加深。In a possible implementation manner, the first clarity level is higher than the second clarity level includes one or any combination of the following items: the text size at the first clarity level is larger than the text size at the second clarity level, the first clarity level The text font in the first definition is thicker than the text in the second definition, the control pattern size in the first definition is larger than the control pattern size in the second definition, and the control pattern line in the first definition is larger than that in the second definition. The line of the control pattern in the second definition is thicker, and the color of the element in the first definition is darker than that in the second definition.
在一种可能的实施方式中,显示模块还用于,当非触控显示屏输入设备断开连接时,使当前显示界面中的至少部分元素的清晰程度降低。In a possible implementation manner, the display module is further configured to, when the non-touch display screen input device is disconnected, reduce the clarity of at least some elements in the current display interface.
在一种可能的实施方式中,显示模块具体用于,当非触控显示屏输入设备断开连接时,使当前显示界面中的至少部分元素以第二清晰程度显示。In a possible implementation manner, the display module is specifically configured to, when the non-touch display screen input device is disconnected, display at least some elements in the current display interface with the second degree of clarity.
在一种可能的实施方式中,非触控显示屏输入设备包括键盘、鼠标、手写板、手柄、麦克风和摄像头。In a possible implementation manner, the non-touch display input device includes a keyboard, a mouse, a tablet, a handle, a microphone, and a camera.
在一种可能的实施方式中,显示模块具体用于,当前输入的来源为外接键盘时,使当前显示界面中至少部分元素以第一清晰程度显示。In a possible implementation manner, the display module is specifically configured to, when the source of the current input is an external keyboard, display at least some elements in the current display interface with a first degree of clarity.
在一种可能的实施方式中,显示模块具体用于,当前输入的来源为外接麦克风,且电子设备处于非手持状态时,使当前显示界面10中至少部分元素以第一清晰程度显示。In a possible implementation manner, the display module is specifically configured to display at least some elements in the current display interface 10 with a first degree of clarity when the source of the current input is an external microphone and the electronic device is in a non-handheld state.
在一种可能的实施方式中,非手持状态为静止状态。In a possible implementation manner, the non-handheld state is a static state.
在一种可能的实施方式中,电子设备100为投屏源端设备,投屏源端设备通信连接于投屏设备200,投屏源端设备的当前显示界面10投屏显示于投屏设备200的投屏窗口20中。In a possible implementation manner, the electronic device 100 is a screen projection source device, and the screen projection source device is connected to the screen projection device 200 through communication, and the current display interface 10 of the screen projection source device is projected and displayed on the screen projection device 200 in the screen-casting window 20 of .
在一种可能的实施方式中,使当前显示界面中的至少部分元素以第一清晰程度显示以及使当前显示界面中的至少部分元素以第二清晰程度显示时,投屏设备200的投屏窗口20的尺寸和分辨率不变。In a possible implementation manner, when at least some elements in the current display interface are displayed with a first clarity level and at least some elements in the current display interface are displayed with a second clarity level, the screen projection window of the screen projection device 200 20 size and resolution unchanged.
应理解以上界面元素控制装置的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块以软件通过处理元件调用的形式实现,部分模块通过硬件的形式实现。例如,获取模块和显示模块中的任意一者可以为单独设立的处理元件,也可以集成在界面元素控制装置中,例如集成在界面元素控制装置的某一个芯片中实现,此外,也可以以程序的形式存储于界面元素控制装置的存储器中,由界面元素控制装置的某一个处理元件调用并执行以上各个模块的功能。其它模块的实现与之类似。此外这些模块全部或部分可 以集成在一起,也可以独立实现。这里所述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be understood that the above division of interface element control devices is only a division of logical functions, which may be fully or partially integrated into one physical entity or physically separated during actual implementation. And these modules can all be implemented in the form of software called by the processing element; they can also be implemented in the form of hardware; some modules can also be implemented in the form of software called by the processing element, and some modules can be implemented in the form of hardware. For example, any one of the acquisition module and the display module can be a separate processing element, and can also be integrated in the interface element control device, such as integrated in a chip of the interface element control device. In addition, it can also be implemented in a program The form of is stored in the memory of the interface element control device, and is invoked by a certain processing element of the interface element control device to execute the functions of the above modules. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, and can also be implemented independently. The processing element mentioned here may be an integrated circuit with signal processing capability. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
例如,获取模块和显示模块这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,ASIC),或,一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)等。再如,当以上某个模块通过处理元件调度程序的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)或其它可以调用程序的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。For example, the acquisition module and the display module can be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC), or, one or more micro A processor (digital signal processor, DSP), or, one or more Field Programmable Gate Arrays (Field Programmable Gate Array, FPGA), etc. For another example, when one of the above modules is implemented in the form of a processing element scheduler, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processors that can call programs. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
本申请实施例还提供一种界面元素控制装置,包括:处理器和存储器,存储器用于存储至少一条指令,指令被处理器执行时,使得界面元素控制装置实现上述任意实施例中的界面元素控制方法。界面元素控制方法的具体过程和原理与上述实施例相同,在此不再赘述。The embodiment of the present application also provides an interface element control device, including: a processor and a memory, the memory is used to store at least one instruction, and when the instruction is executed by the processor, the interface element control device realizes the interface element control in any of the above embodiments method. The specific process and principle of the interface element control method are the same as those in the above-mentioned embodiments, and will not be repeated here.
处理器的数量可以为一个或多个,处理器和存储器可以通过总线或者其他方式连接。存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本申请实施例中的界面元素控制装置对应的程序指令/模块。处理器通过运行存储在存储器中的非暂态软件程序、指令以及模块,从而执行各种功能应用以及数据处理,即实现上述任意方法实施例中的方法。存储器可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;以及必要数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。这里的处理器可以为图3中的处理器110。The number of processors may be one or more, and the processors and memory may be connected through a bus or in other ways. As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions/modules corresponding to the interface element control device in the embodiment of the present application. The processor executes various functional applications and data processing by running non-transitory software programs, instructions and modules stored in the memory, that is, implements the method in any of the above method embodiments. The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function; and necessary data and the like. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices. The processor here may be the processor 110 in FIG. 3 .
本申请实施例还提供一种电子设备,包括触控显示屏,以及上述任意实施例中的界面元素控制装置。电子设备例如可以为图3中的电子设备100,触控显示屏为其中的显示屏194。界面元素控制装置的具体原理与上述实施例相同,在此不再赘述。电子设备例如可以为手机、平板电脑、智能手表、手环等。An embodiment of the present application further provides an electronic device, including a touch display screen, and the device for controlling interface elements in any of the above embodiments. The electronic device can be, for example, the electronic device 100 in FIG. 3 , and the touch display screen is the display screen 194 therein. The specific principle of the device for controlling interface elements is the same as that of the above-mentioned embodiment, and will not be repeated here. The electronic device may be, for example, a mobile phone, a tablet computer, a smart watch, a bracelet, and the like.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行上述任意实施例中的界面元素控制方法。界面元素控制方法的具体过程和原理与上述实施例相同,在此不再赘述。An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when running on a computer, the computer is made to execute the interface element control method in any of the above-mentioned embodiments. The specific process and principle of the interface element control method are the same as those in the above-mentioned embodiments, and will not be repeated here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质 可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device including a server, a data center, and the like integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk).
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate that A exists alone, A and B exist simultaneously, or B exists alone. Among them, A and B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, and c may be single or multiple.
以上仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, there may be various modifications and changes in the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application shall be included within the protection scope of this application.

Claims (17)

  1. 一种界面元素控制方法,其特征在于,用于电子设备,所述方法包括:A method for controlling an interface element, characterized in that it is used for an electronic device, the method comprising:
    获取输入方式;Get the input method;
    当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示;When the input method is a non-touch screen input device as the input source, at least some elements in the current display interface are displayed with the first degree of clarity;
    当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的所述至少部分元素以第二清晰程度显示,所述第一清晰程度高于所述第二清晰程度。When the input mode is a touch screen as an input source, at least some elements in the current display interface are displayed with a second degree of clarity, and the first degree of clarity is higher than the second degree of clarity.
  2. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    所述当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:When the input mode is a non-touch screen input device as the input source, the process of displaying at least some elements in the current display interface with the first degree of clarity includes:
    当获取到输入时,确定当前输入的来源,当前输入的来源为非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示;When the input is obtained, the source of the current input is determined, and when the source of the current input is a non-touch display input device, at least some elements in the current display interface are displayed with the first degree of clarity;
    所述当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的所述至少部分元素以第二清晰程度显示的过程包括:When the input mode is a touch screen as the input source, the process of displaying at least some elements in the current display interface with the second degree of clarity includes:
    当获取到输入时,确定当前输入的来源,当前输入的来源为触控显示屏时,使当前显示界面中的所述至少部分元素以第二清晰程度显示。When the input is obtained, the source of the current input is determined, and when the source of the current input is a touch screen, at least some elements in the current display interface are displayed with a second degree of clarity.
  3. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    所述当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:When the input mode is a non-touch screen input device as the input source, the process of displaying at least some elements in the current display interface with the first degree of clarity includes:
    当连接至非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示;When connected to a non-touch display input device, display at least some elements of the currently displayed interface at a first level of clarity;
    所述当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的所述至少部分元素以第二清晰程度显示的过程包括:When the input mode is a touch screen as the input source, the process of displaying at least some elements in the current display interface with the second degree of clarity includes:
    当未连接至非触控显示屏输入设备时,使当前显示界面中的所述至少部分元素以第二清晰程度显示。When not connected to the non-touch display screen input device, the at least some elements in the current display interface are displayed with the second degree of clarity.
  4. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    所述当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:When the input mode is a non-touch screen input device as the input source, the process of displaying at least some elements in the current display interface with the first degree of clarity includes:
    当非触控显示屏输入设备作为待输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示;When the non-touch screen input device is used as the device to be input, at least some elements in the current display interface are displayed with the first degree of clarity;
    所述当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的所述至少部分元素以第二清晰程度显示的过程包括:When the input mode is a touch screen as the input source, the process of displaying at least some elements in the current display interface with the second degree of clarity includes:
    当触控显示屏作为待输入设备时,使当前显示界面中的所述至少部分元素以第二清晰程度显示。When the touch display screen is used as the device to be input, the at least some elements in the current display interface are displayed with the second degree of clarity.
  5. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    所述第一清晰程度高于所述第二清晰程度包括以下各项之一或任意组合:Said first degree of clarity being higher than said second degree of clarity comprises one or any combination of the following:
    所述第一清晰程度下的文字字号大于所述第二清晰程度下的文字字号、所述第一清晰度下的文字字体相对于所述第二清晰度下的文字字体加粗、所述第一清晰度下的控件图案尺寸大于所述第二清晰度下的控件图案尺寸、所述第一清晰度下的控件图案 线条相对于所述第二清晰度下的控件图案线条加粗、所述第一清晰度下的元素颜色相对所述第二清晰度下的元素颜色加深。The font size of the text in the first clarity level is larger than the font size of the text in the second clarity level, the font size of the text in the first clarity level is thicker than that in the second clarity level, and the font size of the text in the second clarity level The size of the control pattern in the first definition is larger than the size of the control pattern in the second definition, the lines of the control pattern in the first definition are thicker than the lines of the control pattern in the second definition, the The color of the element in the first definition is darker than the color of the element in the second definition.
  6. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    在所述当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程之后,还包括:After the process of displaying at least some elements in the current display interface with the first degree of clarity when the input mode is a non-touch screen input device as the input source, it also includes:
    当所述非触控显示屏输入设备断开连接时,使当前显示界面中的至少部分元素的清晰程度降低。When the non-touch screen input device is disconnected, the clarity of at least some elements in the current display interface is reduced.
  7. 根据权利要求6所述的方法,其特征在于,The method according to claim 6, characterized in that,
    所述当所述非触控显示屏输入设备断开连接时,使当前显示界面中的至少部分元素的清晰程度降低的过程包括:When the non-touch screen input device is disconnected, the process of reducing the clarity of at least some elements in the current display interface includes:
    当所述非触控显示屏输入设备断开连接时,使当前显示界面中的所述至少部分元素以第二清晰程度显示。When the non-touch screen input device is disconnected, at least some of the elements in the current display interface are displayed with a second degree of clarity.
  8. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    所述非触控显示屏输入设备包括键盘、鼠标、手写板、手柄、麦克风和摄像头。The non-touch display input device includes a keyboard, a mouse, a tablet, a handle, a microphone and a camera.
  9. 根据权利要求2所述的方法,其特征在于,The method according to claim 2, characterized in that,
    所述当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:When the input mode is a non-touch screen input device as the input source, the process of displaying at least some elements in the current display interface with the first degree of clarity includes:
    当前输入的来源为外接键盘时,使当前显示界面中至少部分元素以第一清晰程度显示。When the current input source is an external keyboard, at least some elements in the current display interface are displayed with the first clarity.
  10. 根据权利要求2所述的方法,其特征在于,The method according to claim 2, characterized in that,
    所述当前输入的来源为非触控显示屏输入设备时,使当前显示界面中的至少部分元素以第一清晰程度显示的过程包括:When the source of the current input is a non-touch screen input device, the process of displaying at least some elements in the current display interface with the first degree of clarity includes:
    当前输入的来源为外接麦克风,且所述电子设备处于非手持状态时,使当前显示界面中至少部分元素以第一清晰程度显示。When the source of the current input is an external microphone and the electronic device is in a non-handheld state, at least some elements in the current display interface are displayed with a first degree of clarity.
  11. 根据权利要求10所述的方法,其特征在于,The method according to claim 10, characterized in that,
    所述非手持状态为静止状态。The non-handheld state is a static state.
  12. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    所述电子设备为投屏源端设备,所述投屏源端设备通信连接于投屏设备,所述投屏源端设备的当前显示界面投屏显示于所述投屏设备的投屏窗口中。The electronic device is a screen projection source device, and the screen projection source device is communicatively connected to the screen projection device, and the current display interface of the screen projection source device is projected and displayed in the screen projection window of the screen projection device .
  13. 根据权利要求12所述的方法,其特征在于,The method according to claim 12, characterized in that,
    所述使当前显示界面中的至少部分元素以第一清晰程度显示以及所述使当前显示界面中的所述至少部分元素以第二清晰程度显示时,所述投屏设备的投屏窗口的尺寸和分辨率不变。The size of the screen projection window of the screen projection device when displaying at least some elements in the current display interface with a first clarity level and displaying at least some elements in the current display interface with a second clarity level and resolution unchanged.
  14. 一种界面元素控制装置,其特征在于,用于电子设备,所述装置包括:An interface element control device, characterized in that it is used in electronic equipment, and the device includes:
    获取模块,用于获取输入方式;Obtain module, used to obtain the input method;
    显示模块,用于当输入方式为非触控显示屏输入设备作为输入的来源时,使当前显示界面中的至少部分元素以第一清晰程度显示;A display module, configured to display at least some elements in the current display interface with a first degree of clarity when the input mode is a non-touch screen input device as the input source;
    所述显示模块还用于,当输入方式为触控显示屏作为输入的来源时,使当前显示界面中的所述至少部分元素以第二清晰程度显示,所述第一清晰程度高于所述第二清 晰程度。The display module is further configured to, when the input mode is a touch screen as an input source, display at least some elements in the current display interface with a second degree of clarity, and the first degree of clarity is higher than the Second degree of clarity.
  15. 一种界面元素控制装置,其特征在于,包括:An interface element control device, characterized in that it comprises:
    处理器和存储器,所述存储器用于存储至少一条指令,所述指令被所述处理器执行时,使得所述界面元素控制装置实现如权利要求1至13中任意一项所述的界面元素控制方法。A processor and a memory, the memory is used to store at least one instruction, and when the instruction is executed by the processor, the interface element control device realizes the interface element control according to any one of claims 1 to 13 method.
  16. 一种电子设备,其特征在于,包括触控显示屏,以及如权利要求14或15所述的界面元素控制装置。An electronic device, characterized by comprising a touch display screen, and the interface element control device according to claim 14 or 15.
  17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如权利要求1至13中任意一项所述的界面元素控制方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when it runs on a computer, the computer executes the interface according to any one of claims 1 to 13 Element control method.
PCT/CN2022/114455 2021-08-25 2022-08-24 Interface element control method and apparatus, electronic device and storage medium WO2023025184A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110984083.2 2021-08-25
CN202110984083.2A CN115729389A (en) 2021-08-25 2021-08-25 Interface element control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023025184A1 true WO2023025184A1 (en) 2023-03-02

Family

ID=85289777

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/114455 WO2023025184A1 (en) 2021-08-25 2022-08-24 Interface element control method and apparatus, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115729389A (en)
WO (1) WO2023025184A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023872A (en) * 2009-09-11 2011-04-20 宏碁股份有限公司 Operating mode determining method and computer system
CN106791028A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of display adjusting method, device and terminal
CN107800868A (en) * 2017-09-21 2018-03-13 维沃移动通信有限公司 A kind of method for displaying image and mobile terminal
US20210098137A1 (en) * 2019-09-30 2021-04-01 Arris Enterprises Llc Smart media device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023872A (en) * 2009-09-11 2011-04-20 宏碁股份有限公司 Operating mode determining method and computer system
CN106791028A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of display adjusting method, device and terminal
CN107800868A (en) * 2017-09-21 2018-03-13 维沃移动通信有限公司 A kind of method for displaying image and mobile terminal
US20210098137A1 (en) * 2019-09-30 2021-04-01 Arris Enterprises Llc Smart media device

Also Published As

Publication number Publication date
CN115729389A (en) 2023-03-03

Similar Documents

Publication Publication Date Title
WO2021004350A1 (en) Transmitting antenna switching method and terminal device
WO2018103525A1 (en) Method and device for tracking facial key point, and storage medium
US10956025B2 (en) Gesture control method, gesture control device and gesture control system
CN109889348B (en) Image sharing method and device
WO2021083256A1 (en) Touch-control response method and electronic device
CN109032486B (en) Display control method and terminal equipment
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
US20230176806A1 (en) Screen Projection Display Method and System, Terminal Device, and Storage Medium
WO2015043194A1 (en) Virtual keyboard display method and apparatus, and terminal
WO2019174541A1 (en) Operation method for mobile terminal and mobile terminal
CN109085968B (en) Screen capturing method and terminal equipment
CN110737374A (en) Operation method and electronic equipment
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN110865745A (en) Screen capturing method and terminal equipment
CN109407948B (en) Interface display method and mobile terminal
CN108681427B (en) Access right control method and terminal equipment
CN108832297B (en) Antenna working method and mobile terminal
CN111050109B (en) Electronic equipment control method and electronic equipment
US20220217799A1 (en) Multi-network access method and terminal device
US20210132791A1 (en) Key control method, storage medium, and smart terminal
WO2019011335A1 (en) Mobile terminal and control method therefor, and readable storage medium
WO2020211596A1 (en) Control method and terminal device
WO2020181956A1 (en) Method for displaying application identifier, and terminal apparatus
WO2021208890A1 (en) Screen capturing method and electronic device
WO2021104285A1 (en) Application control method and electronic 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: 22860530

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE