Gateway management and control method, platform, device and equipment

Through the gateway management and control system, the configuration rules of multiple gateway engines are unifiedly managed, which solves the problem of operation and maintenance personnel's operation complexity in multi-environment testing, and realizes efficient data isolation and configuration rules management, improving operation and maintenance efficiency and data security.

CN119211014AActive Publication Date: 2024-12-27BEIJING PACTERA JINXIN TECH LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411346667.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-27
Estimated Expiration
2044-09-25

AI Technical Summary

Technical Problem

In the multi-environment testing strategy, deploying multiple gateway management and control instances causes operation and maintenance personnel to frequently switch login URLs, which increases operational difficulty and complexity, and affects the management efficiency of data isolation and configuration rules.

Method used

The gateway management and control system obtains the target relationship pair entered by the user, determines the target configuration center, and sends it to the target configuration center. The gateway engine to be updated pulls and updates the local configuration rules from the target configuration center to realize the gateway engine for different attribute information. Configure unified management and update of rules.

Benefits of technology

It reduces the operation complexity of operation and maintenance personnel, improves work efficiency, realizes data security and independence between different environments, and ensures the accurate issuance and pull of configuration rules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211014A_ABST
    Figure CN119211014A_ABST
Patent Text Reader

Abstract

The invention provides a gateway management and control method, platform, device and equipment, and the method comprises the steps: obtaining a target relation pair inputted by a user through a gateway management and control system, determining a target configuration center from a plurality of configuration centers based on a target attribute identifier in the target relation pair, and transmitting the target relation pair to the target configuration center; receiving the target relationship pair through the target configuration center, and waiting for the gateway engine to be updated to pull a target configuration rule in the target relationship pair; and in response to the target configuration rule monitored from the target configuration center, pulling the target configuration rule from the target configuration center through the to-be-updated gateway engine, and updating the local configuration rule based on the pulled target configuration rule. According to the method, only one gateway management and control system (or instance) is needed, the target configuration rules under different attribute information (or attribute identifiers) can be managed, the operation complexity of related workers is greatly reduced, and the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a gateway management and control method, platform, device and equipment. Background Art

[0002] With the increasing complexity of software development and the increasing requirements of users for software quality, it is particularly important to adopt a multi-environment (such as development environment, system integration test environment, production environment, etc.) testing strategy. This strategy can significantly improve the quality, stability and reliability of software by testing the software in different stages and environments.

[0003] In the related art, independent or corresponding gateway management and control instances are deployed in different environments, and each instance manages the configuration rule data in its own environment to achieve data isolation.

[0004] However, when there are relatively many test environments, multiple gateway management and control instances need to be deployed. This requires users to provide multiple hardware environments, databases, etc. according to the test environment. In addition, operation and maintenance personnel are required to switch to different login URLs according to different test environments, which greatly increases the difficulty of operation for operation and maintenance personnel. Summary of the invention

[0005] The present disclosure provides a gateway management and control method, platform, device and equipment to solve one of the technical problems in the related art at least to a certain extent. The technical solution of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, a gateway management and control method is provided, which is applied to a gateway management and control platform, wherein the gateway management and control platform includes a gateway management and control system, multiple configuration centers, and multiple gateway engines, and the method includes:

[0007] Obtaining a target relationship pair input by a user through the gateway management and control system; wherein the target relationship pair is a relationship pair between a target attribute identifier and a target configuration rule, the target attribute identifier is used to indicate the attribute information of the gateway engine to be updated, and the target configuration rule is used to update the local configuration rule of the gateway engine to be updated;

[0008] Determining, by the gateway management and control system, a target configuration center from the multiple configuration centers based on the target attribute identifier in the target relationship pair, and sending the target relationship pair to the target configuration center;

[0009] Receiving the target relationship pair through the target configuration center, and waiting for the to-be-updated gateway engine to pull the target configuration rule in the target relationship pair;

[0010] In response to monitoring the target configuration rules from the target configuration center, the target configuration rules are pulled from the target configuration center by the to-be-updated gateway engine, and the local configuration rules are updated based on the pulled target configuration rules.

[0011] According to a second aspect of an embodiment of the present disclosure, a gateway management and control platform is provided, the gateway management and control platform comprising a gateway management and control system, multiple configuration centers, and multiple gateway engines, wherein:

[0012] The gateway management and control system is used to obtain a target relationship pair input by a user, wherein the target relationship pair is a relationship pair between a target attribute identifier and a target configuration rule, the target attribute identifier is used to indicate attribute information of a gateway engine to be updated, and the target configuration rule is used to update a local configuration rule of the gateway engine to be updated, and based on the target attribute information in the target relationship pair, determine a target configuration center from the multiple configuration centers, and send the target relationship pair to the target configuration center;

[0013] The target configuration center is used to receive the target relationship pair and wait for the gateway engine to be updated to pull the target configuration rule in the target relationship pair;

[0014] The gateway engine to be updated is used to pull the target configuration rules from the target configuration center in response to monitoring the target configuration rules from the target configuration center, and update the local configuration rules based on the pulled target configuration rules.

[0015] According to a third aspect of an embodiment of the present disclosure, a gateway management and control device is provided, which is applied to a gateway management and control platform, wherein the gateway management and control platform includes a gateway management and control system, multiple configuration centers, and multiple gateway engines, and the device includes:

[0016] An acquisition module, used to acquire a target relationship pair input by a user through the gateway management and control system; wherein the target relationship pair is a relationship pair between a target attribute identifier and a target configuration rule, the target attribute identifier is used to indicate the attribute information of the gateway engine to be updated, and the target configuration rule is used to update the local configuration rule of the gateway engine to be updated;

[0017] A first processing module, configured to determine a target configuration center from the multiple configuration centers based on a target attribute identifier in the target relationship pair through the gateway management and control system, and send the target relationship pair to the target configuration center;

[0018] A second processing module is used to receive the target relationship pair through the target configuration center, and wait for the gateway engine to be updated to pull the target configuration rule in the target relationship pair;

[0019] A pulling module, configured to, in response to monitoring a target configuration rule from the target configuration center, pull the target configuration rule from the target configuration center through the to-be-updated gateway engine;

[0020] An updating module is used to update the local configuration rules based on the pulled target configuration rules through the gateway engine to be updated.

[0021] According to a fourth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the gateway management and control method as described in the embodiment of the first aspect of the present disclosure.

[0022] According to the fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the gateway management and control method as described in the embodiment of the first aspect of the present disclosure.

[0023] According to a sixth aspect of an embodiment of the present disclosure, a computer program product is provided, including: a computer program, which, when executed by a processor, implements the gateway management and control method as described in the embodiment of the first aspect of the present disclosure.

[0024] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0025] In the present technical solution, a target relationship pair input by a user is obtained through a gateway management and control system; wherein the target relationship pair is a relationship pair between a target attribute identifier and a target configuration rule, the target attribute identifier is used to indicate the attribute information of the gateway engine to be updated, and the target configuration rule is used to update the local configuration rule of the gateway engine to be updated; the gateway management and control system determines a target configuration center from multiple configuration centers based on the target attribute identifier in the target relationship pair, and sends the target relationship pair to the target configuration center; the target configuration center receives the target relationship pair, and waits for the gateway engine to be updated to pull the target configuration rule in the target relationship pair; in response to monitoring the target configuration rule from the target configuration center, the gateway engine to be updated pulls the target configuration rule from the target configuration center, and updates the local configuration rule based on the pulled target configuration rule. Therefore, only one gateway management and control system (i.e., gateway management and control instance) is needed to manage the target configuration rules corresponding to different attribute information, and the relevant staff only need to deploy once in the gateway management and control system to update the configuration rules of the gateway engines with different attribute information, without the need to frequently switch and log in to the gateway management and control system, which greatly reduces the operation complexity of the relevant staff and improves work efficiency; furthermore, the attribute information is used to isolate the target configuration rules of different gateway engines, so as to achieve accurate issuance and accurate retrieval of the target configuration rules, which can improve the data security and independence between different environments.

[0026] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0028] Figure 1 It is a flow chart of the gateway management and control method shown in the first embodiment of the present disclosure;

[0029] Figure 2 is a flow chart of a gateway management and control method according to a second embodiment of the present disclosure;

[0030] Figure 3 is a flow chart of a gateway management and control method according to the third embodiment of the present disclosure;

[0031] Figure 4 is a schematic diagram of the structure of a gateway management and control platform shown in the fourth embodiment of the present disclosure;

[0032] Figure 5 It is a schematic diagram of the structure of the gateway management and control platform provided by the present disclosure;

[0033] Figure 6 is a schematic diagram of the structure of a gateway control device shown in the fifth embodiment of the present disclosure;

[0034] Figure 7 It is a schematic structural diagram of an electronic device shown in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0035] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0037] It should be noted that in the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information are all carried out with the user's consent, and are in compliance with relevant laws and regulations and do not violate public order and good morals.

[0038] The following describes the gateway management and control method, platform, device and equipment of the embodiments of the present disclosure with reference to the accompanying drawings.

[0039] Figure 1 It is a flow chart of the gateway management and control method shown in the first embodiment of the present disclosure.

[0040] It should be noted that the gateway management and control method of the present invention is applied to a gateway management and control platform, wherein the gateway management and control platform includes a gateway management and control system, multiple configuration centers and multiple gateway engines.

[0041] like Figure 1 As shown, the gateway management and control method includes the following steps:

[0042] Step 101: Obtain the target relationship pair input by the user through the gateway management and control system.

[0043] The target relationship pair is a relationship pair between a target attribute identifier and a target configuration rule.

[0044] The target attribute identifier is used to uniquely indicate the attribute information of the gateway engine to be updated, wherein the attribute information includes the specific use environment, computer room, cluster and business system of the corresponding gateway engine.

[0045] The specific usage environment may include, for example, a development environment (also known as Dev Environment (Develop Environment)), a system integration testing environment (also known as SIT Environment (System Integration Testing Environment)), a production environment (also known as Pro Environment (Production Environment)), etc.

[0046] Clusters include ingress gateway clusters, front-end gateway clusters, etc.

[0047] The business system may be, for example, a core business system, an Internet financial business system, etc., and this disclosure does not impose any restrictions on this.

[0048] As an example, assuming that the target attribute identifier is 1A2D, the attribute information of the gateway engine to be updated indicated by the target attribute identifier is: the environment is environment 1, the computer room is computer room A, the cluster is cluster 2, and the business system is business system D.

[0049] It should be noted that the examples of target attribute identification in the above examples are only exemplary. In practical applications, the target attribute identification may also be other, and the present disclosure does not limit this.

[0050] Among them, the target configuration rules can be used to update the local configuration rules of the gateway engine to be updated, wherein the target configuration rules may include the parameter type (such as integer, string, etc.) of the parameters in the data model of the corresponding gateway, verification rules (such as whether it is empty, whether it is unique), etc., and the present disclosure does not impose any restrictions on this.

[0051] It should be noted that the user can register the environment, computer room, cluster and business system to the gateway management and control system in advance, and generate corresponding attribute identifiers according to the attribute information of each gateway engine. Therefore, in the present disclosure, when the user needs to configure and update the gateway engine to be updated among multiple gateway engines, the user can select and determine the target attribute identifier corresponding to the attribute information of the gateway engine to be updated from the multiple attribute identifiers displayed on the display page of the gateway management and control system, and enter the corresponding target configuration rule. In this way, the gateway management and control system can obtain the target relationship pair input by the user.

[0052] It should also be noted that the number of target relationship pairs may be, but is not limited to, one, and the present disclosure does not impose any limitation on this.

[0053] Step 102: The gateway management and control system determines a target configuration center from multiple configuration centers based on the target attribute identifier in the target relationship pair, and sends the target relationship pair to the target configuration center.

[0054] As an example, a correspondence between an attribute identifier and a configuration center can be established in advance, and the above correspondence can be saved. Thus, in the present disclosure, after obtaining the target relationship pair, the above correspondence can be queried based on the target attribute identifier in the target relationship pair through the gateway management and control system to determine the target configuration center corresponding to the target attribute identifier, that is, the target configuration center corresponding to the target attribute identifier can be determined as the target configuration center. Furthermore, the target relationship pair can be sent to the target configuration center through the gateway management and control system.

[0055] Step 103, receiving the target relationship pair through the target configuration center, and waiting for the gateway engine to be updated to pull the target configuration rules in the target relationship pair.

[0056] Step 104, in response to monitoring the target configuration rules from the target configuration center, the target configuration rules are pulled from the target configuration center by the to-be-updated gateway engine, and the local configuration rules are updated based on the pulled target configuration rules.

[0057] In the embodiment of the present disclosure, the target configuration center can be monitored by the gateway engine to be updated. Thus, when the target configuration rules are monitored from the target configuration center, the target configuration rules can be pulled from the target configuration center by the gateway engine to be updated, and the local configuration rules can be updated based on the pulled target configuration rules.

[0058] The gateway management and control method of the embodiment of the present disclosure obtains the target relationship pair input by the user through the gateway management and control system; wherein the target relationship pair is the relationship pair between the target attribute identifier and the target configuration rule, the target attribute identifier is used to indicate the attribute information of the gateway engine to be updated, and the target configuration rule is used to update the local configuration rule of the gateway engine to be updated; the gateway management and control system determines the target configuration center from multiple configuration centers based on the target attribute identifier in the target relationship pair, and sends the target relationship pair to the target configuration center; receives the target relationship pair through the target configuration center, and waits for the gateway engine to be updated to pull the target configuration rule in the target relationship pair; in response to monitoring the target configuration rule from the target configuration center, the gateway engine to be updated pulls the target configuration rule from the target configuration center, and updates the local configuration rule based on the pulled target configuration rule. Thus, only one gateway management and control system (i.e., gateway management and control instance) is required to manage the target configuration rules corresponding to different attribute information, and the relevant staff only needs to deploy once in the gateway management and control system to realize the update of the configuration information of the gateway engine with different attribute information, without frequently switching to log in to the gateway management and control system, which greatly reduces the operation complexity of the relevant staff and improves work efficiency.

[0059] In the case where the target relationship is at least one, in order to clearly illustrate how the gateway management and control system determines the target configuration center from multiple configuration centers based on the target attribute identifier in the target relationship pair in the above embodiment of the present disclosure, the present disclosure also proposes a gateway management and control method.

[0060] Figure 2 It is a flow chart of the gateway management and control method shown in the second embodiment of the present disclosure.

[0061] like Figure 2 As shown, the gateway management and control method includes the following steps:

[0062] Step 201: Obtain the target relationship pair input by the user through the gateway management and control system.

[0063] It should be noted that the execution process of step 201 can refer to the execution process of any embodiment of the present disclosure, and will not be described in detail here.

[0064] Step 202: for any target relationship pair, the gateway management and control system determines the target attribute information based on the target attribute identifier in the target relationship pair.

[0065] It can be understood that the correspondence between the attribute identifier and the attribute information can be established in advance and the above correspondence can be saved. Therefore, in the present disclosure, the gateway management and control system can query the above correspondence based on the target attribute information in the target relationship pair to determine the target attribute information indicated by the target attribute identifier.

[0066] Step 203: extract target attribute information through the gateway management and control system to obtain target key information.

[0067] As a possible implementation manner, the target key information may include at least one of a specific use environment, a corresponding computer room, and a corresponding cluster.

[0068] As an example, assuming that the specific usage environment of the gateway engine corresponding to the target attribute information is environment 1, the computer room it belongs to is computer room 2, the cluster it belongs to is cluster 3, and the business system it belongs to is business system 1, and the target key information includes the specific usage environment, then the target attribute information is extracted through the gateway management and control system, and the target key information can be extracted from the above target attribute information as "environment 1". For another example, assuming that the target key information includes the computer room it belongs to, then the target attribute information is extracted through the gateway management and control system, and the target key information can be extracted from the above target attribute information as "computer room 2".

[0069] Step 204: Determine, through the gateway management and control system, a target configuration center that matches the target relationship from multiple configuration centers based on the target key information.

[0070] In the embodiment of the present disclosure, the correspondence between the target key information and the configuration center can be established and saved in advance in response to the user's operation. Thus, after the target key information is acquired through the gateway management and control system, the gateway management and control system can query the above correspondence based on the target key information to determine the configuration center corresponding to the target key information from multiple configuration centers, and determine the configuration center corresponding to the target key information as the target configuration center that matches the target relationship.

[0071] As an example, assuming that the target key information includes a specific use environment, the specific use environment includes environment 1, environment 2, environment 3, and environment 4, and the configuration center includes configuration center 1, configuration center 2, configuration center 3, configuration center 4, and configuration center 5, in response to the user's operation, the correspondence between the environment and the configuration center is pre-established and saved as shown in Table 1:

