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

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

Info

Publication number
CN110096205A
CN110096205A CN201910363868.0A CN201910363868A CN110096205A CN 110096205 A CN110096205 A CN 110096205A CN 201910363868 A CN201910363868 A CN 201910363868A CN 110096205 A CN110096205 A CN 110096205A
Authority
CN
China
Prior art keywords
display area
wearable device
physical unit
movement
screen
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
CN201910363868.0A
Other languages
Chinese (zh)
Other versions
CN110096205B (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 CN201910363868.0A priority Critical patent/CN110096205B/en
Publication of CN110096205A publication Critical patent/CN110096205A/en
Application granted granted Critical
Publication of CN110096205B publication Critical patent/CN110096205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

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

Abstract

This application discloses a kind of display area control method, wearable device and computer readable storage mediums, display area for controlling wearable device is mobile, there is the physical unit that can be moved on wearable device, method includes: to detect the information of the movement of physical unit when user's control physical unit moves;According to the information of the movement of physical unit, moving direction and distance of the display area in screen of wearable device are calculated;According to the moving direction and distance of display area, controls display area and move on the screen.Technical solution of the present invention, technical solution of the present invention, user can be moved to the position used suitable for oneself by operating physical component to control display area.

Description

Display area control method, wearable device and computer readable storage medium
Technical field
This application involves field of electronic device more particularly to a kind of display area control methods, wearable device and calculating Machine readable storage medium storing program for executing.
Background technique
Currently, wearable device is various informative, a kind of relatively common wearable device is wrist machine form, is worn on use In the wrist at family.The characteristics of wrist machine is that screen is arc-shaped and length is longer, and only a part is used as display area on usual screen When family is normally worn, optimal display area should be in the surface of arm, and user can normally check content at this time;If with Family causes display area to be biased to arm side, then causes user that can not normally check display content, sternly since individual wears habit It affects user experience again.
Therefore, it is necessary to a kind of technical solutions, the display area of wearable device to be adjusted, it is ensured that user can be just Often check the content of display area.
Summary of the invention
It is a primary object of the present invention to provide a kind of display area control method, wearable device and computer-readable Storage medium, it is intended to which the display area of wearable device is adjusted, it is ensured that user can normally check the interior of display area Hold.
To achieve the above object, the present invention provides a kind of display area control methods, for controlling wearable device Display area is mobile, has the physical unit that can be moved on the wearable device, which comprises in user's control When the physical unit moves, the information of the movement of the physical unit is detected;According to the movement of the physical unit Information calculates moving direction and distance of the display area in screen of the wearable device;According to the shifting of the display area Dynamic direction and distance, control the display area and move on the screen.
To achieve the above object, the present invention provides a kind of wearable device, the wearable device includes: that can transport Dynamic physical unit, memory, processor and it is stored in the computer that can be run on the memory and on the processor Program;The step of computer program realizes method as the aforementioned when being executed by the processor.
To achieve the above object, the present invention provides a kind of computer readable storage medium, the computer-readable storages Media storage has one or more program, and one or more of programs can be executed by one or more processor, with The step of realizing method above-mentioned.
According to above technical scheme, it is known that display area control method of the invention, wearable device and computer-readable Storage medium has at least the following advantages:
Technical solution of the present invention, on wearable device increase a physical unit, the physical unit is movable, when with After family controls physical unit movement, wearable device obtains the information of physical unit movement, and according to physical unit movement Information calculates the mobile direction in wearable device display area and distance, then direction and distance based on display area movement, Control display area is moved, and thus user can be suitable for certainly by operating physical component to control display area and be moved to The position that oneself uses.
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 in an embodiment of the present invention;
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 a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 6 is a kind of flow chart of embodiment of display area control method provided by the embodiments of the present application;
Fig. 7 is a kind of flow chart of embodiment of display area control method provided by the embodiments of the present application;
Fig. 8 is a kind of schematic diagram of embodiment of display area control method provided by the embodiments of the present application;
Fig. 9 is a kind of schematic diagram of embodiment of display area control method provided by the embodiments of the present application;
Figure 10 is a kind of schematic diagram of embodiment of display area control method provided by the embodiments of the present application;
Figure 11 is a kind of block diagram of embodiment of wearable device provided by the embodiments of the present application.
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 Access2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, broadband code Point multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, the time-division S-CDMA-Synchronous Code Division Multiple Access), (Frequency Division Duplexing-Long Term Evolution, frequency division are double by FDD-LTE Work long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are long-term Evolution) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, 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 above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this Shen It please propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be set Standby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It can Choosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 5 Shown, Fig. 5 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, the equipment Screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be with It is all covered on the watchband of the equipment, the embodiment of the present application is not limited thereto.
As shown in fig. 6, An embodiment provides a kind of display area control method, it is wearable for controlling The display area of equipment is mobile, has the physical unit that can be moved on wearable device.
In the present embodiment, wearable device can use the form of wrist machine.In the present embodiment, for physical unit Concrete form is not limited, for example, it can be knob, is also possible to slide switch, or can be similar volume by The key of key.
The method of the present embodiment includes:
Step S610 detects the information of the movement of physical unit when user's control physical unit moves.
In the present embodiment, the method for the motion information for obtaining physical unit is not limited, existing electronic watch The method for obtaining the direction of rotation and angle of knob, the technical solution suitable for the present embodiment.
Step S620 calculates shifting of the display area in screen of wearable device according to the information of the movement of physical unit Dynamic direction and distance.
In the present embodiment, the moving direction of display area can be determined, according to object according to the direction of motion of physical unit The angle or distance for managing component movement, determine the moving distance of display area.
Step S630 controls display area and moves on the screen according to the moving direction and distance of display area.
According to the technical solution of the present embodiment, increase a physical unit on wearable device, which can transport Dynamic, after the movement of the user's control physical unit, wearable device obtains the information of physical unit movement, and according to physical unit The information of movement calculates the mobile direction in wearable device display area and distance, then the direction mobile based on the display area And distance, control display area are moved, thus user can be moved to by operating physical component to control display area The position used suitable for oneself.
As shown in fig. 7, An embodiment provides a kind of display area control method, it is wearable for controlling The display area of equipment is mobile, has the physical unit that can be moved on wearable device, physical unit is knob.
The method of the present embodiment includes:
Step S710, when user's control physical unit moves, in the driving layer of the system based on wearable device Preset device node, the direction of detection knob rotation and angle.
In the present embodiment, for the physical unit of knob form, direction and the angle of knob rotation are detected, and for cunning The physical unit of dynamic switch form, then detect direction and the distance of slide switch.
In the present embodiment, increase a physical knob, similar mechanical watch on wrist machine, support is forwardly and rearwardly revolved Turn, respectively indicates upward sliding and slide downward.When interface initializes, the displaing coordinate point P0 of current interface is obtained, rear It needs to calculate moving distance according to the coordinate points in continuous moving process.
As shown in figure 8, increasing device node in driving layer, direction of rotation and the rotation angle of knob are obtained.Direction of rotation Representing display area is upward or moves down, and rotation angle indicates the moving distance of display area.It will according to data protocol Ccf layer is reported to be handled after data encapsulation.After ccf layer listens to physical knob data, data are parsed by data protocol, And it is converted into the identifiable data of ccf layer.
Step S720 calculates shifting of the display area in screen of wearable device according to the direction of knob rotation and angle Dynamic direction and distance.
Wherein, according to the height in the direction of knob rotation and angle and screen, the moving distance of display area is calculated.
Specifically, after reading rotation angle in data, the distance distance of this rolling is calculated according to screen height. Default knob is rotated by 360 °, and rolling distance is the half of screen, which can be suitable according to specific product screen height Work as adjustment.Using the coordinate points P1 and knob spin data of current display area, viewing area after rotating is calculated according to algorithm The newest coordinate points P2 in domain;Moving window view (view) is just needed to realize effect after obtaining coordinate points.
Step S730 calculates display area according to the moving distance of coordinate and display area before the unusual fluctuation of display area Coordinate after movement.
Step S740 obtains the corresponding maximum view in display area, according to display according to coordinate of the display area after mobile Coordinate control maximum view after region is mobile is moved, to realize that control display area is moved.
As shown in figure 9, obtaining optimal view.Window layout is to be combined to be formed by each view, it is therefore desirable to be traversed View tree obtains the sub- view of maximum of root layout to realize sliding.After taking best view, according to coordinate points P0 obtained above With sliding distance distance, the coordinates of targets point P1 after sliding is calculated, which is display position after sliding;Finally The best view that will acquire is moved to P1 coordinate points.In order to avoid display area movement is excessively lofty, need according to front and back Coordinate points P0 and P1 twice adds sliding animation effect, promotes experience.Before animation is not finished, the knob event that newly reports
Coordinate of the display area after mobile is set coordinate when display area is initially shown by step S750.
In the technical scheme of this embodiment, persistence saves the position that user rolls, and will roll coordinate points P1 and is saved in Can be restored to the customized region of user after equipment is restarted in this way in system property value.
Using the technical solution of the present embodiment, as shown in Figure 10, user is allowed to be accustomed to according to the wearing of oneself, dynamic adjusts The position of Golden area distinction, so that it may under the premise of not changing wearing habit, promote the experience property and ease for use of product, not change Become under the premise of user's wearing habit, optimize bracelet display area, preferably adapts to user's use habit, promotion user experience.
As shown in figure 11, a kind of wearable device is provided in one embodiment of the present of invention, wearable device includes: that can send out It the physical unit 1110 of raw movement, memory 1120, processor 1130 and is stored on memory 1120 and can be in processor The computer program run on 1130;Computer program performs the steps of when being executed by processor 1130
When user's control physical unit moves, the information of the movement of physical unit is detected.In the present embodiment, may be used Wearable device can use the form of wrist machine.In the present embodiment, the concrete form of physical unit is not limited, example Such as, it can be knob, be also possible to slide switch, or can be the key of similar volume button.
In the present embodiment, the method for the motion information for obtaining physical unit is not limited, existing electronic watch The method for obtaining the direction of rotation and angle of knob, the technical solution suitable for the present embodiment.
According to the information of the movement of physical unit, calculate the display area of wearable device the moving direction of screen and away from From.
In the present embodiment, the moving direction of display area can be determined, according to object according to the direction of motion of physical unit The angle or distance for managing component movement, determine the moving distance of display area.
According to the moving direction and distance of display area, controls display area and move on the screen.
According to the technical solution of the present embodiment, increase a physical unit on wearable device, which can transport Dynamic, after the movement of the user's control physical unit, wearable device obtains the information of physical unit movement, and according to physical unit The information of movement calculates the mobile direction in wearable device display area and distance, then the direction mobile based on the display area And distance, control display area are moved, thus user can be moved to by operating physical component to control display area The position used suitable for oneself.
As shown in figure 11, a kind of wearable device is provided in one embodiment of the present of invention, wearable device includes: that can send out It the physical unit 1110 of raw movement, memory 1120, processor 1130 and is stored on memory 1120 and can be in processor The computer program run on 1130;Computer program performs the steps of when being executed by processor 1130
When user's control physical unit moves, preset equipment in the driving layer of the system based on wearable device Node, the direction of detection knob rotation and angle.
In the present embodiment, for the physical unit of knob form, direction and the angle of knob rotation are detected, and for cunning The physical unit of dynamic switch form, then detect direction and the distance of slide switch.
In the present embodiment, increase a physical knob, similar mechanical watch on wrist machine, support is forwardly and rearwardly revolved Turn, respectively indicates upward sliding and slide downward.When interface initializes, the displaing coordinate point P0 of current interface is obtained, rear It needs to calculate moving distance according to the coordinate points in continuous moving process.
As shown in figure 8, increasing device node in driving layer, direction of rotation and the rotation angle of knob are obtained.Direction of rotation Representing display area is upward or moves down, and rotation angle indicates the moving distance of display area.It will according to data protocol Ccf layer is reported to be handled after data encapsulation.After ccf layer listens to physical knob data, data are parsed by data protocol, And it is converted into the identifiable data of ccf layer.
According to the direction of knob rotation and angle, calculate the display area of wearable device the moving direction of screen and away from From.
Wherein, according to the height in the direction of knob rotation and angle and screen, the moving distance of display area is calculated.
Specifically, after reading rotation angle in data, the distance distance of this rolling is calculated according to screen height. Default knob is rotated by 360 °, and rolling distance is the half of screen, which can be suitable according to specific product screen height Work as adjustment.Using the coordinate points P1 and knob spin data of current display area, viewing area after rotating is calculated according to algorithm The newest coordinate points P2 in domain;Moving window view (view) is just needed to realize effect after obtaining coordinate points.
Seat according to the moving distance of coordinate and display area before the unusual fluctuation of display area, after calculating display area movement Mark.
According to coordinate of the display area after mobile, the corresponding maximum view in display area is obtained, it is mobile according to display area Coordinate control maximum view afterwards is moved, to realize that control display area is moved.
As shown in figure 9, obtaining optimal view.Window layout is to be combined to be formed by each view, it is therefore desirable to be traversed View tree obtains the sub- view of maximum of root layout to realize sliding.After taking best view, according to coordinate points P0 obtained above With sliding distance distance, the coordinates of targets point P1 after sliding is calculated, which is display position after sliding;Finally The best view that will acquire is moved to P1 coordinate points.In order to avoid display area movement is excessively lofty, need according to front and back Coordinate points P0 and P1 twice adds sliding animation effect, promotes experience.Before animation is not finished, the knob event that newly reports
Coordinate when display area is initially shown is set by coordinate of the display area after mobile.
In the technical scheme of this embodiment, persistence saves the position that user rolls, and will roll coordinate points P1 and is saved in Can be restored to the customized region of user after equipment is restarted in this way in system property value.
Using the technical solution of the present embodiment, as shown in Figure 10, user is allowed to be accustomed to according to the wearing of oneself, dynamic adjusts The position of Golden area distinction, so that it may under the premise of not changing wearing habit, promote the experience property and ease for use of product, not change Become under the premise of user's wearing habit, optimize bracelet display area, preferably adapts to user's use habit, promotion user experience.
A kind of computer readable storage medium, computer-readable recording medium storage are provided in one embodiment of the present of invention There is one or more program, one or more program can be executed by one or more processor, to perform the steps of
When user's control physical unit moves, the information of the movement of physical unit is detected.In the present embodiment, may be used Wearable device can use the form of wrist machine.In the present embodiment, the concrete form of physical unit is not limited, example Such as, it can be knob, be also possible to slide switch, or can be the key of similar volume button.
In the present embodiment, the method for the motion information for obtaining physical unit is not limited, existing electronic watch The method for obtaining the direction of rotation and angle of knob, the technical solution suitable for the present embodiment.
According to the information of the movement of physical unit, calculate the display area of wearable device the moving direction of screen and away from From.
In the present embodiment, the moving direction of display area can be determined, according to object according to the direction of motion of physical unit The angle or distance for managing component movement, determine the moving distance of display area.
According to the moving direction and distance of display area, controls display area and move on the screen.
According to the technical solution of the present embodiment, increase a physical unit on wearable device, which can transport Dynamic, after the movement of the user's control physical unit, wearable device obtains the information of physical unit movement, and according to physical unit The information of movement calculates the mobile direction in wearable device display area and distance, then the direction mobile based on the display area And distance, control display area are moved, thus user can be moved to by operating physical component to control display area The position used suitable for oneself.
A kind of computer readable storage medium, computer-readable recording medium storage are provided in one embodiment of the present of invention There is one or more program, one or more program can be executed by one or more processor, to perform the steps of
When user's control physical unit moves, preset equipment in the driving layer of the system based on wearable device Node, the direction of detection knob rotation and angle.
In the present embodiment, for the physical unit of knob form, direction and the angle of knob rotation are detected, and for cunning The physical unit of dynamic switch form, then detect direction and the distance of slide switch.
In the present embodiment, increase a physical knob, similar mechanical watch on wrist machine, support is forwardly and rearwardly revolved Turn, respectively indicates upward sliding and slide downward.When interface initializes, the displaing coordinate point P0 of current interface is obtained, rear It needs to calculate moving distance according to the coordinate points in continuous moving process.
As shown in figure 8, increasing device node in driving layer, direction of rotation and the rotation angle of knob are obtained.Direction of rotation Representing display area is upward or moves down, and rotation angle indicates the moving distance of display area.It will according to data protocol Ccf layer is reported to be handled after data encapsulation.After ccf layer listens to physical knob data, data are parsed by data protocol, And it is converted into the identifiable data of ccf layer.
According to the direction of knob rotation and angle, calculate the display area of wearable device the moving direction of screen and away from From.
Wherein, according to the height in the direction of knob rotation and angle and screen, the moving distance of display area is calculated.
Specifically, after reading rotation angle in data, the distance distance of this rolling is calculated according to screen height. Default knob is rotated by 360 °, and rolling distance is the half of screen, which can be suitable according to specific product screen height Work as adjustment.Using the coordinate points P1 and knob spin data of current display area, viewing area after rotating is calculated according to algorithm The newest coordinate points P2 in domain;Moving window view (view) is just needed to realize effect after obtaining coordinate points.
Seat according to the moving distance of coordinate and display area before the unusual fluctuation of display area, after calculating display area movement Mark.
According to coordinate of the display area after mobile, the corresponding maximum view in display area is obtained, it is mobile according to display area Coordinate control maximum view afterwards is moved, to realize that control display area is moved.
As shown in figure 9, obtaining optimal view.Window layout is to be combined to be formed by each view, it is therefore desirable to be traversed View tree obtains the sub- view of maximum of root layout to realize sliding.After taking best view, according to coordinate points P0 obtained above With sliding distance distance, the coordinates of targets point P1 after sliding is calculated, which is display position after sliding;Finally The best view that will acquire is moved to P1 coordinate points.In order to avoid display area movement is excessively lofty, need according to front and back Coordinate points P0 and P1 twice adds sliding animation effect, promotes experience.Before animation is not finished, the knob event that newly reports
Coordinate when display area is initially shown is set by coordinate of the display area after mobile.
In the technical scheme of this embodiment, persistence saves the position that user rolls, and will roll coordinate points P1 and is saved in Can be restored to the customized region of user after equipment is restarted in this way in system property value.
Using the technical solution of the present embodiment, as shown in Figure 10, user is allowed to be accustomed to according to the wearing of oneself, dynamic adjusts The position of Golden area distinction, so that it may under the premise of not changing wearing habit, promote the experience property and ease for use of product, not change Become under the premise of user's wearing habit, optimize bracelet display area, preferably adapts to user's use habit, promotion user experience.
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 (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of display area control method, the display area for controlling wearable device is mobile, which is characterized in that it is described can There is the physical unit that can be moved on wearable device, which comprises
When the physical unit described in user's control moves, the information of the movement of the physical unit is detected;
According to the information of the movement of the physical unit, moving direction of the display area in screen of the wearable device is calculated And distance;
According to the moving direction and distance of the display area, controls the display area and move on the screen.
2. detecting the physical unit the method according to claim 1, wherein the physical unit is knob Movement information, comprising:
Detect direction and the angle of the knob rotation.
3. detecting the physics the method according to claim 1, wherein the physical unit is slide switch The information of the movement of component, comprising:
Detect direction and the distance of the slide switch.
4. the method according to claim 1, wherein the information of the movement of the detection physical unit, packet It includes:
Preset device node in the driving layer of system based on the wearable device, obtains the movement of the physical unit Information.
5. the method according to claim 1, wherein the information of the movement according to the physical unit, meter Calculate moving direction and distance of the display area in screen of the wearable device, comprising:
According to the information of the movement of the physical unit and the height of the screen, calculate the movement of the display area away from From.
6. the method according to claim 1, wherein the moving direction according to the display area and away from From controlling the display area and move on the screen, comprising:
According to the moving distance of coordinate and the display area before the display area unusual fluctuation, calculates the display area and move Coordinate after dynamic;
According to coordinate of the display area after mobile, controls the display area and moved.
7. according to the method described in claim 6, it is characterized in that, the coordinate according to the display area after mobile, control The display area is made to be moved, comprising:
The corresponding maximum view in the display area is obtained, according to maximum view described in coordinate control of the display area after mobile Figure is moved.
8. according to the method described in claim 6, it is characterized by further comprising:
The coordinate when display area is initially shown is set by coordinate of the display area after mobile.
9. a kind of wearable device, which is characterized in that the wearable device includes:
It the physical unit that can move, memory, processor and is stored on the memory and can be on the processor The computer program of operation;
The step such as method described in any item of the claim 1 to 8 is realized when the computer program is executed by the processor Suddenly.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize in claim 1 to 8 The step of described in any item methods.
CN201910363868.0A 2019-04-30 2019-04-30 Display area control method, wearable device, and computer-readable storage medium Active CN110096205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910363868.0A CN110096205B (en) 2019-04-30 2019-04-30 Display area control method, wearable device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910363868.0A CN110096205B (en) 2019-04-30 2019-04-30 Display area control method, wearable device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110096205A true CN110096205A (en) 2019-08-06
CN110096205B CN110096205B (en) 2022-06-10

Family

ID=67446682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910363868.0A Active CN110096205B (en) 2019-04-30 2019-04-30 Display area control method, wearable device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110096205B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117178A (en) * 2009-12-30 2011-07-06 Lg电子株式会社 Display device for a mobile terminal and method of controlling the same
CN104850317A (en) * 2014-12-31 2015-08-19 华为终端(东莞)有限公司 Display method of screen of wearable device, and wearable device
CN106468998A (en) * 2016-09-23 2017-03-01 华为技术有限公司 A kind of display packing of information and terminal
US20170090602A1 (en) * 2015-09-30 2017-03-30 Apple Inc. Input element with integrated functionality
CN106772262A (en) * 2015-10-20 2017-05-31 古野电气株式会社 Display device and radar installations
CN108279849A (en) * 2012-01-16 2018-07-13 联想(北京)有限公司 Portable device and its display processing method
US20180256961A1 (en) * 2017-03-10 2018-09-13 Boe Technology Group Co., Ltd. Intelligent fitness system and control method thereof
CN109656455A (en) * 2018-12-21 2019-04-19 歌尔科技有限公司 A kind of smartwatch and its input method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117178A (en) * 2009-12-30 2011-07-06 Lg电子株式会社 Display device for a mobile terminal and method of controlling the same
CN108279849A (en) * 2012-01-16 2018-07-13 联想(北京)有限公司 Portable device and its display processing method
CN104850317A (en) * 2014-12-31 2015-08-19 华为终端(东莞)有限公司 Display method of screen of wearable device, and wearable device
CN107239213A (en) * 2014-12-31 2017-10-10 华为终端(东莞)有限公司 Control method for screen display and mobile terminal
US20170090602A1 (en) * 2015-09-30 2017-03-30 Apple Inc. Input element with integrated functionality
CN106772262A (en) * 2015-10-20 2017-05-31 古野电气株式会社 Display device and radar installations
CN106468998A (en) * 2016-09-23 2017-03-01 华为技术有限公司 A kind of display packing of information and terminal
US20180256961A1 (en) * 2017-03-10 2018-09-13 Boe Technology Group Co., Ltd. Intelligent fitness system and control method thereof
CN109656455A (en) * 2018-12-21 2019-04-19 歌尔科技有限公司 A kind of smartwatch and its input method

Also Published As

Publication number Publication date
CN110096205B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN110087292A (en) Intelligent wearable device, energy-saving control method and computer readable storage medium
CN109982179A (en) Audio frequency signal output, device, wearable device and storage medium
CN110109725A (en) A kind of interface color method of adjustment and wearable device
CN110299100A (en) Display direction method of adjustment, 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
CN110069132A (en) Application control method, intelligent wearable device and computer readable storage medium
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
CN110086563A (en) A kind of method of controlling rotation, equipment and computer readable storage medium
CN110175066A (en) Wearable device, interaction control method and computer readable storage medium
CN110086940A (en) Message prompt method, wearable device and readable storage medium storing program for executing
CN110012258A (en) Best audio-video perception point acquisition methods, system, wearable device and storage medium
CN110139270A (en) Wearable device matching method, wearable device and computer readable storage medium
CN110083289A (en) A kind of button display methods, wearable device and computer readable storage medium
CN110191230A (en) Application interface display methods, mobile terminal and readable storage medium storing program for executing
CN110083205A (en) Page switching method, wearable device and computer readable storage medium
CN110113529A (en) A kind of acquisition parameters regulation method, equipment and computer readable storage medium
CN110177208A (en) A kind of association control method of video record, equipment and computer readable storage medium
CN110072071A (en) A kind of video record interaction control method, equipment and computer readable storage medium
CN110032308A (en) A kind of page display method, terminal and computer readable storage medium
CN110134311A (en) A kind of screen display method, wearable device and computer readable storage medium
CN109901812A (en) Wearable device volume adjusting method, wearable device and readable storage medium storing program for executing
CN110134304A (en) A kind of Folding display method, equipment and computer readable storage medium
CN110018775A (en) A kind of content display method, terminal 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