CN104427529B - A kind of information processing method and terminal - Google Patents
A kind of information processing method and terminal Download PDFInfo
- Publication number
- CN104427529B CN104427529B CN201310376161.6A CN201310376161A CN104427529B CN 104427529 B CN104427529 B CN 104427529B CN 201310376161 A CN201310376161 A CN 201310376161A CN 104427529 B CN104427529 B CN 104427529B
- Authority
- CN
- China
- Prior art keywords
- application
- main service
- service
- currently running
- public
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0212—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of information processing method and device, belong to field of communication technology.The described method includes:When i-th of application starts, detect whether the main service being currently running, the main service being currently running is used to establish the first communication connection passage with service platform, and the service platform is communicated by the described first communication connection passage with M application being currently running, and i and M are positive integer;If there is the main service being currently running, the second communication connection passage is established with service platform using public main service, so that i-th of application and the M application are communicated by the described second communication connection passage with the service platform.Described device includes detection module and path setup module.Keep communicating to connect with service platform by the present invention in that multiple applications share a main service, flow can be saved and reduce the power consumption of mobile terminal, extend the cruising time of mobile terminal.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of information processing method and terminal.
Background technology
With the fast development of mobile Internet, mobile equipment has become important tool and hand that people obtain information
Section.Many application and development manufacturers are all proposed the service platform of oneself and all kinds of terminal applies one after another, and user can be according to reality
Need selection that a variety of applications are installed, enjoy various business services.
Each application in mobile terminal is each equipped with a main service, and main service is responsible for and the corresponding service of each application
Platform establishes communication connection passage.When needing service platform to provide business service, user needs first to start the business service pair
The terminal applies answered, call this to apply corresponding main service, communicate with the service platform of the application.
In the implementation of the present invention, inventor has found that the prior art has at least the following problems:
Since the species applied in mobile terminal is very much, each application be required for by respective main service respectively with service
Platform establishes connection, can not only waste flow, the electricity of mobile terminal can be also largely consumed, when reducing the continuation of the journey of mobile terminal
Between.
The content of the invention
In order to solve problem of the prior art, an embodiment of the present invention provides a kind of information processing method and device.It is described
Technical solution is as follows:
On the one hand, an embodiment of the present invention provides a kind of information processing method, applied in electronic equipment, the electronics is set
It is standby that there are multiple applications, the described method includes:
When i-th of application starts, the main service being currently running is detected whether, the main service being currently running is used for
The first communication connection passage is established with service platform, the service platform is by the described first communication connection passage with being currently running
M application communicate, i and M are positive integer;
If there is the main service being currently running, the second communication connection passage is established with service platform using public main service,
So that i-th of application and the M application are led to by the described second communication connection passage with the service platform
Letter.
Alternatively, the public main service can be respective from the M application and described i-th application being currently running
The main service of j-th of the application determined in corresponding main service according to pre-defined rule.
Further, the pre-defined rule can include:
The main service for the application for selecting first to run in i-th of application and described M application is as the public main clothes
Business;Alternatively,
The main service of the newest application of version in i-th of application and described M application is selected as the public master
Service.
Further, when the pre-defined rule is, version is newest in selection i-th of application and described M application
Application main service as the public main service when,
It is described that second communication connection passage is established with service platform using public main service, including:
Obtain the application message of i-th of application and the application message of the M application being currently running;
According to the application message got, version in i-th of application and the M application being currently running is determined
This newest application;
Using the main service of the newest application of the version, establish second communication link with the service platform and connect
Road.
In a kind of implementation of the embodiment of the present invention, each application in the electronic equipment is included from service,
Each application message for being used to broadcast each affiliated application from service, the application message for obtaining i-th of application
With the application message of be currently running the M application, including:
By applying for described i-th from service and the M application being currently running from service, acquisition described i-th
A application and the application message for M application being currently running.
Alternatively, the application message includes software tool kit version number,
Then according to the application message got, determine in i-th of application and the M application being currently running
The newest application of version, including:
By the main service of the highest application of software tool kit version number, as the public main service.
Further, it is described that second communication connection passage is established with service platform using public main service, further include:
The application message of described i-th application and the M application being currently running is sent to the public main service.
Alternatively, when described i-th application main service be the public main service when, it is described using it is public it is main service and
Service platform establishes the second communication connection passage, further includes:
Enable the main service of i-th of application, and the main service being currently running described in closing.
Alternatively, when j-th of application belonging to the public main service is closed or unloaded, the method can also wrap
Include:
Third communication interface channel is established with service platform using new public main service, so that except described j-th application
Outside using the described second application for communicating with the service platform of communication connection passage, connected by the third communication
Connect road to communicate with the service platform, the new public main service is from the use in addition to described j-th is applied
In the application that the second communication connection passage communicates with the service platform, the main service of k-th of application of selection.
On the other hand, an embodiment of the present invention provides a kind of information processor, applied in electronic equipment, the electronics
Equipment has multiple applications, and described device includes:
Detection module, it is described to transport for when i-th of application starts, detecting whether the main service being currently running
Capable main service is used to establish the first communication connection passage with service platform, and the service platform is communicated to connect by described first
Passage communicates with M application being currently running, wherein, i and M are positive integer;
Path setup module, for when there is the main service being currently running, being established using public main service with service platform
Second communication connection passage, so that i-th of application and the M application pass through the described second communication connection passage and institute
Service platform is stated to communicate.
Alternatively, the public main service can be respective from the M application and described i-th application being currently running
The main service of j-th of the application determined in corresponding main service according to pre-defined rule.
Further, the pre-defined rule can include:
The main service for the application for selecting first to run in i-th of application and described M application is as the public main clothes
Business;Alternatively,
The main service of the newest application of version in i-th of application and described M application is selected as the public master
Service.
Further, when the pre-defined rule is, version is newest in selection i-th of application and described M application
Application main service as the public main service when, the path setup module includes:
Acquiring unit, for obtaining the application message of i-th of application and the application of the M application being currently running
Information;
Determination unit, for according to the application message got, determining that i-th of application is currently running with described
M application in the newest application of version;
Unit is established, for the main service using the newest application of the version, described the is established with the service platform
Two communication interface channels.
In a kind of implementation of the embodiment of the present invention, each application in the electronic equipment is included from service,
It is used to broadcast each affiliated application message applied from service described in each, then the acquiring unit is used for, and passes through described i-th
That applies is a from service, described i-th M for applying and being currently running of acquisition with the M application being currently running from servicing
The application message of application.
In the another implementation of the embodiment of the present invention, the application message includes software tool kit version number,
The then determination unit, for by the main service of the highest application of software tool kit version number, as
The public main service.
Alternatively, the path setup module, is additionally operable to described i-th application and the M application being currently running
Application message be sent to the public main service.
Alternatively, when the main service of described i-th application is the public main service, the path setup module, also
For enabling the main service of i-th of application, and the main service being currently running described in closing.
Alternatively, described device further includes:
Passage rebuilds module, for closing or during unloading when j-th belonging to public main service application, using new
Public main service establishes third communication interface channel with service platform, so that the use described the in addition to described j-th is applied
The application that two communication interface channels communicate with the service platform, passes through the third communication interface channel and the service
Platform communicates, and the new public main service is from use second communication connection in addition to described j-th is applied
In the application that passage communicates with the service platform, the main service of k-th of application of selection.
The beneficial effect that technical solution provided in an embodiment of the present invention is brought is:
By when i-th of application starts, the main service being currently running being detected whether, so as to whether be had it
It is applied(M application being currently running)Keep communicating to connect with service platform, if there is other application to keep with service platform
Communication connection, then establish common communication interface channel using public main service with service platform(I.e. second communication connection passage),
So that i-th of application and other application are communicated by the common communication interface channel with the service platform, in this way, clothes
Business platform to i-th of application and M application being currently running while can send public disappear by the common communication interface channel
Breath, so as to save flow.Also, keep communicating to connect with service platform since multiple applications share a main service, institute
The power consumption of mobile terminal can be reduced, extend the cruising time of mobile terminal.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the flow chart for the information processing method that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of information processing method provided by Embodiment 2 of the present invention;
Fig. 2 a are the detail flowcharts provided by Embodiment 2 of the present invention for establishing the second communication connection passage;
Fig. 3 is the structure diagram for the information processor that the embodiment of the present invention three provides;
Fig. 4 is the structure diagram for the information processor that the embodiment of the present invention four provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
An embodiment of the present invention provides a kind of information processing method, and applied in electronic equipment, which has more
A application, referring to Fig. 1, this method includes:
101:When i-th of application starts, the main service being currently running is detected whether, which uses
In establishing the first communication connection passage with service platform, the service platform is by the described first communication connection passage with being currently running
M application communicate, i and M are positive integer;
102:If there is the main service being currently running, the connection of the second communication link is established with service platform using public main service
Road, so that i-th of application and foregoing M application are communicated by the second communication connection passage with service platform.
Wherein, public main service can be from M application being currently running and i-th of corresponding main service of application
The main service of j-th of the application determined according to pre-defined rule, the public main service can also be the main service of default application.
The embodiment of the present invention by i-th application start when, detect whether the main service being currently running, so as to
Whether other application is had(M application being currently running)With service platform keep communicate to connect, if having other application with
Service platform keeps communication connection, then establishes common communication interface channel with service platform using public main service(I.e. second is logical
Believe interface channel), so that i-th of application and other application are carried out by the common communication interface channel and the service platform
Communication, in this way, service platform can be same to i-th of application and M application being currently running by the common communication interface channel
When send public message, so as to save flow.Also, kept since multiple applications share a main service with service platform
Communication connection, it is possible to reduce the power consumption of mobile terminal, extend the cruising time of mobile terminal.
Embodiment two
An embodiment of the present invention provides a kind of information processing method, and applied in electronic equipment, which has more
A application, each application include main service and from services.Wherein, main service is used to establish communication link connection with service platform
Road, is usually present in system with independent process, and is used to broadcast this from the application message applied belonging to service from service, with
The other application in the electronic equipment is shared the application message of the application, can be used from service with the application belonging to it
Same process is realized.In the present embodiment, determine it is public it is main service and start main service function can also by from service come reality
It is existing.
Specifically, include referring to Fig. 2, this method:
201:When i-th of application starts, the main service being currently running is detected whether.When there is the main service that is currently running
When, perform step 202;When the main service not being currently running, step 204 is performed.
Wherein, the main service being currently running is used to establish the first communication connection passage with service platform, which leads to
Cross the first communication connection passage to communicate with M application being currently running, i and M are positive integer.
It is readily apparent that, as M > 1, which is the public main service for M application being currently running,
The usually main service of some application in this M application;As M=1, which is currently running for this
Application main service.
202:Public main service is determined for i-th of application and M application being currently running.
In the present embodiment, which can be each corresponding from the M application and i-th of application being currently running
Main service in the main service of j-th of application that determines according to pre-defined rule.In other embodiments, the step can not also be included
Rapid 202, directly using the main service of default application as public main service, performing step 203, with service platform to establish second logical
Application in believing interface channel, the default application and being be currently running M application and apply for described i-th or
In the electronic equipment, the application in the other application of off-duty.
Preferably, in the present embodiment, pre-defined rule is the newest application of version in i-th of application of selection and M application
Main service as public main service., can be in user not using the main service of the newest application of version as public main service
Upgrade in time in the case of all softwares, the main service for enjoying newest version communicates, and then the renewal for reducing user should
Number.
It should be noted that in other embodiments, pre-defined rule can also be in i-th of application of selection and M application
The main service of the application first run is as public main service.
Step 203:Second communication connection passage is established with service platform using public main service, so that i-th of application
Communicated with M application by the second communication connection passage with service platform.
Specifically, when pre-defined rule is, i-th of application of selection and the main service of the newest application of version in M application are made
For public main service when, as shown in Figure 2 a, which includes:
2031:The M application message applied for obtaining the application message of i-th of application and being currently running;
2032:According to the application message got, determine i-th of application and M application being currently running in version it is newest
Application;
2033:Using the main service of the newest application of version, the second communication connection passage is established with service platform.
Further, which includes:By i-th of application applied from service and be currently running M from
Service, obtains the application message of i-th of application and M application being currently running.
Specifically, which can include application identities, SDK(Software Development Kit, software work
Has kit)Version number, bag name etc., then the step 2032 can include:By the main service of the highest application of SDK version numbers, make
For public main service.
The step 2033 can include:The application message of i-th of application and M application being currently running is sent to public
Main service.By the way that application message is sent to public main service, you can with by each application(I-th of application and the M being currently running
A application)With public main service binding so that i-th of application and be currently running M apply and can be built by public main service
The second vertical communication connection passage, communicates with service platform.When public main service receives the message of service platform transmission
When, received message can be transmitted to by corresponding application according to the application message of the application of its binding.
Further, when the main service of i-th of application is confirmed as public main service, which further includes:Open
With the main service of i-th of application, and close the main service that is currently running., can be by i-th of application from service when realizing
Main service is sent from service to the application belonging to the main service being currently running and close message, to indicate the main service being currently running
Affiliated application closes its main service from service.
204:Using the main service of i-th of application, independent communication interface channel is established with service platform, so that this i-th
Communicate using by the independent communication interface channel with service platform.
Alternatively, this method can also include step 205:
When j-th of application belonging to public main service is closed or unloaded, using new public main service and service platform
Third communication interface channel is established, so that the use second in addition to j-th is applied communicates to connect passage and carried out with service platform
The application of communication, is communicated by third communication interface channel with service platform.
Wherein, which is to communicate to connect passage and service from the use second in addition to j-th is applied
In the application that platform communicates, the main service of k-th of application of selection.
The new public main service can determine that details are not described herein by the mode identical with foregoing public main service.
It is readily apparent that, third communication interface channel is established, it is necessary to will make except j-th of application with service platform using new public main service
Outside use second communicate to connect the application message of application that passage communicates with service platform, be sent to k-th of application
Main service.
It should be noted that the embodiment of the present invention is suitable for, using the application that service is provided by same service platform(Especially
It is instant messaging application), these applications are usually developed and safeguarded by same company, for example, QQ and wechat etc..
The embodiment of the present invention by i-th application start when, detect whether the main service being currently running, so as to
Whether other application is had(M application being currently running)With service platform keep communicate to connect, if having other application with
Service platform keeps communication connection, then establishes common communication interface channel with service platform using public main service(I.e. second is logical
Believe interface channel), so that i-th of application and other application are carried out by the common communication interface channel and the service platform
Communication, in this way, service platform can be same to i-th of application and M application being currently running by the common communication interface channel
When send public message, so as to save flow.Also, kept since multiple applications share a main service with service platform
Communication connection, it is possible to reduce the power consumption of mobile terminal, extend the cruising time of mobile terminal.
Embodiment three
An embodiment of the present invention provides a kind of information processor, and applied in electronic equipment, which has more
A application, referring to Fig. 3, which includes:
Detection module 301, for when i-th of application starts, detecting whether the main service being currently running, being currently running
Main service be used to establish the first communication connection passage with service platform, service platform by the described first communication connection passage with
M application being currently running communicates, wherein, i and M are positive integer;
Path setup module 302, for when there is the main service being currently running, being built using public main service with service platform
Vertical second communication connection passage, so that i-th of application and M application are carried out by the second communication connection passage with service platform
Communication.
Wherein, public main service can be from M application being currently running and i-th of corresponding main service of application
The main service of j-th of the application determined according to pre-defined rule, the public main service can also be the main service of default application.
The embodiment of the present invention by i-th application start when, detect whether the main service being currently running, so as to
Whether other application is had(M application being currently running)With service platform keep communicate to connect, if having other application with
Service platform keeps communication connection, then establishes common communication interface channel with service platform using public main service(I.e. second is logical
Believe interface channel), so that i-th of application and other application are carried out by the common communication interface channel and the service platform
Communication, in this way, service platform can be same to i-th of application and M application being currently running by the common communication interface channel
When send public message, so as to save flow.Also, kept since multiple applications share a main service with service platform
Communication connection, it is possible to reduce the power consumption of mobile terminal, extend the cruising time of mobile terminal.
Example IV
An embodiment of the present invention provides a kind of information processor, and applied in electronic equipment, which has more
A application, the electronic equipment have multiple applications, and each application includes main service and from service.Wherein, it is main service be used for
Service platform establishes communication connection passage, is usually present in independent process in system, and is used to broadcast this from clothes from service
The application message of application belonging to business, so that the other application in the electronic equipment can share the application message of the application, from clothes
Business can be realized with the application belonging to it using same process.In the present embodiment, determine public main service and start main service
Function can also be by being realized from service.
Specifically, include referring to Fig. 4, the device:
Detection module 401, for when i-th of application starts, detecting whether the main service being currently running, being currently running
Main service be used to establish the first communication connection passage with service platform, service platform by the described first communication connection passage with
M application being currently running communicates, wherein, i and M are positive integer;
Path setup module 402, for when there is the main service being currently running, being built using public main service with service platform
Vertical second communication connection passage, so that i-th of application and M application are carried out by the second communication connection passage with service platform
Communication.
Path setup module 402, is additionally operable to when the main service not being currently running, using i-th application main service,
Independent communication interface channel is established with service platform, so that this i-th application is flat with service by the independent communication interface channel
Platform communicates.
In the present embodiment, which is respective from the M application and described i-th application being currently running
The main service of j-th of the application determined in corresponding main service according to pre-defined rule.In other embodiments, the public main service
Can also be the main service of default application, and the default application can be in the M application and described i-th application being currently running
Application or the electronic equipment in, the application in the other application of off-duty.
Further, pre-defined rule can include:
The main service of the application first run in i-th of application of selection and M application is as public main service;Alternatively,
The main service of the newest application of version is as public main service in i-th of application of selection and M application.
In the present embodiment, pre-defined rule is the main clothes for selecting the newest application of version in i-th of application and M application
Business is used as public main service, and at this time, path setup module 402 includes:
Acquiring unit 4021, for the application letter for the M application for obtaining the application message of i-th of application and being currently running
Breath;
Determination unit 4022, for the application message got according to acquiring unit 4021, determines i-th of application and
The newest application of version in M application of operation;
Unit 4023 is established, for the main service of the newest application of version determined using determination unit 4022, with service
Platform establishes the second communication connection passage.
Further, acquiring unit 4021 is used for, and passes through applying from service and be currently running M for i-th of application
From service, the M application message applied for obtaining i-th of application and being currently running.
Further, which can include application identities, SDK version numbers, bag name etc., it is determined that unit 4022,
For by the main service of the highest application of SDK version numbers, as public main service.
Path setup module 402, is additionally operable to the application message of i-th of application and M application being currently running being sent to
Public main service.By the way that application message is sent to public main service, you can with by each application(I-th application and transporting
M capable application)With public main service binding so that apply can be by public main clothes by i-th of application and be currently running M
The second communication connection passage that business is established, communicates with service platform.
When the main service of i-th of application is public main service, path setup module 402, is additionally operable to enable i-th of application
Main service, and close the main service that is currently running.
Alternatively, which further includes:
Passage rebuilds module 403, for closing or during unloading when j-th belonging to public main service application, using new
Public main service establishes third communication interface channel with service platform, so that the second communication link of use in addition to j-th is applied
The application that road communicates with service platform is connected, is communicated by third communication interface channel with service platform, new public affairs
It is to be communicated to connect from the use second in addition to j-th of application in the application that communicates with service platform of passage with main service,
The main service for k-th of the application chosen.
The new public main service can determine that details are not described herein by the mode identical with foregoing public main service.
It is readily apparent that, third communication interface channel is established, it is necessary to will make except j-th of application with service platform using new public main service
Outside use second communicate to connect the application message of application that passage communicates with service platform, be sent to k-th of application
Main service.
It should be noted that the embodiment of the present invention is suitable for, using the application that service is provided by same service platform(Especially
It is instant messaging application), these applications are usually developed and safeguarded by same company, for example, QQ and wechat etc..
The embodiment of the present invention by i-th application start when, detect whether the main service being currently running, so as to
Whether other application is had(M application being currently running)With service platform keep communicate to connect, if having other application with
Service platform keeps communication connection, then establishes common communication interface channel with service platform using public main service(I.e. second is logical
Believe interface channel), so that i-th of application and other application are carried out by the common communication interface channel and the service platform
Communication, in this way, service platform can be same to i-th of application and M application being currently running by the common communication interface channel
When send public message, so as to save flow.Also, kept since multiple applications share a main service with service platform
Communication connection, it is possible to reduce the power consumption of mobile terminal, extend the cruising time of mobile terminal.
It should be noted that:The information processor that above-described embodiment provides is when carrying out information processing, only with above-mentioned each
The division progress of function module, can be as needed and by above-mentioned function distribution by different work(for example, in practical application
Energy module is completed, i.e., the internal structure of equipment is divided into different function modules, to complete whole described above or portion
Divide function.In addition, the information processor that above-described embodiment provides belongs to same design with information processing method embodiment, it has
Body realizes that process refers to embodiment of the method, and which is not described herein again.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.
Claims (16)
1. a kind of information processing method, applied in electronic equipment, the electronic equipment has multiple applications, it is characterised in that
The described method includes:
When i-th of application starts, the main service being currently running is detected whether, the main service being currently running is used for and clothes
Business platform establishes the first communication connection passage, and the service platform passes through the described first communication connection passage and the M being currently running
A application communicates, and i and M are positive integer;
If there is the main service being currently running, the second communication connection passage is established with service platform using public main service, so that
Obtain i-th of application and the M application is communicated by the described second communication connection passage with the service platform, institute
It is according to pre- from the M application and the described i-th corresponding main service of application being currently running to state public main service
The main service for j-th of application that set pattern then determines.
2. according to the method described in claim 1, it is characterized in that, the pre-defined rule includes:
The main service for the application for selecting first to run in i-th of application and described M application is as the public main service;Or
Person,
The main service of the newest application of version in i-th of application and described M application is selected as the public main service.
3. according to the method described in claim 2, it is characterized in that, when the pre-defined rule is, select i-th of application and
When the main service of the newest application of version is as the public main service in the M application,
It is described that second communication connection passage is established with service platform using public main service, including:
Obtain the application message of i-th of application and the application message of the M application being currently running;
According to the application message got, determine that version is most in i-th of application and the M application being currently running
New application;
Using the main service of the newest application of the version, the second communication connection passage is established with the service platform.
4. according to the method described in claim 3, it is characterized in that, each application in the electronic equipment is included from clothes
It is engaged in, each application message for being used to broadcast each affiliated application from service, the application for obtaining i-th of application is believed
Breath and the application message of the M application being currently running, including:
By applying for described i-th from service and the M application being currently running from service, obtain described i-th and answer
With the application message be currently running M application.
5. according to the method described in claim 2, it is characterized in that, the application message includes software tool kit version
Number,
Then according to the application message got, version in i-th of application and the M application being currently running is determined
Newest application, including:
By the main service of the highest application of software tool kit version number, as the public main service.
6. according to claim 1-5 any one of them methods, it is characterised in that described to use public main service and service platform
The second communication connection passage is established, is further included:
The application message of described i-th application and the M application being currently running is sent to the public main service.
7. according to claim 1-5 any one of them methods, it is characterised in that when the main service of described i-th application is institute
It is described that second communication connection passage is established with service platform using public main service when stating public main service, further include:
Enable the main service of i-th of application, and the main service being currently running described in closing.
8. according to claim 1-5 any one of them methods, it is characterised in that when j-th belonging to the public main service
During using closing or unloading, the method further includes:
Third communication interface channel is established with service platform using new public main service, so that in addition to described j-th is applied
Using the described second application for communicating with the service platform of communication connection passage, led to by third communication connection
Road communicates with the service platform, and the new public main service is from described in the use in addition to described j-th is applied
In the application that second communication connection passage communicates with the service platform, the main service of k-th of application of selection.
9. a kind of information processor, applied in electronic equipment, the electronic equipment has multiple applications, it is characterised in that
Described device includes:
Detection module, it is described to be currently running for when i-th of application starts, detecting whether the main service being currently running
Main service is used to establish the first communication connection passage with service platform, and the service platform passes through the described first communication connection passage
Communicate with M application being currently running, wherein, i and M are positive integer;
Path setup module, for when there is the main service being currently running, second to be established with service platform using public main service
Passage is communicated to connect, so that i-th of application and the M application pass through the described second communication connection passage and the clothes
Business platform communicates, and the public main service is each corresponding from the M application and described i-th application being currently running
Main service in the main service of j-th of application that determines according to pre-defined rule.
10. device according to claim 9, it is characterised in that the pre-defined rule includes:
The main service for the application for selecting first to run in i-th of application and described M application is as the public main service;Or
Person,
The main service of the newest application of version in i-th of application and described M application is selected as the public main service.
11. device according to claim 10, it is characterised in that when the pre-defined rule is, select i-th of application
When the main service of the newest application of version is as the public main service in being applied with described M, the path setup module bag
Include:
Acquiring unit, for obtaining the application message of i-th of application and the application letter of the M application being currently running
Breath;
Determination unit, for according to the application message got, determining i-th of application and the M being currently running
The newest application of version in a application;
Unit is established, for the main service using the newest application of the version, it is logical to establish described second with the service platform
Believe interface channel.
12. according to the devices described in claim 11, it is characterised in that each application in the electronic equipment is included from clothes
Business, it is each it is described from service be used to broadcast each belonging to application application message, then the acquiring unit be used for, pass through described the
I application from service and be currently running the M application from service, obtain described i-th M for applying and being currently running
The application message of a application.
13. according to the devices described in claim 11, it is characterised in that the application message includes software tool kit version
Number,
The then determination unit, for by the main service of the highest application of software tool kit version number, as described
Public main service.
14. according to claim 9-13 any one of them devices, it is characterised in that the path setup module, be additionally operable to by
The application message of i-th of application and the M application being currently running is sent to the public main service.
15. according to claim 9-13 any one of them devices, it is characterised in that when the main service of described i-th application is
During the public main service, the path setup module, is additionally operable to enable the main service of i-th of application, and described in closing
The main service being currently running.
16. according to claim 9-13 any one of them devices, it is characterised in that described device further includes:
Passage rebuilds module, for closing or during unloading when j-th belonging to public main service application, using new public
Main service establishes third communication interface channel with service platform, so that the use described second in addition to described j-th is applied is logical
The application that letter interface channel communicates with the service platform, passes through the third communication interface channel and the service platform
Communicate, the new public main service is from use the second communication connection passage in addition to described j-th is applied
In the application to communicate with the service platform, the main service of k-th of application of selection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310376161.6A CN104427529B (en) | 2013-08-26 | 2013-08-26 | A kind of information processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310376161.6A CN104427529B (en) | 2013-08-26 | 2013-08-26 | A kind of information processing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104427529A CN104427529A (en) | 2015-03-18 |
CN104427529B true CN104427529B (en) | 2018-04-27 |
Family
ID=52975220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310376161.6A Active CN104427529B (en) | 2013-08-26 | 2013-08-26 | A kind of information processing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104427529B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107911388B (en) * | 2017-12-13 | 2020-06-19 | 广州泰尔智信科技有限公司 | Method and system for supervising mobile terminal application |
CN108023892B (en) * | 2017-12-13 | 2020-06-19 | 广州泰尔智信科技有限公司 | Method and system for supervising mobile terminal application |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001282513A (en) * | 2000-04-03 | 2001-10-12 | Obic Business Consultants Ltd | Control device for basic operation allowed to be accessed from external application and basic operation package |
CN1622528A (en) * | 2003-11-26 | 2005-06-01 | 国际商业机器公司 | Efficient connection pool management system and method |
CN1889488A (en) * | 2006-08-03 | 2007-01-03 | 上海宝钢钢材贸易有限公司 | Intraconnection network structure and method for establishing intraconnection network |
CN101378400A (en) * | 2007-08-30 | 2009-03-04 | 国际商业机器公司 | Method, server and system for polymerizing desktop application and Web application |
CN102045174A (en) * | 2009-10-15 | 2011-05-04 | 苏州彭华信息技术有限公司 | Network communication system and communication method thereof |
CN103106109A (en) * | 2011-08-23 | 2013-05-15 | 宏达国际电子股份有限公司 | Mobile communication device and application interface switching method |
-
2013
- 2013-08-26 CN CN201310376161.6A patent/CN104427529B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001282513A (en) * | 2000-04-03 | 2001-10-12 | Obic Business Consultants Ltd | Control device for basic operation allowed to be accessed from external application and basic operation package |
CN1622528A (en) * | 2003-11-26 | 2005-06-01 | 国际商业机器公司 | Efficient connection pool management system and method |
CN1889488A (en) * | 2006-08-03 | 2007-01-03 | 上海宝钢钢材贸易有限公司 | Intraconnection network structure and method for establishing intraconnection network |
CN101378400A (en) * | 2007-08-30 | 2009-03-04 | 国际商业机器公司 | Method, server and system for polymerizing desktop application and Web application |
CN102045174A (en) * | 2009-10-15 | 2011-05-04 | 苏州彭华信息技术有限公司 | Network communication system and communication method thereof |
CN103106109A (en) * | 2011-08-23 | 2013-05-15 | 宏达国际电子股份有限公司 | Mobile communication device and application interface switching method |
Also Published As
Publication number | Publication date |
---|---|
CN104427529A (en) | 2015-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102823218B (en) | Method and apparatus for identity federation gateway | |
CN110192376A (en) | Design is combined for improved communication equipment, system and network-based control resource set | |
CN104025536B (en) | For the synchronous system and method for application communication | |
CN108924805A (en) | Bluetooth connecting method, medium and the first, second electronic equipment and calculating equipment | |
CN109936868A (en) | A kind of paging method, terminal and base station | |
CN106959852A (en) | Footmark display methods, device and the terminal of application icon | |
CN104703267B (en) | The terminal communicating method and device of a kind of power saving | |
CN109274470A (en) | Control the indicating means and Related product of information | |
TW200616390A (en) | Method and apparatus to increase system capacity in P2P enabled system | |
CN106293834A (en) | The application program progress control method of a kind of mobile terminal and device | |
CN104038639B (en) | A kind of terminal called method and terminal | |
CN103873322B (en) | A kind of information processing method and communication terminal | |
CN105744609B (en) | Improve the method and device of mobile terminal power consumption | |
CN104427529B (en) | A kind of information processing method and terminal | |
CN104509170B (en) | For closing on message sending, receiving method, equipment and the system of service | |
CN107181653A (en) | Intelligent home device match somebody with somebody network method and intelligent domestic system | |
CN109298775A (en) | A kind of terminal device and task processing method | |
CN103516870A (en) | Information processing method and electronic equipment | |
CN103942507A (en) | Information processing method and electronic device | |
CN107708194A (en) | A kind of message filtering method and device, terminal and readable storage medium storing program for executing | |
CN103279447A (en) | Method, device and terminal for processing information | |
CN108401081A (en) | A kind of VOLTE network performance test methods and device | |
CN104318154B (en) | The safety protecting method of application and device | |
CN108521581A (en) | Multi-medium data display methods, terminal and system | |
CN108235760A (en) | Power consumption antihunt means, its device and the electronic equipment of intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |