CN104753821B - A kind of method for connecting network, information feedback method, terminal and network access equipment - Google Patents
A kind of method for connecting network, information feedback method, terminal and network access equipment Download PDFInfo
- Publication number
- CN104753821B CN104753821B CN201310728689.5A CN201310728689A CN104753821B CN 104753821 B CN104753821 B CN 104753821B CN 201310728689 A CN201310728689 A CN 201310728689A CN 104753821 B CN104753821 B CN 104753821B
- Authority
- CN
- China
- Prior art keywords
- network
- access equipment
- network access
- terminal
- type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to Internet technical field, disclose a kind of method for connecting network, information feedback method, terminal and network access equipment, included with solving terminal in the prior art by the not accurate enough technical problem of network connection policy control during network access equipment access network to terminal, method for connecting network:Terminal is connected to after network access equipment, sends network type inquiry request to network access equipment, network type inquiry request is used for the network connection type of requesting query network access equipment;Terminal receives the network connection type for the network access equipment that network access equipment is returned based on network type inquiry request;Terminal controls the network connection type of terminal according to the network connection type of network access equipment.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of method for connecting network and terminal.
Background technology
Under normal circumstances, terminal (such as:Smart mobile phone, tablet personal computer etc.) network connection strategy be honeycomb move
Minimum data exchange (such as instant messaging, network browsing) is carried out under data network JA(junction ambient), and is connected in WIFI network
Data exchange (such as complete machine data backup, upload of photo, the download of video, offline of remaining big data quantity is carried out under environment
The download of map, download of software kit etc.).
And with the fast development of mobile Internet, the terminal for much possessing cellular mo-bile data ability all possesses " individual
Focus " function, that is to say can be connected to network access equipment by cellular mo-bile data, so as to be connected by network access equipment
Internet is connected to, the network access equipment is, for example,:Another terminal, router etc..
Because when terminal accesses network by network access equipment, its actual network rate calculation is and network
The network type of access device is corresponding, and the network connection strategy of terminal is only related to the internetwork connection mode of terminal, therefore
And cause in the prior art that there is the not accurate enough technical problem of the network connection policy control to terminal;
Such as:It is in the network type of network access equipment:During cellular mo-bile data, according to flowmeter during its charging mode
Take, in this case, in order to prevent network access equipment from producing substantial amounts of rate, it may be desirable to which the network connection strategy of terminal is
Minimum data exchange is carried out, but terminal is in this case, if during using fixed network connected mode, its network connection strategy
The data interaction for carrying out big data quantity is still, so cause the network connection policy control to terminal not accurate enough.
The content of the invention
The embodiment of the present invention provides a kind of method for connecting network, information feedback method, terminal and network access equipment, with solution
Network connection policy control when certainly terminal accesses network by network access equipment in the prior art to terminal is not accurate enough
Technical problem.
Technical scheme of the embodiment of the present invention is as follows:
The embodiment of the present invention provides a kind of method for connecting network, including:Terminal is connected to after network access equipment, to institute
State network access equipment and send network type inquiry request, the network type inquiry request connects for network described in requesting query
Enter the network connection type of equipment;The terminal receives the net that network access equipment is returned based on the network type inquiry request
The network connection type of network access device;The terminal controls the end according to the network connection type of the network access equipment
The network connection type at end.
From such scheme, when terminal accesses network by network access equipment, network insertion can be inquired about first and set
Standby network connection type, the network connection type of terminal is then adjusted by the network connection type of network access equipment,
And if the network connection type difference of terminal, its network connection strategy is also different, passes through network access equipment so having reached
Network connection type adjust the technique effect of the network connection strategy of terminal, thus the network connection policy control to terminal
It is more accurate.
Preferably, network type inquiry request is sent to the network access equipment, is specially:By being arranged at the end
The HTTP clients at end send the network type inquiry request to the network access equipment;The reception network access equipment
Query Result is returned to based on the network type inquiry request, is specially:Receive the HTTP for being arranged at the network access equipment
The network connection type for the network access equipment that server returns.By then pass through HTTP clients and HTTP server Lai
The network connection type of network access equipment is inquired about, so the improvement on hardware need not be done to terminal and network access equipment,
Thus with the technique effect for reducing cost.
Preferably, the terminal controls the network of the terminal to connect according to the network connection type of the network access equipment
Type is connect, is specifically included:The network connection type of the network access equipment show the network access equipment use according to
When flow carries out the charging policy of charging, the network connection type of the terminal is adjusted to carry out charging according to flow with described
The adaptable network connection type of charging policy;Show that the network connects in the network connection type of the network access equipment
When entering equipment using the charging policy for carrying out charging according to the Connection Time, keep the network connection type of the terminal constant.
From such scheme, show that network access equipment is used according to stream in the network connection type of network access equipment
When amount carries out the charging policy of charging, then the network connection type of terminal is adjusted to carry out the charging policy of charging according to flow
Adaptable network connection type, in this case, the data traffic of network access equipment can be reduced, and then reduce network
The rate of access device;And the network connection type in network access equipment shows that network access equipment is carried out using according to the time
During the charging policy of charging, then show that the rate of now network access equipment are not controlled by flow, so keep the net that terminal is adopted
Network connection type is constant, and to meet the use demand of user, and then the network connection type control to terminal is more smart
True technique effect.
Preferably, when the network connection type of the network access equipment is cellular radio data network, then institute is shown
Charging policy is the charging policy that charging is carried out according to flow used by stating network access equipment;In the network access equipment
Network connection type when being fixed network, then show used by the network access equipment charging policy to enter according to the Connection Time
The charging policy of row charging.
Preferably, after the transmission network type inquiry request to the network access equipment, methods described is also wrapped
Include:If the network connection class for the network access equipment that the network access equipment returns is not received in setting time length
Type, then keep the current network connection type of the terminal constant.Due in this case, it is possible to be network access equipment not
Possess the function of inquiry network connection, in this case, then illustrate that method for connecting network compatible can not possess return network
The network access equipment of connection type function, so with the higher technique effect of compatibility.
The embodiment of the present invention provides a kind of terminal, including:Sending module, after being connected to network access equipment, to
The network access equipment sends network type inquiry request, and the network type inquiry request is used for network described in requesting query
The network connection type of access device;Receiving module, the network type inquiry request is based on for receiving network access equipment
The network connection type of the network access equipment of return;Control module, for the network connection according to the network access equipment
The network connection type of terminal described in Type Control.
From such scheme, when terminal accesses network by network access equipment, network insertion can be inquired about first and set
Standby network connection type, the network connection type of terminal is then adjusted by the network connection type of network access equipment,
And if the network connection type difference of terminal, its network connection strategy is also different, passes through network access equipment so having reached
Network connection type adjust the technique effect of the network connection strategy of terminal, thus the network connection policy control to terminal
It is more accurate.
Preferably, the sending module, is specifically used for:By being arranged at the HTTP clients of the terminal to the network
Access device sends the network type inquiry request;The receiving module, is specifically used for:Reception is arranged at the network insertion
The network connection type for the network access equipment that the HTTP server of equipment returns.By then pass through HTTP clients and
HTTP server inquires about the network connection type of network access equipment, so terminal and network access equipment need not be done firmly
Improvement on part, thus with the technique effect for reducing cost.
Preferably, the control module, is specifically included:Adjustment unit, for the network company in the network access equipment
Connect type and show that the network access equipment is used when carrying out the charging policy of charging according to flow, the network of the terminal is connected
Connect the network connection type that type is adjusted to adaptable with the charging policy according to flow progress charging;Holding unit, use
Show that the network access equipment is counted using according to the Connection Time in the network connection type in the network access equipment
During the charging policy taken, keep the network connection type of the terminal constant.
From such scheme, show that network access equipment is used according to stream in the network connection type of network access equipment
When amount carries out the charging policy of charging, then the network connection type of terminal is adjusted to carry out the charging policy of charging according to flow
Adaptable network connection type, in this case, the data traffic of network access equipment can be reduced, and then reduce network
The rate of access device;And the network connection type in network access equipment shows that network access equipment is carried out using according to the time
During the charging policy of charging, then show that the rate of now network access equipment are not controlled by flow, so keep the net that terminal is adopted
Network connection type is constant, and to meet the use demand of user, and then the network connection type control to terminal is more smart
True technique effect.
Preferably, when the network connection type of the network access equipment is cellular radio data network, then institute is shown
Charging policy is the charging policy that charging is carried out according to flow used by stating network access equipment;In the network access equipment
Network connection type when being fixed network, then show used by the network access equipment charging policy to enter according to the Connection Time
The charging policy of row charging.
Preferably, the terminal also includes:Module is kept, for being looked into network access equipment transmission network type
After asking request, if not receiving the net for the network access equipment that the network access equipment returns in setting time length
Network connection type, then keep the current network connection type of the terminal constant.Due in this case, it is possible to be that network connects
Enter the function that equipment does not possess inquiry network connection, in this case, then illustrate that method for connecting network compatible can not possess
The network access equipment of network connection type function is returned, so with the higher technique effect of compatibility.
The third aspect, the embodiment of the present invention provide a kind of information feedback method, including:Network access equipment receiving terminal connects
Enter the network type inquiry request sent after the network access equipment, the network type inquiry request is used for requesting query
The network connection type of the network access equipment;The network access equipment is based on the network type inquiry request to described
Terminal sends the network connection type of the network access equipment, so that network of the terminal according to the network access equipment
Connection type controls the network connection type of the terminal.
Seen from the above description, sent after network access equipment receives the terminal access network access equipment
After network type inquiry request, the network connection type of network access equipment will be returned to terminal, and then connect by network
Enter the network connection type of the network connection type control terminal of equipment, and if the network connection type difference of terminal, its net
Network connection strategy is also different, so reached by the network connection type of network access equipment to adjust the network connection of terminal
The technique effect of strategy, thus the network connection policy control to terminal is more accurate.
Preferably, the receiving terminal accesses after the network access equipment network type inquiry request sent, tool
Body is:Receive and be arranged at the network type inquiry request that the HTTP clients of the terminal are sent;It is described to the terminal
The network connection type of the network access equipment is sent, is specially:Taken by the HTTP for being arranged at the network access equipment
Business device returns to the network connection type of the network access equipment to the terminal.By then passing through HTTP clients and HTTP clothes
Device be engaged in inquire about the network connection type of network access equipment, so terminal and network access equipment need not be done on hardware
Improve, thus with the technique effect for reducing cost.
Fourth aspect, the embodiment of the present invention provide a kind of network access equipment, including:Receiving module, for receiving terminal
The network type inquiry request sent is accessed after the network access equipment, and the network type inquiry request is looked into for request
Ask the network connection type of the network access equipment;Sending module, for based on the network type inquiry request to described
Terminal sends the network connection type of the network access equipment, so that network of the terminal according to the network access equipment
Connection type controls the network connection type of the terminal.
Seen from the above description, sent after network access equipment receives the terminal access network access equipment
After network type inquiry request, the network connection type of network access equipment will be returned to terminal, and then connect by network
Enter the network connection type of the network connection type control terminal of equipment, and if the network connection type difference of terminal, its net
Network connection strategy is also different, so reached by the network connection type of network access equipment to adjust the network connection of terminal
The technique effect of strategy, thus the network connection policy control to terminal is more accurate.
Preferably, the receiving module, is specifically used for:Reception is arranged at the described of the HTTP clients transmission of the terminal
Network type inquiry request;The sending module, is specifically used for:By the HTTP server for being arranged at the network access equipment
The network connection type of the network access equipment is returned to the terminal.By then passing through HTTP clients and HTTP server
To inquire about the network connection type of network access equipment, so changing on hardware need not be done to terminal and network access equipment
Enter, thus with the technique effect for reducing cost.
Brief description of the drawings
Fig. 1 is the flow chart of method for connecting network of the embodiment of the present invention;
Fig. 2 is to be controlled in method for connecting network of the embodiment of the present invention according to the network connection type of the network access equipment
The flow chart of the first way of the network connection type of the terminal;
Fig. 3 is to be controlled in method for connecting network of the embodiment of the present invention according to the network connection type of the network access equipment
The flow chart of the second way of the network connection type of the terminal;
Fig. 4 is that terminal sets HTTP clients and network access equipment to set HTTP service in the embodiment of the present invention one
Schematic diagram;
Fig. 5 is the flow chart of method for network access in the embodiment of the present invention one;
Fig. 6 is the flow chart of method for network access in the embodiment of the present invention two;
Fig. 7 is the structure chart of terminal in the embodiment of the present invention;
Fig. 8 is the flow chart of information feedback method of the embodiment of the present invention;
Fig. 9 is the structure chart of network access equipment of the embodiment of the present invention.
Embodiment
Because when terminal accesses network by network access equipment, its actual network rate calculation is and network
The network type of access device is corresponding, and the network connection strategy of terminal is only related to the internetwork connection mode of terminal, therefore
And cause in the prior art that there is the not accurate enough technical problem of the network connection policy control to terminal.On the other hand, this hair
Bright embodiment proposes that terminal is connected to after network access equipment, and network type inquiry request, net are sent to network access equipment
Network type queries ask the network connection type for requesting query network access equipment;Terminal receives network access equipment and is based on
The network connection type for the network access equipment that network type inquiry request returns;Terminal connects according to the network of network access equipment
Connect the network connection type of Type Control terminal.If the network connection type difference of terminal, its network connection strategy is also different,
So reach by the network connection type of network access equipment to adjust the technique effect of the network connection strategy of terminal, because
And the network connection policy control to terminal is more accurate.
With reference to each accompanying drawing to the main realization principle of technical scheme of the embodiment of the present invention, embodiment and its
The beneficial effect that should be able to reach is set forth in.
In a first aspect, the embodiment of the present invention provides a kind of method for connecting network, refer to Fig. 1, this method specifically include with
Lower step:
Step S101:Terminal is connected to after network access equipment, and sending network type inquiry to network access equipment please
Ask, network type inquiry request is used for the network connection type of requesting query network access equipment;
For example, terminal is, for example,:Mobile phone, tablet personal computer etc.;
For example, network access equipment is, for example,:Mobile phone, wireless router etc..
Step S102:Terminal receives the network access equipment that network access equipment is returned based on network type inquiry request
Network connection type;For example, network connection type is, for example,:Fixed network, cellular radio data network etc..
Step S103:Terminal controls the network connection type of terminal according to the network connection type of network access equipment.
Preferably, in step S101, network type inquiry request is sent to network access equipment, is specially:Pass through setting
In the HTTP clients of terminal network type inquiry request is sent to network access equipment;
In step S102, receive network access equipment and be based on network type inquiry request return Query Result, be specially:
Receive the network connection type of the network access equipment for the HTTP server return for being arranged at network access equipment.
Specifically, that is, in terminal HTTP clients are set, and HTTP service is set on network access equipment
Device, terminal send network type inquiry request by HTTP clients to network access equipment;And network access equipment is receiving
After the network type inquiry request sent to HTTP clients, the network that network access equipment is inquired about by HTTP server connects
Type is connect, the network connection type of network access equipment is returned into terminal finally by HTTP server.In this case,
And the improvement on hardware need not be done to terminal and network access equipment, so with the technique effect for reducing cost.
Preferably, in step S103, terminal controls the network of terminal to connect according to the network connection type of network access equipment
Multiple control modes can be had by connecing type, and two ways therein is set forth below and is introduced, certainly, in specific implementation process
In, it is not limited to following two modes.
The first, refer to Fig. 2, specifically include:
Step S201:Show that network access equipment uses in the network connection type of network access equipment to carry out according to flow
During the charging policy of charging, the network connection type of terminal is adjusted to be adapted with carrying out the charging policy of charging according to flow
Network connection type;
Step S202:Show that network access equipment was used according to the Connection Time in the network connection type of network access equipment
When carrying out the charging policy of charging, keep the network connection type of terminal constant.
For example, terminal passes through network connection first after the network connection type of network access equipment is received
Type judges charging policy used by network access equipment, such as:It is honeycomb in the network connection type of network access equipment
During radio data network, then charging policy is the charging plan that charging is carried out according to flow used by showing network access equipment
Omit, such as:0.001 yuan/kb, 0.01 yuan/kb etc.;And if when the network connection type of network access equipment is fixed network, then
Charging policy is the charging policy that charging is carried out according to the Connection Time used by showing network access equipment, such as:30 yuan/
The moon, 0.01 yuan/min etc..
And network access equipment network billing strategy be according to flow carry out charging charging policy if, then in order to
Prevent network access equipment from producing substantial amounts of rate, then need terminal to use the network connection strategy of minimum data exchange,
In this case, then it can control terminal also using the adaptable network connection class of the charging policy with carrying out charging according to flow
Type, such as:Cellular radio connects network, and minimum data exchange is used so as to reach control terminal by the network connection type
Network connection strategy purpose;And when network access equipment uses the network connection strategy according to time progress charging, then
Due to the data exchange flow of terminal need not be controlled, so the network connection type of terminal can be kept constant, such as:If
Terminal is using cellular radio connection network before, then after step s 103, terminal is still using cellular radio connection network;
If terminal uses fixed network before, then after step s 103, terminal is still using fixed network etc..
Second, Fig. 3 is refer to, specifically includes following steps:
Step S301:When the network connection type of network access equipment is cellular radio data network, by the net of terminal
Network connection type is adjusted to and cellular radio data network;
Step S302:When the network connection type of network access equipment is fixed network, the network connection type of terminal is kept
It is constant.
For example, it is generally the case that if the network connection type of network access equipment is cellular radio data network
If, then its generally use carries out the charging policy of charging according to flow, so in this case it is necessary to control terminal
Data exchange flow, so the network connection type of terminal is adjusted and cellular radio data network;And if network insertion
If the network connection type of equipment is fixed network, then its generally use carries out the charging policy of charging according to the time, so
In this case, it is not necessary to the data exchange flow of terminal is controlled, so keep the network connection type of terminal constant.
Preferably, after network type inquiry request is sent to network access equipment based on step S103, method is also wrapped
Include:
If the network connection of the network access equipment of network access equipment return is not received in setting time length
Type, then keep the current network connection type of terminal constant.
For example, setting time length can be a variety of time spans, such as:1min, 2min etc., the present invention are implemented
Example is not restricted, and in specific implementation process, some network access equipments may not possess the function of inquiry network connection, so
The network connection type of network access equipment can not be returned to, in this case, due to that always network insertion will not be waited to set
The standby network connection type for returning to network access equipment, and the network connection type for being to maintain terminal is constant, then illustrates that network connects
The method of connecing compatible can not possess the network access equipment for returning to network connection type function, so with the higher skill of compatibility
Art effect.
Method for connecting network that the embodiment of the present application is introduced is introduced, it is necessary to say below by way of several specific embodiments
Bright, the embodiment in the application is served only for explaining the application, and cannot be used for limiting the application.All meet the application think of
For the embodiment thought within the protection domain of the application, those skilled in the art know naturally should be how according to the application's
Thought is deformed.
Embodiment one
The present embodiment is introduced so that terminal is mobile phone A, network access equipment is mobile phone B as an example.
Fig. 4 is refer to, HTTP clients are provided with mobile phone A, HTTP server is provided with mobile phone B, mobile phone B passes through honeybee
Nest radio data network is connected to network.
Fig. 5 is refer to, the method for connecting network interacted based on mobile phone A and mobile phone B is comprised the following steps:
Step S501:Mobile phone A is connected to mobile phone B, and the connection procedure follows IEEE 802.11 standard.
Step S502:After mobile phone A is connected to mobile phone B success, mobile phone A is by HTTP clients to the specific of IP gateway
Port (namely:HTTP server) send mobile phone B network type inquiry request;
Step S503:The network connection type that HTTP server inquires mobile phone B is:Cellular radio data network;And
The network connection type of mobile phone B is back to mobile phone A;
Step S504:Mobile phone A determines the network connection type of mobile phone A after the network connection type of mobile phone B is received
For:Fixed network, due to not being cellular radio data network, so the network connection type of mobile phone A is adjusted to cellular radio data
Network.
Embodiment two
The present embodiment is still introduced by so that terminal is mobile phone A, network access equipment is mobile phone B as an example.
Fig. 6 is refer to, the method for connecting network interacted based on mobile phone A and mobile phone B is comprised the following steps:
Step S601:Mobile phone A is connected to mobile phone B, and the connection procedure follows IEEE 802.11 standard.
Step S602:After mobile phone A is connected to mobile phone B success, HTTP of the mobile phone A by HTTP clients to mobile phone B
Server sends the network type inquiry request of inquiry mobile phone B network type;
Step S603:The network connection type that HTTP server inquires mobile phone B is:Fixed network;And the network of mobile phone B connects
Connect type and be back to mobile phone A;
Step S604:Mobile phone A determines charging plan corresponding to fixed network after the network connection type of mobile phone B is received
Slightly:The charging policy of charging is carried out according to the time;Due to carrying out the charging policy of charging not in accordance with flow, so keep hand
Machine A network connection type is constant.
Second aspect, based on same inventive concept, the embodiment of the present invention provides a kind of terminal, refer to Fig. 7, terminal tool
Body includes:
Sending module 70, after being connected to network access equipment, network type inquiry is sent to network access equipment
Request, network type inquiry request are used for the network connection type of requesting query network access equipment;
Receiving module 71, the network access equipment returned for receiving network access equipment based on network type inquiry request
Network connection type;
Control module 72, for controlling the network connection type of terminal according to the network connection type of network access equipment.
Preferably, sending module 70, it is specifically used for:Sent out by the HTTP clients for being arranged at terminal to network access equipment
SCN Space Cable Network type queries are asked;
Receiving module 71, is specifically used for:Receive and be arranged at the network insertion that the HTTP server of network access equipment returns
The network connection type of equipment.
Preferably, control module 72, specifically include:
Adjustment unit, for showing that network access equipment is used according to flow in the network connection type of network access equipment
When carrying out the charging policy of charging, the network connection type of terminal is adjusted to the charging policy phase with carrying out charging according to flow
The network connection type of adaptation;
Holding unit, for showing that network access equipment is used according to connection in the network connection type of network access equipment
When time carries out the charging policy of charging, keep the network connection type of terminal constant.
Preferably, when the network connection type of network access equipment is cellular radio data network, then show that network connects
Charging policy is the charging policy that charging is carried out according to flow used by entering equipment;
When the network connection type of network access equipment is fixed network, then show charging plan used by network access equipment
The charging policy of charging is slightly carried out according to the Connection Time.
Preferably, terminal also includes:
Keep module, for network access equipment send network type inquiry request after, if in setting time
The network connection type of the network access equipment of network access equipment return is not received in length, then keeps the current net of terminal
Network connection type is constant.
The third aspect, based on same inventive concept, the embodiment of the present invention provides a kind of information feedback method, refer to Fig. 8,
This method comprises the following steps:
Step S801:The network type inquiry sent after network access equipment receiving terminal access network access equipment please
Ask, network type inquiry request is used for the network connection type of requesting query network access equipment;
Step S802:Network access equipment sends the network of network access equipment based on network type inquiry request to terminal
Connection type, so that terminal controls the network connection type of terminal according to the network connection type of network access equipment.
Preferably, the network type inquiry request sent after receiving terminal access network access equipment, it is specially:
Receive and be arranged at the network type inquiry request that the HTTP clients of terminal are sent;
The network connection type of network access equipment is sent to terminal, is specially:
By being arranged at the HTTP server of network access equipment to the network connection class of terminal return network access equipment
Type.
Fourth aspect, based on same inventive concept, the embodiment of the present invention provides a kind of network access equipment, refer to Fig. 9,
Including:
Receiving module 90, for the network type inquiry request sent after receiving terminal access network access equipment, net
Network type queries ask the network connection type for requesting query network access equipment;
Sending module 91, for sending the network connection class of network access equipment to terminal based on network type inquiry request
Type, so that terminal controls the network connection type of terminal according to the network connection type of network access equipment.
Preferably, receiving module 90, it is specifically used for:
Receive and be arranged at the network type inquiry request that the HTTP clients of terminal are sent;
Sending module 91, is specifically used for:
By being arranged at the HTTP server of network access equipment to the network connection class of terminal return network access equipment
Type.
One or more embodiments of the invention at least has the advantages that:
Due in embodiments of the present invention, when terminal accesses network by network access equipment, network can be inquired about first
The network connection type of access device, the network connection of terminal is then adjusted by the network connection type of network access equipment
Type, and if the network connection type difference of terminal, its network connection strategy is also different, passes through network insertion so having reached
The network connection type of equipment adjusts the technique effect of the network connection strategy of terminal, thus the network connection strategy to terminal
What is controlled is more accurate.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.So, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.
Claims (14)
- A kind of 1. method for connecting network, it is characterised in that including:Terminal is connected to after network access equipment, and network type inquiry request, the net are sent to the network access equipment Network type queries ask the network connection type for network access equipment described in requesting query;The terminal receives the network for the network access equipment that network access equipment is returned based on the network type inquiry request Connection type;The terminal controls the network connection type of the terminal according to the network connection type of the network access equipment.
- 2. the method as described in claim 1, it is characterised in that sending network type inquiry to the network access equipment please Ask, be specially:HTTP clients by being arranged at the terminal send the network type to the network access equipment and looked into Ask request;The network connection for receiving the network access equipment that network access equipment is returned based on the network type inquiry request Type, it is specially:Receive the network connection class of the network access equipment for the HTTP server return for being arranged at the network access equipment Type.
- 3. the method as described in claim 1, it is characterised in that the terminal is according to the network connection of the network access equipment The network connection type of terminal described in Type Control, is specifically included:Show that the network access equipment uses in the network connection type of the network access equipment and carry out charging according to flow Charging policy when, by the network connection type of the terminal be adjusted to and it is described according to flow carry out charging charging policy phase The network connection type of adaptation;Show that the network access equipment uses in the network connection type of the network access equipment to carry out according to the Connection Time During the charging policy of charging, keep the network connection type of the terminal constant.
- 4. method as claimed in claim 3, it is characterised in that in the network connection type of the network access equipment be honeycomb During radio data network, then charging policy is the charging that charging is carried out according to flow used by showing the network access equipment Strategy;When the network connection type of the network access equipment is fixed network, then show to count used by the network access equipment It is the charging policy that charging is carried out according to the Connection Time to take strategy.
- 5. the method as described in any claims of claim 1-4, it is characterised in that sent described to the network access equipment After network type inquiry request, methods described also includes:If the network connection for the network access equipment that the network access equipment returns is not received in setting time length Type, then keep the current network connection type of the terminal constant.
- A kind of 6. terminal, it is characterised in that including:Sending module, after being connected to network access equipment, sending network type inquiry to the network access equipment please Ask, the network type inquiry request is used for the network connection type of network access equipment described in requesting query;Receiving module, the network access equipment returned for receiving network access equipment based on the network type inquiry request Network connection type;Control module, for controlling the network connection class of the terminal according to the network connection type of the network access equipment Type.
- 7. terminal as claimed in claim 6, it is characterised in that the sending module, be specifically used for:By being arranged at the end The HTTP clients at end send the network type inquiry request to the network access equipment;The receiving module, is specifically used for:Receive and be arranged at the net that the HTTP server of the network access equipment returns The network connection type of network access device.
- 8. terminal as claimed in claim 6, it is characterised in that the control module, specifically include:Adjustment unit, for the network connection type of the network access equipment show the network access equipment use according to When flow carries out the charging policy of charging, the network connection type of the terminal is adjusted to carry out charging according to flow with described The adaptable network connection type of charging policy;Holding unit, for the network connection type of the network access equipment show the network access equipment use according to When Connection Time carries out the charging policy of charging, keep the network connection type of the terminal constant.
- 9. terminal as claimed in claim 8, it is characterised in that in the network connection type of the network access equipment be honeycomb During radio data network, then charging policy is the charging that charging is carried out according to flow used by showing the network access equipment Strategy;When the network connection type of the network access equipment is fixed network, then show to count used by the network access equipment It is the charging policy that charging is carried out according to the Connection Time to take strategy.
- 10. the terminal as described in any claims of claim 6-9, it is characterised in that the terminal also includes:Keep module, for the network access equipment send network type inquiry request after, if in setting time The network connection type for the network access equipment that the network access equipment returns is not received in length, then keeps the terminal Current network connection type is constant.
- A kind of 11. information feedback method, it is characterised in that including:Network access equipment receiving terminal accesses after the network access equipment network type inquiry request sent, the net Network type queries ask the network connection type for network access equipment described in requesting query;The network access equipment sends the network access equipment based on the network type inquiry request to the terminal Network connection type, so that the terminal controls the network of the terminal according to the network connection type of the network access equipment Connection type.
- 12. method as claimed in claim 11, it is characterised in that the receiving terminal is accessed after the network access equipment The network type inquiry request of transmission, it is specially:Receive and be arranged at the network type inquiry request that the HTTP clients of the terminal are sent;The network connection type that the network access equipment is sent to the terminal, it is specially:By being arranged at the HTTP server of the network access equipment to the net of the terminal return network access equipment Network connection type.
- A kind of 13. network access equipment, it is characterised in that including:Receiving module, the network type inquiry request sent is accessed after the network access equipment for receiving terminal, it is described Network type inquiry request is used for the network connection type of network access equipment described in requesting query;Sending module, for sending the network of the network access equipment to the terminal based on the network type inquiry request Connection type, so that the terminal controls the network connection of the terminal according to the network connection type of the network access equipment Type.
- 14. network access equipment as claimed in claim 13, it is characterised in that the receiving module, be specifically used for:Receive and be arranged at the network type inquiry request that the HTTP clients of the terminal are sent;The sending module, is specifically used for:By being arranged at the HTTP server of the network access equipment to the net of the terminal return network access equipment Network connection type.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310728689.5A CN104753821B (en) | 2013-12-25 | 2013-12-25 | A kind of method for connecting network, information feedback method, terminal and network access equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310728689.5A CN104753821B (en) | 2013-12-25 | 2013-12-25 | A kind of method for connecting network, information feedback method, terminal and network access equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104753821A CN104753821A (en) | 2015-07-01 |
CN104753821B true CN104753821B (en) | 2017-12-19 |
Family
ID=53592949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310728689.5A Active CN104753821B (en) | 2013-12-25 | 2013-12-25 | A kind of method for connecting network, information feedback method, terminal and network access equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104753821B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105007602A (en) * | 2015-07-16 | 2015-10-28 | 福建天晴数码有限公司 | Method for flow control of mobile terminal and flow control mobile terminal |
CN106413121A (en) * | 2015-07-30 | 2017-02-15 | 中兴通讯股份有限公司 | Network connection method and apparatus |
CN115277400A (en) * | 2022-07-15 | 2022-11-01 | 浪潮思科网络科技有限公司 | Terminal network access method, equipment and medium based on campus network environment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101977434A (en) * | 2010-09-29 | 2011-02-16 | 宇龙计算机通信科技(深圳)有限公司 | Network connection method and mobile terminal |
EP2385727A1 (en) * | 2010-05-04 | 2011-11-09 | France Telecom | Method for controlling a terminal operable to access a wireless access network |
CN103096384A (en) * | 2012-12-17 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Method limiting slave internet traffic and system thereof |
CN103096385A (en) * | 2013-01-25 | 2013-05-08 | 北京小米科技有限责任公司 | Method and device and terminal of flow control |
CN103281799A (en) * | 2013-05-31 | 2013-09-04 | Tcl通讯(宁波)有限公司 | Network connection switching method based on mobile phone hot spots and mobile phone |
-
2013
- 2013-12-25 CN CN201310728689.5A patent/CN104753821B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2385727A1 (en) * | 2010-05-04 | 2011-11-09 | France Telecom | Method for controlling a terminal operable to access a wireless access network |
CN101977434A (en) * | 2010-09-29 | 2011-02-16 | 宇龙计算机通信科技(深圳)有限公司 | Network connection method and mobile terminal |
CN103096384A (en) * | 2012-12-17 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Method limiting slave internet traffic and system thereof |
CN103096385A (en) * | 2013-01-25 | 2013-05-08 | 北京小米科技有限责任公司 | Method and device and terminal of flow control |
CN103281799A (en) * | 2013-05-31 | 2013-09-04 | Tcl通讯(宁波)有限公司 | Network connection switching method based on mobile phone hot spots and mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN104753821A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104205884B (en) | Multicast broadcast multimedia service auxiliary content is distributed | |
US9565719B2 (en) | Electronic device for multiple radio access and method thereof | |
CN104243586B (en) | Content sharing method, content sharing apparatus and content shared device | |
CN103841134B (en) | Based on API transmission, the method for receive information, apparatus and system | |
US20120084460A1 (en) | Method and system for dynamic traffic steering | |
CN103916423A (en) | Data synchronization method and device | |
CN102594875B (en) | Content distribution method and device as well as access network device | |
CN110235427A (en) | The IP index for IP address distribution based on policy control functions | |
EP2394222B1 (en) | Method for transmitting virtualized data in cloud computing environment | |
CN102868935A (en) | Scheduling method for responding multiple sources in content distribution network (CDN) | |
CN102195851A (en) | Load sharing method, system and access server | |
CN101997822A (en) | Streaming media content delivery method, system and equipment | |
CN104753821B (en) | A kind of method for connecting network, information feedback method, terminal and network access equipment | |
CN109962961A (en) | A kind of reorientation method and system of content distribution network CDN service node | |
CN102780710A (en) | Node scheduling method based on content distribution network | |
Gao et al. | Minimizing resource cost for camera stream scheduling in video data center | |
CN104702634A (en) | Method, device and system for processing data operation request | |
CN105635124A (en) | Flow control method and device | |
CN102571963B (en) | Content delivery method, device and access network equipment | |
KR20140024553A (en) | Contents delivery service method for live streaming contents, and apparatus therefor | |
CN103685497B (en) | A kind of on-line storage sharing method and system | |
CN103973747A (en) | Method and device for acquiring content | |
KR20150025249A (en) | Method for content routing based on batching and apparatus performing the method | |
CN105917694B (en) | Service in telecommunication network provides and activation | |
CN102238089A (en) | Service interaction method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |