CN106959878A - Widget management method and mobile terminal - Google Patents

Widget management method and mobile terminal Download PDF

Info

Publication number
CN106959878A
CN106959878A CN201710210190.3A CN201710210190A CN106959878A CN 106959878 A CN106959878 A CN 106959878A CN 201710210190 A CN201710210190 A CN 201710210190A CN 106959878 A CN106959878 A CN 106959878A
Authority
CN
China
Prior art keywords
widget
mobile terminal
class
tool
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710210190.3A
Other languages
Chinese (zh)
Other versions
CN106959878B (en
Inventor
周龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710210190.3A priority Critical patent/CN106959878B/en
Publication of CN106959878A publication Critical patent/CN106959878A/en
Application granted granted Critical
Publication of CN106959878B publication Critical patent/CN106959878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of mobile terminal, widget is installed in the mobile terminal, the mobile terminal includes:Acquisition module, for when mobile terminal user installs widget in the mobile terminal, obtaining the type of installed widget;Judge module, for showing the widget, and judges whether the widget is tool-class widget;Enquiry module, for when the widget is tool-class widget, inquiring about the background application corresponding with the tool-class widget;And processing module, for disconnecting the background application data cube computation.Tool-class widget can be limited in time using the present invention and automatically wakes up corresponding background application, it is to avoid tool-class widget wasted the electricity of multi-mobile-terminal, influence the continuation of the journey of mobile terminal.

Description

Widget management method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of widget management method and mobile terminal.
Background technology
Widget (widget) is a kind of application program of very little, and it can be the part of image, a text etc., being capable of picture Local application is run like that, application program is limited to the limitation of interface of mobile terminal size, personalized ground Show that video, map, real-time news, weather are pre- on the interface of webpage in mobile terminal, desktop page or other man-machine interactions The contents such as report, stock, music player, are that mobile terminal user uses various application programs and network service provider just.
However, with the popularization and development of widget, widget is applied in increasing mainstream applications program.It is mobile whole End subscriber in mobile terminal often because the need for attractive in appearance or personalization, set substantial amounts of widget.How to mobile whole Large number of widget is effectively managed in end, it is to avoid widget takes the hardware resource of mobile terminal, consumes mobile terminal Electricity, influence it to continue a journey, into a urgent problem to be solved.
The content of the invention
In view of this, the present invention proposes a kind of widget management method and mobile terminal, it is intended to by the type according to widget, Corresponding control is carried out to different types of widget, corresponding application program is automatically waken up with preventing portion point widget, movement is wasted The electricity of terminal, influences the continuation of the journey of mobile terminal.
First, to achieve the above object, the present invention proposes to be provided with widget in a kind of mobile terminal, the mobile terminal, The mobile terminal includes:
Acquisition module, for when mobile terminal user installs widget in the mobile terminal, obtaining installed widget Type;
Judge module, for showing the widget, and judges whether the widget is tool-class widget;
Enquiry module, for the widget be tool-class widget when, inquire about it is corresponding with the tool-class widget after Platform application program;And
Processing module, the data cube computation for disconnecting the background application corresponding with the tool-class widget.
Alternatively, the mobile terminal also includes reminding module, and the reminding module is used for:
When mobile terminal installs the widget, prompting mobile terminal user sets the type of the widget, the type Including tool-class.
Alternatively, the acquisition module is additionally operable to:
Obtain the widget title or the application name corresponding with the widget;And
According to the widget title or the application name, the widget is inquired about from default widget classification chart Type, the type includes tool-class.
Alternatively, the acquisition module is additionally operable to:
The attribute of the widget is inquired about, the acquiescence renewal frequency value of the widget is obtained;And
The acquiescence renewal frequency value is compared with default renewal frequency value, to determine the type of the widget, institute Stating type includes tool-class.
Alternatively, the processing module is additionally operable to:
Addition forbids the widget to automatically wake up corresponding background application in the power-saving strategies of the mobile terminal The instruction of program.
Compared to prior art, mobile terminal proposed by the invention, the widget installed by obtaining in mobile terminal Type, and then tool-class widget is limited, tool-class widget is only shown in mobile terminal, but no longer automatically wake up Corresponding background application.So, the individual demand of mobile terminal user had both been met, has prevented tool-class micro- again Part automatically wakes up background application, wastes mobile terminal electricity, influence mobile terminal continuation of the journey.
In addition, to achieve the above object, the present invention is also provided to be provided with a kind of widget management method, the mobile terminal Widget, methods described includes:
When mobile terminal user installs widget in the mobile terminal, the type of installed widget is obtained;
The widget is shown, and judges whether the widget is tool-class widget;
If the widget is tool-class widget, the background application corresponding with the tool-class widget is inquired about;And
Disconnect the data cube computation of the background application corresponding with the tool-class widget.
Alternatively, installed widget is obtained when mobile terminal user installs widget in the mobile terminal described Type the step of before, methods described also includes:
When mobile terminal installs the widget, prompting mobile terminal user sets the type of the widget, the type Including tool-class.
Alternatively, the step of type for the widget installed in the acquisition mobile terminal, specifically include:
Obtain the widget title or the application name corresponding with the widget;And
According to the widget title or the application name, the widget is inquired about from default widget classification chart Type, the type includes tool-class.
Alternatively, the step of type for the widget installed in the acquisition mobile terminal, specifically include:
The attribute of the widget is inquired about, the acquiescence renewal frequency value of the widget is obtained;And
The acquiescence renewal frequency value is compared with default renewal frequency value, to determine the type of the widget, institute Stating type includes tool-class.
Alternatively, the step of data cube computation of the disconnection background application corresponding with the tool-class widget, Specifically include:
Addition forbids the widget to automatically wake up corresponding background application in the power-saving strategies of the mobile terminal The instruction of program.
Compared to prior art, widget management method proposed by the invention, by obtaining what is installed in mobile terminal The type of widget, and then tool-class widget is limited, tool-class widget is only shown in mobile terminal, it is but no longer automatic Wake up corresponding background application.So, the individual demand of mobile terminal user had both been met, instrument is prevented again Class widget automatically wakes up background application, wastes mobile terminal electricity, influence mobile terminal continuation of the journey.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is mobile terminal first of the present invention, the module diagram of 3rd embodiment;
Fig. 4 is the schematic diagram of widget classification chart;
Fig. 5 is the module diagram of mobile terminal second embodiment of the present invention;
Fig. 6 is the implementation process diagram of widget management method first embodiment of the present invention;
Fig. 7 is the implementation process diagram of widget management method second embodiment of the present invention;
Fig. 8 is the implementation process diagram of widget management method 3rd embodiment of the present invention.
Reference:
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the mobile terminal 400 of each embodiment of the invention referring now to accompanying drawing.In follow-up description, make With the suffix of such as " module ", " part " or " unit " for representing element only for being conducive to the explanation of the present invention, its Body does not have specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal 400 can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal 400.However, it will be understood by those skilled in the art that, except being used in particular for Outside the element of mobile purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal 400 of each embodiment one of the invention.
Mobile terminal 400 can include, but not limited to memory 20, controller 30, wireless communication unit 40, display list Member 50, input block 60, interface unit 80 and power subsystem 90.Fig. 1 shows the mobile terminal 400 with various assemblies, but It is it should be appreciated that being not required for implementing all components shown.More or less components can alternatively be implemented.Will be The element of mobile terminal 400 is described below in detail.
Wireless communication unit 40 generally includes one or more assemblies, and it allows mobile terminal 400 and wireless communication system Or the wireless points communication between network.For example, wireless communication unit can include broadcasting reception module, mobile communication module, nothing At least one in line the Internet module, short range communication module and location information module.
Broadcasting reception module receives broadcast singal from external broadcast management server via broadcast channel and/or broadcast is related Information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can generate and send broadcast The broadcast singal and/or broadcast related information that are generated before the server or reception of signal and/or broadcast related information and Send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting signal Etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.The related letter of broadcast Breath can also be provided via mobile communications network, and in this case, broadcast related information can by mobile communication module Lai Receive.Broadcast singal can exist in a variety of manners, for example, it can be referred to the electronic programming of DMB (DMB) Southern (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. form and exist.Broadcast reception mould Block can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module can be by using Such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB- H), the number of the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service (ISDB-T) etc. Word broadcast system receives digital broadcasting.Broadcasting reception module may be constructed such that the various broadcast systems for being adapted to provide for broadcast singal And above-mentioned digit broadcasting system.The broadcast singal and/or broadcast related information received via broadcasting reception module can be stored In memory 20 (or other types of storage medium).
Mobile communication module send radio signals to base station (for example, access point, node B etc.), exterior terminal with And in server at least one and/or receive from it radio signal.Such radio signal can include voice call Signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module supports the Wi-Fi (Wireless Internet Access) of mobile terminal 400.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module is the module for supporting junction service.Some examples of short-range communication technology include bluetooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module is the module for checking or obtaining the positional information of mobile terminal 400.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module is calculated from three or more satellites Range information and correct time information and for the Information application triangulation of calculating, thus according to longitude, latitude and Highly accurately calculate three-dimensional current location information.Currently, three satellites are used for calculating the method for position and temporal information And the position calculated by using other satellite correction and the error of temporal information.In addition, GPS module can lead to Carry out calculating speed information after Continuous plus current location information in real time.
Output unit 50 be configured to vision, audio and/or tactile manner provide output signal (for example, audio signal, Vision signal, alarm signal, vibration signal etc.).Output unit 50 can include display unit 51, dio Output Modules 52, Alarm unit 53 etc..
Display unit 51 may be displayed on the information handled in mobile terminal 400.For example, when mobile terminal 400 is in electricity When talking about call mode, display unit 51 can be shown with conversing or other communicating (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 400 is in video calling pattern Or during image capture mode, display unit 51 can show the image of capture and/or the image of reception, show video or image And the UI or GUI of correlation function etc..
Meanwhile, when display unit 51 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 51 It may be used as input unit and output device.Display unit 51 can include liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), at least one in Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. Kind.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent aobvious Show device, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..Thought according to specific The embodiment wanted, mobile terminal 400 can include two or more display units (or other display devices), for example, mobile Terminal 400 can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection to touch Touch input pressure and touch input position and touch input area.
Dio Output Modules 52 can be in call signal reception pattern, call mode, record mould in mobile terminal 400 It is that wireless communication unit 40 is received or in memory 20 when under the isotypes such as formula, speech recognition mode, broadcast reception mode The voice data transducing audio signal of middle storage and it is output as sound.Moreover, dio Output Modules 52 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) for the specific function correlation that terminal 400 is performed. Dio Output Modules 52 can include loudspeaker, buzzer etc..
Alarm unit 53 can provide output to notify event to mobile terminal 400.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 53 can provide output in a different manner with the generation of notification event.For example, alarm unit 53 can be carried in the form of vibration Supply out, when receiving calling, message or some other entrance communications (incoming communication), alarm unit 53 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even in user Mobile phone be in user pocket in when, user also can recognize that the generation of various events.Alarm unit 53 can also The output of the generation of notification event is provided via display unit 51 or dio Output Modules 52.
Input block 60 can control the various of mobile terminal 400 according to the order generation key input data of user input Operation.Input block 60 allows the various types of information of user input, and can include keyboard, metal dome, touch pad (example Such as, the sensitive component of the change of resistance, pressure, electric capacity etc. caused by detection is due to being touched), roller, rocking bar etc..It is special Not, when touch pad is superimposed upon on display unit 50 in the form of layer, touch-screen can be formed.
Interface unit 80 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 400.For example, outer Part device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connect the port of device with identification module, audio input/output (I/O) port, Video i/o port, ear port etc..Identification module can be that storage is used to verify that user uses the various of mobile terminal 400 Information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc. can be included Deng.In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, and therefore, identification Device can be connected via port or other attachment means with mobile terminal 400.Interface unit 80 can be used for receiving from outer The input (for example, data message, electric power etc.) of part device and the input received is transferred in mobile terminal 400 one Individual or multiple element can be used for transmitting data between mobile terminal 400 and external device (ED).
In addition, when mobile terminal 400 is connected with external base, interface unit 80 may be used as allowing by it by electric power There is provided from base to the path of mobile terminal 400 or may be used as allowing the various command signals inputted from base to pass by it The defeated path to mobile terminal 400.The various command signals or electric power inputted from base may be used as being used to recognize mobile terminal Whether 400 be accurately fitted within the signal on base.
Memory 20 can store software program of the processing performed by controller 30 and control operation etc., or can be with Temporarily store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.Moreover, Memory 20 can store vibration and the data of audio signal of the various modes on being exported when touching and being applied to touch-screen.
Memory 20 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many matchmakers Body card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access memory (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 400 can be with performing memory by network connection The network storage device cooperation of 20 store function.
The overall operation of the generally control mobile terminal of controller 30.Lead to for example, controller 30 is performed with voice call, data Letter, video calling etc. related control and processing.In addition, controller 30 can include being used to reproduce (or playback) multimedia number According to multi-media module, multi-media module can be constructed in controller 30, or be can be structured as and separated with controller 30.Control The handwriting input performed on the touchscreen or picture can be drawn input and are identified as by device 30 processed with execution pattern identifying processing Character or image.
Power subsystem 90 receives external power or internal power and provides operation each element under the control of the controller 30 With the appropriate electric power needed for component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in the controller 30.It is right In software implementation, the embodiment of such as process or function can be with allowing to perform the single soft of at least one function or operation Part module is implemented.Software code can be by the software application (or program) write with any appropriate programming language be Lai real Apply, software code can be stored in memory 20 and be performed by controller 30.
So far, oneself according to its function through describing mobile terminal 400.Below, for the sake of brevity, description is such as folded Sliding-type movement in various types of mobile terminals 400 of type, board-type, oscillating-type, slide type mobile terminal 400 etc. is eventually End 400 is as an example.Therefore, the present invention can be applied to any kind of mobile terminal 400, and be not limited to sliding-type movement Terminal 400.
Mobile terminal 400 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.
The communication system for describing wherein be operated according to the mobile terminal 400 of the present invention referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminals 400, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to the BSC275 formation interfaces with that can be couple to base station 270 via back haul link. If any of interface that back haul link can be known according to Ganji is constructed, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, specific BS270 each subregion can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 400.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 400 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps to position multiple mobile terminals At least one in 400.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 to obtain desired positioning letter Breath.GPS tracking techniques or outside GPS tracking techniques are substituted, its of the position that can track mobile terminal 400 can be used Its technology.In addition, at least one gps satellite 300 can optionally or additionally handle satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 400 Signal.Mobile terminal 400 generally participates in call, information receiving and transmitting and other types of communication.It is each anti-that certain base station 270 is received Handled to link signal in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of coordination including the soft switching process between BS270.BSC275 is also by the number received According to MSC280 is routed to, it is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 with MSC280 formation interfaces, MSC and BSC275 formation interface, and BSC275 correspondingly control BS270 with by forward link signals It is sent to mobile terminal 400.
Based on the above-mentioned hardware configuration of mobile terminal 400 and communication system, each embodiment of the present invention is proposed.
First, the present invention proposes a kind of mobile terminal 400.
As shown in figure 3, being the module diagram of the first embodiment of mobile terminal 400 of the present invention.In the present embodiment In, the mobile terminal 400 can be divided into one or more modules, and one or more of modules are stored in described deposit In reservoir 20, and it is performed by one or more controllers (being the controller 30 in the present embodiment), to complete the present invention.Example Such as, in figure 3, described mobile terminal 400 includes acquisition module 401, judge module 402, enquiry module 403 and processing mould Block 404,.Module alleged by the present invention refers to a kind of series of computation machine programmed instruction section that can complete specific function, compares journey Implementation procedure of the sequence more suitable for description software in the mobile terminal 400.Below will be with regard to above-mentioned each functional module 401-404 Concrete function be described in detail.Wherein:
The acquisition module 401, for when mobile terminal user installs widget in the mobile terminal, acquisition to be installed Widget type.
Usually, with the promotion and application of widget, widget is applied in increasing application program.For example, often The application program for the support widget function of seeing includes, but is not limited only to, weather forecast application, real-time news application, music Device application, Video Applications, picture application, note application, sports applications, calendar application, clock application etc..Mobile terminal user can To add the widget of above-mentioned application program on the display interface of the mobile terminal 400 (such as desktop page), to meet it Property demand.It should be noted that in the present embodiment, when mobile terminal user is in the display interface (example of the mobile terminal 400 Such as desktop page) on when adding the widget of above-mentioned application program, the acquisition module 401 obtains the mobile terminal user and adds micro- The type of part.
Further, according to the functional characteristics of different application programs, the widget of above-mentioned different application can typically divide For two major classes:Tool-class widget and non-tool class widget.Wherein, the tool-class widget is include but not limited to, and clock class is micro- Part (such as desktop clock and watch), survey tool class widget (such as ruler), wallpaper class widget, picture category widget, calendar class widget. Such widget typically has following functional characteristics:Widget is only to provide aesthetic for the display interface of the mobile terminal 400 And add, or be only for the mobile terminal user it is easy to use add (click on widget can open corresponding application Program), the function or information that widget is provided in itself are relatively fixed, and are carried out without connection application server in real time or network service The renewal of information (such as will not typically changing survey tool).In addition, the non-tool class widget includes, but not only limit In weather forecast class widget, real-time news category widget, music player class widget, video class widget, motion class widget etc..This Class widget typically has following functional characteristics:Widget is provided with multiple functions, and the information that widget is provided often changes, it is necessary to real When connection application server or network service enter row information renewal (for example weather forecast class widget need with temperature and moisture change Change and temperature shown in real-time update widget interface, humidity value).
In the present embodiment, it can preset in a widget classification chart, the widget classification chart and unite in the mobile terminal 400 Count and the common all widgets that are stored with essential information.The essential information of the widget may include, but be not limited only to, widget name Title, the application name corresponding with widget, widget type etc..According to the widget classification chart, the acquisition module 401 can be with Obtain first in the mobile terminal 400 and widget title or application name corresponding with the widget, Ran Hougen are installed According to acquired widget title or the application name, the type of the widget is inquired from above-mentioned widget classification chart, is entered And determine that the widget that the mobile terminal 400 is installed is tool-class widget or non-tool class widget.For example, as shown in figure 4, working as During widget entitled " the ink marks weather " that the acquisition module 401 gets widget, the acquisition module 401 passes through the institute of query graph 4 The widget classification chart shown, you can learn that the application program corresponding with widget title " ink marks weather " is applied for " ink marks weather ", Corresponding widget type is non-tool class.
The judge module 402, for showing the widget, and judges whether is widget that the mobile terminal 400 installs For tool-class widget.
Usually, mobile terminal user can add according to personalized demand selection on the interface of the mobile terminal 400 Plus one or more widgets, all should be excellent no matter the widget of its selected addition is tool-class widget or non-tool class widget First according to the demand of the mobile terminal user, the widget of the selected addition of the mobile terminal user is shown.
The enquiry module 403, for when the widget is tool-class widget, inquiring about relative with the tool-class widget The background application answered.
Usually, widget refers to a part of journey for running on the application program installed on subscriber computer or mobile device Sequence code, it can be embedded on the display interface of computer, mobile device and run, local or mutual by computer, mobile device Networking updates the data such as the text or picture of the former application program of simultaneously display portion, it is therefore an objective to assist user to use various application programs And network service.Under normal circumstances, the normal operation of widget is required for the application program corresponding with the widget to support, namely When mobile terminal user adds widget on the display interface of mobile terminal 400, the widget can wake up corresponding with the widget Application program and run on the backstage of the mobile terminal 400, in order to support the renewal of data shown by the widget.Cause This, when the widget installed in the mobile terminal 400 is tool-class widget, the enquiry module 403 can be according to being pacified The title of widget is filled, the application program corresponding with the widget of the running background of the mobile terminal 400 is inquired about.
The processing module 404, the data for disconnecting the background application corresponding with the tool-class widget connect Connect.
It will be recalled from above that the effect of tool-class widget is normally only to provide U.S. for the display interface of the mobile terminal 400 Effect is seen, or is only the use for convenience of the mobile terminal user, the function or information that widget is provided in itself are more solid It is fixed, often enter the renewal of row information without connection application server in real time or network service.Therefore, the tool-class widget is only needed It has been shown that, without continuing in the running background of the mobile terminal 400 application program corresponding with the tool-class widget To be connected with network or application server in real time.Therefore, it is in the present embodiment, described when the widget is tool-class widget Processing module 404 directly disconnects the data cube computation of the background application corresponding with the tool-class widget.
It should be noted that the disconnection background application corresponding with the tool-class widget described in the present embodiment Data cube computation, refers to connect by disconnecting the data between the background application and apps server or network service Connect, the method such as communication between the disconnection tool-class widget and corresponding background application makes the background application journey Sequence keeps silent on the backstage of the mobile terminal 400, no longer responds automatically waking up for the tool-class widget.For example, working as institute When stating widget for tool-class widget, the processing module 404 can be added in the power-saving strategies of the mobile terminal 400 forbids The tool-class widget automatically wakes up the instruction of corresponding background application.
It should be noted that the background application is only no longer to respond automatically waking up for correspondence widget, if detecting Want to open by predetermined registration operation (such as the touch operation for clicking on the interface of the tool-class widget) to the mobile terminal user The application program is moved, then the background application should be waken up, respond the predetermined registration operation, the background application weight Newly enter background operation state.Also, directly kill the background application because the present embodiment does not have, therefore, the backstage Application program is when being user-operably startup, and speed can be faster than directly initiating corresponding application program.
Pass through above-mentioned functions module 401-404, mobile terminal 400 proposed by the invention, by obtaining user in movement The type for the widget installed in terminal 400, determines the tool-class widget installed in the mobile terminal 400, and then to described Tool-class widget is limited, and the tool-class widget is only shown in the display interface of mobile terminal 400, micro- with the tool-class The corresponding background application of part no longer responds automatically waking up for the tool-class widget, keeps silent.So, shifting is being met On the basis of the individual demand of dynamic terminal user, the background application corresponding with the tool-class widget had both been prevented to hold Reforwarding row, automatically waking up for the tool-class widget is persistently responded, cause the waste of the electricity of mobile terminal 400, influence movement The continuation of the journey of terminal 400;It turn avoid and directly kill the application program corresponding with the tool-class widget, cause the application journey When sequence is reawaked, the problem of toggle speed is excessively slow.
Further, the first embodiment based on the invention described above mobile terminal 400, proposes mobile terminal 400 of the present invention Second embodiment.
As shown in figure 5, being the module diagram of the second embodiment of mobile terminal 400 of the present invention.In the present embodiment, institute Stating mobile terminal 400 also includes reminding module 405, wherein:
The reminding module 405, for when mobile terminal 400 installs the widget, prompting mobile terminal user to be set The type of the widget, the type includes tool-class.
Knowable to above, according to the difference of functional characteristics, widget is typically divided into tool-class widget and non-tool class Widget.Also, in the first embodiment, the type of widget is the title by first obtaining widget or the application corresponding with widget Program name, then inquires about what is drawn according to acquired widget title or application name from default widget classification chart. Different, the present embodiment increases a reminding module 405 newly, and the reminding module 405 adds detecting mobile terminal user Plus widget to the mobile terminal 400 display interface when, prompting mobile terminal user selects to add the type of widget.Example Such as, the reminding module 405 can provide a drop-down menu, and the drop-down menu includes tool-class widget and non-tool class widget two Individual option, when mobile terminal user adds widget, the reminding module 405 shows or ejected the drop-down menu, and points out User is selected.
Further, in the present embodiment, after mobile terminal user selectes the type of the widget, the reminding module 405 can also obtain the title of the widget, and then be stored in one by the widget title is corresponding with the type that user selectes In tables of data, to when follow-up same widget is added on the display interface of the mobile terminal 400 again, automatic identification The type of the widget, it is to avoid mobile terminal user's repeats.
Furthermore, it is necessary to which supplement, the present embodiment is by increasing the reminding module 405 newly, in the way of prompting, by moving The type of the selected widget of dynamic end user manual.In other embodiments, the widget type, can also be by by first Mode that the reminding module 405 in widget classification chart and the present embodiment in embodiment is combined is determined.Specifically, for example Can detect mobile terminal user add widget to the mobile terminal 400 display interface when, first obtain the movement Widget title or application name corresponding with the widget are installed in terminal 400, then according to acquired widget title Or the application name, the type of the widget is inquired about from widget classification chart;If not inquired about in the widget classification chart To the widget title and the application name corresponding with the widget, then point out to move by above-mentioned reminding module 405 Terminal user is manually selected the type of added widget.
Pass through above-mentioned functions module 405, mobile terminal 400 proposed by the invention, by detecting mobile terminal use When family addition widget arrives the display interface of the mobile terminal 400, the type of widget is added in prompting mobile terminal user selection, The type of the widget is set to be selected manually in mobile terminal user's selection addition widget.Meanwhile, by mobile terminal User has determined that the widget information Store of type, when repeating to add the widget next time, can be with Direct Recognition widget Type, it is to avoid the repeating of user.
Further, first, second embodiment based on the invention described above mobile terminal 400, proposes that the present invention is mobile eventually The 3rd embodiment at end 400.Wherein:
The acquisition module 401, is additionally operable to inquire about the attribute of the widget, obtains the acquiescence renewal frequency of the widget Value.
Under normal circumstances, when developer develops widget, the attribute of widget acquiescence can be pre-set, the attribute includes, But it is not limited only to, renewal frequency, size, trigger condition of the widget etc..Wherein, the renewal frequency of the widget refers to Widget regularly obtains data message by network service or application server from the application program corresponding with widget, Come to shown data message is updated in widget frequency values.The renewal frequency value can by call the function of feature come Obtain.For example, in the widget developments of android system, developer can be sent out by AppWidgetProvider Cloth one widget, the AppWidgetProvider are inherited from BroadcastReceiver, and it is related that it can receive widget Broadcast, such as widget renewal, deletion, open and disabling.Wherein, the AppWidgetProvider includes extensively Processing function onUpdate () is broadcast, it is default by calling broadcast processing function onUpdate () developer can be obtained Widget renewal frequency value.
The acquisition module 401, is additionally operable to the acquiescence renewal frequency value being compared with default renewal frequency value, with The type of the widget is determined, the type includes tool-class.
Usually, when the widget is clock class widget, survey tool class widget, wallpaper class widget, picture category widget, day When going through the tool-class widget such as class widget, the renewal frequency value of the acquiescence of the widget can be set to a less value by developer, Such as once a day or once a few days.When the widget is weather forecast class widget, real-time news category widget, music During the non-tool class widgets such as device class widget, video class widget, motion class widget, developer can be by the renewal of the acquiescence of the widget Frequency values are set to a larger value, and such as one hour once or half an hour one is inferior.As can be seen that developer is in exploitation work The difference for having acquiescence renewal frequency value set when class widget and non-tool class widget is very big.Therefore, in the present embodiment In, the acquisition module 401 can first obtain the default acquiescence widget renewal frequency value of widget developer, then according to described micro- The acquiescence renewal frequency value of part judges that the widget is tool-class widget, or non-tool class widget.For example, the acquisition mould Block 401 can will give tacit consent to renewal frequency value, and higher than two hours, once the widget of (i.e. default renewal frequency value) was determined as non-tool class Widget, is not higher than two hours widgets once by acquiescence renewal frequency value and is determined as tool-class widget.
By above-mentioned functions module 401, mobile terminal 400 proposed by the invention is micro- by obtaining developer The default acquiescence renewal frequency value of part, and the acquiescence renewal frequency value is compared with default renewal frequency value, and then sentence Disconnected widget is tool-class widget or non-tool class widget, provides new method for the automatic judgement of widget type, improves The accuracy rate of widget type decision.
In addition, the present invention also proposes a kind of widget management method.
As shown in fig. 6, being the implementation process diagram of widget management method first embodiment of the present invention.In the present embodiment In, according to different demands, the execution sequence of the step in flow chart shown in Fig. 6 can change, and some steps can be omitted. The widget management method includes:
Step S601, when mobile terminal user installs widget in the mobile terminal, obtains the class of installed widget Type.
Usually, with the promotion and application of widget, widget is applied in increasing application program.For example, often The application program for the support widget function of seeing includes, but is not limited only to, weather forecast application, real-time news application, music Device application, Video Applications, picture application, note application, sports applications, calendar application, clock application etc..Mobile terminal user can To add the widget of above-mentioned application program on the display interface of the mobile terminal 400 (such as desktop page), to meet it Property demand.It should be noted that the present embodiment mobile terminal user the mobile terminal 400 display interface (for example Desktop page) on when adding the widget of above-mentioned application program, obtain the type that the mobile terminal user adds widget.
Further, according to the functional characteristics of different application programs, the widget of above-mentioned different application can typically divide For two major classes:Tool-class widget and non-tool class widget.Wherein, the tool-class widget is include but not limited to, and clock class is micro- Part (such as desktop clock and watch), survey tool class widget (such as ruler), wallpaper class widget, picture category widget, calendar class widget. Such widget typically has following functional characteristics:Widget is only to provide aesthetic for the display interface of the mobile terminal 400 And add, or be only for the mobile terminal user it is easy to use add (click on widget can open corresponding application Program), the function or information that widget is provided in itself are relatively fixed, and are carried out without connection application server in real time or network service The renewal of information (such as will not typically changing survey tool).In addition, the non-tool class widget includes, but not only limit In weather forecast class widget, real-time news category widget, music player class widget, video class widget, motion class widget etc..This Class widget typically has following functional characteristics:Widget is provided with multiple functions, and the information that widget is provided often changes, it is necessary to real When connection application server or network service enter row information renewal (for example weather forecast class widget need with temperature and moisture change Change and temperature shown in real-time update widget interface, humidity value).
In the present embodiment, it can preset in a widget classification chart, the widget classification chart and unite in the mobile terminal 400 Count and the common all widgets that are stored with essential information.The essential information of the widget may include, but be not limited only to, widget name Title, the application name corresponding with widget, widget type etc..According to the widget classification chart, the shifting can be obtained first Widget title or application name corresponding with the widget are installed in dynamic terminal 400, then according to acquired widget name Claim or the application name, the type of the widget is inquired from above-mentioned widget classification chart, and then determine the movement The widget that terminal 400 is installed is tool-class widget or non-tool class widget.For example, getting the micro- of widget as shown in figure 4, working as During part entitled " ink marks weather ", pass through the widget classification chart shown in query graph 4, you can learn and widget title " ink marks weather " Corresponding application program is applied for " ink marks weather ", and corresponding widget type is non-tool class.
Step S602, shows the widget, and judge whether the widget that the mobile terminal 400 is installed is that tool-class is micro- Part.
Usually, mobile terminal user can add according to personalized demand selection on the interface of the mobile terminal 400 Plus one or more widgets, all should be excellent no matter the widget of its selected addition is tool-class widget or non-tool class widget First according to the demand of the mobile terminal user, the widget of the selected addition of the mobile terminal user is shown.
Step S603, when the widget is tool-class widget, inquiring about the backstage corresponding with the tool-class widget should Use program.
Usually, widget refers to a part of journey for running on the application program installed on subscriber computer or mobile device Sequence code, it can be embedded on the display interface of computer, mobile device and run, local or mutual by computer, mobile device Networking updates the data such as the text or picture of the former application program of simultaneously display portion, it is therefore an objective to assist user to use various application programs And network service.Under normal circumstances, the normal operation of widget is required for the application program corresponding with the widget to support, namely When mobile terminal user adds widget on the display interface of mobile terminal 400, the widget can wake up corresponding with the widget Application program and run on the backstage of the mobile terminal 400, in order to support the renewal of data shown by the widget.Cause This, when the widget installed in the mobile terminal 400 is tool-class widget, can look into according to the title of installed widget Ask the application program corresponding with the widget of the running background of the mobile terminal 400.
Step S604, disconnects the data cube computation of the background application corresponding with the tool-class widget.
It will be recalled from above that the effect of tool-class widget is normally only to provide U.S. for the display interface of the mobile terminal 400 Effect is seen, or is only the use for convenience of the mobile terminal user, the function or information that widget is provided in itself are more solid It is fixed, often enter the renewal of row information without connection application server in real time or network service.Therefore, the tool-class widget is only needed It has been shown that, without continuing in the running background of the mobile terminal 400 application program corresponding with the tool-class widget To be connected with network or application server in real time.Therefore, in the present embodiment, when the widget is tool-class widget, directly Disconnect the data cube computation of the background application corresponding with the tool-class widget.
It should be noted that the disconnection background application corresponding with the tool-class widget described in the present embodiment Data cube computation refers to by disconnecting the data cube computation between the background application and apps server or network service, The methods such as communication between the tool-class widget and corresponding background application are disconnected, the background application is existed The backstage of the mobile terminal 400 keeps silent, no longer responds automatically waking up for the tool-class widget.For example, when described micro- When part is tool-class widget, it can be added in the power-saving strategies of the mobile terminal 400 and forbid the tool-class widget automatic Wake up the instruction of corresponding background application.
It should be noted that the background application is only no longer to respond automatically waking up for correspondence widget, if detecting Want to open by predetermined registration operation (such as the touch operation for clicking on the interface of the tool-class widget) to the mobile terminal user The application program is moved, then the background application should be waken up, respond the predetermined registration operation, the background application weight Newly enter background operation state.Also, directly kill the background application because the present embodiment does not have, therefore, the backstage Application program is when being user-operably startup, and speed can be faster than directly initiating corresponding application program.
Pass through above-mentioned steps S601-604, widget management method proposed by the invention, by obtaining user mobile whole The type for the widget installed in end 400, determines the tool-class widget installed in the mobile terminal 400, and then to the work Tool class widget is limited, and the tool-class widget is only shown in the display interface of mobile terminal 400, with the tool-class widget Corresponding background application no longer responds automatically waking up for the tool-class widget, keeps silent.So, movement is being met On the basis of the individual demand of terminal user, the background application corresponding with the tool-class widget had both been prevented to continue Run, persistently respond automatically waking up for the tool-class widget, cause the waste of the electricity of mobile terminal 400, influence is mobile eventually The continuation of the journey at end 400;It turn avoid and directly kill the application program corresponding with the tool-class widget, cause the application program When being reawaked, the problem of toggle speed is excessively slow.
Further, the first embodiment based on the invention described above widget management method, proposes widget manager of the present invention The second embodiment of method.
As shown in fig. 7, being the implementation process diagram of the second embodiment of widget management method of the present invention.The present embodiment In, before above-mentioned steps S601, the widget management method also includes:
Step S605, when mobile terminal 400 installs the widget, prompting mobile terminal user sets the class of the widget Type, the type includes tool-class.
Knowable to above, according to the difference of functional characteristics, widget is typically divided into tool-class widget and non-tool class Widget.Also, in the first embodiment, the type of widget is the title by first obtaining widget or the application corresponding with widget Program name, then inquires about what is drawn according to acquired widget title or application name from default widget classification chart. Different, the present embodiment is detecting display interface of mobile terminal user's addition widget to the mobile terminal 400 When, prompting mobile terminal user selects to add the type of widget.For example, a drop-down menu can be provided, the drop-down menu bag Two options of tool-class widget and non-tool class widget are included, when mobile terminal user adds widget, shows or ejects under this Menu is drawn, and points out user to be selected.
Further, in the present embodiment, after mobile terminal user selectes the type of the widget, institute can also be obtained State the title of widget, and then be stored in the widget title is corresponding with the type that user selectes in a tables of data, to When follow-up same widget is added on the display interface of the mobile terminal 400 again, the type of the automatic identification widget is kept away Exempt from repeating for mobile terminal user.
Furthermore, it is necessary to supplement, in other embodiments, the widget type can also detect mobile terminal When user's addition widget arrives the display interface of the mobile terminal 400, first obtain and install in the mobile terminal 400 widget Claim or application name corresponding with the widget, then according to acquired widget title or the application name, from The type of the widget is inquired about in previously described widget classification chart;If the widget name is not inquired in the widget classification chart Claim and the application name corresponding with the widget, then manually selected by prompting mobile terminal user added micro- The type of part.
Pass through above-mentioned steps S605, widget management method proposed by the invention, by detecting mobile terminal user When adding widget and arriving the display interface of the mobile terminal 400, the type of widget is added in prompting mobile terminal user selection, is made The type of the widget can manually be selected in mobile terminal user's selection addition widget.Meanwhile, mobile terminal is used Family has determined that the widget information Store of type, when repeating to add the widget next time, can be with Direct Recognition widget Type, it is to avoid the repeating of user.
Further, the first and second embodiments based on the invention described above widget management method, propose widget of the present invention The 3rd embodiment of management method.
As shown in figure 8, being the implementation process diagram of widget management method 3rd embodiment of the present invention.In the present embodiment In, above-mentioned steps S601 is specifically included:
Step S701, inquires about the attribute of the widget, obtains the acquiescence renewal frequency value of the widget.
Under normal circumstances, when developer develops widget, the attribute of widget acquiescence can be pre-set, the attribute includes, But it is not limited only to, renewal frequency, size, trigger condition of the widget etc..Wherein, the renewal frequency of the widget refers to Widget regularly obtains data message by network service or application server from the application program corresponding with widget, Come to shown data message is updated in widget frequency values.The renewal frequency value can by call the function of feature come Obtain.For example, in the widget developments of android system, developer can be sent out by AppWidgetProvider Cloth one widget, the AppWidgetProvider are inherited from BroadcastReceiver, and it is related that it can receive widget Broadcast, such as widget renewal, deletion, open and disabling.Wherein, the AppWidgetProvider includes extensively Processing function onUpdate () is broadcast, it is default by calling broadcast processing function onUpdate () developer can be obtained Widget renewal frequency value.
Step S702, the acquiescence renewal frequency value is compared with default renewal frequency value, to determine the widget Type, the type include tool-class.
Usually, when the widget is clock class widget, survey tool class widget, wallpaper class widget, picture category widget, day When going through the tool-class widget such as class widget, the renewal frequency value of the acquiescence of the widget can be set to a less value by developer, Such as once a day or once a few days.When the widget is weather forecast class widget, real-time news category widget, music During the non-tool class widgets such as device class widget, video class widget, motion class widget, developer can be by the renewal of the acquiescence of the widget Frequency values are set to a larger value, and such as one hour once or half an hour one is inferior.As can be seen that developer is in exploitation work The difference for having acquiescence renewal frequency value set when class widget and non-tool class widget is very big.Therefore, in the present embodiment In, the default acquiescence widget renewal frequency value of widget developer can be first obtained, frequency is then updated according to the acquiescence of the widget Rate value judges that the widget is tool-class widget, or non-tool class widget.For example, acquiescence renewal frequency value can be higher than The widget for once (presetting renewal frequency value) in two hours is determined as non-tool class widget, and acquiescence renewal frequency value is not higher than into two The widget of hour once is determined as tool-class widget.
By above-mentioned steps S701-S702, widget management method proposed by the invention is by obtaining developer The default acquiescence renewal frequency value of widget, and the acquiescence renewal frequency value is compared with default renewal frequency value, and then Judge that widget, for tool-class widget or non-tool class widget, new method is provided for the automatic judgement of widget type, improve The accuracy rate of widget type decision.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are make it that a station terminal equipment (can be mobile phone, computer, clothes It is engaged in device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of mobile terminal, it is characterised in that be provided with widget in the mobile terminal, the mobile terminal includes:
Acquisition module, for when mobile terminal user installs widget in the mobile terminal, obtaining the class of installed widget Type;
Judge module, for showing the widget, and judges whether the widget is tool-class widget;
Enquiry module, for when the widget is tool-class widget, inquiring about the backstage corresponding with the tool-class widget should Use program;And
Processing module, the data cube computation for disconnecting the background application corresponding with the tool-class widget.
2. mobile terminal as claimed in claim 1, it is characterised in that the mobile terminal also includes reminding module, the prompting Module is used for:
When mobile terminal installs the widget, prompting mobile terminal user sets the type of the widget, and the type includes Tool-class.
3. mobile terminal as claimed in claim 1, it is characterised in that the acquisition module is additionally operable to:
Obtain the widget title or the application name corresponding with the widget;And
According to the widget title or the application name, the class of the widget is inquired about from default widget classification chart Type, the type includes tool-class.
4. mobile terminal as claimed in claim 1, it is characterised in that the acquisition module is additionally operable to:
The attribute of the widget is inquired about, the acquiescence renewal frequency value of the widget is obtained;And
The acquiescence renewal frequency value is compared with default renewal frequency value, to determine the type of the widget, the class Type includes tool-class.
5. the mobile terminal as described in claim any one of 1-4, it is characterised in that the processing module is additionally operable to:
Addition forbids the widget to automatically wake up corresponding background application in the power-saving strategies of the mobile terminal Instruction.
6. a kind of widget management method, applied to mobile terminal, it is characterised in that widget, institute are provided with the mobile terminal The method of stating includes:
When mobile terminal user installs widget in the mobile terminal, the type of installed widget is obtained;
The widget is shown, and judges whether the widget is tool-class widget;
If the widget is tool-class widget, the background application corresponding with the tool-class widget is inquired about;And
Disconnect the data cube computation of the background application corresponding with the tool-class widget.
7. widget management method as claimed in claim 6, it is characterised in that described when mobile terminal user is in the movement When terminal installs widget, before the step of obtaining the type of installed widget, methods described also includes:
When mobile terminal installs the widget, prompting mobile terminal user sets the type of the widget, and the type includes Tool-class.
8. widget management method as claimed in claim 6, it is characterised in that the step of the type for the widget that the acquisition is installed Suddenly, specifically include:
Obtain the widget title or the application name corresponding with the widget;And
According to the widget title or the application name, the class of the widget is inquired about from default widget classification chart Type, the type includes tool-class.
9. widget management method as claimed in claim 6, it is characterised in that the step of the type for the widget that the acquisition is installed Suddenly, specifically include:
The attribute of the widget is inquired about, the acquiescence renewal frequency value of the widget is obtained;And
The acquiescence renewal frequency value is compared with default renewal frequency value, to determine the type of the widget, the class Type includes tool-class.
10. the widget management method as described in claim any one of 6-9, it is characterised in that the disconnection and the tool-class The step of data cube computation of the corresponding background application of widget, specifically include:
Addition forbids the widget to automatically wake up corresponding background application in the power-saving strategies of the mobile terminal Instruction.
CN201710210190.3A 2017-03-31 2017-03-31 Widget management method and mobile terminal Active CN106959878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210190.3A CN106959878B (en) 2017-03-31 2017-03-31 Widget management method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210190.3A CN106959878B (en) 2017-03-31 2017-03-31 Widget management method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106959878A true CN106959878A (en) 2017-07-18
CN106959878B CN106959878B (en) 2020-03-31

Family

ID=59483173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210190.3A Active CN106959878B (en) 2017-03-31 2017-03-31 Widget management method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106959878B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383663A (en) * 2019-05-08 2021-02-19 华为技术有限公司 Display method and device
WO2022237603A1 (en) * 2021-03-04 2022-11-17 聚好看科技股份有限公司 Control processing method and display device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254860A1 (en) * 2008-04-03 2009-10-08 Samsung Electronics Co., Ltd. Method and apparatus for processing widget in multi ticker
CN101894155A (en) * 2010-07-06 2010-11-24 中兴通讯股份有限公司 Classification method, system and terminal of widget
CN101937339A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Widget management method and client end
CN102148861A (en) * 2011-01-25 2011-08-10 中兴通讯股份有限公司 Widget sequencing method and device
CN102693120A (en) * 2011-03-21 2012-09-26 联想(北京)有限公司 Widget display method, display device and electronic equipment
CN104484227A (en) * 2014-12-24 2015-04-01 中科创达软件股份有限公司 Hardware resource utilization rate management method and hardware resource utilization rate management system
CN105094284A (en) * 2015-07-31 2015-11-25 北京金山安全软件有限公司 Power-saving processing method and device for application program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254860A1 (en) * 2008-04-03 2009-10-08 Samsung Electronics Co., Ltd. Method and apparatus for processing widget in multi ticker
CN101937339A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Widget management method and client end
CN101894155A (en) * 2010-07-06 2010-11-24 中兴通讯股份有限公司 Classification method, system and terminal of widget
CN102148861A (en) * 2011-01-25 2011-08-10 中兴通讯股份有限公司 Widget sequencing method and device
CN102693120A (en) * 2011-03-21 2012-09-26 联想(北京)有限公司 Widget display method, display device and electronic equipment
CN104484227A (en) * 2014-12-24 2015-04-01 中科创达软件股份有限公司 Hardware resource utilization rate management method and hardware resource utilization rate management system
CN105094284A (en) * 2015-07-31 2015-11-25 北京金山安全软件有限公司 Power-saving processing method and device for application program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383663A (en) * 2019-05-08 2021-02-19 华为技术有限公司 Display method and device
WO2022237603A1 (en) * 2021-03-04 2022-11-17 聚好看科技股份有限公司 Control processing method and display device

Also Published As

Publication number Publication date
CN106959878B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN105159533A (en) Mobile terminal and automatic verification code input method thereof
CN105101366A (en) Mobile terminal control method and mobile terminal
CN106951291A (en) Application program accelerates to start method and device
CN104917896A (en) Data pushing method and terminal equipment
CN106331330A (en) Automatic application program sequencing system and method
CN105094531A (en) Icon ordering system and method
CN104935747A (en) Processing method and device for application icon, and terminal
CN105141507A (en) Method and device for displaying head portrait for social application
CN105791592A (en) Information prompting method and mobile terminal
CN104809221A (en) Recommending method for music information and device
CN104915215A (en) Icon recommending device and method
CN106453878A (en) Sound-based prompt method and mobile terminal
CN105843478B (en) The icon display control method and device of rapid switch
CN104881346A (en) Mobile terminal and detection method and device of power consumption of applications
CN104850325A (en) Mobile terminal application processing method and device
CN109033263A (en) A kind of application recommended method and terminal
CN106231130B (en) The screen method and device of notification message
CN104780278B (en) Route generation method based on communication data and device
CN104661095A (en) Audio and video data recommendation method and system
CN106445830A (en) Application program running environment detection method and mobile terminal
CN104834473B (en) The method and device of input
CN106899958A (en) A kind of information download apparatus and method
CN106713661A (en) Mobile terminal and text displaying method
CN106598538A (en) Method and system for updating instruction set
CN105516471A (en) Display apparatus and display method for automatically-received information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant