CN116708551B - Proxy internet surfing method and device - Google Patents
Proxy internet surfing method and device Download PDFInfo
- Publication number
- CN116708551B CN116708551B CN202211186009.7A CN202211186009A CN116708551B CN 116708551 B CN116708551 B CN 116708551B CN 202211186009 A CN202211186009 A CN 202211186009A CN 116708551 B CN116708551 B CN 116708551B
- Authority
- CN
- China
- Prior art keywords
- request
- internet surfing
- text
- response
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 230000004044 response Effects 0.000 claims abstract description 144
- 230000005540 biological transmission Effects 0.000 claims abstract description 71
- 238000004590 computer program Methods 0.000 claims description 36
- 238000004891 communication Methods 0.000 description 26
- 238000012545 processing Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 15
- 238000007726 management method Methods 0.000 description 15
- 230000003993 interaction Effects 0.000 description 12
- 238000010295 mobile communication Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 8
- 230000036541 health Effects 0.000 description 6
- 238000013528 artificial neural network Methods 0.000 description 4
- 238000004806 packaging method and process Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000003416 augmentation Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Abstract
The application provides a proxy internet surfing method and device. The method is applied to the electronic equipment and comprises the following steps: sending internet surfing request information to terminal equipment; receiving a response head of response information sent by the terminal equipment, wherein the response information is fed back by the server equipment aiming at the internet surfing request information; determining a transmission mode of a request text of the response information according to the response head, wherein the transmission mode comprises a socket proxy mode or an http proxy mode; transmitting a text acquisition request to the terminal equipment, wherein the text acquisition request is used for requesting the terminal equipment and transmitting the request text based on the transmission mode; and receiving the request text based on the transmission mode. According to the proxy internet surfing method, the characteristics of two different proxy internet surfing modes are combined, and the proxy internet surfing mode which is more matched with the size of the request text is selected for data acquisition, so that the stability of data transmission is enhanced, and the user experience is improved.
Description
[ field of technology ]
The application relates to the field of internet, in particular to a proxy internet surfing method and device.
[ background Art ]
Because the wearable device is limited by the hardware condition, network data cannot be acquired through the self-capability, and proxy internet surfing is realized by taking proxy equipment as an intermediate medium between the proxy equipment and the server equipment.
The proxy internet surfing mode of the wearable device comprises two modes of a socket proxy and an http proxy. The socket proxy mode is suitable for small file transmission, but the problem of longer response time caused by lower internet surfing speed when large files are transmitted. The http proxy mode has a high transmission rate, is suitable for large file transmission, consumes excessive memory resources, and is easy to overload the wearable device.
Therefore, there is a need for a proxy internet method for a wearable device to implement proxy internet for the wearable device.
[ invention ]
Aiming at the problem that the wearable equipment in the prior art cannot determine a proper proxy internet surfing method, the application provides a proxy internet surfing method and device. The present application also provides a computer-readable storage medium.
The embodiment of the application adopts the following technical scheme:
in a first aspect, the present application provides a proxy internet surfing method, applied to an internet surfing device, including:
Sending internet surfing request information to terminal equipment;
receiving a response head of response information sent by the terminal equipment, wherein the response information is information fed back by the server equipment aiming at the internet surfing request information;
determining a transmission mode of a request text of response information according to the response head, wherein the transmission mode comprises a socket proxy mode or an http proxy mode;
transmitting a text acquisition request to the terminal equipment, wherein the text acquisition request is used for requesting the terminal equipment and transmitting a request text based on a transmission mode;
the request text is received based on the transmission mode.
Further, in order to implement information interaction with the terminal device, the method includes: based on a socket agent mode, sending internet surfing request information to terminal equipment;
the response header for receiving the response information sent by the terminal device includes: and receiving a response head based on a socket agent mode.
Further, in order to determine the proxy internet surfing mode, determining the transmission mode of the request text of the response information according to the response header includes:
acquiring the length of a request text according to the response head;
and determining the transmission mode of the request text according to the length of the request text.
Further, determining a transmission mode of the request text according to the length of the request text, including:
Under the condition that the length of the request text is greater than or equal to a preset threshold value, determining that the transmission mode is an http proxy mode;
and under the condition that the length of the request text is smaller than a preset threshold value, determining that the transmission mode is a socket proxy mode.
Further, to acquire the network data, the text acquisition request is sent to the terminal device, including:
and sending a text acquisition request to the terminal equipment based on the transmission mode.
In a second aspect, the present application provides a proxy internet surfing method, applied to a terminal device, including:
receiving internet surfing request information sent by internet surfing equipment;
the internet surfing request information is sent to corresponding server equipment;
receiving response information fed back by the server equipment aiming at the internet surfing request information;
transmitting a response head of the response information to the internet surfing equipment;
receiving a text acquisition request sent by internet surfing equipment;
the transmission mode of the request text for acquiring the response information according to the text acquisition request comprises a socket proxy mode or an http proxy mode;
and sending the request text to the internet surfing equipment based on the transmission mode.
Further, in order to implement information interaction with the internet surfing device, the method includes:
the method for receiving the internet surfing request information sent by the internet surfing equipment comprises the following steps: based on a socket agent mode, receiving internet surfing request information;
Transmitting a response header of the response information to the internet surfing device, comprising: and sending a response head based on a socket agent mode.
Further, in order to determine the proxy internet surfing mode, a transmission mode of a request text for acquiring response information according to the text acquisition request includes:
the transmission mode of the request is obtained by the text, and is the transmission mode of the request text.
In a third aspect, the present application provides a proxy internet surfing device, where the proxy internet surfing device is applied to an internet surfing device, including:
the first sending module is used for sending the internet surfing request information to the terminal equipment;
the first receiving module is used for receiving a response head of response information sent by the terminal equipment, wherein the response information is fed back by the server equipment aiming at the internet surfing request information;
the determining module determines a transmission mode of a request text of the response information according to the response head, wherein the transmission mode comprises a socket proxy mode or an http proxy mode;
the second sending module is used for sending a text acquisition request to the terminal equipment, wherein the text acquisition request is used for requesting the terminal equipment and sending a request text based on a transmission mode;
and the second receiving module is used for receiving the request text based on the transmission mode.
In a fifth aspect, the present application provides an electronic device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method steps of any of the first aspects.
In a sixth aspect, the present application provides a proxy internet surfing device, where the proxy internet surfing device is applied to a terminal apparatus, and the proxy internet surfing device includes:
the first receiving module is used for receiving internet surfing request information sent by internet surfing equipment;
the first sending module is used for sending the internet surfing request information to the corresponding server equipment;
the second receiving module is used for receiving response information fed back by the server equipment aiming at the internet surfing request information;
the second sending module is used for sending the response head of the response information to the internet surfing equipment;
the third receiving module is used for receiving a text acquisition request sent by the internet surfing equipment;
the acquisition module acquires a transmission mode of a request text of the response information according to the text acquisition request, wherein the transmission mode comprises a socket proxy mode or an http proxy mode;
and the third sending module is used for sending the request text to the internet surfing equipment based on the transmission mode.
In a seventh aspect, the present application provides an electronic device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method steps of any of the second aspects.
In an eighth aspect, the present application provides a computer readable storage medium having a computer program stored therein, which when run on a computer causes the computer to perform the method as in any one of the first and second aspects.
[ description of the drawings ]
Fig. 1 is a schematic diagram of a proxy internet application scenario of a wearable device according to an embodiment of the present application;
FIG. 2 is a software architecture diagram of a wearable device according to an embodiment of the present application;
FIG. 3 is a flow chart of a proxy Internet surfing method according to an embodiment of the present application;
FIG. 4 is a code diagram of Internet surfing request information and response information according to an embodiment of the present application;
FIG. 5 is a simplified diagram illustrating a proxy internet surfing device according to one embodiment of the present application;
FIG. 6 is a simplified diagram illustrating a proxy internet surfing device according to one embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
[ detailed description ] of the invention
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Because of the limitation of hardware functions, internet surfing equipment such as wearable equipment and the like often cannot acquire network data by virtue of self-capabilities. In general, the wearable device needs to establish a connection with a proxy server, and connect to a network through the proxy server to acquire network data. A proxy server is typically a terminal device that establishes a communication connection with a wearable device.
Fig. 1 is a schematic diagram of a proxy internet application scenario of a wearable device according to an embodiment of the present application.
As shown in fig. 1, a wearable device 110 is connected to a terminal device 120; the terminal device 120 accesses a network and is connected to the server device 130 via the network.
The wearable device 110 may establish a connection with the terminal device 120 in a variety of ways. For example, the wearable device establishes a communication connection with the terminal device through bluetooth, and performs data interaction through bluetooth.
The terminal device 120 acts as a proxy server for the wearable device 110, and the wearable device 110 realizes data interaction with the server device 130 through the terminal device 120.
Specifically, the wearable device 110 generates internet surfing request information according to the internet surfing requirement (network data to be acquired), and sends the internet surfing request information to the terminal device 120. The terminal device 120 analyzes the internet access request information, determines a receiving object (server device 130) of the internet access request information, and transmits the internet access request information to the server device 130. After receiving the internet surfing request information, the server device 130 generates corresponding internet surfing feedback information, sends the internet surfing feedback information to the terminal device 120, and the terminal device 120 forwards the internet surfing feedback information to the wearable device 110. The wearable device 110 receives the internet surfing feedback information, and realizes proxy internet surfing.
Further, the wearable device 110 may interact with the terminal device 120 through two modes of socket proxy and http proxy, so as to implement proxy internet surfing.
Fig. 2 is a software architecture diagram of a wearable device according to an embodiment of the present application. The wearable device 200 refers to the wearable device 110 shown in fig. 1, and realizes data interaction with the terminal device 300 through a software architecture as shown in fig. 2. The terminal device 300 refers to the terminal device 120.
As shown in fig. 2, the wearable device 200 includes an application layer 210, a data encryption and decryption layer 220, and a proxy layer 230. The application layer 210 further specifically includes an application protocol interface 211 and an application layer protocol stack 212. Included within terminal device 300 is a sports health app310. The terminal device 300 also includes an application layer, a data encryption and decryption layer and a proxy layer, but is not shown in fig. 2.
The application layer 210 is configured to determine a surfing request according to a surfing instruction of a user in a surfing application.
Specifically, the internet application is used for realizing interaction between the wearable device and the user. The internet surfing application responds to the operation instruction of the user and initiates an internet surfing request according to the operation instruction of the user. The internet application may be an application that is installed on the wearable device, such as a third party music application, a voice assistant application, and the like, which is not specifically limited herein.
The application layer protocol interface 211 in the application layer is used to complete the packaging of the requested data under the invocation of the internet application. Specifically, the application layer protocol interface 211 is used for creating a surfing client, packaging url, adding request header content, and setting a request method. And passes the wrapped data through to the application layer protocol stack 212.
The application layer protocol stack 212 in the application layer is used for performing request header assembly on the request data packaged by the application layer protocol interface 211. After the application layer protocol stack 212 completes the assembly of the request header, the request header is sent to different levels for subsequent processing according to different proxy internet surfing modes.
Optionally, when the wearable device 200 performs data interaction with the terminal device 300 in a socket manner, the application layer protocol stack 212 transparently transmits the assembled request header to the data encryption and decryption layer 220 for encryption; when the wearable device 200 performs data interaction in an http manner, the application layer protocol stack directly transmits the packaged request header to the proxy layer 230 for transmission, and encryption is not performed through the data encryption and decryption layer.
The data encryption and decryption layer 220 is configured to perform asymmetric encryption on the request header when the terminal device performs data interaction in a socket manner, so as to ensure security of the request header. The data encryption and decryption layer 220 transparently transmits the encrypted request header to the proxy layer 230 as internet surfing request information for transmission.
The proxy layer 230 is configured to send the internet surfing request information to the terminal device 300 through the bluetooth communication module of the wearable device 200.
After receiving the internet surfing request information through the Bluetooth communication module of the proxy layer, the terminal equipment decrypts the internet surfing request information through the data encryption and decryption layer and transmits the internet surfing request information to the sports health app in an upward transmission mode to analyze the internet surfing request information. In some embodiments, the wearable device performs data interaction through the http proxy mode, and when the internet surfing request information is not encrypted through the data encryption and decryption layer 220, the terminal device 300 does not need to decrypt the internet surfing request information. After receiving the internet surfing request information, the terminal device 300 directly and transparently transmits the internet surfing request information to the sports health app for analysis.
In some embodiments, in addition to generating the internet surfing request information through the software architecture shown in fig. 2 and transmitting the internet surfing request information to the terminal device 300, the wearable device 200 may also generate text request information through the software architecture shown in fig. 2 after determining the proxy mode and transmit the text request information to the terminal device 300 to obtain the request text from the terminal device 300.
Specifically, the text request information generated by the wearable device 200 also needs to be sent through the proxy layer 230 after being packaged through the application layer 210. The generation process of the text request information is the same as the generation process of the internet request information, and will not be described in detail herein. Optionally, after the package of the text request information is completed, the wearable device 200 also needs to determine, according to the proxy manner, whether encryption needs to be performed on the text request information through the data encryption and decryption layer 220.
In some embodiments, the wearable device 200 is used for acquiring and parsing a response header returned by the terminal device 300 in addition to sending internet request information and text request information to the terminal device 300 in data interaction with the terminal device 300.
Specifically, the wearable device 200 receives the response header forwarded by the terminal device through the bluetooth communication module of the proxy layer 230. The proxy layer 230 passes the response header up to the data encryption and decryption layer 220 to decrypt the response header, and continues to pass the response header up to the application layer 210 to parse the response header, so as to obtain specific content in the response header.
In the two proxy internet surfing modes, the speed of the socket proxy mode is low, and the problem of overlong response time easily occurs when large file data transmission is carried out, so that bad use experience is brought to users; the http proxy mode has higher transmission speed, is suitable for large file data transmission, but has higher system memory consumption, and is easy to cause memory overload in a concurrent scene, thereby causing downloading failure.
Aiming at the problems of the two proxy internet surfing modes, an embodiment of the application provides an internet surfing method. In the internet surfing method of the embodiment of the application, the characteristics of two proxy internet surfing modes are comprehensively considered, specific analysis is carried out by combining the content of each proxy internet surfing, and a more suitable proxy internet surfing mode is determined from the two proxy internet surfing modes according to the actual condition of the internet surfing content.
Fig. 3 is a flowchart illustrating a proxy internet surfing method according to an embodiment of the present application.
The wearable device 110 (wearable device 200) and the terminal device 120 execute the following flow as shown in fig. 3 to implement proxy internet surfing.
S301, the wearable device 110 sends internet surfing request information to the terminal device 120.
Because the data size of the internet surfing request information is low, in an embodiment, in S301, the proxy layer of the wearable device 110 sends the internet surfing request information to the terminal device 120 by means of a socket proxy.
Specifically, the internet surfing application installed in the wearable device 110 actively initiates an internet surfing request in response to an operation instruction of a user. The wearable device 110 generates internet surfing request information according to an internet surfing request initiated by an internet surfing application.
Specifically, in one embodiment, the internet access request information is an encrypted request header. The wearable device 110 realizes the packaging of the request header in the internet surfing request information by calling the application layer.
Specifically, the wearable device 110 uses an application layer protocol interface httpcalentlayer in the application layer to create a surfing client, configure url of the same resource positioning system, and configure a communication port. After the configuration of the internet access request information by the application layer protocol interface is completed, the wearable device 110 continues to perform request header assembly, request method setting and receiving text format setting through an application layer protocol stack webcenter layer in the application layer.
After the application layer finishes packaging the request header, the request header is transmitted downwards to the data encryption and decryption layer. The request header is encrypted by the data encryption and decryption layer MbeTlsLayer to ensure the communication security between the wearable device 110 and the terminal device 120.
The data encryption and decryption layer transmits the encrypted request header to the proxy layer and sends the encrypted request header as internet surfing request information.
S302, after receiving the internet surfing request information, the terminal device 120 forwards the internet surfing request information sent by the wearable device 110 to the server device 130.
S303, the server device 130 generates response information for the internet surfing request information according to the internet surfing request information.
S304, the server device 130 transmits the response information to the terminal device 120.
Specifically, the response information includes a response header and a request body.
Fig. 4 is a code schematic diagram of internet surfing request information and response information according to an embodiment of the present application.
In an application scenario, a surfing application installed on the wearable device 110 responds to a surfing instruction of a user, and needs to open a hundred-degree page through proxy surfing. The wearable device 110 respectively invokes an application layer and a data encryption and decryption layer to package and encrypt the internet surfing request information. The internet surfing request information is transmitted to the terminal device 120 through the proxy layer using the bluetooth capability of the wearable device 110.
When the wearable device 110 wraps the request header in the internet surfing request information, url of a hundred-degree page to be accessed is added into the request header. The internet surfing request message (request header) is shown as code in block 401 in fig. 4.
The terminal device 120 receives the internet surfing request information sent by the wearable device 110 through the bluetooth capability, decrypts the internet surfing request information, and transmits the internet surfing request information to the sports health app of the terminal device 120. The sports health app analyzes the internet surfing request information and obtains url information configured by the wearable device 110. The internet request information is forwarded to the hundred degree server (server device 130) for response. After receiving the internet surfing request information, the hundred-degree server decrypts and analyzes the internet surfing request information to obtain an internet surfing request of the wearable device 110 for accessing the hundred-degree page, and generates corresponding response information to return to the terminal device 120.
The response header of the response information to the internet request information is shown as a code within box 402 in fig. 4. The request body for response information to the internet request information is shown as a code in a square block 403 in fig. 4.
S305, the terminal device 120 transmits the response signal of the response information to the wearable device 110.
Since the data amount of the response header of the response information is low, in an embodiment, in S311, the terminal device 120 transmits the response header of the response information to the terminal device 120 based on the socket agent.
S306, the wearable device 110 receives the response header of the response information.
Specifically, the wearable device 110 receives a response header in the response information from the socket interface of the terminal device 120.
In an embodiment of the present application, when the wearable device 110 sends the internet surfing request information to the terminal device 120 and when the response header returned by the network server 130 is received through the terminal device 120, a socket proxy mode is adopted for sending or receiving. The socket agent mode is adopted mainly because the length of the response head in the internet surfing request information and the response information is smaller and cannot be higher than hundreds of bytes, the resources consumed by the socket agent are less, and the method is suitable for sending small-length data such as the internet surfing request information and the response head. The http proxy consumes more resources, is suitable for interaction of long-length data, and is not suitable for scenes of internet surfing request information and response head transmission.
S307, the wearable device 110 analyzes the response header of the response information, and determines the transmission mode of the request body of the response information.
Specifically, in an embodiment, the wearable device 110 obtains the length of the request text of the response information according to the response header of the response information. And determining a mode for acquiring the request text according to the length of the request text.
The wearable device 110 transmits the response head up to the data encryption and decryption layer for decryption, and continues up to the application layer. The response header is parsed by an application layer protocol stack webcenter layer in the application layer, and a response field Content-Length is obtained from the response header. The response field is used to characterize the actual length of the request body in the response information.
Specifically, when the length of the request text is smaller than a preset first threshold, the wearable device 110 acquires the request text in a socket agent mode; when the length of the request text is greater than or equal to a preset first threshold, the wearable device 110 acquires the request text by adopting an http proxy mode.
The specific size of the first threshold is determined by the communication device parameters of the wearable device 110 and the terminal device 120. In an embodiment, the specific size of the first threshold is determined according to a bluetooth underlying framing radix of the wearable device 110 and/or the terminal device 120. For example, the specific magnitude of the first threshold is determined in a measured manner.
Specifically, in one embodiment, the first threshold is set to 10kb.
After S307, when the length of the request body is less than the preset first threshold, the wearable device 110 performs S308.
S308, the wearable device 110 sends the first text obtaining request to the terminal device 120 through a socket proxy mode. The first body acquisition request is used for requesting the terminal device 120 to send a request body of response information based on a socket proxy mode.
In one embodiment, the response field that wearable device 110 obtains from it by parsing the response header is shown as a code within box 403 in fig. 4. The wearable device 110 analyzes the request header in the response information returned by the hundred-degree server, obtains the response field with the size of 2381 bits from the request header, and sends a first text obtaining request to the terminal device 120 in a socket proxy mode to obtain the response text from the terminal device 120, wherein the size of the response field is smaller than a preset first threshold.
S309, after receiving the first text obtaining request, the terminal device 120 sends a request text of the response information to the wearable device 110 based on the socket proxy mode.
S310, the wearable device 110 receives and stores the request text of the response information based on the socket agent mode.
In an embodiment, the text of the request received by the wearable device 110 from the terminal device 120 based on the socket proxy is shown as a code in a square box 404 in fig. 4. And the wearable device realizes access to the hundred-degree server through a request text returned by the hundred-degree server.
After S307, when the length of the request body is equal to or greater than the preset first threshold, the wearable device 110 performs S311.
S311, the wearable device 110 switches the socket agent to an http agent, and sends a second text acquisition request to the terminal device 120 in an http agent mode. The second body acquisition request is used for requesting the terminal device 120 to send a request body of response information based on the http proxy mode.
S312, after receiving the second text acquisition request, the terminal device 120 sends a request text of the response information to the wearable device 110 based on the http proxy mode.
S313, the wearable device 110 receives and stores the request text of the response information based on the http proxy mode.
Further, in an embodiment, the first body obtaining request and the second body obtaining request are configured by using a unified request code, where the first body obtaining request and the second body obtaining request are used for requesting the terminal device 120 to feed back the request body of the response information, and the first body obtaining request and the second body obtaining request do not indicate the manner in which the terminal device 120 feeds back the request body of the response information. The terminal device 120 determines the transmission mode of the request text of the information according to the transmission mode of the first text acquisition request or the second text acquisition request.
According to the embodiment of the invention, the response field used for representing the size of the request text is obtained by analyzing the response header in the response information returned by the server equipment, and the proxy internet surfing mode which is more matched with the size of the request text is selected to obtain data by combining the characteristics of two different proxy internet surfing modes, so that the stability of data transmission is enhanced, and the user experience is improved.
According to the method of the embodiment of the application, the application also provides a proxy internet surfing device which is installed in the internet surfing equipment.
Fig. 5 is a schematic diagram of a proxy internet surfing device according to an embodiment of the present application. As shown in fig. 5, the apparatus 500 includes:
the first sending module 510 sends the internet surfing request information to the terminal device. (refer to S301)
The first receiving module 520 receives a response header of response information sent by the terminal device, where the response information is information fed back by the server device for the internet access request information. (refer to S306)
The determining module 530 determines, according to the response header, a transmission mode of the request body of the response information, where the transmission mode includes a socket proxy mode or an http proxy mode. (refer to S307)
And a second sending module 540, configured to send a text acquisition request to the terminal device, where the text acquisition request is used to request the terminal device, and send the request text based on the transmission mode. (refer to S308 or S311)
The second receiving module 550 receives the request text based on the transmission scheme. (refer to S310 or S313)
According to the method of the embodiment of the application, the application also provides a proxy internet surfing device which is installed in the terminal equipment.
Fig. 6 is a schematic diagram of a proxy internet surfing device according to an embodiment of the present application. As shown in fig. 5, the apparatus 600 includes:
the first receiving module 610 receives internet surfing request information sent by an internet surfing device. (refer to S302)
The first transmitting module 620 transmits the internet request information to the corresponding server device. (refer to S302)
The second receiving module 630 receives response information fed back by the server device for the internet surfing request information. (refer to S304)
The second transmitting module 640 transmits a response header of the response information to the internet surfing device. (refer to S305)
The third receiving module 650 receives the text acquisition request sent by the internet surfing device. (refer to S308 or S311)
The obtaining module 660 obtains a transmission mode of the request text of the response information according to the text obtaining request, where the transmission mode includes a socket proxy mode or an http proxy mode. (refer to S308 or S311)
The third sending module 670 sends the request text to the internet surfing device based on the transmission mode. (refer to S309 or S312)
In the description of the embodiments of the present application, for convenience of description, the apparatus is described as being divided into various modules by functions, where the division of each module is merely a division of a logic function, and the functions of each module may be implemented in one or more pieces of software and/or hardware when the embodiments of the present application are implemented.
In particular, the apparatus according to the embodiments of the present application may be fully or partially integrated into one physical entity or may be physically separated when actually implemented. And these modules may all be implemented in software in the form of calls by the processing element; or can be realized in hardware; it is also possible that part of the modules are implemented in the form of software called by the processing element and part of the modules are implemented in the form of hardware. For example, the detection module may be a separately established processing element or may be implemented integrated in a certain chip of the electronic device. The implementation of the other modules is similar. In addition, all or part of the modules can be integrated together or can be independently implemented. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in a software form.
For example, the modules above may be one or more integrated circuits configured to implement the methods above, such as: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC), or one or more digital signal processors (Digital Singnal Processor, DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA), etc. For another example, the modules may be integrated together and implemented in the form of a System-On-a-Chip (SOC).
In a practical application scenario, the method flow of the embodiments shown in the present specification may be implemented by an electronic chip mounted on an electronic device. Accordingly, an embodiment of the present application provides an electronic chip. For example, an electronic chip is mounted on an electronic device, the electronic chip including:
a processor for executing computer program instructions stored on a memory, wherein the computer program instructions, when executed by the processor, trigger an electronic chip to perform the method steps described in embodiments of the present application.
The embodiment of the application also provides electronic equipment which can be realized as internet surfing equipment. The internet appliance comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the server appliance to perform the method steps as described in the embodiments of the present application.
Specifically, in an embodiment of the present application, the one or more computer programs are stored in the memory, where the one or more computer programs include instructions, which when executed by the apparatus, cause the apparatus to perform the method steps described in the embodiments of the present application.
The embodiment of the application also provides electronic equipment which can be realized as terminal equipment. The terminal device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the terminal device to perform the method steps as described in the embodiments of the present application.
Specifically, in an embodiment of the present application, the one or more computer programs are stored in the memory, where the one or more computer programs include instructions, which when executed by the apparatus, cause the apparatus to perform the method steps described in the embodiments of the present application.
Fig. 7 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device 700 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, a user identification module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 700. In other embodiments of the present application, electronic device 700 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 of the electronic device 700 may be a device-on-chip SOC, which may include a central processing unit (Central Processing Unit, CPU) therein, and may further include other types of processors. For example, the processor 110 may be a PWM control chip.
The processor 110 may include, for example, a CPU, DSP, microcontroller, or digital signal processor, and may further include a GPU, an embedded Neural network processor (Neural-network Process Units, NPU), and an image signal processor (Image Signal Processing, ISP), and the processor 110 may further include a necessary hardware accelerator or logic processing hardware circuit, such as an ASIC, or one or more integrated circuits for controlling program execution of the present application, and the like. Further, the processor 110 may have a function of operating one or more software programs, which may be stored in a storage medium.
Processor 110 may include one or more processing units. For example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 700 may also include one or more processors 110. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include inter-integrated circuit (inter-integrated circuit, I2C) interfaces, inter-integrated circuit audio (integrated circuit sound, I2S) interfaces, pulse code modulation (pulse code modulation, PCM) interfaces, universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interfaces, mobile industry processor interfaces (mobile industry processor interface, MIPI), general-purpose input/output (GPIO) interfaces, SIM card interfaces, and/or USB interfaces, among others. The USB interface 130 is an interface conforming to the USB standard, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 700, or may be used to transfer data between the electronic device 700 and a peripheral device.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device 700. In other embodiments of the present application, the electronic device 700 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 700. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 of the electronic device 700 may be used to store one or more computer programs, including instructions. The processor 110 may cause the electronic device 700 to perform the methods provided in some embodiments of the present application, as well as various applications, data processing, and the like, by executing the above-described instructions stored in the internal memory 121. The internal memory 121 may include a code storage area and a data storage area. Wherein the code storage area may store an operating system. The data store may store data and the like created during use of the electronic device 700. In addition, the internal memory 121 may include high-speed random access memory, and may also include nonvolatile memory, such as one or more disk storage units, flash memory units, universal flash memory (universal flash storage, UFS), and the like.
The internal memory 121 may be a read-only memory (ROM), other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media, or other magnetic storage devices, or any computer-readable medium that can be utilized to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The processor 110 and the internal memory 121 may be combined into one processing device, more commonly as separate components, and the processor 110 is configured to execute the program code stored in the internal memory 121 to implement the method according to the embodiments of the present application. In particular, the internal memory 121 may also be integrated into the processor or independent of the processor.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 700. The charging management module 140 may also supply power to the electronic device 700 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives inputs from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the external memory interface 120, the mobile communication module 150, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 700 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 700 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication, including 2G/3G/4G/5G, as applied to the electronic device 700. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 700. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 700 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 700 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 700 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The electronic device 700 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The electronic device 700 may implement touch input through the display 194, the touch sensor 180K, the processor 110, and the like. For example, the touch sensor 180K and the display screen 194 are integrated into a touch screen, the clicking operation of the user on the touch screen is collected by the touch sensor 180K as a touch signal, the touch signal is collected and converted by the sensor module 180 and then transmitted to the processor 110, and the processor 110 analyzes the touch operation behavior of the user through the recognition of the touch signal.
Further, the devices, apparatuses, modules illustrated in the embodiments of the present application may be implemented by a computer chip or entity, or by a product having a certain function.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein.
In several embodiments provided herein, any of the functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
Specifically, in an embodiment of the present application, there is further provided a computer readable storage medium, where a computer program is stored, when the computer program is executed on a computer, to cause the computer to perform the method provided in the embodiment of the present application.
An embodiment of the present application also provides a computer program product comprising a computer program which, when run on a computer, causes the computer to perform the method provided by the embodiments of the present application.
The description of embodiments herein is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments herein. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the embodiments of the present application, the term "at least one" refers to one or more, and the term "a plurality" refers to two or more. "and/or", describes an association relation of association objects, and indicates that there may be three kinds of relations, for example, a and/or B, and may indicate that a alone exists, a and B together, and B alone exists. Wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of the following" and the like means any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
In the present embodiments, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
All embodiments in the application are described in a progressive manner, and identical and similar parts of all embodiments are mutually referred, so that each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as a combination of electronic hardware, computer software, and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, the apparatus and the units described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The foregoing is merely a specific embodiment of the present application, and any person skilled in the art may easily think of changes or substitutions within the technical scope of the present application, and should be covered in the scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.
Claims (11)
1. A proxy internet surfing method, wherein the method is applied to an internet surfing device, and the method comprises:
sending internet surfing request information to terminal equipment; the terminal equipment forwards the received internet surfing request information to a server equipment; the server equipment generates response information aiming at the internet surfing request information according to the internet surfing request information and sends the response information to the terminal equipment;
receiving a response header of the response information sent by the terminal equipment;
acquiring the length of a request text of the response information according to the response head of the response information;
under the condition that the length of the request text is greater than or equal to a preset threshold value, determining that the transmission mode of the request text of the response information is an http proxy mode; under the condition that the length of the request text is smaller than the preset threshold value, determining that the transmission mode is a socket proxy mode;
Transmitting a text acquisition request to the terminal equipment, wherein the text acquisition request is used for requesting the terminal equipment and transmitting the request text based on the transmission mode;
and receiving the request text sent by the terminal equipment based on the transmission mode.
2. The method according to claim 1, characterized in that:
the sending the internet surfing request information to the terminal equipment comprises the following steps: based on the socket agent mode, sending the internet surfing request information to the terminal equipment;
the response header for receiving the response information sent by the terminal device includes: and receiving the response head based on the socket agent mode.
3. The method according to claim 1, wherein said sending a body acquisition request to said terminal device comprises:
and sending the text acquisition request to the terminal equipment based on the transmission mode.
4. A proxy internet surfing method, wherein the method is applied to a terminal device, and the method comprises:
receiving internet surfing request information sent by internet surfing equipment;
the internet surfing request information is sent to corresponding server equipment;
receiving response information fed back by the server equipment aiming at the internet surfing request information;
Transmitting a response message of the response message to the internet surfing equipment; the internet surfing device obtains the length of a request text of the response information according to the received response header of the response information; when the length of the request text is greater than or equal to a preset threshold value, the internet surfing device determines that the transmission mode of the request text of the response information is an http proxy mode; when the length of the request text is smaller than the preset threshold value, the internet surfing device determines that the transmission mode is a socket proxy mode;
receiving a text acquisition request sent by the internet surfing equipment; the text acquisition request is used for requesting the terminal equipment and sending the request text based on the transmission mode;
acquiring the transmission mode of the request text of the response information determined by the internet surfing equipment according to the text acquisition request;
and sending the request text to the internet surfing equipment based on the transmission mode.
5. The method according to claim 4, wherein:
the receiving the internet surfing request information sent by the internet surfing equipment comprises the following steps: based on the socket agent mode, receiving the internet surfing request information;
The sending the response message to the internet surfing device comprises the following steps: and sending the response head based on the socket agent mode.
6. The method according to claim 4, wherein the transmission manner of the request body of the response information determined by the internet surfing device according to the body acquisition request includes:
and acquiring a transmission mode of the text acquisition request, wherein the transmission mode is the transmission mode of the request text.
7. A proxy internet surfing device, wherein said device is applied to an internet surfing apparatus, said device comprising:
the first sending module is used for sending the internet surfing request information to the terminal equipment; the terminal equipment forwards the received internet surfing request information to a server equipment; the server equipment generates response information aiming at the internet surfing request information according to the internet surfing request information and sends the response information to the terminal equipment;
the first receiving module is used for receiving a response head of the response information sent by the terminal equipment;
the determining module is used for obtaining the length of a request text of the response information according to the response head of the response information, determining that the transmission mode of the request text of the response information is an http proxy mode when the length of the request text is greater than or equal to a preset threshold value, and determining that the transmission mode is a socket proxy mode when the length of the request text is less than the preset threshold value;
The second sending module is used for sending a text acquisition request to the terminal equipment, wherein the text acquisition request is used for requesting the terminal equipment and sending the request text based on the transmission mode;
and the second receiving module is used for receiving the request text sent by the terminal equipment based on the transmission mode.
8. An electronic device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method steps of any of claims 1-3.
9. A proxy internet surfing device, wherein said device is applied to a terminal apparatus, said device comprising:
the first receiving module is used for receiving internet surfing request information sent by internet surfing equipment;
the first sending module is used for sending the internet surfing request information to corresponding server equipment;
the second receiving module is used for receiving response information fed back by the server equipment aiming at the internet surfing request information;
the second sending module sends the response message to the internet surfing equipment; the internet surfing device obtains the length of a request text of the response information according to the received response header of the response information; when the length of the request text is greater than or equal to a preset threshold value, the internet surfing device determines that the transmission mode of the request text of the response information is an http proxy mode; when the length of the request text is smaller than the preset threshold value, the internet surfing device determines that the transmission mode is a socket proxy mode;
The third receiving module is used for receiving a text acquisition request sent by the internet surfing equipment; the text acquisition request is used for requesting the terminal equipment and sending the request text based on the transmission mode;
the acquisition module acquires the transmission mode of the request text of the response information determined by the internet surfing equipment according to the text acquisition request;
and the third sending module is used for sending the request text to the internet surfing equipment based on the transmission mode.
10. An electronic device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method steps of any of claims 4-6.
11. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when run on a computer, causes the computer to perform the method according to any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211186009.7A CN116708551B (en) | 2022-09-27 | 2022-09-27 | Proxy internet surfing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211186009.7A CN116708551B (en) | 2022-09-27 | 2022-09-27 | Proxy internet surfing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116708551A CN116708551A (en) | 2023-09-05 |
CN116708551B true CN116708551B (en) | 2024-04-02 |
Family
ID=87829922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211186009.7A Active CN116708551B (en) | 2022-09-27 | 2022-09-27 | Proxy internet surfing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116708551B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7020700B1 (en) * | 1997-02-28 | 2006-03-28 | International Business Machines Corporation | Client side socks server for an internet client |
EP2124413A1 (en) * | 2008-05-20 | 2009-11-25 | Vodafone Holding GmbH | System and method for carrying out communication between a server and a user equipment |
KR101039874B1 (en) * | 2011-04-04 | 2011-06-09 | (주)한국전산감리원 | System for integration platform of information communication |
CN102710743A (en) * | 2012-04-16 | 2012-10-03 | 杭州斯凯网络科技有限公司 | Self-adapting wireless access method of handheld terminal APN (Access Point Name) |
CN102882865A (en) * | 2012-09-19 | 2013-01-16 | 上海美琦浦悦通讯科技有限公司 | Method for realizing multimedia agency service control on basis of socks5 agency agreement |
CN104919833A (en) * | 2012-12-20 | 2015-09-16 | 爱尔比奎特公司 | Efficient headunit communication integration |
CN110557462A (en) * | 2019-07-26 | 2019-12-10 | 北京天元特通科技有限公司 | distributed access system based on public agent |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9680918B2 (en) * | 2014-06-30 | 2017-06-13 | Fortinet, Inc. | Socket application program interface (API) for efficient data transactions |
US11245706B2 (en) * | 2017-03-27 | 2022-02-08 | Oracle Systems Corporation | Protection configuration for application programming interfaces |
-
2022
- 2022-09-27 CN CN202211186009.7A patent/CN116708551B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7020700B1 (en) * | 1997-02-28 | 2006-03-28 | International Business Machines Corporation | Client side socks server for an internet client |
EP2124413A1 (en) * | 2008-05-20 | 2009-11-25 | Vodafone Holding GmbH | System and method for carrying out communication between a server and a user equipment |
KR101039874B1 (en) * | 2011-04-04 | 2011-06-09 | (주)한국전산감리원 | System for integration platform of information communication |
CN102710743A (en) * | 2012-04-16 | 2012-10-03 | 杭州斯凯网络科技有限公司 | Self-adapting wireless access method of handheld terminal APN (Access Point Name) |
CN102882865A (en) * | 2012-09-19 | 2013-01-16 | 上海美琦浦悦通讯科技有限公司 | Method for realizing multimedia agency service control on basis of socks5 agency agreement |
CN104919833A (en) * | 2012-12-20 | 2015-09-16 | 爱尔比奎特公司 | Efficient headunit communication integration |
CN110557462A (en) * | 2019-07-26 | 2019-12-10 | 北京天元特通科技有限公司 | distributed access system based on public agent |
Also Published As
Publication number | Publication date |
---|---|
CN116708551A (en) | 2023-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021052178A1 (en) | Wi-fi connection method and device | |
WO2021051986A1 (en) | Method for establishing connection between apparatuses, and electronic device | |
CN113630297B (en) | Method and terminal for controlling first equipment | |
JP5891550B2 (en) | Wireless internet module, user terminal, and wireless communication method | |
CN113207122B (en) | Message transmission method and device | |
CN111010693B (en) | Method for providing wireless fidelity network access service and electronic equipment | |
EP4050944A1 (en) | Method for adjusting number of data streams, and terminal and mimo system | |
WO2021027623A1 (en) | Device capability discovery method and p2p device | |
EP4250629A1 (en) | Identity authentication method, electronic device, and computer readable storage medium | |
EP4283931A1 (en) | Nfc method and system, and electronic device | |
CN116708551B (en) | Proxy internet surfing method and device | |
CN113950048B (en) | Connection establishment method, electronic device and storage medium | |
CN117332398A (en) | Method, device and system for issuing device certificate | |
CN113891310B (en) | Cooperative communication method, user equipment and system | |
CN116669231B (en) | Data transmission method and electronic equipment | |
WO2023185756A9 (en) | Information transmission methods and apparatus, terminal and network-side device | |
CN114844974B (en) | Method for sharing address book, mobile device, electronic device and communication system | |
CN114845297B (en) | Application program access method, electronic device and storage medium | |
WO2024146288A1 (en) | Message sending and displaying method and apparatus, server, and terminal device | |
CN118353900A (en) | Network access method and electronic equipment | |
CN117668778A (en) | Resource extension method, electronic device and storage medium | |
CN115811748A (en) | Communication method, system and electronic equipment | |
CN118450365A (en) | Communication and perception fusion method and device | |
CN115022828A (en) | Communication method, communication device, and computer-readable medium | |
CN117951363A (en) | Method, device and system for recommending information |
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 |