CN116436972A - Message header processing and management method, device, storage medium and system - Google Patents
Message header processing and management method, device, storage medium and system Download PDFInfo
- Publication number
- CN116436972A CN116436972A CN202210002283.8A CN202210002283A CN116436972A CN 116436972 A CN116436972 A CN 116436972A CN 202210002283 A CN202210002283 A CN 202210002283A CN 116436972 A CN116436972 A CN 116436972A
- Authority
- CN
- China
- Prior art keywords
- message
- packet header
- header processing
- processing
- rule
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本申请涉及一种报文头处理及管理方法、装置、存储介质及系统,报文头处理装置包括规则同步模块从报文头管理装置获取最新的报文头处理规则,并写入共享数据模块;共享数据模块存储最新的报文头处理规则;处理模块获取超文本传输协议报文后,从共享数据模块中读取报文头的处理方式,并按照报文头的处理方式对超文本传输协议报文的报文头进行处理,得到处理后的超文本传输协议消息。用以解决HTTP的报文头的处理变动时,需要对Nginx服务器进行变动,导致人力与时间成本高,且在每次变更时需要对Nginx服务器的配置文件进行更新并重启,影响用户正常使用的问题。
This application relates to a message header processing and management method, device, storage medium and system. The message header processing device includes a rule synchronization module to obtain the latest message header processing rules from the message header management device and write them into the shared data module. ; The shared data module stores the latest message header processing rules; after the processing module obtains the HTTP message, it reads the processing method of the message header from the shared data module, and transmits the hypertext according to the processing method of the message header. The header of the protocol message is processed to obtain the processed hypertext transfer protocol message. To solve the change in the processing of HTTP message headers, the Nginx server needs to be changed, resulting in high manpower and time costs, and the configuration file of the Nginx server needs to be updated and restarted every time it is changed, which affects the normal use of users. question.
Description
技术领域technical field
本申请涉及网络传输技术领域,尤其涉及一种报文头处理及管理方法、装置、存储介质及系统。The present application relates to the technical field of network transmission, and in particular to a message header processing and management method, device, storage medium and system.
背景技术Background technique
对象存储服务(OSS,Object Storage Service),是一种海量、安全、低成本、高可靠的云存储服务,适合存放任意类型的文件。Object Storage Service (OSS, Object Storage Service) is a massive, secure, low-cost, and highly reliable cloud storage service, suitable for storing any type of file.
对象存储服务是基于超文本传输协议(HTTP,Hyper Text Transfer Protocol)进行访问,HTTP报文头(也称为HTTP header)是HTTP请求和HTTP响应的重要组成部分。由于对象存储服务中业务复杂,HTTP报文头的使用场景也越来越多。例如,根据使用场景的不同,对HTTP请求中的HTTP报文头进行验证、转换、追加等操作,对于HTTP响应中的HTTP报文头进行验证、转换、追加等操作。The object storage service is accessed based on the Hyper Text Transfer Protocol (HTTP, Hyper Text Transfer Protocol). HTTP message headers (also called HTTP headers) are an important part of HTTP requests and HTTP responses. Due to the complexity of services in object storage services, HTTP headers are used in more and more scenarios. For example, according to different usage scenarios, operations such as verification, conversion, and addition are performed on the HTTP message header in the HTTP request, and operations such as verification, conversion, and addition are performed on the HTTP message header in the HTTP response.
目前,通常做法是在Nginx服务器与业务服务器的API层,共同完成对HTTP报文头的操作,以满足各种业务场景。At present, the common practice is to jointly complete the operation of the HTTP message header at the API layer of the Nginx server and the business server to meet various business scenarios.
由于对HTTP报文头的操作与具体的业务相关,在业务发生变化时,需要改动Nginx服务器的配置文件或者业务服务器的API层,或者,改动Nginx服务器的配置文件和业务服务器的API层。Since the operation of the HTTP message header is related to the specific business, when the business changes, it is necessary to change the configuration file of the Nginx server or the API layer of the business server, or change the configuration file of the Nginx server and the API layer of the business server.
对Nginx服务器侧改动,需要经过开发、测试、发布等环节,人力与时间成本都很高,并且在每次变更时需要对Nginx服务器的配置文件进行更新并重启,影响用户正常使用。Changes to the Nginx server side need to go through development, testing, release and other links. The manpower and time costs are very high, and the configuration file of the Nginx server needs to be updated and restarted every time the change is made, which affects the normal use of users.
发明内容Contents of the invention
本申请提供了一种报文头处理及管理方法、装置、存储介质及系统,用以解决HTTP的报文头的处理变动时,需要对Nginx服务器进行变动,导致人力与时间成本高,且在每次变更时需要对Nginx服务器的配置文件进行更新并重启,影响用户正常使用的问题。The application provides a message header processing and management method, device, storage medium and system to solve the problem that the Nginx server needs to be changed when the processing of the HTTP message header changes, resulting in high manpower and time costs, and in Every time a change is made, the configuration file of the Nginx server needs to be updated and restarted, which affects the normal use of users.
第一方面,本申请实施例提供了一种报文头处理装置,包括规则同步模块、共享数据模块以及处理模块,所述规则同步模块、所述共享数据模块以及所述处理模块分别采用脚本程序实现;In the first aspect, the embodiment of the present application provides a packet header processing device, including a rule synchronization module, a shared data module, and a processing module, and the rule synchronization module, the shared data module, and the processing module respectively use script programs accomplish;
所述规则同步模块,用于从报文头管理装置获取最新的报文头处理规则,并写入所述共享数据模块;The rule synchronization module is used to obtain the latest message header processing rules from the message header management device, and write them into the shared data module;
所述共享数据模块,用于存储所述最新的报文头处理规则,所述报文头处理规则中包括至少一种报文头的处理方式;The shared data module is used to store the latest packet header processing rule, and the packet header processing rule includes at least one packet header processing method;
所述处理模块,用于获取超文本传输协议报文后,从所述共享数据模块中读取报文头的处理方式,并按照所述报文头的处理方式对所述超文本传输协议报文的报文头进行处理,得到处理后的超文本传输协议消息。The processing module is configured to read the processing method of the message header from the shared data module after obtaining the hypertext transfer protocol message, and process the hypertext transfer protocol report according to the processing method of the message header. The header of the text is processed to obtain the processed hypertext transfer protocol message.
可选地,所述规则同步模块,用于:Optionally, the rule synchronization module is configured to:
每间隔预设周期从所述报文头管理装置中获取最新的报文头处理规则,并写入所述共享数据模块;Obtaining the latest packet header processing rules from the packet header management device every preset period, and writing them into the shared data module;
或者or
获取所述报文头管理装置发送的更新消息,所述更新消息为所述报文头管理装置在监听到报文头处理规则发生更新时发送,所述更新消息中携带所述最新的报文头处理规则。Obtain an update message sent by the message header management device, the update message is sent by the message header management device when it detects that the message header processing rules are updated, and the update message carries the latest message header processing rules.
可选地,所述最新的报文头处理规则包括超文本传输协议报文的组成部分与所述报文头的处理方式之间的映射关系。Optionally, the latest packet header processing rule includes a mapping relationship between the components of the Hypertext Transfer Protocol packet and the processing manner of the packet header.
可选地,所述处理模块,用于对所述超文本传输协议报文进行解析,获得所述超文本传输协议报文的组成部分,从所述共享数据模块中存储的所述最新的报文头处理规则中,读取所述组成部分对应的所述报文头的处理方式,按照所述报文头的处理方式对所述超文本传输协议报文的报文头进行处理,得到处理后的超文本传输协议报文。Optionally, the processing module is configured to parse the hypertext transfer protocol message to obtain components of the hypertext transfer protocol message, and obtain the latest message stored in the shared data module In the header processing rule, read the processing method of the message header corresponding to the component part, process the message header of the hypertext transfer protocol message according to the processing method of the message header, and obtain the processed The following hypertext transfer protocol message.
可选地,所述共享数据模块还用于:Optionally, the shared data module is also used for:
存储所述最新的报文头处理规则的有效期,并在监控到所述有效期失效时,清除所述最新的报文头处理规则。The validity period of the latest packet header processing rule is stored, and when the expiration of the validity period is monitored, the latest packet header processing rule is cleared.
可选地,所述共享数据模块用于:Optionally, the shared data module is used for:
获取所述处理模块传输的所述超文本传输协议报文的组成部分,从存储的最新的报文头处理规则中,获取与所述组成部分对应的所述报文头的处理方式,并返回给所述处理模块。Obtain the components of the hypertext transfer protocol message transmitted by the processing module, obtain the processing method of the message header corresponding to the component from the latest stored message header processing rules, and return to the processing module.
第二方面,本申请实施例提供了一种报文头管理方法,包括:In the second aspect, the embodiment of the present application provides a packet header management method, including:
获取最新的报文头处理规则,所述报文头处理规则中包括至少一种报文头的处理方式;Obtain the latest packet header processing rules, where the packet header processing rules include at least one packet header processing method;
将所述最新的报文头处理规则传输给第一方面任一项所述的报文头处理装置。Transmitting the latest packet header processing rule to the packet header processing device described in any one of the first aspect.
可选地,将所述最新的报文头处理规则传输给所述报文头处理装置,包括:Optionally, transmitting the latest packet header processing rule to the packet header processing device includes:
获取所述报文头处理装置每间隔预设周期发送的获取请求,响应于所述获取请求,将所述最新的报文头处理规则返回给所述报文头处理装置;Obtaining the acquisition request sent by the packet header processing device every preset period, and returning the latest packet header processing rule to the packet header processing device in response to the acquisition request;
或者or
在监测到对报文头处理规则的更新指令时,向所述报文头处理装置发送更新消息,所述更新消息中携带更新后的所述最新的报文头处理规则。An update message is sent to the packet header processing device when an update instruction for the packet header processing rule is detected, and the update message carries the updated latest packet header processing rule.
可选地,所述更新指令包括:增加报文头处理规则的操作指令、删除报文头处理规则的操作指令、修改报文头处理规则的操作指令、查询报文头处理规则的操作指令、以及导出报文头处理规则的操作指令中的任意一种。Optionally, the update instruction includes: an operation instruction for adding a packet header processing rule, an operation instruction for deleting a packet header processing rule, an operation instruction for modifying a packet header processing rule, an operation instruction for querying a packet header processing rule, And any one of the operation instructions for exporting packet header processing rules.
第三方面,本申请实施例提供了一种报文头管理装置,包括:In a third aspect, the embodiment of the present application provides a packet header management device, including:
获取模块,用于获取最新的报文头处理规则,所述报文头处理规则中包括至少一种报文头的处理方式;An acquisition module, configured to acquire the latest packet header processing rules, where the packet header processing rules include at least one packet header processing method;
传输模块,用于将所述最新的报文头处理规则传输给第一方面任一项所述的报文头处理装置。A transmission module, configured to transmit the latest packet header processing rule to the packet header processing device described in any one of the first aspect.
第四方面,本申请实施例提供了一种报文头处理系统,包括第一方面任一项所述的报文头处理装置,以及第三方面所述的报文头管理装置。In a fourth aspect, an embodiment of the present application provides a packet header processing system, including the packet header processing device described in any one of the first aspect, and the packet header management device described in the third aspect.
第五方面,本申请实施例提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现第二方面任一项所述的报文头管理方法。In a fifth aspect, the embodiment of the present application provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the packet header management method described in any one of the second aspect is implemented.
本申请实施例提供的上述技术方案与现有技术相比具有如下优点:本申请实施例提供的报文头处理装置中,规则同步模块将报文头管理装置中最新的报文头处理规则,写入到共享数据模块;处理模块在获取超文本传输协议报文后,从共享数据模块中读取报文头的处理方式,并按照报文头的处理方式对超文本传输协议报文的报文头进行处理,使得通过脚本程序实现的规则同步模块、共享数据模块以及处理模块即可实现报文头处理规则的更新,不需要在配置文件中进行配置,在因业务变更等原因需要变更报文头处理规则时,只需要变更报文头管理装置中配置的报文头处理规则,由报文头处理装置的规则同步模块将最新的报文头处理规则同步至共享数据模块即可,并不需要经过开发、测试、发布等环节,节约时间和人力成本,也不需要对配置文件进行更新并重启,保障了用户的正常使用。Compared with the prior art, the above-mentioned technical solution provided by the embodiment of the present application has the following advantages: in the message header processing device provided in the embodiment of the present application, the rule synchronization module converts the latest message header processing rules in the message header management device, Write to the shared data module; after the processing module obtains the hypertext transfer protocol message, it reads the processing method of the message header from the shared data module, and processes the report of the hypertext transfer protocol message according to the processing method of the message header. The header is processed, so that the rule synchronization module, shared data module, and processing module implemented by the script program can update the packet header processing rules without configuring in the configuration file. When the report needs to be changed due to business changes and other reasons When processing the header processing rules, it is only necessary to change the header processing rules configured in the header management device, and the rule synchronization module of the header processing device will synchronize the latest header processing rules to the shared data module, and There is no need to go through development, testing, release and other links, saving time and labor costs, and there is no need to update and restart the configuration file, which ensures the normal use of users.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.
图1为本申请实施例中报文头处理系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of the message header processing system in the embodiment of the present application;
图2为本申请实施例中报文头处理装置的结构示意图;FIG. 2 is a schematic structural diagram of a message header processing device in an embodiment of the present application;
图3为本申请实施例中报文头管理装置的结构示意图;FIG. 3 is a schematic structural diagram of a message header management device in an embodiment of the present application;
图4为本申请实施例中报文头管理装置的架构示意图;FIG. 4 is a schematic diagram of the architecture of a message header management device in an embodiment of the present application;
图5为本申请实施例中应用系统架构示意图;FIG. 5 is a schematic diagram of the application system architecture in the embodiment of the present application;
图6为本申请实施例中报文头处理方法流程示意图;FIG. 6 is a schematic flow chart of a method for processing headers in an embodiment of the present application;
图7为本申请实施例中报文头管理方法流程示意图;FIG. 7 is a schematic flow diagram of a method for managing message headers in an embodiment of the present application;
图8为本申请实施例中HTTP请求及响应的过程示意图;Fig. 8 is a schematic diagram of the process of HTTP request and response in the embodiment of the present application;
图9为本申请实施例中电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device in an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.
本申请实施例中,提供了一种报文头处理系统,如图1所示,该报文头处理系统中主要包括报文头处理装置1以及报文头管理装置2。In the embodiment of the present application, a message header processing system is provided. As shown in FIG. 1 , the message header processing system mainly includes a message
其中,报文头管理装置2,用于获取最新的报文头处理规则,该报文头处理规则中包括至少一种报文头的处理方式;将最新的报文头处理规则传输给报文头处理装置1;Wherein, the message
报文头处理装置1,用于采用脚本程序实现:从报文头管理装置2获取最新的报文头处理规则并存储,在获取超文本传输协议报文后,按照存储的最新的报文头处理规则对超文本传输协议报文的报文头进行处理,得到处理后的超文本传输协议消息。The message
该实施例中,报文头处理装置1采用脚本程序从报文头管理装置2中获取最新的报文头处理规则并存储,在每次获取到超文本传输协议报文后,即可按照该最新的报文头处理规则对HTTP的报文头进行处理,使得通过脚本程序即可更新报文头处理规则,而不需要更改配置文件,在因业务变更等原因需要变更报文头处理规则时,只需要变更报文头管理装置2中配置的报文头处理规则,由报文头处理装置1同步即可,并不需要经过开发、测试、发布等环节,节约时间和人力成本,也不需要对配置文件进行更新并重启,保障了用户的正常使用。In this embodiment, the message
本申请实施例中,如图2所示,报文头处理装置1主要包括规则同步模块21、共享数据模块22以及处理模块23,规则同步模块21、共享数据模块22以及处理模块23分别采用脚本程序实现。In the embodiment of the present application, as shown in FIG. 2 , the message
示例性的,规则同步模块21、共享数据模块22以及处理模块23采用LUA语言编写。需要说明的是,并不是必须采用LUA语言编写,还可以采用其他脚本语言实现,本实施例并不限制所采用的具体编写语言。Exemplarily, the
规则同步模块21,用于从报文头管理装置2获取最新的报文头处理规则,并写入共享数据模块22;A
共享数据模块22,用于存储该最新的报文头处理规则,报文头处理规则中包括至少一种报文头的处理方式;The shared
处理模块23,用于获取超文本传输协议报文后,从共享数据模块22中读取报文头的处理方式,并按照该报文头的处理方式对超文本传输协议报文的报文头进行处理,得到处理后的超文本传输协议消息。The
本申请实施例提供的报文头处理装置1中,规则同步模块21将报文头管理装置2中最新的报文头处理规则,写入到共享数据模块22;处理模块23在获取超文本传输协议报文后,从共享数据模块22中读取报文头的处理方式,并按照报文头的处理方式对超文本传输协议报文的报文头进行处理,使得通过脚本程序实现的规则同步模块21、共享数据模块22以及处理模块23即可实现报文头处理规则的更新。不需要在配置文件中进行配置,在因业务变更等原因需要变更报文头处理规则时,只需要变更报文头管理装置2中配置的报文头处理规则,由报文头处理装置1的规则同步模块21将最新的报文头处理规则同步至共享数据模块22即可,并不需要经过开发、测试、发布等环节,节约时间和人力成本,也不需要对配置文件进行更新并重启,保障了用户的正常使用。In the message
一个具体实施例中,规则同步模块21同步最新的报文头处理规则的方式有多种,包括但不限于以下列举的两种方式:In a specific embodiment, there are multiple ways for the
方式一,规则同步模块21每间隔预设周期从报文头管理装置2中获取最新的报文头处理规则,并写入共享数据模块22。
其中,预设周期可以根据需要设定,例如每间隔1分钟、1小时、一周或一月从报文头管理装置获取最新的报文头处理规则。Wherein, the preset period can be set according to needs, for example, the latest packet header processing rules are obtained from the packet header management device at intervals of 1 minute, 1 hour, one week or one month.
具体地,规则同步模块21每间隔预设周期向报文头管理装置发送获取请求,报文头管理装置2在接收到该请求后,从指定的存储位置获取最新的报文头处理规则,并响应该请求将该最新的报文头处理规则返回给规则同步21。Specifically, the
规则同步模块21通过将报文头管理装置2中最新的报文头处理规则,全量同步至共享数据模块22,能够保证数据的一致性。The
方式二,规则同步模块21获取报文头管理装置2发送的更新消息,该更新消息为报文头管理装置2在监听到报文头处理规则发生更新时发送,该更新消息中携带最新的报文头处理规则。
具体地,报文头管理装置2监听报文头处理规则的更新操作,在监听到报文头处理规则发生更新时,生成携带最新的报文头处理规则的更新消息,并传输给规则同步模块21。规则同步模块21实时将该最新的报文头处理规则更新到共享数据模块22,保证了数据时效性。Specifically, the packet
具体地,最新的报文头处理规则包括超文本传输协议报文的组成部分与报文头的处理方式之间的映射关系。Specifically, the latest packet header processing rule includes the mapping relationship between the components of the Hypertext Transfer Protocol packet and the processing manner of the packet header.
该超文本传输协议报文的组成部分可以是对超文本传输协议报文进行解析后,能够获得的任一组成部分。例如,可以是报文头的名称,或者,报文头的名称和报文头的取值。The components of the hypertext transfer protocol message may be any component that can be obtained after parsing the hypertext transfer protocol message. For example, it may be the name of the message header, or the name of the message header and the value of the message header.
报文头的处理方式具体可以是,传输过程的指定处理阶段中对报文头的指定组成部分的指定处理行为。例如,对HTTP报文头的添加、替换、隐藏的操作。The processing method of the packet header may specifically be a specified processing behavior for a specified component part of the packet header in a specified processing stage of the transmission process. For example, operations of adding, replacing, and hiding HTTP message headers.
具体地,处理模块23,用于对所述超文本传输协议报文进行解析,获得所述超文本传输协议报文的组成部分,从所述共享数据模块22中存储的所述最新的报文头处理规则中,读取所述组成部分对应的所述报文头的处理方式,按照所述报文头的处理方式对所述超文本传输协议报文的报文头进行处理,得到处理后的超文本传输协议报文。Specifically, the
共享数据模块22,用于获取所述处理模块传输的所述超文本传输协议报文的组成部分,从存储的最新的报文头处理规则中,获取与所述组成部分对应的所述报文头的处理方式,并返回给所述处理模块。The shared
具体地,共享数据模块22还用于:存储最新的报文头处理规则的有效期,并在监控到该有效期失效时,清除该最新的报文头处理规则。Specifically, the shared
其中,报文头管理装置在获取最新的报文头处理规则的同时,获取对应配置的有效期,规则同步模块在同步最新的报文头处理规则时,一并同步该有效期,将该有效期与报文头处理规则写入到共享数据模块。共享数据模块按照该有效期运行定时器,在达到该有效期时删除对应的报文头处理规则。Wherein, the packet header management device acquires the validity period of the corresponding configuration while acquiring the latest packet header processing rule, and the rule synchronization module synchronizes the validity period together with the latest packet header processing rule, and combines the validity period with the packet header processing rule. The header processing rules are written to the shared data module. The shared data module runs a timer according to the valid period, and deletes the corresponding packet header processing rule when the valid period is reached.
通过清除失效的报文头处理规则,释放占用的存储空间,避免因过期数据长时间占用存储空间,导致的资源浪费。By clearing invalid packet header processing rules, the occupied storage space is released, and the waste of resources caused by the long-term occupation of storage space by expired data is avoided.
本申请实施例中,如图3所示,报文头管理装置2主要包括:In the embodiment of the present application, as shown in FIG. 3 , the message
获取模块31,用于获取最新的报文头处理规则,所述报文头处理规则中包括至少一种报文头的处理方式;An
传输模块32,用于将所述最新的报文头处理规则传输给以上所描述的报文头处理装置。The
具体地,获取模块31在获取报文头处理装置1每间隔预设周期发送的获取请求,响应于所述获取请求,通过传输模块32将所述最新的报文头处理规则返回给所述报文头处理装置;Specifically, the obtaining
或者or
获取模块31在监测到对报文头处理规则的更新指令时,通过幻术模块32向所述报文头处理装置1发送更新消息,所述更新消息中携带更新后的所述最新的报文头处理规则。When the
具体地,更新指令包括:增加报文头处理规则的操作指令、删除报文头处理规则的操作指令、修改报文头处理规则的操作指令、查询报文头处理规则的操作指令、以及导出报文头处理规则的操作指令中的任意一种。Specifically, the update instructions include: an operation instruction for adding a packet header processing rule, an operation instruction for deleting a packet header processing rule, an operation instruction for modifying a packet header processing rule, an operation instruction for querying a packet header processing rule, and an operation instruction for exporting a packet header. Any one of the operation instructions of the header processing rule.
更新指令可以是技术人员通过报文头管理装置的操作界面触发,例如技术人员通过报文头管理装置的操作界面输入新的报文头处理规则,或者,更改已有的报文头处理规则等。当然,也可以采用其他能够对报文头管理装置中的数据进行更改的方式触发,此处不再一一列举。The update instruction can be triggered by the technician through the operation interface of the message header management device, for example, the technician inputs new message header processing rules through the message header management device's operation interface, or changes the existing message header processing rules, etc. . Of course, other triggering methods that can modify the data in the packet header management device can also be used, which will not be listed one by one here.
一个示例性实施例中,报文头管理装置中设置网络应用程序接口,用于通过该网络应用程序接口对报文头管理装置中的报文头处理规则进行处理,例如,增加、删除、修改、查询或导出报文头处理规则等。In an exemplary embodiment, a network application program interface is set in the message header management device, and is used to process the message header processing rules in the message header management device through the network application program interface, for example, add, delete, modify , Query or export packet header processing rules, etc.
示例性的,报文头管理装置的报文头处理规则保存在数据库(Database)中。在报文头管理装置中设置用于访问数据库中的报文头处理规则的网络应用程序接口,如图4所示,以便于通过该网络应用程序接口访问该数据库中的报文头处理规则。在网络应用程序接口和数据库之间设置各功能模块,一个功能模块用于实现对数据库中的报文头处理规则的一种操作,包括增加操作(create)、删除操作(delete)、修改操作(update)、查询操作(select)、导出操作(export)。Exemplarily, the packet header processing rules of the packet header management device are stored in a database (Database). A network application program interface for accessing the message header processing rules in the database is set in the message header management device, as shown in FIG. 4 , so as to access the message header processing rules in the database through the network application program interface. Each function module is set between the network application program interface and the database, and one function module is used to realize an operation on the message header processing rules in the database, including adding operation (create), deleting operation (delete), modifying operation ( update), query operation (select), export operation (export).
报文头处理装置通过调用报文头管理装置中的网络应用程序接口,请求获取保存在数据库中的报文头管理装置。并且,在需要对报文头处理规则进行操作时,通过报文头管理装置中的网络应用程序接口(Web API)对数据库中保存的报文头处理规则进行相关操作。The message header processing device requests to obtain the message header management device stored in the database by calling the network application program interface in the message header management device. Moreover, when it is necessary to operate on the header processing rules, related operations are performed on the header processing rules stored in the database through the web application program interface (Web API) in the header management device.
具体地,报文头管理装置通过网络应用程序接口获取对报文头处理规则的操作指令;按照操作指令对报文头处理规则进行处理。Specifically, the message header management device obtains an operation instruction on the message header processing rule through a network application program interface; and processes the message header processing rule according to the operation instruction.
其中,操作指令包括增加报文头处理规则的操作指令(即create指令)、删除报文头处理规则的操作指令(即delete指令)、修改报文头处理规则的操作指令(即update指令)、查询报文头处理规则的操作指令(即select指令)、以及导出报文头处理规则的操作指令(即export指令)中的任意一种。Wherein, the operation instructions include an operation instruction for adding a message header processing rule (ie, a create command), an operation instruction for deleting a message header processing rule (ie, a delete command), an operation instruction for modifying a message header processing rule (ie, an update command), Any one of an operation instruction for querying a packet header processing rule (ie, a select instruction), and an operation instruction for exporting a packet header processing rule (ie, an export instruction).
示例性的,如图5所示,提供了一种应用系统架构,该系统架构中主要包括网络服务器51、终端52、业务服务器53以及报文头管理装置54。Exemplarily, as shown in FIG. 5 , an application system architecture is provided, and the system architecture mainly includes a
其中,终端52在使用某业务的过程中,通过网络服务器51访问业务服务器53。在访问时使用HTTP消息,该HTTP消息包括HTTP请求消息和HTTP响应消息。Wherein, the terminal 52 accesses the
网络服务器51,设置有报文头处理装置1,获取来自于终端52或业务服务器53的HTTP消息时,调用该报文头处理装置中的处理模块,从该报文头处理装置中的共享数据模块中读取报文头的处理方式,并按照该报文头处理方式对HTTP消息的报文头进行处理,得到处理后的HTTP消息,以及传输该处理后的HTTP消息。
该报文头管理装置54中保存报文头处理规则。The packet
网络服务器51调用该报文头处理装置中的规则同步模块从报文头管理装置54中获取报文头处理规则,并写入共享数据模块中。The
其中,网络服务器具体可以是Nginx服务器,具有高性能的HTTP传输和反向代理能力。Wherein, the network server may specifically be an Nginx server, which has high-performance HTTP transmission and reverse proxy capabilities.
具体地,该HTTP消息可以是来自于终端的HTTP请求消息,以用于向业务服务器发起网络传输请求;或者,该HTTP消息是来自于业务服务器的HTTP响应消息,以用于对HTTP请求消息作出响应。Specifically, the HTTP message may be an HTTP request message from the terminal, for initiating a network transmission request to the service server; or, the HTTP message is an HTTP response message from the service server, for making a response to the HTTP request message. response.
具体地,在HTTP消息为来自于终端的HTTP请求消息时,将对报文头进行处理后的HTTP请求消息,传输给业务服务器。Specifically, when the HTTP message is an HTTP request message from the terminal, the HTTP request message after processing the message header is transmitted to the service server.
在HTTP消息为来自于业务服务器的HTTP响应消息时,将对报文头处理后的HTTP响应消息,传输给终端。When the HTTP message is an HTTP response message from the service server, the HTTP response message after processing the message header is transmitted to the terminal.
其中,网络服务器可以是能够提供HTTP服务的服务器,具体可以是Nginx服务器。Wherein, the web server may be a server capable of providing HTTP services, specifically an Nginx server.
本申请实施例中,网络服务器通过调用报文头处理装置对HTTP消息的报文头进行处理,不需要更改网络服务器的配置文件,也不需要因对网络服务器的配置文件进行更新而进行开发、测试、发布等环节,节约了时间和人力成本,也就不会因配置文件更新导致网络服务器重启,保障了用户的正常使用。In the embodiment of the present application, the network server processes the message header of the HTTP message by calling the message header processing device, without changing the configuration file of the network server, and does not need to update the configuration file of the network server for development, The links of testing and publishing save time and labor costs, and the network server will not be restarted due to the update of the configuration file, which ensures the normal use of users.
通过将报文头处理规则独立于网络服务器和业务服务器管理,使得能够对报文头处理规则单独进行维护,不需要关联网络服务器和业务服务器,在需要对报文头处理规则进行操作时,直接操作该报文头管理装置中的报文头处理规则即可,不需要改动网络服务器和业务服务器,也就避免了因报文头处理规则变动而需要对网络服务器和业务服务器进行开发、测试、发布等环节,节约了时间和人力成本,降低了维护的复杂度,保证了用户正常使用。By managing the packet header processing rules independently of the network server and business server, it is possible to maintain the packet header processing rules independently without associating the network server and business server. When it is necessary to operate the packet header processing rules, directly It is enough to operate the header processing rules in the header management device, without changing the network server and business server, and avoiding the need to develop, test, Release and other links save time and labor costs, reduce the complexity of maintenance, and ensure the normal use of users.
基于同一构思,本申请实施例提供了一种报文头处理方法,应用于以上实施例所描述的报文头处理装置。如图6所示,该方法主要包括:Based on the same idea, an embodiment of the present application provides a packet header processing method, which is applied to the packet header processing apparatus described in the above embodiments. As shown in Figure 6, the method mainly includes:
步骤601,规则同步模块从报文头管理装置获取最新的报文头处理规则,并写入所述共享数据模块;
步骤602,共享数据模块存储所述最新的报文头处理规则,所述报文头处理规则中包括至少一种报文头的处理方式;
步骤603,处理模块获取超文本传输协议报文后,从所述共享数据模块中读取报文头的处理方式,并按照所述报文头的处理方式对所述超文本传输协议报文的报文头进行处理,得到处理后的超文本传输协议消息。
具体地,最新的报文头处理规则包括超文本传输协议报文的组成部分与报文头的处理方式之间的映射关系。Specifically, the latest packet header processing rule includes the mapping relationship between the components of the Hypertext Transfer Protocol packet and the processing manner of the packet header.
处理模块对所述超文本传输协议报文进行解析,获得所述超文本传输协议报文的组成部分,从所述共享数据模块中存储的所述最新的报文头处理规则中,读取所述组成部分对应的所述报文头的处理方式,按照所述报文头的处理方式对所述超文本传输协议报文的报文头进行处理,得到处理后的超文本传输协议报文。The processing module parses the hypertext transfer protocol message, obtains the components of the hypertext transfer protocol message, and reads all According to the processing method of the message header corresponding to the above components, the message header of the hypertext transfer protocol message is processed according to the processing method of the message header, and the processed hypertext transfer protocol message is obtained.
一个具体实施例中,为了便于根据业务的变化更新报文头管理装置,报文头管理装置中预留网络应用程序接口,以便于在业务变化时,通过该网络应用程序接口更新该报文头管理装置中的报文头处理规则,处理模块对超文本传输协议报文的报文头进行处理之前或之后,每间隔预设周期从报文头管理装置中获取最新的报文头处理规则,并采用该最新的报文头处理规则更新共享数据模块中最新的报文头处理规则。In a specific embodiment, in order to update the message header management device according to the change of the service, the network application program interface is reserved in the message header management device, so that when the service changes, the message header can be updated through the network application program interface The header processing rule in the management device, before or after the processing module processes the header of the hypertext transfer protocol message, obtains the latest header processing rule from the header management device every preset period, And adopt the latest packet header processing rule to update the latest packet header processing rule in the shared data module.
基于同一构思,本申请实施例提供了一种报文头管理方法,应用于以上实施例所描述的报文头管理装置,如图7所示,该方法主要包括:Based on the same idea, the embodiment of the present application provides a packet header management method, which is applied to the packet header management device described in the above embodiments, as shown in FIG. 7 , the method mainly includes:
步骤701,获取最新的报文头处理规则,所述报文头处理规则中包括至少一种报文头的处理方式;
步骤702,将所述最新的报文头处理规则传输给的报文头处理装置。
具体地,将所述最新的报文头处理规则传输给所述报文头处理装置,包括但不限于以下两种实现方式:Specifically, transmitting the latest packet header processing rule to the packet header processing device includes but is not limited to the following two implementations:
方式一,获取所述报文头处理装置每间隔预设周期发送的获取请求,响应于所述获取请求,将所述最新的报文头处理规则返回给所述报文头处理装置。Way 1: Obtain the acquisition request sent by the packet header processing device every preset period, and return the latest packet header processing rule to the packet header processing device in response to the acquisition request.
方式二,在监测到对报文头处理规则的更新指令时,向所述报文头处理装置发送更新消息,所述更新消息中携带更新后的所述最新的报文头处理规则。Mode 2: When an update instruction for the packet header processing rule is detected, an update message is sent to the packet header processing device, and the update message carries the updated latest packet header processing rule.
更新指令包括:增加报文头处理规则的操作指令、删除报文头处理规则的操作指令、修改报文头处理规则的操作指令、查询报文头处理规则的操作指令、以及导出报文头处理规则的操作指令中的任意一种。The update instructions include: operation instructions for adding message header processing rules, deleting message header processing rules, modifying message header processing rules, querying message header processing rules, and exporting message header processing rules. Any one of the operation instructions of the rule.
基于以上各实施例,以图5所示的应用系统架构为例,网络服务器为Nginx服务器、采用LUA语言编写的LUA模块表示报文头处理装置为例,结合图8所示,对HTTP请求以及响应的过程进行具体说明如下:Based on the above embodiments, taking the application system architecture shown in Figure 5 as an example, the network server is an Nginx server, and the LUA module written in LUA language is used to represent a message header processing device as an example, as shown in Figure 8, the HTTP request and The response process is described in detail as follows:
步骤801,终端向Nginx服务器发送HTTP请求(即HTTP request);Step 801, the terminal sends an HTTP request (i.e. HTTP request) to the Nginx server;
步骤802,Nginx服务器接收该HTTP请求,调用LUA模块,LUA模块根据已配置的报文头处理规则对该HTTP请求的报文头进行处理,将处理完成后的HTTP请求转发给业务服务器;Step 802, the Nginx server receives the HTTP request, calls the LUA module, and the LUA module processes the message header of the HTTP request according to the configured message header processing rules, and forwards the processed HTTP request to the service server;
步骤803,业务服务器中的应用程序编程接口(API)对该HTTP请求进行处理,并向Nginx服务器返回HTTP响应;Step 803, the application programming interface (API) in the service server processes the HTTP request, and returns an HTTP response to the Nginx server;
步骤804,Nginx服务器接收该HTTP响应,调用LUA模块,LUA模块根据已配置的报文头处理规则对该HTTP响应进行处理,将处理完成后的HTTP响应发送给终端。Step 804, the Nginx server receives the HTTP response, calls the LUA module, and the LUA module processes the HTTP response according to the configured packet header processing rules, and sends the processed HTTP response to the terminal.
在执行步骤801-804的任一步骤之前或之后或过程中,执行步骤805,向报文头管理装置请求最新的报文头管理规则。Before, after or during the execution of any of steps 801-804, step 805 is executed to request the latest packet header management rules from the packet header management device.
其中,报文头处理规则中可以包括某项业务需要对HTTP报文头进行的操作规则,举例如下,表1为报文头处理规则的配置列表,该列表中包括对HTTP报文头的几种处理方式。Among them, the message header processing rules may include the operation rules that a certain service needs to perform on the HTTP message header. For example, Table 1 is a configuration list of the message header processing rules, which includes several HTTP message headers. way of processing.
表1报文头处理规则的配置列表Table 1 Configuration list of packet header processing rules
基于该报文头处理规则的配置列表,进行以下举例:Based on the configuration list of the packet header processing rules, take the following example:
例1,所有HTTP消息增加请求报文头:Example 1, add request headers to all HTTP messages:
{Name:对象存储-example,Value:test,Type:request,Action:add}{Name: object storage-example, Value: test, Type: request, Action: add}
例2,A Bucket添加请求报文头,并使用Date报文头:Example 2, A Bucket adds a request header and uses the Date header:
{Name:对象存储-example,Value:test,Type:request,Action:add,Reference:Date,Filter:[A]}{Name: Object Storage-example, Value: test, Type: request, Action: add, Reference: Date, Filter: [A]}
例3,所有HTTP消息替换请求报文头:Example 3, all HTTP messages replace the request header:
{Name:对象存储-example,Value:test,Type:request,Action:replace}{Name: object storage-example, Value: test, Type: request, Action: replace}
例4,所有HTTP消息隐藏响应报文头:Example 4, all HTTP messages hide the response header:
{Name:对象存储-example,Type:response,Action:hide}{Name: object storage-example, Type: response, Action: hide}
基于以上各实施例,通过将报文头管理规则独立于网络服务器和业务服务器进行管理,实现对报文头管理规则的中心化管理,由网络服务器中的LUA模块执行报文头管理规则,大幅度降低了报文头管理需求变更的成本,不需要经过开发、测试、发布等环节,节约时间和人力成本,也不需要对网络服务器的配置文件进行更新并重启,保障了用户的正常使用。Based on the above embodiments, the centralized management of the packet header management rules is realized by managing the packet header management rules independently of the network server and the service server, and the packet header management rules are executed by the LUA module in the network server. It greatly reduces the cost of changing the header management requirements, and does not need to go through development, testing, publishing and other links, saving time and labor costs, and does not need to update and restart the configuration file of the network server, ensuring the normal use of users.
基于同一构思,本申请实施例中还提供了一种电子设备,如图9所示,该电子设备主要包括:处理器901、存储器902和通信总线903,其中,处理器901和存储器902通过通信总线903完成相互间的通信。其中,存储器902中存储有可被至处理器901执行的程序,处理器901执行存储器902中存储的程序,实现以上实施例所描述的报文头处理方法或报文头管理方法。Based on the same idea, an electronic device is also provided in the embodiment of the present application. As shown in FIG. The
上述电子设备中提到的通信总线903可以是外设部件互连标准(PeripheralComponent Interconnect,简称PCI)总线或扩展工业标准结构(Extended IndustryStandard Architecture,简称EISA)总线等。该通信总线903可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
存储器902可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。可选地,存储器还可以是至少一个位于远离前述处理器901的存储装置。The
上述的处理器901可以是通用处理器,包括中央处理器(Central ProcessingUnit,简称CPU)、网络处理器(Network Processor,简称NP)等,还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application SpecificIntegrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned
在本申请的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机程序在计算机上运行时,使得计算机执行上述实施例中所描述的报文头处理方法或报文头管理方法。In yet another embodiment of the present application, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium. When the computer program is run on a computer, the computer is made to execute the above-mentioned embodiment. The described packet header processing method or packet header management method.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。该计算机可以时通用计算机、专用计算机、计算机网络或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、微波等)方式向另外一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质(例如软盘、硬盘、磁带等)、光介质(例如DVD)或者半导体介质(例如固态硬盘)等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e. Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape, etc.), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk), and the like.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relative terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these No such actual relationship or order exists between entities or operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
以上所述仅是本发明的具体实施方式,使本领域技术人员能够理解或实现本发明。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所申请的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific embodiments of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Accordingly, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210002283.8A CN116436972A (en) | 2022-01-04 | 2022-01-04 | Message header processing and management method, device, storage medium and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210002283.8A CN116436972A (en) | 2022-01-04 | 2022-01-04 | Message header processing and management method, device, storage medium and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116436972A true CN116436972A (en) | 2023-07-14 |
Family
ID=87089523
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210002283.8A Pending CN116436972A (en) | 2022-01-04 | 2022-01-04 | Message header processing and management method, device, storage medium and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116436972A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103428261A (en) * | 2012-05-25 | 2013-12-04 | A10网络股份有限公司 | Method to process HTTP header with hardware assistance |
| CN105245428A (en) * | 2014-07-07 | 2016-01-13 | 北京东土科技股份有限公司 | Method and device for configuring message processing rules |
-
2022
- 2022-01-04 CN CN202210002283.8A patent/CN116436972A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103428261A (en) * | 2012-05-25 | 2013-12-04 | A10网络股份有限公司 | Method to process HTTP header with hardware assistance |
| CN105245428A (en) * | 2014-07-07 | 2016-01-13 | 北京东土科技股份有限公司 | Method and device for configuring message processing rules |
Non-Patent Citations (1)
| Title |
|---|
| LOURIVAL VIEIRA NETO等: "Linux Network Scripting with Lua", 《THE TECHNICAL CONFERENCE ON LINUX NETWORKING》, 31 December 2020 (2020-12-31), pages 1 - 7 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111258627B (en) | Interface document generation method and device | |
| CN107861686A (en) | File memory method, service end and computer-readable recording medium | |
| CN114090623A (en) | Method and device for creating cache resources, electronic equipment and storage medium | |
| CN111400777A (en) | A network storage system, user authentication method, device and equipment | |
| KR20210044281A (en) | Method and apparatus for ensuring continuous device operation stability in cloud degraded mode | |
| CN112988872B (en) | Interface document management method and device, storage medium and electronic equipment | |
| CN109189748A (en) | A kind of buffer consistency processing method and nfs server | |
| CN107920131A (en) | A kind of metadata management method and device of HDFS storage systems | |
| WO2022171190A1 (en) | Fixed execution sequence transaction method, and apparatus | |
| CN114385486A (en) | Test case generation method, system, electronic device and storage medium | |
| JP2021505989A (en) | Methods for error handling, computer programs, data processing systems, and error handling components | |
| CN116436972A (en) | Message header processing and management method, device, storage medium and system | |
| WO2024103898A1 (en) | Database cluster management method and apparatus | |
| CN114168359B (en) | Method and device for processing resource data, electronic equipment and storage medium | |
| WO2020220272A1 (en) | Method and system for changing resource state, terminal, and storage medium | |
| CN113778703B (en) | An event monitoring method, related device and event monitoring system | |
| CN115695587A (en) | Service data processing system, method, device and storage medium | |
| WO2021147375A1 (en) | Data management method and apparatus, and device, computer-readable storage medium, and system | |
| CN114138510A (en) | Operation log generation method and related device | |
| CN112256714A (en) | Data synchronization method, apparatus, electronic device and computer readable medium | |
| CN114172945B (en) | Method and equipment for realizing full duplex instant messaging through simulation | |
| WO2020168521A1 (en) | Message parsing method, data sending end, data receiving end, and system | |
| CN120196559B (en) | Data processing method, device, electronic device, storage medium and product | |
| CN117908925A (en) | Program updating method, device and storage medium | |
| CN117215807A (en) | Caching method and device of interface query result, storage medium and computer equipment |
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 |