CN108600333B - Data transmission method, equipment and system based on proxy server - Google Patents

Data transmission method, equipment and system based on proxy server Download PDF

Info

Publication number
CN108600333B
CN108600333B CN201810285988.9A CN201810285988A CN108600333B CN 108600333 B CN108600333 B CN 108600333B CN 201810285988 A CN201810285988 A CN 201810285988A CN 108600333 B CN108600333 B CN 108600333B
Authority
CN
China
Prior art keywords
response data
server
data
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
Application number
CN201810285988.9A
Other languages
Chinese (zh)
Other versions
CN108600333A (en
Inventor
严东华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Ali Yingye Yunzhi Software Co ltd
Original Assignee
Guangdong Ali Yingye Yunzhi Software Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Ali Yingye Yunzhi Software Co ltd filed Critical Guangdong Ali Yingye Yunzhi Software Co ltd
Priority to CN201810285988.9A priority Critical patent/CN108600333B/en
Publication of CN108600333A publication Critical patent/CN108600333A/en
Application granted granted Critical
Publication of CN108600333B publication Critical patent/CN108600333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a data transmission method based on a proxy server, a data center server, a UI server, a data transmission system based on the proxy server, a computing device and a computer readable storage medium, and relates to the technical field of data transmission. The system comprises: the system comprises a client, a proxy server, a remote server, a data center server and a UI server; the data center server is used for acquiring response data and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation; and the UI server is used for acquiring the response data and carrying out visual display on response head information and response content of the response data. By the technical scheme, the response data are managed in a unified mode, and the data details of the response data are visually presented.

Description

Data transmission method, equipment and system based on proxy server
Technical Field
The present application belongs to the technical field of data transmission, and in particular, to a data transmission method based on a proxy server, a data center server, a UI server, a data transmission system based on a proxy server, a computing device, and a computer-readable storage medium.
Background
A Proxy Server (Proxy Server) is a special network service that allows one network terminal (such as a client) to make an indirect connection with another network terminal (such as a Server) through the Proxy Server. Fig. 1 is a schematic diagram of a timing model of a conventional proxy server, and referring to fig. 1, a work flow of data transmission based on the conventional proxy server in the prior art is as follows:
step 1: after the proxy server is started, a client (a browser, a request tool or an object) sends a request to the server through the proxy server in a proxy mode;
step 2: the proxy server intercepts the request;
and step 3: the proxy server forwards the request to the remote server;
and 4, step 4: the remote server sends out response data after receiving the request and returns the response data to the proxy server;
and 5: the proxy server intercepts response data;
step 6: the proxy server returns response data to the client (browser, requesting tool or object).
In the development process of the current http(s) -protocol-based project, a developer usually performs analysis and debugging on data of communication between a client and a server in a packet capturing manner by using a proxy server, such as Charles, Fiddler, and AnyProxy. However, these items are used for stand-alone proxy services, and do not centrally manage and share the data falling on the ground of the proxy server.
Therefore, how to provide a new solution, which can solve the above technical problems, is a technical problem to be solved in the art.
Disclosure of Invention
In view of the above, the present application provides a data transmission method based on a proxy server, a data center server, a UI server, a data transmission system based on a proxy server, a computing device and a computer readable storage medium, where the data center server performs further functional operations on response data by acquiring the response data corresponding to a plurality of clients intercepted by the proxy server, where the functional operations include the following information and combinations thereof: the UI server performs visual display on response head information and response content of the response data, and visual presentation of data details of the response data is achieved.
In order to achieve the above purpose, the present application provides the following technical solutions:
according to a first aspect of the present application, a data transmission system based on a proxy server is provided, the data transmission system includes a client, a plurality of distributed proxy servers, a remote server, and a data center server;
the data center server is used for acquiring response data sent by a plurality of distributed proxy servers and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
According to a second aspect of the present application, a data transmission system based on a proxy server is proposed, the data transmission system comprising a client, a plurality of distributed proxy servers, a remote server, and a UI server;
the UI server is used for acquiring response data sent by a plurality of distributed proxy servers and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by a remote server according to request information which is sent to the remote server by the client through the proxy server;
and the UI server is used for acquiring the response data and carrying out visual display on response head information and response content of the response data.
According to a third aspect of the present application, a data transmission method based on a proxy server is provided, where the method is applied to a data center server, and includes:
acquiring response data sent by a plurality of distributed proxy servers, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
According to a fourth aspect of the present application, a data transmission method based on a proxy server is provided, where the method is applied to a UI server, and includes:
the method comprises the steps of obtaining response data sent by a plurality of distributed proxy servers, and carrying out visual display on response head information and response contents of the response data, wherein the response data are returned by a remote server according to request information, and the request information is sent to the remote server by a client through the proxy servers.
According to a fifth aspect of the present application, a data center server is provided, which includes:
the response data acquisition module is used for acquiring response data sent by a plurality of distributed proxy servers, wherein the response data is returned by a remote server according to a request message, and the request message is sent to the remote server by a client through the proxy server;
a response data management module, configured to perform a functional operation according to the response data, where the functional operation includes the following information and a combination thereof: add operation, delete operation, improve operation, find operation.
According to a sixth aspect of the present application, there is provided a UI server comprising:
the data acquisition module is used for acquiring response data sent by a plurality of distributed proxy servers, wherein the response data is returned by a remote server according to request information, and the request information is sent to the remote server by the client through the proxy servers;
and the data display module is used for visually displaying the response head information and the response content of the response data.
According to a seventh aspect of the present application, a computing device is presented, comprising: a processor adapted to implement instructions, and a storage device storing a plurality of instructions, the instructions adapted to be loaded and executed by the processor:
acquiring response data sent by a plurality of distributed proxy servers, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
According to an eighth aspect of the present application, a computer-readable storage medium is presented, which stores a computer program for performing:
acquiring response data sent by a plurality of distributed proxy servers, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
According to a ninth aspect of the present application, there is provided a computing device comprising: a processor adapted to implement instructions, and a storage device storing a plurality of instructions, the instructions adapted to be loaded and executed by the processor:
acquiring response data sent by a plurality of distributed proxy servers, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
According to a tenth aspect of the present application, a computer-readable storage medium is presented, which stores a computer program for executing:
acquiring response data sent by a plurality of distributed proxy servers, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
According to the technical scheme, the response data corresponding to the plurality of clients intercepted by the proxy server are obtained, the data center server performs further functional operation on the response data, and the data center server stores the response data corresponding to the plurality of clients, so that the clients can obtain the response data corresponding to other clients from the data center server, uniform management and sharing of the response data are realized, in addition, the UI server performs visual display on the response header information and the response content of the response data, and visual presentation of data details of the response data is realized.
In order to make the aforementioned and other objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 illustrates a timing model diagram of a conventional proxy server in the prior art;
FIG. 2 is a schematic diagram illustrating a data transmission system based on a proxy server according to the present application;
FIG. 3 is a schematic diagram illustrating the interaction between components of the data transmission system shown in FIG. 2;
FIG. 4 is a schematic diagram illustrating a data transmission system based on a proxy server according to the present application;
FIG. 5 is a schematic diagram illustrating the interaction between components of the data transmission system shown in FIG. 4;
FIG. 6 is a schematic diagram illustrating a data transmission system based on a proxy server according to the present application;
FIG. 7 is a schematic diagram illustrating the interaction between components of the data transmission system shown in FIG. 6;
FIG. 8 is a schematic diagram of a data center server according to the present application;
FIG. 9 is a schematic diagram illustrating a structure of a UI server according to the present application;
FIG. 10 is a schematic flow chart illustrating a data transmission method based on a proxy server according to the present application applied to a data center server;
FIG. 11 is a flowchart illustrating a data transmission method based on a proxy server according to the present application applied to a UI server;
FIG. 12 illustrates a topological model diagram for a data transmission system provided herein in a particular embodiment;
FIG. 13 shows an example of a request header of the present application;
fig. 14 shows an example of a response header of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The principles and spirit of the present application are explained in detail below with reference to several representative embodiments of the present application.
Although the present application provides method operational steps or apparatus configurations as illustrated in the following examples or figures, more or fewer operational steps or modular units may be included in the methods or apparatus based on conventional or non-inventive efforts. In the case of steps or structures which do not logically have the necessary cause and effect relationship, the execution sequence of the steps or the module structure of the apparatus is not limited to the execution sequence or the module structure shown in the embodiment or the drawings of the present application. The described methods or modular structures, when applied in an actual device or end product, may be executed sequentially or in parallel according to embodiments or the methods or modular structures shown in the figures.
Fig. 2 is a schematic diagram of a data transmission system based on a proxy server according to the present application, and please refer to fig. 2, the data transmission system includes a client 100, a proxy server 200, a remote server 300, and a data center server 400. The data center server 400 is configured to obtain response data, and perform functional operations according to the response data, where the functional operations include the following information and combinations thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
In an embodiment of the present application, one data center server may obtain response data intercepted by multiple proxy servers at the same time.
In an embodiment of the present application, the data center server may further obtain request information intercepted by a plurality of proxy servers at the same time.
Fig. 3 shows a schematic diagram of interaction among a client, a proxy server, a remote server and a data center server, please refer to fig. 3, in the present application:
s1: the client sends a request message to the remote server in proxy mode, first passing through the proxy server.
In one embodiment of the present application, the client is a browser, a requesting tool, or an object.
S2: the proxy server intercepts the request information and forwards the request information to the remote server;
s3: the remote server returns response data according to the request information, and the proxy server intercepts the response data to obtain the response data.
S4: the proxy server sends the response data to the data center server so as to be uniformly managed by the data center server.
In an embodiment of the present application, since there may be a plurality of proxy servers, the data center server may directly receive response data sent by the plurality of proxy servers and perform unified management, where the unified management mentioned herein includes functional operations, where the functional operations include the following information and combinations thereof: add operation, delete operation, improve operation, find operation.
In an embodiment of the present application, since there may be a plurality of proxy servers, response data sent by a plurality of different proxy servers may be stored in a centralized manner, and therefore, the data transmission system further includes a data storage device for storing response data sent by a plurality of proxy servers, and the data center server obtains the response data from the data storage device and performs unified management, where the unified management mentioned herein includes functional operations, and the functional operations include the following information and combinations thereof: add operation, delete operation, improve operation, find operation.
In an embodiment of the application, the data center server is further configured to share the response data, specifically, the proxy servers may be multiple, so that the response data may have multiple sources, each response data includes an identity information, and the client corresponding to the response data may be determined according to the identity information. Therefore, the data center server is further configured to analyze the response data to obtain identity information, where the identity information is used to identify the client corresponding to the response data, so that the client can obtain the response data corresponding to the identity information from the data center server according to the identity information. For example, the a-client discovers in verifying some functional operation: the response data is a cause of the defect of the functional operation, so the client a can finally send the response data to the data center server through the proxy server, and the client B corresponding to the developer of the functional operation can obtain the response data of the client a from the data center server, so that the developer of the functional operation can reproduce the defect of the functional operation based on the response data of the client a through the corresponding client B, and perform subsequent improvement.
S5: the proxy server returns the response data to the client.
The data interaction diagram provided in fig. 3 is an extension, not a modification or a subversion of the proxy server timing model diagram shown in fig. 1, and is mainly characterized in that when the proxy server is started, a data center server is provided, and the data center server can be independently started and provides data services. Since the proxy server is distributed, there may be a plurality of proxy servers, so long as there is one proxy server sending the response data to the data center server 400, the data center server 400 is responsible for unified management and sharing of the response data.
Fig. 4 shows a schematic diagram of a data transmission system based on a proxy server according to the present application, please refer to fig. 4, which includes a client 100, a proxy server 200, a remote server 300, and a UI server (visual interaction server) 500. The UI server 500 is configured to receive response data sent by the proxy server, and perform visual display on response header information and response content of the response data, where the response data is returned by the remote server according to a request message, and the request message is sent by the client to the remote server through the proxy server.
In one embodiment of the present application, one UI server 500 may simultaneously acquire response data transmitted by a plurality of proxy servers.
In an embodiment of the present application, since there may be a plurality of proxy servers, the UI server may directly receive response data sent by the plurality of proxy servers, and visually display response header information and response content of the response data.
In an embodiment of the application, since the number of the proxy servers may be multiple, the response data sent by multiple different proxy servers may be stored in a centralized manner, and therefore, the data transmission system further includes a data storage device for storing the response data sent by multiple proxy servers, and the UI server acquires the response data from the data storage device and visually displays response header information and response content of the response data.
Fig. 5 shows a schematic diagram of interaction among a client, a proxy server, a remote server and a UI server, please refer to fig. 5, in the present application:
s1: the client sends a request message to the remote server in proxy mode, first passing through the proxy server.
In one embodiment of the present application, the client is a browser, a requesting tool, or an object.
S2: the proxy server intercepts the request information and forwards the request information to the remote server;
s3: the remote server returns response data according to the request information, and the proxy server intercepts the response data to obtain the response data.
S4: and the proxy server sends the response data to the UI server so as to visually display response head information and response content of the response data.
In an embodiment of the present application, the UI server is further configured to obtain the request information, and perform visual display on request header information and request parameters of the request information.
In the present application, a piece of request information corresponds to data information, such as a web page, transmitted in the request process and the response process, and for a common user, they are interested in the content presented by the final browser, and through the visual display of the UI server, all request information generated in the process of browsing the web page by the user and the technical parameters in the process of generating each request information are presented, including request header information corresponding to the request information, request parameters, response header information corresponding to the response data and corresponding content. As shown in fig. 13, which shows an example of a request header, fig. 14 is an example of a response header. As can be seen from fig. 13 and 14, the UI server according to the present invention realizes visual presentation of data details of response data and request information.
S5: the proxy server returns the response data to the client.
The data interaction diagram provided in fig. 5 is an extension, not a modification or a subversion of the proxy server timing model diagram shown in fig. 1, and is mainly characterized in that when the proxy server is started, a UI server is provided, and the UI server can exist independently of the start of the proxy service, and can start to work after response data intercepted by the proxy server is acquired.
In one embodiment of the present application, the UI server may be integrated locally to the user for rendering (i.e., integrated with the client).
Fig. 6 shows a schematic diagram of a data transmission system based on a proxy server according to the present application, and fig. 12 shows a topological model diagram of the data transmission system according to the present application in an embodiment, please refer to fig. 6 and fig. 12, where the data transmission system includes a client 100, a proxy server 200, a remote server 300, a data center server 400 and a UI server 500. The data center server 400 is configured to obtain response data, and perform functional operations according to the response data, where the functional operations include the following information and combinations thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server. The UI server 500 is configured to obtain response data, and perform visual display on response header information and response content of the response data.
Fig. 7 shows a schematic diagram of interaction among a client, a proxy server, a remote server, a data center server, and a UI server, please refer to fig. 7, in the present application:
s1: the client sends a request message to the remote server in proxy mode, first passing through the proxy server.
In one embodiment of the present application, the client is a browser, a requesting tool, or an object.
S2: the proxy server intercepts the request information and forwards the request information to the remote server;
s3: the remote server returns response data according to the request information, and the proxy server intercepts the response data to obtain the response data.
S4: the proxy server sends the response data to the data center server, and performs functional operation according to the response data, wherein the functional operation comprises the following information and the combination thereof: add operation, delete operation, improve operation, find operation.
In an embodiment of the present application, since there may be a plurality of proxy servers, the data center server may directly receive response data sent by the plurality of proxy servers and perform unified management, where the unified management mentioned herein includes functional operations, where the functional operations include the following information and combinations thereof: add operation, delete operation, improve operation, find operation.
In an embodiment of the present application, since there may be a plurality of proxy servers, response data sent by a plurality of different proxy servers may be stored in a centralized manner, and therefore, the data transmission system further includes a data storage device for storing response data sent by a plurality of proxy servers, and the data center server obtains the response data from the data storage device and performs unified management, where the unified management mentioned herein includes functional operations, and the functional operations include the following information and combinations thereof: add operation, delete operation, improve operation, find operation.
In an embodiment of the application, the data center server is further configured to share the response data, specifically, the proxy servers may be multiple, so that the response data may have multiple sources, each response data includes an identity information, and the client corresponding to the response data may be determined according to the identity information. Therefore, the data center server is further configured to analyze the response data to obtain identity information, where the identity information is used to identify the client corresponding to the response data, so that the client can obtain the response data corresponding to the identity information from the data center server according to the identity information. For example, the a-client discovers in verifying some functional operation: the response data is a cause of the defect of the functional operation, so the client a can finally send the response data to the data center server through the proxy server, and the client B corresponding to the developer of the functional operation can obtain the response data of the client a from the data center server, so that the developer of the functional operation can reproduce the defect of the functional operation based on the response data of the client a through the corresponding client B, and perform subsequent improvement. S5: and the proxy server sends the response data to the UI server, and visually displays the response head information and the response content of the response data.
In one embodiment of the present application, one UI server may simultaneously acquire response data sent by a plurality of proxy servers.
In an embodiment of the present application, since there may be a plurality of proxy servers, the UI server may directly receive response data sent by the plurality of proxy servers, and visually display response header information and response content of the response data.
In an embodiment of the application, since the number of the proxy servers may be multiple, the response data sent by multiple different proxy servers may be stored in a centralized manner, and therefore, the data transmission system further includes a data storage device for storing the response data sent by multiple proxy servers, and the UI server acquires the response data from the data storage device and visually displays response header information and response content of the response data.
In an embodiment of the application, the UI server may further obtain the response data from the data center server, and visually display response header information and response content of the response data.
In an embodiment of the present application, the UI server is further configured to obtain the request information, and perform visual display on request header information and request parameters of the request information.
In the present application, a piece of request information corresponds to data information, such as a web page, transmitted in the request process and the response process, and for a common user, they are interested in the content presented by the final browser, and through the visual display of the UI server, all request information generated in the process of browsing the web page by the user and the technical parameters in the process of generating each request information are presented, including request header information corresponding to the request information, request parameters, response header information corresponding to the response data and corresponding content. As shown in fig. 13, which shows an example of a request header, fig. 14 is an example of a response header. As can be seen from fig. 13 and 14, the UI server according to the present invention realizes visual presentation of data details of response data and request information.
S6: the proxy server returns the response data to the client.
The data interaction diagram provided in fig. 7 is an extension, not a modification or a subversion of the proxy server timing model diagram shown in fig. 1, and is mainly characterized in that when the proxy server is started, a data center server and a UI server are provided, and the two servers can also exist independently of the start of the proxy service, and can start to work after response data intercepted by the proxy server is acquired. In one embodiment of the present application, the UI server may be further integrated into a data center server, and the data center server implements all functions of the UI server.
Fig. 8 is a schematic structural diagram of a data center server according to the present application, please refer to fig. 8, a data center server 400 includes:
a response data obtaining module 401, configured to obtain response data, where the response data is returned by a remote server according to a request message, and the request message is sent by a client to the remote server through a proxy server;
a response data management module 402, configured to perform a functional operation according to the response data, where the functional operation includes the following information and a combination thereof: add operation, delete operation, improve operation, find operation.
In an embodiment of the present application, the data center server may further obtain request information intercepted by a plurality of proxy servers.
In an embodiment of the present application, the data center server may obtain the response data and the request information by: the data center server directly receives response data and request information sent by a plurality of proxy servers; the data center server acquires response data and request information from a data storage device, and the data storage device stores the response data and the request information sent by the plurality of proxy servers.
In an embodiment of the application, the data center server further includes a response data analysis module, configured to analyze the response data to obtain identity information, where the identity information is used to identify a client corresponding to the response data. Therefore, when the data center server receives a plurality of response data, the client A can acquire the response data corresponding to the client B from the data center server, and the sharing of the response data among different clients is realized.
Fig. 9 is a schematic structural diagram of a UI server according to the present application, and referring to fig. 9, a UI server 500 includes:
a data obtaining module 501, configured to obtain response data, where the response data is returned by a remote server according to a request message, and the request message is sent by the client to the remote server through a proxy server;
and a data display module 502, configured to perform visual display on response header information and response content of the response data.
In an embodiment of the present application, the UI server further includes a request information obtaining module, configured to obtain the request information; and the information display module is used for visually displaying the request head information and the request parameters of the request information.
In an embodiment of the present application, the UI server may obtain the response data and the request information by: the UI server directly receives response data and request information sent by a plurality of proxy servers; the UI server acquires response data and request information from a data storage device, and the data storage device stores the response data and the request information sent by a plurality of proxy servers; and the UI server acquires the response data and the request information from the data center server.
In one embodiment of the present application, the UI server is integrated with the client.
In the present application, a piece of request information corresponds to data information, such as a web page, transmitted in the request process and the response process, and for a common user, they are interested in the content presented by the final browser, and through the visual display of the UI server, all request information generated in the process of browsing the web page by the user and the technical parameters in the process of generating each request information are presented, including request header information corresponding to the request information, request parameters, response header information corresponding to the response data and corresponding content. As shown in fig. 13, which shows an example of a request header, fig. 14 is an example of a response header. As can be seen from fig. 13 and 14, the UI server according to the present invention realizes visual presentation of data details of response data and request information.
The present application further provides a computing device comprising: a processor adapted to implement instructions, and a storage device storing a plurality of instructions, the instructions adapted to be loaded and executed by the processor:
acquiring response data, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: add operation, delete operation, improve operation, find operation.
The present application further proposes a computer-readable storage medium storing a computer program for executing:
acquiring response data, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: add operation, delete operation, improve operation, find operation.
The present application further proposes a computing device, the computing device comprising: a processor adapted to implement instructions, and a storage device storing a plurality of instructions, the instructions adapted to be loaded and executed by the processor:
and acquiring response data, and performing visual display on response head information and response content of the response data.
The present application further proposes a computer-readable storage medium storing a computer program for executing:
and acquiring response data, and performing visual display on response head information and response content of the response data.
Having described the UI server, the data center server, the proxy server-based data transmission system, the computing device, and the computer-readable storage medium of the present application, the method of the present application is next described with reference to the accompanying drawings. The implementation of the method can be referred to the implementation of the system, and repeated details are not repeated.
Fig. 10 is a schematic flowchart illustrating a data transmission method based on a proxy server according to the present application, applied to a data center server, and referring to fig. 10, the method includes:
s101: acquiring response data, wherein the response data is returned by a remote server according to request information, and the request information is sent to the remote server by a client through a proxy server;
s102: performing functional operations according to the response data, the functional operations including the following information and combinations thereof: add operation, delete operation, improve operation, find operation.
In one embodiment of the present application, the method further includes obtaining request information intercepted by the plurality of proxy servers.
In one embodiment of the present application, acquiring response data and request information includes acquiring response data and request information sent by a plurality of proxy servers; and acquiring response data and request information from a data storage device, wherein the response data and the request information sent by a plurality of proxy servers are stored on the data storage device.
In one embodiment of the present application, the method further comprises:
and analyzing the response data to obtain identity information, wherein the identity information is used for identifying the client corresponding to the response data. Therefore, when the data center server receives a plurality of response data, the client A can acquire the response data corresponding to the client B from the data center server, and the sharing of the response data among different clients is realized.
Fig. 11 is a schematic flowchart illustrating that a data transmission method based on a proxy server according to the present application is applied to a UI server, and referring to fig. 11, the method includes:
s201: acquiring response data, wherein the response data is returned by a remote server according to request information, and the request information is sent to the remote server by the client through a proxy server;
s202: and visually displaying the response head information and the response content of the response data.
In an embodiment of the present application, the method further includes acquiring the request information, and visually displaying request header information and request parameters of the request information.
In one embodiment of the present application, obtaining response data and request information may be implemented as follows: receiving response data and request information sent by a plurality of proxy servers; acquiring response data and request information from a data storage device, wherein the response data and the request information sent by a plurality of proxy servers are stored on the data storage device; and acquiring the response data and the request information from the data center server.
In the present application, a piece of request information corresponds to data information transmitted in the request process and the response process, such as a web page, which is of interest to ordinary users in the content presented by the final browser, and through the visual display of the method, all request information generated in the process that the users browse the web page and technical parameters in the process that each request information occurs are presented, including request header information corresponding to the request information, request parameters, response header information corresponding to the response data and corresponding content. As shown in fig. 13, which shows an example of a request header, fig. 14 is an example of a response header. As can be seen from fig. 13 and 14, the method realizes the visual presentation of the data details of the response data and the request information.
Therefore, the application provides a data transmission method based on a proxy server, a data center server, a UI server, a data transmission system based on a proxy server, a computing device and a computer readable storage medium, wherein response data corresponding to a plurality of clients intercepted by the proxy server is acquired, the data center server performs further functional operations on the response data, and the data center server stores the response data corresponding to the plurality of clients, so that the clients can acquire the response data corresponding to other clients from the data center server, thereby realizing uniform management and sharing of the response data, and the UI server performs visual display on response header information and response content of the response data, thereby realizing visual presentation of data details of the response data.
It should be noted that while the operations of the method of the present invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Although the present application provides method steps as described in an embodiment or flowchart, more or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an apparatus or client product in practice executes, it may execute sequentially or in parallel (e.g., in a parallel processor or multithreaded processing environment, or even in a distributed data processing environment) according to the embodiments or methods shown in the figures. 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, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded.
The units, devices, modules, etc. set forth in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, in implementing the present application, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of a plurality of sub-modules or sub-units, and the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
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, classes, 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.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a mobile terminal, a server, or a network device) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same or similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
While the present application has been described with examples, those of ordinary skill in the art will appreciate that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.