[0072] Table 1 Correspondence between environment and configuration center

[0073] Specific use environment Configuration center corresponding to the specific usage environment Environment 1 Configuration Center 2 Environment 2 Configuration Center 4 Environment 3 Configuration Center 1 Environment 4 Configuration Center 5

[0074] After obtaining the specific usage environment as environment 3 through the gateway management and control system, based on the corresponding relationship in environment 3 query table 1, the configuration center corresponding to environment 3 is determined from multiple configuration centers as configuration center 1, and configuration center 1 is determined as the target configuration center that matches the gateway engine to be updated.

[0075] Step 205: Send the target relationship pair to the target configuration center through the gateway management and control system.

[0076] Step 206, receiving the target relationship pair through the target configuration center, and waiting for the gateway engine to be updated to pull the target configuration rules in the target relationship pair.

[0077] Step 207: pull the target configuration rules from the target configuration center through the gateway engine to be updated, and update the local configuration rules based on the corresponding target configuration rules.

[0078] It should be noted that the execution process of step 205 to step 207 can refer to the execution process of any embodiment of the present disclosure, and will not be repeated here.

[0079] Optionally, when there is at least one target relationship pair and correspondingly, there is at least one gateway engine to be updated, in order to accurately pull the corresponding target configuration rule, in a possible implementation manner of the embodiment of the present disclosure, for any gateway engine to be updated, in response to monitoring the corresponding target configuration center to obtain at least one target relationship pair, the gateway engine to be updated can determine whether there is a first relationship pair matching the attribute information in the at least one target relationship pair based on the corresponding attribute information; when there is a first relationship pair matching the attribute information in the at least one target relationship pair, the gateway engine to be updated can obtain the target configuration rule corresponding to the gateway engine to be updated from the first relationship pair.

[0080] It is understandable that any gateway engine may have a corresponding configuration center, and the corresponding configuration center may be monitored to monitor whether the corresponding configuration center obtains a relationship pair for configuration update. Therefore, in the present disclosure, for any gateway engine to be updated, the corresponding target configuration center may be monitored to monitor whether the corresponding target configuration center obtains a target relationship pair.

[0081] It should also be noted that when there is at least one target relationship pair, the target relationship pair acquired by any target configuration center may be but is not limited to one, and the present disclosure does not impose any restrictions on this.

[0082] In an embodiment of the present disclosure, for any gateway engine to be updated, when the corresponding target configuration center is monitored to obtain at least one target relationship pair, the gateway engine to be updated can determine whether there is a first relationship pair matching the attribute information in the at least one target relationship pair based on its corresponding attribute information. When there is a first relationship pair matching its attribute information in the at least one target relationship pair, the gateway engine to be updated obtains the target configuration rule corresponding to the gateway engine to be updated from the first relationship pair.

[0083] As an example, for any gateway engine to be updated, when the corresponding target configuration center is monitored to obtain at least one target relationship pair, the gateway engine to be updated can determine the first attribute identifier of the gateway engine to be updated based on its corresponding attribute information, and based on the first attribute identifier, query at least one target relationship pair to determine whether there is a first relationship pair matching the first attribute identifier in at least one target relationship pair. Therefore, when there is a first relationship pair matching the first attribute identifier in at least one target relationship pair, the gateway engine to be updated obtains the target configuration rule corresponding to the gateway engine to be updated from the first relationship pair.

[0084] For example, assuming that gateway engine A is the gateway engine to be updated, the target relationship pairs obtained by the target configuration center corresponding to gateway engine A include relationship pair 1 and relationship pair 2. For gateway engine A, when it is monitored that the target configuration center corresponding to gateway engine A obtains at least one target relationship pair, the first attribute identifier corresponding to gateway engine A can be determined by gateway engine A based on its corresponding attribute information, and the above relationship pair 1 and relationship pair 2 are queried based on the first attribute identifier to determine whether there is a first relationship pair identical to the first attribute identifier in relationship pair 1 and relationship pair 2; when there is a first relationship pair identical to the first attribute identifier in relationship pair 1 and relationship pair 2, that is, relationship pair 2, the target configuration rule corresponding to the gateway engine to be updated can be obtained from the first relationship pair, that is, the target configuration rule in relationship pair 2 is determined as the target configuration rule corresponding to the gateway engine to be updated.

[0085] Therefore, attribute information is used to isolate the configuration rules of different gateway engines and accurately pull the configuration rules, which can improve the data security and independence between different environments.

[0086] The gateway control method of the disclosed embodiment, for any target relationship pair, determines the target attribute information based on the target attribute identifier in the target relationship pair through the gateway control system; extracts the target attribute information through the gateway control system to obtain the target key information; and determines the target configuration center that matches the target relationship pair from multiple configuration centers through the gateway control system based on the target key information. Thus, by extracting the target key information, the target configuration center that matches the target relationship pair can be quickly queried according to the target key information, that is, the target configuration center that matches the gateway engine to be updated, so as to facilitate the accurate sending of configuration rules in subsequent applications.

[0087] It is understandable that after the updated gateway engine pulls the target configuration rules from the target configuration center, the target configuration rules need to be loaded into the corresponding database. Since the database and the configuration center are independent of each other, the configuration center cannot perceive whether the target configuration rules have been loaded into the corresponding database. When the updated gateway engine fails to pull the corresponding target configuration rules, it may cause omissions or errors in the configuration update, resulting in inconsistencies between the database and the configuration center data. In order to improve the accuracy and reliability of configuration updates and avoid omissions in configuration updates, the present disclosure also proposes a gateway management and control method.

[0088] Figure 3 It is a flow chart of the gateway management and control method shown in the third embodiment of the present disclosure.

