Specific embodiment
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
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of the login method of application program provided in an embodiment of the present invention, should
For mobile terminal, as shown in figure 1, comprising the following steps:
Step 101, when the mobile terminal start the first application program when, obtain from the logon process for operate in backstage
Take the user profile with first application matches.
In the embodiment of the present invention, the first application program is triggered when mobile terminal detects user, i.e., started in mobile terminal
During the first application program, the user profile with the first application matches can be obtained from the logon process for operate in backstage.
Wherein, the first application program can be any application program that can run on mobile terminal, for example:Can move first
The application program run in terminal;Or can also be failed application program of user profile etc..
Above-mentioned acquisition can be understood as with the user profile of the first application matches:When in the logon process of running background
When record has the user profile of application program that is having run and associating with logon process, the user profile of poll record, to obtain
Take the user profile with the first application matches;Or when in the logon process of running background record have it is having run and with step on
Record process context application program log-on message, and the log-on message include user profile when, in log-on message search with
The application program of the first application matches.
In addition, above-mentioned can be and answering that the presence of the first application program is associated with the user profile of the first application matches
The first application program can be logged in the user profile of the user profile of program, and the application program of the association.For example:First should
The application program associated with presence with program belongs to same account system;Or the application program of application program mandate first of association
Can be logged in using its user profile.
Step 102, using the user profile, log in first application program.
In the embodiment of the present invention, when the user profile with the first application matches is got in above-mentioned steps 101, after
The user profile of matching can be sent to the first application program by the logon process of platform operation, and the first application program uses the matching
User profile is logged in.
In the embodiment of the present invention, above-mentioned mobile terminal can be any mobile terminal for being capable of login application program, for example:
Mobile phone, panel computer (Tablet Personal Computer), kneetop computer (Laptop Computer), individual digital
Assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device,
) or Wearable device (Wearable Device) etc. MID.
So, in the embodiment of the present invention, when the first application program is started in mobile terminal, can be from operating in very too
The user profile with the first application matches is obtained in logon process, and journey is applied in the user profile login first using matching
Sequence.So, in User logs in application program, the user profile of application program is frequently entered without the need for user, by obtaining backstage
Logon process in user profile be capable of achieving to log in, simple operation, save time.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of the login method of another kind of application program provided in an embodiment of the present invention,
Mobile terminal is applied to, as shown in Fig. 2 comprising the following steps:
Step 201, when mobile terminal log in the second application program when, start logon process, and in logon process remember
Record the log-on message of the second application program.
Wherein, the second application program is to use the application program of same system of account with the first application program.
Step 202, when mobile terminal start the first application program when, from the logon process of running background obtain log in
Information, searches the user profile with the first application matches in log-on message.
In the embodiment of the present invention, the logon process of above-mentioned running background in running of mobile terminal application program, Ke Yiji
The log-on message of application program that is just running and associating with the logon process is recorded, and the log-on message includes being answered for logging in this
With the user profile of program.Above-mentioned steps 201 can be understood as:The first application program is triggered when mobile terminal detects user,
I.e. when mobile terminal starts the first application program, log-on message can be obtained from the logon process of running background, logged in
The user profile with the first application matches is searched in information.
In addition, optional, above-mentioned user profile is user's unique mark;Above-mentioned log-on message includes user's unique mark,
Also include at least one in herein below:User name, login time, login place, the bag name of the application program of login and institute
State the international mobile equipment identification number of mobile terminal.So, mobile terminal can log in first and apply by user's unique mark
Program.
Step 203, user profile is used, log in the first application program.
In the embodiment of the present invention, when the user profile with the first application matches is got in above-mentioned steps 201, after
The user profile of matching can be sent to the first application program by the logon process of platform operation, and the first application program uses the matching
User profile is logged in.
Step 204, the log-on message for recording in logon process the first application program.
So, mobile terminal start the first application program when, it is possible to use logon process record and apply journey with first
Sequence is logged in using the log-on message of the second application program of same system of account.
For example:When application program A and application program B belong to the application program of same manufacturer's exploitation, then application program A with should
It is same system of account with program B, if A application programs are associated with the logon process of running background and transported in the terminal
OK, log-on message when logon process meeting records application program A of running background is logged in.Journey is applied when mobile terminal starts first
During sequence B, the logon process of running background can obtain the log-on message of application program A, by the log-on message of application program A
User profile is stepped on as the user profile matched with application program A using the user profile in the log-on message of application program A
Record application program B.
Wherein, during the application program for associating with logon process in order to avoid mobile terminal long-time off-duty, logon process
The resource of mobile terminal is taken in running status, optionally, after the above-mentioned startup logon process, can also be included:
When the nearest login time of the application program associated with the logon process is more than preset duration with the interval of current time, move back
Go out the logon process, wherein, the nearest login time is last in the application program that the logon process is associated login
The login time of application program.
So, in the embodiment of the present invention, when the first application program is started in mobile terminal, can stepping on from running background
Log-on message is obtained in record process, the user profile with the first application matches is searched in log-on message, and using matching
User profile log in the first application program.So, in User logs in application program, without the need for user application program is frequently entered
User profile, be capable of achieving to log in by the user profile in the logon process for obtaining backstage, simple operation, save time.
Referring to Fig. 3, Fig. 3 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention, as shown in figure 3, institute
Mobile terminal 300 is stated including User profile acquisition module 301 and login module 302:
User profile acquisition module 301, for when the first application program is started in the mobile terminal, from after operating in
The user profile with first application matches is obtained in the logon process of platform;
Login module 302, for using the user profile, logging in first application program.
Optionally, the User profile acquisition module 301, specifically for obtaining log-on message from the logon process,
The user profile with first application matches is searched in the log-on message.
Optionally, as shown in figure 4, mobile terminal 300 can also include:
Logon process starting module 303, for when the second application program is logged in the mobile terminal, stepping on described in startup
Record process, and the log-on message of second application program is recorded in the logon process, second application program be with
First application program uses the application program of same system of account;
Log-on message logging modle 304, the login for recording first application program in the logon process is believed
Breath.
Optionally, as shown in figure 5, the mobile terminal 300 can also include:
Logon process exits module 305, for when the nearest login time of the application program associated with the logon process
When being more than preset duration with the interval of current time, the logon process is exited, wherein, the nearest login time is stepped on for described
The login time of the last application program for logging in the application program of record process context.
Optionally, user profile is user's unique mark;The log-on message includes user's unique mark, also including following
At least one in content:
User name, login time, the world movement for logging in place, the bag name of the application program of login and the mobile terminal
EIC equipment identification code.
The mobile terminal 300 of the embodiment of the present invention, when the first application program is started in mobile terminal 300, can be from fortune
Row obtains the user profile with the first application matches in the logon process on backstage, and the user profile using matching is logged in
First application program.So, in User logs in application program, the user profile of application program is frequently entered without the need for user, is led to
The user profile crossed in the logon process for obtaining backstage is capable of achieving to log in, and simple operation, saves time.
Referring to Fig. 6, Fig. 6 is the structural representation of another kind of mobile terminal provided in an embodiment of the present invention, as shown in fig. 6,
Mobile terminal 600 includes:At least one processor 601, memory 602, at least one network interface 604 and user interface 603.
Each component in mobile terminal 600 is coupled by bus system 605.It is understood that bus system 605 is used to realize this
Connection communication between a little components.Bus system 605 except including in addition to data/address bus, also including power bus, controlling bus and
Status signal bus in addition.But for the sake of for clear explanation, in figure 6 various buses are all designated as into bus system 605.
Wherein, user interface 603 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside height
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synch Link DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 602 of system and method described herein be intended to including but not limited to these and arbitrarily its
It is adapted to the memory of type.
In some embodiments, memory 602 stores following element, can perform module or data structure, or
Person their subset, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and process hardware based task.Application program 6022, comprising various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by call memory 602 store program or instruction, specifically, can be application
The program stored in program 6022 or instruction, processor 601 is used for:When the first application program is started in the mobile terminal,
The user profile with first application matches is obtained from the logon process for operate in backstage;Believed using the user
Breath, logs in first application program.
The method that the embodiments of the present invention are disclosed can apply in processor 601, or be realized by processor 601.
A kind of possibly IC chip of processor 601, the disposal ability with signal.During realization, said method it is each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 601 or software form.Above-mentioned process
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform and complete, or with the hardware in decoding processor
And software module combination execution is completed.Software module may be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 602, processor 601 reads the parameter in memory 602, the step of complete said method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.For hardware is realized, processing unit can be realized in one or more special ICs (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software is realized, can be realized herein by performing the module (such as process, function etc.) of function described herein
Described technology.Software code is storable in memory and by computing device.Memory can within a processor or
Realize processor outside.
Optionally, processor 601 performs described acquisition from the logon process for operate in backstage and applies journey with described first
The user profile of sequence matching, including:
Log-on message is obtained from the logon process, is searched in the log-on message and first application program
The user profile matched somebody with somebody.
Optionally, processor 601 performs described acquisition from the logon process for operate in backstage and applies journey with described first
Before the user profile of sequence matching, also include:
When the second application program is logged in the mobile terminal, start the logon process, and in the logon process
The middle log-on message for recording second application program, second application program be with first application program use it is same
The application program of system of account;
It is described using the user profile, after logging in first application program, also include:
The log-on message of first application program is recorded in the logon process.
Optionally, processor 601 is performed after the startup logon process, is also included:
When the nearest login time of the application program associated with the logon process with the interval of current time more than default
During duration, exit the logon process, wherein, the nearest login time be logon process association application program in most
The login time of the application program for logging in afterwards.
Mobile terminal 600 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 600 of the embodiment of the present invention, when the first application program is started in mobile terminal 600, can be from fortune
Row obtains the user profile with the first application matches in the logon process on backstage, and the user profile using matching is logged in
First application program.So, in User logs in application program, the user profile of application program is frequently entered without the need for user, is led to
The user profile crossed in the logon process for obtaining backstage is capable of achieving to log in, and simple operation, saves time.
Those of ordinary skill in the art are it is to be appreciated that the list of each example with reference to the embodiments described herein description
Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Each specific application can be used different methods to realize described function, but this realization it is not considered that exceeding
The scope of the present invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can pass through other
Mode is realized.For example, device embodiment described above is only schematic, and for example, the division of the unit is only
A kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can with reference to or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize embodiment of the present invention scheme
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized and as independent production marketing or when using using in the form of SFU software functional unit, can be with
In being stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And aforesaid storage medium includes:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.