CN106100865A - Authorization method, server and the terminal device that focus is shared - Google Patents
Authorization method, server and the terminal device that focus is shared Download PDFInfo
- Publication number
- CN106100865A CN106100865A CN201610350285.0A CN201610350285A CN106100865A CN 106100865 A CN106100865 A CN 106100865A CN 201610350285 A CN201610350285 A CN 201610350285A CN 106100865 A CN106100865 A CN 106100865A
- Authority
- CN
- China
- Prior art keywords
- customer
- terminal device
- package information
- authorization
- flow package
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/28—Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1432—Metric aspects
- H04L12/1435—Metric aspects volume-based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/88—Provision for limiting connection, or expenditure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2463/00—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
- H04L2463/081—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying self-generating credentials, e.g. instead of receiving credentials from an authority or from another peer, the credentials are generated at the entity itself
Abstract
The first authorization requests that the focus that authorization method, server and the terminal device that the focus that the present invention provides is shared is sent by receiving terminal is shared;Inquiry obtains and CUSTOMER ID corresponding first user flow package information, determines whether that focus sharing functionality opened by terminal device according to first user flow package information;Send the first Authorization result to terminal device;Receive the validity request of the first Authorization result that terminal sends;Inquiry obtains and the corresponding second customer flow package information of CUSTOMER ID, it is determined that whether first user flow package information mates with the second customer flow package information;If coupling, then to terminal transmission the first Authorization result effective validity instruction information.Thus by focus sharing functionality whether can be opened to terminal carrying out judging and authorizing, simultaneously according to the availability deciding to Authorization result, and then mitigate network operation pressure, improve the quality of network operation.
Description
Technical field
The present invention relates to WLAN application, particularly relate to authorization method, server that a kind of focus is shared
And terminal device.
Background technology
With the fast development of mobile communication and mobile Internet business, user is more next to mobile network communication traffic demand
Bigger, for adaptation to market variations and meet user's request, communication operator is proposed the packaged service of high amount of traffic amount, and
And providing user after it has handled the packaged service of high amount of traffic amount, its terminal device can be as mobile focus, for other
Its service traffics shared by the terminal device of user, carry out online application.
But, when there is multiple mobile focus in a certain regional extent, there is multiple user to use same terminal to set simultaneously
During standby mobile focus sharing functionality, it will huge communication pressure is caused to mobile communications network in this regional extent, thus
Cause the paralysis of communication network in region.
Content of the invention
For above-mentioned mention terminal device is shared as mobile focus to carry out focus due to terminal use, thus lead
The mobile communications network causing bears huge communication pressure, and the problem easily causing the paralysis of communication network the invention provides
Authorization method, server and the terminal device that a kind of focus is shared.
The authorization method that a kind of focus that the present invention provides is shared, comprising:
The first authorization requests that the focus that receiving terminal apparatus sends is shared, includes terminal in described first authorization requests
The CUSTOMER ID of user;
Inquiry obtains and described CUSTOMER ID corresponding first user flow package information, according to described first user stream
Amount package information determines whether that focus sharing functionality opened by described terminal device;
If allowing, then send to described terminal device and authorize successful first Authorization result, so that described terminal device energy
Enough open focus sharing functionality;If not allowing, then send the first Authorization result of authorization failure to described terminal device, so that institute
State terminal device to forbid opening focus sharing functionality;
Receiving the validity request of the first Authorization result that described terminal device sends, the request of described validity includes institute
State CUSTOMER ID;
Inquiry obtains and the corresponding second customer flow package information of described CUSTOMER ID, it is determined that described first user stream
Whether amount package information mates with described second customer flow package information;
If coupling, then to described terminal device transmission the first Authorization result effective validity instruction information, so that described
Terminal device performs described first Authorization result.
Further, described determine whether that described terminal device is opened according to described first user flow package information
Focus sharing functionality, comprising:
According to the corresponding relation between described first user flow package information and the first flag, it is determined whether allow institute
State terminal device and open focus sharing functionality;
If described first flag is characterized as a high position, then described terminal device is allowed to open focus sharing functionality;
If described first flag is characterized as low level, then described terminal device is not allowed to open focus sharing functionality;
Accordingly, it is determined that whether described first user flow package information and described second customer flow package information be
Join, comprising:
Judge and corresponding first flag of described first user flow package information and described second customer flow set meal
Whether corresponding second flag of information is consistent;
If consistent, then judge that described first user flow package information is mated with described second customer flow package information;
If inconsistent, then judge that described first user flow package information is not mated with described second customer flow package information.
Further, described customer flow package information includes residual flow;
Accordingly, described inquiry obtains and described CUSTOMER ID corresponding first user flow package information, comprising:
Inquiry obtains and corresponding first residual flow of described CUSTOMER ID;
Corresponding relation between described first user flow package information and the first flag, comprising:
When described first residual flow is less than preset flow threshold value, then the first flag is a high position;
When described first residual flow is more than or equal to described preset flow threshold value, then the first flag is low level;
Described inquiry obtains and the corresponding second customer flow package information of described CUSTOMER ID, comprising:
Inquiry obtains and corresponding second residual flow of described CUSTOMER ID;
When described second residual flow is less than preset flow threshold value, then the second flag is a high position;
When described second residual flow is more than or equal to described preset flow threshold value, then the second flag is low level.
Further, the described first user flow package information of described judgement with described second customer flow package information is
No coupling, also includes:
When judging that described first user flow package information is not mated with described second customer flow package information, then to
Described terminal device sends the invalid validity instruction information of the first Authorization result and the second Authorization result, so that described terminal sets
Described second Authorization result of standby execution;Wherein, described second Authorization result is true according to described second customer flow package information
Determine whether to allow described terminal device to obtain after opening focus sharing functionality.
Further, described inquiry obtains and before described CUSTOMER ID corresponding first user flow package information,
Also include:
Obtain first network quality information;
When described first network quality information instruction network quality is less than predetermined quality threshold, send out to described terminal device
Send the first Authorization result of authorization failure, so that described terminal device is forbidden opening focus sharing functionality;
Accordingly, described inquiry obtains and before the corresponding second customer flow package information of described CUSTOMER ID, also
Including:
Obtain the second network quality information;
When described second network quality information instruction network quality is less than described predetermined quality threshold, set to described terminal
Preparation send the second Authorization result of the validity instruction information that the first Authorization result is invalid and authorization failure, so that described terminal sets
Standby forbidding opens focus sharing functionality.
The authorization method that the another kind of focus that the present invention also provides is shared, comprising:
Sending, to server, the first authorization requests that focus is shared, described first authorization requests includes the use of terminal use
Family identification code;
Receive and perform the first Authorization result that described server sends;If described first Authorization result is for authorizing successfully,
Terminal device is then allowed to open focus sharing functionality;If described first Authorization result is authorization failure, then forbid that terminal device is opened
Open focus sharing functionality;Wherein, described first Authorization result is that described server is inquiring about acquisition according to described CUSTOMER ID
After described CUSTOMER ID corresponding first user flow package information, true according to described first user flow package information
Determine whether to allow described terminal device to send after opening focus sharing functionality;
To the validity request of the first Authorization result that server sends, the request of described validity includes that described user knows
Other code;
Receive the validity instruction information of the first Authorization result that described server sends;Wherein, described validity instruction
Information is that described server is inquiring about acquisition second user stream corresponding with described CUSTOMER ID according to described CUSTOMER ID
After amount package information, after determining that whether described first user flow package information is consistent with described second customer flow package information
Send;
If it is effective that described validity instruction information is the first Authorization result, then perform described first Authorization result.
A kind of server that the present invention provides, comprising:
Receiver module, the first authorization requests shared for the focus that receiving terminal apparatus sends, described first mandate please
The CUSTOMER ID of terminal use is included in asking;
Determination module, is used for inquiring about acquisition and described CUSTOMER ID corresponding first user flow package information, according to
Described first user flow package information determines whether that focus sharing functionality opened by described terminal device;If allow, then to
Described terminal device sends and authorizes successful first Authorization result, so that described terminal device can open focus sharing functionality;
If not allowing, then send the first Authorization result of authorization failure to described terminal device, so that described terminal device is forbidden opening
Focus sharing functionality;
Described receiver module, is additionally operable to receive the validity request of the first Authorization result that described terminal device sends, institute
State validity request and include described CUSTOMER ID;
Described determination module, is additionally operable to inquiry and obtains second customer flow set meal letter corresponding with described CUSTOMER ID
Breath, it is determined that whether described first user flow package information mates with described second customer flow package information;If coupling, then to
Described terminal device transmission the first Authorization result effective validity instruction information, so that described terminal device performs described first
Authorization result.
Further, described customer flow package information includes residual flow;
Described determination module, is additionally operable to:
According to the corresponding relation between described first user flow package information and the first flag, it is determined whether allow institute
State terminal device and open focus sharing functionality;
If described first flag is characterized as a high position, then described terminal device is allowed to open focus sharing functionality;
If described first flag is characterized as low level, then described terminal device is not allowed to open focus sharing functionality;
Judge and corresponding first flag of described first user flow package information and described second customer flow set meal
Whether corresponding second flag of information is consistent;
If consistent, then judge that described first user flow package information is mated with described second customer flow package information;
If inconsistent, then judge that described first user flow package information is not mated with described second customer flow package information;
Described determination module, is additionally operable to:
Inquiry obtains and corresponding first residual flow of described CUSTOMER ID;
When described first residual flow is less than preset flow threshold value, then the first flag is a high position;
When described first residual flow is more than or equal to described preset flow threshold value, then the first flag is low level;
Inquiry obtains and corresponding second residual flow of described CUSTOMER ID;
When described second residual flow is less than preset flow threshold value, then the second flag is a high position;
When described second residual flow is more than or equal to described preset flow threshold value, then the second flag is low level.
Described determination module, is additionally operable to:
When judging that described first user flow package information is not mated with described second customer flow package information, then to
Described terminal device sends the invalid validity instruction information of the first Authorization result and the second Authorization result, so that described terminal sets
Described second Authorization result of standby execution;Wherein, described second Authorization result is true according to described second customer flow package information
Determine whether to allow described terminal device to obtain after opening focus sharing functionality.
Further, server also includes network quality determination module, is used for:
Obtain first network quality information;
When described first network quality information instruction network quality is less than predetermined quality threshold, described determination module is to institute
State terminal device and send the first Authorization result of authorization failure, so that described terminal device is forbidden opening focus sharing functionality;
Described network quality determination module, is additionally operable to:
Obtain the second network quality information;
When described second network quality information instruction network quality is less than described predetermined quality threshold, described determination module
Send the second Authorization result of the invalid validity instruction information of the first Authorization result and authorization failure to described terminal device, with
Described terminal device is made to forbid opening focus sharing functionality.
A kind of terminal device that the present invention provides, comprising:
Authorization module, for sending, to server, the first authorization requests that focus is shared, wraps in described first authorization requests
Include the CUSTOMER ID of terminal use;
Perform module, for receiving and performing the first Authorization result that described server sends;If described first authorizes knot
Fruit for authorizing successfully, then allows terminal device to open focus sharing functionality;If described first Authorization result is authorization failure, then prohibit
Only focus sharing functionality opened by terminal device;Wherein, described first Authorization result is that described server is being known according to described user
The inquiry of other code obtains and after described CUSTOMER ID corresponding first user flow package information, according to described first user stream
Amount package information determines whether what described terminal device sent after opening focus sharing functionality;
Described authorization module, is additionally operable to the validity request of the first Authorization result sending to server, described validity
Request includes described CUSTOMER ID;
Described execution module, is additionally operable to receive the validity instruction information of the first Authorization result that described server sends;
Wherein, described validity instruction information is that described server is inquiring about acquisition and described user identification according to described CUSTOMER ID
After the corresponding second customer flow package information of code, determine described first user flow package information and described second customer flow
Send after whether package information is consistent;If described validity instruction information is that the first Authorization result is effective, then perform described the
One Authorization result.
Authorization method, server and the terminal device that the focus that the present invention provides is shared is sent by receiving terminal apparatus
The first authorization requests that focus is shared, includes the CUSTOMER ID of terminal use in described first authorization requests;Inquiry obtains
It with described CUSTOMER ID corresponding first user flow package information, according to the determination of described first user flow package information is
Focus sharing functionality opened by the described terminal device of no permission;If allowing, then send to described terminal device and authorize successful first
Authorization result, so that described terminal device can open focus sharing functionality;If not allowing, then send to described terminal device and award
Weigh the first Authorization result unsuccessfully, so that described terminal device is forbidden opening focus sharing functionality;Receive described terminal device to send out
The validity request of the first Authorization result sending, the request of described validity includes described CUSTOMER ID;Inquiry obtains and institute
State the corresponding second customer flow package information of CUSTOMER ID, it is determined that described first user flow package information and described second
Whether customer flow package information mates;If coupling, then to the effective validity of described terminal device transmission the first Authorization result
Instruction information, so that described terminal device performs described first Authorization result.Thus by according to customer flow package information
Whether can open focus sharing functionality to terminal device to carry out judging and authorizing, the validity to Authorization result for the basis is sentenced simultaneously
Fixed, make Authorization result can be updated according to current customer flow package information, and then mitigate and bring because focus shares
Network operation pressure, improves the quality of network operation.
Brief description
The schematic flow sheet of the authorization method that Fig. 1 shares for a kind of focus that the embodiment of the present invention one provides;
The schematic flow sheet of the authorization method that Fig. 2 shares for a kind of focus that the embodiment of the present invention two provides;
The schematic flow sheet of the authorization method that Fig. 3 shares for another focus that the embodiment of the present invention two provides;
The schematic flow sheet of the authorization method that Fig. 4 shares for a kind of focus that the embodiment of the present invention three provides;
The structural representation of a kind of server that Fig. 5 provides for the embodiment of the present invention four;
The structural representation of a kind of terminal device that Fig. 6 provides for the embodiment of the present invention five.
Detailed description of the invention
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described.
The schematic flow sheet of the authorization method that Fig. 1 shares for a kind of focus that the embodiment of the present invention one provides, such as Fig. 1 institute
Showing, the authorization method that the focus that the present embodiment one provides is shared comprises the steps:
The first authorization requests that the focus that step 101, receiving terminal apparatus send is shared, wraps in described first authorization requests
Include the CUSTOMER ID of terminal use.
The executive agent of the authorization method that the focus that the present embodiment one provides is shared is server, and concretely operator carries
The system of confession, the server etc. that Network Provider provides.
Concrete, that focus that receiving terminal apparatus is sent by server is shared the first authorization requests, this first authorizes and asks
The CUSTOMER ID of terminal use is included in asking.Wherein, this CUSTOMER ID indication can be the telephone number of user, for example,
Used in terminal device is usim card, then this CUSTOMER ID can be the Mobile Subscriber International ISDN Number of usim card, and Mobile Subscriber International ISDN Number
The EF_MSISDN file in usim card can be read by terminal use to obtain.
Step 102, inquiry obtain and described CUSTOMER ID corresponding first user flow package information, according to described the
One customer flow package information determines whether that focus sharing functionality opened by described terminal device.
After server receives the first authorization requests, inquiry obtains and this CUSTOMER ID corresponding first user flow package
Information.Concrete, can pass through to search and the corresponding user profile of this CUSTOMER ID in information database or in support system,
And in user profile, select first user flow package information.Server, will after obtaining first user flow package information
Unlatching focus sharing functionality whether is allowed to judge on the terminal device of this terminal use.
If step 103 allows, then send to described terminal device and authorize successful first Authorization result, so that described end
End equipment can open focus sharing functionality;If not allowing, then send the first mandate knot of authorization failure to described terminal device
Really, so that described terminal device is forbidden opening focus sharing functionality.
Concrete, when result of determination is for allowing terminal device unlatching focus to share, then sends to terminal device and authorize into
First Authorization result of work(, so that when terminal use is when triggering focus shares open command, terminal device is able to carry out opening
Instruction;Accordingly, when result of determination is not for allowing terminal device unlatching focus to share, then authorization failure is sent to terminal device
The first Authorization result so that when terminal use trigger focus share open command when, this open command ignored by terminal device.
Step 104, the validity request receiving the first Authorization result that described terminal device sends, described validity is asked
Include described CUSTOMER ID.
Concrete, over time, become, the validity of the first Authorization result that receiving terminal apparatus is sent by server
Request, this validity is asked for asking to judge that whether the first Authorization result that terminal device receives is still effective in this moment,
The request of this validity includes described CUSTOMER ID.Accordingly, this CUSTOMER ID obtains mode and the phase in step 101
Seemingly, do not repeat at this.
Step 105, inquiry obtain and the corresponding second customer flow package information of described CUSTOMER ID, it is determined that described the
Whether one customer flow package information mates with described second customer flow package information.
Inquiry, after the validity receiving this first Authorization result is asked, is obtained and this CUSTOMER ID pair by server
The the second customer flow package information answered.This second customer flow package information is the customer flow package information in this moment,
This second customer flow package information may be with first user flow package information matches, it is also possible to do not mate.Server will
Whether described first user flow package information is mated with described second customer flow package information and judges.
If step 106 is mated, then to described terminal device transmission the first Authorization result effective validity instruction information,
So that described terminal device performs described first Authorization result.
If server judges that described first user flow package information is mated with described second customer flow package information, then
To terminal device transmission the first Authorization result effective validity instruction information, terminal device will indicate information according to this validity
Perform the first Authorization result.
The first authorization requests that above-mentioned embodiment is shared by the focus that receiving terminal apparatus sends, according to described first
Customer flow package information determines whether that focus sharing functionality opened by described terminal device, and sends first to terminal device
Authorization result;Receive the validity request of the first Authorization result that described terminal device sends, it is determined that described first user flow
Whether package information mates with described second customer flow package information;If coupling, then send first to described terminal device and award
Power result effective validity instruction information, so that described terminal device performs described first Authorization result.Thus passing through root
Whether can open focus sharing functionality according to customer flow package information to terminal device to carry out judging and authorizing, simultaneously according to right
The availability deciding of Authorization result, makes Authorization result can be updated according to current customer flow package information, and then mitigates
The network operation pressure bringing because focus shares, improves the quality of network operation.
Further, may also include that when the described first user flow package information of judgement is used with described second in step 105
When family flow package information is not mated, then to described terminal device send the first Authorization result invalid validity instruction information and
Second Authorization result, so that described terminal device performs described second Authorization result;Wherein, described second Authorization result is basis
Described second customer flow package information determines whether what described terminal device obtained after opening focus sharing functionality.
Concrete, if server judges described first user flow package information and described second customer flow package information
When not mating, while sending the invalid validity instruction information of the first Authorization result to terminal device, also will set to terminal
Preparation send the second Authorization result, and this second Authorization result judges according to the second customer flow package information, its decision method
Flow process is similar to the decision method flow process of the first Authorization result in step 102-103, does not repeats at this.Terminal device is connecing
After receiving the invalid validity instruction information of this first Authorization result, the second Authorization result will be performed.So that terminal device
In the case that the first Authorization result is invalid, the second Authorization result can be performed, it is to avoid due to the customer flow set meal of terminal use
The renewal of information and the Authorization result that causes and the not corresponding problem of its customer flow package information, improve the accurate of Authorization result
Rate, reduces network operation pressure.
The authorization method that the focus that the embodiment of the present invention one provides is shared is shared by the focus that receiving terminal apparatus sends
The first authorization requests, described first authorization requests includes the CUSTOMER ID of terminal use;Inquiry obtains and described use
Family identification code corresponding first user flow package information, determines whether institute according to described first user flow package information
State terminal device and open focus sharing functionality;If allowing, then send to described terminal device and authorize successful first Authorization result,
So that described terminal device can open focus sharing functionality;If not allowing, then send authorization failure to described terminal device
First Authorization result, so that described terminal device is forbidden opening focus sharing functionality;Receive the first of the transmission of described terminal device
The validity request of Authorization result, the request of described validity includes described CUSTOMER ID;Inquiry obtains to be known with described user
The corresponding second customer flow package information of other code, it is determined that described first user flow package information and described second customer flow
Whether package information mates;If coupling, then to described terminal device transmission the first Authorization result effective validity instruction information,
So that described terminal device performs described first Authorization result.Thus passing through according to customer flow package information to terminal device
Whether can open focus sharing functionality to carry out judging and authorizing, simultaneously according to the availability deciding to Authorization result, make mandate
Result can be updated according to current customer flow package information, and then mitigates the network operation pressure brought because focus shares
Power, improves the quality of network operation.
Further, in order to improve the quality of network operation further, Fig. 2 is total to for a kind of focus that inventive embodiments two provides
The schematic flow sheet of the authorization method enjoyed, on the basis of above-mentioned embodiment, as in figure 2 it is shown, in above-mentioned steps 102 according to institute
State first user flow package information and determine whether that focus sharing functionality opened by described terminal device, specifically may include:
Step 201, according to the corresponding relation between described first user flow package information and the first flag, determination is
Focus sharing functionality opened by the described terminal device of no permission;
If described first flag of step 202 is characterized as a high position, then allows described terminal device to open focus and share work(
Energy;If described first flag is characterized as low level, then described terminal device is not allowed to open focus sharing functionality.
In the server, predeterminable have flag, and this is designated for identifying whether to allow this terminal use to open focus
Sharing functionality, such as when flag is characterized as a high position, it is allowed to terminal use opens focus sharing functionality;If flag is characterized as low
Position, does not allow described terminal use to open focus sharing functionality.Different customer flow package information is closed with flag
Connection, such as when customer flow package information meets specified conditions, then its corresponding flag characterizes and can be a high position, and is unsatisfactory for
The corresponding flag of customer flow package information of this specified conditions is characterized as low level etc..
Specifically, when server receives the first authorization requests, inquiry obtains and the corresponding first user of CUSTOMER ID
After flow package information, can be directly according to the corresponding pass between the first user flow package information preset and the first flag
System, it is determined whether allow terminal device to open focus sharing functionality.
The different flag information in first user flow package information, this flag information is used for identifying set meal class
Type;When flag information corresponding set meal type is limited flow package, it is determined that allow to open focus sharing functionality;Work as mark
When information corresponding set meal species in knowledge position is unlimited flow package, it is determined that do not allow to open focus sharing functionality.
Accordingly, the described first user of the judgement in step 105 flow package information and described second customer flow set meal
Whether information mates, and specifically mays include:
Step 203, judgement and corresponding first flag of described first user flow package information and described second user
Whether corresponding second flag of flow package information is consistent;
If step 204 is consistent, then judge described first user flow package information and described second customer flow set meal letter
Breath coupling;If inconsistent, then do not judge described first user flow package information and described second customer flow package information not
Join.
Specifically, same, when server receives the validity request of the first Authorization result, inquiry obtains to be known with user
After the corresponding second customer flow package information of other code, directly can obtain the according to the second customer flow package information preset
Two flags, and judge to whether the first flag and the second flag consistent.When the first mark and second is designated same
For high-order or when being all low level, be i.e. equivalent to the first mark and be positioned at second and be designated consistent, then judge first user flow package
Information is mated with the second customer flow package information, performs to the effective validity instruction of terminal device transmission the first Authorization result
The step of information.Otherwise, then judge first user flow package information do not mate with the second customer flow package information, execution to
Terminal device sends the step of the invalid validity instruction information of the first Authorization result.
For example, customer flow package information can be residual flow, then the inquiry in step 102 obtains and described user
Identification code corresponding first user flow package information, concretely: inquiry obtains and described CUSTOMER ID corresponding first
Residual flow.
And step 201 is concretely when described first residual flow is less than preset flow threshold value, then the first flag is
High-order;When described first residual flow is more than or equal to described preset flow threshold value, then the first flag is low level;According to
One flag determines whether that focus sharing functionality opened by described terminal device.
Accordingly, the inquiry in step 105 obtains and the corresponding second customer flow package information of described CUSTOMER ID,
Concretely: inquiry obtains and corresponding second residual flow of described CUSTOMER ID.Step 203 can be then when described second remains
When residual current amount is less than preset flow threshold value, then the second flag is a high position;When described second residual flow is more than or equal to described
During preset flow threshold value, then the second flag is low level;Judge the corresponding with described first user flow package information first mark
Know position whether consistent with described second corresponding second flag of customer flow package information.
In the above-described embodiment, including residual flow in customer flow package information, server is by residual stream
Magnitude relationship between amount and preset flow threshold value carries out authorizing judgement.I.e. be equivalent to, when the residual flow of terminal use is too much
When, server would not allow for terminal device and opens focus sharing functionality, it is to avoid terminal use opens what this function caused for a long time
Network operation pressure is excessive, causes network paralysis;Otherwise, then allow.Thus can effectively control terminal use and open focus altogether
The behavior enjoyed, improves the quality of network operation.
Further, in order to effectively improve network operation quality and authorize efficiency, Fig. 3 provides for the embodiment of the present invention two
The authorization method that another focus is shared, on the basis of the respective embodiments described above, before step 102, may also include that
Step 301, acquisition first network quality information;In described first network quality information instruction network quality less than in advance
If during quality threshold, send the first Authorization result of authorization failure to described terminal device, so that described terminal device is forbidden out
Open focus sharing functionality.When described first network quality information instruction network quality greater than or equal to predetermined quality threshold when,
Step 102.
Accordingly, also include before step 105:
Step 302, obtain the second network quality information;It is less than institute in described second network quality information instruction network quality
When stating predetermined quality threshold, send the invalid validity instruction information of the first Authorization result and authorization failure to described terminal device
The second Authorization result so that described terminal device forbid open focus sharing functionality.When at described second network quality information
When instruction network quality is greater than or equal to predetermined quality threshold, step 105.
Specifically, after server receives the first authorization requests, first network quality information will be obtained, if this
One network quality information instruction network quality is very poor, and when i.e. less than predetermined quality threshold, then server is directly sent out to terminal device
Send the first Authorization result of authorization failure, forbid that focus sharing functionality opened by terminal device, thus ensure network operation quality.Phase
Answer, after server receives the validity request of the first Authorization result, the second network quality information will be obtained, similar
, when the second network quality information indicates that network quality is very poor, when i.e. less than predetermined quality threshold, then server is directly to terminal
Equipment sends the second Authorization result of the invalid validity instruction information of the first Authorization result and authorization failure, so that described terminal
Equipment is forbidden opening focus sharing functionality.
Above-mentioned embodiment is by after the request that server receiving terminal apparatus sends, by according to the network matter obtaining
Amount information carries out authorizing judging in advance, and when network quality is less than network quality threshold value, directly sends to terminal device and authorize
Failed result, so that terminal device is forbidden opening focus sharing functionality;And only when network quality is optionally greater than network quality
During threshold value, just open subsequent authorization and judge, improve further and authorize efficiency and improve the quality of network operation.
The authorization method that the focus that the embodiment of the present invention two provides is shared is by including remaining in customer flow package information
Residual current amount, server is judged by carrying out to the magnitude relationship between residual flow and preset flow threshold value authorizing.I.e. be equivalent to,
When the residual flow of terminal use is too much, server would not allow for terminal device and opens focus sharing functionality, it is to avoid terminal is used
It is excessive that the head of a household opens the network operation pressure that this function causes the time, causes network paralysis;Otherwise, then allow.Additionally, also by
After the request that server receiving terminal apparatus sends, will carry out in advance authorizing according to the network quality information obtaining judging,
And when network quality is less than network quality threshold value, directly send the result of authorization failure to terminal device, so that terminal device
Forbid opening focus sharing functionality, improve further and authorize efficiency and improve the quality of network operation.
The schematic flow sheet of the authorization method that Fig. 4 shares for a kind of focus that the embodiment of the present invention three provides, the present invention is also
The authorization method that another kind of focus is shared is provided, comprising:
Step 401, the first authorization requests shared to server transmission focus, described first authorization requests includes terminal
The CUSTOMER ID of user.
It should be noted that the executive agent of authorization method that the focus that the present embodiment three provides is shared is terminal device,
Concretely smart mobile phone etc. can be by opening focus sharing functionality so that the terminal of other collaborative share mobile communication flows sets
Standby.The method of the authorization method corresponding server side that the focus that the present embodiment three provides is shared and above-described embodiment one and enforcement
Method in example two is corresponding, does not repeats at this.
Concrete, terminal device can send the first authorization requests when start;Or, it is periodically sent out the first authorization requests,
Within for example every two days, send first authorization requests etc..CUSTOMER ID indication can be the telephone number of user, and for example, terminal sets
Used in Bei is usim card, then this CUSTOMER ID can be the Mobile Subscriber International ISDN Number of usim card, and Mobile Subscriber International ISDN Number can pass through
Terminal use reads the EF_MSISDN file in usim card and obtains.
Step 402, the first Authorization result receiving and performing the transmission of described server;If described first Authorization result is for awarding
Weigh successfully, then allow terminal device to open focus sharing functionality;If described first Authorization result is authorization failure, then forbid terminal
Opening of device focus sharing functionality;Wherein, described first Authorization result is that described server is being looked into according to described CUSTOMER ID
Ask and obtain and after described CUSTOMER ID corresponding first user flow package information, according to described first user flow package
Information determines whether what described terminal device sent after opening focus sharing functionality.
Concrete, when terminal use triggers application or the instruction opening focus sharing functionality, terminal device can directly be held
Row the first Authorization result, performs or ignores the instruction that terminal use triggers.
Step 403, the validity request of the first Authorization result sending to server, the request of described validity includes institute
State CUSTOMER ID.
Concrete, the validity of this first Authorization result was asked between the time between the transmission time of the first authorization requests
Every being set voluntarily by those skilled in the art, for example, send after sending 24 hours after the first authorization requests
The validity request of the first authorization requests.Additionally, its transmission time that can be combined with the first authorization requests is set, such as
When the first authorization requests sends for start, then the transmission cycle of the validity request of the first Authorization result may be configured as sending out every day
Send once;Again for example, when the first authorization requests is for periodically sending, when sending one time such as every two days, then the first Authorization result
Transmission cycle of validity request may be configured as every 12 hours sending one inferior.
Step 404, the validity instruction information receiving the first Authorization result that described server sends;Wherein, described have
Effect property instruction information is described server obtains corresponding with described CUSTOMER ID the inquiring about according to described CUSTOMER ID
After two user's flow package information, determine that described first user flow package information with described second customer flow package information is
No consistent rear transmission.
If it is effective that step 405 described validity instruction information is the first Authorization result, then perform the described first mandate knot
Really.
The authorization method that the focus that the embodiment of the present invention three provides is shared, by sending shared first of focus to server
Authorization requests, described first authorization requests includes the CUSTOMER ID of terminal use;Receive and perform described server and send
The first Authorization result;If described first Authorization result is for authorizing successfully, then terminal device is allowed to open focus sharing functionality;If
Described first Authorization result is authorization failure, then forbid that focus sharing functionality opened by terminal device;Wherein, described first knot is authorized
Fruit is that described server is inquiring about acquisition and described CUSTOMER ID corresponding first user flow according to described CUSTOMER ID
After package information, determine whether that described terminal device is opened focus and shared according to described first user flow package information
Send after function;Include described use to the validity request described validity request of the first Authorization result of server transmission
Family identification code;Receive the validity instruction information of the first Authorization result that described server sends;Wherein, described validity instruction
Information is that described server is inquiring about acquisition second user stream corresponding with described CUSTOMER ID according to described CUSTOMER ID
After amount package information, after determining that whether described first user flow package information is consistent with described second customer flow package information
Send;If it is effective that described validity instruction information is the first Authorization result, then perform described first Authorization result.Thus can make
Server by according to customer flow package information whether terminal device can be opened focus sharing functionality carry out judging and
Authorize, simultaneously according to the availability deciding to Authorization result, make Authorization result can enter according to current customer flow package information
Row updates, and then mitigates the network operation pressure bringing because focus shares, and improves the quality of network operation.
The structural representation of a kind of server that Fig. 5 provides for the embodiment of the present invention four, as it is shown in figure 5, this server, bag
Include:
Receiver module 10, the first authorization requests shared for the focus that receiving terminal apparatus sends, described first authorizes
Request includes the CUSTOMER ID of terminal use;
Determination module 20, is used for inquiring about acquisition and described CUSTOMER ID corresponding first user flow package information, root
Determine whether that focus sharing functionality opened by described terminal device according to described first user flow package information;If allowing, then
Send to described terminal device and authorize successful first Authorization result, so that described terminal device can be opened focus and share work(
Energy;If not allowing, then send the first Authorization result of authorization failure to described terminal device, so that described terminal device is forbidden out
Open focus sharing functionality;
Described receiver module 10, is additionally operable to receive the validity request of the first Authorization result that described terminal device sends,
The request of described validity includes described CUSTOMER ID;
Described determination module 20, is additionally operable to inquiry and obtains second customer flow set meal letter corresponding with described CUSTOMER ID
Breath, it is determined that whether described first user flow package information mates with described second customer flow package information;If coupling, then to
Described terminal device transmission the first Authorization result effective validity instruction information, so that described terminal device performs described first
Authorization result.
Further, described determination module 20, is additionally operable to: when judging described first user flow package information and described the
When two user's flow package information are not mated, then send the invalid validity instruction letter of the first Authorization result to described terminal device
Breath and the second Authorization result, so that described terminal device performs described second Authorization result;Wherein, described second Authorization result is
Determine whether what described terminal device obtained after opening focus sharing functionality according to described second customer flow package information.
Further, described customer flow package information includes residual flow;
Described determination module 20, is additionally operable to: the corresponding relation between the first flag, it is determined whether allow described terminal to set
Standby unlatching focus sharing functionality;If described first flag is characterized as a high position, then allows described terminal device to open focus and share
Function;If described first flag is characterized as low level, then described terminal device is not allowed to open focus sharing functionality;
Judge and corresponding first flag of described first user flow package information and described second customer flow set meal
Whether corresponding second flag of information is consistent;If consistent, then judge described first user flow package information and described second
Customer flow package information is mated;If inconsistent, then judge described first user flow package information and described second user's stream
Amount package information is not mated.
Described determination module 20, is additionally operable to: inquiry obtains and corresponding first residual flow of described CUSTOMER ID;Work as institute
When stating the first residual flow less than preset flow threshold value, then the first flag is a high position;When described first residual flow more than or
During equal to described preset flow threshold value, then the first flag is low level;
Inquiry obtains and corresponding second residual flow of described CUSTOMER ID;Preset when described second residual flow is less than
During flow threshold, then the second flag is a high position;When described second residual flow is more than or equal to described preset flow threshold value,
Then the second flag is low level.
Further, server also includes network quality determination module 30, is used for:
Obtain first network quality information;
When described first network quality information instruction network quality is less than predetermined quality threshold, described determination module is to institute
State terminal device and send the first Authorization result of authorization failure, so that described terminal device is forbidden opening focus sharing functionality;
This server, also includes described network quality determination module 30, is used for:
Obtain the second network quality information;It is less than described default matter in described second network quality information instruction network quality
During amount threshold value, described determination module sends the invalid validity instruction information of the first Authorization result and mandate to described terminal device
Second Authorization result of failure, so that described terminal device is forbidden opening focus sharing functionality.
It should be noted that the server architecture that the above-mentioned embodiment of the present invention provides, its detailed description of the invention and enforcement
Example one is corresponding with method shown in embodiment two, does not repeats at this.
The authorization method that the focus that the embodiment of the present invention four provides is shared is shared by the focus that receiving terminal apparatus sends
The first authorization requests, described first authorization requests includes the CUSTOMER ID of terminal use;Inquiry obtains and described use
Family identification code corresponding first user flow package information, determines whether institute according to described first user flow package information
State terminal device and open focus sharing functionality;If allowing, then send to described terminal device and authorize successful first Authorization result,
So that described terminal device can open focus sharing functionality;If not allowing, then send authorization failure to described terminal device
First Authorization result, so that described terminal device is forbidden opening focus sharing functionality;Receive the first of the transmission of described terminal device
The validity request of Authorization result, the request of described validity includes described CUSTOMER ID;Inquiry obtains to be known with described user
The corresponding second customer flow package information of other code, it is determined that described first user flow package information and described second customer flow
Whether package information mates;If coupling, then to described terminal device transmission the first Authorization result effective validity instruction information,
So that described terminal device performs described first Authorization result.Thus passing through according to customer flow package information to terminal device
Whether can open focus sharing functionality to carry out judging and authorizing, simultaneously according to the availability deciding to Authorization result, make mandate
Result can be updated according to current customer flow package information, and then mitigates the network operation pressure brought because focus shares
Power, improves the quality of network operation.
The structural representation of a kind of terminal device that Fig. 6 provides for the embodiment of the present invention five, as shown in Figure 6, this terminal, bag
Include:
Authorization module 40, for sending, to server, the first authorization requests that focus is shared, in described first authorization requests
Including the CUSTOMER ID of terminal use;
Perform module 50, for receiving and performing the first Authorization result that described server sends;If described first authorizes
Result for authorizing successfully, then allows terminal device to open focus sharing functionality;If described first Authorization result is authorization failure, then
Forbid that focus sharing functionality opened by terminal device;Wherein, described first Authorization result is that described server is according to described user
Identification code inquiry obtains and after described CUSTOMER ID corresponding first user flow package information, according to described first user
Flow package information determines whether what described terminal device sent after opening focus sharing functionality;
Described authorization module 40, be additionally operable to server send the first Authorization result validity request, described effectively
Property request include described CUSTOMER ID;
Described execution module 50, is additionally operable to receive the validity instruction letter of the first Authorization result that described server sends
Breath;Wherein, described validity instruction information is that described server is inquiring about acquisition and described user according to described CUSTOMER ID
After the corresponding second customer flow package information of identification code, determine described first user flow package information and described second user
Send after whether flow package information is consistent;If it is effective that described validity instruction information is the first Authorization result, then perform institute
State the first Authorization result.
It should be noted that the structure of terminal device that the above-mentioned embodiment of the present invention provides, its detailed description of the invention with
Method shown in embodiment three is corresponding, does not repeats at this.
The authorization method that the focus that the embodiment of the present invention five provides is shared, by sending shared first of focus to server
Authorization requests, described first authorization requests includes the CUSTOMER ID of terminal use;Receive and perform described server and send
The first Authorization result;If described first Authorization result is for authorizing successfully, then terminal device is allowed to open focus sharing functionality;If
Described first Authorization result is authorization failure, then forbid that focus sharing functionality opened by terminal device;Wherein, described first knot is authorized
Fruit is that described server is inquiring about acquisition and described CUSTOMER ID corresponding first user flow according to described CUSTOMER ID
After package information, determine whether that described terminal device is opened focus and shared according to described first user flow package information
Send after function;Include described use to the validity request described validity request of the first Authorization result of server transmission
Family identification code;Receive the validity instruction information of the first Authorization result that described server sends;Wherein, described validity instruction
Information is that described server is inquiring about acquisition second user stream corresponding with described CUSTOMER ID according to described CUSTOMER ID
After amount package information, after determining that whether described first user flow package information is consistent with described second customer flow package information
Send;If it is effective that described validity instruction information is the first Authorization result, then perform described first Authorization result.Thus can make
Server by according to customer flow package information whether terminal device can be opened focus sharing functionality carry out judging and
Authorize, simultaneously according to the availability deciding to Authorization result, make Authorization result can enter according to current customer flow package information
Row updates, and then mitigates the network operation pressure bringing because focus shares, and improves the quality of network operation.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description
Specific works process, be referred to the corresponding process in preceding method embodiment, do not repeat them here.
One of ordinary skill in the art will appreciate that: realize that all or part of step of above-mentioned each method embodiment can be led to
Cross the related hardware of programmed instruction to complete.Aforesaid program can be stored in a computer read/write memory medium.This journey
Sequence upon execution, performs to include the step of above-mentioned each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent
The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on
So the technical scheme described in foregoing embodiments can modify, or wherein some or all of technical characteristic is entered
Row equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
1. the authorization method that a focus is shared, it is characterised in that include:
The first authorization requests that the focus that receiving terminal apparatus sends is shared, includes terminal use in described first authorization requests
CUSTOMER ID;
Inquiry obtains and described CUSTOMER ID corresponding first user flow package information, according to described first user flow set
Meal information determines whether that focus sharing functionality opened by described terminal device;
If allowing, then send to described terminal device and authorize successful first Authorization result, so that described terminal device can be opened
Open focus sharing functionality;If not allowing, then send the first Authorization result of authorization failure to described terminal device, so that described end
End equipment is forbidden opening focus sharing functionality;
Receiving the validity request of the first Authorization result that described terminal device sends, the request of described validity includes described use
Family identification code;
Inquiry obtains and the corresponding second customer flow package information of described CUSTOMER ID, it is determined that described first user flow set
Whether meal information mates with described second customer flow package information;
If coupling, then to described terminal device transmission the first Authorization result effective validity instruction information, so that described terminal
Equipment performs described first Authorization result.
2. the authorization method that focus according to claim 1 is shared, it is characterised in that described according to described first user stream
Amount package information determines whether that focus sharing functionality opened by described terminal device, comprising:
According to the corresponding relation between described first user flow package information and the first flag, it is determined whether allow described end
End opening of device focus sharing functionality;
If described first flag is characterized as a high position, then described terminal device is allowed to open focus sharing functionality;
If described first flag is characterized as low level, then described terminal device is not allowed to open focus sharing functionality;
Accordingly, it is determined that whether described first user flow package information mates with described second customer flow package information, wrap
Include:
Judge and corresponding first flag of described first user flow package information and described second customer flow package information
Whether corresponding second flag is consistent;
If consistent, then judge that described first user flow package information is mated with described second customer flow package information;If no
Unanimously, then judge that described first user flow package information is not mated with described second customer flow package information.
3. the authorization method that focus according to claim 2 is shared, it is characterised in that described customer flow package information bag
Include residual flow;
Accordingly, described inquiry obtains and described CUSTOMER ID corresponding first user flow package information, comprising:
Inquiry obtains and corresponding first residual flow of described CUSTOMER ID;
Corresponding relation between described first user flow package information and the first flag, comprising:
When described first residual flow is less than preset flow threshold value, then the first flag is a high position;
When described first residual flow is more than or equal to described preset flow threshold value, then the first flag is low level;
Described inquiry obtains and the corresponding second customer flow package information of described CUSTOMER ID, comprising:
Inquiry obtains and corresponding second residual flow of described CUSTOMER ID;
When described second residual flow is less than preset flow threshold value, then the second flag is a high position;
When described second residual flow is more than or equal to described preset flow threshold value, then the second flag is low level.
4. the authorization method that focus according to claim 1 is shared, it is characterised in that described judgement described first user stream
Whether amount package information mates with described second customer flow package information, also includes:
When judging that described first user flow package information is not mated with described second customer flow package information, then to described
Terminal device sends the invalid validity instruction information of the first Authorization result and the second Authorization result, so that described terminal device is held
Described second Authorization result of row;Wherein, described second Authorization result is to determine according to described second customer flow package information to be
The described terminal device of no permission obtains after opening focus sharing functionality.
5. the focus according to any one of claim 1-4 share authorization method, it is characterised in that described inquiry obtain with
Before described CUSTOMER ID corresponding first user flow package information, also include:
Obtain first network quality information;
When described first network quality information instruction network quality is less than predetermined quality threshold, sends to described terminal device and award
Weigh the first Authorization result unsuccessfully, so that described terminal device is forbidden opening focus sharing functionality;
Accordingly, described inquiry obtains and before the corresponding second customer flow package information of described CUSTOMER ID, also includes:
Obtain the second network quality information;
When described second network quality information instruction network quality is less than described predetermined quality threshold, send out to described terminal device
Send the second Authorization result of the validity instruction information that the first Authorization result is invalid and authorization failure, so that described terminal device is prohibited
Only open focus sharing functionality.
6. the authorization method that a focus is shared, it is characterised in that include:
Sending, to server, the first authorization requests that focus is shared, described first authorization requests includes that the user of terminal use knows
Other code;
Receive and perform the first Authorization result that described server sends;If described first Authorization result is for authorizing successfully, then permit
Permitted terminal device and opened focus sharing functionality;If described first Authorization result is authorization failure, then forbid that heat opened by terminal device
Point sharing functionality;Wherein, described first Authorization result is that described server is inquiring about acquisition and institute according to described CUSTOMER ID
It after stating CUSTOMER ID corresponding first user flow package information, according to the determination of described first user flow package information is
The described terminal device of no permission sends after opening focus sharing functionality;
To the validity request of the first Authorization result that server sends, the request of described validity includes that described user identifies
Code;
Receive the validity instruction information of the first Authorization result that described server sends;Wherein, described validity instruction information
It is that described server is inquiring about acquisition and the corresponding second customer flow set of described CUSTOMER ID according to described CUSTOMER ID
After meal information, determine that described first user flow package information sends after whether consistent with described second customer flow package information
's;
If it is effective that described validity instruction information is the first Authorization result, then perform described first Authorization result.
7. a server, it is characterised in that include:
Receiver module, the first authorization requests shared for the focus that receiving terminal apparatus sends, in described first authorization requests
Include the CUSTOMER ID of terminal use;
Determination module, is used for inquiring about acquisition and described CUSTOMER ID corresponding first user flow package information, according to described
First user flow package information determines whether that focus sharing functionality opened by described terminal device;If allowing, then to described
Terminal device sends and authorizes successful first Authorization result, so that described terminal device can open focus sharing functionality;If no
Allow, then send the first Authorization result of authorization failure to described terminal device, so that described terminal device is forbidden opening focus
Sharing functionality;
Described receiver module, is additionally operable to receive the validity request of the first Authorization result that described terminal device sends, and described have
The request of effect property includes described CUSTOMER ID;
Described determination module, is additionally operable to inquiry and obtains and the corresponding second customer flow package information of described CUSTOMER ID, sentence
Whether fixed described first user flow package information mates with described second customer flow package information;If coupling, then to described
Terminal device transmission the first Authorization result effective validity instruction information, authorizes so that described terminal device performs described first
Result.
8. server according to claim 7, described customer flow package information includes residual flow;
Described determination module, is additionally operable to:
According to the corresponding relation between described first user flow package information and the first flag, it is determined whether allow described end
End opening of device focus sharing functionality;
If described first flag is characterized as a high position, then described terminal device is allowed to open focus sharing functionality;
If described first flag is characterized as low level, then described terminal device is not allowed to open focus sharing functionality;
Judge and corresponding first flag of described first user flow package information and described second customer flow package information
Whether corresponding second flag is consistent;
If consistent, then judge that described first user flow package information is mated with described second customer flow package information;If no
Unanimously, then judge that described first user flow package information is not mated with described second customer flow package information;
Described determination module, is additionally operable to:
Inquiry obtains and corresponding first residual flow of described CUSTOMER ID;
When described first residual flow is less than preset flow threshold value, then the first flag is a high position;
When described first residual flow is more than or equal to described preset flow threshold value, then the first flag is low level;
Inquiry obtains and corresponding second residual flow of described CUSTOMER ID;
When described second residual flow is less than preset flow threshold value, then the second flag is a high position;
When described second residual flow is more than or equal to described preset flow threshold value, then the second flag is low level.
Described determination module, is additionally operable to:
When judging that described first user flow package information is not mated with described second customer flow package information, then to described
Terminal device sends the invalid validity instruction information of the first Authorization result and the second Authorization result, so that described terminal device is held
Described second Authorization result of row;Wherein, described second Authorization result is to determine according to described second customer flow package information to be
The described terminal device of no permission obtains after opening focus sharing functionality.
9. the server according to claim 7 or 8, it is characterised in that network quality determination module, is used for:
Obtain first network quality information;
When described first network quality information instruction network quality is less than predetermined quality threshold, described determination module is to described end
End equipment sends the first Authorization result of authorization failure, so that described terminal device is forbidden opening focus sharing functionality;
Described network quality determination module, is additionally operable to:
Obtain the second network quality information;
When described second network quality information instruction network quality is less than described predetermined quality threshold, described determination module is to institute
State terminal device and send the second Authorization result of the invalid validity instruction information of the first Authorization result and authorization failure, so that institute
State terminal device to forbid opening focus sharing functionality.
10. a terminal device, it is characterised in that include:
Authorization module, for sending, to server, the first authorization requests that focus is shared, described first authorization requests includes end
The CUSTOMER ID of end subscriber;
Perform module, for receiving and performing the first Authorization result that described server sends;If described first Authorization result is
Authorize successfully, then allow terminal device to open focus sharing functionality;If described first Authorization result is authorization failure, then forbid end
End opening of device focus sharing functionality;Wherein, described first Authorization result is that described server is according to described CUSTOMER ID
Inquiry obtains and after described CUSTOMER ID corresponding first user flow package information, according to described first user flow set
Meal information determines whether what described terminal device sent after opening focus sharing functionality;
Described authorization module, is additionally operable to the validity request of the first Authorization result sending to server, and described validity is asked
Include described CUSTOMER ID;
Described execution module, is additionally operable to receive the validity instruction information of the first Authorization result that described server sends;Wherein,
Described validity instruction information is that described server is inquiring about acquisition and described CUSTOMER ID pair according to described CUSTOMER ID
After the second customer flow package information answered, determine described first user flow package information and described second customer flow set meal
Send after whether information is consistent;If it is effective that described validity instruction information is the first Authorization result, then perform described first and award
Power result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610350285.0A CN106100865B (en) | 2016-05-24 | 2016-05-24 | Hot spot shared authorization method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610350285.0A CN106100865B (en) | 2016-05-24 | 2016-05-24 | Hot spot shared authorization method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106100865A true CN106100865A (en) | 2016-11-09 |
CN106100865B CN106100865B (en) | 2019-06-14 |
Family
ID=57229836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610350285.0A Active CN106100865B (en) | 2016-05-24 | 2016-05-24 | Hot spot shared authorization method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106100865B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108391281A (en) * | 2018-02-05 | 2018-08-10 | 广东欧珀移动通信有限公司 | A kind of bridging method of wireless network, terminal device and storage medium |
CN110519761A (en) * | 2019-08-12 | 2019-11-29 | 深圳市优克联新技术有限公司 | Verification method, device, electronic equipment and the storage medium of subscriber identification card |
CN111225374A (en) * | 2020-01-16 | 2020-06-02 | Tcl移动通信科技(宁波)有限公司 | Network sharing setting method, device, storage medium and terminal |
CN113411806A (en) * | 2021-06-21 | 2021-09-17 | 上海闻泰信息技术有限公司 | Mobile hotspot authorization checking method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102843745A (en) * | 2012-07-26 | 2012-12-26 | 东莞宇龙通信科技有限公司 | Method of accessing to mobile hotspot and mobile terminals |
CN105072666A (en) * | 2015-07-02 | 2015-11-18 | 深圳平安通信科技有限公司 | WIFI hot spot connection control method, server, and WIFI hot spot |
CN105246046A (en) * | 2015-11-13 | 2016-01-13 | Tcl集团股份有限公司 | Method and device for sharing flow of mobile terminal |
-
2016
- 2016-05-24 CN CN201610350285.0A patent/CN106100865B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102843745A (en) * | 2012-07-26 | 2012-12-26 | 东莞宇龙通信科技有限公司 | Method of accessing to mobile hotspot and mobile terminals |
CN105072666A (en) * | 2015-07-02 | 2015-11-18 | 深圳平安通信科技有限公司 | WIFI hot spot connection control method, server, and WIFI hot spot |
CN105246046A (en) * | 2015-11-13 | 2016-01-13 | Tcl集团股份有限公司 | Method and device for sharing flow of mobile terminal |
Non-Patent Citations (1)
Title |
---|
付亮: "从AT&T的不限量套餐设计学到什么", 《中国电信业》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108391281A (en) * | 2018-02-05 | 2018-08-10 | 广东欧珀移动通信有限公司 | A kind of bridging method of wireless network, terminal device and storage medium |
CN108391281B (en) * | 2018-02-05 | 2022-01-07 | Oppo广东移动通信有限公司 | Bridging method of wireless network, terminal equipment and storage medium |
CN110519761A (en) * | 2019-08-12 | 2019-11-29 | 深圳市优克联新技术有限公司 | Verification method, device, electronic equipment and the storage medium of subscriber identification card |
CN111225374A (en) * | 2020-01-16 | 2020-06-02 | Tcl移动通信科技(宁波)有限公司 | Network sharing setting method, device, storage medium and terminal |
CN111225374B (en) * | 2020-01-16 | 2022-11-04 | Tcl移动通信科技(宁波)有限公司 | Network sharing setting method, device, storage medium and terminal |
CN113411806A (en) * | 2021-06-21 | 2021-09-17 | 上海闻泰信息技术有限公司 | Mobile hotspot authorization checking method and device, storage medium and electronic equipment |
CN113411806B (en) * | 2021-06-21 | 2022-12-30 | 上海闻泰信息技术有限公司 | Mobile hotspot authorization checking method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106100865B (en) | 2019-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103516681B (en) | Method for network access control and device | |
CN106100865A (en) | Authorization method, server and the terminal device that focus is shared | |
CN1874217B (en) | Method for determining route | |
CN104185973B (en) | For the method and apparatus for the priority for setting data transmission | |
CN105046562B (en) | Air control system and air control data capture method | |
CN106068019A (en) | Authorization method, terminal unit and the server that focus is shared | |
US7853705B2 (en) | On demand session provisioning of IP flows | |
CN103200159B (en) | A kind of Network Access Method and equipment | |
CN107567072A (en) | A kind of WIFI hot spot information amending method and device | |
CN106921957A (en) | The recognition methods of secondary number of distributing telephone numbers and device | |
CN105813166A (en) | Network access control method and system for outage user and communication equipment | |
CN110138747B (en) | Method and system for verifying login state of account | |
CN104468552B (en) | A kind of connection control method and device | |
US20230209344A1 (en) | User authentication | |
CN103918295B (en) | For preventing the method cheated or abused, subscriber identity module and application program in special services of the user equipment using public land mobile network | |
CN107872445A (en) | Access authentication method, equipment and Verification System | |
CN105933185A (en) | Method and device for determining connection abnormity type of router | |
CN106878987B (en) | Communication method, system and cloud server | |
CN111404918A (en) | Cloud mobile phone distributed service emergency authentication method, device and system | |
CN101119253A (en) | Method and system for controlling user accessing WLAN using user hierarchy | |
CN106162718A (en) | A kind of WiFi network access detection method and device | |
CN105871851B (en) | Based on SaaS identity identifying method | |
CN102075386B (en) | Identification method and device | |
US20050055292A1 (en) | Method for ascertaining a billing tariff for a data transfer | |
US7310510B2 (en) | Method for ascertaining a billing tariff for billing for a data transfer |
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 |