[0089] like Figure 3 As shown, based on any embodiment of the present disclosure, the gateway management and control method further includes the following steps:

[0090] Step 301: In any statistical period of a set number of statistical periods, a judgment module in the gateway management and control platform performs a first statistics on at least one target relationship pair input by a user to obtain a first quantity.

[0091] The set number may be pre-set, such as 1, 2, 3, etc., and the present disclosure does not impose any limitation on this.

[0092] The duration of the statistical period may be pre-set, such as 2ms, 4ms, etc., and the present disclosure does not impose any limitation on this.

[0093] In the embodiment of the present disclosure, after the target relationship pairs are sent to the target configuration center through the gateway management and control system, in any statistical period of a set number of statistical periods, the target relationship pairs input by the user can be counted by the judgment module in the gateway management and control platform to obtain a first quantity.

[0094] Step 302: The judgment module performs second statistics on the to-be-updated gateway engines that have pulled the target configuration rules to obtain a second number.

[0095] In the disclosed embodiment, the judgment module may also count the gateway engines to be updated that have pulled the target configuration rules, that is, count the number of gateway engines to be updated that have pulled the target configuration rules, thereby obtaining the second number.

[0096] Step 303: The judgment module determines whether the data in the database and the configuration center are consistent in the statistical period based on the first quantity and the second quantity.

[0097] As an example, when the first number and the second number are the same, the judgment module can determine that the data of the gateway management and control platform is consistent in the statistical period; on the contrary, when the first number and the second number are different, the judgment module can determine that the data of the database and the configuration center are inconsistent in the statistical period.

[0098] It is understandable that there may be a situation where the data between the database and the configuration center are inconsistent in each statistical period. At this time, as a possible implementation method, when the data between the database and the configuration center are inconsistent in each statistical period, the judgment module can generate a notification message and send the notification message to the gateway engine to be updated that has pulled the corresponding target configuration rules to inform the engine to stop loading the target configuration rules.

[0099] The gateway management and control method of the disclosed embodiment performs a first statistical analysis on at least one target relationship pair input by a user in any statistical period of a set number of statistical periods through a judgment module to obtain a first quantity; performs a second statistical analysis on the to-be-updated gateway engine that has pulled the target configuration rule through a judgment module to obtain a second quantity; and determines whether the database and the configuration center have consistent data in the statistical period based on the first quantity and the second quantity through the judgment module. In this way, the consistency of data in the database and the configuration center can be guaranteed, the accuracy and reliability of configuration updates can be maintained, and information omissions in the configuration update process can be effectively avoided.

[0100] In order to implement the above embodiments, the present disclosure also proposes a gateway management and control platform.

[0101] Figure 4 This is a schematic diagram of the structure of the gateway management and control platform provided in the fourth embodiment of the present disclosure.

[0102] like Figure 4 As shown, the gateway management and control platform 400 includes a gateway control system 410, multiple configuration centers 420 and multiple gateway engines 430. Among them:

[0103] The gateway management and control system is used to obtain a target relationship pair input by a user, wherein the target relationship pair is a relationship pair between a target attribute identifier and a target configuration rule, the target attribute identifier is used to indicate the attribute information of the gateway engine to be updated, and the target configuration rule is used to update the local configuration rule of the gateway engine to be updated, and based on the target attribute identifier in the target relationship pair, a target configuration center is determined from multiple configuration centers, and the target relationship pair is sent to the target configuration center.

[0104] The target configuration center is used to receive the target relationship pair and wait for the gateway engine to be updated to pull the target configuration rules in the target relationship pair.

[0105] The gateway engine to be updated is used to pull the target configuration rules from the target configuration center in response to monitoring the target configuration rules from the target configuration center, and update the local configuration rules based on the pulled target configuration rules.

[0106] It should be noted that the explanation of the gateway management and control method in any of the above embodiments is also applicable to this embodiment, and the implementation principle is similar, which will not be repeated here.

[0107] It should be noted here that the gateway management and control platform provided in the embodiments of the present disclosure can realize all the functions realized by the gateway management and control method in any of the above-mentioned embodiments, and can achieve the same technical effects. The parts and beneficial effects of this embodiment that are the same as those of the method embodiment will not be described in detail here.

[0108] In order to more clearly understand the gateway management and control method of the present invention, a detailed description is given below with reference to examples.

[0109] As an example, Figure 5 This is a structural diagram of the gateway management and control platform provided by the present invention in multiple environments, multiple clusters and multiple business systems, wherein the gateway management and control platform includes a gateway management and control system, multiple configuration centers, and multiple gateway engines, wherein any gateway engine has a corresponding usage environment, cluster, and business system.

[0110] The gateway control method disclosed in this disclosure is applied to Figure 5 The gateway management and control platform shown is as follows:

[0111] Step 1: In response to the administrator's operation, the environment (such as development environment, system integration test environment, production environment, etc.), cluster (entry gateway cluster, front-end gateway cluster, etc.), business system (core business system, Internet financial business system, etc.) information is registered (or registered) to the gateway management and control system. Among them, any set of environments has a corresponding configuration center, that is, the corresponding relationship between the environment and the configuration center can be established.

[0112] It should be noted that the configuration centers corresponding to any two environments may be the same or different. For example, assuming that there are environment 1 and environment 2, the configuration center corresponding to environment 1 may be the same as the configuration center corresponding to environment 2, or the configuration center corresponding to environment 1 may be different from the configuration center corresponding to environment 2. The present disclosure does not impose any restrictions on this.

[0113] It should also be noted that the present disclosure does not restrict the objects (referred to as target key information in the present disclosure) that establish a corresponding relationship with the configuration center. For example, clusters, computer rooms, etc. can also be used to establish a corresponding relationship between them and the configuration center.