Claims (21)

1. A data transmission system based on a proxy server is characterized by comprising a client, a plurality of distributed proxy servers, a remote server and a data center server;
the data center server is used for acquiring response data sent by a plurality of distributed proxy servers and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
2. The data transmission system of claim 1, further comprising a data storage device for storing response data sent by the plurality of proxy servers.
3. The data transmission system of claim 2, wherein the data center server obtaining response data comprises the data center server obtaining the response data from the data storage device.
4. The data transmission system according to claim 1 or 3, wherein the data center server is further configured to parse the response data to obtain identity information, and the identity information is used to identify a client corresponding to the response data.
5. The data transmission system according to claim 4, wherein the client is further configured to obtain response data corresponding to the identity information from the data center server according to the identity information.
6. The data transmission system according to claim 4, further comprising a UI server for acquiring the response data, and visually displaying response header information and response content of the response data.
7. The data transmission system according to claim 6, wherein the UI server is further configured to obtain the request information, and visually display request header information and request parameters of the request information.
8. A data transmission system based on a proxy server is characterized by comprising a client, a plurality of distributed proxy servers, a remote server, a data center server and a UI server;
the data center server is used for acquiring response data sent by a plurality of distributed proxy servers and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by a remote server according to request information which is sent to the remote server by the client through the proxy server;
and the UI server is used for acquiring the response data and carrying out visual display on response head information and response content of the response data.
9. A data transmission method based on a proxy server is characterized in that the method is applied to a data center server and comprises the following steps:
acquiring response data sent by a plurality of distributed proxy servers, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
10. The method of claim 9, further comprising storing response data sent by a plurality of proxy servers.
11. The method according to claim 9 or 10, further comprising parsing the response data to obtain identity information, wherein the identity information is used to identify a client corresponding to the response data.
12. A data transmission method based on a proxy server is applied to a UI server and comprises the following steps:
the method comprises the steps of obtaining response data sent by a plurality of distributed proxy servers, and carrying out visual display on response head information and response contents of the response data, wherein the response data are returned by a remote server according to request information, and the request information is sent to the remote server by a client through the proxy servers.
13. The method of claim 12, further comprising obtaining the request information, and visually displaying request header information and request parameters of the request information.
14. A data center server, characterized in that the data center server comprises:
the response data acquisition module is used for acquiring response data sent by a plurality of distributed proxy servers, wherein the response data is returned by a remote server according to a request message, and the request message is sent to the remote server by a client through the proxy server;
a response data management module, configured to perform a functional operation according to the response data, where the functional operation includes the following information and a combination thereof: add operation, delete operation, improve operation, find operation.
15. The data center server of claim 14, wherein the data center server further comprises a response data parsing module, configured to parse the response data to obtain identity information, where the identity information is used to identify a client corresponding to the response data.
16. A UI server, characterized in that the UI server comprises:
the data acquisition module is used for acquiring response data sent by a plurality of distributed proxy servers, wherein the response data is returned by a remote server according to request information, and the request information is sent to the remote server by a client through the proxy servers;
and the data display module is used for visually displaying the response head information and the response content of the response data.
17. The UI server according to claim 16, wherein the UI server further comprises a request information acquisition module configured to acquire the request information; and the information display module is used for visually displaying the request head information and the request parameters of the request information.
18. A computing device, wherein the computing device comprises: a processor adapted to implement instructions, and a storage device storing a plurality of instructions, the instructions adapted to be loaded and executed by the processor:
acquiring response data sent by a plurality of distributed proxy servers, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
19. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing:
acquiring response data sent by a plurality of distributed proxy servers, and performing functional operation according to the response data, wherein the functional operation comprises the following information and combination thereof: adding operation, deleting operation, improving operation and searching operation, wherein the response data is returned by the remote server according to a request message, and the request message is sent to the remote server by the client through the proxy server.
20. A computing device, wherein the computing device comprises: a processor adapted to implement instructions, and a storage device storing a plurality of instructions, the instructions adapted to be loaded and executed by the processor:
the method comprises the steps of obtaining response data sent by a plurality of distributed proxy servers, and carrying out visual display on response head information and response contents of the response data, wherein the response data are returned by a remote server according to request information, and the request information is sent to the remote server by a client through the proxy servers.
21. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing:
the method comprises the steps of obtaining response data sent by a plurality of distributed proxy servers, and carrying out visual display on response head information and response contents of the response data, wherein the response data are returned by a remote server according to request information, and the request information is sent to the remote server by a client through the proxy servers.
CN201810285988.9A 2018-04-03 2018-04-03 Data transmission method, equipment and system based on proxy server Active CN108600333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810285988.9A CN108600333B (en) 2018-04-03 2018-04-03 Data transmission method, equipment and system based on proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810285988.9A CN108600333B (en) 2018-04-03 2018-04-03 Data transmission method, equipment and system based on proxy server

Publications (2)

Publication Number Publication Date
CN108600333A CN108600333A (en) 2018-09-28
CN108600333B true CN108600333B (en) 2021-03-12

Family

ID=63624637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810285988.9A Active CN108600333B (en) 2018-04-03 2018-04-03 Data transmission method, equipment and system based on proxy server

Country Status (1)

Country Link
CN (1) CN108600333B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973781A (en) * 2014-04-29 2014-08-06 上海上讯信息技术股份有限公司 Method and system for monitoring screen based on proxy server
CN106603296A (en) * 2016-12-20 2017-04-26 北京奇虎科技有限公司 Log processing method and device
CN107231402A (en) * 2016-08-31 2017-10-03 北京新媒传信科技有限公司 HTTP request processing method, apparatus and system
CN107332924A (en) * 2017-07-27 2017-11-07 北京奇安信科技有限公司 The reverse proxy method and device replaced based on dynamic URL
EP3264677A1 (en) * 2016-06-30 2018-01-03 Thomson Licensing Method and device for processing, at a network equipment, a processing request from a terminal
CN107798038A (en) * 2017-05-05 2018-03-13 平安科技(深圳)有限公司 Data response method and data response apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8484287B2 (en) * 2010-08-05 2013-07-09 Citrix Systems, Inc. Systems and methods for cookie proxy jar management across cores in a multi-core system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973781A (en) * 2014-04-29 2014-08-06 上海上讯信息技术股份有限公司 Method and system for monitoring screen based on proxy server
EP3264677A1 (en) * 2016-06-30 2018-01-03 Thomson Licensing Method and device for processing, at a network equipment, a processing request from a terminal
CN107231402A (en) * 2016-08-31 2017-10-03 北京新媒传信科技有限公司 HTTP request processing method, apparatus and system
CN106603296A (en) * 2016-12-20 2017-04-26 北京奇虎科技有限公司 Log processing method and device
CN107798038A (en) * 2017-05-05 2018-03-13 平安科技(深圳)有限公司 Data response method and data response apparatus
CN107332924A (en) * 2017-07-27 2017-11-07 北京奇安信科技有限公司 The reverse proxy method and device replaced based on dynamic URL

