CN110427240A - Intelligence desktop management method, wearable device and computer readable storage medium - Google Patents
Intelligence desktop management method, wearable device and computer readable storage medium Download PDFInfo
- Publication number
- CN110427240A CN110427240A CN201910695392.0A CN201910695392A CN110427240A CN 110427240 A CN110427240 A CN 110427240A CN 201910695392 A CN201910695392 A CN 201910695392A CN 110427240 A CN110427240 A CN 110427240A
- Authority
- CN
- China
- Prior art keywords
- application
- application type
- desktop
- wearable device
- configuration file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application proposes a kind of intelligence desktop management method, is applied to wearable device, comprising the following steps: when booting, obtains configuration file;The configuration file is parsed, judges that the number for the application type being resolved to is whether to be less than predetermined number, if so, arranging the application type in desktop according to default placement rule;The application for whether having installation or deletion is monitored, if so, then the application installed or deleted is added in the corresponding application type of the desktop according to the configuration file or removes from the desktop.Method provided in an embodiment of the present invention passes through the efficient management to application type, dynamic implement application class is shown, and, in conjunction with configuration file, in booting, parses and be applied list of types and distribute display, it deletes and installs while listening for system application, it realizes that application type interface dynamic is newly-increased and deletes, refreshes watch desktop in real time, promote development efficiency and user experience.
Description
Technical field
This disclosure relates to which electronic technology field more particularly to intelligence desktop management method, wearable device and computer can
Read storage medium.
Background technique
With the development of electronic product, wearable device, such as watch etc popularize use by masses.By
It is smaller in the general screen of watch, therefore watch desktop is typically also by way of hard coded come fixed type and all types of
The application for including, but cannot achieve dynamic and manage, scalability is lower.
Summary of the invention
The technical problem to be solved in the present invention is that can not dynamically manage for current watch desktop, scalability is lower
Problem proposes that intelligence desktop management method, device, terminal and the computer of a kind of wearable device can for the technical problem
Storage medium.
To achieve the above object, a technical solution provided in an embodiment of the present invention is to propose a kind of intelligence desktop management
Method is applied to wearable device, this method comprises: obtaining configuration file when booting;The configuration file is parsed, judges to solve
The number for the application type analysed be whether be less than predetermined number, if so, according to default placement rule desktop arrangement described in
Application type;Whether monitor has the application of installation and/or unloading, if so, then according to the configuration file by install and/or
Using be added in the corresponding application type of the desktop or from the desktop remove.
In some embodiments, arranging the application type in desktop according to default placement rule includes: according to the table
The number of face size and the application type parsed distributes desktop area for each application type.
In some embodiments, the operating frequency for recording user's operation application type, according to operating frequency, described in distribution
The desktop area of each application type distributes the highest application type of operating frequency to maximum screen automatically when being switched on next time
Curtain region.
In some embodiments, the application for whether having installation and/or unloading is monitored, if so, then according to the configuration file
Installation or the application deleted are added in the corresponding application type of the desktop or removed from the desktop, comprising: is listened to
Whether when having the application program of installation, inquiring in the configuration file has the title of the application;If so, then obtaining this using institute
The application type of category first stores the application program into third class application type if nothing.
In some embodiments, the application program is first stored into third class application type, then judges this using class
Whether type is in the desktop the allocated display interface, is that the application type in the desktop distributes screen area if not having
And it shows;If so, then the application type is shown in the corresponding application type of the desktop.
In some embodiments, the application for whether having installation and/or deletion is monitored, if so, then according to the configuration file
Installation or the application deleted are added in the corresponding application type of the desktop or removed from the desktop, comprising: is detected
There is the operation of unloading application program, application type of the application program belonging to it is removed;Judge the removed application
Whether there are also other applications in corresponding application type removes the application type if nothing;It is adaptive according to default placement rule
The display mode for the remaining application type of adjustment answered.
In some embodiments, the configuration file stores in xml format, is bundled in apk file, wherein
PackageName is the packet name of application type, includes the title and each concrete application of each application type in the packet
The title of program and the application type belonging to it.
In some embodiments, the predetermined number be 6, the application type parsed are as follows: communication, system setting,
Sport health, payment, tool and other.
To achieve the above object, a technical solution provided in an embodiment of the present invention is to propose a kind of wearable device,
Including flexible screen, comprising: at least one processor;And the memory being connect at least one described processor communication;
Wherein, the memory is stored with the instruction repertorie that can be executed by least one described processor, and described instruction program is described
At least one processor executes, so that at least one described processor executes the above method, and is shown in the flexible screen
On.
To achieve the above object, a technical solution provided in an embodiment of the present invention is to propose that a kind of computer program produces
Product, comprising: the computer product includes: non-volatile computer readable storage medium storing program for executing and is embedded in described non-volatile
The computer instruction of readable storage medium storing program for executing;The computer program includes the instruction to make processor execute the above method.
This programme is shown by the efficient management to application type, dynamic implement application class, also, combines configuration text
Part parses in application starting and is applied list of types and distributes display, real while listening for system application unloading and installation
Existing application type interface dynamic is newly-increased and deletes, and refreshes watch desktop in real time, promotes development efficiency and user experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of intelligence desktop management method provided in an embodiment of the present invention;
Fig. 3 is the storage format figure of configuration file provided in an embodiment of the present invention;
Fig. 4 is a kind of desktop schematic diagram of wearable device provided in an embodiment of the present invention;
Method flow diagram when Fig. 5 is installation new opplication provided in an embodiment of the present invention;
Method flow diagram when Fig. 6 is unloading application provided in an embodiment of the present invention;
Fig. 7 is a kind of hardware schematic of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 8 is a kind of hardware schematic of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 9 is a kind of hardware schematic of embodiment of wearable device provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of wearable device provided in an embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to limit this hair
It is bright.
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) it is unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, aobvious
Show 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 reality to realize the present invention
A kind of hardware structural diagram of wearable device of example is applied, 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,
And the equal components of power supply 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted pair
The restriction of wearable device, wearable device may include components more more or fewer than diagram, or combine certain components,
Or different 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
The processor 110 of wearable device is handled, and base station can be to the downlink information that radio frequency unit 101 is sent according to radio frequency unit 101
What the uplink information of transmission generated, it is also possible to after the information update for detecting wearable device actively to radio frequency unit
101 push, for example, base station can be set to wearable after detecting that geographical location locating for wearable device changes
Standby radio frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can after receiving the message informing
It is handled so that the message informing to be sent to the processor 110 of wearable device, the processor 110 of wearable device can control
The message informing is shown on the display panel 1061 of 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 be with
It is communicated by wireless communication with network and other equipment, specifically may include: by wireless communication and in network system
Server communication, for example, wearable device can download file resource from server by wireless communication, such as can be from
Application program is downloaded in server, after wearable device completes the downloading of a certain application program, if the application in server
The corresponding file resource of program updates, then the server can be by wireless communication to wearable device push resource updates
Message informing, to remind user to be updated the application program.Above-mentioned wireless communication can be used any communication standard or
Agreement, 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), WCDMA (Wideband Code Division Multiple
Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division
Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long
Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term
Evolution, time division duplex long term evolution) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come by the way that esim card (Embedded-SIM) is arranged
It realizes and accesses existing communication network, by the way of esim card, the inner space of wearable device can be saved, reduce thick
Degree.
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 link with other equipment or communication network separately through wifi module 102
It connects, 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
It is when under the isotypes such as mode, speech recognition mode, broadcast reception mode, radio frequency unit 101 or WiFi module 102 is received
Or the audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output list
Audio output relevant to the specific function that wearable device 100 executes that member 103 can also be provided is (for example, call signal connects
Quiet down 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 process
Device (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 are captured in video
In mode or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into
Row processing.Treated, and picture frame may be displayed on display unit 106.Through treated the picture frame of graphics processor 1041
It can store in memory 109 (or other storage mediums) or sent out via radio frequency unit 101 or WiFi module 102
It send.Microphone 1042 can be in telephone calling model, logging mode, speech recognition mode etc. operational mode via Mike
Wind 1042 receives sound (audio data), and can be audio data by such acoustic processing.Treated audio (language
Sound) data can be converted in the case where telephone calling model to be sent to mobile communication base station via radio frequency unit 101
Format output.Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and connect with eliminating (or inhibition)
The noise generated during receipts and transmission audio 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, and proximity sensor can be moved in one's ear in wearable device 100
When, close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect each side
The size of (generally three axis) acceleration upwards, can detect that size and the direction of gravity, can be used to identify mobile phone appearance when static
The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of state, (such as the step counting of Vibration identification correlation function
Device, percussion) 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
Including display panel 1061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used
Forms such as (Organic Light-Emitting Diode, OLED) are managed to 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, this implementation
Example 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 user on it or nearby
Touch operation (for example user on touch panel 1071 or is being touched using any suitable object or attachment such as finger, stylus
Control the operation near panel 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 can
Including both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and
Touch operation bring signal is detected, touch controller is transmitted a signal to;Touch controller is received from touch detecting apparatus
Touch information, and be converted into contact coordinate, then give processor 110, and order that processor 110 is sent can be received simultaneously
It is executed.Furthermore, it is possible to realize touch panel using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other
Input equipment 1072 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), rail
One of mark ball, mouse, operating stick etc. are 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
To realize the various ways such as short-press, long-pressing, rotation, to realize a variety of operating effects.The quantity of button can be to be multiple, no
It can be applied in combination between same 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 surface
Plate 1061 is the function that outputs and inputs of realizing wearable device as two independent components, but in some embodiments
In, 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, when receiving the message informing of a certain application program by radio frequency unit 101, processor 110
It can control and show the message informing in a certain predeterminable area of display panel 1061, the predeterminable area and touch panel
1071 a certain region is corresponding, can be to display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071
The message informing shown in upper corresponding region 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, it is external power supply (or battery charger) port, wired
Or wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/
O) port, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED)
(for example, data information, electric power etc.) and the input received is transferred to the one or more in wearable device 100
Element can be used 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 storage program
Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as
Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone
Such as audio data, phone directory) etc..In addition, memory 109 may include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a 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
Body monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and
Modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation
Processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 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
Equipment 100 can be connect by bluetooth with other terminal devices, realize communication and the interaction of information.Based on above-mentioned wearable
Device hardware structure proposes each embodiment of the method for the present invention.
The embodiment of the invention discloses the methods and wearable device of a kind of wearable device breath screen, are set using wearable
The standby long and narrow feature of screen, the convenient gesture that user is mediated on the screen by using finger are realized under half-light environment quickly
Extinguish screen, it is convenient to operate, and only can mediate just triggering breath screen in specific interface finger, greatly reduces user misoperation and leads
The probability for causing breath screen, improves the usage experience of user.It is described in detail separately below.
Embodiment one
Wearable device intelligence desktop management method method provided in this embodiment is suitable for various wearable devices, example
Such as the wearable device for being suitable for converse and/or communicating, it is also applied for the wearable device that cannot be conversed and/or communicate, it should
Which wearable device specifically has the function of not as the limitation to wearable device provided in this embodiment, as long as it can be real
The intelligence desktop management method of existing wearable device provided in this embodiment.
A kind of intelligence desktop management method of wearable device, as shown in Figure 2, comprising the following steps:
Step S300: when booting, configuration file is obtained;
Configuration file is set, includes preset application and popular application in the configuration file
General wearable device, for example in the application by taking watch as an example, have by taking Fig. 3 as an example, in desktop many using journey
Program application is arranged in sequence, such as chat tool, system, and payment program, sport health program, communication etc. in these programs, have
It is some to belong to preset application, such as program setting application, communication, sport health etc., built-in is answered when being watch factory
With program, first kind application is known as in embodiments herein below, it is self-demand that also some applications, which are users,
And the popular application, such as payment, tool etc. downloaded, the second class application is known as in embodiments herein below, if
Both first kind application and the second class application be not belonging to, then downgrade processing is the application of third class, generally other types, namely:
The type of the non-matching upper first kind and the application of the second class, such as the application of travelling class, fail the matching value first kind and the second class
The type of application, then temporarily also downgrade processing is the application of third class.It may include in every a kind of application multiple specific using journey
It may include wechat, Alipay, bank APP etc. in sequence, such as payment, which kind of application is specific application program belong to, this is
What system can be sorted out according to the title and format identification and Auto-matching of application program, this portion of techniques belongs to existing skill
Art, it is no longer burdensome.
Specifically, being stored as the file packing in the first kind and the application of the second class specifically for desktop management
Configuration file.
As shown in figure 3, file is stored as configuration file with the format of XML by system, configuration file is bundled to using apk
In file, wherein packageName is the packet name of application type, includes the title of each application type in the packet, and each
The title of concrete application program and the application type belonging to it, wherein the wherein affiliated type of the type field references application,
Application will be shown in the corresponding page in this way;For example " road Yun Biji " belongs to " other " type;" Alipay "
Belong to " payment " type;" network settings " belong to " system setting " type;" wechat " belongs to " communication " type,
Above application program and application type can be all shown on the desktop of watch.It is configured so that the format setting of file, conveniently looks into
Ask each application program title and its corresponding application type, mitigate the burden of exploitation.
Step S310: parsing the configuration file, judges that the number for the application type being resolved to is whether to be less than default
Number, if so, arranging the application type in desktop according to default placement rule;
The XML file packet in configuration file namely analyzing step S300 is parsed, map<Integer, List>number are parsed to obtain
According to;
The predetermined number is generally 6, is also possible to 5,7 etc., is specifically with the screen content of wearable device
It is main, too many number will lead to each application type to account for screen ratio very small;Very few number can not be able to satisfy the need of user again
It asks.
The default placement rule is according to the number of size of desktop and the application type parsed, is each application
Type distributes screen area, the display mode of a kind of Layout Embodiment as shown in Figure 4, by the application class parsed
According to from the left side to the right side, successively arrangement is distributed on the desktop of watch type, user-friendly.Fig. 3 is by default application according to one
As operator use frequent degree, arrangement are as follows: communication, system setting, sport health;Second class application is arranged in first
After class application, respectively from left to right successively are as follows: the means of payment;Secondly for the application of third class namely other.
Certainly, default placement rule be not limited only to it is such from left to right, specifically, the screen according to wearable device is big
It is small, carry out pro rate appropriate;Can also from top to bottom, vertical direction distributes screen to show the application type being resolved to.
Or in the present embodiment the desktop of watch be it is circular, then according to equal proportion divide screen, the application type is uniformly distributed
In marking off the sub-screen come.
Further, the operating frequency for application type of user is recorded to before shutting down in primary booting, according to
Operating frequency distributes the desktop area of each application type, automatically that operating frequency is highest using class when being switched on next time
Type distributes maximum screen area, facilitates user to search the application program that it is commonly used, promotes the usage experience of user.
Further, in booting, before prompting the user whether to need in preset time unused application type into
Row removes.
Step S320: prison monitors the application for whether having installation and/or deletion, if so, will then be pacified according to the configuration file
Dress or the application deleted are added in the corresponding application type of the desktop or remove from the desktop.
The process described above, can be in conjunction with configuration file, and in application starting, parsing is applied list of types simultaneously
Distribution display is realized that application type interface dynamic is newly-increased and deletes, is brushed in real time while listening for system application unloading and installation
New watch desktop, promotes development efficiency and user experience.
The step S320 is divided to install and uninstall two sub-steps, respectively as shown in Figure 5 and Figure 6:
Step S321: whether as shown in figure 5, when listening to the application program of installation, inquiring in the configuration file has
The title of the application;If so, then obtaining this using affiliated application type, and enter step S3211;If nothing, by the application
After program is first stored into third class application type, step S3211 is entered back into.
Whether step S3211: further judging the application type in the desktop the allocated display interface, if not having,
Screen then is distributed in the desktop for the application type and is shown;If so, then the application type is shown corresponding in the desktop
Application type in.
Such as first inquiring whether had the title in step S321 when reinstalling an application program
Application program, if there is directly obtaining the corresponding type of the application program from configuration file;As shown in figure 4, configuration
The corresponding Apply Names of each application program and the type have been done and matched one by one in file;Directly journey is applied in inquiry
The title of sequence can obtain affiliated type.Whether the desktop for then inquiring watch has had the display interface of the type, such as
Fruit has, and directly displays;If the interface of the type not yet, needs to newly increase a type, then newly-increased
The type added needs together with the type in former configuration file, redistributes according to default layout and accounts for screen ratio or display scale;
Or it is placed directly in the last one column and is shown.
If the application program newly installed is not detected in configuration file, is then degraded and be classified as third Class Type;And
Whether judge the desktop that currently shows has a third Class Type, generally other, if having, directly addition is gone up;If
No, then it needs to increase a type again, then the type newly increased needs and the type one in former configuration file
It rises, is redistributed according to default layout and account for screen ratio or display scale;Or it is placed directly in last column and is shown.
Step S322: as shown in fig. 6, the figure shows operational flowchart when user deletes or unload application program, tool
Body includes following sub-step:
The operation for detecting unloading application program removes application type of the application program belonging to it;
Judge in the corresponding application type of the removed application whether there are also other applications and removes the application if nothing
Type;
According to the display mode of the adaptive remaining application type of adjustment of default placement rule.
It is specific: when user unloads an application program, this is being removed in corresponding type interface using journey first
Sequence;It needs further to judge after removal, whether there are also other applications in the application type, if without also as one
When empty page, the interface is removed from container by removeView, then remaining application type needs to readjust its row
Mode for cloth, the desktop screen space being shifted out with the application type in order to fill up removal.
Optionally, it when detecting the operation of unloading application program, first inquires whether the user needs to unload the application;
The form pop-up desktop that the inquiry can be window then removes it in affiliated application type after user's confirmation, to prevent
Only deleted caused by the maloperation of user.
Optionally, when detecting the operation of unloading application program, first judge whether the application program belongs to the first kind and answer
In, if so, not allowing to delete;Subsequent removing step is not executed, even if detecting that user clicks the application program
Recycle bin etc. is deleted or be moved to, invalid operation is disposed as;Due to it is such be to belong to the relevant application of system, be maintain
Wearable device work normally premise, be do not allow it is deleted.
Embodiment two:
A kind of intelligence desktop managing device of wearable device includes:
Configuration file obtains module: when for opening machine, obtaining configuration file;
It parses and module of arranging: for parsing the configuration file, judging that the number for the application type being resolved to is whether
Less than predetermined number, if so, arranging the application type according to default placement rule;
Monitor module: for monitoring the application program for whether having installation and/or unloading, if so, then will installation or unloading
Application program be added in the corresponding application type of the desktop or from the desktop remove.
The intelligence desktop managing device combination configuration file of the wearable device, in application starting, parsing is applied
List of types simultaneously distributes display, while listening for system application unloading and installation, realizes that application type interface dynamic is newly-increased and deletes
It removes, refreshes watch desktop in real time, promote development efficiency and user experience.
The monitoring module further comprises: module is monitored in installation and module is monitored in unloading;
When the installation monitors module for detecting the operation of installation new opplication, step S321 and step S3211 is executed
Operation.
Module is monitored in the unloading, when for detecting the operation of unloading application program, is executed all in step S322
Content.
The monitoring module is able to respond user and is installing or deleting in application, by reading configuration file, energy is real
The desktop of Shi Gengxin wearable device is shown, very convenient, promotes development efficiency.
Module described above executes corresponding method in embodiment one, and the method is identical in embodiment one, specifically
Details is then no longer burdensome.
Embodiment three:
Fig. 7-Fig. 9 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. 7 and Fig. 9 shows wearable set
Structural schematic diagram when standby screen expansion, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device
When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this Shen
It please propose a kind of optional embodiment, in the present embodiment, the equipment can be wrist-watch, bracelet or wearable
Equipment, the equipment include screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be table
Band.Optionally, the viewing area of the screen or screen of the equipment can partly or completely be covered on the watchband of equipment
On.As shown in figure 5, Fig. 5 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application,
The screen of the equipment extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the equipment
Screen can also all be covered on the watchband of the equipment, the embodiment of the present application is not limited thereto.
The wearable device includes a display screen, and the display screen shows that as shown in Figure 4 various types of answer
With specific display methods executes the method in embodiment one, which executes side provided by the embodiment of the present invention
Method has the corresponding functional module of execution method and beneficial effect.The not technical detail of detailed description in the present embodiment, can
Referring to method provided by the embodiment of the present invention.
It as shown in Figure 10, is another hardware structural diagram of wearable device 180 provided in an embodiment of the present invention.
The wearable device 180, can be any suitable wearable device, and as shown in Figure 10, which includes: one or more
Processor 181 and memory 182, in Figure 18 by taking a processor 181 as an example.Wherein, processor 181, memory 182 can
To be connected by bus or other modes, in Figure 18 for being connected by bus.Memory 182 is as a kind of non-volatile
Property computer readable storage medium, can be used for storing non-volatile software
Memory 182 may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;Storage data area, which can be stored, uses created number according to cloud platform
According to etc..In addition, memory 182 may include high-speed random access memory, it can also include nonvolatile memory, such as
At least one disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, it deposits
Optional reservoir 182 includes the memory remotely located relative to processor 181, these remote memories can be connected by network
It is connected to cloud platform.The example of above-mentioned network include but is not limited to internet, intranet, local area network, mobile radio communication and
A combination thereof.One or more of modules are stored in the memory 182, when by one or more of processors
When 181 execution, the multi-systematic control method in above-mentioned any means embodiment is executed.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant be intended to it is non-
It is exclusive to include, so that the process, method, article or the device that include a series of elements not only include those elements,
It but also including other elements that are not explicitly listed, or further include for this process, method, article or device institute
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or device including the element.
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
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but many situations
It is lower the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to the prior art
The part to contribute can be embodied in the form of software products, which is stored in a storage and is situated between
In matter (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field is included within the scope of the present invention.
Claims (10)
1. a kind of intelligence desktop management method is applied to wearable device, which comprises the following steps:
When booting, configuration file is obtained;
The configuration file is parsed, judges that the number for the application type being resolved to is whether to be less than predetermined number, if so, according to
Default placement rule arranges the application type in desktop;
The application for whether having installation and/or deletion is monitored, if so, then adding the application installed or deleted according to the configuration file
It is added in the corresponding application type of the desktop or is removed from the desktop.
2. the method according to claim 1, wherein it is described according to default placement rule desktop arrangement described in answer
It include: to be distributed according to the number of the size of desktop and the application type parsed for each application type with type
Desktop area.
3. according to the method described in claim 2, it is characterized in that, record user's operation described in application type operating frequency,
According to the operating frequency, the desktop area of each application type is distributed, when being switched on next time, automatically by the operation frequency
The highest application type of rate distributes maximum screen area.
4. the method according to claim 1, wherein it is described then according to the configuration file by install or delete
Using be added in the corresponding application type of the desktop or from the desktop remove, comprising the following steps:
Whether when listening to the application program of installation, inquiring in the configuration file has the title of the application;
If so, then obtaining this applies affiliated application type,
If nothing, the application program is first stored into third class application type.
5. according to the method described in claim 4, it is characterized in that, the application program is first stored to third class application type
In, then judge the application type whether in the desktop the allocated display interface,
If no, distributing screen area in the desktop for the application type and showing;
If so, then the application type is shown in the corresponding application type of the desktop.
6. according to the method described in claim 5, it is characterized in that, it is described then according to the configuration file by install or delete
Using be added in the corresponding application type of the desktop or from the desktop remove, comprising the following steps:
The operation for detecting unloading application program removes application type of the application program belonging to it;
Judge in the corresponding application type of the removed application whether there are also other applications and removes the application type if nothing;
According to the display mode of the adaptive remaining application type of adjustment of default placement rule.
7. being bundled to apk the method according to claim 1, wherein the configuration file stores in xml format
In file, wherein packageName is the packet name of the application type, includes the title of each application type in the packet, with
And each concrete application program title and the application type belonging to it.
8. the method according to claim 1, wherein the predetermined number be 6, the application type parsed
Are as follows: communication, system setting, sport health, payment, tool and other.
9. a kind of wearable device, including flexible screen, it is characterised in that: include:
At least one processor;
And
The memory being connect at least one described processor communication;Wherein, be stored with can be by described at least one for the memory
The instruction repertorie that a processor executes, described instruction program are executed by least one described processor so that it is described at least one
Processor executes method as claimed in any one of claims 1 to 8, and is shown on the flexible screen.
10. a kind of computer program product, which is characterized in that the computer product, which includes: that non-volatile computer is readable, to be deposited
Storage media and the computer instruction for being embedded in the non-volatile readable storage medium,;The computer program include to
Processor is set to execute the instruction of method as claimed in any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910695392.0A CN110427240A (en) | 2019-07-30 | 2019-07-30 | Intelligence desktop management method, wearable device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910695392.0A CN110427240A (en) | 2019-07-30 | 2019-07-30 | Intelligence desktop management method, wearable device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110427240A true CN110427240A (en) | 2019-11-08 |
Family
ID=68411373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910695392.0A Pending CN110427240A (en) | 2019-07-30 | 2019-07-30 | Intelligence desktop management method, wearable device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110427240A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116048324A (en) * | 2022-05-26 | 2023-05-02 | 荣耀终端有限公司 | Desktop management method, electronic device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945158A (en) * | 2012-10-24 | 2013-02-27 | 深圳市万凯达科技有限公司 | Method and system for automatic classification of application installation on electronic equipment |
US20160357282A1 (en) * | 2015-06-05 | 2016-12-08 | Apple Inc. | Api for specifying display of complication on an electronic watch |
CN107291446A (en) * | 2017-05-16 | 2017-10-24 | 北京金山安全软件有限公司 | Desktop management method and device |
CN110046012A (en) * | 2019-03-15 | 2019-07-23 | 努比亚技术有限公司 | A kind of wearable device interface display method, wearable device and storage medium |
CN110058915A (en) * | 2019-04-19 | 2019-07-26 | 努比亚技术有限公司 | Interface adaptation adaptation method, device, wearable device and storage medium |
-
2019
- 2019-07-30 CN CN201910695392.0A patent/CN110427240A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945158A (en) * | 2012-10-24 | 2013-02-27 | 深圳市万凯达科技有限公司 | Method and system for automatic classification of application installation on electronic equipment |
US20160357282A1 (en) * | 2015-06-05 | 2016-12-08 | Apple Inc. | Api for specifying display of complication on an electronic watch |
CN107291446A (en) * | 2017-05-16 | 2017-10-24 | 北京金山安全软件有限公司 | Desktop management method and device |
CN110046012A (en) * | 2019-03-15 | 2019-07-23 | 努比亚技术有限公司 | A kind of wearable device interface display method, wearable device and storage medium |
CN110058915A (en) * | 2019-04-19 | 2019-07-26 | 努比亚技术有限公司 | Interface adaptation adaptation method, device, wearable device and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116048324A (en) * | 2022-05-26 | 2023-05-02 | 荣耀终端有限公司 | Desktop management method, electronic device and storage medium |
CN116048324B (en) * | 2022-05-26 | 2023-10-20 | 荣耀终端有限公司 | Desktop management method, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105828145A (en) | Interaction method and interaction device | |
CN108549519A (en) | split screen processing method, device, storage medium and electronic equipment | |
CN106254910B (en) | Method and device for recording image | |
CN109947327B (en) | Interface viewing method, wearable device and computer-readable storage medium | |
CN107908330B (en) | The management method and mobile terminal of application icon | |
CN103180809A (en) | Screen-interface display method and terminal | |
CN110399195B (en) | Desktop icon dynamic replacement method, equipment and computer readable storage medium | |
CN109976609A (en) | Slide response method, wearable device and computer readable storage medium | |
CN108270870A (en) | A kind of prompt message method for pushing and device | |
CN106951139A (en) | Message notifying frame display methods and device | |
CN110086930A (en) | A kind of voice interactive method, wearable device and computer readable storage medium | |
CN109976612A (en) | Application function implementation method, wearable device, mobile phone and computer readable storage medium | |
CN105187944B (en) | A kind of method and apparatus to Show Status Bar | |
CN109684825A (en) | A kind of right management method and terminal device | |
CN106708390B (en) | Screen capturing method, device and system | |
CN108287644A (en) | A kind of method for information display and mobile terminal of application program | |
CN110175066A (en) | Wearable device, interaction control method and computer readable storage medium | |
CN110058760A (en) | A kind of display methods, wearable device and computer readable storage medium | |
CN109933400A (en) | Display interface layout method, wearable device and computer readable storage medium | |
CN110098845A (en) | Message treatment method, wearable device, mobile terminal and readable storage medium storing program for executing | |
CN110086929A (en) | Breath screen display methods, mobile phone, wearable device and computer readable storage medium | |
CN110083289A (en) | A kind of button display methods, wearable device and computer readable storage medium | |
CN109062643A (en) | A kind of display interface method of adjustment, device and terminal | |
CN104035942B (en) | Input frame method of adjustment when screen display mode switches and device | |
CN107864474A (en) | A kind of MBN update methods and mobile terminal |
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 |