[0114] Step 2: The gateway management and control system can receive the target relationship pair input by the operation and maintenance personnel in its display interface, where the target relationship pair includes a target attribute identifier and a target configuration rule. The target attribute identifier is used to indicate the attribute information of the gateway engine to be updated. The attribute information includes the specific usage environment, the cluster to which it belongs, and the business system to which it belongs. The target configuration rule is used to update the local configuration rules of the gateway engine to be updated.

[0115] Among them, the display interface can display attribute identifiers, wherein the attribute identifiers are used to indicate the attribute information of the corresponding gateway engine. The operation and maintenance personnel can select and determine the target attribute identifier corresponding to the gateway engine to be updated based on the attribute identifiers displayed on the display page, and enter the target configuration rules corresponding to the gateway engine to be updated.

[0116] In this way, the configuration or input of the target configuration rules of the gateway engine under different attribute information can be managed and maintained with one login, and the data of different environments can be displayed in isolation through attribute identification (or data identification), which is convenient for user operation.

[0117] Step 3: The gateway management and control system determines the target configuration center that matches the target relationship pair from multiple configuration centers based on the target attribute identifier in the target relationship pair, and sends the target relationship pair to the corresponding target configuration center.

[0118] Step 4: After the corresponding target configuration center receives the corresponding configuration update information, in response to the gateway engine to be updated monitoring the data changes in the corresponding target configuration center, the gateway engine to be updated pulls the corresponding target configuration rules from the corresponding target configuration center based on the corresponding attribute information, and updates the local configuration rules based on the pulled target configuration rules.

[0119] It should be noted that since the configuration center and the database are independent of each other, the data consistency of the configuration center and the database needs to be ensured.

[0120] Therefore, in a possible implementation of the present disclosure, the gateway management and control platform may further include a judgment module, wherein the judgment module is used to: perform a first statistics on at least one target correspondence input by the user in any statistical period of a set number of statistical periods to obtain a first quantity; perform a second statistics on the gateway engine to be updated that has pulled the target configuration rules to obtain a second quantity; based on the first quantity and the second quantity, determine whether the database and the configuration center have consistent data in the statistical period.

[0121] As can be seen from the above, the gateway control method disclosed in this disclosure mainly adopts the following technical means:

[0122] 1. The data dimensions are divided into four dimensions: computer room, business system, cluster, and environment. The target configuration rules of the gateway management and control system can isolate the data through the four dimensions. Users can use dimension parameters (recorded as attribute identifiers in this disclosure) to achieve unified management of different target configuration rules.

[0123] 2. When sending the target configuration rules to the configuration center, the gateway management and control system can send the target configuration rules to the configuration center that matches the gateway engine to be updated (or the target relationship pair) based on the specific usage environment, the computer room to which it belongs, and at least one of the clusters to which it belongs. The configuration center can also implement data isolation of the target configuration rules based on the dimension parameters.

[0124] 3. Any gateway engine can pull the corresponding target configuration rules from the corresponding configuration center based on dimension parameters.

[0125] The gateway management and control method disclosed in the present invention can embody the following advantages:

[0126] 1. Isolating target configuration rules through four dimensions greatly reduces the operation complexity of operation and maintenance personnel. Operation and maintenance personnel do not need to frequently switch login systems, thereby improving their work efficiency.

[0127] 2. By isolating data at the business system, environment, computer room, cluster and other levels, the isolation of business system, environment, computer room and other data in non-production environments is achieved. Compared with traditional data isolation methods, the data isolation method disclosed in this disclosure is more flexible and efficient, and can effectively protect the security of important application business data.

[0128] 3. Users only need to deploy once in the gateway management and control system, that is, users can deploy configuration updates of multiple gateway engines at once according to different business scenarios, so as to realize the call of business data, greatly reduce the complexity of operation, and reduce the waste of time cost. At the same time, the gateway management and control system can accurately send the target configuration rules to the corresponding gateway engine.

[0129] 4. Isolate target configuration rules through four dimensions to reduce the consumption of server hardware resources.

[0130] Corresponding to the gateway control method provided in the above embodiment, the present disclosure also provides a gateway control device. Since the gateway control device provided in the embodiment of the present disclosure corresponds to the gateway control method provided in the above embodiment, the implementation method of the gateway control method is also applicable to the gateway control device provided in the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.

[0131] Figure 6 It is a structural diagram of a gateway control device shown in the fifth embodiment of the present disclosure.

[0132] like Figure 6 As shown, the gateway management and control device 600 includes: an acquisition module 610, a first processing module 620, a second processing module 630, a pulling module 640 and an updating module 650.

[0133] Among them, the acquisition module 610 is used to obtain the target relationship pair input by the user through the gateway management and control system; wherein the target relationship pair is a relationship pair between the target attribute identifier and the target configuration rule, the target attribute identifier is used to indicate the attribute information of the gateway engine to be updated, and the target configuration rule is used to update the local configuration rule of the gateway engine to be updated.

[0134] The first processing module 620 is used to determine a target configuration center from multiple configuration centers based on the target attribute identifier in the target relationship pair through the gateway management and control system, and send the target relationship pair to the target configuration center.

[0135] The second processing module 630 is used to receive the target relationship pair through the target configuration center, and wait for the to-be-updated gateway engine to pull the target configuration rule in the target relationship pair.

[0136] The pulling module 640 is used to pull the target configuration rules from the target configuration center through the gateway engine to be updated in response to monitoring the target configuration rules from the target configuration center.

[0137] The updating module 650 is used to update the local configuration rules based on the pulled target configuration rules through the gateway engine to be updated.

[0138] As a possible implementation method of the embodiment of the present disclosure, there is at least one target relationship pair; the first processing module 620 is used to: for any target relationship pair, determine the target attribute information based on the target attribute identifier in the target relationship pair through the gateway management and control system; extract the target attribute information through the gateway sensing control system to obtain the target key information; determine the target configuration center that matches the target relationship pair from multiple configuration centers based on the target key information through the gateway management and control system.

[0139] As a possible implementation manner of the embodiment of the present disclosure, the target key information includes at least one of a specific usage environment, a corresponding computer room, and a corresponding cluster.

[0140] As a possible implementation of the embodiment of the present disclosure, the target relationship pair is at least one, and the gateway management and control device 600 may further include:

[0141] The first statistical module is used to perform a first statistical operation on at least one target relationship pair input by a user in any statistical period of a set number of statistical periods through a judgment module in the gateway management and control platform to obtain a first quantity.

[0142] The second statistical module is used to perform second statistics on the to-be-updated gateway engines that have pulled the target configuration rules through the judgment module to obtain a second number.

[0143] The third processing module is used to determine whether the data of the database and the configuration center are consistent in the statistical period based on the first number and the second number through the judgment module.

[0144] As a possible implementation method of the embodiment of the present disclosure, the third processing module is used to: in response to the first number and the second number being the same, determine through the judgment module that the data of the database and the configuration center are consistent in the statistical period data; in response to the first number and the second number being different, determine through the judgment module that the data of the database and the configuration center are inconsistent in the statistical period data.

[0145] As a possible implementation of the embodiment of the present disclosure, the gateway management and control device 600 may further include:

[0146] The fourth processing module is used to generate notification information through the judgment module in response to the inconsistency of data between the database and the configuration center in each statistical period, and send the notification information to the gateway engine to be updated that has pulled the target configuration rules to inform the stop of loading the target configuration rules.

[0147] As a possible implementation manner of the embodiment of the present disclosure, there is at least one target relationship pair, and correspondingly, there is at least one gateway engine to be updated; the pulling module 640 is used to: for any gateway engine to be updated, in response to monitoring the corresponding target configuration center to obtain at least one target relationship pair, determine whether there is a first relationship pair matching the attribute information in the at least one target relationship pair based on the corresponding attribute information by the gateway engine to be updated; in response to the presence of the first relationship pair matching the attribute information in the at least one target relationship pair, obtain the target configuration rule corresponding to the gateway engine to be updated from the first relationship pair by the gateway engine to be updated.

[0148] The gateway control device of the disclosed embodiment obtains the target relationship pair input by the user through the gateway control system; wherein the target relationship pair is the relationship pair between the target attribute identifier and the target configuration rule, the target attribute identifier is used to indicate the attribute information of the gateway engine to be updated, and the target configuration rule is used to update the local configuration rule of the gateway engine to be updated; the gateway control system determines the target configuration center from multiple configuration centers based on the target attribute identifier in the target relationship pair, and sends the target relationship pair to the target configuration center; receives the target relationship pair through the target configuration center, and waits for the gateway engine to be updated to pull the target configuration rule in the target relationship pair; in response to monitoring the target configuration rule from the target configuration center, the gateway engine to be updated pulls the target configuration rule from the target configuration center, and updates the local configuration rule based on the pulled target configuration rule. Thus, only one gateway control system (i.e., gateway control instance) is needed to manage the target configuration rules corresponding to different attribute information, and the relevant staff only needs to deploy once in the gateway control system to realize the update of the configuration information of the gateway engine with different attribute information, without frequently switching to log in to the gateway control system, which greatly reduces the operation complexity of the relevant staff and improves work efficiency.

[0149] In an exemplary embodiment, an electronic device is also provided.

[0150] Among them, electronic equipment includes:

[0151] processor;

[0152] a memory for storing processor-executable instructions;

[0153] The processor is configured to execute instructions to implement the gateway management and control method proposed in any of the aforementioned embodiments.

[0154] As an example, Figure 7 is a schematic diagram of the structure of an electronic device 700 shown in an exemplary embodiment of the present disclosure, such as Figure 7 As shown, the electronic device 700 may further include:

[0155] The memory 710 and the processor 720, a bus 730 connecting different components (including the memory 710 and the processor 720), the memory 710 stores a computer program, and when the processor 720 executes the program, the gateway management and control method described in the embodiment of the present disclosure is implemented.

[0156] Bus 730 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0157] The electronic device 700 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 700, including volatile and non-volatile media, removable and non-removable media.

[0158] The memory 710 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 740 and / or cache memory 750. The server 700 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 760 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 730 via one or more data medium interfaces. The memory 710 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0159] A program / utility 780 having a set (at least one) of program modules 770 may be stored, for example, in the memory 710, such program modules 770 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 770 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0160] The electronic device 700 may also communicate with one or more external devices 790 (e.g., keyboard, pointing device, display 791, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or communicate with any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 792. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through a network adapter 793. As shown, the network adapter 793 communicates with other modules of the electronic device 700 through a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0161] The processor 720 executes various functional applications and data processing by running the programs stored in the memory 710.

[0162] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the gateway management and control method of the embodiment of the present disclosure, and will not be repeated here.

[0163] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by a processor of an electronic device to complete the gateway management and control method proposed in any of the above embodiments. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0164] In an exemplary embodiment, a computer program product is also provided, including a computer program / instruction, characterized in that when the computer program / instruction is executed by a processor, the gateway management and control method proposed in any of the above embodiments is implemented.

