Protocol communication configuration method and system for webpage resources
By configuring protocol communication methods of different resource types in the protocol server and generating configuration information, the efficiency and compatibility problems of a single protocol framework in complex network environments are solved, and protocol management efficiency is improved and data processing is facilitated.
Patent Information
- Application Number
- CN202411148091.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-21
AI Technical Summary
In complex and changeable network environments and high concurrent data processing scenarios, a single protocol framework leads to a decrease in data transmission efficiency and an increase in management costs, and may cause compatibility issues, affecting the correct analysis and utilization of data.
By mounting data sources of different resource types in the protocol server, configuring corresponding protocol communication methods for each data source, generating configuration information, and when the configuration server receives the display requirements of page data, the required configuration information is integrated to generate resources. The protocol display list is sent to the web page to configure resources.
It improves the management efficiency of the protocol, facilitates data processing and maintenance, reduces the processing burden of web pages, and allows the protocol to be processed at the corresponding level, and the web page is only responsible for displaying it.
Smart Images

Figure CN119094632A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of protocol management, and in particular to a protocol communication configuration method and system for web page resources. Background Art
[0002] With the rapid development of information technology, especially in the field of network applications, efficient data transmission and management has become one of the key indicators to measure the performance of the system. In network programming, data compression and transmission is an indispensable part, which is directly related to the application's response speed, resource utilization and user experience. Among many operating systems, Windows, with its extensive application base and powerful functional support, and its built-in data compression technology, provides many developers with basic data processing methods.
[0003] However, although Windows' data compression technology performs well in file storage and transmission, its limitations are gradually revealed in the complex and ever-changing network application environment. Specifically, current network programs generally rely on specific communication protocols to ensure the correct transmission and parsing of data when conducting data communication. These protocols not only define the format and rules of data transmission, but also often have built-in data management, monitoring and analysis functions. Within the protocol framework, data display, processing and feedback must follow established processes, which to a certain extent improves the standardization and security of data transmission.
[0004] However, in actual applications, especially in the face of complex and ever-changing network environments and high-concurrency data processing scenarios, this data processing method based on a single protocol seems to be inadequate. First, with the rapid growth of data volume and the diversification of data types, data transmission under a single protocol framework tends to become bloated, resulting in reduced transmission efficiency and increased management costs. Secondly, different systems or applications may use different data protocols. The diversified nesting between protocols not only increases the complexity of data processing, but may also introduce compatibility issues, affecting the correct parsing and use of data. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a method and system for configuring protocol communication of web resources, which can improve the management efficiency of the protocol and facilitate the processing and maintenance of data.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0007] A method for configuring protocol communication of web resources, comprising the steps of:
[0008] Mount data sources of different resource types in the protocol server, configure the corresponding protocol communication mode for each data source, and generate corresponding configuration information;
[0009] When the configuration server receives the display demand of the page data, it integrates the required configuration information obtained from the protocol server, generates a resource protocol display list and sends it to the web page;
[0010] The resource configuration is performed in the page data of the web page according to the resource protocol display list.
[0011] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0012] A protocol communication configuration system for web page resources, comprising a protocol server, a configuration server and a web page;
[0013] Mount data sources of different resource types in the protocol server, configure the corresponding protocol communication mode for each data source, and generate corresponding configuration information;
[0014] When the configuration server receives the display demand of the page data, it integrates the required configuration information obtained from the protocol server, generates a resource protocol display list and sends it to the web page;
[0015] The resource configuration is performed in the page data of the web page according to the resource protocol display list.
[0016] The beneficial effects of the present invention are: mounting data sources of different resource types in the protocol server, configuring corresponding protocol communication methods for each data source, and generating corresponding configuration information; when the configuration server receives the display requirements of the page data, integrating the required configuration information obtained from the protocol server, generating a resource protocol display list and sending it to the web page; performing resource configuration in the page data of the web page according to the resource protocol display list. In this way, different protocol data contents can be nested in the protocol data to eventually make the same page have different protocol data contents, improve the management efficiency of the protocol, facilitate data processing and maintenance, and allow the protocol to be processed at the corresponding level, and the web page is only responsible for display. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flowchart of a method for configuring protocol communication of a webpage resource according to an embodiment of the present invention;
[0018] Figure 2 A schematic diagram of a protocol communication configuration system for web page resources according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0020] Please refer to Figure 1 The embodiment of the present invention provides a method for configuring protocol communication of web resources, comprising the steps of:
[0021] Mount data sources of different resource types in the protocol server, configure the corresponding protocol communication mode for each data source, and generate corresponding configuration information;
[0022] When the configuration server receives the display demand of the page data, it integrates the required configuration information obtained from the protocol server, generates a resource protocol display list and sends it to the web page;
[0023] The resource configuration is performed in the page data of the web page according to the resource protocol display list.
[0024] From the above description, it can be seen that the beneficial effects of the present invention are: mounting data sources of different resource types in the protocol server, configuring corresponding protocol communication methods for each data source, and generating corresponding configuration information; when the configuration server receives the display requirements of the page data, the required configuration information obtained from the protocol server is integrated, a resource protocol display list is generated and sent to the web page; resource configuration is performed in the page data of the web page according to the resource protocol display list. In this way, different protocol data contents can be nested in the protocol data to eventually allow the same page to have different protocol data contents, thereby improving the management efficiency of the protocol, facilitating data processing and maintenance, and allowing the protocol to be processed at the corresponding level, with the web page only responsible for display.
[0025] Furthermore, data sources of different resource types are mounted in the protocol server, including:
[0026] Mounting a data source in a protocol server, the data source being resource data from a data server, the data server containing different resources of the same resource type;
[0027] When the protocol server mounts the data source, the data source is marked with the data server identifier, resource identifier and resource location corresponding to the data source.
[0028] It can be seen from the above description that by mounting the data source on the protocol server and marking the data source, subsequent protocol matching for the data source is facilitated.
[0029] Furthermore, a corresponding protocol communication mode is configured for each data source, and corresponding configuration information is generated, including:
[0030] A corresponding protocol communication mode is configured for each data source in a protocol member of the protocol component, and a configuration relationship between the protocol member corresponding to the data source and the protocol component is recorded as configuration information.
[0031] From the above description, it can be seen that the corresponding protocol communication mode is configured in the protocol member for the data source to facilitate the subsequent protocol conversion of the resource.
[0032] Furthermore, the required configuration list obtained from the protocol server is integrated to generate a resource protocol display list and sent to the web page, including:
[0033] Determine the resources to be displayed according to the display requirements, and search the configuration information corresponding to all the resources to be displayed from the protocol server, perform protocol conversion of the resources to be displayed according to the configuration information, integrate all the converted resources to be displayed to obtain a resource protocol display list, and send the resource protocol display list to the web page.
[0034] From the above description, it can be seen that the protocol conversion of the resources to be displayed is performed according to the configuration information. Therefore, by adding a protocol management method and changing the protocol content structure, it is only necessary to filter and process the data under the respective protocols, which reduces the processing burden of the web page.
[0035] Furthermore, performing resource configuration according to the resource protocol display list in the page data of the webpage also includes:
[0036] Receive disabled protocol information of a web page, and adjust a resource protocol display list according to the disabled protocol information.
[0037] From the above description, it can be seen that the resource protocol display list can be adjusted by configuring the disabled protocol information. Therefore, when filtering data based on the disabled protocol information, there is no need to filter under the same web page protocol. Instead, the protocol can be processed at the corresponding level, and the web page is only responsible for display, thereby improving the management efficiency of the protocol and facilitating data processing and maintenance.
[0038] Please refer to Figure 2 ,Another embodiment of the present invention provides a protocol communication configuration system for web page resources, including a protocol server, a configuration server and a web page;
[0039] Mount data sources of different resource types in the protocol server, configure the corresponding protocol communication mode for each data source, and generate corresponding configuration information;
[0040] When the configuration server receives the display demand of the page data, it integrates the required configuration information obtained from the protocol server, generates a resource protocol display list and sends it to the web page;
[0041] The resource configuration is performed in the page data of the web page according to the resource protocol display list.
[0042] From the above description, it can be seen that the beneficial effects of the present invention are: mounting data sources of different resource types in the protocol server, configuring corresponding protocol communication methods for each data source, and generating corresponding configuration information; when the configuration server receives the display requirements of the page data, the required configuration information obtained from the protocol server is integrated, a resource protocol display list is generated and sent to the web page; resource configuration is performed in the page data of the web page according to the resource protocol display list. In this way, different protocol data contents can be nested in the protocol data to eventually allow the same page to have different protocol data contents, thereby improving the management efficiency of the protocol, facilitating data processing and maintenance, and allowing the protocol to be processed at the corresponding level, with the web page only responsible for display.
[0043] Furthermore, data sources of different resource types are mounted in the protocol server, including:
[0044] Mounting a data source in a protocol server, the data source being resource data from a data server, the data server containing different resources of the same resource type;
[0045] When the protocol server mounts the data source, the data source is marked with the data server identifier, resource identifier and resource location corresponding to the data source.
[0046] It can be seen from the above description that by mounting the data source on the protocol server and marking the data source, subsequent protocol matching for the data source is facilitated.
[0047] Furthermore, a corresponding protocol communication mode is configured for each data source, and corresponding configuration information is generated, including:
[0048] A corresponding protocol communication mode is configured for each data source in a protocol member of the protocol component, and a configuration relationship between the protocol member corresponding to the data source and the protocol component is recorded as configuration information.
[0049] From the above description, it can be seen that the corresponding protocol communication mode is configured in the protocol member for the data source to facilitate the subsequent protocol conversion of the resource.
[0050] Furthermore, the required configuration list obtained from the protocol server is integrated to generate a resource protocol display list and sent to the web page, including:
[0051] Determine the resources to be displayed according to the display requirements, and search the configuration information corresponding to all the resources to be displayed from the protocol server, perform protocol conversion of the resources to be displayed according to the configuration information, integrate all the converted resources to be displayed to obtain a resource protocol display list, and send the resource protocol display list to the web page.
[0052] From the above description, it can be seen that the protocol conversion of the resources to be displayed is performed according to the configuration information. Therefore, by adding a protocol management method and changing the protocol content structure, it is only necessary to filter and process the data under the respective protocols, which reduces the processing burden of the web page.
[0053] Furthermore, performing resource configuration according to the resource protocol display list in the page data of the webpage also includes:
[0054] Receive disabled protocol information of a web page, and adjust a resource protocol display list according to the disabled protocol information.
[0055] From the above description, it can be seen that the resource protocol display list can be adjusted by configuring the disabled protocol information. Therefore, when filtering data based on the disabled protocol information, there is no need to filter under the same web page protocol. Instead, the protocol can be processed at the corresponding level, and the web page is only responsible for display, thereby improving the management efficiency of the protocol and facilitating data processing and maintenance.
[0056] The above-mentioned method and system for configuring protocol communication of web resources of the present invention are suitable for improving the management efficiency of the protocol and facilitating the processing and maintenance of data, which are described below through specific implementation methods:
[0057] Embodiment 1
[0058] Please refer to Figure 1 , a protocol communication configuration method for web resources, comprising the steps of:
[0059] S1. Mount data sources of different resource types in the protocol server, configure corresponding protocol communication methods for each data source, and generate corresponding configuration information.
[0060] S11. Mount a data source in a protocol server, where the data source is resource data from a data server, and the data server contains different resources of the same resource type.
[0061] S12: When the protocol server mounts the data source, the data source is marked with the data server identifier, resource identifier, and resource location corresponding to the data source.
[0062] In this embodiment, the data server identifier is F, the resource identifier, ie, the resource ID, is QE1A21, and when the resource to be acquired is at position A53, the content of the tag is F-QE1A21-A53.
[0063] S13. Configure a corresponding protocol communication mode for each data source in the protocol member of the protocol component, and record the configuration relationship between the data source and the corresponding protocol member and the protocol component as configuration information.
[0064] In this embodiment, the protocol corresponding to each resource configuration is recorded as: protocol. For example: protocol: tcp-xxx-QE1A21-A53, where xxx identifies the protocol component, which means that the server of the tcp protocol mounts the resource of QE1A21-A53.
[0065] Among them, the protocol component has protocol members that make up the protocol component, including TCP / IP (Transmission Control Protocol / Internet Protocol), HTTP (Hypertext Transfer Protocol), HTTPS (Secure Hypertext Transfer Protocol), SMTP (Simple Mail Transfer Protocol), SSL / TLS (Secure Sockets Layer / Transport Layer Security) and NTP (Network Time Protocol) and other protocol generation methods; and the types of different protocols include encryption, non-encryption, obfuscation and data compression
[0066] The protocol component is recorded as component-type for each protocol member, for example: TCP-01 represents TCP protocol member-01 type.
[0067] S2. When the configuration server receives a display requirement for page data, it integrates the required configuration information obtained from the protocol server, generates a resource protocol display list, and sends it to the web page.
[0068] Among them, the resources to be displayed are determined according to the display requirements, and the configuration information corresponding to all the resources to be displayed is found from the protocol server, the protocol conversion of the resources to be displayed is performed according to the configuration information, all the converted resources to be displayed are integrated to obtain a resource protocol display list, and the resource protocol display list is sent to the web page.
[0069] Specifically, when the configuration server receives the display demand of the page data, the display demand includes the configuration demand of the page data and the resources to be displayed. The configuration information corresponding to all the resources to be displayed is searched from the protocol server, and all the configuration information is integrated to obtain the resource protocol display list, for example, to make a web page, the text part of which uses TCP, the advertising part uses HTTPS, and the chat part uses UDP, and the protocol conversion is performed through the list.
[0070] S3. Perform resource configuration in the page data of the web page according to the resource protocol display list.
[0071] Among them, the communication protocol configuration information of the webpage is first received, and the communication protocol of the webpage is configured according to the communication protocol configuration information.
[0072] Specifically, the communication protocol configuration information of the web page is received. For example, if the web page uses the HTTP protocol, that is, the final display protocol of the web page is HTTP, and the page data of the web page is configured according to the resource protocol display list. Although HTTP is finally displayed, the text part of the web page still uses TCP, the advertising part still uses HTTPS, and the chat part still uses UDP protocol to realize data transmission.
[0073] When users do not like to watch ads, they only need to disable the corresponding advertising protocol to complete the management operation, instead of filtering the data under the same protocol and increasing management costs, which makes the data more efficient.
[0074] Therefore, in this embodiment, by adding a protocol management method and changing the composition of the protocol content, the corresponding content can be managed through the corresponding protocol, which reduces the processing burden of the server, allowing the protocol to be processed at the corresponding level, and the web page is only responsible for displaying the interactive operation.
[0075] Embodiment 2
[0076] Please refer to Figure 2 , a protocol communication configuration system for web page resources, including a protocol server, a configuration server and a web page;
[0077] Mount data sources of different resource types in the protocol server, configure the corresponding protocol communication mode for each data source, and generate corresponding configuration information.
[0078] Specifically, a data source is mounted in a protocol server, the data source is resource data from a data server, and the data server contains different resources of the same resource type; when the data source is mounted on the protocol server, the data source is marked with a data server identifier, a resource identifier, and a resource location corresponding to the data source; a corresponding protocol communication mode is configured for each data source in a protocol member of a protocol component, and a configuration relationship between the protocol member corresponding to the data source and the protocol component is recorded as configuration information.
[0079] When the configuration server receives the display demand of the page data, it integrates the required configuration information obtained from the protocol server, generates a resource protocol display list, and sends it to the web page. Specifically, the resources to be displayed are determined according to the display demand, and the configuration information corresponding to all the resources to be displayed is searched from the protocol server, all the configuration information is integrated to obtain the resource protocol display list, and the resource protocol display list is sent to the web page.
[0080] Communication protocol configuration information of a web page is received, the communication protocol of the web page is configured according to the communication protocol configuration information, and resource configuration is performed according to the resource protocol display list in the page data of the web page.
[0081] In summary, the present invention provides a method and system for configuring protocol communication of web resources, which mounts data sources of different resource types in the protocol server, configures corresponding protocol communication methods for each data source, and generates corresponding configuration information; when the configuration server receives the display requirements of the page data, it integrates the required configuration information obtained from the protocol server, generates a resource protocol display list and sends it to the web page; and performs resource configuration in the page data of the web page according to the resource protocol display list. In this way, different protocol data contents can be nested in the protocol data to eventually make the same page have different protocol data contents, improve the management efficiency of the protocol, facilitate data processing and maintenance, and allow the protocol to be processed at the corresponding level, and the web page is only responsible for display.
[0082] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for configuring protocol communication of web resources, characterized in that: Includes steps: Mount data sources of different resource types in the protocol server, configure the corresponding protocol communication mode for each data source, and generate corresponding configuration information; When the configuration server receives the display demand of the page data, it integrates the required configuration information obtained from the protocol server, generates a resource protocol display list and sends it to the web page; The resource configuration is performed in the page data of the web page according to the resource protocol display list.
2. A method for configuring protocol communication of web resources according to claim 1, characterized in that: Mount data sources of different resource types in the protocol server, including: Mounting a data source in a protocol server, the data source being resource data from a data server, the data server containing different resources of the same resource type; When the protocol server mounts the data source, the data source is marked with the data server identifier, resource identifier and resource location corresponding to the data source.
3. A method for configuring protocol communication of web resources according to claim 1, characterized in that: Configure the corresponding protocol communication mode for each data source and generate corresponding configuration information, including: A corresponding protocol communication mode is configured for each data source in a protocol member of the protocol component, and a configuration relationship between the protocol member corresponding to the data source and the protocol component is recorded as configuration information.
4. A method for configuring protocol communication of web resources according to claim 3, characterized in that: Integrate the required configuration list obtained from the protocol server, generate a resource protocol display list and send it to the web page, including: Determine the resources to be displayed according to the display requirements, and search the configuration information corresponding to all the resources to be displayed from the protocol server, perform protocol conversion of the resources to be displayed according to the configuration information, integrate all the converted resources to be displayed to obtain a resource protocol display list, and send the resource protocol display list to the web page.
5. A method for configuring protocol communication of web resources according to claim 1, characterized in that: Performing resource configuration according to the resource protocol display list in the page data of the webpage also includes: Receive disabled protocol information of a web page, and adjust a resource protocol display list according to the disabled protocol information.
6. A protocol communication configuration system for web resources, characterized in that: Includes protocol server, configuration server and web page; Mount data sources of different resource types in the protocol server, configure the corresponding protocol communication mode for each data source, and generate corresponding configuration information; When the configuration server receives the display demand of the page data, it integrates the required configuration information obtained from the protocol server, generates a resource protocol display list and sends it to the web page; The resource configuration is performed in the page data of the web page according to the resource protocol display list.
7. A webpage resource protocol communication configuration system according to claim 6, characterized in that: Mount data sources of different resource types in the protocol server, including: Mounting a data source in a protocol server, the data source being resource data from a data server, the data server containing different resources of the same resource type; When the protocol server mounts the data source, the data source is marked with the data server identifier, resource identifier and resource location corresponding to the data source.
8. A webpage resource protocol communication configuration system according to claim 6, characterized in that: Configure the corresponding protocol communication mode for each data source and generate corresponding configuration information, including: A corresponding protocol communication mode is configured for each data source in a protocol member of the protocol component, and a configuration relationship between the protocol member corresponding to the data source and the protocol component is recorded as configuration information.
9. A webpage resource protocol communication configuration system according to claim 8, characterized in that: Integrate the required configuration list obtained from the protocol server, generate a resource protocol display list and send it to the web page, including: Determine the resources to be displayed according to the display requirements, and search the configuration information corresponding to all the resources to be displayed from the protocol server, perform protocol conversion of the resources to be displayed according to the configuration information, integrate all the converted resources to be displayed to obtain a resource protocol display list, and send the resource protocol display list to the web page.
10. A webpage resource protocol communication configuration system according to claim 6, characterized in that: Performing resource configuration according to the resource protocol display list in the page data of the webpage also includes: Receive disabled protocol information of a web page, and adjust a resource protocol display list according to the disabled protocol information.
Citation Information
Patent Citations
Hypertext transmission protocol data restoration method and apparatus thereof
CN105577620A
Method and device for changing protocol file
CN109067698A
Internet of Things equipment communication protocol packet dynamic mounting system and method
CN113347195A
Method for accepting management end to manage Web middleware, storage medium and system
CN114979269A
Web-based management system of integration ofheterogeneous management protocol
KR1020040050283A
