Protocol communication configuration method and system for web resources
By configuring data sources and protocol communication methods of different resource types in the protocol server, a resource protocol display list is generated, which solves the problems of low transmission efficiency and compatibility of Windows data compression technology in complex network environments, and improves the efficiency of protocol management and the convenience of data processing.
Patent Information
- Application Number
- CN202411148091.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2044-08-21
AI Technical Summary
Existing Windows data compression technologies suffer from low transmission efficiency and high management costs in complex and ever-changing network application environments. Furthermore, the nesting of protocols between different systems or applications leads to compatibility issues, affecting the correct parsing and utilization of data.
The protocol server mounts data sources of different resource types, configures the corresponding protocol communication methods for each data source, and generates configuration information; the configuration server integrates the required configuration information to generate a resource protocol display list, which is then sent to the webpage for resource configuration.
By using nested protocol data, we can improve protocol management efficiency, facilitate data processing and maintenance, reduce the burden on web page processing, and ensure that the protocol is processed at the corresponding level, while the web page is only responsible for display.
Smart Images

Figure CN119094632B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of protocol management, and in particular to a webpage resource protocol communication configuration method and system. BACKGROUND
[0002] With the rapid development of information technology, especially in the deepening of network application field, efficient transmission and management of data has become one of the key indicators to measure the performance of the system. In network program design, data compression and transmission is an indispensable link, which is directly related to the response speed of application, resource utilization and user experience. Among many operating systems, Windows has a wide range of application foundation and powerful function support, and its built-in data compression technology provides basic data processing means for many developers.
[0003] However, although the data compression technology of Windows performs well in file storage and transmission, its limitations gradually appear in the complex and changeable network program application environment. Specifically, the current network program generally relies on specific communication protocols to ensure correct data transmission and analysis when communicating data. 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 need to follow the established process, which improves the standardization and security of data transmission to a certain extent.
[0004] However, in actual application, especially in the face of complex and changeable network environment and high concurrency data processing scenarios, this data processing method based on a single protocol is not satisfactory. First, with the rapid growth of data volume and the diversification of data types, data transmission under a single protocol framework is prone to become bloated, resulting in decreased transmission efficiency and increased management cost. Secondly, different systems or applications may use different data protocols, and the diversification of protocol nesting not only increases the complexity of data processing, but also may introduce compatibility problems, affecting the correct analysis and utilization of data. SUMMARY
[0005] The technical problem to be solved by the present application is to provide a webpage resource protocol communication configuration method and system, which can improve the management efficiency of protocols and facilitate data processing and maintenance.
[0006] To solve the above technical problems, the technical scheme adopted by the present application is:
[0007] A webpage resource protocol communication configuration method, comprising the steps of:
[0008] mounting data sources of different resource types in the protocol server, configuring corresponding protocol communication modes for each data source, and generating corresponding configuration information;
[0009] When the configuration server receives the display requirement 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 webpage;
[0010] In the page data of the webpage, resource configuration is performed according to the resource protocol display list.
[0011] In order to solve the above technical problems, another technical solution adopted by the present application is:
[0012] A protocol communication configuration system of webpage resources comprises a protocol server, a configuration server and a webpage.
[0013] In the protocol server, data sources of different resource types are mounted, corresponding protocol communication modes are configured for each data source, and corresponding configuration information is generated.
[0014] When the configuration server receives the display requirement 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 webpage.
[0015] In the page data of the webpage, resource configuration is performed according to the resource protocol display list.
[0016] The present application has the beneficial effects that in the protocol server, data sources of different resource types are mounted, corresponding protocol communication modes are configured for each data source, and corresponding configuration information is generated; when the configuration server receives the display requirement 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 webpage; in the page data of the webpage, resource configuration is performed according to the resource protocol display list. In this way, different protocol data contents can exist in the same page through the protocol data nesting mode, the management efficiency of the protocol is improved, the data processing and maintenance are facilitated, and the protocol can be processed at the corresponding level, and the webpage is only responsible for display. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 A flow chart of a webpage resource protocol communication configuration method of an embodiment of the present application;
[0018] Figure 2 A schematic diagram of a webpage resource protocol communication configuration system of an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to explain the technical content, the achieved purposes and effects of the present application in detail, the following will be explained in combination with the embodiments and the accompanying drawings.
[0020] Please refer toFigure 1 The embodiment of the present application provides a protocol communication configuration method of webpage resources, which comprises the following steps:
[0021] Mounting data sources of different resource types in a protocol server, configuring corresponding protocol communication modes for each data source, and generating corresponding configuration information;
[0022] When the configuration server receives a display requirement of page data, integrating the required configuration information obtained from the protocol server, generating a resource protocol display list and sending the resource protocol display list to a webpage;
[0023] According to the resource protocol display list, resource configuration is performed on page data of the webpage.
[0024] From the above description, the beneficial effects of the present application are as follows: mounting data sources of different resource types in a protocol server, configuring corresponding protocol communication modes for each data source, and generating corresponding configuration information; when the configuration server receives a display requirement of page data, integrating the required configuration information obtained from the protocol server, generating a resource protocol display list and sending the resource protocol display list to a webpage; according to the resource protocol display list, resource configuration is performed on page data of the webpage. In this way, different protocol data contents can exist in the same page through protocol data nesting, the management efficiency of protocols is improved, data processing and maintenance are facilitated, and protocols can be processed at corresponding levels, and the webpage is only responsible for display.
[0025] Further, mounting data sources of different resource types in a protocol server comprises:
[0026] Mounting data sources in a protocol server, wherein the data sources are resource data from a data server, and the data server comprises different resources of the same resource type;
[0027] When mounting data sources in the protocol server, the data sources are marked by corresponding data server identifiers, resource identifiers and locations of the resources.
[0028] From the above description, by mounting data sources on the protocol server and marking the data sources, protocol matching can be performed on the data sources subsequently.
[0029] Further, configuring corresponding protocol communication modes for each data source, and generating corresponding configuration information comprises:
[0030] In protocol members of a protocol component, corresponding protocol communication modes are configured for each data source, and a configuration relationship between the data source and the protocol member and the protocol component is recorded as configuration information.
[0031] From the above description, the corresponding protocol communication mode is configured for the data source in the protocol member, so as to facilitate subsequent protocol conversion of resources.
[0032] Further, the required configuration list obtained from the protocol server is integrated to generate a resource protocol display list and send to the webpage, including:
[0033] According to the display requirement, the resource to be displayed is determined, and the configuration information corresponding to all the resources to be displayed is searched 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 webpage.
[0034] From the above description, the protocol conversion of the resource to be displayed is performed according to the configuration information, so that by increasing the protocol management mode and changing the protocol content composition, subsequent data filtering and processing under the respective protocol can be performed, thereby reducing the processing burden of the webpage.
[0035] Further, the resource configuration is performed according to the resource protocol display list in the page data of the webpage, and further includes:
[0036] The disabled protocol information of the webpage is received, and the resource protocol display list is adjusted according to the disabled protocol information.
[0037] From the above description, the resource protocol display list can be adjusted by configuring the disabled protocol information, so that when data filtering is performed according to the disabled protocol information, the same webpage protocol does not need to be filtered, but the protocol is handled in the corresponding level, and the webpage is only responsible for display, thereby improving the management efficiency of the protocol and facilitating the processing and maintenance of data.
[0038] Please refer to Figure 2 Another embodiment of the present application provides a protocol communication configuration system of webpage resources, including a protocol server, a configuration server and a webpage.
[0039] In the protocol server, data sources of different resource types are mounted, the corresponding protocol communication mode is configured for each data source, and the corresponding configuration information is generated;
[0040] When the configuration server receives the display requirement of the page data, the required configuration information obtained from the protocol server is integrated to generate a resource protocol display list and send to the webpage;
[0041] In the page data of the webpage, the resource configuration is performed according to the resource protocol display list.
[0042] From the above description, the beneficial effects of the present application are that: in the protocol server, different resource type data sources are mounted, corresponding protocol communication modes are configured for each data source, and corresponding configuration information is generated; when the configuration server receives the display requirement of page data, the required configuration information obtained from the protocol server is integrated, a resource protocol display list is generated and sent to the webpage; and in the page data of the webpage, resource configuration is performed according to the resource protocol display list. In this way, different protocol data contents can exist in the same page through the protocol data nesting mode, the management efficiency of the protocol is improved, the data processing and maintenance are facilitated, and the protocol can be processed at the corresponding level, and the webpage is only responsible for display.
[0043] Further, in the protocol server, different resource type data sources are mounted, including:
[0044] In the protocol server, the data source is mounted, the data source is resource data from a data server, and the data server contains different resources of the same resource type;
[0045] When the data source is mounted in the protocol server, the data source is marked with the data server identifier, resource identifier and resource location corresponding to the data source.
[0046] From the above description, by mounting the data source on the protocol server and marking the data source, subsequent protocol matching for the data source is facilitated.
[0047] Further, corresponding protocol communication modes are configured for each data source, and corresponding configuration information is generated, including:
[0048] In the protocol component, corresponding protocol communication modes are configured for each data source, and the configuration relationship between the data source corresponding protocol member and the protocol component is recorded as configuration information.
[0049] From the above description, the corresponding protocol communication mode is configured for the data source in the protocol member, so as to facilitate subsequent resource protocol conversion.
[0050] Further, the required configuration list obtained from the protocol server is integrated, a resource protocol display list is generated and sent to the webpage, including:
[0051] According to the display requirement, determine the to-be-displayed resource, and find all configuration information corresponding to the to-be-displayed resource from the protocol server, perform protocol conversion on the to-be-displayed resource according to the configuration information, integrate all converted to-be-displayed resources to obtain a resource protocol display list, and send the resource protocol display list to the webpage.
[0052] From the above description, the protocol conversion of the to-be-displayed resource is performed according to the configuration information, so that the protocol management mode is increased, the protocol content is changed, and subsequent data filtering and processing under respective protocols are required, thereby reducing the processing burden of the webpage.
[0053] Further, the resource configuration in the webpage page data according to the resource protocol display list further includes:
[0054] Receiving disabled protocol information of the webpage, and adjusting the resource protocol display list according to the disabled protocol information.
[0055] From the above description, the resource protocol display list can be adjusted by configuring the disabled protocol information, so that when data filtering is performed according to the disabled protocol information, the filtering under the same webpage protocol is not required, but the protocol is processed in the corresponding level, and the webpage is only responsible for display, thereby improving the management efficiency of the protocol and facilitating the processing and maintenance of data.
[0056] The webpage resource protocol communication configuration method and system described above are suitable for improving the management efficiency of the protocol and facilitating the processing and maintenance of data, and the following will be described through specific implementation manners:
[0057] Embodiment one
[0058] Please refer to Figure 1 A webpage resource protocol communication configuration method includes the following steps:
[0059] S1, mounting data sources of different resource types in a protocol server, configuring corresponding protocol communication modes for each data source, and generating corresponding configuration information.
[0060] S11, mounting a data source in a protocol server, the data source being resource data from a data server, and the data server including different resources of the same resource type.
[0061] S12, when the data source is mounted in 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.
[0062] In this embodiment, the data server identifier is F, the resource identifier, i.e., the resource ID, is QE1A21, and when the resource to be obtained is in the A53 location, the marked content is F-QE1A21-A53.
[0063] S13, configuring corresponding protocol communication modes for each data source in a protocol component, and recording the configuration relationship between the data source corresponding protocol member and the protocol component as configuration information.
[0064] In this embodiment, the protocol corresponding to each resource is configured 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] The protocol component has protocol members that constitute the protocol component, and the members include TCP / IP (Transmission Control Protocol / Internet Protocol), HTTP (Hypertext Transfer Protocol), HTTPS (Hypertext Transfer Protocol Secure), SMTP (Simple Mail Transfer Protocol), SSL / TLS (Secure Sockets Layer / Transport Layer Security), and NTP (Network Time Protocol) protocol generation methods; and different protocol types 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 the display requirement of the page data, the required configuration information obtained from the protocol server is integrated to generate a resource protocol display list and sent to the webpage.
[0068] Among them, according to the display requirement to determine the to-be-displayed resource, and find all the configuration information corresponding to the to-be-displayed resource from the protocol server, according to the configuration information to convert the protocol of the to-be-displayed resource, integrate all the converted to-be-displayed resources to obtain the resource protocol display list, and send the resource protocol display list to the webpage.
[0069] Specifically, when the configuration server receives the display requirement of the page data, the display requirement includes the configuration requirement of the page data and the to-be-displayed resource. Find all the configuration information corresponding to the to-be-displayed resource from the protocol server, integrate all the configuration information to obtain the resource protocol display list, for example: make a webpage, the text part uses TCP, the advertisement part uses HTTPS, and the chat part uses UDP, and perform protocol conversion through the list.
[0070] S3, according to the resource protocol display list in the page data of the webpage to configure the resource.
[0071] Among them, first, receive the communication protocol configuration information of the webpage, and configure the communication protocol of the webpage according to the communication protocol configuration information.
[0072] Specifically, the communication protocol configuration information of the webpage is received, for example, the webpage uses HTTP protocol, that is, the final display protocol of the webpage is HTTP, and the page data of the webpage is configured according to the resource protocol display list, although the final display is HTTP, but the text part in the webpage is still configured by TCP, the advertisement part is still configured by HTTPS, and the chat part is still configured by UDP protocol to realize data transmission.
[0073] When the user does not like to watch the advertisement, the management operation can be completed by only disabling the corresponding advertisement protocol, instead of filtering the data under the same protocol, increasing the management cost, and making the data more efficient.
[0074] Therefore, in the embodiment, the protocol management mode is increased, and the protocol content composition is changed. As long as the corresponding protocol is used, the corresponding content can be managed, the processing burden of the server is reduced, the protocol is well processed at the corresponding level, and the webpage is only responsible for displaying the interactive operation.
[0075] Embodiment two
[0076] Please refer to Figure 2 A protocol communication configuration system of webpage resources, comprising a protocol server, a configuration server and a webpage.
[0077] In the protocol server, the data sources of different resource types are mounted, the corresponding protocol communication modes are configured for each data source, and the corresponding configuration information is generated.
[0078] Specifically, the data source is mounted in the protocol server, the data source is resource data from a data server, and the data server includes different resources of the same resource type. When the data source is mounted in the protocol server, the data server identifier, resource identifier and resource location corresponding to the data source are marked. In the protocol member of the protocol component, the corresponding protocol communication mode is configured for each data source, and the configuration relationship between the data source corresponding protocol member and the protocol component is recorded as configuration information.
[0079] When the configuration server receives the display requirement of the page data, the required configuration information obtained from the protocol server is integrated, a resource protocol display list is generated, and is sent to the webpage. Specifically, the to-be-displayed resource is determined according to the display requirement, all configuration information corresponding to the to-be-displayed resource is searched from the protocol server, all configuration information is integrated to obtain a resource protocol display list, and the resource protocol display list is sent to the webpage.
[0080] The communication protocol configuration information of the webpage is received, the communication protocol of the webpage is configured according to the communication protocol configuration information, and the resource configuration is performed in the page data of the webpage according to the resource protocol display list.
[0081] To sum up, the application provides a protocol communication configuration method and system for webpage resources, wherein different resource type data sources are mounted in a protocol server, corresponding protocol communication modes are configured for each data source, and corresponding configuration information is generated; when a display requirement of page data is received by the configuration server, the required configuration information obtained from the protocol server is integrated, a resource protocol display list is generated, and the resource protocol display list is sent to a webpage; and resource configuration is performed according to the resource protocol display list in the page data of the webpage. In this way, different protocol data contents can exist in the same page through protocol data nesting, the management efficiency of the protocol is improved, the data processing and maintenance are facilitated, and the protocol can be processed at the corresponding level, and the webpage is only responsible for display.
[0082] The above description is only an embodiment of the application, and does not limit the patent scope of the application. Any equivalent transformation or direct or indirect application in the related technical field based on the content of the specification and drawings is also included in the patent protection scope of the application.
Claims
1. A method for configuring protocol communication of a web resource, characterized in that, The method comprises the steps of: mounting data sources of different resource types in a protocol server, configuring corresponding protocol communication modes for each data source, and generating corresponding configuration information; when the configuration server receives a display requirement of page data, integrating the required configuration information obtained from the protocol server, generating a resource protocol display list, and sending the resource protocol display list to a webpage; configuring resources in page data of the webpage according to the resource protocol display list; configuring corresponding protocol communication modes for each data source, and generating corresponding configuration information, comprising: configuring corresponding protocol communication modes for each data source in protocol members of a protocol component, and recording the configuration relationship between the data source corresponding protocol members and the protocol component as configuration information; integrating the required configuration list obtained from the protocol server, generating a resource protocol display list, and sending the resource protocol display list to a webpage, comprising: determining to-be-displayed resources according to the display requirement, finding all configuration information corresponding to the to-be-displayed resources from the protocol server, performing protocol conversion of the to-be-displayed resources according to the configuration information, integrating all converted to-be-displayed resources to obtain a resource protocol display list, and sending the resource protocol display list to a webpage.
2. The method of claim 1, wherein, mounting data sources of different resource types in a protocol server, comprising: mounting data sources in a protocol server, wherein the data sources are resource data from a data server, and the data server contains different resources of the same resource type; when mounting data sources in the protocol server, marking the data sources with data server identifiers, resource identifiers, and locations of the resources corresponding to the data sources.
3. The method of claim 1, wherein, configuring resources in page data of the webpage according to the resource protocol display list, further comprising: receiving disabled protocol information of the webpage, and adjusting the resource protocol display list according to the disabled protocol information.
4. A system for protocol communication configuration of web resources, characterized by comprising a protocol server, a configuration server, and a webpage; mounting data sources of different resource types in a protocol server, configuring corresponding protocol communication modes for each data source, and generating corresponding configuration information; when the configuration server receives a display requirement of page data, integrating the required configuration information obtained from the protocol server, generating a resource protocol display list, and sending the resource protocol display list to a webpage; configuring resources in page data of the webpage according to the resource protocol display list; configuring corresponding protocol communication modes for each data source, and generating corresponding configuration information, comprising: configuring corresponding protocol communication modes for each data source in protocol members of a protocol component, and recording the configuration relationship between the data source corresponding protocol members and the protocol component as configuration information; integrating the required configuration list obtained from the protocol server, generating a resource protocol display list, and sending the resource protocol display list to a webpage, comprising: determining to-be-displayed resources according to the display requirement, finding all configuration information corresponding to the to-be-displayed resources from the protocol server, performing protocol conversion of the to-be-displayed resources according to the configuration information, integrating all converted to-be-displayed resources to obtain a resource protocol display list, and sending the resource protocol display list to a webpage.
5. The system for configuring protocol communication of a web resource according to claim 4, wherein, Mounting data sources of different resource types in a protocol server, including: Mounting data sources in a protocol server, the data sources being resource data from data servers, the data servers containing different resources of the same resource type; When mounting data sources in a protocol server, marking the data sources with data server identifiers, resource identifiers and locations of the resources corresponding to the data sources.
6. The system for configuring protocol communication of a web resource according to claim 4, wherein, In the page data of the webpage, configuring resources according to the resource protocol display list, further including: Receiving disabled protocol information of the webpage, and adjusting the 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