[0165] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0166] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A gateway management and control method, characterized in that: Applied to a gateway management and control platform, wherein the gateway management and control platform includes a gateway management and control system, multiple configuration centers, and multiple gateway engines, and the method includes: Obtaining a target relationship pair input by a user through the gateway management and control system; wherein the target relationship pair is a relationship pair between a target attribute identifier and a target configuration rule, the target attribute identifier is used to indicate the attribute information of the gateway engine to be updated, and the target configuration rule is used to update the local configuration rule of the gateway engine to be updated; Determining, by the gateway management and control system, a target configuration center from the multiple configuration centers based on the target attribute identifier in the target relationship pair, and sending the target relationship pair to the target configuration center; Receiving the target relationship pair through the target configuration center, and waiting for the to-be-updated gateway engine to pull the target configuration rule in the target relationship pair; In response to monitoring the target configuration rules from the target configuration center, the target configuration rules are pulled from the target configuration center by the to-be-updated gateway engine, and the local configuration rules are updated based on the pulled target configuration rules.

2. The method according to claim 1, characterized in that The target relationship pair is at least one, and determining the target configuration center from the multiple configuration centers by the gateway management and control system based on the target attribute identifier in the target relationship pair includes: For any of the target relationship pairs, determining target attribute information based on the target attribute identifier in the target relationship pair by the gateway management and control system; Extracting the target attribute information through the gateway management and control system to obtain target key information; The gateway management and control system determines a target configuration center that matches the target relationship pair from the multiple configuration centers based on the target key information.

3. The method according to claim 2, characterized in that The target key information includes at least one of a specific usage environment, a corresponding computer room, and a corresponding cluster.

4. The method according to claim 1, characterized in that: The gateway management and control platform further includes a judgment module, wherein the target relationship pair is at least one; After sending the target relationship pair to the target configuration center through the gateway management and control system, the method further includes: In any of the statistical periods of the set number of statistical periods, the judgment module performs a first statistical analysis on at least one target relationship pair input by the user to obtain a first quantity; The judgment module performs a second statistics on the to-be-updated gateway engines that have pulled the target configuration rules to obtain a second number; The judgment module determines whether the data in the database and the configuration center are consistent in the statistical period based on the first number and the second number.

5. The method according to claim 4, characterized in that The judging module judging whether the data of the database and the configuration center are consistent in the statistical period based on the first number and the second number includes: In response to the first number and the second number being the same, determining, by the judgment module, that the data of the database and the configuration center in the statistical period are consistent; In response to the first number and the second number being different, the judgment module determines that the data of the database and the configuration center are inconsistent in the statistical period.

6. The method according to claim 5, characterized in that The method further comprises: In response to the inconsistency of data between the database and the configuration center in each statistical period, a notification message is generated by the judgment module, and the notification message is sent to the gateway engine to be updated that has pulled the target configuration rule to inform the engine to stop loading the configuration rule.

7. The method according to any one of claims 1 to 6, characterized in that: There is at least one target relationship pair, and correspondingly, there is at least one gateway engine to be updated; In response to monitoring the target configuration rule from the target configuration center, pulling the target configuration rule from the target configuration center through the to-be-updated gateway engine includes: For any of the to-be-updated gateway engines, in response to monitoring the corresponding target configuration center to obtain at least one of the target relationship pairs, the to-be-updated gateway engine determines, based on the corresponding attribute information, whether there is a first relationship pair matching the attribute information in the at least one target relationship pair; In response to the presence of a first relationship pair matching the attribute information in the at least one target relationship pair, the target configuration rule corresponding to the gateway engine to be updated is acquired from the first relationship pair by the gateway engine to be updated.

8. A gateway management and control platform, characterized in that: The gateway management and control platform includes a gateway management and control system, multiple configuration centers, and multiple gateway engines, wherein: The gateway management and control system is used to obtain a target relationship pair input by a user, wherein the target relationship pair is a relationship pair between a target attribute identifier and a target configuration rule, the target attribute identifier is used to indicate attribute information of a gateway engine to be updated, and the target configuration rule is used to update a local configuration rule of the gateway engine to be updated, and based on the target attribute identifier in the target relationship pair, determine a target configuration center from the multiple configuration centers, and send the target relationship pair to the target configuration center; The target configuration center is used to receive the target relationship pair and wait for the gateway engine to be updated to pull the target configuration rule in the target relationship pair; The gateway engine to be updated is used to pull the target configuration rules from the target configuration center in response to monitoring the target configuration rules from the target configuration center, and update the local configuration rules based on the pulled target configuration rules.

9. A gateway control device, characterized in that: Applied to a gateway management and control platform, wherein the gateway management and control platform includes a gateway management and control system, multiple configuration centers, and multiple gateway engines, and the device includes: An acquisition module, used to acquire a target relationship pair input by a user through the gateway management and control system; wherein the target relationship pair is a relationship pair between a target attribute identifier and a target configuration rule, the target attribute identifier is used to indicate the attribute information of the gateway engine to be updated, and the target configuration rule is used to update the local configuration rule of the gateway engine to be updated; The first module is used to determine a target configuration center from the multiple configuration centers based on the target attribute identifier in the target relationship pair through the gateway management and control system, and send the target relationship pair to the target configuration center; A second processing module is used to receive the target relationship pair through the target configuration center, and wait for the gateway engine to be updated to pull the target configuration rule in the target relationship pair; A pulling module, configured to, in response to monitoring a target configuration rule from the target configuration center, pull the target configuration rule from the target configuration center through the to-be-updated gateway engine; An updating module is used to update the local configuration rules based on the pulled target configuration rules through the gateway engine to be updated.

10. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Configuration method and equipment of acquisition gateway

    CN111092774A

  • Data processing method, configuration center system, electronic equipment and storage medium

    CN115562757A

  • Data processing method and configuration system

    CN115834378A

  • Network association dynamic method, device and equipment and storage medium

    CN116962116A