CN110109595B - Display control method, wearable device and computer-readable storage medium - Google Patents

Display control method, wearable device and computer-readable storage medium Download PDF

Info

Publication number
CN110109595B
CN110109595B CN201910361100.XA CN201910361100A CN110109595B CN 110109595 B CN110109595 B CN 110109595B CN 201910361100 A CN201910361100 A CN 201910361100A CN 110109595 B CN110109595 B CN 110109595B
Authority
CN
China
Prior art keywords
target view
wearable device
current interface
display
view
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910361100.XA
Other languages
Chinese (zh)
Other versions
CN110109595A (en
Inventor
崔永胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910361100.XA priority Critical patent/CN110109595B/en
Publication of CN110109595A publication Critical patent/CN110109595A/en
Application granted granted Critical
Publication of CN110109595B publication Critical patent/CN110109595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/163Wearable computers, e.g. on a belt
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Landscapes

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

Abstract

The display control method disclosed by the invention receives a first operation executed by a user on a display screen of the wearable device, wherein the first operation is used for adjusting the display position of a current interface; responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface; and moving the target view according to the track of the first operation. In addition, the invention also discloses wearable equipment and a computer readable storage medium. The display control method provided by the invention obtains the view positioned at the outermost layer in the slidable views included in the current interface as the target view, and moves the target view according to the track of the first operation, so that the whole view tree of the current interface does not need to be traversed, the time consumed by traversal can be reduced, the process of adjusting the display position of the current interface is smoother, and the use experience of a user is enhanced.

Description

Display control method, wearable device and computer-readable storage medium
Technical Field
The invention relates to the technical field of display, in particular to a display control method, wearable equipment and a computer readable storage medium.
Background
With the continuous development of electronic technology, in recent years, wearable equipment receives people's liking with its light and handy portable characteristic, and wearable equipment can be used for recording each item data in user's daily life, and convenience of customers knows the daily life condition of oneself.
The display screen of wearable equipment is fixed setting usually, in order to satisfy the demand of the different habits of wearing of people, some wearable equipment support the adjustment of display area, support the user promptly to adjust the display area according to the habits of wearing of oneself.
However, in the prior art, the process of adjusting the display area is not smooth enough, and the user experience is affected due to the fact that the display area is blocked easily.
Disclosure of Invention
In view of the above, the present invention provides a display control method, a wearable device and a computer-readable storage medium to solve the above technical problems.
First, in order to achieve the above object, the present invention provides a display control method applied to a wearable device, the method including:
receiving a first operation performed by a user on a display screen of the wearable device, wherein the first operation is used for adjusting the display position of a current interface;
responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface;
and moving the target view according to the track of the first operation.
Optionally, the moving the target view according to the trajectory of the first operation includes:
and when the first operation is finished, acquiring and recording a first sliding distance of the first operation.
Optionally, the method further comprises:
receiving a first trigger operation of a user when a display screen of the wearable device is in a screen extinguishing state, wherein the first trigger operation is used for triggering a display interface of the display screen;
responding to the first trigger operation, and acquiring the first sliding distance;
and displaying an interface according to the first sliding distance.
Optionally, the displaying the interface according to the first sliding distance includes:
determining a display area which is separated from the display screen by a first sliding distance as a target display area;
and displaying an interface in the target display area.
Optionally, the moving the target view according to the trajectory of the first operation includes:
and moving the target view according to the track of the first operation, and shielding a system synchronous refresh request in the process of moving the target view.
Optionally, after moving the target view according to the trajectory of the first operation, the method further includes:
and saving the target view into a global variable.
Optionally, after saving the target view into a global variable, the method further includes:
receiving a second operation executed by a user on the display screen, wherein the second operation is used for adjusting the display position of the current interface;
in response to the second operation, acquiring the target view from the global variable;
and moving the target view according to the track of the second operation.
Optionally, after saving the target view into a global variable, the method further includes:
receiving a content refreshing request aiming at a current interface;
in response to the content refresh request, interface content is refreshed and the target view is removed from the global variables.
Further, to achieve the above object, the present invention also provides a wearable device comprising a memory, at least one processor, and at least one program stored on the memory and executable on the at least one processor, the at least one program implementing the steps of the method of any one of the above when executed by the at least one processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing at least one program executable by a computer, the at least one program causing the computer to perform the steps of the above method when executed by the computer.
Compared with the prior art, the display control method provided by the invention receives a first operation executed by a user on the display screen of the wearable device, wherein the first operation is used for adjusting the display position of the current interface; responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface; and moving the target view according to the track of the first operation. The display control method provided by the invention obtains the view positioned at the outermost layer in the slidable views included in the current interface as the target view, and moves the target view according to the track of the first operation, so that the whole view tree of the current interface does not need to be traversed, the time consumed by traversal can be reduced, the process of adjusting the display position of the current interface is smoother, and the use experience of a user is enhanced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device provided in an embodiment of the present application;
fig. 2 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 3 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 4 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 5 is a flowchart illustrating a display control method according to an embodiment of the present application;
fig. 6 is a second flowchart of a display control method according to an embodiment of the present application;
fig. 7 is a third schematic flowchart of a display control method according to an embodiment of the present application;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The wearable device provided by the embodiment of the invention comprises a mobile terminal such as an intelligent bracelet, an intelligent watch, an intelligent mobile phone and the like. With the continuous development of screen technologies, screen forms such as flexible screens and folding screens appear, and mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a wearable device will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, where the wearable device 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 1:
the rf unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, the rf unit 101 may transmit uplink information to a base station, in addition, the downlink information sent by the base station may be received and then sent to the processor 110 of the wearable device for processing, the downlink information sent by the base station to the radio frequency unit 101 may be generated according to the uplink information sent by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that the information of the wearable device is updated, for example, after detecting that the geographic location where the wearable device is located changes, the base station may send a message notification of the change in the geographic location to the radio frequency unit 101 of the wearable device, and after receiving the message notification, the message notification may be sent to the processor 110 of the wearable device for processing, and the processor 110 of the wearable device may control the message notification to be displayed on the display panel 1061 of the wearable device; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the wearable device through wireless communication to remind a user of updating the application program if the file resource corresponding to the application program in the server is updated after the wearable device finishes downloading the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
In one embodiment, the wearable device 100 may access an existing communication network by inserting a SIM card.
In another embodiment, the wearable device 100 may be configured with an esim card (Embedded-SIM) to access an existing communication network, and the esim card may be used to save an internal space of the wearable device and reduce a thickness of the wearable device.
It is understood that although fig. 1 shows the radio frequency unit 101, it is understood that the radio frequency unit 101 does not belong to the essential constituents of the wearable device, and can be omitted entirely as required within the scope not changing the essence of the invention. The wearable device 100 can implement communication connection with other devices or a communication network through the wifi module 102 alone, which is not limited by the embodiments of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the wearable device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the wearable device 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
In one embodiment, the wearable device 100 includes one or more cameras, and by turning on the cameras, capturing of images can be realized, functions such as photographing and recording can be realized, and the positions of the cameras can be set as required.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
In one embodiment, the wearable device 100 further comprises a proximity sensor, and the wearable device can realize non-contact operation by adopting the proximity sensor, so that more operation modes are provided.
In one embodiment, the wearable device 100 further comprises a heart rate sensor, which, when worn, enables detection of heart rate by proximity to the user.
In one embodiment, the wearable device 100 may further include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be implemented.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
In one embodiment, the display panel 1061 is a flexible display screen, and when the wearable device using the flexible display screen is worn, the screen can be bent, so that the wearable device is more conformable. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, the display panel 1061 of the wearable device may take a rectangular shape to wrap around when worn. In other embodiments, other approaches may be taken.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
In one embodiment, the side of the wearable device 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, and is not limited herein. For example, when receiving a message notification of an application program through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and perform a touch operation on the certain area of the touch panel 1071 to control the message notification displayed in the corresponding area on the display panel 1061.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and the external device.
In one embodiment, the interface unit 108 of the wearable device 100 is configured as a contact, and is connected to another corresponding device through the contact to implement functions such as charging and connection. The contact can also be waterproof.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the wearable device, connects various parts of the entire wearable device by various interfaces and lines, and performs various functions of the wearable device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling up data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The wearable device 100 may further include a power source 111 (such as a battery) for supplying power to various components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the wearable device 100 may further include a bluetooth module or the like, which is not described herein. The wearable device 100 can be connected with other terminal devices through Bluetooth, so that communication and information interaction are realized.
Please refer to fig. 2-4, which are schematic structural diagrams of a wearable device according to an embodiment of the present invention. The wearable device in the embodiment of the invention comprises a flexible screen. When the wearable device is unfolded, the flexible screen is in a strip shape; when the wearable device is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the wearable device screen when the wearable device screen is unfolded, and fig. 4 shows the structural schematic diagram of the wearable device screen when the wearable device screen is bent.
Based on the wearable device presented in fig. 1 to 4 above, various embodiments of the method of the present invention are presented. The wearable device may include smart bands, smart glasses, smart phones, and the like.
Referring to fig. 5, fig. 5 is a flowchart illustrating steps of a display control method according to an embodiment of the present invention, where the method is applied to a wearable device, as shown in fig. 5, the method includes:
step 501, receiving a first operation executed by a user on a display screen of the wearable device, wherein the first operation is used for adjusting a display position of a current interface.
When a user needs to adjust the display position of the current interface on the display screen of the wearable device, a first operation may be performed on the display screen of the wearable device. In this step, the wearable device receives a first operation performed by a user on the display screen, where the first operation is used to adjust a display position of a current interface. The first operation may include a two-finger sliding operation, and the wearable device may include a smart band including a long screen.
Step 502, in response to the first operation, acquiring a target view of the current interface, wherein the target view is a view located at an outermost layer in a slidable view included in the current interface.
In this step, the wearable device, in response to the first operation, acquires a target view (view) of the current interface, where the target view is an outermost view of slidable views included in the current interface. It is to be understood that each view includes attribute information, the attribute information includes slidable or non-slidable, the wearable device may traverse the view tree of the current interface from outside to inside, and when traversing to a view whose attribute information is slidable, stop traversing the view tree and make the traversed view whose attribute information is slidable a target view. In some embodiments of the present invention, the wearable device may determine the target view according to a window type corresponding to the current interface, for example, when the type is activity, directly obtain a sub-view of the layout as the target view.
And step 503, moving the target view according to the track of the first operation.
In this step, the wearable device moves the target view according to the trajectory of the first operation. Specifically, the wearable device moves the target view along the trajectory of the first operation. Therefore, the user can move the display position of the interface according to the requirement of the user.
In some embodiments of the present invention, the wearable device may store the target view after moving the target view according to the trajectory of the first operation, so that when the user needs to adjust the display position of the current interface again, the wearable device may directly obtain the stored target view without traversing the view tree again, thereby saving adjustment time and increasing fluency of the interface adjustment process.
The wearable device can Synchronize (SYNC) a screen system refresh request in the process of moving the target view according to the track of the first operation, so that fluency in the interface adjusting process can be effectively improved.
The wearable device can acquire and record the first sliding distance of the first operation when the first operation is finished, so that the sliding distance of the first operation does not need to be acquired and updated in real time in the process of the first operation, and the response speed can be improved.
In this embodiment, the display control method receives a first operation performed by a user on a display screen of the wearable device, where the first operation is used to adjust a display position of a current interface; responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface; and moving the target view according to the track of the first operation. In this way, the display control method obtains the view positioned at the outermost layer in the slidable views included in the current interface as the target view, and moves the target view according to the track of the first operation, so that the whole view tree of the current interface does not need to be traversed, the time consumed by traversal can be reduced, the process of adjusting the display position of the current interface is smoother, and the use experience of a user is enhanced.
Optionally, the moving the target view according to the trajectory of the first operation includes:
and moving the target view according to the track of the first operation, and shielding a system synchronous refresh request in the process of moving the target view.
In this embodiment, the wearable device moves the target view according to the trajectory of the first operation, and masks a system synchronization refresh request during the movement of the target view. It can be understood that, during the sliding process of the first operation, the screen needs to be refreshed in real time due to the movement of the view, so that other refreshing requests of the system are shielded during the process, and only the sliding refresh is performed, so that the speed of the wearable device responding to the interface adjustment can be increased.
Referring to fig. 6, fig. 6 is a second schematic flowchart of a display control method according to an embodiment of the present invention, where the display control method is applied to a wearable device, as shown in fig. 6, the method includes:
step 601, receiving a first operation executed by a user on a display screen of the wearable device, wherein the first operation is used for adjusting a display position of a current interface.
Step 602, in response to the first operation, acquiring a target view of the current interface, where the target view is a view located at an outermost layer in a slidable view included in the current interface.
And 603, moving the target view according to the track of the first operation.
Steps 601 to 603 are the same as steps 501 to 503 in the embodiment shown in fig. 5 of the present invention, and are not repeated here.
And step 604, acquiring and recording a first sliding distance of the first operation when the first operation is finished.
In this step, the wearable device obtains and records a first sliding distance of the first operation when the first operation is finished. In this way, the sliding distance of the first operation does not need to be acquired and updated in real time in the process of the first operation, and the response speed can be improved.
In some embodiments of the present invention, the wearable device may further record the first sliding distance, and determine a display position directly according to the first sliding distance when an interface needs to be displayed next time.
In this embodiment, the display control method receives a first operation performed by a user on a display screen of the wearable device, where the first operation is used to adjust a display position of a current interface; responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface; moving the target view according to the track of the first operation; and when the first operation is finished, acquiring and recording a first sliding distance of the first operation. In this way, the display control method obtains the view positioned at the outermost layer in the slidable views included in the current interface as the target view, and moves the target view according to the track of the first operation, so that the whole view tree of the current interface does not need to be traversed, the time consumed by traversal can be reduced, the process of adjusting the display position of the current interface is smoother, and the use experience of a user is enhanced.
Optionally, the method further comprises:
receiving a first trigger operation of a user when a display screen of the wearable device is in a screen extinguishing state, wherein the first trigger operation is used for triggering a display interface of the display screen;
responding to the first trigger operation, and acquiring the first sliding distance;
and displaying an interface according to the first sliding distance.
In this embodiment, the wearable device may receive a first trigger operation of a user when the display screen is in a screen-off state, where the first trigger operation is used to trigger the display screen to display an interface. Specifically, the wearable device may acquire the first sliding distance in response to the first trigger operation, and display an interface according to the first sliding distance. The wearable device displaying an interface according to the first sliding distance may include: and determining a target display area according to the first sliding distance, and displaying an interface in the target display area.
Therefore, the wearable device can record the habits of the user, the display position is determined according to the habits of the user when the interface needs to be displayed next time, the personalized requirements of the user can be met, and convenience is provided for the user.
Optionally, the displaying the interface according to the first sliding distance includes:
determining a display area which is separated from the display screen by a first sliding distance as a target display area;
and displaying an interface in the target display area.
In this embodiment, the displaying an interface according to the first sliding distance specifically includes: and determining a display area which is separated from the display screen by a first sliding distance as a target display area, and displaying an interface in the target display area.
Referring to fig. 7, fig. 7 is a third schematic flowchart of a display control method according to an embodiment of the present invention, where the display control method is applied to a wearable device, as shown in fig. 7, the method includes:
step 701, receiving a first operation executed by a user on a display screen of the wearable device, wherein the first operation is used for adjusting a display position of a current interface.
Step 702, responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface.
And 703, moving the target view according to the track of the first operation.
The steps 701 to 703 are the same as the steps 501 to 503 in the embodiment shown in fig. 5, and are not repeated here.
And step 704, storing the target view into a global variable.
In this step, the wearable device saves the target view, and in particular, may save the target view into a global variable. Therefore, when the user needs to adjust the display position of the current interface again, the wearable device can directly acquire the stored target view without traversing the view tree again, so that the adjustment time is saved, and the fluency of the interface adjustment process is increased.
In this embodiment, the display control method receives a first operation performed by a user on a display screen of the wearable device, where the first operation is used to adjust a display position of a current interface; responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface; moving the target view according to the track of the first operation; and saving the target view into a global variable. In this way, the display control method obtains the view positioned at the outermost layer in the slidable views included in the current interface as the target view, and moves the target view according to the track of the first operation, so that the whole view tree of the current interface does not need to be traversed, the time consumed by traversal can be reduced, the process of adjusting the display position of the current interface is smoother, and the use experience of a user is enhanced.
Optionally, after saving the target view into a global variable, the method further includes:
receiving a second operation executed by a user on the display screen, wherein the second operation is used for adjusting the display position of the current interface;
in response to the second operation, acquiring the target view from the global variable;
and moving the target view according to the track of the second operation.
In this embodiment, after the current interface is adjusted once, the user may make a further adjustment, and in particular, may perform a second operation on the display screen. Accordingly, the wearable device receives a second operation performed by the user on the display screen, wherein the second operation is used for adjusting the display position of the current interface. The wearable device responds to the second operation, obtains the target view from the global variable, and moves the target view according to the track of the second operation.
Therefore, when the user needs to adjust the display position of the interface again, the target view does not need to be determined again, the time for determining the target view can be effectively saved, and the smoothness of adjusting the display position is improved.
Optionally, after saving the target view into a global variable, the method further includes:
receiving a content refreshing request aiming at a current interface;
in response to the content refresh request, interface content is refreshed and the target view is removed from the global variables.
In this embodiment, when the interface content of the current interface is refreshed, the view included in the current interface must be changed, and the wearable device refreshes the interface content and removes the target view from the global variable in response to the content refresh request. Therefore, the target view does not need to be stored all the time, and the occupation of storage resources is reduced.
Those skilled in the art will appreciate that all or part of the steps of the method of the above embodiments may be implemented by hardware associated with at least one program instruction, the at least one program may be stored in the memory 109 of the wearable device 100 shown in fig. 1 and can be executed by the processor 110, and the at least one program when executed by the processor 110 implements the following steps:
receiving a first operation performed by a user on a display screen of the wearable device, wherein the first operation is used for adjusting the display position of a current interface;
responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface;
and moving the target view according to the track of the first operation.
Optionally, the moving the target view according to the trajectory of the first operation includes:
and when the first operation is finished, acquiring and recording a first sliding distance of the first operation.
Optionally, the processor 110 may further implement the following steps:
receiving a first trigger operation of a user when a display screen of the wearable device is in a screen extinguishing state, wherein the first trigger operation is used for triggering a display interface of the display screen;
responding to the first trigger operation, and acquiring the first sliding distance;
and displaying an interface according to the first sliding distance.
Optionally, the displaying the interface according to the first sliding distance includes:
determining a display area which is separated from the display screen by a first sliding distance as a target display area;
and displaying an interface in the target display area.
Optionally, the moving the target view according to the trajectory of the first operation includes:
and moving the target view according to the track of the first operation, and shielding a system synchronous refresh request in the process of moving the target view.
Optionally, after moving the target view according to the trajectory of the first operation, the processor 110 may further implement the following steps:
and saving the target view into a global variable.
Optionally, after saving the target view into a global variable, the method further includes:
receiving a second operation executed by a user on the display screen, wherein the second operation is used for adjusting the display position of the current interface;
in response to the second operation, acquiring the target view from the global variable;
and moving the target view according to the track of the second operation.
Optionally, after saving the target view into a global variable, the processor 110 may further implement the following steps:
receiving a content refreshing request aiming at a current interface;
in response to the content refresh request, interface content is refreshed and the target view is removed from the global variables.
In this embodiment, the wearable device receives a first operation performed by a user on a display screen of the wearable device, where the first operation is used to adjust a display position of a current interface; responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface; and moving the target view according to the track of the first operation. Therefore, the wearable device obtains the view positioned at the outermost layer in the slidable view included in the current interface as the target view, and moves the target view according to the track of the first operation, so that the whole view tree of the current interface does not need to be traversed, the time consumed by traversal can be reduced, the process of adjusting the display position of the current interface is smoother, and the use experience of a user is enhanced.
It will be understood by those skilled in the art that all or part of the steps of the method for implementing the above embodiments may be implemented by hardware associated with at least one program instruction, the at least one program may be stored in a computer readable storage medium, and when executed, the at least one program may comprise the steps of:
receiving a first operation performed by a user on a display screen of the wearable device, wherein the first operation is used for adjusting the display position of a current interface;
responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface;
and moving the target view according to the track of the first operation.
Optionally, the moving the target view according to the trajectory of the first operation includes:
and when the first operation is finished, acquiring and recording a first sliding distance of the first operation.
Optionally, when executed, the at least one program may further implement the steps of:
receiving a first trigger operation of a user when a display screen of the wearable device is in a screen extinguishing state, wherein the first trigger operation is used for triggering a display interface of the display screen;
responding to the first trigger operation, and acquiring the first sliding distance;
and displaying an interface according to the first sliding distance.
Optionally, the displaying the interface according to the first sliding distance includes:
determining a display area which is separated from the display screen by a first sliding distance as a target display area;
and displaying an interface in the target display area.
Optionally, the moving the target view according to the trajectory of the first operation includes:
and moving the target view according to the track of the first operation, and shielding a system synchronous refresh request in the process of moving the target view.
Optionally, after the target view is moved according to the trajectory of the first operation, when the at least one program is executed, the following steps may be further implemented:
and saving the target view into a global variable.
Optionally, after saving the target view into a global variable, the method further includes:
receiving a second operation executed by a user on the display screen, wherein the second operation is used for adjusting the display position of the current interface;
in response to the second operation, acquiring the target view from the global variable;
and moving the target view according to the track of the second operation.
Optionally, after saving the target view into a global variable, when the at least one program is executed, the following steps may be further implemented:
receiving a content refreshing request aiming at a current interface;
in response to the content refresh request, interface content is refreshed and the target view is removed from the global variables.
In this embodiment, when executed, the at least one program receives a first operation performed by a user on a display screen of the wearable device, where the first operation is used to adjust a display position of a current interface; responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface; and moving the target view according to the track of the first operation. In this way, when the at least one program is executed, the view positioned at the outermost layer in the slidable view included in the current interface is obtained as the target view, and the target view is moved according to the track of the first operation, so that the whole view tree of the current interface does not need to be traversed, the time consumed by traversal can be reduced, the process of adjusting the display position of the current interface is smoother, and the use experience of a user is enhanced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A display control method is applied to a wearable device, and is characterized by comprising the following steps:
receiving a first operation performed by a user on a display screen of the wearable device, wherein the first operation is used for adjusting the display position of a current interface;
responding to the first operation, acquiring a target view of the current interface, wherein the target view is a view positioned at the outermost layer in a slidable view included in the current interface;
moving the target view according to the track of the first operation;
wherein the moving the target view according to the trajectory of the first operation includes:
when the first operation is finished, acquiring and recording a first sliding distance of the first operation;
wherein the method further comprises:
receiving a first trigger operation of a user when a display screen of the wearable device is in a screen extinguishing state, wherein the first trigger operation is used for triggering a display interface of the display screen;
responding to the first trigger operation, and acquiring the first sliding distance;
displaying an interface according to the first sliding distance;
wherein, the displaying the interface according to the first sliding distance comprises:
determining a display area which is separated from the current interface in the display screen by a first sliding distance as a target display area;
and displaying an interface in the target display area.
2. The display control method according to claim 1, wherein the moving the target view according to the trajectory of the first operation includes:
and moving the target view according to the track of the first operation, and shielding a system synchronous refresh request in the process of moving the target view.
3. The display control method according to claim 1, wherein after moving the target view in accordance with the trajectory of the first operation, the method further comprises:
and saving the target view into a global variable.
4. The display control method of claim 3, wherein after saving the target view into a global variable, the method further comprises:
receiving a second operation executed by a user on the display screen, wherein the second operation is used for adjusting the display position of the current interface;
in response to the second operation, acquiring the target view from the global variable;
and moving the target view according to the track of the second operation.
5. The display control method according to claim 3 or 4, wherein after the saving of the target view into a global variable, the method further comprises:
receiving a content refreshing request aiming at a current interface;
in response to the content refresh request, interface content is refreshed and the target view is removed from the global variables.
6. A wearable device comprising a memory, at least one processor, and at least one program stored on the memory and executable by the at least one processor, the at least one program when executed by the at least one processor implementing the steps of the method of any of claims 1-5.
7. A computer-readable storage medium storing at least one program executable by a computer, the at least one program, when executed by the computer, causing the computer to perform the steps of the method of any one of claims 1 to 5.
CN201910361100.XA 2019-04-30 2019-04-30 Display control method, wearable device and computer-readable storage medium Active CN110109595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910361100.XA CN110109595B (en) 2019-04-30 2019-04-30 Display control method, wearable device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910361100.XA CN110109595B (en) 2019-04-30 2019-04-30 Display control method, wearable device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110109595A CN110109595A (en) 2019-08-09
CN110109595B true CN110109595B (en) 2021-08-24

Family

ID=67487829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910361100.XA Active CN110109595B (en) 2019-04-30 2019-04-30 Display control method, wearable device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110109595B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268190A (en) * 2013-06-05 2013-08-28 四目信息科技(上海)有限公司 Method for achieving view dragging operation of touch screen electronic equipment based on IOS operating system
EP2936289A4 (en) * 2012-12-19 2016-02-10 Tencent Tech Shenzhen Co Ltd Method of implementing screen adaptation for owner-drawn elements and apparatus
CN106020590A (en) * 2016-05-09 2016-10-12 腾讯科技(深圳)有限公司 A view display method and device
WO2016183551A1 (en) * 2015-05-14 2016-11-17 Walleye Software, LLC Query task processing based on memory allocation and performance criteria
CN107728868A (en) * 2016-08-11 2018-02-23 阿里巴巴集团控股有限公司 The method, apparatus and mobile terminal of component in the synchronizing moving page
CN109062653A (en) * 2018-08-20 2018-12-21 珠海市筑巢科技有限公司 Long graph text information display methods, computer installation and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2936289A4 (en) * 2012-12-19 2016-02-10 Tencent Tech Shenzhen Co Ltd Method of implementing screen adaptation for owner-drawn elements and apparatus
CN103268190A (en) * 2013-06-05 2013-08-28 四目信息科技(上海)有限公司 Method for achieving view dragging operation of touch screen electronic equipment based on IOS operating system
WO2016183551A1 (en) * 2015-05-14 2016-11-17 Walleye Software, LLC Query task processing based on memory allocation and performance criteria
CN106020590A (en) * 2016-05-09 2016-10-12 腾讯科技(深圳)有限公司 A view display method and device
CN107728868A (en) * 2016-08-11 2018-02-23 阿里巴巴集团控股有限公司 The method, apparatus and mobile terminal of component in the synchronizing moving page
CN109062653A (en) * 2018-08-20 2018-12-21 珠海市筑巢科技有限公司 Long graph text information display methods, computer installation and computer readable storage medium

Also Published As

Publication number Publication date
CN110109595A (en) 2019-08-09

Similar Documents

Publication Publication Date Title
CN110299100B (en) Display direction adjustment method, wearable device and computer readable storage medium
CN110099218B (en) Interactive control method and device in shooting process and computer readable storage medium
CN109799912B (en) Display control method, device and computer readable storage medium
CN110177209B (en) Video parameter regulation and control method, device and computer readable storage medium
CN110351426B (en) Smart watch information input method, smart watch and computer readable storage medium
CN110177208B (en) Video recording association control method, equipment and computer readable storage medium
CN110113529B (en) Shooting parameter regulation and control method and device and computer readable storage medium
CN110071866B (en) Instant messaging application control method, wearable device and storage medium
CN110099162B (en) Page display processing method and wearable device
CN110198411B (en) Depth of field control method and device in video shooting process and computer readable storage medium
CN110072071B (en) Video recording interaction control method, equipment and computer readable storage medium
CN110083205B (en) Page switching method, wearable device and computer-readable storage medium
CN110086808B (en) Account login control method and device and computer readable storage medium
CN110620875A (en) Screenshot control method and device in video shooting process and computer-readable storage medium
CN110018775B (en) Content display method, terminal and computer readable storage medium
CN110069102B (en) Display area regulation and control method and device and computer readable storage medium
CN109976608B (en) Application timing method and device and computer readable storage medium
CN110109605B (en) Image sharing method and device and computer readable storage medium
CN109976613B (en) Text input implementation method, wearable device and computer-readable storage medium
CN110109595B (en) Display control method, wearable device and computer-readable storage medium
CN110174981B (en) Icon interaction control method and device and computer readable storage medium
CN110187950B (en) Method for adjusting picture display position, wearable device and storage medium
CN110096150B (en) Search interaction control method, equipment and computer readable storage medium
CN110049248B (en) Shot object regulation and control method and device and computer readable storage medium
CN110187770B (en) Wrist strap voice control interaction method and device and computer readable storage medium

Legal Events

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