CN106095464B - 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 PDFInfo
- Publication number
- CN106095464B CN106095464B CN201610460769.0A CN201610460769A CN106095464B CN 106095464 B CN106095464 B CN 106095464B CN 201610460769 A CN201610460769 A CN 201610460769A CN 106095464 B CN106095464 B CN 106095464B
- Authority
- CN
- China
- Prior art keywords
- application program
- traceless
- operation mode
- mode
- running
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012545 processing Methods 0.000 claims description 30
- 238000012544 monitoring process Methods 0.000 claims description 20
- 238000004891 communication Methods 0.000 description 27
- 230000006870 function Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000010295 mobile communication Methods 0.000 description 7
- 238000003860 storage Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 238000009434 installation Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000004140 cleaning Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting 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/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/62—Uninstallation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/73—Program documentation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Library & Information Science (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of methods of the seamless operation of application program, which comprises when listening to the opening operation of the application program, and judging that the application program needs to start using seamless operational mode;Start the application program under the seamless operational mode, and is to operate under the seamless operational mode by the application records;When listening to the shutoff operation of the application program, and judging that the application program is operated under the seamless operational mode, closes the application program and exit the seamless operational mode.The embodiment of the present invention also provides a kind of device of seamless operation of application program simultaneously.
Description
Technical Field
The invention relates to the technical field of intelligent terminal equipment, in particular to a method and a device for seamless running of an application program.
Background
With the screen of the mobile terminal becoming larger and the functions becoming more popular, the mobile terminal is shared by multiple users more and more, especially the tablet, and is likely to be shared by multiple users. At this time, the personal privacy and data security of the user cannot be well protected, and the data of the user may be leaked due to the switching of multiple users.
In the prior art, only some special applications of some mobile terminals often have a traceless operation function, and often visible usage scenes of the traceless operation of the applications have forms of traceless browsing of a browser, traceless sending and receiving of short messages and the like. For a general application program, if the application program needs to be expanded to a seamless operation scene, the application program needs to be developed for the second time, so that the workload is large, the time consumption is long, and the user can not be satisfied quickly.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a method and an apparatus for seamless running of an application, so as to implement running of the application in a seamless running mode by correspondingly extending a mobile terminal from a system layer.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
an apparatus for seamless execution of an application, the apparatus comprising:
a monitoring module for monitoring the opening operation and the closing operation of the application program,
the judging module is used for judging whether the application program needs to be started by using a traceless operation mode and judging whether the application program operates in the traceless operation mode;
the processing module is used for starting the application program in the traceless operation mode when the judging module judges that the application program needs to be started by using the traceless operation mode; when the monitoring module monitors the closing operation of the application program and the judging module judges that the application program runs in the traceless running mode, closing the application program and exiting the traceless running mode;
and the recording module is used for recording the application program as running in the traceless running mode after the processing module starts the application program in the traceless running mode.
The apparatus as described above, wherein the processing module is specifically configured to:
acquiring an installation program of the application program, replacing the package name information of the installation program, and installing the application program by using the installation program with the replaced package name information; running the installed application program;
the recording module is further configured to record the packet name information before replacement and the packet name information after replacement.
The apparatus as described above, wherein the processing module is specifically configured to:
closing and uninstalling the installed application program, deleting the uninstalled residual file, the packet name information before replacement and the packet name information after replacement, and exiting the traceless operation mode.
The apparatus as above, wherein the determining module is further configured to:
judging whether the application program is in a running state or not; and when the application program is not in the running state, determining whether the application program needs to be started by using the traceless running mode.
The apparatus as described above, wherein the determining module is specifically configured to:
determining whether the application program needs to be started by using the traceless operation mode according to selection information input by a user on a selection interface; the selection information comprises common starting and traceless operation mode starting; or,
and judging whether the application program is contained in a preset application program list started by using a traceless operation mode, and determining whether the application program needs to be started by using the traceless operation mode according to a judgment result.
A method of traceless operation of an application, the method comprising:
monitoring the opening operation of the application program, and judging when the application program needs to be started by using a traceless operation mode;
starting the application program in the traceless operation mode, and recording the application program as operating in the traceless operation mode;
and when the closing operation of the application program is monitored and the application program is judged to run in the traceless running mode, closing the application program and exiting the traceless running mode.
The method as described above, wherein the starting the application in the traceless operating mode and recording the application as operating in the traceless operating mode comprises:
acquiring an installation program of the application program, replacing the package name information of the installation program, and installing the application program by using the installation program with the replaced package name information;
and running the installed application program, recording the package name information before replacement and the package name information after replacement, and recording that the application program runs in the traceless running mode.
The method as described above, wherein said closing the application and exiting the traceless mode of operation comprises:
closing and uninstalling the installed application program, deleting the uninstalled residual file, the packet name information before replacement and the packet name information after replacement, and exiting the traceless operation mode.
The method as above, wherein after the monitoring of the opening operation of the application program, the method further comprises:
judging whether the application program is in a running state or not;
and when the application program is not in the running state, determining whether the application program needs to be started by using the traceless running mode.
The method as described above, wherein said determining whether the application program needs to be launched using the traceless mode of operation comprises:
determining whether the application program needs to be started by using the traceless operation mode according to selection information input by a user on a selection interface; the selection information comprises common starting and traceless operation mode starting; or,
and judging whether the application program is contained in a preset application program list started by using a traceless operation mode, and determining whether the application program needs to be started by using the traceless operation mode according to a judgment result.
According to the method and the device for seamless running of the application program, provided by the embodiment of the invention, the opening operation of the application program is monitored, and when the application program needs to be started by using a seamless running mode is judged; starting the application program in the traceless operation mode, and recording the application program as operating in the traceless operation mode; and when the closing operation of the application program is monitored and the application program is judged to run in the traceless running mode, closing the application program and exiting the traceless running mode. Therefore, the user runs the application program in the traceless running mode, the application program is mapped, original data cannot be affected, and the use record of the current user cannot be left, so that the application program can be run in the traceless running mode.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
fig. 2 is a schematic structural diagram of a communication system in which a mobile terminal according to an embodiment of the present invention can operate;
FIG. 3 is a schematic structural diagram of an apparatus for seamless running of an application according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for seamless running of an application according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to fig. 1. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, etc., and a stationary terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an audio/video (a/V) input unit 120, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, and the like. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented, and that more or fewer components may instead be implemented, the elements of the mobile terminal being described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module 115 is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone 122 in a phone call mode, a recording mode, a voice recognition mode, or the like, and is capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other Incoming Communication (Incoming Communication) is received, the alarm unit 153 may provide a tactile output (e.g., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC280 interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
In each embodiment of the invention, the mobile terminal detects the opening and closing actions of the current application; after the action of opening the application is detected, judging whether the currently opened application is operated, if not, judging whether a current starting mode starts the application in a traceless operation mode, if so, carrying out corresponding processing on a started application program, operating the application in the traceless operation mode and recording the application as the application operated in the traceless operation mode; if the application is not started in the traceless operation mode, starting the application according to a starting process of a normal application, wherein the opening action comprises but is not limited to starting the application from a desktop or in the form of other shortcuts by a user; when the action of closing the application is detected, the mobile terminal judges whether the application to be closed currently is in a traceless operation mode, and if the application is not in the traceless operation mode, the application is closed according to a normal processing flow; and if the operation mode is in the traceless operation mode, correspondingly cleaning the application and exiting the traceless operation mode.
The following describes in detail a method and an apparatus for seamless running of an application according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an apparatus for seamless running of an application according to an embodiment of the present invention. As shown in fig. 3, the apparatus for seamless running of an application provided in this embodiment may be specifically configured in a mobile terminal, and specifically, the apparatus provided in this embodiment may include: a monitoring module 31, a judging module 32, a processing module 33 and a recording module 34.
Wherein, the monitoring module 31 is used for monitoring the opening operation and the closing operation of the application program,
a judging module 32, configured to judge whether the application needs to be started using a traceless operation mode, and judge whether the application operates in the traceless operation mode;
a processing module 33, configured to start the application program in the traceless operation mode when the determining module 32 determines that the application program needs to be started in the traceless operation mode; when the monitoring module 31 monitors the closing operation of the application program and the judging module 32 judges that the application program runs in the traceless running mode, closing the application program and exiting the traceless running mode;
a recording module 34, configured to record the application program as running in the traceless operation mode after the processing module 33 starts the application program in the traceless operation mode.
In practical applications, the monitoring module 31 monitors the opening and closing of the current application program, for example, in an android system, the monitoring system can be used for broadcasting, and when a user selects a shortcut of an application program from a desktop of a mobile terminal to perform an opening operation, a corresponding broadcast message is monitored, so that packet name information of the currently opened application program is acquired; accordingly, when the user finishes the operation of the mobile phone by turning off the mobile phone, the user can listen to the turning-off broadcast sent by the system, so that the operation of turning off the operation of all the application programs in the traceless operation mode can be conveniently carried out in the following steps.
The determining module 32 may specifically determine whether the currently opened or closed application program needs to perform a corresponding operation in the traceless operation mode; when the operation of opening the application program occurs, firstly judging whether the currently opened application program is in a running state, and if not, further judging whether the currently started application program needs to run in a traceless running mode; when the operation of closing the application program occurs, the determining module 32 determines whether the current application program is in the traceless operation mode according to the information recorded in the recording module 34, and if the current application program is in the traceless operation mode, performs a cleaning operation of closing the application program in the corresponding traceless operation mode.
It should be noted that, when the determining module 32 determines whether the currently opened or closed application program needs to perform the corresponding operation of the traceless operation mode, it may specifically determine whether the application program needs to be started using the traceless operation mode according to the selection information input by the user on the selection interface; the selection information comprises common starting and traceless operation mode starting; or judging whether the application program is contained in a preset application program list started by using the traceless operation mode, and determining whether the application program needs to be started by using the traceless operation mode according to a judgment result.
The processing module 33 is configured to start and close an application program in a traceless operation mode; specifically, when the application program is started, the processing module 33 may obtain an installer of the application program, replace package name information of the installer, and install the application program using the installer after replacing the package name information; running the installed application program; the recording module 34 is further configured to record the packet name information before replacement and the packet name information after replacement; when the processing module 33 closes the application program, the installed application program may be closed and uninstalled, the uninstalled residual file, the packet name information before replacement, and the packet name information after replacement are deleted, and the traceless operation mode is exited.
That is, after the message sent by the determining module 32, the processing module 33 performs corresponding operation of starting or closing the application program; the processing module 33 copies the application program to be started, and isolates the data running in the traceless operation mode from the original data; after receiving the issued message for starting the application program, the processing module 33 first copies the installation program of the application program from the installation directory of the application program, replaces the package name of the copied installation program as a whole, then reinstalls the installation program to a separate directory, and then runs the newly installed application program, and meanwhile, the recording module 34 records the package name information of the installation file and the package name information after replacement; when the processing module 33 receives the issued message for closing the application, it searches the currently running application program that is renamed after replacement from the recording module 34, and performs an unloading operation on the application program, and deletes the unloaded residual file, for example, a temporary file in a folder, and exits the traceless operating mode.
The recording module 34 is configured to close and start an application program in the traceless operation mode, and record the application program as a traceless operation state; for example, in an android system, an application program in a traceless operation mode may be recorded in the form of a hash (hash) table, when a new application program starts in the traceless mode, information of the application program is added to the hash table, and when an application program finishes running in the traceless mode, the information of the application program is correspondingly removed from the hash table.
According to the device for the traceless operation of the application program, the user operates the application program in the traceless operation mode, the mapping is carried out on the application program, the original data cannot be influenced, the use record of the current user cannot be left, and therefore the application program can be operated in the traceless operation mode.
In practical applications, the monitoring module 31, the determining module 32, the Processing module 33 and the recording module 34 can be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like, which are located in a device in which an application program runs seamlessly.
Fig. 4 is a flowchart of a method for seamless running of an application according to an embodiment of the present invention. As shown in fig. 4, the method provided in this embodiment may be specifically executed by a mobile terminal, and specifically, the method provided in this embodiment may include:
In practical application, after monitoring the opening operation of the application program, the mobile terminal needs to judge whether the application program is already in a running state; and when the application program is not in the running state, determining whether the application program needs to be started by using the traceless running mode.
When it needs to be explained, when determining whether the application needs to be started using the traceless operation mode, specifically, the method may include: determining whether the application program needs to be started by using the traceless operation mode according to selection information input by a user on a selection interface; the selection information comprises common starting and traceless operation mode starting; or judging whether the application program is contained in a preset application program list started by using the traceless operation mode, and determining whether the application program needs to be started by using the traceless operation mode according to a judgment result.
Specifically, the mobile terminal can provide at least one interface for the user to select whether to start in a common starting mode or a traceless mode when the user clicks the application icon through the desktop; meanwhile, the mobile terminal can also provide at least one interface in the setting module for the user to set a seamless running application program list, namely: the applications on the list all run in traceless mode.
In this step, starting the application program in the traceless mode may specifically be: acquiring an installation program of the application program, replacing the package name information of the installation program, and installing the application program by using the installation program with the replaced package name information; and running the installed application program, recording the package name information before replacement and the package name information after replacement, and recording that the application program runs in the traceless running mode.
In practical application, the mobile terminal can extract an installation program from an installation directory of the application program, and in an android system, an apk file can be specifically extracted from a/system/app/or/system/priv-app/and the like directory; and performing whole package name renaming replacement on the extracted application program installation files, wherein in the android system, the package names can be replaced for the whole application program installation files. After the package name replacement, an installation step is performed on the replaced application program, and the installed application program is run.
Meanwhile, the information of the application program before replacement and the information of the application program after replacement are recorded, so that the information is correspondingly replaced when the system broadcast is received.
And step 403, when the closing operation of the application program is monitored and the application program is judged to run in the traceless running mode, closing the application program and exiting the traceless running mode.
The closing the application program and exiting the traceless operating mode comprises: closing and uninstalling the installed application program, deleting the uninstalled residual file, the packet name information before replacement and the packet name information after replacement, and exiting the traceless operation mode.
Specifically, in the android system, the operation of closing the application program may be a shutdown operation, an operation of exiting the application program by pressing a back key, or an operation of killing the application program by using the task manager; and, the operation of closing the application program can be realized by monitoring the system broadcast or directly detecting the stack of the system memory.
When the closing operation of the application program is monitored, whether the application program which is currently closed is the application program which runs in the traceless running mode or not is obtained from the record, namely, whether the application program which is currently to be closed runs in the traceless running mode or not can be obtained by searching a list from information such as a saved package name and the like; if so, closing the mapped application program, unloading the mapped application program, cleaning the unloaded residual space, and deleting the recorded package name information of the mapped application program.
According to the device for the traceless operation of the application program, the user operates the application program in the traceless operation mode, the mapping is carried out on the application program, the original data cannot be influenced, the use record of the current user cannot be left, and therefore the application program can be operated in the traceless operation mode.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (6)
1. An apparatus for seamless execution of an application, the apparatus comprising:
a monitoring module for monitoring the opening operation and the closing operation of the application program,
the judging module is used for judging whether the application program needs to be started by using a traceless operation mode and judging whether the application program operates in the traceless operation mode;
the processing module is used for starting the application program in the traceless operation mode when the judging module judges that the application program needs to be started by using the traceless operation mode; when the monitoring module monitors the closing operation of the application program and the judging module judges that the application program runs in the traceless running mode, closing the application program and exiting the traceless running mode;
the processing module is specifically configured to: acquiring an installation program of the application program, replacing the package name information of the installation program, and installing the application program by using the installation program with the replaced package name information; running the installed application program;
the recording module is used for recording the application program as running in the traceless running mode after the processing module starts the application program in the traceless running mode;
the recording module is further used for recording the packet name information before replacement and the packet name information after replacement;
wherein the processing module is specifically configured to:
closing and unloading the application program installed in the traceless operation mode, deleting the unloaded residual file, the packet name information before replacement and the packet name information after replacement, and exiting the traceless operation mode.
2. The apparatus of claim 1, wherein the determining module is further configured to:
judging whether the application program is in a running state or not; and when the application program is not in the running state, determining whether the application program needs to be started by using the traceless running mode.
3. The apparatus according to claim 2, wherein the determining module is specifically configured to:
determining whether the application program needs to be started by using the traceless operation mode according to selection information input by a user on a selection interface; the selection information comprises common starting and traceless operation mode starting; or,
and judging whether the application program is contained in a preset application program list started by using a traceless operation mode, and determining whether the application program needs to be started by using the traceless operation mode according to a judgment result.
4. A method for traceless execution of an application, the method comprising:
monitoring the opening operation of the application program, and judging when the application program needs to be started by using a traceless operation mode;
starting the application program in the traceless operation mode, and recording the application program as operating in the traceless operation mode;
the starting the application program in the traceless operating mode and recording the application program as operating in the traceless operating mode comprises:
acquiring an installation program of the application program, replacing the package name information of the installation program, and installing the application program by using the installation program with the replaced package name information;
running the installed application program, recording the package name information before replacement and the package name information after replacement, and recording that the application program runs in the traceless running mode;
when the closing operation of the application program is monitored and the application program is judged to run in the traceless running mode, closing the application program and exiting the traceless running mode;
wherein said closing said application and exiting said traceless mode of operation comprises:
closing and unloading the application program installed in the traceless operation mode, deleting the unloaded residual file, the packet name information before replacement and the packet name information after replacement, and exiting the traceless operation mode.
5. The method of claim 4, wherein after the monitoring of the opening operation of the application, the method further comprises:
judging whether the application program is in a running state or not;
and when the application program is not in the running state, determining whether the application program needs to be started by using the traceless running mode.
6. The method of claim 5, wherein determining whether the application program needs to be launched using the traceless mode of operation comprises:
determining whether the application program needs to be started by using the traceless operation mode according to selection information input by a user on a selection interface; the selection information comprises common starting and traceless operation mode starting; or,
and judging whether the application program is contained in a preset application program list started by using a traceless operation mode, and determining whether the application program needs to be started by using the traceless operation mode according to a judgment result.
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 CN106095464A (en) | 2016-11-09 |
CN106095464B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991321B (en) * | 2017-04-18 | 2020-11-03 | 北京元心科技有限公司 | Method and device for running application program in multi-container system without trace |
CN107066298B (en) * | 2017-04-18 | 2020-03-10 | 北京元心科技有限公司 | 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 |
CN111142973B (en) * | 2019-12-31 | 2022-05-31 | 联想(北京)有限公司 | 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)
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 |
-
2016
- 2016-06-23 CN CN201610460769.0A patent/CN106095464B/en active Active
Patent Citations (3)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106095464A (en) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106844029B (en) | Self-management Android process freezing and unfreezing device and method | |
CN107341013B (en) | Boot fault processing method and device and computer readable storage medium | |
CN105262819B (en) | A kind of mobile terminal and its method for realizing push | |
CN105260083A (en) | Mobile terminal and method for realizing split screens | |
CN106095464B (en) | A kind of method and device of the seamless operation of application program | |
CN106610770A (en) | Picture viewing method and device | |
CN106227867A (en) | A kind of method and device of file management | |
CN104980588A (en) | Method and apparatus for detecting state of mobile terminal | |
CN105353947A (en) | Mobile terminal and application display content controlling method | |
CN105426036A (en) | Interface display upgrade method, apparatus and system for application | |
CN105072279B (en) | A kind of back-up device based on mobile terminal and method | |
CN106485163A (en) | Control method and control device that mobile terminal data storehouse accesses | |
CN106371704B (en) | Application shortcut layout method of screen locking interface and terminal | |
CN105302899A (en) | Mobile terminal and picture processing method | |
CN105260096B (en) | A kind of method and mobile terminal controlling user's operation | |
CN105094598A (en) | Device and method for processing operational objects | |
CN106412877B (en) | Activation method and activation device for mobile terminal SIM card | |
CN106569670B (en) | Device and method for processing application | |
CN106385494B (en) | Method and device for acquiring dynamic home page of mobile terminal application | |
CN106228043B (en) | Application icon hidden method and terminal | |
CN105045508B (en) | The setting device and method of system model | |
CN106897010A (en) | Touch screen terminal and control method | |
CN106162606A (en) | A kind of method for switching network and mobile terminal | |
CN105094610B (en) | The apparatus and method for handling incidence relation | |
CN106506786A (en) | The terminal and method of protection user privacy information |
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 |