CN110007993A - Information load, methods of exhibiting, wearable device and computer readable storage medium - Google Patents

Information load, methods of exhibiting, wearable device and computer readable storage medium Download PDF

Info

Publication number
CN110007993A
CN110007993A CN201910200038.6A CN201910200038A CN110007993A CN 110007993 A CN110007993 A CN 110007993A CN 201910200038 A CN201910200038 A CN 201910200038A CN 110007993 A CN110007993 A CN 110007993A
Authority
CN
China
Prior art keywords
sub
view component
height
width
strip layout
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
Application number
CN201910200038.6A
Other languages
Chinese (zh)
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 CN201910200038.6A priority Critical patent/CN110007993A/en
Publication of CN110007993A publication Critical patent/CN110007993A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

This application involves a kind of information load, methods of exhibiting, wearable device and computer readable storage mediums, this method comprises: obtaining multiple sub- view components to be shown;If receive idsplay order, multiple sub- view components to be shown are subjected to strip layout;It is shown in display interface and presets sub- view component in the strip layout.Technical solution provided by the invention obtains multiple sub- view components to be shown first, when there is display to indicate, multiple sub- view components is carried out strip layout, the preset sub- view component in strip layout is finally shown in display interface.All sub- view components to be shown are carried out strip layout by technical solution provided by the present application, so that more contents are shown in interface in a limited space, it is user-friendly.

Description

Information load, methods of exhibiting, wearable device and computer readable storage medium
Technical field
This application involves wearable device field more particularly to a kind of load of information, methods of exhibiting, wearable device and meters Calculation machine readable storage medium storing program for executing.
Background technique
Intelligent bracelet is a kind of wearable intelligent equipment.By this bracelet, user can recorde the forging in daily life The real time datas such as refining, sleep also diet, and these data are synchronous with mobile phone, plate etc., it plays and instructs health by data The effect of life.But the content that existing bracelet screen is shown is very few, it is inconvenient for operation.
Accordingly, it is desirable to provide a kind of information displaying method, wearable device and computer readable storage medium are existing to solve There is the deficiency of technology.
Summary of the invention
In order to solve the above-mentioned technical problem or it at least is partially solved above-mentioned technical problem, this application provides a kind of letters Cease load, methods of exhibiting, wearable device and computer readable storage medium.
In a first aspect, this application provides a kind of information loading methods, comprising:
Obtain multiple sub- view components to be shown;
If receive idsplay order, multiple sub- view components to be shown are subjected to strip layout;
It is shown in display interface and presets sub- view component in the strip layout.
Further, multiple sub- view components to be shown are subjected to strip layout, comprising:
Calculate the width and height of every sub- view component;
According to the priority of every sub- view component, the sequence of the multiple sub- view component is determined;
According to the width, height and sequence, strip layout is carried out to the multiple sub- view component.
Further, the width and height of every sub- view component are calculated, comprising:
Determine the width and height of each notification bar in every sub- view component, wherein the sub- view component includes extremely A few notification bar;
According to the width and height of notification bar, the width and height of every sub- view component are calculated.
Further, the width and height of every sub- view component are calculated, comprising:
The width and height of every sub- view component are calculated according to the content in sub- view component.
Further, the method also includes:
When showing multiple sub- view components according to strip layout, detect whether to increase sub- view component newly;
If so, determining width, height and the position for increasing sub- view component newly in strip layout;
According to the width of the determination, height and position, sub- view component will be increased newly and be added in the strip layout.
It is further, described to increase sub- view component newly and be added in the strip layout, comprising:
The atomic diagram component of sub- view component position will be increased in the strip layout newly, to first direction or second direction The mobile distance for increasing sub- view component height newly;
It increases sub- view component newly by described and is added to the position vacated in the strip layout;
Wherein, second direction is the opposite direction of the first direction.
Second aspect, this application provides a kind of information displaying methods, comprising:
When receiving screen slide;
When the direction for determining the slide is the first preset direction, by the sub- view component of the display screen display Forward or move backward the sub- view component of preset number.
The third aspect, this application provides a kind of information displaying methods, comprising:
When receiving screen slide;
When the direction for determining the slide is the second preset direction, by the sub- view component of the display screen display Forward or move backward the sub- view component of preset number.
Fourth aspect, this application provides a kind of wearable device, the wearable device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The computer program realizes the step of information loading method described in any of the above embodiments when being executed by the processor Suddenly.
5th aspect, this application provides a kind of computer readable storage medium, on the computer readable storage medium It is stored with information loading method program, the information loading method program is realized described in any of the above embodiments when being executed by processor The step of information loading method.
Above-mentioned technical proposal provided by the embodiments of the present application has the advantages that compared with prior art
Technical solution provided by the embodiments of the present application obtains multiple sub- view components to be shown first, shows instruction when having When, multiple sub- view components are subjected to strip layout, the preset son in strip layout is finally shown in display interface View component.All sub- view components to be shown are carried out strip layout by technical solution provided by the present application, so that having More contents are shown in the space interface of limit, it is user-friendly.
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 flow chart of information loading method provided by the embodiments of the present application;
Fig. 6 is the flow chart of another information loading method provided by the embodiments of the present application;
Fig. 7 is a kind of flow chart of information displaying method provided by the embodiments of the present application;
Fig. 8 is the flow chart of another information displaying method provided by the embodiments of the present application;
Fig. 9 is a kind of hardware schematic 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 Access 2000, CDMA 2000), (Wideband Code Division Multiple Access, wideband code division are more by WCDMA Location), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronous CDMA), (Frequency Division Duplexing-Long Term Evolution, frequency division duplex are long by FDD-LTE Phase evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are drilled for a long time Into) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can 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 to Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on the hardware configuration of above-mentioned wearable device, each embodiment of the method for the present invention is proposed.
Embodiment one
One embodiment of the invention provides a kind of information loading method, as shown in figure 5, the information loading method includes:
S101, multiple sub- view components to be shown are obtained;
Entire main interface is a big sets of views, is added view, that is, bundle view component in initialization It is loaded into sets of views.
If when receiving idsplay order, multiple sub- view components to be shown S102, are carried out strip layouts;
In main interface creation, each controller can be sent to processing routine, and (every sub- view component has one Controller) load layout command, when controller receives MSG_WATCH_VIEW_OK order, by being carried in message Parameter value load sub- view component and be laid out.
S103, it is shown in display interface and presets sub- view component in the strip layout.
Since the height of visible area is limited, so can not necessarily show all contents, at this time will It extends to upper and lower part also to be drawn, content is entirely slided up and down with interface when sliding up and down, and is facilitated and is looked into It sees and operates.Main interface carries all sub- view components added completely, it is ensured that it is extended to except screen.
In the embodiment of the present application, multiple sub- view components to be shown are obtained first, it, will be multiple when there is display to indicate Sub- view component carries out strip layout, and the preset sub- view component in strip layout is finally shown in display interface. All sub- view components to be shown are carried out strip layout by technical solution provided by the present application, so that boundary in a limited space More contents are shown in face, user is facilitated to realize interaction, and it is more convenient to operate.
In some embodiments of the present application, multiple sub- view components to be shown are subjected to strip layout, comprising:
Calculate the width and height of every sub- view component;
This is a little to attempt to set up and (such as utilizes measurement method onMeasure, layout method by itself some algorithm OnLayout scheduling algorithm) accurately calculate the width and height of own layout.
According to the priority of every sub- view component, the sequence of the multiple sub- view component is determined;
If there are priority for sub- view component itself, then arranged according to priority, if then being pressed without priority It is ranked up according to time sequencing or some other pre-set sequences.
According to the width, height and sequence, strip layout is carried out to the multiple sub- view component.
Every sub- view component has width, height and the position in layout of itself, according to these information, so that it may These sub- view components to be shown are arranged in band-like shape from top to bottom, to facilitate sliding to check.
In some embodiments of the present application, the width and height of every sub- view component are calculated, comprising:
Determine the width and height of each notification bar in every sub- view component, wherein the sub- view component includes extremely A few notification bar;
According to the width and height of notification bar, the width and height of every sub- view component are calculated.
When group view component includes multiple notification bars, notification bar is also to be arranged with strip layout, at this moment just needs to count The width and height of each notification bar are calculated, the sum of they are the width and height of the sub- view component where the notification bar.When When notification bar just has one, the width and height of notification bar are the width and height of sub- view component.
In some embodiments of the present application, the width and height of every sub- view component are calculated, comprising:
The width and height of every sub- view component are calculated according to the content in sub- view component.
What the notification bar in group view component was arranged not in accordance with strip layout, but when overlapping arrangement, this is only to need Calculate the width and height of every sub- view component itself.When there is new notice display, the degree of seeing of sub- view component It is highly no variation in, new notice will overlap in the sub- view component where the notice, will not generate new width Degree and height, save the space of main view, and user is facilitated to search information.
Embodiment two
A kind of information loading method is provided in another embodiment of the present invention, as shown in fig. 6, the information loading method is also Include:
S201, when multiple sub- view components are shown according to strip layout, detected whether to increase sub- view component newly;
S202, when detected increase sub- view component newly when, in strip layout determine increase newly sub- view component width, Height and position;
S203, according to the width of the determination, height and position, sub- view component will be increased newly and be added to the strip layout In.
In embodiments herein, the sub- view component shown in main view is uncertain, it is possible to have increase or It is to reduce, at this moment strip layout will have some variations accordingly, it is necessary to recalculate newly-increased or reduction sub- sets of views Width, height and the position of part, then accordingly change the position of other assemblies, to re-start strip layout.
In some embodiments of the present application, sub- view component will be increased newly and be added in the strip layout, comprising:
The atomic diagram component of sub- view component position will be increased in the strip layout newly, to first direction or second direction The mobile distance for increasing sub- view component height newly;
It increases sub- view component newly by described and is added to the position vacated in the strip layout;
Wherein, second direction is the opposite direction of the first direction.
When increasing by one or multiple sub- view components, need first to determine the width and height of the sub- view component newly increased Degree, and increase to the position in strip layout;Then sub- view component position will be increased newly in strip layout according to these information The original sub- view component set, is moved, and be can be upwards, is also possible to move down out the position for increasing sub- view component newly It sets;Finally newly-increased sub- view component is added in the position.
If reduce by one or multiple sub- view components, need first to determine that this waits for the width of the sub- view component of reduction And height, and the position in strip layout;Then this sub- view component for waiting for reduction is deleted, this is finally waited for reduced son The sub- view component of lower section moves down or moves up the distance of the sub- view component to reduction above view component;It is also possible to It will move down and move up to the sub- view component of the top of the sub- view component of reduction or lower section, the total distance for moving down and moving up It is the height of the sub- view component to reduction.
Embodiment three
A kind of wearable device is provided in one embodiment of the present of invention, which includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
Realize embodiment one to described in any one of embodiment two when the computer program is executed by the processor The step of method.
For example, the processor executes the computer program, to realize following steps:
Obtain multiple sub- view components to be shown;
If receive idsplay order, multiple sub- view components to be shown are subjected to strip layout;
It is shown in display interface and presets sub- view component in the strip layout.
In the embodiment of the present application, multiple sub- view components to be shown are obtained first, it, will be multiple when there is display to indicate Sub- view component carries out strip layout, and the preset sub- view component in strip layout is finally shown in display interface. All sub- view components to be shown are carried out strip layout by technical solution provided by the present application, so that boundary in a limited space More contents are shown in face, user is facilitated to realize interaction, and it is more convenient to operate.
In some embodiments of the present application, multiple sub- view components to be shown are subjected to strip layout, comprising:
Calculate the width and height of every sub- view component;
This is a little to attempt to set up and (such as utilizes measurement method onMeasure, layout method by itself some algorithm OnLayout scheduling algorithm) accurately calculate the width and height of own layout.
According to the priority of every sub- view component, the sequence of the multiple sub- view component is determined;
If there are priority for sub- view component itself, then arranged according to priority, if then being pressed without priority It is ranked up according to time sequencing or some other pre-set sequences.
According to the width, height and sequence, strip layout is carried out to the multiple sub- view component.
Every sub- view component has width, height and the position in layout of itself, according to these information, so that it may These sub- view components to be shown are arranged in band-like shape from top to bottom, to facilitate sliding to check.
In some embodiments of the present application, the width and height of every sub- view component are calculated, comprising:
Determine the width and height of each notification bar in every sub- view component, wherein the sub- view component includes extremely A few notification bar;
According to the width and height of notification bar, the width and height of every sub- view component are calculated.
When group view component includes multiple notification bars, notification bar is also to be arranged with strip layout, at this moment just needs to count The width and height of each notification bar are calculated, the sum of they are the width and height of the sub- view component where the notification bar.When When notification bar just has one, the width and height of notification bar are the width and height of sub- view component.
In some embodiments of the present application, the width and height of every sub- view component are calculated, comprising:
The width and height of every sub- view component are calculated according to the content in sub- view component.
What the notification bar in group view component was arranged not in accordance with strip layout, but when overlapping arrangement, this is only to need Calculate the width and height of every sub- view component itself.When there is new notice display, the degree of seeing of sub- view component It is highly no variation in, new notice will overlap in the sub- view component where the notice, will not generate new width Degree and height, save the space of main view, and user is facilitated to search information.
The information loading method further include:
When showing multiple sub- view components according to strip layout, detect whether to increase sub- view component newly;
When detected increase sub- view component newly when, determined in strip layout and increase width, the height of sub- view component newly The position and;
According to the width of the determination, height and position, sub- view component will be increased newly and be added in the strip layout.
In embodiments herein, the sub- view component shown in main view is uncertain, it is possible to have increase or It is to reduce, at this moment strip layout will have some variations accordingly, it is necessary to recalculate newly-increased or reduction sub- sets of views Width, height and the position of part, then accordingly change the position of other assemblies, to re-start strip layout.
In some embodiments of the present application, sub- view component will be increased newly and be added in the strip layout, comprising:
The atomic diagram component of sub- view component position will be increased in the strip layout newly, to first direction or second direction The mobile distance for increasing sub- view component height newly;
It increases sub- view component newly by described and is added to the position vacated in the strip layout;
Wherein, second direction is the opposite direction of the first direction.
When increasing by one or multiple sub- view components, need first to determine the width and height of the sub- view component newly increased Degree, and increase to the position in strip layout;Then sub- view component position will be increased newly in strip layout according to these information The original sub- view component set, is moved, and be can be upwards, is also possible to move down out the position for increasing sub- view component newly It sets;Finally newly-increased sub- view component is added in the position.
If reduce by one or multiple sub- view components, need first to determine that this waits for the width of the sub- view component of reduction And height, and the position in strip layout;Then this sub- view component for waiting for reduction is deleted, this is finally waited for reduced son The sub- view component of lower section moves down or moves up the distance of the sub- view component to reduction above view component;It is also possible to It will move down and move up to the sub- view component of the top of the sub- view component of reduction or lower section, the total distance for moving down and moving up It is the height of the sub- view component to reduction.
Example IV
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the present invention Information loading method program is stored in matter, the information loading method program realizes embodiment one as above when being executed by processor The step of to information loading method described in any one of embodiment two.
The embodiment of the present invention in specific implementation, can have corresponding technical effect refering to above-mentioned each embodiment.
Embodiment five
A kind of information displaying method is provided in another embodiment of the present invention, as shown in fig. 7, the information displaying method packet It includes:
S301, when receiving screen slide;
When S302, the direction for determining the slide are the first preset direction, the son of the display screen display is regarded Figure component forward or moves backward the sub- view component of preset number.
Wherein, the first preset direction, which refers to, slides up and down, and notification bar at this time is laid out in parallel, if there is slide Instruction, up or down slides the sub- view component in strip layout according to the instruction, to show other sub- views Component.Content is entirely slided up and down with interface when sliding up and down, very convenient to be checked and operated.
Embodiment six
A kind of wearable device is provided in another embodiment of the present invention, which includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step of method described in embodiment five is realized when the computer program is executed by the processor.
For example, the processor executes the computer program, to realize following steps:
When receiving screen slide;
When the direction for determining the slide is the first preset direction, by the sub- view component of the display screen display Forward or move backward the sub- view component of preset number.
Wherein, the first preset direction, which refers to, slides up and down, and notification bar at this time is laid out in parallel, if there is slide Instruction, up or down slides the sub- view component in strip layout according to the instruction, to show other sub- views Component.
Embodiment seven
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the present invention Information displaying method program is stored in matter, the information loading method program realizes embodiment five as above when being executed by processor The step of described information displaying method.
The embodiment of the present invention in specific implementation, can have corresponding technical effect refering to above-mentioned each embodiment.
Embodiment eight
A kind of information displaying method is provided in another embodiment of the present invention, as shown in figure 8, the information displaying method packet It includes:
S401, when receiving screen slide;
When S402, the direction for determining the slide are the second preset direction, the son of the display screen display is regarded Figure component forward or moves backward the sub- view component of preset number.
The second preset direction in the present embodiment is to horizontally slip, and notification bar at this time is overlapping arrangement, if there is cunning Dynamic operational order, slides the notification bar in the sub- view component in strip layout according to the instruction to the left or to the right, To show other notification bars in this sub- view component.
Embodiment nine
A kind of wearable device is provided in another embodiment of the present invention, which includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step of method described in embodiment eight is realized when the computer program is executed by the processor.
For example, the processor executes the computer program, to realize following steps:
When receiving screen slide;
When the direction for determining the slide is the second preset direction, by the sub- view component of the display screen display Forward or move backward the sub- view component of preset number.
The second preset direction in the present embodiment is to horizontally slip, and notification bar at this time is overlapping arrangement, if there is cunning Dynamic operational order, slides the notification bar in the sub- view component in strip layout according to the instruction to the left or to the right, To show other notification bars in this sub- view component.
Embodiment ten
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the present invention Information displaying method program is stored in matter, the information loading method program realizes embodiment eight as above when being executed by processor The step of described information displaying method.
The embodiment of the present invention in specific implementation, can have corresponding technical effect refering to above-mentioned each embodiment.
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 hair Bright to 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. 9 Shown, Fig. 9 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 All it is covered on the watchband of the equipment.
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 information loading method characterized by comprising
Obtain multiple sub- view components to be shown;
If receive idsplay order, multiple sub- view components to be shown are subjected to strip layout;
It is shown in display interface and presets sub- view component in the strip layout.
2. a kind of information according to claim 1 shows loading method, which is characterized in that by multiple sons to be shown View component carries out strip layout, comprising:
Calculate the width and height of every sub- view component;
According to the priority of every sub- view component, the sequence of the multiple sub- view component is determined;
According to the width, height and sequence, strip layout is carried out to the multiple sub- view component.
3. a kind of information loading method according to claim 2, which is characterized in that calculate the width of every sub- view component And height, comprising:
Determine the width and height of each notification bar in every sub- view component, wherein the sub- view component includes at least one A notification bar;
According to the width and height of notification bar, the width and height of every sub- view component are calculated.
4. a kind of information loading method according to claim 2, which is characterized in that calculate the width of every sub- view component And height, comprising:
The width and height of every sub- view component are calculated according to the content in sub- view component.
5. a kind of information loading method according to claim 1, which is characterized in that the method also includes:
When showing multiple sub- view components according to strip layout, detect whether to increase sub- view component newly;
If so, determining width, height and the position for increasing sub- view component newly in strip layout;
According to the width of the determination, height and position, sub- view component will be increased newly and be added in the strip layout.
6. a kind of information loading method according to claim 5, which is characterized in that described to increase sub- view component addition newly Into the strip layout, comprising:
The atomic diagram component of sub- view component position will be increased in the strip layout newly, it is mobile to first direction or second direction The distance for increasing sub- view component height newly;
It increases sub- view component newly by described and is added to the position vacated in the strip layout;
Wherein, second direction is the opposite direction of the first direction.
7. a kind of information displaying method characterized by comprising
When receiving screen slide;
When the direction for determining the slide is the first preset direction, forward by the sub- view component of the display screen display Or move backward the sub- view component of preset number.
8. a kind of information displaying method characterized by comprising
When receiving screen slide;
Determine the slide direction be the second preset direction when, the sub- view component that the display screen is shown to the left or It is the sub- view component that moves right.
9. a kind of wearable device, which is characterized in that the wearable device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step such as method described in any one of claims 1 to 6 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 be stored with information on the computer readable storage medium and add Support method program is realized when the information loading method program is executed by processor as described in any one of claims 1 to 6 The step of information loading method.
CN201910200038.6A 2019-03-15 2019-03-15 Information load, methods of exhibiting, wearable device and computer readable storage medium Pending CN110007993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910200038.6A CN110007993A (en) 2019-03-15 2019-03-15 Information load, methods of exhibiting, wearable device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910200038.6A CN110007993A (en) 2019-03-15 2019-03-15 Information load, methods of exhibiting, wearable device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110007993A true CN110007993A (en) 2019-07-12

