CN106445537A - Networking control method and system based on application of mobile terminal data service - Google Patents
Networking control method and system based on application of mobile terminal data service Download PDFInfo
- Publication number
- CN106445537A CN106445537A CN201610868905.XA CN201610868905A CN106445537A CN 106445537 A CN106445537 A CN 106445537A CN 201610868905 A CN201610868905 A CN 201610868905A CN 106445537 A CN106445537 A CN 106445537A
- Authority
- CN
- China
- Prior art keywords
- application program
- application
- stack pointer
- data service
- 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.)
- 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/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/482—Application
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)
- Telephone Function (AREA)
- Stored Programmes (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a networking control method and system based on the application of a mobile terminal data service. The method includes the following steps: establishing an application program stack in advance, wherein the application program stack comprises a top pointer of the stack, the top pointer of the stack points to the last application program operated in the foreground; if no application program is operated in the foreground and background of a mobile terminal, the top pointer of the stack points to nothing; if it is determined that the data service is enabled, obtaining the application program pointed by the top pointer of the stack in the application program stack; if the top pointer of the stack points to nothing, returning null; only connecting the application program pointed by the top pointer of the stack to the network, and disconnecting other application programs with the network. The networking control method and system based on the application of a mobile terminal data service aims to solve such a problem in the prior art that it takes users more network traffic due to the simultaneous connection of various applications to the network when the data service is opened.
Description
Technical field
The present invention relates to technical field of mobile terminals, in particular a kind of application based on mobile terminal data service
Networking control method and system.
Background technology
Mobile terminal is more and more universal, and mobile terminal is networked by the network that operator provides by data service
Through becoming one of the most frequently used network access.During routine use, user handles data traffic often at operator
Set meal, uses campus network in set meal to fix for one month, but during flow, user needs to pay to operator high in beyond set meal
Expensive expense.When flow in user will make to be finished set meal, generally require and careful use data service to avoid flow to exceed;
Therefore to saving flow, user only can just understand turn-on data business when needs use flow, and such as user needs to use micro-
Just understand turn-on data business during letter chat, and close data service other moment user;But the situation of reality is not satisfactory,
When user's turn-on data business, various application programs also by from the flow being dynamically connected network and consuming user, even there will be
User itself merely desires to clockwork spring wechat information but consumes when turn-on data business compared with various flow.
Therefore, prior art has yet to be improved and developed.
Content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, provides a kind of whole based on moving
The application networking control method of end data business and system.The present invention provides a kind of application based on mobile terminal data service even
Network control method, it is intended to multiple application when solving data service unlatching in prior art are simultaneously connected with network consuming user compared with multithread
The problem of amount.
It is as follows that the present invention solves the technical scheme that technical problem used:
A kind of application networking control method based on mobile terminal data service, wherein, including:
A, pre-builds application heap;Described application heap, including top-of-stack pointer, described top-of-stack pointer points to recently
The application program of front stage operation;If mobile terminal Foreground and Background does not all run application program, top-of-stack pointer is sky;
B, when detecting that data service is enabled, obtain the application program that top-of-stack pointer in described application heap points to;
If top-of-stack pointer is sky, return sky;
C, the application program only pointed to described top-of-stack pointer open networking, to the application program pointed to except described top-of-stack pointer it
Outer application program is turned off networking.
The described application networking control method based on mobile terminal data service, wherein, also includes after described step C:
Step D, when data service is in opening, and the application program that described top-of-stack pointer points to changes, only to working as
The application program that front top-of-stack pointer points to opens networking, and the application program outside the application program point to current top-of-stack pointer is equal
Close networking.
The described application networking control method based on mobile terminal data service, wherein, also includes after described step C:
Step S, when data service is in opening, and the application program that described top-of-stack pointer points to changes, it is right to increase
The application program that current top-of-stack pointer points to opens networking, all after data service is opened once were switched to foreground or newly opened
Application program all open networking, remaining applications be turned off networking.
The described application networking control method based on mobile terminal data service, wherein, described application heap, it is used for
Preserve user's in chronological sequence order, once in the application program of front stage operation, to be placed in from the nearest front stage operation program of current time
Stack top, then preserves, by the distance of distance current time, the application program once crossed at front stage operation in application heap;
Once in the application program of front stage operation distance current time remote come following, distance near the coming above of current time;When
It when the application program preserving in application heap is closed, is deleted in application heap.
A kind of application networking control system based on mobile terminal data service, wherein, including:
Pre-build module, be used for pre-building application heap;Described application heap, including top-of-stack pointer, described
Top-of-stack pointer points to the application program of the last front stage operation;If mobile terminal Foreground and Background does not all run application program,
Top-of-stack pointer is sky;
Acquisition module, for when detecting that data service is enabled, obtains top-of-stack pointer in described application heap and points to
Application program;If top-of-stack pointer is sky, return sky;
Control module, opens networking for the application program only pointed to described top-of-stack pointer, points to except described top-of-stack pointer
Application program outside application program be turned off networking.
The described application networking control system based on mobile terminal data service, wherein, also includes:
Data service the first switch module, for being in opening when data service, the application journey that described top-of-stack pointer points to
When sequence changes, the application program only pointed to current top-of-stack pointer opens networking, the application pointing to current top-of-stack pointer
Application program outside program is turned off networking.
The described application networking control system based on mobile terminal data service, wherein, also includes:
Data service second switch module, when data service is in opening, the application program that described top-of-stack pointer points to is sent out
Raw when changing, increase the application program pointing to current top-of-stack pointer and open networking, all after data service is opened once cut
Shifting to foreground or the new application program opened all opening networking, remaining applications is turned off networking.
The described application networking control system based on mobile terminal data service, wherein, described application heap, it is used for
Preserve user's in chronological sequence order, once in the application program of front stage operation, to be placed in from the nearest front stage operation program of current time
Stack top, then preserves, by the distance of distance current time, the application program once crossed at front stage operation in application heap;
Once in the application program of front stage operation distance current time remote come following, distance near the coming above of current time;When
It when the application program preserving in application heap is closed, is deleted in application heap.
Application networking control method based on mobile terminal data service provided by the present invention and system, described method is led to
Cross and set up the application program that application heap preserves the last front stage operation, only allow when turn-on data business this to answer
Network by program, and the application program only allowing foreground to be currently running afterwards network, and makes data traffic use and has specific aim,
Thus multiple application are simultaneously connected with the problem compared with various flow for the network consuming user when solving data service unlatching in prior art.
Brief description
Fig. 1 is the flow process of the preferred embodiment based on the application networking control method of mobile terminal data service for the present invention
Figure.
Fig. 2 ~ Fig. 5 is the present invention answering based on the preferred embodiment of the application networking control method of mobile terminal data service
Use program stack example schematic diagram.
Fig. 6 is the flow process of the preferred embodiment based on the application networking control method of mobile terminal data service for the present invention
Figure.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings
The present invention further describes.It should be appreciated that specific embodiment described herein, and need not only in order to explaining the present invention
In the restriction present invention.
Referring to Fig. 1, Fig. 1 is the preferable enforcement based on the application networking control method of mobile terminal data service for the present invention
The flow chart of example.As it is shown in figure 1, the application networking controlling party based on mobile terminal data service described in the embodiment of the present invention
Method, comprises the following steps:
S100, pre-builds application heap;Described application heap, including top-of-stack pointer, described top-of-stack pointer points to
The application program of the last front stage operation;If mobile terminal Foreground and Background does not all run application program, top-of-stack pointer is sky;
Described application heap, for preserving user, in chronological sequence order is once in the application program of front stage operation, from currently
Time nearest front stage operation program is placed in stack top, then preserves once in application heap by the distance of distance current time
Application program through crossing at front stage operation;Once in the application program of front stage operation distance current time remote come following, away from
Coming above close to current time;When the application program preserving in application heap is closed, in application heap
In be deleted.Such as, user first opens wechat then application heap now top-of-stack pointer sensing wechat as shown in Figure 2, connects
And open Alipay, Jingdone district, high moral map then application heap now top-of-stack pointer sensing high moral ground as shown in Figure 3 successively again
Figure, if Jingdone district that now user's closedown is in backstage deletes Jingdone district, application heap such as Fig. 4 in application heap
Shown in now top-of-stack pointer still point to high moral map, if then user turns off high moral map, application heap such as Fig. 5
Shown in now top-of-stack pointer point to Alipay.
S200, when detecting that data service is enabled, obtain that top-of-stack pointer in described application heap points to should
Use program;If top-of-stack pointer is sky, return sky.
As in figure 2 it is shown, when detecting that data service is enabled, obtain top-of-stack pointer in described application heap and point to
Application program be wechat.
As it is shown on figure 3, when detecting that data service is enabled, obtain top-of-stack pointer in described application heap and point to
Application program be high moral map.
As it is shown in figure 5, when detecting that data service is enabled, obtain top-of-stack pointer in described application heap and point to
Application program be Alipay.
S300, the application program only pointed to described top-of-stack pointer is opened networking, is answered to except described top-of-stack pointer sensing
It is turned off networking by the application program outside program;
Such as, current application program storehouse now top-of-stack pointer sensing Alipay as shown in Figure 5, then only open even to Alipay
Net, is turned off networking to the application program in addition to Alipay.
As it is shown on figure 3, the top-of-stack pointer of current application program storehouse points to high moral map, then only high moral map is opened even
Net, is turned off networking to the application program in addition to high moral map.
S400 is when data service is in opening, and the application program that described top-of-stack pointer points to changes, only right
The application program that current top-of-stack pointer points to opens networking, the application program outside the application program point to current top-of-stack pointer
It is turned off networking.
It is to say, user is after turn-on data business, the application program always only pointed to current top-of-stack pointer is opened
Opening networking, the application program outside the application program point to current top-of-stack pointer is turned off networking.
Certainly, another ground embodiment as the inventive method, if user needs multiple application program and networks
When, the present embodiment also provides step S500 as follows, it should be noted that step S400 and both steps S500 can only select one.
S500, when data service is in opening, and the application program that described top-of-stack pointer points to changes, increases
To current top-of-stack pointer point to application program open networking, say, that data service open after all be once switched to before
Platform or the new application program opened all open networking, and remaining applications is turned off networking.
Therefore, the present invention provides a kind of application networking control method based on mobile terminal data service, it is intended to solve
Multiple application when certainly data service is opened in prior art are simultaneously connected with the problem compared with various flow for the network consuming user.
Based on said method embodiment, present invention also offers a kind of application networking control based on mobile terminal data service
System processed, as shown in Figure 6, described system includes:
Pre-build module 210, be used for pre-building application heap;Described application heap, including top-of-stack pointer, institute
State top-of-stack pointer and point to the application program of the last front stage operation;If mobile terminal Foreground and Background does not all run application program
Then top-of-stack pointer is sky;As detailed above.
Acquisition module 220, for when detecting that data service is enabled, obtains stack top in described application heap and refers to
The application program that pin points to;If top-of-stack pointer is sky, return sky;As detailed above.
Control module 230, opens networking for the application program only pointed to described top-of-stack pointer, refers to except described stack top
Application program outside the application program that pin points to is turned off networking;As detailed above.
Further, the described application networking control system based on mobile terminal data service, wherein, also includes:
Data service the first switch module, for being in opening when data service, the application journey that described top-of-stack pointer points to
When sequence changes, the application program only pointed to current top-of-stack pointer opens networking, the application pointing to current top-of-stack pointer
Application program outside program is turned off networking;As detailed above.
Further, the described application networking control system based on mobile terminal data service, wherein, also includes:
Data service second switch module, when data service is in opening, the application program that described top-of-stack pointer points to is sent out
Raw when changing, increase the application program pointing to current top-of-stack pointer and open networking, all after data service is opened once cut
Shifting to foreground or the new application program opened all opening networking, remaining applications is turned off networking;As detailed above.
Further, the described application networking control system based on mobile terminal data service, wherein, described application program
Storehouse, for preserving user's in chronological sequence order once in the application program of front stage operation, from the nearest foreground fortune of current time
Line program is placed in stack top, then preserves in application heap by the distance of distance current time and once crossed at front stage operation
Application program;Once in the application program of front stage operation distance current time remote come following, the distance near row of current time
Above;It when the application program preserving in application heap is closed, is deleted in application heap;Specifically such as
Upper described.
In sum, the application networking control method based on mobile terminal data service provided by the present invention and system,
Described method is preserved the application program of the last front stage operation by setting up application heap, when turn-on data business
Only allow this application program to network, and the application program only allowing foreground to be currently running afterwards networks, and makes data traffic use
There is specific aim, thus when solving data service unlatching in prior art, multiple application are simultaneously connected with network consuming user compared with multithread
The problem of amount.
Certainly, one of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program to instruct related hardware(Such as processor, controller etc.)Completing, described program can store
In the storage medium of an embodied on computer readable, this program can include upon execution such as the flow process of above-mentioned each method embodiment.Its
Described in storage medium can be memory, magnetic disc, CD etc..
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention
Protect scope.
Claims (8)
1. the application networking control method based on mobile terminal data service, it is characterised in that include:
A, pre-build application heap;Described application heap, including top-of-stack pointer, described top-of-stack pointer points to recently
The application program of front stage operation;If mobile terminal Foreground and Background does not all run application program, top-of-stack pointer is sky;
B, when detecting that data service is enabled, obtain the application program that top-of-stack pointer in described application heap points to;
If top-of-stack pointer is sky, return sky;
C, the application program only pointed to described top-of-stack pointer open networking, to the application program pointed to except described top-of-stack pointer it
Outer application program is turned off networking.
2. according to claim 1 based on the application networking control method of mobile terminal data service, it is characterised in that described
Also include after step C:
Step D, when data service is in opening, and the application program that described top-of-stack pointer points to changes, only to working as
The application program that front top-of-stack pointer points to opens networking, and the application program outside the application program point to current top-of-stack pointer is equal
Close networking.
3. according to claim 1 based on the application networking control method of mobile terminal data service, it is characterised in that described
Also include after step C:
Step S, when data service is in opening, and the application program that described top-of-stack pointer points to changes, it is right to increase
The application program that current top-of-stack pointer points to opens networking, all after data service is opened once were switched to foreground or newly opened
Application program all open networking, remaining applications be turned off networking.
4. according to claim 1 based on the application networking control method of mobile terminal data service, it is characterised in that described
Application heap, for preserving user, in chronological sequence order is once in the application program of front stage operation, nearest from current time
Front stage operation program be placed in stack top, then by distance current time distance preserve in application heap once on foreground
The application program run;Once in the application program of front stage operation distance current time remote come following, apart from current when
Between near coming above;When the application program preserving in application heap is closed, deleted in application heap
Remove.
5. the application networking control system based on mobile terminal data service, it is characterised in that include:
Pre-build module, be used for pre-building application heap;Described application heap, including top-of-stack pointer, described
Top-of-stack pointer points to the application program of the last front stage operation;If mobile terminal Foreground and Background does not all run application program,
Top-of-stack pointer is sky;
Acquisition module, for when detecting that data service is enabled, obtains top-of-stack pointer in described application heap and points to
Application program;If top-of-stack pointer is sky, return sky;
Control module, opens networking for the application program only pointed to described top-of-stack pointer, points to except described top-of-stack pointer
Application program outside application program be turned off networking.
6. according to claim 5 based on the application networking control system of mobile terminal data service, it is characterised in that also wrap
Include:
Data service the first switch module, for being in opening when data service, the application journey that described top-of-stack pointer points to
When sequence changes, the application program only pointed to current top-of-stack pointer opens networking, the application pointing to current top-of-stack pointer
Application program outside program is turned off networking.
7. according to claim 5 based on the application networking control system of mobile terminal data service, it is characterised in that also wrap
Include:
Data service second switch module, when data service is in opening, the application program that described top-of-stack pointer points to is sent out
Raw when changing, increase the application program pointing to current top-of-stack pointer and open networking, all after data service is opened once cut
Shifting to foreground or the new application program opened all opening networking, remaining applications is turned off networking.
8. according to claim 5 based on the application networking control system of mobile terminal data service, it is characterised in that described
Application heap, for preserving user, in chronological sequence order is once in the application program of front stage operation, nearest from current time
Front stage operation program be placed in stack top, then by distance current time distance preserve in application heap once on foreground
The application program run;Once in the application program of front stage operation distance current time remote come following, apart from current when
Between near coming above;When the application program preserving in application heap is closed, deleted in application heap
Remove.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610868905.XA CN106445537B (en) | 2016-09-30 | 2016-09-30 | Application networking control method and system based on mobile terminal data service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610868905.XA CN106445537B (en) | 2016-09-30 | 2016-09-30 | Application networking control method and system based on mobile terminal data service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106445537A true CN106445537A (en) | 2017-02-22 |
CN106445537B CN106445537B (en) | 2020-11-13 |
Family
ID=58172478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610868905.XA Active CN106445537B (en) | 2016-09-30 | 2016-09-30 | Application networking control method and system based on mobile terminal data service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445537B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102779068A (en) * | 2012-07-10 | 2012-11-14 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and application program networking control method |
CN103476064A (en) * | 2013-09-13 | 2013-12-25 | 小米科技有限责任公司 | Method and device for flow control of terminal device and terminal device |
CN103813269A (en) * | 2014-02-28 | 2014-05-21 | 宇龙计算机通信科技(深圳)有限公司 | Flow management device and flow management method |
CN104185305A (en) * | 2014-08-19 | 2014-12-03 | 惠州Tcl移动通信有限公司 | Networking method for applications with priorities and mobile terminal |
CN104254097A (en) * | 2013-06-27 | 2014-12-31 | 腾讯科技(深圳)有限公司 | Flow control method and device |
US20150207686A1 (en) * | 2009-01-28 | 2015-07-23 | Headwater Partners I Llc | Wireless end-user device with differentiated network access and access status for background and foreground device applications |
CN105704066A (en) * | 2016-01-12 | 2016-06-22 | 北京奇虎科技有限公司 | Networking control method, device and system, security gateway and mobile terminal |
CN105791560A (en) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | Data network access control method and user terminal |
-
2016
- 2016-09-30 CN CN201610868905.XA patent/CN106445537B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150207686A1 (en) * | 2009-01-28 | 2015-07-23 | Headwater Partners I Llc | Wireless end-user device with differentiated network access and access status for background and foreground device applications |
CN102779068A (en) * | 2012-07-10 | 2012-11-14 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and application program networking control method |
CN104254097A (en) * | 2013-06-27 | 2014-12-31 | 腾讯科技(深圳)有限公司 | Flow control method and device |
CN103476064A (en) * | 2013-09-13 | 2013-12-25 | 小米科技有限责任公司 | Method and device for flow control of terminal device and terminal device |
CN103813269A (en) * | 2014-02-28 | 2014-05-21 | 宇龙计算机通信科技(深圳)有限公司 | Flow management device and flow management method |
CN104185305A (en) * | 2014-08-19 | 2014-12-03 | 惠州Tcl移动通信有限公司 | Networking method for applications with priorities and mobile terminal |
CN105704066A (en) * | 2016-01-12 | 2016-06-22 | 北京奇虎科技有限公司 | Networking control method, device and system, security gateway and mobile terminal |
CN105791560A (en) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | Data network access control method and user terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106445537B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3270619B1 (en) | Network connection control method and system for mobile terminal | |
US20170142159A1 (en) | Secure element management method and terminal | |
US9497620B2 (en) | Method and system for implementing smart card remote operation based on smart card web server | |
CN103228058A (en) | Method of managing connectivity status within a mobile radio communications device | |
CN105791560B (en) | A kind of access data network-based control method and user terminal | |
CN104935732B (en) | The control method of a kind of offline mode and mobile terminal | |
CN107948949A (en) | Network management, mobile terminal and device | |
CN108769980A (en) | Data channel switching method and terminal | |
CN104918225A (en) | Implementation method and device of bi-pass function of double-card single-pass terminal | |
CN105376785B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105554824B (en) | A kind of method and device of radio frequency link control | |
CN107678851A (en) | A kind of method and first terminal for opening application program | |
CN101742701A (en) | Device, method and system for treating AT command | |
CN103607662A (en) | Method and apparatus for communication protocol control in intelligent television equipment | |
CN106027294A (en) | Firmware loading method and system for terminal network access | |
CN106254282B (en) | The implementation method and device of link aggregation | |
CN108419258A (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN106445537A (en) | Networking control method and system based on application of mobile terminal data service | |
CN1829231B (en) | Method and apparatus for direct reception of inbound data | |
CN107484151A (en) | A kind of SIM card networking control method | |
CN110650546A (en) | File transmission method, device, storage medium and terminal | |
CN106488269A (en) | System and method to television equipment control is realized based on third-party application platform | |
CN101082969A (en) | Method and system for categorized displaying multiple sets kalendar affair in unified kalendar views | |
CN106209634A (en) | The learning method of address mapping relation and device | |
CN102004665A (en) | Task concurrent processing method in workflow system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |