CN110162375A - Interface display method, wearable device and readable storage medium storing program for executing - Google Patents
Interface display method, wearable device and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN110162375A CN110162375A CN201910465683.0A CN201910465683A CN110162375A CN 110162375 A CN110162375 A CN 110162375A CN 201910465683 A CN201910465683 A CN 201910465683A CN 110162375 A CN110162375 A CN 110162375A
- Authority
- CN
- China
- Prior art keywords
- control
- new
- screen
- display
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & 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 interface display method, wearable device and readable storage medium storing program for executing, this method comprises: being that new display scale is arranged in the interface based on the screen display proportion when the screen display proportion of the original display ratio at interface and wearable device is inconsistent;The interface is shown on the screen with the new display scale;Obtain the control information for clicking control shown on current screen;It is shown on the screen based on the control information and new clicks control;When detect it is described it is new click control and be clicked when, trigger and described new click the corresponding click event of control.Through the invention, show that screen indulges the longer feature of ratio using wearable device so that interface content can be shown in screen completely, and be arranged it is new click control, carry out clicking operation convenient for user, improve the ease for operation of wearable device.
Description
Technical field
This application involves wearable device technical field more particularly to a kind of interface display methods, wearable device and can
Read storage medium.
Background technique
Since the vertical-horizontal proportion of the display screen of wearable device is more special, the ratio on transverse direction generally compares
It is short, and the ratio on longitudinal direction is very long, causes many application interfaces when showing in wearable device, is only able to display half
Interface could click certain controls after user needs to carry out the operation that the left stroke/right side is drawn.
Summary of the invention
Present invention is primarily aimed at solve in the prior art since the screen of interface display ratio and wearable device is aobvious
Show that ratio is inconsistent, user is caused to click the not convenient technical problem of control.
To achieve the above object, the present invention provides a kind of interface display method, and the interface display method includes following step
It is rapid:
It is aobvious based on the screen when the screen display proportion of the original display ratio at interface and wearable device is inconsistent
Show that ratio is that new display scale is arranged in the interface;
The interface is shown on the screen with the new display scale;
Obtain the control information for clicking control shown on current screen;
It is shown on the screen based on the control information and new clicks control;
When detect it is described it is new click control and be clicked when, trigger and described new click the corresponding click thing of control
Part.
It optionally, is that the step of new display scale is arranged in the interface includes: based on the screen display proportion
The transverse direction ratio of the original display ratio is reduced, until new transverse direction ratio is less than or equal to the screen
The transverse direction ratio of display scale, obtains new display scale.
Optionally, it is described acquisition current screen on show the control information for clicking control the step of before, also wrap
It includes:
Whether the window frame area for clicking control shown on detection current screen is less than preset area;
If the window frame area for clicking control shown on current screen is less than preset area, executes the acquisition and work as
The step of what is shown on forth screen clicks the control information of control.
Optionally, the control information includes:
The coordinate position for clicking control, word content and background picture.
Optionally, described shown on the screen based on the control information new includes: the step of clicking control
Listview list is created on the screen;
According to the word content for clicking control, background picture and preset listview list display ratio,
It can click that control is corresponding new to click control described in generation;
According to the coordinate position for clicking control and preset listview list ordering rule, determine described new
Click display position of the control in the listview list;
What display was new on the display position clicks control.
Optionally, it is described when detect it is described it is new click control and be clicked when, trigger and described new click control
The step of corresponding click event includes:
When detect it is described it is new click control and be clicked when, determine that control is corresponding to be clicked for new the clicking
Control;
The corresponding click event of control can be clicked described in triggering.
In addition, to achieve the above object, the present invention also provides a kind of wearable device, the wearable device includes:
Memory, processor and it is stored in the interface display journey that can be run on the memory and on the processor
The step of sequence, the interface display program realizes interface display method as described above when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing
Interface display program is contained, the interface display program realizes the step of interface display method as described above when being executed by processor
Suddenly.
In the present invention, when the screen display proportion of the original display ratio at interface and wearable device is inconsistent, it is based on
The screen display proportion is that new display scale is arranged in the interface;It is shown on the screen with the new display scale
The interface;Obtain the control information for clicking control shown on current screen;It is shown on the screen based on the control information
Show and new clicks control;When detect it is described it is new click control and be clicked when, trigger and described new click control pair
The click event answered.Through the invention, show that screen indulges the longer feature of ratio using wearable device, so that interface content can
Be shown in screen completely, and be arranged it is new click control, carry out clicking operation convenient for user, improve the easy of wearable device
Operability.
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 the flow diagram of interface display method first embodiment of the present invention;
Fig. 7 is with the schematic diagram of the normal display interface of original display ratio;
Fig. 8 is with the schematic diagram of original display ratio display interface on wearable device;
Fig. 9 is with the schematic diagram of new display scale display interface on wearable device;
Figure 10 is that the new schematic diagram for clicking control is shown on wearable device screen.
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.
It is the flow diagram of interface display method first embodiment of the present invention referring to Fig. 6, Fig. 6.
In one embodiment, interface display method the following steps are included:
Step S10 is based on institute when the screen display proportion of the original display ratio at interface and wearable device is inconsistent
Stating screen display proportion is that new display scale is arranged in the interface;
In the present embodiment, the screen display proportion of wearable device be it is certain, be denoted as a × b, a is longitudinal direction ratio, b
For transverse direction ratio.Due to the particularity of wearable device screen, longitudinal direction is typically much deeper than the longitudinal direction ratio of regular handset
Example, transverse direction are generally much smaller than the transverse direction ratio of regular handset.When the original display ratio at an interface is c × d, if c
When being not equal to b not equal to a or d, i.e. the original display ratio at interface and the screen display proportion of wearable device is inconsistent, just
It needs to be adjusted the original display ratio at interface.
It is that the step of new display scale is arranged in the interface includes: based on the screen display proportion in one embodiment
The transverse direction ratio of the original display ratio is reduced, until new transverse direction ratio is less than or equal to the screen
The transverse direction ratio of display scale, obtains new display scale.
In the present embodiment, it is readily appreciated that when, since the display scale on wearable device longitudinal direction is longer, general interface
Display scale on longitudinal direction is not more than the display scale on wearable device longitudinal direction, thus, it is only required to which it is original to reduce interface
The transverse direction ratio of display scale, obtaining the new display scale in interface is c × e, wherein e is the new transverse direction ratio in interface, boundary
The new transverse direction ratio e in face is less than or equal to wearable device transverse direction ratio b.
In another embodiment, can also be it is diagonally to reduce the original display ratio, until new longitudinal direction ratio is small
In or the screen display proportion longitudinal direction ratio, and new transverse direction ratio is less than or the transverse square of the screen display proportion
To ratio.The longitudinal direction ratio and transverse direction ratio for reducing original display ratio simultaneously, obtain new display scale f × g,
Wherein, the longitudinal direction ratio f of new display scale is less than or equal to a, and the longitudinal direction ratio g of new display scale is less than or waits
In b.
Step S20 shows the interface with the new display scale on the screen;
In the present embodiment, it is illustrated by taking wechat login interface as an example.Referring to Fig. 7, Fig. 8 and Fig. 9, wherein Fig. 7 be with
The schematic diagram of the normal display interface of original display ratio, Fig. 8 be with original display ratio on wearable device display interface
Schematic diagram, Fig. 9 are with the schematic diagram of new display scale display interface on wearable device.As shown in fig. 7, with original display ratio
When the normal display interface of example, interface can completely be shown;As shown in figure 8, showing boundary on wearable device with original display ratio
When face, since the ratio on the transverse direction of interface is greater than the ratio on wearable device screen transverse direction, it is only able to display part
Interface;As shown in figure 9, with new display scale in display interface on wearable device, due to the transverse and longitudinal side of new display scale
It is respectively less than the transverse and longitudinal aspect ratio of wearable device screen to ratio, therefore, can be shown on wearable device screen complete
Interface, but the window frame area for clicking control at this time in interface is smaller, is unfavorable for user's click.
Step S30 obtains the control information for clicking control shown on current screen;
In the present embodiment, the control information for clicking control shown on current screen is obtained, wherein control information packet
It includes: the coordinate position, word content and background picture of control can be clicked.
In the present embodiment, if the control of clicking shown on current screen includes logging in click control and registration click control
Part then obtains the coordinate position X1 and word content " login " and background picture for logging in and clicking control on current screen
(green picture);It obtains registration and clicks coordinate position X2 and word content " registration " of the control on current screen, and back
Scape picture (white picture).
Step S40 is shown on the screen based on the control information and new clicks control;
In the present embodiment, (the screen longitudinal direction of wearable device is long) creates a listview first below screen
List, the listview list include that two tables (because the control quantity of clicking shown on current screen is 2, are set
Setting listview list includes two tables, corresponding to be arranged if the control quantity of clicking shown on current screen is n
Listview list includes n table).Then according to the transverse and longitudinal ratio of table and the word content of control, background can be clicked
Picture generates and each clicks that control is corresponding new to click control.Such as it is " to step on that control word content is clicked in new login
Record ", background picture are green picture, and the transverse and longitudinal ratio of display scale and table is consistent;Control word content is clicked in new registration
For " registration ", background picture is white picture, and the transverse and longitudinal ratio of display scale and table is consistent.Then control is clicked according to new
Part is corresponding to click the coordinate position of control on the screen, determines new to click arrangement of the control in listview list
Sequentially.
In the present embodiment, preset listview list ordering rule, specifically:
If can click, the display position of control on the screen is more top, and corresponding new control of clicking exists
It is more top in listview list;If the multiple display positions of control on the screen of clicking are in same horizontal line, more lean on
It is left to click control corresponding new to click control more top in listview list.
In the present embodiment, logs in click control and registration clicks the display position of control on the screen and is in same level
Line, and log in and click control compared to registration click control, closer to the left side of the screen of wearable device, therefore, new is stepped on
Record click control is top in listview list, and new login is clicked control and is shown in table 1, and control is clicked in new registration
It is then shown in table 2.
0, Figure 10 is that the new schematic diagram for clicking control is shown on wearable device screen referring to Fig.1.Such as Figure 10 institute
Show, using this longer feature of wearable device screen longitudinal direction, what display was new below screen clicks control (new login
Click control and control clicked in new registration), clicking operation is carried out convenient for user.
Step S50, when detect it is described it is new click control and be clicked when, trigger that described new to click control corresponding
Click event.
In the present embodiment, since the new window frame area for clicking control is more conducive to user's operation, user more inclines
To in by click it is new click control, to trigger corresponding event.
In the present embodiment, when it is new click control and be clicked when, it is first determined new clicking control is corresponding can point
Control is hit, then triggering can click the corresponding click event of control.
In the present embodiment, when the screen display proportion of the original display ratio at interface and wearable device is inconsistent, base
It is that new display scale is arranged in the interface in the screen display proportion;It is shown on the screen with the new display scale
Show the interface;Obtain the control information for clicking control shown on current screen;On the screen based on the control information
Display it is new click control;When detect it is described it is new click control and be clicked when, trigger and described new click control
Corresponding click event.Through this embodiment, show that screen indulges the longer feature of ratio using wearable device, so that in interface
Appearance can be shown in screen completely, and be arranged it is new click control, carry out clicking operation convenient for user, improve wearable device
Ease for operation.
Further, in one embodiment of interface display method of the present invention, before step S30, further includes:
Whether the window frame area for clicking control shown on detection current screen is less than preset area;
If the window frame area for clicking control shown on current screen is less than preset area, executes the acquisition and work as
The step of what is shown on forth screen clicks the control information of control.
In view of it is certain in special circumstances, even if by being shown on wearable device screen again after original display scale smaller
The size at interface, the window frame area for clicking control shown on screen at this time is still convenient for user to click, then without shielding
What display was new on curtain clicks control.Therefore, in the present embodiment, the window for clicking control shown on current screen is detected first
Whether body frame area is less than preset area, only when detecting that the window frame area for clicking control shown on current screen is small
When preset area, step S30 is just executed.If detecting, the window frame area for clicking control shown on current screen is greater than
Or be equal to preset area, then end processing process.Wherein, preset area is configured according to the needs of user's practical operation.
Further, described shown on the screen based on the control information new includes: the step of clicking control
Listview list is created on the screen;
According to the word content for clicking control, background picture and preset listview list display ratio,
It can click that control is corresponding new to click control described in generation;
According to the coordinate position for clicking control and preset listview list ordering rule, determine described new
Click display position of the control in the listview list;
What display was new on the display position clicks control.
In the present embodiment, (the screen longitudinal direction of wearable device is long) creates a listview first below screen
List, the listview list include that two tables (because the control quantity of clicking shown on current screen is 2, are set
Setting listview list includes two tables, corresponding to be arranged if the control quantity of clicking shown on current screen is n
Listview list includes n table).Then according to the transverse and longitudinal ratio of table and the word content of control, background can be clicked
Picture generates and each clicks that control is corresponding new to click control.Such as it is " to step on that control word content is clicked in new login
Record ", background picture are green picture, and the transverse and longitudinal ratio of display scale and table is consistent;Control word content is clicked in new registration
For " registration ", background picture is white picture, and the transverse and longitudinal ratio of display scale and table is consistent.Then control is clicked according to new
Part is corresponding to click the coordinate position of control on the screen, determines new to click arrangement of the control in listview list
Sequentially.
In the present embodiment, preset listview list ordering rule, specifically:
If can click, the display position of control on the screen is more top, and corresponding new control of clicking exists
It is more top in listview list;If the multiple display positions of control on the screen of clicking are in same horizontal line, more lean on
It is left to click control corresponding new to click control more top in listview list.
In the present embodiment, logs in click control and registration clicks the display position of control on the screen and is in same level
Line, and log in and click control compared to registration click control, closer to the left side of the screen of wearable device, therefore, new is stepped on
Record click control is top in listview list, and new login is clicked control and is shown in table 1, and control is clicked in new registration
It is then shown in table 2.
Further, step S50 includes:
When detect it is described it is new click control and be clicked when, determine that control is corresponding to be clicked for new the clicking
Control;
The corresponding click event of control can be clicked described in triggering.
In the present embodiment, 0, Figure 10 is that the new signal for clicking control is shown on wearable device screen referring to Fig.1
Figure.As shown in Figure 10, using this longer feature of wearable device screen longitudinal direction, what display was new below screen clicks control
Part (control is clicked in new login and control is clicked in new registration), carries out clicking operation convenient for user.Since new is clicked
The window frame area of control is more conducive to user's operation, thus user be more likely to by click it is new click control, to touch
Send out corresponding event.
In the present embodiment, when it is new click control and be clicked when, it is first determined new clicking control is corresponding can point
Hit control (setting it is new when clicking control, record can click control and the new mapping relations for clicking control, subsequent basis
The mapping relations can determine new clicking control is corresponding and click control), then triggering can click the corresponding point of control
Hit event.
In the present embodiment, show that screen indulges the longer feature of ratio using wearable device, so that interface content can be complete
Be shown in screen, and be arranged it is new click control, carry out clicking operation convenient for user, improve the easy to operate of wearable device
Property.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, interface is stored on the readable storage medium storing program for executing
Show that program, the interface display program realize each step of above-mentioned interface display method when being executed by processor.
The specific embodiment of readable storage medium storing program for executing of the present invention and each embodiment of above-mentioned interface display method are essentially identical,
This will not be repeated here.
Claims (10)
1. a kind of interface display method, which is characterized in that the interface display method the following steps are included:
When the screen display proportion of the original display ratio at interface and wearable device is inconsistent, ratio is shown based on the screen
Example is that new display scale is arranged in the interface;
The interface is shown on the screen with the new display scale;
Obtain the control information for clicking control shown on current screen;
It is shown on the screen based on the control information and new clicks control;
When detect it is described it is new click control and be clicked when, trigger and described new click the corresponding click event of control.
2. interface display method as described in claim 1, which is characterized in that being based on the screen display proportion is the interface
The step of new display scale is arranged include:
The transverse direction ratio of the original display ratio is reduced, until new transverse direction ratio is less than or equal to the screen and shows
The transverse direction ratio of ratio, obtains new display scale.
3. interface display method as described in claim 1, which is characterized in that is shown on the acquisition current screen can point
Before the step of hitting the control information of control, further includes:
Whether the window frame area for clicking control shown on detection current screen is less than preset area;
If the window frame area for clicking control shown on current screen is less than preset area, the current screen of the acquisition is executed
The step of what is shown on curtain clicks the control information of control.
4. interface display method as described in claim 1, which is characterized in that the control information includes:
The coordinate position for clicking control, word content and background picture.
5. interface display method as claimed in claim 4, which is characterized in that described to be shown on the screen based on the control information
Show and new includes: the step of clicking control
Listview list is created on the screen;
According to the word content for clicking control, background picture and preset listview list display ratio, generate
It is described to click that control is corresponding new to click control;
According to the coordinate position for clicking control and preset listview list ordering rule, determine it is described it is new can
Click display position of the control in the listview list;
What display was new on the display position clicks control.
6. the interface display method as described in any one of claims 1 to 5, which is characterized in that described described new when detecting
When clicking control and being clicked, triggering described new the step of clicking control corresponding click event includes:
When detect it is described it is new click control and be clicked when, determine that control is corresponding to click control for new the clicking
Part;
The corresponding click event of control can be clicked described in triggering.
7. a kind of wearable device, which is characterized in that the wearable device includes:
Memory, processor and it is stored in the interface display program that can be run on the memory and on the processor, institute
It states when interface display program is executed by the processor and realizes following steps:
When the screen display proportion of the original display ratio at interface and wearable device is inconsistent, ratio is shown based on the screen
Example is that new display scale is arranged in the interface;
The interface is shown on the screen with the new display scale;
Obtain the control information for clicking control shown on current screen;
It is shown on the screen based on the control information and new clicks control;
When detect it is described it is new click control and be clicked when, trigger and described new click the corresponding click event of control.
8. wearable device as claimed in claim 7, which is characterized in that the interface display program is executed by the processor
When also realize following steps:
The transverse direction ratio of the original display ratio is reduced, until new transverse direction ratio is less than or equal to the screen and shows
The transverse direction ratio of ratio, obtains new display scale.
9. wearable device as claimed in claim 7, which is characterized in that the interface display program is executed by the processor
When the step of also realizing method as described in any one of claim 3 to 6.
10. a kind of readable storage medium storing program for executing, which is characterized in that interface display program is stored on the readable storage medium storing program for executing, it is described
It realizes when interface display program is executed by processor such as the step of interface display method described in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910465683.0A CN110162375A (en) | 2019-05-30 | 2019-05-30 | Interface display method, wearable device and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910465683.0A CN110162375A (en) | 2019-05-30 | 2019-05-30 | Interface display method, wearable device and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110162375A true CN110162375A (en) | 2019-08-23 |
Family
ID=67630146
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910465683.0A Pending CN110162375A (en) | 2019-05-30 | 2019-05-30 | Interface display method, wearable device and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110162375A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021063221A1 (en) * | 2019-09-30 | 2021-04-08 | 华为技术有限公司 | Display method for electronic device, electronic device and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150378524A1 (en) * | 2014-06-27 | 2015-12-31 | Microsoft Corporation | Smart and scalable touch user interface display |
CN105573764A (en) * | 2015-12-24 | 2016-05-11 | 北京大学 | Android application reconstruction method for smart watch |
CN106170766A (en) * | 2014-04-01 | 2016-11-30 | 微软技术许可有限责任公司 | Can selected control and the command user interface of order for display and scaling |
CN107506163A (en) * | 2017-08-31 | 2017-12-22 | 努比亚技术有限公司 | Adjust method, terminal and the computer-readable recording medium of screen display |
CN107688429A (en) * | 2017-08-31 | 2018-02-13 | 努比亚技术有限公司 | Management method, mobile terminal and the computer-readable recording medium of application controls |
CN109164994A (en) * | 2018-06-28 | 2019-01-08 | 努比亚技术有限公司 | Display methods, intelligent wearable device and storage medium based on intelligent wearable device |
CN109508070A (en) * | 2018-09-29 | 2019-03-22 | 努比亚技术有限公司 | Display control method, bendable pack terminal and computer readable storage medium |
-
2019
- 2019-05-30 CN CN201910465683.0A patent/CN110162375A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106170766A (en) * | 2014-04-01 | 2016-11-30 | 微软技术许可有限责任公司 | Can selected control and the command user interface of order for display and scaling |
US20150378524A1 (en) * | 2014-06-27 | 2015-12-31 | Microsoft Corporation | Smart and scalable touch user interface display |
CN105573764A (en) * | 2015-12-24 | 2016-05-11 | 北京大学 | Android application reconstruction method for smart watch |
CN107506163A (en) * | 2017-08-31 | 2017-12-22 | 努比亚技术有限公司 | Adjust method, terminal and the computer-readable recording medium of screen display |
CN107688429A (en) * | 2017-08-31 | 2018-02-13 | 努比亚技术有限公司 | Management method, mobile terminal and the computer-readable recording medium of application controls |
CN109164994A (en) * | 2018-06-28 | 2019-01-08 | 努比亚技术有限公司 | Display methods, intelligent wearable device and storage medium based on intelligent wearable device |
CN109508070A (en) * | 2018-09-29 | 2019-03-22 | 努比亚技术有限公司 | Display control method, bendable pack terminal and computer readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021063221A1 (en) * | 2019-09-30 | 2021-04-08 | 华为技术有限公司 | Display method for electronic device, electronic device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
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 | |
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 | |
CN110083289A (en) | A kind of button display methods, wearable device and computer readable storage medium | |
CN110134312A (en) | Control method, wearable device and computer readable storage medium | |
CN110098845A (en) | Message treatment method, wearable device, mobile terminal and readable storage medium storing program for executing | |
CN110086940A (en) | Message prompt method, wearable device and readable storage medium storing program for executing | |
CN110086563A (en) | A kind of method of controlling rotation, equipment and computer readable storage medium | |
CN110187769A (en) | A kind of preview image inspection method, equipment and computer readable storage medium | |
CN110086930A (en) | A kind of voice interactive method, wearable device and computer readable storage medium | |
CN110175008A (en) | Method, wearable device and the computer readable storage medium of operating terminal | |
CN109976612A (en) | Application function implementation method, wearable device, mobile phone and computer readable storage medium | |
CN109992472A (en) | A kind of interface monitoring method, terminal and computer readable storage medium | |
CN110083205A (en) | Page switching method, wearable device and computer readable storage medium | |
CN110072071A (en) | A kind of video record interaction control method, equipment and computer readable storage medium | |
CN110187764A (en) | A kind of barrage display methods, wearable device and storage medium | |
CN110069200A (en) | Wearable device input control method, wearable device and storage medium | |
CN110177208A (en) | A kind of association control method of video record, equipment and computer readable storage medium | |
CN110086929A (en) | Breath screen display methods, mobile phone, wearable device and computer readable storage medium | |
CN110162375A (en) | Interface display method, wearable device and readable storage medium storing program for executing | |
CN110113481A (en) | Open method, terminal, wearable device and the medium of corresponding application on wearable device | |
CN110109605A (en) | A kind of images share method, equipment and computer readable storage medium | |
CN110083332A (en) | Audio switching method, wearable device and computer readable storage medium | |
CN110058918A (en) | Image processing method, wearable device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |