Movatterモバイル変換


[0]ホーム

URL:


CN106445537B - Application networking control method and system based on mobile terminal data service - Google Patents

Application networking control method and system based on mobile terminal data service
Download PDF

Info

Publication number
CN106445537B
CN106445537BCN201610868905.XACN201610868905ACN106445537BCN 106445537 BCN106445537 BCN 106445537BCN 201610868905 ACN201610868905 ACN 201610868905ACN 106445537 BCN106445537 BCN 106445537B
Authority
CN
China
Prior art keywords
application program
stack
application
top pointer
networking
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
Application number
CN201610868905.XA
Other languages
Chinese (zh)
Other versions
CN106445537A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co LtdfiledCriticalHuizhou TCL Mobile Communication Co Ltd
Priority to CN201610868905.XApriorityCriticalpatent/CN106445537B/en
Publication of CN106445537ApublicationCriticalpatent/CN106445537A/en
Application grantedgrantedCritical
Publication of CN106445537BpublicationCriticalpatent/CN106445537B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses an application networking control method and system based on mobile terminal data service, wherein the method comprises the following steps: an application program stack is established in advance; the application program stack comprises a stack top pointer, and the stack top pointer points to the application program which is operated in the foreground at the latest time; if the application program is not operated in the front and the background of the mobile terminal, the stack top pointer is empty; when detecting that the data service is enabled, acquiring an application program pointed by a stack top pointer in the application program stack; returning to null if the stack top pointer is null; and only starting networking on the application program pointed by the stack top pointer, and stopping networking on the application programs except the application program pointed by the stack top pointer. The invention aims to solve the problem that in the prior art, when the data service is started, a plurality of applications are simultaneously connected with the network, and more flow of users is consumed.

Description