Also Published As

Publication number Publication date
CN108600333A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
US8966454B1 (en) Modeling and testing of interactions between components of a software system
CN107103004B (en) Method, device and system for processing data in webpage
US20180159724A1 (en) Automatic task tracking
CN110147327B (en) Multi-granularity-based web automatic test management method
CN107766509A (en) A kind of method and apparatus of webpage static backup
CN104967644A (en) Message push method, apparatus and system
CN108334641A (en) The method of acquisition user behavior data, system, electronic equipment, storage medium
CN112559301A (en) Service processing method, storage medium, processor and electronic device
CN110750453B (en) HTML 5-based intelligent mobile terminal testing method, system, server and storage medium
CN114253798A (en) Index data acquisition method and device, electronic equipment and storage medium
CN112965916B (en) Page testing method, page testing device, electronic equipment and readable storage medium
CN117176802B (en) Full-link monitoring method and device for service request, electronic equipment and medium
CN111813685B (en) Automatic test method and device
CN113343654A (en) General configuration method and device for information filling form
CN108600333B (en) Data transmission method, equipment and system based on proxy server
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN113127335A (en) System testing method and device
CN111258902B (en) Performance test method and performance test system based on SockJS server
CN109067899A (en) data display method and device, data push method and device
CN114328686A (en) Data docking method and related equipment
CN113535590A (en) Program testing method and device
CN112131095B (en) Pressure testing method and device
CN113157586A (en) Financial market unit test case generation method and device
CN111309368A (en) Development information management method, system, equipment and readable storage medium based on B/S framework
CN110750804A (en) Report asynchronous downloading method, device, equipment and readable 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