CN106095464A - A kind of method and device of the seamless operation of application program - Google Patents

A kind of method and device of the seamless operation of application program Download PDF

Info

Publication number
CN106095464A
CN106095464A CN201610460769.0A CN201610460769A CN106095464A CN 106095464 A CN106095464 A CN 106095464A CN 201610460769 A CN201610460769 A CN 201610460769A CN 106095464 A CN106095464 A CN 106095464A
Authority
CN
China
Prior art keywords
application program
operational mode
seamless
described application
seamless operational
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
CN201610460769.0A
Other languages
Chinese (zh)
Other versions
CN106095464B (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 CN201610460769.0A priority Critical patent/CN106095464B/en
Publication of CN106095464A publication Critical patent/CN106095464A/en
Application granted granted Critical
Publication of CN106095464B publication Critical patent/CN106095464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Library & Information Science (AREA)
  • Telephone Function (AREA)

Abstract

The method that the embodiment of the invention discloses the seamless operation of a kind of application program, described method includes: listens to the opening operation of described application program, and judges when described application program needs to use seamless operational mode to start;Described application program is started under described seamless operational mode, and by described application records for operating under described seamless operational mode;Listening to the shutoff operation of described application program, and judging when described application program operates under described seamless operational mode, closing described application program and exit described seamless operational mode.The embodiment of the present invention also provides for the device of the seamless operation of a kind of application program simultaneously.

Description

A kind of method and device of the seamless operation of application program
Technical field
The present invention relates to intelligent terminal technical field, particularly relate to method and the dress of the seamless operation of a kind of application program Put.
Background technology
Along with the screen of mobile terminal is increasing and function universal, the situation that mobile terminal is used by multiple users share Also get more and more, particularly flat board, it is possible to be shared by a plurality of users use.Now, the individual privacy of user and data safety Cannot well be protected, be likely to be due to the switching of multi-user, cause the data of user to be compromised.
In existing technology, some particular application of some mobile terminals is often only had to have the merit of seamless operation Can, the uses scene of the frequent seamless operation of visible application program has browser seamless to browse, the seamless transmission reception of note Etc. form.For general application program, if needing to expand to the scene of seamless operation, need application program is carried out Secondary development, not only workload is the longest, is also unfavorable for quickly realizing meeting user.
Summary of the invention
In view of this, embodiment of the present invention expectation provides the method and device of the seamless operation of a kind of application program, with from being System layer extends realization accordingly and runs application program under seamless operational mode mobile terminal.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
A kind of device of the seamless operation of application program, described device includes:
Monitor module, for monitoring opening operation and the shutoff operation of described application program,
Judge module, is used for judging that described application program is the need of using seamless operational mode to start, it is judged that described should Whether operate under described seamless operational mode by program;
At described judge module, processing module, for judging that described application program needs to use described seamless operational mode to open Time dynamic, under described seamless operational mode, start described application program;Described application program is listened in described monitoring module Shutoff operation, and described judge module judges when described application program operates under described seamless operational mode, close described should By program and exit described seamless operational mode;
Logging modle, is used for after described processing module starts described application program under described seamless operational mode, will Described application records is for operating under described seamless operational mode.
Device as above, wherein, described processing module specifically for:
Obtain the installation procedure of described application program, replace the bag name information of described installation procedure, use and replace Bao Mingxin Described installation procedure after breath installs described application program;Run the described application program after installing;
Described logging modle is additionally operable to, the bag name information before record replacement and the described bag name information after replacement.
Device as above, wherein, described processing module specifically for:
Close and unload the application program after described installation, delete the bag name information before the remaining file after unloading, replacement And the bag name information after replacing, exit described seamless operational mode.
Device as above, wherein, described judge module is additionally operable to:
Judge that whether described application program is already at running status;Judging that described application program is not in running status Time, determine that described application program is the need of using described seamless operational mode to start.
Device as above, wherein, described judge module specifically for:
According to user in the selection information of the input selected on interface, determine that described application program is described the need of using Seamless operational mode starts;Described selection information includes commonly starting and starts with seamless operational mode;Or,
Judge whether described application program is included in the Application Column using seamless operational mode to start pre-set In table, determine that described application program is the need of using described seamless operational mode to start according to judged result.
A kind of method of the seamless operation of application program, described method includes:
Listen to the opening operation of described application program, and judge that described application program needs to use seamless operational mode to open Time dynamic;
Described application program is started under described seamless operational mode, and described application records is described for operating in Under seamless operational mode;
Listening to the shutoff operation of described application program, and judging that described application program operates in described seamless operation mould Time under formula, close described application program and exit described seamless operational mode.
Method as above, wherein, described starts described application program under described seamless operational mode, and by described Application records for operating under described seamless operational mode, including:
Obtain the installation procedure of described application program, replace the bag name information of described installation procedure, use and replace Bao Mingxin Described installation procedure after breath installs described application program;
Run the described application program after installing, and record the bag name information before replacement and the described Bao Mingxin after replacement Breath, records described application program and operates under described seamless operational mode.
Method as above, wherein, the described application program of described closedown also exits described seamless operational mode, including:
Close and unload the application program after described installation, delete the bag name information before the remaining file after unloading, replacement And the bag name information after replacing, exit described seamless operational mode.
Method as above, wherein, described in listen to described application program opening operation after, described method is also wrapped Include:
Judge that whether described application program is already at running status;
When judging that described application program is not in running status, determine that described application program is the need of using described nothing Trace operational mode starts.
Method as above, wherein, described determines that described application program is the need of using described seamless operational mode Start, including:
According to user in the selection information of the input selected on interface, determine that described application program is described the need of using Seamless operational mode starts;Described selection information includes commonly starting and starts with seamless operational mode;Or,
Judge whether described application program is included in the Application Column using seamless operational mode to start pre-set In table, determine that described application program is the need of using described seamless operational mode to start according to judged result.
The method and device of the seamless operation of application program that the embodiment of the present invention is provided, by listening to described application journey The opening operation of sequence, and judge when described application program needs to use seamless operational mode to start;In described seamless operational mode The lower described application program of startup, and by described application records for operating under described seamless operational mode;Listening to State the shutoff operation of application program, and judge when described application program operates under described seamless operational mode, close described answering By program and exit described seamless operational mode.So, user runs application program in seamless operational mode, due to application journey Sequence is mapped, and original data will not be produced impact, also will not leave behind the use record of active user, it is achieved thereby that Application program is run under seamless operational mode.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention;
The communication system architecture schematic diagram that the mobile terminal that Fig. 2 provides for the embodiment of the present invention is operable to;
The structural representation of the device of the seamless operation of application program that Fig. 3 provides for the embodiment of the present invention;
The flow chart of the method for the seamless operation of application program that Fig. 4 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe wholely.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing 1.In follow-up description, make With being used for the suffix representing such as " module ", " parts " or " unit " of the element explanation only for the beneficially present invention, its Body does not has specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable The mobile terminal of formula multimedia player (PMP), guider etc. and fixing of such as numeral TV, desk computer etc. Terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for mobile mesh Element outside, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, audio/video (A/V) input block 120, user's input Unit 130, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 illustrates There is the mobile terminal of various assembly, it should be understood that be not required for implementing all assemblies illustrated, can be alternatively Implement more or less of assembly, will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and wireless communication system Or the radio communication between network.Such as, wireless communication unit can include broadcast reception module 111, mobile communication module 112, at least one in wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcasting management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be to generate and send Broadcast singal and/or the server of broadcast related information or the broadcast singal generated before receiving and/or broadcast related information And send it to the server of terminal.Broadcast singal can include that TV broadcast singal, radio signals, data are broadcasted Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, and such as, it can be with the electronics of DMB (DMB) Program guide (EPG), the form of electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H) and exist.Broadcast Receiver module 111 can be broadcasted by using various types of broadcast systems to receive signal.Especially, broadcast reception module 111 Can be by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video wide Broadcast-hand-held (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for extensively Broadcast the various broadcast systems of signal and above-mentioned digit broadcasting system.Via broadcast reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memorizer 160 (or other type of storage medium).
Mobile communication module 112 sends radio signals to base station (such as, access point, node B etc.), exterior terminal And in server at least one and/or receive from it radio signal.Such radio signal can include that voice leads to Words signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant Tooth TM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee TM etc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Positional information module The typical case of 115 is GPS (global positioning system).According to current technology, GPS module 115 calculates from three or more The range information of satellite and correct time information and for the Information application triangulation calculated, thus according to longitude, The three-dimensional current location information of latitude and highly accurately calculating.Currently, for calculating the method use three of position and temporal information Satellite and by using the position and the error of temporal information that an other satellite correction calculates.Additionally, GPS module 115 can calculate velocity information by Continuous plus current location information in real time.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He Mike 122, the camera 121 static images to being obtained by image capture apparatus in Video Capture pattern or image capture mode Or the view data of video processes.Picture frame after process may be displayed on display unit 151.Process through camera 121 After picture frame can be stored in memorizer 160 (or other storage medium) or via wireless communication unit 110 carry out send out Send, two or more cameras 121 can be provided according to the structure of mobile terminal.Mike 122 can be in telephone calling model, note Record pattern, speech recognition mode etc. operational mode receives sound (voice data) via mike 122, and can be by this The acoustic processing of sample is voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model The form output of mobile communication base station can be sent to via mobile communication module 112.Mike 122 can be implemented various types of Noise eliminate (or suppression) algorithm with the noise eliminating (or suppression) and producing during receiving and send audio signal or Interference.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user's input Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, for connect have the port of device of identification module, audio frequency input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses each of mobile terminal 100 Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..It addition, the device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, know Other device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 may be used for receive from The input (such as, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements or may be used between mobile terminal and external device (ED) transmit data.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing electricity by it Power provides the path of mobile terminal 100 from base or can serve as allowing from the various command signals of base input by it It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from various command signals or the electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner Go out signal (such as, audio signal, video signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, it is in electricity when mobile terminal 100 During words call mode, display unit 151 can show and call or other (such as, text messaging, multimedia file that communicate Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or during image capture mode, display unit 151 can show image and/or the image of reception of capture, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive pattern, call mode, logging mode, Time under the isotype such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or at memorizer 160 The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide with mobile The audio frequency output (such as, call signal receives sound, message sink sound etc.) that the specific function that terminal 100 performs is relevant. Dio Output Modules 152 can include speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typical event is permissible Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video exports, alarm unit 153 can provide output with the generation of notification event in a different manner.Such as, alarm unit 153 can be with the form of vibration Output is provided, when receiving calling, message or some other entrance communication (Incoming Communication), alarm list Unit 153 can provide sense of touch output (such as, vibration) to notify to user.By providing such sense of touch to export, even if When the mobile phone of user is in the pocket of user, user also is able to identify the generation of various event.Alarm unit 153 The output of the generation of notification event can also be provided via display unit 151 or dio Output Modules 152.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can The data (such as, telephone directory, message, still image, video etc.) that maybe will export have been exported temporarily to store.And And, memorizer 160 can with storage about when touch be applied to touch screen time the vibration of various modes of output and audio signal Data.
Memorizer 160 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many Media card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access store Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network The network storage device cooperation of the storage function of 160.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice call, data Control that communication, video calling etc. are relevant and process.It addition, controller 180 can include for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or it is so structured that with control Device 180 separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implementing 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 Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language Implementing, software code can be stored in memorizer 160 and be performed by controller 180.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that utilize via frame or packet transmission data all if any Line and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, communication system use 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 relates to cdma communication system, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (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 and the BSC275 formation interface that can be couple to base station 270 via back haul link. Back haul link can construct according to any one in some known interfaces, and described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC275.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or the sky of sensing specific direction Each subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity reception Antenna covers.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed 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 " may be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal operated by broadcsting transmitter (BT) 295 100.Broadcast reception module 111 is arranged on mobile terminal 100 and sentences the broadcast that reception is sent by BT295 as shown in Figure 1 Signal.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position multiple mobile terminals At least one in 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtain useful Location information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the location letter wanted as shown in Figure 1 Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of position of mobile terminal can be followed the tracks of Technology.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Certain base station 270 receive each instead Processed in specific BS270 to link signal.The data obtained are forwarded to the BSC275 being correlated with.BSC provides call Resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The number that BSC275 also will receive According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with MSC280 forms interface, MSC280 Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 to be believed by forward link Number it is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
In the various embodiments of the invention, the opening and closing action of mobile terminal detection current application;When opening application Action be detected after, it is judged that when the application of front opening has run, without operation, then judge the side of being currently up Whether formula starts application under seamless operational mode, if in starting application under seamless operational mode, then to the application started Program processes accordingly, this is applied and runs under seamless operational mode and this application be recorded as under seamless operational mode The application run;If not starting application under seamless operational mode, then start this application according to the Booting sequence of normal use, Wherein, the action opened includes but not limited to that user's form from desktop or with other shortcuts starts application;Work as closedown After the action of application is detected, mobile terminal judges whether application to be closed is under seamless operational mode, as Fruit is not under seamless operational mode, then close application according to normal handling process;If being in seamless operation mould Under formula, then application is cleared up and exited seamless operational mode accordingly and runs.
Below the method and device of the seamless operation of application program that the embodiment of the present invention provides is described in detail.
The structural representation of the device of the seamless operation of application program that Fig. 3 provides for the embodiment of the present invention.As it is shown on figure 3, The device of the seamless operation of application program that the present embodiment provides specifically can be arranged in the terminal, concrete, the present embodiment The device provided may include that monitoring module 31, it is judged that module 32, processing module 33 and logging modle 34.
Wherein, monitor module 31, for monitoring opening operation and the shutoff operation of described application program,
Judge module 32, is used for judging that described application program is the need of using seamless operational mode to start, it is judged that described Whether application program operates under described seamless operational mode;
At described judge module 32, processing module 33, for judging that described application program needs to use described seamless operation mould When formula starts, under described seamless operational mode, start described application program;Described application is listened in described monitoring module 31 The shutoff operation of program, and described judge module 32 judges when described application program operates under described seamless operational mode, closes Close described application program and exit described seamless operational mode;
Logging modle 34, for starting described application program in described processing module 33 under described seamless operational mode After, by described application records for operating under described seamless operational mode.
In actual applications, described monitoring module 31 monitors the opening and closing of presently described application program, such as, in peace In tall and erect system, monitoring system broadcast can be used to realize, when user selects the quick of certain application program from mobile terminal desktop When mode carries out opening operation, listen to corresponding broadcast, thus obtain the bag name information etc. when front opening application program; Correspondingly, when user terminates mobile phone operation by shutdown, the shutdown broadcast that the system that can hear sends, it is simple to later In step, carry out all application programs being under seamless operational mode closing the operation run.
Described judge module 32 specifically may determine that the application program currently opened or closed is the need of carrying out seamless fortune The corresponding operating of row mode;When opening the operation of application program, first determine whether when whether the application program of front opening is located In running status, if being not at running status, then determine whether that application program to be started is the need of in nothing Run under the state of trace operational mode;When there is the operation closing application program, it is judged that module 32 is according in logging modle 34 The information of record, determining whether current application program is under seamless operational mode, if be under seamless operational mode, then entering The cleaning work of application program is closed under the seamless operational mode that row is corresponding.
It should be noted that described judge module 32 is judging that the application program currently opened or closed is the need of carrying out During the corresponding operating of seamless operational mode, specifically can determine institute according to user in the selection information of the input selected on interface State application program the need of using described seamless operational mode to start;Described selection information includes commonly starting and seamless operation Pattern starts;Or, it is judged that whether described application program is included in the application using seamless operational mode to start pre-set In program listing, determine that described application program is the need of using described seamless operational mode to start according to judged result.
Described processing module 33 is for starting and closing application program under seamless operational mode;Concrete, described process Module 33, when starting described application program, can obtain the installation procedure of described application program, replace described installation procedure Bag name information, uses the described installation procedure after replacing bag name information to install described application program;Run install after described should Use program;Described logging modle 34 is additionally operable to, the bag name information before record replacement and the described bag name information after replacement;Described place Reason module 33, when closing described application program, can close and unload the application program after described installation, after deleting unloading Bag name information before remaining file, replacement and the bag name information after replacement, exit described seamless operational mode.
It is to say, when, after the message that judge module 32 issues, processing module 33 makes corresponding startup or closedown should With the operation of program;The application program to be started is replicated by processing module 33, the data that seamless operational mode is run and Legacy data is isolated;After processing module 33 receives the message starting application program issued, first from application program Installation directory copy the installation procedure of this application program, after the bag name of the installation procedure after copy is carried out overall replacement, weight Newly installed to single catalogue, rerun this newly installed application program, and meanwhile, the bag name of file installed in logging modle 34 record Information and the bag name information after replacing it;After processing module 33 receives the message closing application issued, from logging modle 34 search the current replacements run after the application program that renames, and this application program is performed unloading operation, and after deleting unloading Remaining file, such as, the temporary file etc. in file, exit described seamless operational mode.
Described logging modle 34 is turned off and on application program under seamless operational mode, by this application records is Seamless running status;Such as, in Android system, the form record of Hash (hash) table can be used to be in seamless operation mould Application program under formula, when new application program starts in seamless pattern, adds the information of this application program to this hash In table, when certain application program terminates to run under seamless pattern, accordingly by the information of this application program from this hash table Carry out removing operation.
The device of the seamless operation of application program that the present embodiment provides, user runs application program in seamless operational mode, Owing to application program being mapped, original data will not be produced impact, also will not leave behind the use note of active user Record, it is achieved thereby that run application program under seamless operational mode.
In actual applications, described monitoring module 31, it is judged that module 32, processing module 33 and logging modle 34 all can be by positions Central processing unit (Central Processing Unit, CPU) in the device of the seamless operation of application program, microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or scene Programmable gate arrays (Field Programmable Gate Array, FPGA) etc. realize.
The flow chart of the method for the seamless operation of application program that Fig. 4 provides for the embodiment of the present invention.As shown in Figure 4, this reality The method that executing example provides specifically can be performed by mobile terminal, concrete, and the method that the present embodiment provides may include that
Step 401, listen to the opening operation of described application program, and judge that described application program needs to use seamless fortune When row mode starts.
In actual applications, after listening to the opening operation of described application program, mobile terminal also needs to judge institute Whether state application program already at running status;When judging that described application program is not in running status, determine described answering By program the need of using described seamless operational mode to start.
Need explanation time, determine described application program the need of use described seamless operational mode start time, tool Body can be: according to user in the selection information of the input selected on interface, determines that described application program is the need of using institute State seamless operational mode to start;Described selection information includes commonly starting and starts with seamless operational mode;Or, it is judged that described should Whether it is included in by program in the application list using the startup of seamless operational mode pre-set, true according to judged result Fixed described application program is the need of using the startup of described seamless operational mode.
Concrete, mobile terminal can click on application program image timestamp user by desktop, it is provided that at least one interface Select to be by commonly starting or the startup of seamless pattern for user;Meanwhile, mobile terminal can also provide extremely arranging module A few interface, for the application list of the seamless operation of user setup, it may be assumed that be in the application program in this list and all use nothing Trace pattern is run.
Step 402, under described seamless operational mode, start described application program, and be fortune by described application records Row is under described seamless operational mode.
In this step, under seamless pattern, start described application program be specifically as follows: obtain the peace of described application program Dress program, replaces the bag name information of described installation procedure, uses the described installation procedure after replacing bag name information to install described answering Use program;Run the described application program after installing, and record the bag name information before replacement and the described bag name information after replacement, Record described application program to operate under described seamless operational mode.
In actual application, mobile terminal can extract installation procedure from the installation directory of described application program, in Android system In system, specifically can extract apk file from the/catalogue such as systen/app/ or/system/priv-app/;Extraction is answered By program, file is installed to carry out overall bag name and rename replacements, in Android system, application program installation file entirety can be replaced Change bag name.After bag name replaces it, the application program after replacing is performed installation steps, and runs the application program after installation.
Meanwhile, the application information after the application information before replacing and replacement is carried out record, in order to connecing When receiving system broadcasts, message is replaced accordingly.
Step 403, listening to the shutoff operation of described application program, and judging that described application program operates in described nothing Time under trace operational mode, close described application program and exit described seamless operational mode.
The described application program of described closedown also exits described seamless operational mode, including: after closing and unload described installation Application program, delete the remaining file after unloading, replace before bag name information and bag name information after replacing, exit described Seamless operational mode.
Concrete, in Android system, the operation closing application program can be power-off operation, it is also possible to be to press back key Exit the operation of application program, can also be to kill application program by task manager;Further, the operation of application program is closed Can be broadcasted by monitoring system or the storehouse of direct detecting system internal memory realizes.
Whether when listening to the shutoff operation of described application program, obtaining the application program that is presently off from record is The application program run under seamless operational mode, i.e. list acquisition can be searched from the information such as the bag name preserved and currently wanted Whether the application program closed is for operating under seamless operational mode;If it is, the described application program after the closed mapping of pass, and Application program after described mapping carries out unloading operation, the residual space after cleaning unloading, and it is described that deletion simultaneously is recorded The bag name information etc. of the application program after mapping.
The device of the seamless operation of application program that the present embodiment provides, user runs application program in seamless operational mode, Owing to application program being mapped, original data will not be produced impact, also will not leave behind the use note of active user Record, it is achieved thereby that run application program under seamless operational mode.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or device Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this The process of key element, method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take Business device, air-conditioner, or the network equipment etc.) perform the method described by each embodiment of the present invention.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one The step of the function specified in individual square frame or multiple square frame.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills Art field, is the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. the device of the seamless operation of application program, it is characterised in that described device includes:
Monitor module, for monitoring opening operation and the shutoff operation of described application program,
Judge module, is used for judging that described application program is the need of using seamless operational mode to start, it is judged that described application journey Whether sequence operates under described seamless operational mode;
At described judge module, processing module, for judging that described application program needs to use described seamless operational mode to start Time, under described seamless operational mode, start described application program;The pass of described application program is listened in described monitoring module Closed operation, and described judge module judges, when described application program operates under described seamless operational mode, to close described application Program also exits described seamless operational mode;
Logging modle, for after described processing module starts described application program under described seamless operational mode, by described Application records is for operating under described seamless operational mode.
Device the most according to claim 1, it is characterised in that described processing module specifically for:
Obtain the installation procedure of described application program, replace the bag name information of described installation procedure, use after replacing bag name information Described installation procedure install described application program;Run the described application program after installing;
Described logging modle is additionally operable to, the bag name information before record replacement and the described bag name information after replacement.
Device the most according to claim 1, it is characterised in that described processing module specifically for:
Close and unload the application program after described installation, delete the remaining file after unloading, replace before bag name information and Bag name information after replacement, exits described seamless operational mode.
Device the most according to claim 1, it is characterised in that described judge module is additionally operable to:
Judge that whether described application program is already at running status;When judging that described application program is not in running status, Determine that described application program is the need of using described seamless operational mode to start.
Device the most according to claim 4, it is characterised in that described judge module specifically for:
According to user in the selection information of the input selected on interface, determine that described application program is described seamless the need of using Operational mode starts;Described selection information includes commonly starting and starts with seamless operational mode;Or,
Judge whether described application program is included in the application list using the startup of seamless operational mode pre-set, Determine that described application program is the need of using described seamless operational mode to start according to judged result.
6. the method for the seamless operation of application program, it is characterised in that described method includes:
Listen to the opening operation of described application program, and judge that described application program needs to use seamless operational mode to start Time;
Described application program is started under described seamless operational mode, and described application records is described seamless for operating in Under operational mode;
Listening to the shutoff operation of described application program, and judging that described application program operates under described seamless operational mode Time, close described application program and exit described seamless operational mode.
Method the most according to claim 6, it is characterised in that described start described application under described seamless operational mode Program, and by described application records for operating under described seamless operational mode, including:
Obtain the installation procedure of described application program, replace the bag name information of described installation procedure, use after replacing bag name information Described installation procedure install described application program;
Run the described application program after installing, and record the bag name information before replacement and the described bag name information after replacement, note Record described application program to operate under described seamless operational mode.
Method the most according to claim 6, it is characterised in that the described application program of described closedown also exits described seamless fortune Row mode, including:
Close and unload the application program after described installation, delete the remaining file after unloading, replace before bag name information and Bag name information after replacement, exits described seamless operational mode.
Method the most according to claim 6, it is characterised in that described in listen to described application program opening operation it After, described method also includes:
Judge that whether described application program is already at running status;
When judging that described application program is not in running status, determine that described application program is the need of using described seamless fortune Row mode starts.
Method the most according to claim 9, it is characterised in that described determine described application program the need of use institute State seamless operational mode to start, including:
According to user in the selection information of the input selected on interface, determine that described application program is described seamless the need of using Operational mode starts;Described selection information includes commonly starting and starts with seamless operational mode;Or,
Judge whether described application program is included in the application list using the startup of seamless operational mode pre-set, Determine that described application program is the need of using described seamless operational mode to start according to judged result.
CN201610460769.0A 2016-06-23 2016-06-23 A kind of method and device of the seamless operation of application program Active CN106095464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610460769.0A CN106095464B (en) 2016-06-23 2016-06-23 A kind of method and device of the seamless operation of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610460769.0A CN106095464B (en) 2016-06-23 2016-06-23 A kind of method and device of the seamless operation of application program

Publications (2)

Publication Number Publication Date
CN106095464A true CN106095464A (en) 2016-11-09
CN106095464B CN106095464B (en) 2019-10-15

Family

ID=57253335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610460769.0A Active CN106095464B (en) 2016-06-23 2016-06-23 A kind of method and device of the seamless operation of application program

Country Status (1)

Country Link
CN (1) CN106095464B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991321A (en) * 2017-04-18 2017-07-28 北京元心科技有限公司 Method and device for running application program in multi-container system without trace
CN107066298A (en) * 2017-04-18 2017-08-18 北京元心科技有限公司 Method and device for running application program without traces
CN110348200A (en) * 2018-04-02 2019-10-18 南宁富桂精密工业有限公司 Application program installation method, system, server and terminal
CN111142973A (en) * 2019-12-31 2020-05-12 联想(北京)有限公司 Information processing method, device, electronic equipment and medium
CN114070932A (en) * 2021-11-04 2022-02-18 展讯通信(天津)有限公司 Traceless communication method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795847A (en) * 2012-10-31 2014-05-14 三星电子(中国)研发中心 Method for applying traceless mode to communication terminal and communication terminal
CN104615596A (en) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 Method for clearing history information and browser
CN104618382A (en) * 2015-02-10 2015-05-13 深圳市中兴移动通信有限公司 Information traceless access implementation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795847A (en) * 2012-10-31 2014-05-14 三星电子(中国)研发中心 Method for applying traceless mode to communication terminal and communication terminal
CN104615596A (en) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 Method for clearing history information and browser
CN104618382A (en) * 2015-02-10 2015-05-13 深圳市中兴移动通信有限公司 Information traceless access implementation method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991321A (en) * 2017-04-18 2017-07-28 北京元心科技有限公司 Method and device for running application program in multi-container system without trace
CN107066298A (en) * 2017-04-18 2017-08-18 北京元心科技有限公司 Method and device for running application program without traces
CN106991321B (en) * 2017-04-18 2020-11-03 北京元心科技有限公司 Method and device for running application program in multi-container system without trace
CN110348200A (en) * 2018-04-02 2019-10-18 南宁富桂精密工业有限公司 Application program installation method, system, server and terminal
CN111142973A (en) * 2019-12-31 2020-05-12 联想(北京)有限公司 Information processing method, device, electronic equipment and medium
CN114070932A (en) * 2021-11-04 2022-02-18 展讯通信(天津)有限公司 Traceless communication method and device and electronic equipment

Also Published As

Publication number Publication date
CN106095464B (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN106130734A (en) The control method of mobile terminal and control device
CN105718027A (en) Management method of background application programs and mobile terminal
CN106201395A (en) A kind of display packing and mobile terminal
CN106095464B (en) A kind of method and device of the seamless operation of application program
CN106155695A (en) The removing control device and method of background application
CN106529225A (en) Device and method for protecting source code of application program
CN104968027B (en) Wi-Fi control method and device
CN106254628A (en) A kind of mobile terminal and multi-display method
CN106407088A (en) Method and device for detecting multi-core CPU
CN105721691A (en) Mobile terminal and method for controlling flight mode thereof
CN106803860A (en) The storage processing method and device of a kind of terminal applies
CN106126065A (en) A kind of mobile terminal and double screen method for information display thereof
CN106231587A (en) The data service changing method of mobile terminal and switching device
CN106873936A (en) Electronic equipment and information processing method
CN106101455A (en) Page jump management method, device and terminal
CN105764085A (en) Abnormal electricity consumption detection method and terminal
CN106250081A (en) A kind of display packing based on double screen terminal and device
CN105573916A (en) Fault detection method and mobile terminal
CN106161790A (en) A kind of mobile terminal and control method thereof
CN106484534A (en) Control method for the mobile terminal of displaying and control device
CN106125898A (en) The method and device of screen rotation
CN106227454B (en) A kind of touch trajectory detection system and method
CN106777253A (en) The update method and device of a kind of dictionary
CN106385494A (en) Method and device for obtaining dynamic home page of mobile terminal application
CN106254522A (en) A kind of based terminal system, method and terminal

Legal Events

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