Application networking control method and system based on mobile terminal data service
Technical Field
The invention relates to the technical field of mobile terminals, in particular to an application networking control method and system based on mobile terminal data services.
Background
Mobile terminals are becoming more and more popular, and networking of mobile terminals through networks provided by operators via data services has become one of the most common ways to surf the internet. In the daily use process, a user usually handles a data flow package at an operator, the flow charge in the package is fixed after one month, and the user needs to pay expensive charge to the operator when the flow in the package is exceeded. When the user is going to use up the traffic in the package, the data service is often needed to be used carefully to avoid the traffic exceeding; therefore, in order to save the flow, the user can open the data service only when the flow needs to be used, for example, the user can open the data service when the user needs to use WeChat chat, and the user can close the data service at other times; however, the actual situation is not ideal, when the user starts the data service, various application programs will automatically connect to the network to consume the flow of the user, and even the user only wants to pay attention to the WeChat information but consumes more flow when starting the data service.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and a system for controlling application networking based on a mobile terminal data service, aiming at the above-mentioned defects in the prior art. The invention provides an application networking control method based on a mobile terminal data service, and aims to solve the problem that in the prior art, when the data service is started, a plurality of applications are simultaneously connected with a network, and more flows of users are consumed.
The technical scheme adopted by the invention for solving the technical problem is as follows:
an application networking control method based on mobile terminal data service, comprising:
a, establishing an application program stack in advance; the application program stack comprises a stack top pointer, and the stack top pointer points to the application program which is operated in the foreground at the latest time; if the application program is not operated in the front and the background of the mobile terminal, the stack top pointer is empty;
B. when detecting that the data service is enabled, acquiring an application program pointed by a stack top pointer in the application program stack; returning to null if the stack top pointer is null;
C. and only starting networking on the application program pointed by the stack top pointer, and stopping networking on the application programs except the application program pointed by the stack top pointer.
The application networking control method based on the mobile terminal data service further comprises the following steps after the step C:
and D, when the data service is in an open state and the application program pointed by the stack top pointer is changed, only opening networking for the application program pointed by the current stack top pointer, and closing networking for the application programs except the application program pointed by the current stack top pointer.
The application networking control method based on the mobile terminal data service further comprises the following steps after the step C:
and S, when the data service is in an open state and the application program pointed by the stack top pointer is changed, increasing the number of applications pointed by the current stack top pointer to open networking, wherein all the applications which are switched to the foreground or newly opened after the data service is opened are all opened for networking, and the rest applications are all closed for networking.
The application networking control method based on the mobile terminal data service is characterized in that the application program stack is used for storing the application programs which are operated in the foreground by a user according to the time sequence, the foreground operation program closest to the current time is arranged on the top of the stack, and then the application programs which are operated in the foreground are stored in the application program stack according to the distance from the current time; the application program which was operated in the foreground is ranked below the application program which was far away from the current time, and ranked above the application program which was near the current time; when an application saved in the application stack is closed, it is deleted in the application stack.
An application networking control system based on mobile terminal data service, comprising:
the pre-establishing module is used for pre-establishing an application program stack; the application program stack comprises a stack top pointer, and the stack top pointer points to the application program which is operated in the foreground at the latest time; if the application program is not operated in the front and the background of the mobile terminal, the stack top pointer is empty;
the acquisition module is used for acquiring the application program pointed by the top pointer in the application program stack when the data service is detected to be enabled; returning to null if the stack top pointer is null;
and the control module is used for only starting networking on the application program pointed by the stack top pointer and closing networking on the application programs except the application program pointed by the stack top pointer.
The application networking control system based on the mobile terminal data service further comprises:
and the first switch module of the data service is used for only starting networking on the application program pointed by the current stack top pointer and closing networking on the application programs except the application program pointed by the current stack top pointer when the data service is in an open state and the application program pointed by the stack top pointer is changed.
The application networking control system based on the mobile terminal data service further comprises:
and when the data service is in an open state and the application program pointed by the stack top pointer changes, the data service second switch module increases the starting networking of the application program pointed by the current stack top pointer, all the application programs which are switched to the foreground or are newly started after the data service is started are all started for networking, and the rest application programs are all stopped for networking.
The application networking control system based on the mobile terminal data service is characterized in that the application program stack is used for storing application programs which are operated in the foreground by a user according to the time sequence, the foreground operation program closest to the current time is arranged on the top of the stack, and then the application programs which are operated in the foreground are stored in the application program stack according to the distance from the current time; the application program which was operated in the foreground is ranked below the application program which was far away from the current time, and ranked above the application program which was near the current time; when an application saved in the application stack is closed, it is deleted in the application stack.
The method saves the application program which is operated by the foreground at the latest time by establishing the application program stack, only allows the application program to be networked when the data service is started, and only allows the application program which is operated by the foreground to be networked later, so that the data flow is pointed, thereby solving the problem that a plurality of applications are simultaneously connected with the network and consume more flow of users when the data service is started in the prior art.
Drawings
Fig. 1 is a flow chart of a preferred embodiment of the application networking control method based on mobile terminal data service of the present invention.
Fig. 2-5 are schematic diagrams of application program stacks of a preferred embodiment of the application networking control method based on mobile terminal data services according to the present invention.
Fig. 6 is a flow chart of a preferred embodiment of the application networking control method based on the mobile terminal data service.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for controlling application networking based on data services of a mobile terminal according to a preferred embodiment of the present invention. As shown in fig. 1, the application networking control method based on mobile terminal data service according to the embodiment of the present invention includes the following steps:
s100, establishing an application program stack in advance; the application program stack comprises a stack top pointer, and the stack top pointer points to the application program which is operated in the foreground at the latest time; if the application program is not operated in the front and the background of the mobile terminal, the stack top pointer is empty;
the application program stack is used for storing the application programs which are operated in the foreground by a user according to the time sequence, the foreground operation program closest to the current time is arranged on the top of the stack, and then the application programs which are operated in the foreground are stored in the application program stack according to the distance from the current time; the application program which was operated in the foreground is ranked below the application program which was far away from the current time, and ranked above the application program which was near the current time; when an application saved in the application stack is closed, it is deleted in the application stack. For example, if the user opens the WeChat first, the top pointer of the application stack points to the WeChat at this time as shown in FIG. 2, then opens the Payment Bao, the Jingdong, and the Gaode map in sequence, then the top pointer of the application stack points to the Gaode map at this time as shown in FIG. 3, if the user closes the Jingdong in the background at this time and deletes the Jingdong in the application stack, the top pointer of the application stack still points to the Gaode map at this time as shown in FIG. 4, and if the user closes the Gaode map again, the top pointer of the application stack points to the Payment Bao at this time as shown in FIG. 5.
S200, when the data service is detected to be enabled, acquiring an application program pointed by a stack top pointer in the application program stack; and returning to null if the stack top pointer is null.
As shown in fig. 2, when it is detected that the data service is enabled, the application program pointed by the top pointer in the application program stack is acquired as WeChat.
As shown in fig. 3, when it is detected that the data service is enabled, the application program pointed to by the top pointer in the application program stack is obtained as a high level map.
As shown in fig. 5, when it is detected that the data service is enabled, the application pointed by the top pointer in the application stack is obtained as a payroll.
S300, only starting networking on the application program pointed by the stack top pointer, and stopping networking on the application programs except the application program pointed by the stack top pointer;
for example, when the current application stack is shown in fig. 5 with the top pointer pointing to the payer, networking is turned on only for the payer, and networking is turned off for applications other than the payer.
As shown in fig. 3, when the top pointer of the current application stack points to the high-level map, the networking is only opened for the high-level map, and the networking is closed for all applications except the high-level map.
S400, when the data service is in an open state and the application program pointed by the stack top pointer changes, only the networking is opened for the application program pointed by the current stack top pointer, and the networking is closed for the application programs except the application program pointed by the current stack top pointer.
That is, after the user opens the data service, the user will always open networking only for the application program pointed by the current top pointer, and close networking for all application programs except the application program pointed by the current top pointer.
Of course, as another embodiment of the method of the present invention, if the user needs to have multiple applications for networking, the embodiment further provides step S500 as follows, and it should be noted that both step S400 and step S500 can be selected only.
S500, when the data service is in an open state and the application program pointed by the stack top pointer changes, the networking of the application program pointed by the current stack top pointer is increased, that is, all the application programs which are switched to the foreground or are newly opened after the data service is opened are all opened for networking, and the networking of the other application programs is closed.
Therefore, the invention provides an application networking control method based on a mobile terminal data service, and aims to solve the problem that in the prior art, when the data service is started, a plurality of applications are simultaneously connected with a network, and more flow of a user is consumed.
Based on the above method embodiment, the present invention further provides an application networking control system based on mobile terminal data service, as shown in fig. 6, the system includes:
apre-establishment module 210, configured to pre-establish an application stack; the application program stack comprises a stack top pointer, and the stack top pointer points to the application program which is operated in the foreground at the latest time; if the application program is not operated in the front and the background of the mobile terminal, the stack top pointer is empty; as described above.
An obtainingmodule 220, configured to obtain, when it is detected that the data service is enabled, an application program pointed by a top pointer in the application program stack; returning to null if the stack top pointer is null; as described above.
Thecontrol module 230 is configured to only open networking for the application program pointed by the top pointer, and close networking for all application programs except the application program pointed by the top pointer; as described above.
Further, the application networking control system based on the mobile terminal data service further comprises:
the first switch module of the data service is used for only starting networking on the application program pointed by the current stack top pointer and closing networking on the application programs except the application program pointed by the current stack top pointer when the data service is in an open state and the application program pointed by the stack top pointer is changed; as described above.
Further, the application networking control system based on the mobile terminal data service further comprises:
when the data service is in an open state and the application program pointed by the stack top pointer changes, the data service second switch module increases to open networking on the application program pointed by the current stack top pointer, all the application programs which are switched to a foreground or are newly opened after the data service is opened are all opened for networking, and the rest application programs are all closed for networking; as described above.
Further, the application networking control system based on the mobile terminal data service is characterized in that the application program stack is used for storing the application programs which are run by the user on the foreground according to the time sequence, the foreground running program closest to the current time is arranged on the top of the stack, and then the application programs which are run on the foreground are stored in the application program stack according to the distance from the current time; the application program which was operated in the foreground is ranked below the application program which was far away from the current time, and ranked above the application program which was near the current time; when the application program saved in the application program stack is closed, deleting the application program in the application program stack; as described above.
In summary, the method and system for controlling application networking based on mobile terminal data service provided by the present invention stores the application program that has been operated in the foreground last time by establishing an application program stack, and only allows the application program to be networked when the data service is started, and only allows the application program that is being operated in the foreground to be networked later, so that the data traffic is targeted, thereby solving the problem that many applications are connected to the network at the same time when the data service is started in the prior art and consume more traffic of users.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (4)

CN201610868905.XA2016-09-302016-09-30Application networking control method and system based on mobile terminal data serviceActiveCN106445537B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610868905.XACN106445537B (en)2016-09-302016-09-30Application networking control method and system based on mobile terminal data service

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610868905.XACN106445537B (en)2016-09-302016-09-30Application networking control method and system based on mobile terminal data service

Publications (2)

Publication NumberPublication Date
CN106445537A CN106445537A (en)2017-02-22
CN106445537Btrue CN106445537B (en)2020-11-13

Family

ID=58172478

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610868905.XAActiveCN106445537B (en)2016-09-302016-09-30Application networking control method and system based on mobile terminal data service

Country Status (1)

CountryLink
CN (1)CN106445537B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102779068A (en)*2012-07-102012-11-14宇龙计算机通信科技(深圳)有限公司Mobile terminal and application program networking control method
CN103476064A (en)*2013-09-132013-12-25小米科技有限责任公司Method and device for flow control of terminal device and terminal device
CN103813269A (en)*2014-02-282014-05-21宇龙计算机通信科技(深圳)有限公司Flow management device and flow management method
CN104185305A (en)*2014-08-192014-12-03惠州Tcl移动通信有限公司Networking method for applications with priorities and mobile terminal
CN104254097A (en)*2013-06-272014-12-31腾讯科技(深圳)有限公司Flow control method and device
CN105704066A (en)*2016-01-122016-06-22北京奇虎科技有限公司Networking control method, device and system, security gateway and mobile terminal
CN105791560A (en)*2016-02-262016-07-20广东欧珀移动通信有限公司 A control method and user terminal for accessing data network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8589541B2 (en)*2009-01-282013-11-19Headwater Partners I LlcDevice-assisted services for protecting network capacity

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102779068A (en)*2012-07-102012-11-14宇龙计算机通信科技(深圳)有限公司Mobile terminal and application program networking control method
CN104254097A (en)*2013-06-272014-12-31腾讯科技(深圳)有限公司Flow control method and device
CN103476064A (en)*2013-09-132013-12-25小米科技有限责任公司Method and device for flow control of terminal device and terminal device
CN103813269A (en)*2014-02-282014-05-21宇龙计算机通信科技(深圳)有限公司Flow management device and flow management method
CN104185305A (en)*2014-08-192014-12-03惠州Tcl移动通信有限公司Networking method for applications with priorities and mobile terminal
CN105704066A (en)*2016-01-122016-06-22北京奇虎科技有限公司Networking control method, device and system, security gateway and mobile terminal
CN105791560A (en)*2016-02-262016-07-20广东欧珀移动通信有限公司 A control method and user terminal for accessing data network

