CN108616835A - Internet resources acquisition methods, device, system and storage medium based on browser - Google Patents
Internet resources acquisition methods, device, system and storage medium based on browser Download PDFInfo
- Publication number
- CN108616835A CN108616835A CN201810387123.3A CN201810387123A CN108616835A CN 108616835 A CN108616835 A CN 108616835A CN 201810387123 A CN201810387123 A CN 201810387123A CN 108616835 A CN108616835 A CN 108616835A
- Authority
- CN
- China
- Prior art keywords
- resource
- internet resources
- access request
- server
- resource access
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of Internet resources acquisition methods, device, system and storage medium based on browser, belongs to internet information process field.The method includes:When the resource access request that the acquisition for mobile terminal of user identity identification SIM card is triggered to browser is installed, if detecting that the SIM card has been handled exempts from flow business, and the requested Internet resources of resource access request are not exempted from adfluxion first and are closed, the resource access request is sent to flow proxy server is exempted from, the resource access request is used to indicate the flow proxy server of exempting from and obtains the Internet resources from corresponding Resource Server;Exempt from the Internet resources of flow proxy server transmission described in reception.Internet resources acquisition methods provided by the present application can realize that the flow rate of exempting from of Internet resources obtain, and reduce the cost of Internet resources acquisition, that is, reduce the network flow rate of user by exempting from flow proxy server.
Description
Technical field
This application involves internet information process field, more particularly to a kind of Internet resources acquisition side based on browser
Method, device, system and storage medium.
Background technology
With the fast development of Internet technology, various types of application program emerges one after another, the network flow of user
It is also higher and higher to measure rate.
In the related technology, in order to reduce the network flow rate of user, many application developers start and operators in co-operation,
Combine to be proposed and exempt from flow business, handles the mobile terminal for exempting from flow business in the application program specified using application developers
When, without expending network flow rate.
For browser application, only support to exempt from flow when accessing the webpage that application developers are specified at present, but for
File download, online viewing video and the online acquisition operation for playing the resource that game etc. is specified for non-application developers, according to
The old network flow rate that need to expend mobile terminal, cause the network flow rate of user to be unable to get effective reduction.
Invention content
An embodiment of the present invention provides a kind of, and Internet resources acquisition methods, device, system and storage based on browser are situated between
Matter can solve the problems, such as that network flow rate are higher in the related technology.The technical solution is as follows:
On the one hand, a kind of Internet resources acquisition methods based on browser are provided, applied to be equipped with browser and
In the mobile terminal of user identity identification SIM card, the method includes:
When getting the resource access request of the browser triggering, detects the SIM card and whether handled and exempt from flow
Tariff services;
If the SIM card, which has been handled, exempts from flow tariff services, the requested Internet resources of the resource access request are detected
Whether exempt from adfluxion first to close;
When the requested Internet resources of the resource access request are not when first exempts from adfluxion and close, to exempting from flow agency service
Device sends the resource access request, and the resource access request, which is used to indicate, described exempts from flow proxy server from corresponding money
Source server obtains the Internet resources;
Exempt from the Internet resources of flow proxy server transmission described in reception;
Wherein, the Internet resources include:Web page resources, file resource, streaming media resource and webpage version application program money
Any one of source.
On the other hand, a kind of Internet resources acquisition methods based on browser are provided, applied to exempting from flow agency service
Device, the method includes:
The resource access request that mobile terminal is sent is received, the mobile terminal is equipped with user identity identification SIM card, institute
The request that resource access request is browser triggering is stated, and the resource access request is the mobile terminal determining
It states SIM card and has handled and exempt from flow tariff services, and the requested Internet resources of the resource access request do not exempt to flow first
The request sent after set;
The requested Internet resources of resource access request are obtained to corresponding Resource Server;
The Internet resources are sent to the mobile terminal;
Wherein, the Internet resources include:Web page resources, file resource, streaming media resource and webpage version application program money
Any one of source.
Another aspect provides a kind of Internet resources acquisition device based on browser, applied to be equipped with browser with
And the mobile terminal of user identity identification SIM card, described device include:
First detection module, for when getting the resource access request of the browser triggering, detecting the SIM card
Whether handle and has exempted from flow tariff services;
Second detection module, for the SIM card handled exempt from flow tariff services when, detect resource access and ask
It asks requested Internet resources whether to exempt from adfluxion first to close;
Sending module, for when the requested Internet resources of the resource access request not first exempt from adfluxion close when, to
The flow proxy server of exempting from sends the resource access request, and the resource access request, which is used to indicate, described exempts from flow generation
It manages server and obtains the Internet resources to corresponding Resource Server;
Receiving module, for receiving the Internet resources for exempting from the transmission of flow proxy server;
Wherein, the Internet resources include:Web page resources, file resource, streaming media resource and webpage version application program money
Any one of source.
In another aspect, provide a kind of Internet resources acquisition device based on browser, applied to exempting from flow agency service
Device, described device include:
Receiving module, the resource access request for receiving mobile terminal transmission, the mobile terminal are equipped with browser
And user identity identification SIM card, the resource access request is the request of browser triggering, and resource access is asked
It asks and exempts from flow tariff services determining that the SIM card has been handled for the mobile terminal, and the resource access request is asked
The Internet resources asked do not exempt from the request sent after adfluxion is closed first;
Acquisition module, for obtaining the requested Internet resources of resource access request to corresponding Resource Server;
Sending module, for the Internet resources to be sent to the mobile terminal;
Wherein, the Internet resources include:Web page resources, file resource, streaming media resource and webpage version application program money
Any one of source.
In another aspect, provide a kind of computer equipment, the terminal includes processor and memory, in the memory
It is stored at least one instruction, at least one section of program, code set or instruction set, described at least one instructs, is at least one section described
Program, the code set or instruction set loaded by the processor and executed with realize as described in terms of above-mentioned based on browser
Internet resources acquisition methods.
In another aspect, providing a kind of computer readable storage medium, at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
Instruction set is loaded by processor and is executed to realize the Internet resources acquisition methods based on browser as described in terms of above-mentioned.
In another aspect, a kind of resource acquisition system is provided, the system comprises:Mobile terminal and exempt from flow agency clothes
Business device;
The mobile terminal includes the Internet resources acquisition device based on browser or the shifting as described in terms of above-mentioned
Dynamic terminal is the computer equipment described in above-mentioned aspect;
The flow proxy server of exempting from includes the Internet resources acquisition device based on browser as described in terms of above-mentioned,
Or the flow proxy server of exempting from is the computer equipment described in above-mentioned aspect.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought includes at least:
An embodiment of the present invention provides a kind of, and Internet resources acquisition methods, device, system and storage based on browser are situated between
Matter, mobile terminal is determining that the SIM card of its installation handled and exempt from flow business, and the resource of browser triggering of its installation accesses
Ask requested Internet resources not first exempt from adfluxion close when, can to exempt from flow proxy server send the resource access ask
It asks, and receives this and exempt from the Internet resources that flow proxy server is got from Resource Server, it is thus achieved that Internet resources
Exempt from flow rate acquisition, effectively reduce the network flow rate of user.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of implementation ring involved by the Internet resources acquisition methods provided in an embodiment of the present invention based on browser
The structural schematic diagram in border;
Fig. 2 is a kind of flow chart of Internet resources acquisition methods based on browser provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another Internet resources acquisition methods based on browser provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another Internet resources acquisition methods based on browser provided in an embodiment of the present invention;
Fig. 5 is another implementation involved by the Internet resources acquisition methods provided in an embodiment of the present invention based on browser
The structural schematic diagram of environment;
Fig. 6 is the method flow diagram that a kind of mobile terminal provided in an embodiment of the present invention sends resource access request;
Fig. 7 is a kind of structural schematic diagram of Internet resources acquisition device based on browser provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another Internet resources acquisition device based on browser provided in an embodiment of the present invention
Figure;
Fig. 9 is a kind of structural schematic diagram of sending module provided in an embodiment of the present invention;
Figure 10 is the structural representation of another Internet resources acquisition device based on browser provided in an embodiment of the present invention
Figure;
Figure 11 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Referring to FIG. 1, involved by it illustrates provided in an embodiment of the present invention Internet resources acquisition methods based on browser
And a kind of implementation environment structural schematic diagram.The implementation environment may include mobile terminal 00, exempt from flow proxy server 01
And Resource Server 02.Wherein, the mobile terminal 00 can be smart mobile phone, automatic navigator, multimedia player or
Wearable device etc..It can be a service that this, which exempts from each server in flow proxy server 01 and Resource Server 02,
Device, or the server cluster being made of several servers or a cloud computing service center.
Between can be seen that mobile terminal 00 with reference to figure 1 and exempt from flow proxy server 01, mobile terminal 00 takes with resource
It is engaged between device 02, and exempts between flow proxy server 01 and Resource Server 02, can pass through wired or wireless network
Establish connection.
Wherein, browser and user identity identification (Subscriber can be installed in mobile terminal 00
Identification Module, SIM) card.Wherein, which can may be virtual electronics for the physical card of entity
Card, it is not limited in the embodiment of the present invention.Exempt from the application developers and fortune that flow proxy server 01 can be the browser
The proxy server that battalion quotient disposes jointly.When the browser installed in the mobile terminal 00 is in the resource visit for detecting that user executes
Ask that operation (such as inputs the operation of network address in the address field of browser or clicks the behaviour of link that browser interface is shown
Make) when, generation resource access request can be triggered.Mobile terminal can handle application and development determining the SIM card of its installation
Quotient exempts from flow business with what operators in co-operation was released, and the requested Internet resources of the resource access request do not exempt from adfluxion first
When conjunction, which is sent to and exempts from flow proxy server 01.The money can be based on by exempting from flow proxy server 01
Source access request obtains the Internet resources from Resource Server 02, and is sent to mobile terminal 00.
Exempt from the resource that flow proxy server 01 receives by this due to mobile terminal 01 to provide without expending network flow
Take, therefore effectively reduce the cost of resource acquisition, that is, reduces the network flow rate of user.
Fig. 2 is a kind of flow chart of Internet resources acquisition methods based on browser provided in an embodiment of the present invention, the party
Method can be applied to it is shown in FIG. 1 be equipped in the mobile terminal 00 of browser and SIM card, with reference to figure 2, this method can wrap
It includes:
Step 101, get browser triggering resource access request when, whether detect the SIM card of mobile terminal
It handles and exempts from flow tariff services.
In embodiments of the present invention, browser can be installed, which can be browsing in mobile terminal
Device triggering when detecting the resource access operations that user executes generates.For example, being shown in the display interface of the browser
Address field and several links, the resource access operations can be the operation that user inputs network address in the address field, Huo Zhedian
Hit the operation etc. of any link;Or the resource access operations can also be voice operating etc., the embodiment of the present invention is to the resource
The type of access operation does not limit.
After the resource access request that acquisition for mobile terminal is triggered to browser, it can first detect and to be installed in the mobile terminal
Whether SIM card, which has been handled, is exempted from flow business, this exempts from what the application developers that flow business is browser were released with operators in co-operation
Business.Exempt from flow business if having handled, step 102 can be continued to execute;Exempt from flow business if not handling, it can be according to original
Some resource acquisition modes obtain Internet resources, such as directly can send the resource access request to Resource Server.
If step 102, the SIM card, which have been handled, exempts from flow tariff services, the requested network of the resource access request is detected
Whether resource exempts from adfluxion first is closed.
This first exempt from adfluxion close can be browser the preassigned Internet resources for exempting from flow rate of application developers
Set.It that is to say, this first exempts from adfluxion and close the specified money of application developers that the Internet resources for including can be browser
The Internet resources that source server is provided.
In embodiments of the present invention, resource identification can be carried in the resource access request, which can be
The mark of Resource Server where the requested Internet resources of resource access request.For example, the resource identification can be resource
Address domain name or Internet protocol (Internet Protocol, IP) of server.Correspondingly, mobile terminal can pass through
Detect the resource identification in the resource access request whether be the specified Resource Server of application developers mark, with determine should
Whether the requested Internet resources of resource access request exempt from adfluxion first is closed.It is when mobile terminal detects the resource identification not
When the mark of the specified Resource Server of application developers, it may be determined that the Internet resources are not when first exempts from adfluxion conjunction, in turn
Step 103 can be executed;When mobile terminal detects that the resource identification is the mark for the Resource Server that application developers are specified
When, it may be determined that the Internet resources are exempted from adfluxion first and are closed, and then directly can send resource access to Resource Server and ask
It asks.
Step 103, when the requested Internet resources of the resource access request are not when first exempts from adfluxion and close, to exempting from flow generation
Reason server sends the resource access request.
When the Internet resources not first exempt from adfluxion close when, mobile terminal to exempt from flow proxy server send the resource
Access request can serve to indicate that this is exempted from flow proxy server and obtains the Internet resources to corresponding Resource Server.
Step 104 receives the Internet resources for exempting from the transmission of flow proxy server.
The Internet resources may include:In web page resources, file resource, streaming media resource and webpage version application resource
It is any.
In conclusion an embodiment of the present invention provides a kind of Internet resources acquisition methods based on browser, mobile terminal
Exempt from flow tariff services determining that the SIM card of its installation has been handled, and the requested net of resource access request of browser triggering
Network resource when first exempts from adfluxion conjunction, can not send the resource access request, and receive this and exempt to flow proxy server is exempted from
The Internet resources that flow proxy server is got from Resource Server, it is thus achieved that the flow rate of exempting from of Internet resources obtain
It takes, effectively reduces the cost of resource acquisition, that is, reduce the network flow rate of user.
Fig. 3 is the flow chart of another Internet resources acquisition methods based on browser provided in an embodiment of the present invention, should
Method can be applied to it is shown in FIG. 1 exempt from flow proxy server 01, with reference to figure 3, this method may include:
Step 201 receives the resource access request that mobile terminal is sent.
The mobile terminal is equipped with browser and SIM card, which is the request of browser triggering, and
The resource access request is that the mobile terminal exempts from flow tariff services determining that the SIM card has been handled, and resource access is asked
Requested Internet resources are asked not exempt from the request sent after adfluxion is closed first.
Step 202 obtains the requested Internet resources of the resource access request to corresponding Resource Server.
Corresponding Resource Server can be determined according to the resource access request by exempting from flow proxy server, corresponding with this
Resource Server establishes communication connection, and obtains the requested Internet resources of the resource access request.
The Internet resources are sent to the mobile terminal by step 203.
Wherein, which may include:Web page resources, file resource, streaming media resource and webpage version application program
Any one of resource.
In conclusion an embodiment of the present invention provides a kind of Internet resources acquisition methods based on browser, exempt from flow generation
Reason server can receive the resource access request of mobile terminal transmission, and resource access is obtained from corresponding Resource Server
Requested Internet resources are asked, and are forwarded to mobile terminal, what thus the mobile terminal may be implemented Internet resources exempts from flow
Rate obtain, and effectively reduce the cost of resource acquisition, that is, reduce the network flow rate of user.
Fig. 4 is the flow chart of another Internet resources acquisition methods based on browser provided in an embodiment of the present invention, should
Method can be applied in implementation environment shown in FIG. 1, and with reference to figure 4, this method may include:
Step 301, the resource access request of acquisition for mobile terminal browser triggering.
The resource access request, which can be the browser installed in mobile terminal, is detecting that the resource that user executes accesses
Triggering generates when operation.For example, showing address field and several links in the display interface of the browser, which accesses
Operation can be that user input the operation of network address in the address field, click the operation of any link or be used to indicate access and refer to
Determine the voice operating etc. of resource.
In embodiments of the present invention, the requested Internet resources of the resource access request may include:Web page resources, file
Any one of resource, streaming media resource and webpage version application resource.Wherein, file resource may include picture, document,
Compressed file, application program installation kit and multimedia file etc.;Streaming media resource may include audio resource and video resource
Deng.
It is exemplary, it is assumed that user clicks the online viewing link of film XX on the display interface of browser, then moves
Terminal can get the resource access request of streaming media resource film XX;If user clicks on the display interface of browser
The download link of film XX, then mobile terminal can get the resource access request of file resource film XX.
Whether step 302, mobile terminal, which detect the SIM card that it is installed and handled, exempts from flow tariff services.
After acquisition for mobile terminal to resource access request, whether the SIM card installed in mobile terminal can be first detected
Exempt from flow business through handling, exempts from flow business if having handled, step 303 can be continued to execute;Exempt from flow business if not handling,
Current operation can then be terminated, and Internet resources can be obtained according to original resource acquisition mode, such as can be directly to money
Source server sends the resource access request.
Exemplary, mobile terminal can inquire the business that the SIM card has been handled from carrier server, and then detect
Whether SIM card, which has been handled, is exempted from flow tariff services.
Whether step 303, mobile terminal detect the requested Internet resources of the resource access request exempts from adfluxion first is closed.
Resource identification can be carried in the resource access request, which can be the Internet resources place of request
Resource Server mark, mobile terminal can identify whether to open for the application of browser by detecting the Resource Server
The mark for the Resource Server that hair quotient specifies, to determine whether the requested Internet resources of the resource access request exempt to flow first
Set.It is closed if the Internet resources exempt from adfluxion first, step 304 can be executed;If the Internet resources do not exempt from adfluxion first
It closes, then can execute step 306.Wherein, the mark of the specified Resource Server of application developers can be by browser server
It is issued to mobile terminal in advance.
In embodiments of the present invention, which can be the URL of resource to be obtained, and money is carried in the URL
The mark of source server, the mark of the Resource Server can be the domain name or IP address of Resource Server.Correspondingly, mobile
Terminal can pass through the Resource Server for identifying whether to specify for application developers of the Resource Server carried in detection URL
Mark is closed with determining whether the requested Internet resources of the URL exempt from adfluxion first.
It is exemplary, it is assumed that the domain name of the specified Resource Server of application developers is:Aa.com, what acquisition for mobile terminal arrived
The resource access request of streaming media resource film XX is URL:Movie.aa.com/XX, then mobile terminal can determine in the URL
The domain name of the Resource Server of carrying is the domain name that application developers are specified, thus may determine that the requested Streaming Medias of the URL
Resource:Film XX exempts from adfluxion first and closes, and can execute step 304;If acquisition for mobile terminal is to resource access request:
Movie.bb.com/XX, then since the domain name bb.com of the Resource Server of the carrying in the resource access request is not application
The domain name that developer specifies, therefore mobile terminal can execute step 306.
In the present invention is implemented, mobile terminal can detect the requested money of resource access request of browser triggering automatically
Whether source exempts from adfluxion first is closed, and can be according to testing result sent to the resource access request and be exempted from flow proxy server
Or Resource Server, the flow rate of the exempting from when Internet resources of adfluxion conjunction are exempted from browser acquisition first thus not only may be implemented and obtain
It takes, can also realize that browser obtains second and exempts to exempt from flow rate when adfluxion closes the Internet resources of (i.e. non-first exempts from adfluxion conjunction)
It obtains.
And in orientation flow monthly payment service in the related technology, mobile terminal, can be straight after getting resource access request
It connects to Resource Server and obtains resource.It is the network access equipment monitoring and statistics by operator during the resource acquisition
Network flow between mobile terminal and each Resource Server, and judge the network between mobile terminal and specified Resource Server
Flow whether be more than flow packet upper limit value.The orientation flow monthly payment service in the related technology can only realize specified Internet resources
Exempt from flow rate acquisition, and non-designated Internet resources can not then exempt from flow rate acquisition, resource acquisition cost is higher, application
Flexibility is poor.
Step 304, mobile terminal send resource access request to the corresponding Resource Server of the Internet resources.
If mobile terminal determines that the requested Internet resources of the resource access request are exempted from adfluxion first and closed, can be direct
The mark (such as domain name or IP address of Resource Server) of Resource Server entrained by the resource access request, to
Corresponding Resource Server sends the resource access request.
It is exemplary, if acquisition for mobile terminal to resource access request be:Movie.aa.com/XX, then can directly to
Domain name is that the video server of aa.com sends the resource access request.
Step 305, Resource Server send the requested Internet resources of the resource access request to mobile terminal.
After Resource Server receives the resource access request, the requested network money of the resource access request can be obtained
Source, and the Internet resources are sent to mobile terminal.
Exemplary, domain name is that the video server of aa.com receives resource access request:Movie.aa.com/XX it
Afterwards, the streaming media resource of film XX can be sent to mobile terminal.
Step 306, mobile terminal are visited according to the type of the requested Internet resources of the resource access request and the resource
The protocol type for asking request determines and corresponding exempts from flow proxy server.
When mobile terminal determines that the requested Internet resources of the resource access request, then can be with not when first exempts from adfluxion and close
The resource access request is sent to flow proxy server is exempted from.In embodiments of the present invention, application developers and operator
It can be directed to different types of Internet resources and different types of communication protocol, deployment is a plurality of types of to exempt from flow agency's clothes
Business device, therefore mobile terminal can also be first according to the type and the resource of the requested Internet resources of the resource access request
The protocol type of access request determines and corresponding exempts from flow proxy server.
Optionally, as shown in figure 5, the flow proxy server of exempting from that application developers and operator are disposed at least may be used
To include:In web page server 011, download server 012, half-duplex tunnel server 013 and duplexing tunnel server 014
At least one.Correspondingly, mobile terminal determines that the corresponding process for exempting from flow proxy server may include in following step
At least one:
If step 3061, the Internet resources are web page resources, and the protocol type of the resource access request passes for hypertext
Defeated agreement (Hyper Text Transfer Protocol, HTTP), then can determine that corresponding flow proxy server of exempting from is
Web page server.
If step 3062, the Internet resources are file resource or streaming media resource, the protocol type of the resource access request
For HTTP, then it can determine that corresponding flow proxy server of exempting from is download server.
Data transmission channel between download server and mobile terminal supports streaming manner, the streaming manner
Refer to by the smaller multiple compressed packages of Internet resources boil down to capacity, and it is continuous to mobile terminal, transmit each compressed package in real time,
The streaming manner is referred to as streaming and returns packet.In addition, the download server can according to the network state of mobile terminal,
Dynamic adjusts the speed that resource is sent to mobile terminal.
Wherein, which can be first generation HTTP (HTTP 1.0) or next generation HTTP (HTTP 2.0), this
Inventive embodiments do not limit this.
If the protocol type of step 3063, the resource access request is secure hyper-text transfer agreement (Hyper Text
Transfer Protocol over Secure Socket Layer, HTTPS), it determines and corresponding exempts from flow proxy server
For half-duplex tunnel server.
Wherein, HTTPS is referred to as the safe version of HTTP.It is generally text based on the requested Internet resources of the HTTPS
Part resource or streaming media resource etc..Data transmission channel between half-duplex tunnel server and mobile terminal is tunnel channel,
The tunnel channel only forwards the data packet of the resource of (i.e. transparent transmission) Resource Server transmission, without parsing data packet, as long as protecting
It is orderly to demonstrate,prove data packet.For some resource acquisition scenes more demanding to data security performance, for example, mobile terminal from
When obtaining resource (such as identifying code or transaction bill) in bank's class server, using the half-duplex tunnel server as generation
Safety when resource transmission can be effectively ensured in reason server.
Also, HTTP is switched to by HTTPS compared to by the protocol type of resource access request, then by web page server or
Mode of the download server as proxy server directly uses half-duplex tunnel server as agency in the embodiment of the present invention
The safety of server is higher, and security risk is not present.
If the protocol type of step 3064, the resource access request is full-duplex communication agreement, determines and corresponding exempt from flow
Proxy server is duplexing tunnel server.
The full-duplex communication agreement may include:For realizing the WebSocket of browser and server full-duplex communication
Agreement or WebSockets agreements (i.e. the safe version of WebSocket agreements).It is requested based on the full-duplex communication agreement
Internet resources are generally webpage version application program, such as the small routines such as the game of webpage version or chat software.
It is similar with half-duplex tunnel server, the data transmission channel between the duplex tunnel server and mobile terminal
For tunnel channel, and the data packet of the duplex tunnel server resource that also only forwarding Resource Server is sent, without parsing
Data packet.
It is exemplary, it is assumed that acquisition for mobile terminal to resource access request be:Movie.bb.com/XX, and the resource is visited
It asks that the protocol type of request is HTTPS, is then provided for Streaming Media due to the type of the requested Internet resources of the resource access request
Source, then mobile terminal can determine it is corresponding exempt from flow proxy server be download server.
It should be noted that above-mentioned steps 3061 to method shown in step 3064 can be deleted according to actual conditions
Or combination, it is not limited in the embodiment of the present invention.
In embodiments of the present invention, the transport protocol type being based on due to different types of Internet resources is different,
Exempt from flow proxy server by different types of and obtain and forward different types of Internet resources, may be implemented to inhomogeneity
Effective forwarding of the Internet resources of type, enriches the type for the Internet resources that can be got, and improves Internet resources
Validity.
Step 307, mobile terminal send the resource access request to corresponding flow proxy server of exempting from.
Wherein, the resource access request be used to indicate this exempt from flow proxy server to corresponding Resource Server obtain provide
Source.In embodiments of the present invention, mobile terminal is determining that the requested Internet resources of resource access request do not exempt from adfluxion first
When conjunction, Internet resources can be obtained by exempting from flow proxy server;And then may be used when first exempts from adfluxion conjunction in the Internet resources
Directly to obtain Internet resources from corresponding Resource Server, so as to reduce the load for exempting from flow proxy server, and
The number for exempting from flow proxy server disposed needed for small application developers and operator can be effectively reduced, reduces and exempts from flow
The lower deployment cost of proxy server.
Further, it in order to ensure that Internet resources exempt from the safety and reliability of flow rate acquisition, avoids not handling and exempt from
The mobile terminal access of flow business exempts from flow proxy server and obtains Internet resources, and mobile terminal is to exempting from flow agency's clothes
Before business device sends the resource access request, authentication secret can also be first obtained, for example, mobile terminal can receive cipher key service
The authentication secret that device issues;Correspondingly, mobile terminal can will be obtained to when exempting from flow proxy server transmission resource access request
It gets authentication secret to be added in the resource access request, later, you can carry this to the transmission of flow proxy server is exempted from and test
Demonstrate,prove the resource access request of key.
Due to exempting from also to be previously stored with the verification password in flow proxy server, connect when exempting from flow proxy server
After receiving the resource access request, it can be based on the authentication secret, be forwarded to money after being verified to the resource access request again
Source server.By carrying authentication secret in resource access request, it can effectively improve Internet resources and exempt from the acquisition of flow rate
Safety and reliability.
Optionally, if it is half-duplex tunnel server or duplexing tunnel server, such as Fig. 6 that this, which exempts from flow proxy server,
It is shown, mobile terminal to this it is corresponding exempt from flow proxy server and send the process of the resource access request may include:
Step 3071, mobile terminal send connection request to flow proxy server is exempted from.
Mobile terminal determine it is corresponding exempt from stream proxy server be tunnel server after, can first to this exempt from flow agency
Server sends connection (connect) request, which is used to indicate this and exempts from flow proxy server and corresponding resource
Server establishes communication connection.
Step 3072 exempts from flow proxy server according to the connection request, and communication link is established with corresponding Resource Server
It connects.
The Resource Server where the requested Internet resources of resource access request can be carried in the connection request
Mark, for example, the Resource Server domain name or IP address.Exempting from flow proxy server can be according to the Resource Server
Mark is established with corresponding Resource Server and is communicated to connect, which can be transmission control protocol (Transmission
Control Protocol, TCP) connection.
Step 3073 exempts from flow proxy server in when establishing of the communication connection of completion, sends and connects to the mobile terminal
Connect response.
The connection response can serve to indicate that this has exempted from the communication connection between flow proxy server and Resource Server
It establishes.
Step 3074, mobile terminal exempt from flow proxy server to this and send the resource access request.
Mobile terminal can after receiving connection response, then to exempt from flow proxy server send the resource access ask
It asks, has succeeded and Resource Server foundation communication connection due to exempting from flow proxy server at this time, can ensure to move
The resource access request that terminal is sent can effectively be forwarded to the Resource Server.
Step 308, exempting from flow proxy server, to corresponding Resource Server to obtain the resource access request requested
Internet resources.
After exempting from the resource access request that flow proxy server receives mobile terminal transmission, the resource can be based on and accessed
The mark of entrained Resource Server in request obtains Internet resources to corresponding Resource Server, that is, captures Internet resources
Data packet.
It is exemplary, be if exempting from the resource access request that flow proxy server receives:Movie.bb.com/XX then should
The streaming media resource of power supply XX can be obtained to the Resource Server that domain name is bb.com by exempting from flow proxy server.
It further, should as it was noted above, in order to improve the safety and reliability that Internet resources exempt from the acquisition of flow rate
Exempt from that authentication secret can be previously stored in flow proxy server, which is sent to mobile terminal with key server
Authentication secret it is identical.It is issued for example, the authentication secret for exempting to store in flow proxy server can also be the key server
's.After this exempts from the resource access request that flow proxy server receives mobile terminal transmission, resource visit can also be first detected
Ask whether request carries the authentication secret.When the resource access request carries the authentication secret, exempt from flow proxy server
Again the requested Internet resources of the resource access request are obtained to corresponding Resource Server;When not taken in the resource access request
Band authentication secret, or the authentication secret that carries and when exempting from pre-stored authentication secret difference in flow proxy server, then
The resource access request can not be forwarded to Resource Server by exempting from flow proxy server, i.e., no longer execute above-mentioned steps 308.
Step 309 exempts from flow proxy server the Internet resources is sent to the mobile terminal.
Exempt from flow proxy server after getting Internet resources in Resource Server, you can be issued to the Internet resources
Mobile terminal.Since this exempts from the application developers that flow proxy server is browser and the agency service that operator disposes jointly
Device, therefore flow proxy server is exempted from by this and obtains and is sent to the Internet resources of mobile terminal without expending network flow money
Take, can effectively reduce the cost of resource acquisition.
In embodiments of the present invention, the requested Internet resources of the resource access request may include web page resources, file
Any one of resource, streaming media resource and webpage version application resource, therefore after handling this and exempting from flow business, user is
It can exempt from flow by the browser installed in mobile terminal and access webpage (such as shopping webpage or social webpage etc.), download
File (such as application program installation kit or multimedia file etc.) watches video, listens audio (such as music or tune online online
Frequency radio station etc.) webpage version small routine (such as chat program or games etc.) etc. is either run, effectively improve user's body
It tests.In addition, the resource access request can also be to submit (POST) request, i.e., mobile terminal can also be uploaded to Resource Server
Resource, the process of the upload resource is similar with the process of Internet resources is obtained, and details are not described herein again.
Optionally, if it is download server that this, which exempts from flow proxy server, when the requested net of the resource access request
Network resource is streaming media resource, or it is file resource to work as the Internet resources, and the size of this document resource is more than predetermined threshold value
(such as 1 megabit (M) or 2M) when, which may be used streaming manner and sends the network to the mobile terminal
Resource.
Further, in order to improve the efficiency of network resource transmission, which can also send Internet resources
During, the network state of the mobile terminal is detected in real time;And streaming manner can be adjusted according to the network state
Resource transmission speed.
Wherein, which can refer to the speed that download server sends compressed package, and the speed can adopt
It is weighed with the number of the compressed package sent in the unit interval.In embodiments of the present invention, download server can detect
When the network state of mobile terminal is preferable, the speed for capturing Internet resources from Resource Server is improved, and is improved to mobile whole
End sends the speed of Internet resources;Correspondingly, when the network state for detecting mobile terminal is poor, download server can drop
It is low that the speed of Internet resources is captured from Resource Server, and reduce the speed that Internet resources are sent to mobile terminal.Download clothes
Device be engaged in by dynamic adjustresources transmission speed, can enable the network state phase of the resource transmission speed and mobile terminal
Adaptation improves the efficiency of resource transmission as far as possible.
It should be noted that in embodiments of the present invention, being moved in the above-mentioned Internet resources acquisition methods based on browser
Terminal execute the step of can be realized by the kernel of the browser, the rendering engine of kernel, that is, browser of browser
(Rendering Engine)。
It should also be noted that, in embodiments of the present invention, mobile terminal is needed through network access equipment (such as base
Stand) with Resource Server or exempt from flow proxy server and carry out data interaction, which is operator deployment
Equipment.The network access equipment can monitor and count the network flow between mobile terminal and each server in real time.Also, it is right
Network flow between Resource Server and mobile terminal specified by mobile terminal and application developers and exempt from flow generation
The network flow between server is managed, which can not be included within the scope of rate.
It should also be noted that, the step of Internet resources acquisition methods provided in an embodiment of the present invention based on browser
Sequencing can be adjusted suitably, and step according to circumstances can also accordingly be increased and decreased.For example, step 306 can basis
Situation delete, i.e., can also only be disposed in the implementation environment it is a type of exempt from flow proxy server, mobile terminal is detecting
The requested Internet resources of resource access request triggered to browser after first exempts from adfluxion conjunction, directly can not exempt to flow to this
It measures proxy server and sends resource access request.The technology model that any one skilled in the art discloses in the application
In enclosing, the method that can readily occur in variation should all cover within the protection domain of the application, therefore repeat no more.
In conclusion an embodiment of the present invention provides a kind of Internet resources acquisition methods based on browser, mobile terminal
Exempt from flow tariff services determining that the SIM card of its installation has been handled, and the requested net of resource access request of browser triggering
Network resource when first exempts from adfluxion conjunction, can not send the resource access request, and receive this and exempt to flow proxy server is exempted from
The Internet resources that flow proxy server is got from Resource Server, it is thus achieved that the flow rate of exempting from of Internet resources obtain
It takes, effectively reduces the cost of resource acquisition, that is, reduce the network flow rate of user.Further, since mobile terminal may be used also
, when first exempts from adfluxion and close, directly to obtain the Internet resources from Resource Server in the Internet resources of request, therefore can be with
The number for exempting from flow proxy server disposed needed for reducing reduces the lower deployment cost for exempting from flow proxy server.
Fig. 7 is a kind of structural schematic diagram of Internet resources acquisition device based on browser provided in an embodiment of the present invention,
The device can be applied in mobile terminal 00 shown in FIG. 1, as shown in fig. 7, the device may include:
First detection module 401, for when getting the resource access request of browser triggering, detecting in mobile terminal
Whether the SIM card of installation, which has been handled, is exempted from flow tariff services.
Second detection module 402, for the SIM card handled exempt from flow tariff services when, detect the resource access ask
It asks requested Internet resources whether to exempt from adfluxion first to close.
Sending module 403, for when the requested Internet resources of the resource access request not first exempt from adfluxion close when, to
This is exempted from flow proxy server and sends the resource access request, which is used to indicate this and exempts from flow proxy server
The Internet resources are obtained to corresponding Resource Server.
Receiving module 404 can be used for receiving the Internet resources for exempting from the transmission of flow proxy server.
Wherein, which may include:Web page resources, file resource, streaming media resource and webpage version application program
Any one of resource.
Optionally, sending module 403 can be also used for exempting from first when the requested Internet resources of the resource access request
When adfluxion is closed, the resource access request is sent to the corresponding Resource Server of the Internet resources.
The receiving module 404 can be also used for the Internet resources for receiving Resource Server transmission.
Optionally, Fig. 8 is the knot of another Internet resources acquisition device based on browser provided in an embodiment of the present invention
Structure schematic diagram, as shown in figure 8, the device can also include:
Key Acquisition Module 405, for sending the resource access request to flow proxy server is exempted from sending module 403
Before, authentication secret is obtained.
Correspondingly, the sending module 403, can be used for carrying the authentication secret to exempting from the transmission of flow proxy server
The resource access request.
Optionally, Fig. 9 is a kind of structural schematic diagram of sending module provided in an embodiment of the present invention, as shown in figure 9, the hair
Module 403 is sent, may include:
Determination sub-module 4031, for being visited according to the type of the requested Internet resources of the resource access request and the resource
At least one of the protocol type for asking request determines and corresponding exempts from flow proxy server.
Sending submodule 4032, for sending the resource access request to the corresponding flow proxy server of exempting from.
Optionally, the determination sub-module 4031, can be used for:
If the Internet resources are web page resources, the protocol type of the resource access request is hypertext transfer protocol, is determined
Corresponding flow proxy server of exempting from is web page server;
And/or if the Internet resources are file resource or streaming media resource, the protocol type of the resource access request is super
Text transfer protocol determines that corresponding flow proxy server of exempting from is download server;
And/or it if the protocol type of the resource access request is secure hyper-text transfer agreement, determines and corresponding exempts from flow
Proxy server is half-duplex tunnel server;
And/or if the protocol type of the resource access request is full-duplex communication agreement, determine that corresponding flow of exempting from is acted on behalf of
Server is duplexing tunnel server.
Optionally, which is half-duplex tunnel server or duplexing tunnel server, is somebody's turn to do
Sending submodule 4032 can be used for:
Exempt from flow proxy server to this and send connection request, which is used to indicate this and exempts from flow proxy server
It establishes and communicates to connect with corresponding Resource Server;
The connection response for exempting from the transmission of flow proxy server is received, it is built which is used to indicate the communication connection
It is vertical;
Exempt from flow proxy server to this and sends the resource access request.
In conclusion an embodiment of the present invention provides a kind of Internet resources acquisition device based on browser, which can
To determine that the SIM card of mobile terminal installation handled and exempt from flow tariff services, and the resource access request institute of browser triggering
The Internet resources of request when first exempts from adfluxion conjunction, do not send the resource access request, and receive to flow proxy server is exempted from
This exempts from the Internet resources that flow proxy server is got from Resource Server, it is thus achieved that the flow rate of exempting from of resource obtain
It takes, effectively reduces the cost of resource acquisition, that is, reduce the network flow rate of user.
Figure 10 is the structural representation of another Internet resources acquisition device based on browser provided in an embodiment of the present invention
Figure, the device can be applied to it is shown in FIG. 1 exempt from flow proxy server 01, as shown in Figure 10, which may include:
Receiving module 501 can be used for receiving the resource access request that mobile terminal is sent, which is equipped with clear
Look at device and SIM card, which can be the request of browser triggering, and the resource access request is the movement
Terminal exempts from flow tariff services determining that the SIM card has been handled, and the requested Internet resources of the resource access request do not exist
First exempts from the request sent after adfluxion is closed.
Acquisition module 502 can be used for obtaining the requested network of the resource access request to corresponding Resource Server
Resource.
Sending module 503 can be used for the Internet resources being sent to the mobile terminal.
Wherein, which may include:Web page resources, file resource, streaming media resource and webpage version application program
Any one of resource.
Optionally, which can be used for:
Detect whether the resource access request carries authentication secret;
When the resource access request carries the authentication secret, the resource access request is obtained to corresponding Resource Server
Requested Internet resources.
Optionally, it is web page server that this, which exempts from flow proxy server, correspondingly, the Internet resources are web page resources, and
The protocol type of the resource access request is hypertext transfer protocol;
Alternatively, it is download server that this, which exempts from flow proxy server, correspondingly, the Internet resources are file resource or stream matchmaker
Body resource, and the protocol type of the resource access request is hypertext transfer protocol;
Alternatively, it is half-duplex tunnel server that this, which exempts from flow proxy server, correspondingly, the agreement of the resource access request
Type is secure hyper-text transfer agreement;
Alternatively, it is duplexing tunnel server to exempt from flow proxy server, correspondingly, the protocol type of the resource access request
For full-duplex communication agreement.
Optionally, it is half-duplex tunnel server or duplexing tunnel server, the then reception that this, which exempts from flow proxy server,
Module 501 can be used for:
Receive the connection request of mobile terminal transmission;
According to the connection request, establishes and communicate to connect with corresponding Resource Server;
When establishing of the communication connection is completed, connection response is sent to the mobile terminal;
Receive the resource access request of mobile terminal transmission.
Optionally, it is download server that this, which exempts from flow proxy server, which can be used for:
When the Internet resources are streaming media resource, or when the Internet resources are file resource, and this document resource is big
It is small be more than predetermined threshold value when, which is sent to the mobile terminal using streaming manner.
Optionally, which can be also used for:
Detect the network state of mobile terminal;
According to the network state, the resource transmission speed of streaming manner is adjusted.
In conclusion an embodiment of the present invention provides a kind of Internet resources acquisition device based on browser, which can
To receive the resource access request of mobile terminal transmission, the resource access request is obtained from corresponding Resource Server and is asked
Internet resources, and be forwarded to mobile terminal, what thus the mobile terminal may be implemented Internet resources exempts from the acquisition of flow rate, has
Effect reduces the cost of resource acquisition, that is, reduces the network flow rate of user.
Figure 11 shows the structure diagram for the computer equipment 1100 that one exemplary embodiment of the application provides.The calculating
Machine equipment 1100 can be:Smart mobile phone, tablet computer, MP3 player (Moving Picture Experts Group
Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts
Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop
Brain.Computer equipment 1100 is also possible to be referred to as other names such as user equipment, portable terminal, laptop terminal, terminal console
Claim.Alternatively, the computer equipment 1100 can also be server.
In general, computer equipment 1100 includes:Processor 1101 and memory 1102.
Processor 1101 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- may be used in reason device 1101
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 1101 can also include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.
In some embodiments, processor 1101 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1101 can also wrap
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processors are for handling related machine learning
Calculating operation.
Memory 1102 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 1102 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1102 can
Storage medium is read for storing at least one instruction, at least one instruction is for performed to realize this Shen by processor 1101
Please in embodiment of the method provide the Internet resources acquisition methods based on browser.Specifically, when the computer equipment 1100 is
When mobile terminal, at least one instruction is for performed to realize in above method embodiment by mobile whole by processor 1101
The performed method in end;Correspondingly, when the computer equipment 1100 is server, at least one instruction is for by processor
1101 is performed to realize in above method embodiment by exempting from the method performed by flow proxy server.
In some embodiments, computer equipment 1100 is also optional includes:Peripheral device interface 1103 and at least one
Peripheral equipment.It can be connected by bus or signal wire between processor 1101, memory 1102 and peripheral device interface 1103.
Each peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1103.Specifically, peripheral equipment
Including:Radio circuit 1104, touch display screen 1105, camera 1106, voicefrequency circuit 1107, positioning component 1108 and power supply
At least one of 1109.
Peripheral device interface 1103 can be used for I/O (Input/Output, input/output) is relevant at least one outer
Peripheral equipment is connected to processor 1101 and memory 1102.In some embodiments, processor 1101, memory 1102 and periphery
Equipment interface 1103 is integrated on same chip or circuit board;In some other embodiments, processor 1101, memory
1102 and peripheral device interface 1103 in any one or two can be realized on individual chip or circuit board, this implementation
Example is not limited this.
Radio circuit 1104 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.
Radio circuit 1104 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1104 is by telecommunications
Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit
1104 include:Antenna system, one or more amplifiers, tuner, oscillator, digital signal processor, compiles solution at RF transceivers
Code chipset, user identity module card etc..Radio circuit 1104 can by least one wireless communication protocol come with it is other
Terminal is communicated.The wireless communication protocol includes but not limited to:Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and
5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio frequency electrical
Road 1104 can also include the related circuits of NFC (Near Field Communication, wireless near field communication), the application
This is not limited.
Display screen 1105 is for showing UI (User Interface, user interface).The UI may include figure, text,
Icon, video and its their arbitrary combination.When display screen 1105 is touch display screen, display screen 1105 also there is acquisition to exist
The ability of the surface of display screen 1105 or the touch signal of surface.The touch signal can be used as control signal to be input to place
Reason device 1101 is handled.At this point, display screen 1105 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press
Button and/or soft keyboard.In some embodiments, display screen 1105 can be one, and the front panel of computer equipment 1100 is arranged;
In further embodiments, display screen 1105 can be at least two, be separately positioned on the different surfaces of computer equipment 1100
Or it is in foldover design;In still other embodiments, display screen 1105 can be flexible display screen, be arranged in computer equipment 1100
Curved surface on or fold plane on.Even, display screen 1105 can also be arranged to non-rectangle irregular figure, namely abnormity
Screen.LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic may be used in display screen 1105
Light-Emitting Diode, Organic Light Emitting Diode) etc. materials prepare.
CCD camera assembly 1106 is for acquiring image or video.Optionally, CCD camera assembly 1106 includes front camera
And rear camera.In general, the front panel in computer equipment is arranged in front camera, rear camera setting is set in computer
The standby back side.In some embodiments, rear camera at least two are that main camera, depth of field camera, wide-angle are taken the photograph respectively
As any one in head, focal length camera, to realize that main camera and the fusion of depth of field camera realize background blurring function, master
Camera and wide-angle camera fusion realize pan-shot and VR (Virtual Reality, virtual reality) shooting functions or
The other fusion shooting functions of person.In some embodiments, CCD camera assembly 1106 can also include flash lamp.Flash lamp can be
Monochromatic temperature flash lamp, can also be double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the group of warm light flash lamp and cold light flash lamp
It closes, can be used for the light compensation under different-colour.
Voicefrequency circuit 1107 may include microphone and loud speaker.Microphone is used to acquire the sound wave of user and environment, and
It converts sound waves into electric signal and is input to processor 1101 and handled, or be input to radio circuit 1104 to realize that voice is logical
Letter.For stereo acquisition or the purpose of noise reduction, microphone can be multiple, be separately positioned on the difference of computer equipment 1100
Position.Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loud speaker is then used to that processor 1101 will to be come from
Or the electric signal of radio circuit 1104 is converted to sound wave.Loud speaker can be traditional wafer speaker, can also be piezoelectricity pottery
Porcelain loud speaker.When loud speaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to,
The sound wave that the mankind do not hear can be converted electrical signals to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit
1107 can also include earphone jack.
Positioning component 1108 is used for the current geographic position of location Calculation machine equipment 1100, to realize navigation or LBS
(Location Based Service, location based service).Positioning component 1108 can be the GPS based on the U.S.
The dipper system of (Global Positioning System, global positioning system), China, the Gray of Russia receive this system
Or the positioning component of the Galileo system of European Union.
Power supply 1109 is used to be powered for the various components in computer equipment 1100.Power supply 1109 can be exchange
Electricity, direct current, disposable battery or rechargeable battery.When power supply 1109 includes rechargeable battery, which can be with
Support wired charging or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, computer equipment 1100 further include there are one or multiple sensors 1110.This or more
A sensor 1110 includes but not limited to:Acceleration transducer 1111, pressure sensor 1113, refers to gyro sensor 1112
Line sensor 1114, optical sensor 1115 and proximity sensor 1116.
Acceleration transducer 1111 can detect in three reference axis of the coordinate system established with computer equipment 1100
Acceleration magnitude.For example, acceleration transducer 1111 can be used for detecting component of the acceleration of gravity in three reference axis.Place
The acceleration of gravity signal that device 1101 can be acquired according to acceleration transducer 1111 is managed, control touch display screen 1105 is with transverse direction
View or longitudinal view carry out the display of user interface.Acceleration transducer 1111 can be also used for game or the movement of user
The acquisition of data.
Gyro sensor 1112 can detect body direction and the rotational angle of computer equipment 1100, gyro sensors
Device 1112 can cooperate with acquisition user to act the 3D of computer equipment 1100 with acceleration transducer 1111.Processor 1101
According to the data that gyro sensor 1112 acquires, following function may be implemented:Action induction (such as the tilt operation according to user
To change UI), shooting when image stabilization, game control and inertial navigation.
Pressure sensor 1113 can be arranged under the side frame of computer equipment 1100 and/or touch display screen 1105
Layer.When pressure sensor 1113 is arranged in the side frame of computer equipment 1100, user can be detected to computer equipment
1100 gripping signal, the gripping signal acquired according to pressure sensor 1113 by processor 1101 carry out right-hand man's identification or fast
Victory operation.When pressure sensor 1113 is arranged in the lower layer of touch display screen 1105, by processor 1101 according to user to touching
The pressure operation of display screen 1105 is touched, realization controls the operability control on the interfaces UI.Operability control includes
At least one of button control, scroll bar control, icon control, menu control.
Fingerprint sensor 1114 is used to acquire the fingerprint of user, is collected according to fingerprint sensor 1114 by processor 1101
Fingerprint recognition user identity, alternatively, by fingerprint sensor 1114 according to the identity of collected fingerprint recognition user.Knowing
When the identity for not going out user is trusted identity, the user is authorized to execute relevant sensitive operation, sensitivity behaviour by processor 1101
Work includes solving lock screen, checking encryption information, download software, payment and change setting etc..Fingerprint sensor 1114 can be set
Set the front, the back side or side of computer equipment 1100.When being provided with physical button or manufacturer Logo on computer equipment 1100
When, fingerprint sensor 1114 can be integrated with physical button or manufacturer Logo.
Optical sensor 1115 is for acquiring ambient light intensity.In one embodiment, processor 1101 can be according to light
The ambient light intensity that sensor 1115 acquires is learned, the display brightness of touch display screen 1105 is controlled.Specifically, work as ambient light intensity
When higher, the display brightness of touch display screen 1105 is turned up;When ambient light intensity is relatively low, the aobvious of touch display screen 1105 is turned down
Show brightness.In another embodiment, the ambient light intensity that processor 1101 can also be acquired according to optical sensor 1115, is moved
State adjusts the acquisition parameters of CCD camera assembly 1106.
Proximity sensor 1116, also referred to as range sensor are generally arranged at the front panel of computer equipment 1100.Close to biography
Sensor 1116 is used to acquire the distance between the front of user and computer equipment 1100.In one embodiment, it is passed when close
When sensor 1116 detects that user and the distance between the front of computer equipment 1100 taper into, controlled by processor 1101
Touch display screen 1105 is switched to breath screen state from bright screen state;When proximity sensor 1116 detects user and computer equipment
When the distance between 1100 front becomes larger, touch display screen 1105 is controlled by processor 1101 and is switched to from breath screen state
Bright screen state.
It will be understood by those skilled in the art that structure shown in Figure 11 does not constitute the limit to computer equipment 1100
It is fixed, may include either combining certain components than illustrating more or fewer components or being arranged using different components.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, and at least one is stored in the storage medium
Instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction
Collection is loaded by processor and is executed to realize the Internet resources acquisition side based on browser provided such as above method embodiment
Method.
The embodiment of the present invention additionally provides a kind of Internet resources acquisition system based on browser, and with reference to figure 1, which can
To include:Mobile terminal 00 and exempt from flow proxy server 01.
The mobile terminal 00 may include the Internet resources acquisition device based on browser such as Fig. 7 or shown in Fig. 8, and should
Device may include sending module shown in Fig. 9;Or the mobile terminal can be computer equipment shown in Figure 11.
It may include the Internet resources acquisition device as shown in Figure 10 based on browser that this, which exempts from flow proxy server 01,
Or it is computer equipment shown in Figure 11 that this, which exempts from flow proxy server,.
Optionally, as shown in Figure 1, resource acquisition system provided in an embodiment of the present invention can also include Resource Server
02。
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on should be included within the protection domain of the application.
Claims (15)
1. a kind of Internet resources acquisition methods based on browser, which is characterized in that applied to being equipped with browser and user
The mobile terminal of identification SIM card, the method includes:
When getting the resource access request of the browser triggering, detects the SIM card and whether handled and exempt from flow rate
Business;
If the SIM card, which has been handled, exempts from flow tariff services, whether the requested Internet resources of the resource access request are detected
Exempt from adfluxion first to close;
When the requested Internet resources of the resource access request not described first exempt from adfluxion close when, to it is described exempt from flow agency
Server sends the resource access request, and the resource access request, which is used to indicate, described exempts from flow proxy server from correspondence
Resource Server obtain the Internet resources;
Exempt from the Internet resources of flow proxy server transmission described in reception;
Wherein, the Internet resources include:In web page resources, file resource, streaming media resource and webpage version application resource
It is any.
2. according to the method described in claim 1, it is characterized in that, in the detection requested net of resource access request
Whether after first exempts from adfluxion conjunction, the method further includes network resource:
When the requested Internet resources of the resource access request described first exempt from adfluxion close when, to the Internet resources correspond to
Resource Server send the resource access request;
Receive the Internet resources that the Resource Server is sent.
3. according to the method described in claim 1, it is characterized in that, sending the resource to exempting from flow proxy server described
Before access request, the method further includes:
Obtain authentication secret;
It is described to send the resource access request to exempting from flow proxy server, including:
To exempting from flow proxy server and send to carry the resource access request of the authentication secret.
4. method according to any one of claims 1 to 3, which is characterized in that it is described to exempt from flow proxy server send institute
Resource access request is stated, including:
According in the protocol type of the type of the requested Internet resources of the resource access request and the resource access request
At least one, determine and corresponding exempt from flow proxy server;
The resource access request is sent to the corresponding flow proxy server of exempting from.
5. according to the method described in claim 4, it is characterized in that, described according to the requested network of the resource access request
The protocol type of the type of resource and the resource access request, determine it is corresponding exempt from flow proxy server, including:
If the Internet resources are web page resources, the protocol type of the resource access request is hypertext transfer protocol, is determined
The corresponding flow proxy server of exempting from is web page server;
And/or if the Internet resources are file resource or streaming media resource, the protocol type of the resource access request is super
Text transfer protocol determines that the corresponding flow proxy server of exempting from is download server;
And/or if the protocol type of the resource access request is secure hyper-text transfer agreement, determines and described corresponding exempt to flow
Amount proxy server is half-duplex tunnel server;
And/or if the protocol type of the resource access request is full-duplex communication agreement, determines and described corresponding exempt from flow generation
It is duplexing tunnel server to manage server.
6. according to the method described in claim 5, it is characterized in that, the corresponding flow proxy server of exempting from is half-duplex tunnel
Road server or duplexing tunnel server, it is described to send the resource access request to exempting from flow proxy server, including:
Connection request is sent to the flow proxy server of exempting from, and the connection request, which is used to indicate, described exempts from flow agency service
Device is established with corresponding Resource Server and is communicated to connect;
Exempt from the connection response of flow proxy server transmission described in reception, the connection response has been used to indicate the communication connection
It establishes;
The resource access request is sent to the flow proxy server of exempting from.
7. a kind of Internet resources acquisition methods based on browser, which is characterized in that described applied to exempting from flow proxy server
Method includes:
The resource access request that mobile terminal is sent is received, the mobile terminal is equipped with browser and user identity identification
SIM card, the resource access request is the request of browser triggering, and the resource access request is the mobile terminal
Exempt from flow tariff services determining that the SIM card has been handled, and the requested Internet resources of the resource access request do not exist
First exempts from the request sent after adfluxion is closed;
The requested Internet resources of resource access request are obtained to corresponding Resource Server;
The Internet resources are sent to the mobile terminal;
Wherein, the Internet resources include:In web page resources, file resource, streaming media resource and webpage version application resource
It is any.
8. the method according to the description of claim 7 is characterized in that described obtain the resource visit to corresponding Resource Server
Ask request requested Internet resources, including:
Detect whether the resource access request carries authentication secret;
When the resource access request carries the authentication secret, obtains the resource access to corresponding Resource Server and ask
Seek requested Internet resources.
9. method according to claim 7 or 8, which is characterized in that the flow proxy server of exempting from is half-duplex tunnel
Server or duplexing tunnel server, the resource access request for receiving mobile terminal and sending, including:
Receive the connection request that the mobile terminal is sent;
According to the connection request, establishes and communicate to connect with corresponding Resource Server;
When establishing of the communication connection is completed, connection response is sent to the mobile terminal;
Receive the resource access request that the mobile terminal is sent.
10. according to the method described in claim 9, it is characterized in that, the flow proxy server of exempting from is download server, institute
It states and the Internet resources is sent to the mobile terminal, including:
When the Internet resources are streaming media resource, or when the Internet resources are file resource, and the file resource
When size is more than predetermined threshold value, the Internet resources are sent to the mobile terminal using streaming manner.
11. a kind of Internet resources acquisition device based on browser, which is characterized in that applied to being equipped with browser and user
The mobile terminal of identification SIM card, described device include:
First detection module, for when getting the resource access request of the browser triggering, whether detecting the SIM card
It has handled and has exempted from flow tariff services;
Second detection module, for the SIM card handled exempt from flow tariff services when, detect the resource access request institute
Whether the Internet resources of request exempt from adfluxion first is closed;
Sending module, for when the requested Internet resources of the resource access request are not when first exempts from adfluxion and close, to described
Exempt from flow proxy server and send the resource access request, the resource access request is used to indicate the flow of exempting from and acts on behalf of clothes
Business device obtains the Internet resources to corresponding Resource Server;
Receiving module, for receiving the Internet resources for exempting from the transmission of flow proxy server;
Wherein, the Internet resources include:In web page resources, file resource, streaming media resource and webpage version application resource
It is any.
12. a kind of Internet resources acquisition device based on browser, which is characterized in that applied to exempting from flow proxy server, institute
Stating device includes:
Receiving module, for receive mobile terminal transmission resource access request, the mobile terminal be equipped with browser and
User identity identification SIM card, the resource access request is the request of browser triggering, and the resource access request is
The mobile terminal exempts from flow tariff services determining that the SIM card has been handled, and the resource access request is requested
Internet resources do not exempt from the request sent after adfluxion is closed first;
Acquisition module, for obtaining the requested Internet resources of resource access request to corresponding Resource Server;
Sending module, for the Internet resources to be sent to the mobile terminal;
Wherein, the Internet resources include:In web page resources, file resource, streaming media resource and webpage version application resource
It is any.
13. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory, the memory
In be stored at least one instruction, at least one section of program, code set or instruction set, at least one instruction, described at least one
Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize as described in claim 1 to 6 is any
Internet resources acquisition methods based on browser, or the network money based on browser as described in claim 7 to 10 is any
Source acquisition methods.
14. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction
Collection is loaded by processor and is executed to realize the Internet resources acquisition side based on browser as described in claim 1 to 6 is any
Method, or the Internet resources acquisition methods based on browser as described in claim 7 to 10 is any.
15. a kind of Internet resources based on browser obtain system, which is characterized in that the system comprises:Mobile terminal and
Exempt from flow proxy server;
The mobile terminal includes the Internet resources acquisition device based on browser or the movement as claimed in claim 11
Terminal is the computer equipment described in claim 13;
The flow proxy server of exempting from includes the Internet resources acquisition device based on browser as claimed in claim 12, or
The flow proxy server of exempting from is the computer equipment described in claim 13.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810387123.3A CN108616835B (en) | 2018-04-26 | 2018-04-26 | Method, device and system for acquiring network resources based on browser and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810387123.3A CN108616835B (en) | 2018-04-26 | 2018-04-26 | Method, device and system for acquiring network resources based on browser and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108616835A true CN108616835A (en) | 2018-10-02 |
CN108616835B CN108616835B (en) | 2021-09-03 |
Family
ID=63660792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810387123.3A Active CN108616835B (en) | 2018-04-26 | 2018-04-26 | Method, device and system for acquiring network resources based on browser and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108616835B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587747A (en) * | 2018-10-26 | 2019-04-05 | 努比亚技术有限公司 | SIM card method for handover control, terminal and computer storage medium |
CN110769395A (en) * | 2019-10-30 | 2020-02-07 | 北京达佳互联信息技术有限公司 | Flow-free service synchronization method and device |
CN111064675A (en) * | 2019-11-08 | 2020-04-24 | 中移(杭州)信息技术有限公司 | Access flow control method, device, network equipment and storage medium |
CN111770121A (en) * | 2019-04-01 | 2020-10-13 | 北京京东尚科信息技术有限公司 | Method and device for service access based on directional flow |
CN113590302A (en) * | 2020-04-30 | 2021-11-02 | 阿里巴巴集团控股有限公司 | Resource use method, vehicle-mounted resource use method, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103841204A (en) * | 2014-03-14 | 2014-06-04 | 北京奇虎科技有限公司 | Traffic-free downloading method, device and system based on mobile terminal |
US20150242903A1 (en) * | 2014-02-23 | 2015-08-27 | Tata Communications (America) Inc. | System and methods for enabling sponsored data access across multiple carriers |
CN105898726A (en) * | 2015-10-22 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Free flow client end proxy method and device |
CN107852581A (en) * | 2014-12-18 | 2018-03-27 | 脸谱公司 | The technology accessed for context mobile data |
-
2018
- 2018-04-26 CN CN201810387123.3A patent/CN108616835B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150242903A1 (en) * | 2014-02-23 | 2015-08-27 | Tata Communications (America) Inc. | System and methods for enabling sponsored data access across multiple carriers |
CN103841204A (en) * | 2014-03-14 | 2014-06-04 | 北京奇虎科技有限公司 | Traffic-free downloading method, device and system based on mobile terminal |
CN107852581A (en) * | 2014-12-18 | 2018-03-27 | 脸谱公司 | The technology accessed for context mobile data |
CN105898726A (en) * | 2015-10-22 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Free flow client end proxy method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587747A (en) * | 2018-10-26 | 2019-04-05 | 努比亚技术有限公司 | SIM card method for handover control, terminal and computer storage medium |
CN111770121A (en) * | 2019-04-01 | 2020-10-13 | 北京京东尚科信息技术有限公司 | Method and device for service access based on directional flow |
CN111770121B (en) * | 2019-04-01 | 2024-07-19 | 北京京东尚科信息技术有限公司 | Method and device for service access based on directional flow |
CN110769395A (en) * | 2019-10-30 | 2020-02-07 | 北京达佳互联信息技术有限公司 | Flow-free service synchronization method and device |
CN110769395B (en) * | 2019-10-30 | 2022-07-22 | 北京达佳互联信息技术有限公司 | Traffic-free service synchronization method and device |
CN111064675A (en) * | 2019-11-08 | 2020-04-24 | 中移(杭州)信息技术有限公司 | Access flow control method, device, network equipment and storage medium |
CN113590302A (en) * | 2020-04-30 | 2021-11-02 | 阿里巴巴集团控股有限公司 | Resource use method, vehicle-mounted resource use method, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108616835B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11783630B2 (en) | Method for transmitting face image data, transferring value, apparatus, and electronic device | |
CN111064795B (en) | Web page access acceleration method, system, computer equipment, server and medium | |
CN110674022B (en) | Behavior data acquisition method and device and storage medium | |
CN108616835A (en) | Internet resources acquisition methods, device, system and storage medium based on browser | |
CN109547495B (en) | Sensitive operation processing method, device, server, terminal and storage medium | |
CN107968783B (en) | Traffic management method, device, terminal and computer readable storage medium | |
CN108833963A (en) | Method, computer equipment, readable storage medium storing program for executing and the system of display interface picture | |
CN110288332A (en) | System, method, apparatus, equipment and the storage medium of bank card binding | |
CN113542290B (en) | Data access request processing method, device, equipment and readable storage medium | |
CN105306199B (en) | Auth method, apparatus and system | |
CN108769992B (en) | User authentication method, device, terminal and storage medium | |
CN107959727B (en) | Method and device for communication between webpage and client | |
CN109711832A (en) | The methods, devices and systems paid | |
CN109522146A (en) | The method, apparatus and storage medium of abnormality test are carried out to client | |
CN111327694A (en) | File uploading method and device, storage medium and electronic equipment | |
CN109413098A (en) | Method, apparatus, terminal and the storage medium that web page element is shown | |
CN111062323A (en) | Face image transmission method, numerical value transfer method, device and electronic equipment | |
CN110263525B (en) | Equipment configuration method and device | |
CN111193724B (en) | Authentication method, device, server and storage medium | |
CN110290191B (en) | Resource transfer result processing method, device, server, terminal and storage medium | |
CN109995704A (en) | Ad blocking method, apparatus, equipment and computer readable storage medium | |
CN108260023A (en) | The method and apparatus being broadcast live | |
CN110971692B (en) | Method and device for opening service and computer storage medium | |
CN108683684B (en) | Method, device and system for logging in target instant messaging application | |
CN111741040A (en) | Connection establishing method, address obtaining method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221121 Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518133 Patentee after: Shenzhen Yayue Technology Co.,Ltd. Address before: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |