CN106020909A - Application process control device and method - Google Patents
Application process control device and method Download PDFInfo
- Publication number
- CN106020909A CN106020909A CN201610382559.4A CN201610382559A CN106020909A CN 106020909 A CN106020909 A CN 106020909A CN 201610382559 A CN201610382559 A CN 201610382559A CN 106020909 A CN106020909 A CN 106020909A
- Authority
- CN
- China
- Prior art keywords
- application
- call
- user
- space
- open command
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/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
- 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses an application process control device. The device comprises a determination module and a starting module, wherein the determination module is used for determining the number of multiple processes to be started when multi-process opening instructions based on an application program are received; the starting module is used for creating user spaces with the same number as the multiple processes, each user space starts a process of the application program, and all the processes are of the same type. The invention further discloses an application process control method. When the application program is started, the multiple user spaces can be created, each user space starts one process, all the processes are of the same type, and then terminals can achieve the same function through the multiple processes at the same moment.
Description
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to control device and the side of a kind of application process
Method.
Background technology
At present, the mobile terminal such as mobile phone, flat board has become the equipment carried with that people are indispensable.
Various application would generally be installed, to realize several functions on mobile terminal.Such as, mobile terminal is installed
After talk application, people can call based on mobile terminal;After camera applications being installed on mobile terminal,
People can take pictures based on mobile terminal.In prior art, after mobile terminal starts application, this application
Each type of process can only start one at synchronization.Such as, after starting talk application, same
Moment can only open a call process;After starting camera applications, synchronization can only be opened one and take the photograph
As head, i.e. synchronization can only start a process of taking pictures.
Summary of the invention
Present invention is primarily targeted at the control device and method that a kind of application process is provided, it is intended to solve
The technology that in the application started on mobile terminal, each type of process can only start one at synchronization is asked
Topic.
The control device of the application process that the present invention provides includes:
Determine module, for when receiving multi-process open command based on application program, determine and wait to open
The number of dynamic multi-process;
Start module, for creating the user's space of the number equal number with described multi-process and each
Described user's space is respectively started the process of a described application program, the type phase of each described process
With.
Optionally, described determine module to be additionally operable to receiving group based on talk application to converse open command
Time, obtain number and the telephone number of each described targeted customer of the targeted customer of group's call, and by institute
The number stating targeted customer is defined as the number of multi-process;
Described startup module is additionally operable to be respectively started a call process in each described user's space, often
Process correspondence of conversing described in one dials the telephone number of targeted customer described in.
Optionally, the control device of described application process also includes:
Display module, for group's call interface of display with each described call process context;
Control module, for when receiving control instruction based on described group's call interface, according to described
Control instruction controls each described call process.
Optionally, described determine module be additionally operable to receive based on first preset application startup request time,
Trigger the multi-process open command of the described first the second default application presetting association, and receiving
When presetting, based on second, the multi-process open command applied, preset, by described second, the present count that application is corresponding
Value is defined as the number of multi-process;
Described startup module is additionally operable to be respectively started one described second in each described user's space and presets
The process of application;
Described startup module be additionally operable to obtain respectively in each process described second preset that application receives test
Card information, verifies described checking information, and starts the described first default application when being verified.
Optionally, the described second default application is camera applications, and described startup module is additionally operable in each institute
State and user's space is respectively started a photographic head;And each the described photographic head being based respectively on startup obtains
Take view data, and view data each described is identified and verifies, in picture number each described
According to when being all proved to be successful, start described first and preset application.
Additionally, the control method of the application process that the present invention further provides includes:
When receiving multi-process open command based on application program, determine the individual of multi-process to be launched
Number;
The user's space of the number equal number of establishment and described multi-process, and in each described user's space
Being respectively started the process of a described application program, the type of each described process is identical.
Optionally, described when receiving multi-process open command based on application program, determine to be launched
The step of number of multi-process include: receive group based on talk application converse open command time,
Obtain number and the telephone number of each described targeted customer of the targeted customer of group's call, and by described mesh
The number of mark user is defined as the number of multi-process;
Described each described user's space is respectively started the step bag of the process of a described application program
Including: be respectively started a call process in each described user's space, each described call process correspondence is dialled
Make a call to the telephone number of targeted customer described in.
Optionally, the user's space of the number equal number of described establishment and described multi-process, and each institute
After stating the step of the process being respectively started a described application program in user's space, also include:
Display and group's call interface of each described call process context;
When receiving control instruction based on described group's call interface, control each according to described control instruction
Individual described call process.
Optionally, described when receiving multi-process open command based on application program, determine to be launched
Multi-process number before, also include:
When receiving the startup request presetting application based on first, trigger described first and preset association
Second preset application multi-process open command;
Described when receiving multi-process open command based on application program, determine multi-process to be launched
The step of number include: receive based on second preset application multi-process open command time, by institute
State the second default value presetting application correspondence and be defined as the number of multi-process;
Described each described user's space is respectively started the step bag of the process of a described application program
Include: each described user's space is respectively started one described second process presetting application;
Described each described user's space is respectively started a described application program process step it
After, also include: obtain described second in each process respectively and preset the checking information that application receives, test
Demonstrate,prove described checking information, and start the described first default application when being verified.
Optionally, the described second default application is camera applications, in described each described user's space respectively
The step starting one described second process presetting application includes: open respectively in each described user's space
A dynamic photographic head;
Obtain described second in each process respectively and preset the checking information that application receives, test described in checking
Card information, and start when being verified described first preset application step include: be based respectively on startup
Each described photographic head obtain view data, and view data each described is identified and verifies,
When view data is all proved to be successful each described, starts described first and preset application.
The control device and method of the application process that the present invention provides, by receiving based on application program
Multi-process open command time, determine the number of multi-process to be launched, and create and described multi-process
The user's space of number equal number, and each described user's space are respectively started a described application journey
The process of sequence, the type of each described process is identical, thus when starting application program, can be by wound
Building multiple user's space, each user's space starts a process, and the type of each process is identical, enters
And make terminal can realize same function at synchronization by multiple processes.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the optional terminal that each embodiment of the present invention relates to;
Fig. 2 is the high-level schematic functional block diagram controlling device first embodiment of application process of the present invention;
Fig. 3 is the high-level schematic functional block diagram controlling device the 3rd embodiment of application process of the present invention;
Fig. 4 is that group of the present invention converses the Organization Chart of an embodiment;
Fig. 5 is the schematic flow sheet of the control method first embodiment of application process of the present invention;
Fig. 6 is the schematic flow sheet of control method second embodiment of application process of the present invention;
Fig. 7 is the schematic flow sheet of control method the 3rd embodiment of application process of the present invention;
Fig. 8 is the schematic flow sheet of control method the 4th embodiment of application process of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further
Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
The system architecture realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description
In, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for having
It is beneficial to the explanation of the present invention, itself does not has specific meaning.Therefore, " module " and " parts " can
Mixedly to use.
Specifically, terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention is permissible
Movement including such as mobile phone, smart phone, notebook computer, PAD (panel computer) etc.
The fixed terminal of terminal and such as numeral TV, desk computer etc..Each embodiment is with terminal below
For illustrating as a example by mobile phone.The control device of the application process in each embodiment of the present invention is based on
State terminal to realize.
As a kind of implementation, the hardware configuration of above-mentioned terminal can be as shown in Figure 1.
With reference to Fig. 1, this terminal can include camera unit 110, user input unit 120, memorizer 130,
Processor 140 and communication bus 150 etc..Fig. 1 shows the terminal with various assembly, but should
It is understood by, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of group
Part.Each assembly of terminal described in detail below.
Camera unit 110 can be the photographic head that this terminal carries, and can take pictures.
User input unit 120 can receive the multi-process open command etc. of user's input.
Memorizer 130 can be high-speed RAM memorizer, it is also possible to be stable memorizer (non-volatile
Memory), such as disk memory.Memorizer 130 optionally can also is that independent of aforementioned processor
The storage device of 140.As the memorizer 130 of a kind of computer-readable storage medium can store application process
Control program etc..
Processor 140 can call the control program of the application process of storage in memorizer 130, and performs
Below operation:
When receiving multi-process open command based on application program, determine the individual of multi-process to be launched
Number;
The user's space of the number equal number of establishment and described multi-process, and in each described user's space
Being respectively started the process of a described application program, the type of each described process is identical.
Processor 140 may call upon the control program of the application process of storage in memorizer 130, and holds
The following operation of row:
Receive group of based on talk application converse open command time, obtain the targeted customer of group's call
Number and the telephone number of each described targeted customer, and be defined as entering by the number of described targeted customer more
The number of journey;
Being respectively started a call process in each described user's space, each described call process correspondence is dialled
Make a call to the telephone number of targeted customer described in..
Processor 140 may call upon the control program of the application process of storage in memorizer 130, and holds
The following operation of row:
After group's talkthrough, when receiving the voice signal of local terminal, by described voice signal by each
Individual described call process is respectively sent to the terminal that each described targeted customer is corresponding.
Processor 140 may call upon the control program of the application process of storage in memorizer 130, and holds
The following operation of row:
When receiving the startup request presetting application based on first, trigger described first and preset association
Second preset application multi-process open command;
When receiving multi-process open command based on the second default application, preset application by described second
Corresponding default value is defined as the number of multi-process;
Each described user's space is respectively started one described second process presetting application;
Obtain described second in each process respectively and preset the checking information that application receives, test described in checking
Card information, and the described first default application is started when being verified.
Processor 140 may call upon the control program of the application process of storage in memorizer 130, and holds
The following operation of row:
Each described user's space is respectively started a photographic head;
Each the described photographic head being based respectively on startup obtains view data, and to view data each described
It is identified and verifies, when view data is all proved to be successful each described, starting described first and preset
Application.
Each embodiment controlling device of application process of the present invention is proposed based on above-mentioned hardware structure.
With reference to the functional module signal controlling device first embodiment that Fig. 2, Fig. 2 are application process of the present invention
Figure.It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 2 is only
The exemplary plot of one preferred embodiment, those skilled in the art is around the control of the application process shown in Fig. 2
The functional module of device processed, can carry out supplementing of new functional module easily;The title of each functional module is
Self-defined title, is only used for assisting each program function block controlling device understanding this application process, no
For limiting technical scheme, the core of technical solution of the present invention is, the merit of each self-defined title
The function that energy module is to be reached.
The present embodiment proposes the control device of a kind of application process, and the control device of this application process can set
Being placed in above-mentioned terminal, the present embodiment and following example illustrate as a example by terminal is as mobile phone.Described
The control device of application process includes:
Determine module 210, for when receiving multi-process open command based on application program, determine and treat
The number of the multi-process started;
In the present embodiment, multi-process can be set on Application Program Interface and open control, should triggering
When control is opened in multi-process, i.e. can be considered and have received multi-process open command, the number of multi-process is permissible
For default, it is also possible to for user's input.Or, it is also possible to when starting first and presetting application, i.e.
Can be considered that the multi-process that have received with the described first the second default application presetting association is opened to refer to
Order, the number of the described second multi-process presetting application can be preset, it is also possible to for user's input.
Or, multi-process open command can also be for the command signal from exterior terminal received.
Start module 220, for creating the user's space of the number equal number with described multi-process, and often
User's space described in one is respectively started the process of a described application program, the type of each described process
Identical.
In the present embodiment, user's space is the virtual address/memory headroom of operation process.Each user
In space, the corresponding process starting an application program, distributes a mark to each user's space, with mark
Know this user's space.The process type run in each user's space is identical, i.e. in each user's space
The function performed is identical.Such as, if multi-process open command is group based on talk application, unlatching of conversing refers to
Order, then each process is call process, performs call function;If multi-process open command be based on
The shooting instruction of camera applications, then each process is shooting process, performs shoot function.
The control device of application process that the present invention provides, by receiving based on application program to enter more
During journey open command, determine the number of multi-process to be launched, and create the number phase with described multi-process
With the user's space of quantity, and each described user's space is respectively started entering of a described application program
Journey, the type of each described process is identical, thus when starting application program, can be multiple by creating
User's space, each user's space starts a process, and the type of each process is identical, and then makes
Terminal can realize same function at synchronization by multiple processes.
Further, the first embodiment controlling device based on application process of the present invention, the present invention also carries
Go out second embodiment controlling device of application process, unlike first embodiment, real second
Execute in example, described determine module 210 to be additionally operable to receiving group based on talk application to converse open command
Time, obtain number and the telephone number of each described targeted customer of the targeted customer of group's call, and by institute
The number stating targeted customer is defined as the number of multi-process;
Described startup module 220 is additionally operable to be respectively started a call process in each described user's space,
Each described call process correspondence dials the telephone number of targeted customer described in.
In the present embodiment, application program is talk application.Multi-process open command is that group's unlatching of conversing refers to
Order.
Can receive group converse open command time, show an input frame, user can be based on this input
The number of the targeted customer of frame input group's call, and the telephone number of input targeted customer;Or also may be used
To show a selectionbar, user selects number and the input of targeted customer based on this selectionbar or selects mesh
The telephone number of mark user.Or, group converse open command can also carry the number of targeted customer with
And the telephone number of each targeted customer.
When terminal gets the number of multi-process, a service routine can be started on backstage, at these clothes
Business program is separately turned on and the user's space of multi-process number equal number, and empty each user respectively
A call process is started between.Each call process correspondence dials the telephone number of a targeted customer.
When needing to set up call connection between terminal A, terminal B and terminal C, it is assumed that terminal A is group
Call originating end.For terminal A, can be led to by user's talk application based on terminal A interface input group
Words open command, and input targeted customer (terminal B and terminal C) and the targeted customer of group's call
Telephone number (telephone number that terminal B is corresponding with terminal C).Two call processes are opened in terminal A,
And wherein a call process dials the phone of terminal B, another call process dials the phone of terminal C.With
This simultaneously, terminal A sends multi-process open command to terminal B also simultaneously, and opens in this multi-process and refer to
Order carries the telephone number of terminal C;Or, terminal sends multi-process to terminal C also simultaneously and opens
Instruct, and this multi-process open command carries the telephone number of terminal B.Terminal B is receiving more
During journey open command, directly can obtain number and terminal C of call process according to multi-process open command
Telephone number, terminal B can start two call processes, and a call process connects the electricity of terminal A
Words, another call process initiates the call to terminal C.For terminal C, open receiving multi-process
When opening instruction, two call processes can be opened, be respectively turned on the phone of terminal A and terminal B.Thus
Complete group call function.
Optionally, after group's talkthrough, when receiving the voice signal of local terminal, described voice is believed
Number it is respectively sent to, by call process each described, the terminal that each described targeted customer is corresponding.Such as,
For terminal A, when terminal A receives the voice signal of user, then the voice signal of reception is passed through
Each described call process is respectively sent to terminal B and terminal C.
The present embodiment leads to by being respectively started one in establishment multiple user's spaces, and each user's space
Words process, it is achieved thereby that group's call function based on talk application, and ensure that the quality that group converses.
Further, the second embodiment controlling device based on application process of the present invention, the present invention also carries
Go out the 3rd embodiment controlling device of application process, be application process of the present invention with reference to Fig. 3, Fig. 3
Control the high-level schematic functional block diagram of device the 3rd embodiment, unlike the second embodiment, real the 3rd
Executing in example, the control device of described application process also includes:
Display module 230, for group's call interface of display with each described call process context;
Control module 240, for when receiving control instruction based on described group's call interface, according to institute
State control instruction and control each described call process.
In the present embodiment, each described call process shares group's call interface.As shown in Figure 4,
Fig. 4 is that group of the present invention converses the Organization Chart of an embodiment.Whenever having signal input or output, all pass through
The signal receiving or sending is delivered to HAL layer laggard by TelephonyManager (Telephone Management Agency layer)
Step is sent to hardware layer.Each TelephonyManager shares a UI interface.In this group of call interfaces
Hands-free control can be shown, hang up control etc., control all call processes by this group of call interfaces.Example
As, during hands-free control in flip flop group call interface, then the sound received by each call process
The most hands-free broadcasting of signal;In flip flop group call interface when hanging up control, then close all call processes.
The present embodiment is by sharing group's call interface by each call process, thus has only to by one
Individual interface can control all of call and carry out, and easily facilitates the operation of user.
Further, the first embodiment controlling device based on application process of the present invention, the present invention also carries
Go out the 4th embodiment controlling device of application process, unlike first embodiment, real the 4th
Execute in example, described determine module 210 be additionally operable to receive based on first preset application startup request time,
Trigger the multi-process open command of the described first the second default application presetting association, and receiving
When presetting, based on second, the multi-process open command applied, preset, by described second, the present count that application is corresponding
Value is defined as the number of multi-process;
Described startup module 220 is additionally operable to be respectively started in each described user's space one described second
Preset the process of application;
Described startup module 220 is additionally operable to obtain described second in each process respectively and presets application reception
Checking information, verify described checking information, and start described first when being verified and preset application.
In the present embodiment, it can be system default setting that application is preset in the first default application and second,
Can also be by user setup.Optionally, first preset application to could be arranged to security requirement higher
Application, such as, first to preset application can be Alipay, bank APP etc..Second default application is permissible
For camera applications.Second default value presetting application corresponding can be arranged by system default, it is also possible to by
User setup.
Checking information can be password, view data etc..
The present embodiment is preset with second as a example by applying as camera and is illustrated.Described startup module 220 is also used
In being respectively started a photographic head in each described user's space;And it is based respectively on each institute of startup
State photographic head and obtain view data, and view data each described is identified and verifies, at each
When described view data is all proved to be successful, starts described first and preset application.First presets application is assumed to be
Alipay.Such as, a pair man and wife shares an Alipay account, and if log in this Alipay account,
Need the password that two people's function inputs are corresponding, therefore, it can arrange many people lock in Alipay application.That is,
First presets application is set to Alipay application.When starting Alipay, system judges that Alipay application sets
Put many people lock, have received multi-process open command based on camera applications, send an intent to phase
Machine manager, informs that it starts camera applications.In the present embodiment, second corresponding the presetting of application is preset
Numerical value is two.Therefore, the number of multi-process is two.Multi-camera manager is informed by binder
Framework layer, starts two photographic head simultaneously, and framework is by incoming for this order driving layer.Drive
Layer first judges the version of current system, if Android5.1 version then judges camera in current system
Bag name has several process, if only one of which, starts a photographic head, and walks normal flow process;If
It is two and starts front camera and rear camera the most simultaneously;If current version is more than Android5.1, then start it
In while a photographic head, system opens another user's space, and starts camera at this user's space.
After system opens former and later two photographic head, front camera and rear camera gathers view data respectively.Now, two
User can be respectively toward to photographic head, for camera collection view data.After collecting view data,
The view data gathered is carried out image recognition, extracts feature therein, the image spy that will extract respectively
The characteristics of image levied and prestore contrasts, and then thinks that when contrasting successfully this image data verification is successful.
If two view data are all proved to be successful, start Alipay application, if unsuccessful, inform that user is close
Code is incorrect please be re-entered.
The present embodiment, when needs start the first default application, is preset application by second and is obtained checking information,
And checking information is verified, when being verified, then control first and preset application startup, thus complete
Paired first unblock presetting application, is effectively improved safety when starting application.
The present invention further provides the control method of a kind of application process, the control method of this application process can
To realize based on above-mentioned terminal, the present embodiment and following example illustrate as a example by terminal is as mobile phone.
With reference to the schematic flow sheet of the control method first embodiment that Fig. 5, Fig. 5 are application process of the present invention, should
The first embodiment pair controlling device by the first embodiment of the control method of process with above-mentioned application process
Should, the control method of described application process includes:
Step S10, when receiving multi-process open command based on application program, determines to be launched many
The number of process;
In the present embodiment, multi-process can be set on Application Program Interface and open control, should triggering
When control is opened in multi-process, i.e. can be considered and have received multi-process open command, the number of multi-process is permissible
For default, it is also possible to for user's input.Or, it is also possible to when starting first and presetting application, i.e.
Can be considered that the multi-process that have received with the described first the second default application presetting association is opened to refer to
Order, the number of the described second multi-process presetting application can be preset, it is also possible to for user's input.
Or, multi-process open command can also be for the command signal from exterior terminal received.
Step S20, the user's space of the number equal number of establishment and described multi-process, and each described use
Being respectively started the process of a described application program in space, family, the type of each described process is identical.
In the present embodiment, user's space is the virtual address/memory headroom of operation process.Each user
In space, the corresponding process starting an application program, distributes a mark to each user's space, with mark
Know this user's space.The process type run in each user's space is identical, i.e. in each user's space
The function performed is identical.Such as, if multi-process open command is group based on talk application, unlatching of conversing refers to
Order, then each process is call process, performs call function;If multi-process open command be based on
The shooting instruction of camera applications, then each process is shooting process, performs shoot function.
The control method of application process that the present invention provides, by receiving based on application program to enter more
During journey open command, determine the number of multi-process to be launched, and create the number phase with described multi-process
With the user's space of quantity, and each described user's space is respectively started entering of a described application program
Journey, the type of each described process is identical, thus when starting application program, can be multiple by creating
User's space, each user's space starts a process, and the type of each process is identical, and then makes
Terminal can realize same function at synchronization by multiple processes.
Further, the first embodiment of control method based on application process of the present invention, the present invention also carries
Go out the of the control method controlling application process corresponding to device the second embodiment with above-mentioned application process
Two embodiments, the flow process with reference to control method the second embodiment that Fig. 6, Fig. 6 are application process of the present invention is shown
Being intended to, unlike first embodiment, in a second embodiment, described step S10 includes, step
S11, receive group of based on talk application converse open command time, obtain the targeted customer of group's call
Number and the telephone number of each described targeted customer, and be defined as entering by the number of described targeted customer more
The number of journey;
Step S20 includes, step S21: the user's space of the number equal number of establishment and described multi-process,
And in each described user's space, it being respectively started a call process, each described call process correspondence is dialled
Make a call to the telephone number of targeted customer described in.
In the present embodiment, application program is talk application.Multi-process open command is that group's unlatching of conversing refers to
Order.
Can receive group converse open command time, show an input frame, user can be based on this input
The number of the targeted customer of frame input group's call, and the telephone number of input targeted customer;Or also may be used
To show a selectionbar, user selects number and the input of targeted customer based on this selectionbar or selects mesh
The telephone number of mark user.Or, group converse open command can also carry the number of targeted customer with
And the telephone number of each targeted customer.
When terminal gets the number of multi-process, a service routine can be started on backstage, at these clothes
Business program is separately turned on and the user's space of multi-process number equal number, and empty each user respectively
A call process is started between.Each call process correspondence dials the telephone number of a targeted customer.
When needing to set up call connection between terminal A, terminal B and terminal C, it is assumed that terminal A is group
Call originating end.For terminal A, can be led to by user's talk application based on terminal A interface input group
Words open command, and input targeted customer (terminal B and terminal C) and the targeted customer of group's call
Telephone number (telephone number that terminal B is corresponding with terminal C).Two call processes are opened in terminal A,
And wherein a call process dials the phone of terminal B, another call process dials the phone of terminal C.With
This simultaneously, terminal A sends multi-process open command to terminal B also simultaneously, and opens in this multi-process and refer to
Order carries the telephone number of terminal C;Or, terminal sends multi-process to terminal C also simultaneously and opens
Instruct, and this multi-process open command carries the telephone number of terminal B.Terminal B is receiving more
During journey open command, directly can obtain number and terminal C of call process according to multi-process open command
Telephone number, terminal B can start two call processes, and a call process connects the electricity of terminal A
Words, another call process initiates the call to terminal C.For terminal C, open receiving multi-process
When opening instruction, two call processes can be opened, be respectively turned on the phone of terminal A and terminal B.Thus
Complete group call function.
Optionally, after group's talkthrough, when receiving the voice signal of local terminal, described voice is believed
Number it is respectively sent to, by call process each described, the terminal that each described targeted customer is corresponding.Such as,
For terminal A, when terminal A receives the voice signal of user, then the voice signal of reception is passed through
Each described call process is respectively sent to terminal B and terminal C.
The present embodiment leads to by being respectively started one in establishment multiple user's spaces, and each user's space
Words process, it is achieved thereby that group's call function based on talk application, and ensure that the quality that group converses.
Further, the second embodiment of control method based on application process of the present invention, the present invention also carries
Go out the of the control method controlling application process corresponding to device the 3rd embodiment with above-mentioned application process
Three embodiments, the flow process with reference to control method the 3rd embodiment that Fig. 7, Fig. 7 are application process of the present invention is shown
It is intended to, unlike the second embodiment, in the third embodiment, after step S21, also includes:
Step S30, display and group's call interface of each described call process context;
Step S40, when receiving control instruction based on described group's call interface, refers to according to described control
Order controls each described call process.
In the present embodiment, each described call process shares group's call interface.As shown in Figure 4,
Fig. 4 is that group of the present invention converses the Organization Chart of an embodiment.Whenever having signal input or output, all pass through
The signal receiving or sending is delivered to HAL layer laggard by TelephonyManager (Telephone Management Agency layer)
Step is sent to hardware layer.Each TelephonyManager shares a UI interface.In this group of call interfaces
Hands-free control can be shown, hang up control etc., control all call processes by this group of call interfaces.Example
As, during hands-free control in flip flop group call interface, then the sound received by each call process
The most hands-free broadcasting of signal;In flip flop group call interface when hanging up control, then close all call processes.
The present embodiment is by sharing group's call interface by each call process, thus has only to by one
Individual interface can control all of call and carry out, and easily facilitates the operation of user.
Further, the first embodiment of control method based on application process of the present invention, the present invention also carries
Go out the of the control method controlling application process corresponding to device the 4th embodiment with above-mentioned application process
Four embodiments, the flow process with reference to control method the 4th embodiment that Fig. 8, Fig. 8 are application process of the present invention is shown
It is intended to, unlike first embodiment, in the fourth embodiment,
Before step S10, also include step S50, receiving based on the first startup request presetting application
Time, trigger the multi-process open command of the described first the second default application presetting association;
Step S10 includes, step S12: receiving based on the second multi-process open command presetting application
Time, preset default value corresponding to application by described second and be defined as the number of multi-process;
Step S20 includes, step S22, the user's space of the number equal number of establishment and described multi-process,
Each described user's space is respectively started one described second process presetting application;
After step S20, also include step S60, obtain respectively described second in each process preset should
By the checking information received, verify described checking information, and start described first when being verified default
Application.
In the present embodiment, it can be system default setting that application is preset in the first default application and second,
Can also be by user setup.Optionally, first preset application to could be arranged to security requirement higher
Application, such as, first to preset application can be Alipay, bank APP etc..Second default application is permissible
For camera applications.Second default value presetting application corresponding can be arranged by system default, it is also possible to by
User setup.
Checking information can be password, view data etc..
The present embodiment is preset with second as a example by applying as camera and is illustrated.Described second presets application for phase
Machine is applied, and is respectively started one described second process presetting application in described each described user's space
Step includes: be respectively started a photographic head in each described user's space;Step S60 includes: respectively
Obtain view data based on each the described photographic head started, and view data each described is identified
And checking, when view data is all proved to be successful each described, starts described first and preset application.The
One presets application is assumed to be Alipay.Such as, a pair man and wife shares an Alipay account, and if stepping on
Record this Alipay account, need the password that two people's function inputs are corresponding, therefore, it can apply at Alipay
On arrange many people lock.That is, first presets application is set to Alipay application.When starting Alipay, it is
System judges that Alipay application is provided with many people lock, have received multi-process open command based on camera applications,
Send an intent to multi-camera manager, inform that it starts camera applications.In the present embodiment, second is pre-
If the default value of application correspondence is two.Therefore, the number of multi-process is two.Multi-camera manager leads to
Crossing binder and inform framework layer, start two photographic head simultaneously, framework is by incoming for this order
Drive layer.Layer is driven first to judge the version of current system, if Android5.1 version then judges currently
In system, camera bag name has several process, if only one of which, starts a photographic head, and walks normal
Flow process;If two start front camera and rear camera the most simultaneously;If current version be Android5.1 with
On, then while starting one of them photographic head, system opens another user's space, and this user
Space starts camera.After system opens former and later two photographic head, front camera and rear camera gathers picture number respectively
According to.Now, two users can be respectively toward to photographic head, for camera collection view data.Adopting
Collect after view data, the view data gathered is carried out image recognition, extracts feature therein, respectively
The characteristics of image extracted is contrasted with the characteristics of image prestored, then thinks this figure when contrasting successfully
As data verification success.If two view data are all proved to be successful, start Alipay application, if not
Successful then inform that user cipher is incorrect and please re-enter.
The present embodiment, when needs start the first default application, is preset application by second and is obtained checking information,
And checking information is verified, when being verified, then control first and preset application startup, thus complete
Paired first unblock presetting application, is effectively improved safety when starting application.
It should be noted that in this article, term " include ", " comprising " or its any other variant
Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or
Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also
Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction
Under condition, statement " including ... " key element limited, it is not excluded that include this key element process,
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-mentioned
Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical
Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's
The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product
Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light
Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service
Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. the control device of an application process, it is characterised in that the control device bag of described application process
Include:
Determine module, for when receiving multi-process open command based on application program, determine and wait to open
The number of dynamic multi-process;
Start module, for creating the user's space of the number equal number with described multi-process and each
Described user's space is respectively started the process of a described application program, the type phase of each described process
With.
2. the control device of application process as claimed in claim 1, it is characterised in that described determine mould
Block be additionally operable to receive group based on talk application converse open command time, obtain group call target use
The number at family and the telephone number of each described targeted customer, and the number of described targeted customer is defined as
The number of multi-process;
Described startup module is additionally operable to be respectively started a call process in each described user's space, often
Process correspondence of conversing described in one dials the telephone number of targeted customer described in.
3. the control device of application process as claimed in claim 2, it is characterised in that described application is entered
The control device of journey also includes:
Display module, for group's call interface of display with each described call process context;
Control module, for when receiving control instruction based on described group's call interface, according to described
Control instruction controls each described call process.
4. the control device of application process as claimed in claim 1, it is characterised in that described determine mould
Block is additionally operable to, when receiving the startup request presetting application based on first, trigger described first and preset application
The second of association presets the multi-process open command of application, and many receiving based on the second default application
During process open command, preset default value corresponding to application by described second and be defined as the number of multi-process;
Described startup module is additionally operable to be respectively started one described second in each described user's space and presets
The process of application;
Described startup module be additionally operable to obtain respectively in each process described second preset that application receives test
Card information, verifies described checking information, and starts the described first default application when being verified.
5. the control device of application process as claimed in claim 4, it is characterised in that described second pre-
If application is camera applications, described startup module is additionally operable to be respectively started one in each described user's space
Individual photographic head;And each the described photographic head being based respectively on startup obtains view data, and to each institute
State view data be identified and verify, when view data is all proved to be successful each described, start institute
State first and preset application.
6. the control method of an application process, it is characterised in that the control method bag of described application process
Include:
When receiving multi-process open command based on application program, determine the individual of multi-process to be launched
Number;
The user's space of the number equal number of establishment and described multi-process, and in each described user's space
Being respectively started the process of a described application program, the type of each described process is identical.
7. the control method of application process as claimed in claim 6, it is characterised in that described in reception
During to multi-process open command based on application program, determine the step bag of the number of multi-process to be launched
Include: receive group of based on talk application converse open command time, obtain the targeted customer of group's call
Number and the telephone number of each described targeted customer, and be defined as entering by the number of described targeted customer more
The number of journey;
Described each described user's space is respectively started the step bag of the process of a described application program
Including: be respectively started a call process in each described user's space, each described call process correspondence is dialled
Make a call to the telephone number of targeted customer described in.
8. the control method of application process as claimed in claim 7, it is characterised in that described establishment with
The user's space of the number equal number of described multi-process, and each described user's space are respectively started one
After the step of the process of individual described application program, also include:
Display and group's call interface of each described call process context;
When receiving control instruction based on described group's call interface, control each according to described control instruction
Individual described call process.
9. the control method of application process as claimed in claim 6, it is characterised in that described in reception
During to multi-process open command based on application program, before determining the number of multi-process to be launched, also
Including:
When receiving the startup request presetting application based on first, trigger described first and preset association
Second preset application multi-process open command;
Described when receiving multi-process open command based on application program, determine multi-process to be launched
The step of number include: receive based on second preset application multi-process open command time, by institute
State the second default value presetting application correspondence and be defined as the number of multi-process;
Described each described user's space is respectively started the step bag of the process of a described application program
Include: each described user's space is respectively started one described second process presetting application;
Described each described user's space is respectively started a described application program process step it
After, also include: obtain described second in each process respectively and preset the checking information that application receives, test
Demonstrate,prove described checking information, and start the described first default application when being verified.
10. the control method of application process as claimed in claim 9, it is characterised in that described second
Presetting application is camera applications, is respectively started one described second and presets in described each described user's space
The step of the process of application includes: be respectively started a photographic head in each described user's space;
Obtain described second in each process respectively and preset the checking information that application receives, test described in checking
Card information, and start when being verified described first preset application step include: be based respectively on startup
Each described photographic head obtain view data, and view data each described is identified and verifies,
When view data is all proved to be successful each described, starts described first and preset application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610382559.4A CN106020909B (en) | 2016-06-01 | 2016-06-01 | The control device and method of application process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610382559.4A CN106020909B (en) | 2016-06-01 | 2016-06-01 | The control device and method of application process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106020909A true CN106020909A (en) | 2016-10-12 |
CN106020909B CN106020909B (en) | 2019-10-29 |
Family
ID=57092470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610382559.4A Active CN106020909B (en) | 2016-06-01 | 2016-06-01 | The control device and method of application process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106020909B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106990980A (en) * | 2017-03-08 | 2017-07-28 | 北京小米移动软件有限公司 | User's space creation method and device |
WO2018076433A1 (en) * | 2016-10-27 | 2018-05-03 | 宇龙计算机通信科技(深圳)有限公司 | Multi-opening application program method, multi-opening application program apparatus and terminal |
CN109729270A (en) * | 2018-12-30 | 2019-05-07 | 联想(北京)有限公司 | A kind of control method, device and electronic equipment |
CN110209461A (en) * | 2019-06-11 | 2019-09-06 | 北京金山安全软件有限公司 | Interface display method and device |
CN110287012A (en) * | 2019-06-21 | 2019-09-27 | 努比亚技术有限公司 | Multiprocessing method, wearable device and the medium of intelligent wearable device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100529210B1 (en) * | 2005-03-22 | 2005-11-17 | 주식회사 하이스마텍 | Control method and system for plural authentication application |
CN102215427A (en) * | 2011-05-17 | 2011-10-12 | 深圳创维-Rgb电子有限公司 | Method and device for synchronously playing multimedia information on television, and television |
CN102622290A (en) * | 2012-03-07 | 2012-08-01 | 苏州阔地网络科技有限公司 | Process monitoring method and system |
CN103440296A (en) * | 2013-08-19 | 2013-12-11 | 曙光信息产业股份有限公司 | Data query method and device |
CN104021355A (en) * | 2014-06-20 | 2014-09-03 | 浪潮电子信息产业股份有限公司 | Safety inspection method for simultaneously operating same file through multiple processes |
-
2016
- 2016-06-01 CN CN201610382559.4A patent/CN106020909B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100529210B1 (en) * | 2005-03-22 | 2005-11-17 | 주식회사 하이스마텍 | Control method and system for plural authentication application |
CN102215427A (en) * | 2011-05-17 | 2011-10-12 | 深圳创维-Rgb电子有限公司 | Method and device for synchronously playing multimedia information on television, and television |
CN102622290A (en) * | 2012-03-07 | 2012-08-01 | 苏州阔地网络科技有限公司 | Process monitoring method and system |
CN103440296A (en) * | 2013-08-19 | 2013-12-11 | 曙光信息产业股份有限公司 | Data query method and device |
CN104021355A (en) * | 2014-06-20 | 2014-09-03 | 浪潮电子信息产业股份有限公司 | Safety inspection method for simultaneously operating same file through multiple processes |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018076433A1 (en) * | 2016-10-27 | 2018-05-03 | 宇龙计算机通信科技(深圳)有限公司 | Multi-opening application program method, multi-opening application program apparatus and terminal |
CN106990980A (en) * | 2017-03-08 | 2017-07-28 | 北京小米移动软件有限公司 | User's space creation method and device |
CN106990980B (en) * | 2017-03-08 | 2020-07-31 | 北京小米移动软件有限公司 | User space creation method and device |
CN109729270A (en) * | 2018-12-30 | 2019-05-07 | 联想(北京)有限公司 | A kind of control method, device and electronic equipment |
US11153473B2 (en) | 2018-12-30 | 2021-10-19 | Lenovo (Beijing) Co., Ltd. | Control method, device and electronic apparatus for image acquisition |
CN110209461A (en) * | 2019-06-11 | 2019-09-06 | 北京金山安全软件有限公司 | Interface display method and device |
CN110209461B (en) * | 2019-06-11 | 2023-03-24 | 北京金山安全软件有限公司 | Interface display method and device |
CN110287012A (en) * | 2019-06-21 | 2019-09-27 | 努比亚技术有限公司 | Multiprocessing method, wearable device and the medium of intelligent wearable device |
Also Published As
Publication number | Publication date |
---|---|
CN106020909B (en) | 2019-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020909A (en) | Application process control device and method | |
CN107018119B (en) | Identity verification system, method and platform | |
CN105450655B (en) | Apparatus bound method and apparatus | |
CN106411517B (en) | A kind of password remapping method and device | |
CN104635543B (en) | It is managed the method and apparatus of operation | |
CN106716956B (en) | Method, related device and system for sharing cloud operation interface | |
CN103268255A (en) | Method, device and system for triggering terminal to execute processing | |
CN103024200B (en) | Be applied to image pickup method and the filming apparatus of intelligent terminal | |
CN102487289A (en) | Connection method of mobile terminal and digital television receiving terminal and mobile terminal thereof | |
CN105578398A (en) | Terminal, and Bluetooth connection method | |
CN108494871A (en) | Cloud virtual machine and its image-recognizing method, system and virtual machine thin-client | |
CN105657868A (en) | Mobile terminal and interface control method thereof | |
CN101835138B (en) | Provisioning system, relative device and charging system of data card service | |
CN109561413A (en) | A kind of the bluetooth authentication authorization method and authoring system of BLE equipment | |
CN110730446A (en) | Login method, terminal and computer storage medium | |
CN108418905B (en) | Method, terminal, cloud platform device and medium for safely binding devices | |
CN105025548B (en) | A kind of the connection control method and device of SIM card | |
CN108711205A (en) | A kind of conference system visitor Verification System | |
CN105991619A (en) | Safety authentication method and device | |
CN115379590B (en) | Bluetooth connection establishing method and device, electronic equipment and computer storage medium | |
CN106067857A (en) | A kind of user of preventing is forced the method and device rolled off the production line | |
CN105657818A (en) | Registration method and registration device for embedded type user identification module and mobile terminal | |
CN105873026A (en) | Method for activating eSIM (Embedded Subscriber Identity Module), mobile terminal and server | |
CN106406838A (en) | Screen shot sharing method, apparatus, and system | |
CN111050323B (en) | Terminal switching method, device and system |
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 |