Family

ID=67167231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910200038.6A Pending CN110007993A (en) 2019-03-15 2019-03-15 Information load, methods of exhibiting, wearable device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110007993A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608809A (en) * 2021-08-04 2021-11-05 北京百度网讯科技有限公司 Component layout method, device, equipment, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144026A (en) * 2012-12-10 2015-12-09 三星电子株式会社 Mobile device of bangle type, control method thereof, and UI display method
EP3223127A1 (en) * 2014-11-19 2017-09-27 Samsung Electronics Co., Ltd. Apparatus for executing split screen display and operating method therefor
CN107807764A (en) * 2017-10-27 2018-03-16 优酷网络技术(北京)有限公司 A kind of page display method and client
CN108363539A (en) * 2018-01-26 2018-08-03 努比亚技术有限公司 Display methods, terminal and the computer readable storage medium of list content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144026A (en) * 2012-12-10 2015-12-09 三星电子株式会社 Mobile device of bangle type, control method thereof, and UI display method
EP3223127A1 (en) * 2014-11-19 2017-09-27 Samsung Electronics Co., Ltd. Apparatus for executing split screen display and operating method therefor
CN107807764A (en) * 2017-10-27 2018-03-16 优酷网络技术(北京)有限公司 A kind of page display method and client
CN108363539A (en) * 2018-01-26 2018-08-03 努比亚技术有限公司 Display methods, terminal and the computer readable storage medium of list content

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608809A (en) * 2021-08-04 2021-11-05 北京百度网讯科技有限公司 Component layout method, device, equipment, storage medium and program product
CN113608809B (en) * 2021-08-04 2023-07-18 北京百度网讯科技有限公司 Layout method, device, equipment, storage medium and program product of components

Similar Documents

Publication Publication Date Title
CN110362369A (en) Wearable device control method, wearable device and computer readable storage medium
CN110167116A (en) Control method, equipment and the computer readable storage medium of wearable device
CN110175066A (en) Wearable device, interaction control method and computer readable storage medium
CN110401434A (en) Wearable device control method, 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
CN110086929A (en) Breath screen display methods, mobile phone, wearable device and computer readable storage medium
CN110032308A (en) A kind of page display method, terminal and computer readable storage medium
CN110109721A (en) A kind of wearable device control method, system, wearable device and storage medium
CN110139270A (en) Wearable device matching method, wearable device and computer readable storage medium
CN109933400A (en) Display interface layout method, wearable device and computer readable storage medium
CN110072071A (en) A kind of video record interaction control method, equipment and computer readable storage medium
CN110162369A (en) Wearable device and its icon arrangement method and computer readable storage medium
CN110113529A (en) A kind of acquisition parameters regulation method, equipment and computer readable storage medium
CN110149683A (en) Applicative notifications processing method, wearable device and computer readable storage medium
CN110007993A (en) Information load, methods of exhibiting, wearable device and computer readable storage medium
CN110018775A (en) A kind of content display method, terminal and computer readable storage medium
CN110083205A (en) Page switching method, wearable device and computer readable storage medium
CN110109605A (en) A kind of images share method, equipment and computer readable storage medium
CN110162247A (en) A kind of screen control method, wearable device and computer readable storage medium
CN109980750A (en) A kind of wearable device and its charging circuit
CN110134304A (en) A kind of Folding display method, equipment and computer readable storage medium
CN110147158A (en) A kind of power consumption control method, wearable device and computer readable storage medium
CN110187801A (en) Detection method, wearable device and computer readable storage medium
CN110098996A (en) Synchronous filtering 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190712