CN110109595A - A kind of display control method, wearable device and computer readable storage medium - Google Patents

A kind of display control method, wearable device and computer readable storage medium Download PDF

Info

Publication number
CN110109595A
CN110109595A CN201910361100.XA CN201910361100A CN110109595A CN 110109595 A CN110109595 A CN 110109595A CN 201910361100 A CN201910361100 A CN 201910361100A CN 110109595 A CN110109595 A CN 110109595A
Authority
CN
China
Prior art keywords
target view
wearable device
display
view
current interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910361100.XA
Other languages
Chinese (zh)
Other versions
CN110109595B (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

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

Abstract

Display control method disclosed by the invention receives the first operation that user executes on the display screen of the wearable device, wherein described first operates the display position for adjusting current interface;In response to first operation, the target view of current interface is obtained, wherein be located at outermost view in the slidable view that the target view includes for current interface;According to the track of first operation, the mobile target view.In addition, invention additionally discloses a kind of wearable device and computer readable storage mediums.Display control method provided by the invention, which obtains, is located at outermost view as target view in the slidably view that current interface includes, and according to the mobile target view in the track of the first operation, in this way, the entire Views tree of traversal current interface is not needed, so as to reduce the time that traversal needs to consume, so that the process of current interface display position adjustment is more smooth, enhance the usage experience of user.

Description

A kind of display control method, wearable device and computer readable storage medium
Technical field
The present invention relates to field of display technology more particularly to a kind of display control method, wearable device and computer can Read storage medium.
Background technique
With the continuous development of electronic technology, in recent years, wearable device is with its light and handy portable characteristic by people Like, wearable device can be used to record all data in user's daily life, and user be facilitated to understand the day of oneself Normal living condition.
The display screen of wearable device is usually fixed setting, in order to meet the needs of people's difference wears habit, Some wearable devices support the adjustment of display area, i.e. support user is accustomed to adjustment display area according to the wearing of oneself.
However, in the prior art, the process for adjusting display area is not smooth enough, be easy to cause Caton, user experience is influenced.
Summary of the invention
In view of this, the present invention proposes a kind of display control method, wearable device and computer readable storage medium, with Solve above-mentioned technical problem.
Firstly, to achieve the above object, the present invention proposes a kind of display control method, it is applied to wearable device, it is described Method includes:
Receive the first operation that user executes on the display screen of the wearable device, wherein first operation For adjusting the display position of current interface;
In response to first operation, the target view of current interface is obtained, wherein the target view is current interface Including slidable view in be located at outermost view;
According to the track of first operation, the mobile target view.
Optionally, the track according to first operation, the mobile target view, comprising:
At the end of the described first operation, obtains the first sliding distance of first operation and record.
Optionally, the method also includes:
The wearable device display screen be in put out screen state under, receive the first trigger action of user, it is described First trigger action is for triggering the display screen display interface;
In response to first trigger action, first sliding distance is obtained;
According to the first sliding distance display interface.
It is optionally, described according to the first sliding distance display interface, comprising:
The determining and display screen interlude is destination display area every the display area of the first sliding distance;
In the destination display area display interface.
Optionally, the track according to first operation, the mobile target view, comprising:
The track operated according to described first, the mobile target view, and during the movement target view The request of shielding harness synchronous refresh.
Optionally, the track according to first operation, after moving the target view, the method is also wrapped It includes:
The target view is saved into global variable.
Optionally, it is described the target view is saved into global variable after, the method also includes:
Receive the second operation that user executes on the display screen, wherein second operation is current for adjusting The display position at interface;
In response to second operation, the target view is obtained from the global variable;
According to the track of second operation, the mobile target view.
Optionally, it is described the target view is saved into global variable after, the method also includes:
The content refresh received for current interface is requested;
It is requested in response to the content refresh, refresh interface content and removes the target view from the global variable Figure.
Further, to achieve the above object, the present invention also provides a kind of wearable device, the wearable device includes Memory, at least one processor and be stored on the memory and can be executed at least one described processor at least one A program, at least one described program are realized in method described in any of the above embodiments when being executed by least one described processor Step.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers Readable storage medium storing program for executing is stored at least one executable program of computer, at least one described program is executed by the computer When so that the computer is executed the step in the above method.
Compared to the prior art, display control method proposed by the invention receives user in the aobvious of the wearable device The first operation executed on display screen curtain, wherein described first operates the display position for adjusting current interface;In response to described First operation, obtains the target view of current interface, wherein the target view is the slidable view that current interface includes In be located at outermost view;According to the track of first operation, the mobile target view.Display control provided by the invention Method processed, which obtains, is located at outermost view as target view in the slidably view that current interface includes, and according to the first behaviour The mobile target view in the track of work, this way it is not necessary to the entire Views tree of current interface be traversed, so as to reduce traversal needs The time of consumption enhances the usage experience of user so that the process of current interface display position adjustment is more smooth.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided by the embodiments of the present application;
Fig. 2 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 3 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 4 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 5 is one of the flow diagram of display control method provided by the embodiments of the present application;
Fig. 6 is the two of the flow diagram of display control method provided by the embodiments of the present application;
Fig. 7 is the three of the flow diagram of display control method provided by the embodiments of the present application;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio Frequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio Frequency, 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, Yi Ji electricity The components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearable The restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer components Component layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list Uplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be worn The processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101 What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), (Wideband Code Division Multiple Access, wideband code division are more by WCDMA Location), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronous CDMA), (Frequency Division Duplexing-Long Term Evolution, frequency division duplex are long by FDD-LTE Phase evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are drilled for a long time Into) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can pass through setting esim card (Embedded-SIM, insertion Formula SIM card), to realize the existing communication network of access, by the way of esim card, the inside that can save wearable device is empty Between, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely Slightly.Wearable device 100 can realize the communication connection with other equipment or communication network separately through wifi module 102, The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can root It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100 When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera, It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear, Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensor Wearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen sets For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments, Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein Without limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101 The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certain One region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071 The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on the wearable device that above-mentioned Fig. 1 to Fig. 4 proposes, each embodiment of the method for the present invention is proposed.It is described wearable Equipment may include Intelligent bracelet, intelligent glasses, smart phone etc..
It is a kind of step flow chart of display control method provided in an embodiment of the present invention, the method refering to Fig. 5, Fig. 5 Applied in a wearable device, as shown in Figure 5, which comprises
Step 501 receives the first operation that user executes on the display screen of the wearable device, wherein described First operates the display position for adjusting current interface.
When user need to adjust the wearable device display screen be taken in front interface display position, can be described The first operation is executed on the display screen of wearable device.In the step, the wearable device receives user in the display The first operation executed on screen, wherein described first operates the display position for adjusting current interface.First operation It may include two fingers slide, the wearable device may include Intelligent bracelet, and the Intelligent bracelet includes long screen.
Step 502, in response to first operation, obtain the target view of current interface, wherein the target view is It is located at outermost view in the slidable view that current interface includes.
In the step, the wearable device obtains the target view of current interface in response to first operation (view), wherein be located at outermost view in the slidably view that the target view includes for current interface.It is understood that , each view includes attribute information, and the attribute information includes that slidably or not slidably, the wearable device can To traverse the Views tree of current interface from outside to inside, when traversing attribute information is a slidable view, stop traversal The Views tree and be slidable view by the attribute information traversed be target view.In some embodiments of the invention, institute The target view can be determined according to the corresponding window type of current interface by stating wearable device, such as when type is When activity, directly acquire with layout sub- view be target view.
Step 503, the track operated according to described first, the mobile target view.
In the step, track of the wearable device according to first operation, the mobile target view.Specifically Ground, track of the wearable device along first operation, the mobile target view.In this way, user can be according to certainly The display position of oneself demand moving boundary.
In some embodiments of the invention, the wearable device can be according to the track movement of first operation After target view, the target view is saved, in this way, when user needs to adjust the display position of current interface again, institute The target view of preservation can be directly acquired by stating wearable device, without traversing Views tree again, to save tune The whole time increases the fluency of interface adjustment process.
The wearable device can be during the mobile target view in the track according to first operation, screen Synchronous (SYNC) refresh requests of curtain system, can effectively improve the fluency during the adjustment of interface in this way.
The wearable device can obtain the first sliding distance of first operation at the end of the described first operation And record, it, can this way it is not necessary to obtain and update the sliding distance of the first operation in real time during the first operation Improve response speed.
In the present embodiment, the display control method receives what user executed on the display screen of the wearable device First operation, wherein described first operates the display position for adjusting current interface;In response to first operation, obtain The target view of current interface, wherein be located at outermost layer in the slidable view that the target view includes for current interface View;According to the track of first operation, the mobile target view.In this way, the display control method obtains currently It is located at outermost view in the slidably view that interface includes as target view, and according to the mobile mesh in the track of the first operation View is marked, this way it is not necessary to the entire Views tree of current interface is traversed, so as to reduce the time that traversal needs to consume, from And the process that current interface display position is adjusted is more smooth, enhances the usage experience of user.
Optionally, the track according to first operation, the mobile target view, comprising:
The track operated according to described first, the mobile target view, and during the movement target view The request of shielding harness synchronous refresh.
In the embodiment, the mobile target view in the track that the wearable device is operated according to described first, and During the mobile target view, the request of shielding harness synchronous refresh.It is understood that in the cunning of first operation It during dynamic, due to the movement of view, needs to refresh screen in real time, therefore the refreshing of shielding harness others is asked in this process It asks, only executes sliding and refresh, can be improved the speed of the wearable device response interface adjustment.
It is the two of the flow diagram of display control method provided in an embodiment of the present invention, the display referring to Fig. 6, Fig. 6 Control method is applied to a wearable device, as shown in Figure 6, which comprises
Step 601 receives the first operation that user executes on the display screen of the wearable device, wherein described First operates the display position for adjusting current interface.
Step 602, in response to first operation, obtain the target view of current interface, wherein the target view is It is located at outermost view in the slidable view that current interface includes.
Step 603, the track operated according to described first, the mobile target view.
The step 601 is identical to step 503 to step 603 and the step 501 in present invention embodiment shown in fig. 5, Details are not described herein again.
Step 604, described first operation at the end of, obtain it is described first operation the first sliding distance simultaneously record.
In the step, for the wearable device at the end of the described first operation, obtain first operation first is sliding Dynamic distance simultaneously records.This way it is not necessary to obtain and update the sliding distance of the first operation, energy in real time during the first operation It enough can be improved response speed.
In some embodiments of the invention, the wearable device can also record first sliding distance, next time When needing display interface, display position is directly determined according to first sliding distance.
In the present embodiment, the display control method receives what user executed on the display screen of the wearable device First operation, wherein described first operates the display position for adjusting current interface;In response to first operation, obtain The target view of current interface, wherein be located at outermost layer in the slidable view that the target view includes for current interface View;According to the track of first operation, the mobile target view;At the end of the described first operation, described in acquisition First sliding distance of the first operation simultaneously records.In this way, the display control method obtains the slidably view that current interface includes It is located at outermost view in figure as target view, and according to the mobile target view in the track of the first operation, this way it is not necessary to The entire Views tree of current interface is traversed, so as to reduce the time that traversal needs to consume, so that current interface is shown The process of position adjustment is more smooth, enhances the usage experience of user.
Optionally, the method also includes:
The wearable device display screen be in put out screen state under, receive the first trigger action of user, it is described First trigger action is for triggering the display screen display interface;
In response to first trigger action, first sliding distance is obtained;
According to the first sliding distance display interface.
In the embodiment, the wearable device can receive user's in the case where the display screen is in and puts out screen state First trigger action, first trigger action is for triggering the display screen display interface.Specifically, described wearable to set It is standby to obtain first sliding distance, and show according to first sliding distance in response to first trigger action Interface.The wearable device may include: according to first sliding distance according to the first sliding distance display interface Destination display area is determined, in the destination display area display interface.
In this way, the wearable device is able to record the habit of user, and when needing display interface next time according to The habit at family determines display position, can satisfy the individual demand of user, provides the user with conveniently.
It is optionally, described according to the first sliding distance display interface, comprising:
The determining and display screen interlude is destination display area every the display area of the first sliding distance;
In the destination display area display interface.
It is described to be specifically included according to the first sliding distance display interface in the embodiment: the determining and display screen Interlude is destination display area every the display area of the first sliding distance, in the destination display area display interface.
It is the three of the flow diagram of display control method provided in an embodiment of the present invention, the display referring to Fig. 7, Fig. 7 Control method is applied to a wearable device, as shown in Figure 7, which comprises
Step 701 receives the first operation that user executes on the display screen of the wearable device, wherein described First operates the display position for adjusting current interface.
Step 702, in response to first operation, obtain the target view of current interface, wherein the target view is It is located at outermost view in the slidable view that current interface includes.
Step 703, the track operated according to described first, the mobile target view.
The step 701 is identical to step 503 to step 703 and the step 501 in present invention embodiment shown in fig. 5, Details are not described herein again.
Step 704 saves the target view into global variable.
In the step, the wearable device saves the target view and can specifically save the target view Into global variable.In this way, the wearable device can be straight when user needs to adjust the display position of current interface again The target view gone bail for and deposited is obtained, without traversing Views tree again, to save adjustment time, increases interface adjustment The fluency of process.
In the present embodiment, the display control method receives what user executed on the display screen of the wearable device First operation, wherein described first operates the display position for adjusting current interface;In response to first operation, obtain The target view of current interface, wherein be located at outermost layer in the slidable view that the target view includes for current interface View;According to the track of first operation, the mobile target view;The target view is saved to global variable In.In this way, the display control method, which obtains, is located at outermost view as mesh in the slidably view that current interface includes View is marked, and according to the mobile target view in the track of the first operation, this way it is not necessary to the entire Views tree of current interface is traversed, So as to reduce the time that traversal needs to consume, so that the process of current interface display position adjustment is more smooth, increase The usage experience of strong user.
Optionally, it is described the target view is saved into global variable after, the method also includes:
Receive the second operation that user executes on the display screen, wherein second operation is current for adjusting The display position at interface;
In response to second operation, the target view is obtained from the global variable;
According to the track of second operation, the mobile target view.
In the embodiment, user can further be adjusted, specifically after once adjust to current interface Ground can execute the second operation on the display screen.Correspondingly, the wearable device receives user in the display screen The second operation executed on curtain, wherein described second operates the display position for adjusting current interface.The wearable device In response to second operation, the target view is obtained from the global variable, according to the track of second operation, is moved Move the target view.
In this way, not needing to redefine target view, Neng Gouyou when user needs to adjust the display position at interface again Effect saves the time for determining target view, improves the fluency of display position adjustment.
Optionally, it is described the target view is saved into global variable after, the method also includes:
The content refresh received for current interface is requested;
It is requested in response to the content refresh, refresh interface content and removes the target view from the global variable Figure.
In the embodiment, when current interface interface content refresh when comprising view necessarily change, it is described can Wearable device is requested in response to the content refresh, is refreshed interface content and is removed the target view from the global variable Figure.This way it is not necessary to store the target view always, reduce the occupancy of storage resource.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is It is completed by the relevant hardware of at least one program instruction, at least one described program can store can in as shown in Figure 1 It in the memory 109 of wearable device 100, and can be executed by the processor 110, at least one described program is by the processing Device 110 realizes following steps when executing:
Receive the first operation that user executes on the display screen of the wearable device, wherein first operation For adjusting the display position of current interface;
In response to first operation, the target view of current interface is obtained, wherein the target view is current interface Including slidable view in be located at outermost view;
According to the track of first operation, the mobile target view.
Optionally, the track according to first operation, the mobile target view, comprising:
At the end of the described first operation, obtains the first sliding distance of first operation and record.
Optionally, the processor 110 can also be achieved following steps:
The wearable device display screen be in put out screen state under, receive the first trigger action of user, it is described First trigger action is for triggering the display screen display interface;
In response to first trigger action, first sliding distance is obtained;
According to the first sliding distance display interface.
It is optionally, described according to the first sliding distance display interface, comprising:
The determining and display screen interlude is destination display area every the display area of the first sliding distance;
In the destination display area display interface.
Optionally, the track according to first operation, the mobile target view, comprising:
The track operated according to described first, the mobile target view, and during the movement target view The request of shielding harness synchronous refresh.
Optionally, the track according to first operation, after moving the target view, the processor 110 It can also be achieved following steps:
The target view is saved into global variable.
Optionally, it is described the target view is saved into global variable after, the method also includes:
Receive the second operation that user executes on the display screen, wherein second operation is current for adjusting The display position at interface;
In response to second operation, the target view is obtained from the global variable;
According to the track of second operation, the mobile target view.
Optionally, it is described the target view is saved into global variable after, the processor 110 can also be achieved as Lower step:
The content refresh received for current interface is requested;
It is requested in response to the content refresh, refresh interface content and removes the target view from the global variable Figure.
In the present embodiment, the wearable device receive that user executes on the display screen of the wearable device the One operation, wherein described first operates the display position for adjusting current interface;In response to first operation, acquisition is worked as The target view of front interface, wherein be located in the slidable view that the target view includes for current interface outermost View;According to the track of first operation, the mobile target view.In this way, the wearable device obtains current interface Including slidably view in be located at outermost view as target view, and regarded according to the mobile target in track of the first operation Figure, this way it is not necessary to the entire Views tree of current interface be traversed, so as to reduce the time that traversal needs to consume, to make The process for obtaining the adjustment of current interface display position is more smooth, enhances the usage experience of user.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is It is completed by the relevant hardware of at least one program instruction, at least one described program can store computer-readable deposits in one In storage media, which is performed, comprising the following steps:
Receive the first operation that user executes on the display screen of the wearable device, wherein first operation For adjusting the display position of current interface;
In response to first operation, the target view of current interface is obtained, wherein the target view is current interface Including slidable view in be located at outermost view;
According to the track of first operation, the mobile target view.
Optionally, the track according to first operation, the mobile target view, comprising:
At the end of the described first operation, obtains the first sliding distance of first operation and record.
Optionally, at least one described program is performed, and can also be achieved following steps:
The wearable device display screen be in put out screen state under, receive the first trigger action of user, it is described First trigger action is for triggering the display screen display interface;
In response to first trigger action, first sliding distance is obtained;
According to the first sliding distance display interface.
It is optionally, described according to the first sliding distance display interface, comprising:
The determining and display screen interlude is destination display area every the display area of the first sliding distance;
In the destination display area display interface.
Optionally, the track according to first operation, the mobile target view, comprising:
The track operated according to described first, the mobile target view, and during the movement target view The request of shielding harness synchronous refresh.
Optionally, the track according to first operation, after moving the target view, at least one described journey Sequence is performed, and can also be achieved following steps:
The target view is saved into global variable.
Optionally, it is described the target view is saved into global variable after, the method also includes:
Receive the second operation that user executes on the display screen, wherein second operation is current for adjusting The display position at interface;
In response to second operation, the target view is obtained from the global variable;
According to the track of second operation, the mobile target view.
Optionally, it is described the target view is saved into global variable after, at least one described program is performed When, it can also be achieved following steps:
The content refresh received for current interface is requested;
It is requested in response to the content refresh, refresh interface content and removes the target view from the global variable Figure.
In the present embodiment, at least one described program is performed, and receives user in the display screen of the wearable device The first operation executed on curtain, wherein described first operates the display position for adjusting current interface;In response to described first Operation, obtains the target view of current interface, wherein position in the slidable view that the target view includes for current interface In outermost view;According to the track of first operation, the mobile target view.In this way, at least one described program It is performed, obtains and be located at outermost view in the slidably view that current interface includes as target view, and according to the The mobile target view in the track of one operation, this way it is not necessary to the entire Views tree of current interface be traversed, so as to reduce traversal The time for needing to consume enhances the usage experience of user so that the process of current interface display position adjustment is more smooth.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of display control method is applied to wearable device, which is characterized in that the described method includes:
Receive the first operation that user executes on the display screen of the wearable device, wherein first operation is used for Adjust the display position of current interface;
In response to first operation, the target view of current interface is obtained, wherein the target view includes for current interface Slidable view in be located at outermost view;
According to the track of first operation, the mobile target view.
2. display control method as described in claim 1, which is characterized in that the track according to first operation is moved Move the target view, comprising:
At the end of the described first operation, obtains the first sliding distance of first operation and record.
3. display control method as claimed in claim 2, which is characterized in that the method also includes:
In the case where the display screen of the wearable device is in and puts out screen state, the first trigger action of user is received, described first Trigger action is for triggering the display screen display interface;
In response to first trigger action, first sliding distance is obtained;
According to the first sliding distance display interface.
4. display control method as claimed in claim 3, which is characterized in that described to show boundary according to first sliding distance Face, comprising:
The determining and display screen interlude is destination display area every the display area of the first sliding distance;
In the destination display area display interface.
5. display control method as described in claim 1, which is characterized in that the track according to first operation is moved Move the target view, comprising:
According to the track of first operation, the mobile target view, and shielded during the movement target view The request of system synchronous refresh.
6. display control method as described in claim 1, which is characterized in that the track according to first operation is moved After moving the target view, the method also includes:
The target view is saved into global variable.
7. display control method as claimed in claim 6, which is characterized in that described save the target view to the overall situation becomes After in amount, the method also includes:
Receive the second operation that user executes on the display screen, wherein second operation is for adjusting current interface Display position;
In response to second operation, the target view is obtained from the global variable;
According to the track of second operation, the mobile target view.
8. display control method as claimed in claims 6 or 7, which is characterized in that described to save the target view to complete After in office's variable, the method also includes:
The content refresh received for current interface is requested;
It is requested in response to the content refresh, refresh interface content and removes the target view from the global variable.
9. a kind of wearable device, which is characterized in that the wearable device includes memory, at least one processor and storage And can be at least one program of at least one described processor execution on the memory, at least one described program is by institute State the step realized in the described in any item methods of the claims 1~8 when at least one processor executes.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer executable at least One program, which is characterized in that at least one described program makes the computer execute above-mentioned power when being executed by the computer Benefit requires the step in 1~8 described in any item methods.
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 true CN110109595A (en) 2019-08-09
CN110109595B 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
CN110109595B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN110299100A (en) Display direction method of adjustment, wearable device and computer readable storage medium
CN109976609A (en) Slide response method, wearable device and computer readable storage medium
CN110362368A (en) Picture customization display methods, relevant device and the storage medium of wearable device
CN110062279A (en) Video method of cutting out, wearable device and computer readable storage medium
CN110442295A (en) Wearable device control method, wearable device and computer readable storage medium
CN110175008A (en) Method, wearable device and the computer readable storage medium of operating terminal
CN110175066A (en) Wearable device, interaction control method and computer readable storage medium
CN110099176A (en) Breath screen display methods, wearable device and computer readable storage medium
CN110109537A (en) A kind of wearable device and its gesture identification method and computer readable storage medium
CN110032308A (en) A kind of page display method, terminal and computer readable storage medium
CN110213637A (en) Method, wearable device and the readable storage medium storing program for executing of video file increase watermark
CN110086929A (en) Breath screen display methods, mobile phone, wearable device and computer readable storage medium
CN110134312A (en) Control method, wearable device and computer readable storage medium
CN110191230A (en) Application interface display methods, mobile terminal and readable storage medium storing program for executing
CN110072071A (en) A kind of video record interaction control method, equipment and computer readable storage medium
CN109947501A (en) Starting processing method, wearable device and the storage medium of application program
CN110187764A (en) A kind of barrage display methods, wearable device and storage medium
CN110209268A (en) Wearable device control method, wearable device and computer readable storage medium
CN109947325A (en) Application icon display methods, wearable device and computer readable storage medium
CN110187950A (en) Adjust method, wearable device and the storage medium of picture position
CN110018775A (en) A kind of content display method, terminal and computer readable storage medium
CN110134311A (en) A kind of screen display method, wearable device and computer readable storage medium
CN110187801A (en) Detection method, wearable device and computer readable storage medium
CN110083205A (en) Page switching method, wearable device and computer readable storage medium
CN110109605A (en) A kind of images share method, equipment 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