Also Published As

Publication numberPublication date
CN106445537A (en)2017-02-22

Similar Documents

PublicationPublication DateTitle
EP3270619B1 (en)Network connection control method and system for mobile terminal
EP3014903B1 (en)Seamless call transitions with pre-escalation participation confirmation
CN105912370B (en)Control method and device for background application program of mobile terminal and mobile terminal
CN104951335B (en)The processing method and processing device of application program installation kit
CN105580392A (en) Seamless call switching
WO2015026674A1 (en)Seamless call transitions with escalation-aware notifications
WO2015026673A1 (en)Seamless call transitions with pinpoint call escalation
US20130310014A1 (en)Method and Mobile Terminal for Storing Memo During Call
US20160364482A9 (en)Communication System Including a Confidence Level for a Contact Type and Method of Using Same
CN103747434A (en)Relevant contact person address list automatic updating system and method in case of number change
WO2021012506A1 (en)Method and apparatus for realizing load balancing in speech recognition system, and computer device
JP2014509804A (en) Method and system for managing contact information in a universal plug and play home network environment
CN104202471A (en)Firmware upgrade processing method and system based on mobile terminal and mobile terminal
CN107277896A (en) WiFi hotspot management method, device and terminal equipment
CN106445537B (en)Application networking control method and system based on mobile terminal data service
CN117640363B (en)Micro-service configuration and management and control method and system
CN106550405B (en)Network data receiving control method and system based on mobile terminal
CN102129433A (en)Information sequencing method and apparatus
CN104767880A (en)Communication number management method
CN104346204A (en)Application software processing method and system based on mobile terminal and mobile terminal
CN103561470B (en)service operation control method and device
CN113348443B (en)Application program management method and device, storage medium and electronic equipment
CN106775849A (en) Application information processing, application installation method, device and computer equipment
US10257367B2 (en)Management of telephone calls with expenses optimization
CN106789746B (en)Method and device for managing software data flow

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp