CN109947501A - Starting processing method, wearable device and the storage medium of application program - Google Patents
Starting processing method, wearable device and the storage medium of application program Download PDFInfo
- Publication number
- CN109947501A CN109947501A CN201910194457.3A CN201910194457A CN109947501A CN 109947501 A CN109947501 A CN 109947501A CN 201910194457 A CN201910194457 A CN 201910194457A CN 109947501 A CN109947501 A CN 109947501A
- Authority
- CN
- China
- Prior art keywords
- application program
- display interface
- wearable device
- screen
- size
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 33
- 238000003860 storage Methods 0.000 title claims abstract description 23
- 230000006978 adaptation Effects 0.000 claims abstract description 39
- 230000006399 behavior Effects 0.000 claims description 36
- 238000012545 processing Methods 0.000 claims description 29
- 238000000034 method Methods 0.000 claims description 15
- 230000006870 function Effects 0.000 description 18
- 230000006854 communication Effects 0.000 description 17
- 238000004891 communication Methods 0.000 description 16
- 230000000694 effects Effects 0.000 description 16
- 238000007726 management method Methods 0.000 description 9
- 230000000875 corresponding effect Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000000712 assembly Effects 0.000 description 4
- 238000000429 assembly Methods 0.000 description 4
- 230000033001 locomotion Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000005764 inhibitory process Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000011017 operating method Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000005452 bending Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000011230 binding agent Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000012769 display material Substances 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Abstract
The embodiment of the present application discloses starting processing method, wearable device and the computer readable storage medium of a kind of application program, the starting processing method of the application program includes: to obtain the enabled instruction of the display interface of application program, and judge whether the display interface of the application program is to start for the first time;Judge whether the size of the display interface of the application program is greater than the size of the screen of wearable device;It is handled according to display interface of the operation behavior on the display interface of the application program to the application program.The embodiment of the present application is handled by comparing the size of the size of the display interface of application program and the size of the screen of wearable device according to display interface of the operation behavior on display interface to application program;It solves the screen that existing application program is unable to automatic adaptation wearable device, leads to the problem that interface display is incomplete, user experience is low;The screen for realizing application program automatic adaptation wearable device, improves user experience.
Description
Technical field
The invention relates to the starting processing sides of wearable device technical field more particularly to a kind of application program
Method, wearable device and computer readable storage medium.
Background technique
Wearable device is to carry out intelligentized design to daily wearing using wearable technology, develop setting of can dressing
Standby general name, such as wrist-watch, bracelet, glasses, dress ornament etc..The arriving in wearable device epoch means that the intelligence of people is prolonged
It stretches, by these equipment, people can preferably perceive the external information with itself, can be under the auxiliary such as computer, network
The processing information of highly efficient rate.
During realizing the application, inventor has found that the prior art has the following problems: wearable device is all can
Wearing, it is contemplated that the portability of wearable device, the overall volume of existing wearable device is all arranged smaller, and then makes
The screen size for obtaining wearable device is smaller;Since the screen size of wearable device is smaller, so in wearable device
Screen on the content that shows it is restricted, such as be only capable of displaying date-time, display call reminding etc..For size than wearable
The small picture of the screen size of equipment, file etc., the screen of wearable device in display, be also only with picture, file etc. from
The size of body is shown that this results in user and browses the unclear problem of information;Screen for size than wearable device
The big picture of size, file etc., due to the limitation of the screen of wearable device, picture, file can not be shown completely, Yong Huxu
Multiple drag operation is carried out on the screen, can just finish watching the content of display, it is cumbersome, reduce user experience.
Summary of the invention
In view of this, a kind of starting processing method for being designed to provide application program of the embodiment of the present application, wearable
Equipment and computer readable storage medium, to solve the screen that existing application program is unable to automatic adaptation wearable device,
Lead to the problem that interface display is incomplete, user experience is low.
It is as follows that the embodiment of the present application solves technical solution used by above-mentioned technical problem:
According to the one aspect of the embodiment of the present application, a kind of starting processing method of the application program provided, this method is used
Include: in the starting processing method of wearable device, the application program
Obtain application program display interface enabled instruction, and judge the application program display interface whether headed by
Secondary starting;
In the case where the display interface of the application program is starting for the first time, the display interface of the application program is judged
Size whether be greater than wearable device screen size;
In the case where the size of the display interface of the application program is greater than the size of the screen of the wearable device,
It is handled according to display interface of the operation behavior on the display interface of the application program to the application program.
In a kind of possible embodiment, the enabled instruction of the display interface for obtaining application program, and judge institute
Whether the display interface for stating application program is to start for the first time, later further include:
In the case where the display interface of the application program is not starting for the first time, inquired in adaptation layout list again
The identification information of the display interface of the application program;
In the case where inquiring the identification information of display interface of the application program, to the application program
Display interface carries out adaptation layout again, and display circle after adaptation layout again is shown on the screen of the wearable device
Face.
In a kind of possible embodiment, the display that the application program is inquired in adaptation layout list again
The identification information at interface, later further include:
In the case where not inquiring the identification information of display interface of the application program, described wearable
The display interface of the application program is shown on the screen of equipment.
In a kind of possible embodiment, whether the size of the display interface for judging the application program is greater than can
The size of the screen of wearable device, before further include:
The size of the display interface of the application program is calculated, and obtains the size of the screen of the wearable device.
In a kind of possible embodiment, whether the size of the display interface for judging the application program is greater than can
The size of the screen of wearable device, later further include:
In the case where size of the size of the display interface of the application program no more than the screen of wearable device,
The display interface of the application program is shown on the screen of the wearable device.
In a kind of possible embodiment, the operation behavior on the display interface according to the application program is to institute
The display interface for stating application program is handled, before further include:
Detect the operation behavior on the display interface of the application program.
In a kind of possible embodiment, the operation behavior on the display interface according to the application program is to institute
The display interface for stating application program is handled, comprising:
In the case where the operation behavior on the display interface of the application program includes predetermined registration operation, journey is applied by described
The identification information of the display interface of sequence is added to adaptation layout list again;
In the case where the operation behavior on the display interface of the application program does not include predetermined registration operation, worn described
Wear the display interface that the application program is shown on the screen of equipment.
In a kind of possible embodiment, the predetermined registration operation behavior includes horizontally slipping to operate and/or slide up and down behaviour
Make.
According to the other side of the embodiment of the present application, a kind of wearable device provided, the wearable device includes
Including memory, processor and it is stored on the memory and at the starting for the application program that can be run on the processor
Program is managed, the starting processing routine of the application program is realized when being executed by the processor at the starting of above-mentioned application program
The step of reason method.
According to the other side of the embodiment of the present application, a kind of computer readable storage medium provided, the computer
The starting processing routine of application program is stored on readable storage medium storing program for executing, the starting processing routine of the application program is by processor
The step of starting processing method of above-mentioned application program is realized when execution.
Starting processing method, wearable device and the computer-readable storage medium of the application program of the embodiment of the present application
Matter, by comparing the size of the size of the screen of the size and wearable device of the display interface of application program, according to display circle
Operation behavior on face handles the display interface of application program;Solve existing application program be unable to automatic adaptation can
The screen of wearable device leads to the problem that interface display is incomplete, user experience is low;Realizing application program automatic adaptation can wear
The screen for wearing equipment, improves user experience.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided by the embodiments of the present application;
Fig. 2 is the starting processing method flow diagram of the application program of the application first embodiment;
Fig. 3 is the Intelligent bracelet structural schematic diagram of the embodiment of the present application;
Fig. 4 is structural schematic diagram of the Intelligent bracelet of the embodiment of the present application before display interface is adapted to layout again;
Fig. 5 is structural schematic diagram of the Intelligent bracelet of the embodiment of the present application after display interface is adapted to layout again;
Fig. 6 is the wearable device structural schematic diagram of the application second embodiment.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It should be appreciated that specific embodiment described herein is only used to explain the application, it is not used to limit the application.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
The explanation for being conducive to the application, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The wearable device provided in the embodiment of the present application 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 application 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, it is the realization each implementation of the application
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 application 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.
First embodiment
Before illustrating the present embodiment, in order to make it easy to understand, being illustrated below to the relevant technology of android system:
AMS (Activity Manager Service, campaign management services) unit: application program in android system
User interface be with existing for the form of movable (Activity), the corresponding window page of an Activity object is
System has a special service to be responsible for all Activity objects of management system, including starting, pause, stopping, knot AMS, AMS
Beam etc. whole life cycle.Meanwhile AMS is also responsible for starting, stopping, the OOM parameter setting etc. of management application process;
WMS (Window Manager Service, window management service) unit: window management service is responsible for window
(Window) special service of the management of object, the corresponding Activity above of a window, the difference of the two are
Activity is more to realize programmed logic, save configuration information, and Window is more then the display of window, hides shape
The information of state, size, position etc..
In android system, there are two types of the startings that operation can cause Activity: a kind of user's click application program image
When mark, Launcher will start the main Activity of application program;And it is another when the default Activity of application program starts
After getting up, it again can be internal by calling startActvity interface to start new Activity, and so on, each
Activity can start new Activity internal.By this chain reaction, start Activity on demand, thus complete
At the function of application program.
Either start Activity by Launcher, or passes through Activity intrinsic call
StartActivity interface starts new Activity, is all entered by Binder interprocess communication
In ActivityManagerService process, and ActivityManagerService.startActivity is called to connect
Mouthful.
As shown in Fig. 2, the application first embodiment provides a kind of starting processing method of application program, this method is used for can
The starting processing method of wearable device, the application program includes:
Step S21, the enabled instruction of the display interface of application program is obtained, and judges the display interface of the application program
It whether is to start for the first time.
In the present embodiment, when getting the enabled instruction of display interface of application program, need to judge this using journey
Whether the display interface of sequence is to start for the first time.Specifically, the aobvious of the application program can be determined by obtaining the value of parameter preset
Show whether interface is to start for the first time.
As illustratively, in android system, settable isFirstUse parameter judges display circle of application program
Whether face is to start for the first time, if the value of isFirstUse parameter is FALSE, can determine that the display interface of application program is not
Start for the first time;If the value of isFirstUse parameter is TRUE, it can determine that the display interface of application program is to start for the first time.
In one embodiment, the enabled instruction of the display interface for obtaining application program, and judge the application
Whether the display interface of program is to start for the first time, later further include:
In the case where the display interface of the application program is not starting for the first time, inquired in adaptation layout list again
The identification information of the display interface of the application program;
In the case where inquiring the identification information of display interface of the application program, to the application program
Display interface carries out adaptation layout again, and display circle after adaptation layout again is shown on the screen of the wearable device
Face.
In this embodiment, the layout list of adaptation again pre-established includes the identity of the display interface of application program
Identification information indicates that some display interface of some application program needs to be adapted to layout again.
Again the foundation of adaptation layout list is whether the operation behavior on the display interface according to the application program wraps
It includes predetermined registration operation and establishes, the display interface that can actively change application program by being adapted to layout list again shows exception
Layout, reduce the operating procedure of user, the user experience is improved.
In this embodiment, the body of the display interface that the application program is inquired in adaptation layout list again
Part identification information, later further include:
In the case where not inquiring the identification information of display interface of the application program, described wearable
The display interface of the application program is shown on the screen of equipment.
Specifically, if not inquiring the identity of the display interface of the application program in new adaptation layout list
Information, then it represents that the display interface of the application program does not need to be adapted to layout again, can be directly in the screen of the wearable device
The display interface of the application program is shown on curtain.
Step S22, in the case where the display interface of the application program is starting for the first time, judge the application program
Whether the size of display interface is greater than the size of the screen of wearable device.
In the present embodiment, when the value by obtaining parameter preset determines that the display interface of application program is to start for the first time
When, that is, it can determine whether the size of the display interface of application program is greater than the size of the screen of wearable device.
In the present embodiment, the display object on the display interface of application program includes but is not limited to media file, text
Document etc., such as picture, visualization file etc..The size of the display interface of application program may include display area, Huo Zhexian
Show transverse width and longitudinal height etc., for example, a certain picture display size information be display transverse width be 22 millimeters, it is longitudinal
Height is 66 millimeters.
In the present embodiment, the size of the screen of wearable device is to characterize the size of the screen of wearable device
Information may include the area of screen or the transverse width of screen and longitudinal height etc., the shape of the screen of wearable device
Including circle, ellipse, rectangle, square etc., for example, a certain Intelligent bracelet screen transverse width be 11 millimeters, it is longitudinal
Height is 33 millimeters.
In one embodiment, whether the size of the display interface for judging the application program is greater than wearable set
The size of standby screen, before further include:
The size of the display interface of the application program is calculated, and obtains the size of the screen of the wearable device.
In this embodiment, the size of the screen of wearable device can be obtains from cloud, such as according to wearable
The identity information (such as model of wearable device) of equipment can inquire the size of the screen of wearable device from cloud
Information is also possible to obtain from the local of wearable device, such as obtains in the system setting of wearable device.
Step S23, it is greater than the size of the screen of the wearable device in the size of the display interface of the application program
In the case where, according to the operation behavior on the display interface of the application program to the display interface of the application program at
Reason.
In the present embodiment, the size of the display interface of the application program is greater than the ruler of the screen of the wearable device
Very little includes but is not limited to following scenario described:
The transverse width of the display interface of the application program is greater than the transverse width of the screen of the wearable device, institute
State longitudinal height, the application program of longitudinal height greater than the screen of the wearable device of the display interface of application program
Display interface area be greater than the wearable device screen area.
In one embodiment, the operation behavior on the display interface according to the application program is to the application
The display interface of program is handled, before further include:
Detect the operation behavior on the display interface of the application program.
As illustratively, can detecte horizontally slip operation of the user's finger on the display interface of the application program,
Slide up and down operation, clicking operation etc..
In one embodiment, the operation behavior on the display interface according to the application program is to the application
The display interface of program is handled, comprising:
In the case where the operation behavior on the display interface of the application program includes predetermined registration operation, journey is applied by described
The identification information of the display interface of sequence is added to adaptation layout list again;
In the case where the operation behavior on the display interface of the application program does not include predetermined registration operation, worn described
Wear the display interface that the application program is shown on the screen of equipment.
In this embodiment, the predetermined registration operation behavior includes horizontally slipping to operate and/or slide up and down operation.It needs
Illustrate, horizontally slipping to operate and/or slide up and down to operate can be user's finger on the screen of the wearable device
Touch operation or user every empty gesture operation, be specifically not limited thereto.
As illustratively, when longitudinal height of the display interface of the application program is greater than the screen of the wearable device
Longitudinal height when, user needs to slide above and below when operating on the display interface of the application program, then clicks button
Next step operation, such as confirmation, cancel button etc. are carried out, then the identification information of the display interface of the application program is added
To adaptation layout list again.
In one embodiment, whether the size of the display interface for judging the application program is greater than wearable set
The size of standby screen, later further include:
In the case where size of the size of the display interface of the application program no more than the screen of wearable device,
The display interface of the application program is shown on the screen of the wearable device.
In this embodiment, when the size for the display interface for judging the application program is no more than wearable device
When the size of screen, then it represents that the display interface of the application program does not need to be adapted to layout again, can be directly described wearable
The display interface of the application program is shown on the screen of equipment.
In order to preferably illustrate the present embodiment, application program is opened by taking Intelligent bracelet as an example and in conjunction with Fig. 3-Fig. 5 below
Dynamic treatment process is illustrated:
As shown in figure 3,41 in figure be the power button of Intelligent bracelet 40,42 be the display screen of Intelligent bracelet 40.Power supply
Key 41 has the two-in-one function of POWER and HOME, when currently the interface HOME is shown in display screen 42, presses power button
Execution is put out screen movement by 41;When currently locking screen interface is shown in display screen 42, screen locking circle will be closed by pressing power button 41
Face simultaneously shows the interface HOME;When currently default Application Program Interface is shown in display screen 42, pressing power button 41 will be shown
Show the interface HOME.
As shown in figure 4, when entering some display interface of certain browsing class application program when the user clicks, due to the display
Interface is to start for the first time, and the transverse width of the display interface of the browsing class application program is greater than the display screen 42 of Intelligent bracelet 40
Transverse width, for user when the interface operates, the slide that needs to turn right is just it can be seen that " page up ", " lower one page " point
Button is hit, and then clicks page up " or the progress next step operation of " lower one page " button.Intelligent bracelet 40 is detecting above-mentioned feelings
After shape, the identification information of the display interface of the browsing class application program is added to adaptation layout list again.
As shown in figure 5, Intelligent bracelet 40 exists when user again taps on into the display interface of the browsing class application program
Again adaptation layout list can find the identification information of the display interface of the browsing class application program, and then to the browsing
The display interface of class application program actively carries out adaptation layout again, and shows on the display screen of Intelligent bracelet 40 42 and fit again
With the display interface after layout.From fig. 5, it can be seen that the display interface after adaptation layout is slided to the right again without user again
Dynamic operation, that is, reduce the operating procedure of user, the user experience is improved.
The starting processing method of the application program of the embodiment of the present application, by comparing the size of the display interface of application program
With the size of the size of the screen of wearable device, according to the operation behavior on display interface to the display interface of application program into
Row processing;Solve the screen that existing application program is unable to automatic adaptation wearable device, cause interface display not exclusively, use
Experience low problem in family;The screen for realizing application program automatic adaptation wearable device, improves user experience.
Second embodiment
As shown in fig. 6, the application second embodiment provides a kind of wearable device, the wearable device includes memory
61, processor 62 and be stored in the application program that can be run on the memory 61 and on the processor 62 starting processing
Program, when the starting processing routine of the application program is executed by the processor 62, for realizing application journey as described below
The step of starting processing method of sequence:
Obtain application program display interface enabled instruction, and judge the application program display interface whether headed by
Secondary starting;
In the case where the display interface of the application program is starting for the first time, the display interface of the application program is judged
Size whether be greater than wearable device screen size;
In the case where the size of the display interface of the application program is greater than the size of the screen of the wearable device,
It is handled according to display interface of the operation behavior on the display interface of the application program to the application program.
When the starting processing routine of the application program is executed by the processor 62, it is also used to realize as described below answer
The step of with the starting processing method of program:
It is described obtain application program display interface enabled instruction, and judge the application program display interface whether
To start for the first time, later further include:
In the case where the display interface of the application program is not starting for the first time, inquired in adaptation layout list again
The identification information of the display interface of the application program;
In the case where inquiring the identification information of display interface of the application program, to the application program
Display interface carries out adaptation layout again, and display circle after adaptation layout again is shown on the screen of the wearable device
Face.
When the starting processing routine of the application program is executed by the processor 62, it is also used to realize as described below answer
The step of with the starting processing method of program:
The identification information of the display interface that the application program is inquired in adaptation layout list again, later
Further include:
In the case where not inquiring the identification information of display interface of the application program, described wearable
The display interface of the application program is shown on the screen of equipment.
When the starting processing routine of the application program is executed by the processor 62, it is also used to realize as described below answer
The step of with the starting processing method of program:
Whether the size of the display interface for judging the application program is greater than the size of the screen of wearable device, it
Before further include:
The size of the display interface of the application program is calculated, and obtains the size of the screen of the wearable device.
When the starting processing routine of the application program is executed by the processor 62, it is also used to realize as described below answer
The step of with the starting processing method of program:
Whether the size of the display interface for judging the application program is greater than the size of the screen of wearable device, it
Afterwards further include:
In the case where size of the size of the display interface of the application program no more than the screen of wearable device,
The display interface of the application program is shown on the screen of the wearable device.
When the starting processing routine of the application program is executed by the processor 62, it is also used to realize as described below answer
The step of with the starting processing method of program:
Operation behavior on the display interface according to the application program to the display interface of the application program into
Row processing, before further include:
Detect the operation behavior on the display interface of the application program.
When the starting processing routine of the application program is executed by the processor 62, it is also used to realize as described below answer
The step of with the starting processing method of program:
Operation behavior on the display interface according to the application program to the display interface of the application program into
Row processing, comprising:
In the case where the operation behavior on the display interface of the application program includes predetermined registration operation, journey is applied by described
The identification information of the display interface of sequence is added to adaptation layout list again;
In the case where the operation behavior on the display interface of the application program does not include predetermined registration operation, worn described
Wear the display interface that the application program is shown on the screen of equipment.
When the starting processing routine of the application program is executed by the processor 62, it is also used to realize as described below answer
The step of with the starting processing method of program:
The predetermined registration operation behavior includes horizontally slipping to operate and/or slide up and down operation.
The wearable device of the embodiment of the present application, by comparing the size and wearable device of the display interface of application program
Screen size size, handled according to display interface of the operation behavior on display interface to application program;It solves
Existing application program is unable to the screen of automatic adaptation wearable device, leads to that interface display is incomplete, user experience is low
Problem;The screen for realizing application program automatic adaptation wearable device, improves user experience.
3rd embodiment
The application 3rd embodiment provides a kind of computer readable storage medium, deposits on the computer readable storage medium
The starting processing routine for containing application program, for realizing when the starting processing routine of the application program is executed by processor
The step of starting processing method of application program described in one embodiment.
It should be noted that the computer readable storage medium of the present embodiment, belongs to same with the method for first embodiment
Design, specific implementation process is shown in embodiment of the method in detail, and the technical characteristic in embodiment of the method is right in the present embodiment
It should be applicable in, which is not described herein again.
The computer readable storage medium of the embodiment of the present application, by comparing application program display interface size with can
The size of the size of the screen of wearable device, according to the operation behavior on display interface to the display interface of application program at
Reason;Solve the screen that existing application program is unable to automatic adaptation wearable device, cause interface display not exclusively, user's body
Test low problem;The screen for realizing application program automatic adaptation wearable device, improves user experience.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain objects
Reason component or all physical assemblies may be implemented as by processor, such as central processing unit, digital signal processor or micro process
The software that device executes, is perhaps implemented as hardware or is implemented as integrated circuit, such as specific integrated circuit.Such software
Can be distributed on a computer-readable medium, computer-readable medium may include computer storage medium (or non-transitory be situated between
Matter) and communication media (or fugitive medium).As known to a person of ordinary skill in the art, term computer storage medium includes
In any method or skill for storing information (such as computer readable instructions, data structure, program module or other data)
The volatile and non-volatile implemented in art, removable and nonremovable medium.Computer storage medium includes but is not limited to
RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic
Box, tape, disk storage or other magnetic memory apparatus or it can be used for storing desired information and can be visited by computer
Any other medium asked.In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable
Other numbers in the modulated data signal of instruction, data structure, program module or such as carrier wave or other transmission mechanisms etc
According to, and may include any information delivery media.
Above by reference to Detailed description of the invention preferred embodiment of the present application, not thereby limit to the interest field of the application.This
Field technical staff does not depart from made any modifications, equivalent replacements, and improvements in scope of the present application and essence, should all be at this
Within the interest field of application.
Claims (10)
1. a kind of starting processing method of application program, this method is used for wearable device, which is characterized in that the application program
Starting processing method include:
The enabled instruction of the display interface of application program is obtained, and judges whether the display interface of the application program is to open for the first time
It is dynamic;
In the case where the display interface of the application program is starting for the first time, the ruler of the display interface of the application program is judged
The size of the very little screen for whether being greater than wearable device;
In the case where the size of the display interface of the application program is greater than the size of the screen of the wearable device, according to
Operation behavior on the display interface of the application program handles the display interface of the application program.
2. the starting processing method of application program according to claim 1, which is characterized in that the acquisition application program
The enabled instruction of display interface, and judge whether the display interface of the application program is to start for the first time, later further include:
In the case where the display interface of the application program is not starting for the first time, in adaptation layout list again described in inquiry
The identification information of the display interface of application program;
Display in the case where inquiring the identification information of display interface of the application program, to the application program
Interface carries out adaptation layout again, and the display interface after adaptation layout again is shown on the screen of the wearable device.
3. the starting processing method of application program according to claim 2, which is characterized in that described in adaptation layout again
The identification information of the display interface of the application program is inquired in list, later further include:
In the case where not inquiring the identification information of display interface of the application program, in the wearable device
Screen on show the display interface of the application program.
4. the starting processing method of application program according to claim 1, which is characterized in that the judgement is described to apply journey
Whether the size of the display interface of sequence is greater than the size of the screen of wearable device, before further include:
The size of the display interface of the application program is calculated, and obtains the size of the screen of the wearable device.
5. the starting processing method of application program according to claim 1, which is characterized in that the judgement is described to apply journey
Whether the size of the display interface of sequence is greater than the size of the screen of wearable device, later further include:
In the case where size of the size of the display interface of the application program no more than the screen of wearable device, described
The display interface of the application program is shown on the screen of wearable device.
6. the starting processing method of application program according to claim 1, which is characterized in that described to apply journey according to described
Operation behavior on the display interface of sequence handles the display interface of the application program, before further include:
Detect the operation behavior on the display interface of the application program.
7. the starting processing method of application program according to claim 1, which is characterized in that described to apply journey according to described
Operation behavior on the display interface of sequence handles the display interface of the application program, comprising:
In the case where the operation behavior on the display interface of the application program includes predetermined registration operation, by the application program
The identification information of display interface is added to adaptation layout list again;
In the case where the operation behavior on the display interface of the application program does not include predetermined registration operation, wearable set described
The display interface of the application program is shown on standby screen.
8. the starting processing method of application program according to claim 7, which is characterized in that the predetermined registration operation behavior packet
It includes to horizontally slip and operates and/or slide up and down operation.
9. a kind of wearable device, which is characterized in that the wearable device includes memory, processor and is stored in described deposit
On reservoir and the starting processing routine of application program that can run on the processor, the starting of the application program handle journey
It realizes when sequence is executed by the processor such as the starting processing method of application program described in any item of the claim 1 to 8
Step.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium power supply by
Key processing routine is realized when the power button processing routine is executed by the processor such as any one of claims 1 to 8 institute
The step of starting processing method for the application program stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910194457.3A CN109947501A (en) | 2019-03-14 | 2019-03-14 | Starting processing method, wearable device and the storage medium of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910194457.3A CN109947501A (en) | 2019-03-14 | 2019-03-14 | Starting processing method, wearable device and the storage medium of application program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109947501A true CN109947501A (en) | 2019-06-28 |
Family
ID=67010023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910194457.3A Pending CN109947501A (en) | 2019-03-14 | 2019-03-14 | Starting processing method, wearable device and the storage medium of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109947501A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113917976A (en) * | 2021-08-30 | 2022-01-11 | 上海摩软通讯技术有限公司 | Method and device for adjusting scroll screen, electronic equipment and storage medium |
CN114173005A (en) * | 2020-09-11 | 2022-03-11 | 华为技术有限公司 | Application layout control method and related device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016113693A1 (en) * | 2015-01-14 | 2016-07-21 | Neptune Computer Inc. | Wearable data processing and control platform apparatuses, methods and systems |
CN106708523A (en) * | 2016-12-26 | 2017-05-24 | 上海斐讯数据通信技术有限公司 | Smart wearable device display method and system |
CN109164994A (en) * | 2018-06-28 | 2019-01-08 | 努比亚技术有限公司 | Display methods, intelligent wearable device and storage medium based on intelligent wearable device |
-
2019
- 2019-03-14 CN CN201910194457.3A patent/CN109947501A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016113693A1 (en) * | 2015-01-14 | 2016-07-21 | Neptune Computer Inc. | Wearable data processing and control platform apparatuses, methods and systems |
CN106708523A (en) * | 2016-12-26 | 2017-05-24 | 上海斐讯数据通信技术有限公司 | Smart wearable device display method and system |
CN109164994A (en) * | 2018-06-28 | 2019-01-08 | 努比亚技术有限公司 | Display methods, intelligent wearable device and storage medium based on intelligent wearable device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114173005A (en) * | 2020-09-11 | 2022-03-11 | 华为技术有限公司 | Application layout control method and related device |
CN115857852A (en) * | 2020-09-11 | 2023-03-28 | 华为技术有限公司 | Application layout control method and related device |
CN113917976A (en) * | 2021-08-30 | 2022-01-11 | 上海摩软通讯技术有限公司 | Method and device for adjusting scroll screen, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109982179A (en) | Audio frequency signal output, device, wearable device and storage medium | |
CN109976609A (en) | Slide response method, wearable device and computer readable storage medium | |
CN110062279A (en) | Video method of cutting out, wearable device and computer readable storage medium | |
CN110362368A (en) | Picture customization display methods, relevant device and the storage medium of wearable device | |
CN110262849A (en) | Using starting method, wearable device and computer readable storage medium | |
CN110099176A (en) | Breath screen display methods, wearable device and computer readable storage medium | |
CN110109537A (en) | A kind of wearable device and its gesture identification method and computer readable storage medium | |
CN110175008A (en) | Method, wearable device and the computer readable storage medium of operating terminal | |
CN110162178A (en) | Illustrate the methods of exhibiting, wearable device and storage medium of information | |
CN110069132A (en) | Application control method, intelligent wearable device and computer readable storage medium | |
CN109947501A (en) | Starting processing method, wearable device and the storage medium of application program | |
CN109947325A (en) | Application icon display methods, wearable device and computer readable storage medium | |
CN110109603A (en) | A kind of page operation method, wearable device and computer readable storage medium | |
CN110187764A (en) | A kind of barrage display methods, wearable device and storage medium | |
CN110134312A (en) | Control method, wearable device and computer readable storage medium | |
CN110086929A (en) | Breath screen display methods, mobile phone, wearable device and computer readable storage medium | |
CN110262748A (en) | Wearable device control method, wearable device and computer readable storage medium | |
CN110071866A (en) | A kind of instant messaging application control method, wearable device and storage medium | |
CN110069193A (en) | A kind of interface switching method of wearable device, wearable device and storage medium | |
CN110191230A (en) | Application interface display methods, mobile terminal and readable storage medium storing program for executing | |
CN110198377A (en) | A kind of double screen terminal control method, double screen terminal and computer readable storage medium | |
CN110162369A (en) | Wearable device and its icon arrangement method and computer readable storage medium | |
CN110213442A (en) | Speech playing method, terminal and computer readable storage medium | |
CN110139270A (en) | Wearable device matching method, wearable device and computer readable storage medium | |
CN109976851A (en) | Menu item display methods, 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190628 |