CN107124293B - Protocol management method and system of distributed network system - Google Patents

Protocol management method and system of distributed network system Download PDF

Info

Publication number
CN107124293B
CN107124293B CN201710146267.5A CN201710146267A CN107124293B CN 107124293 B CN107124293 B CN 107124293B CN 201710146267 A CN201710146267 A CN 201710146267A CN 107124293 B CN107124293 B CN 107124293B
Authority
CN
China
Prior art keywords
protocol configuration
configuration data
protocol
module
access layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710146267.5A
Other languages
Chinese (zh)
Other versions
CN107124293A (en
Inventor
李阔平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201710146267.5A priority Critical patent/CN107124293B/en
Publication of CN107124293A publication Critical patent/CN107124293A/en
Application granted granted Critical
Publication of CN107124293B publication Critical patent/CN107124293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a protocol management method and a system of a distributed network system. Wherein the method comprises the following steps: collecting protocol configuration data to generate protocol configuration data, and configuring a database according to the protocol configuration data; importing protocol configuration data to an access layer so that the access layer has a routing management function; receiving a front-end request instruction; searching protocol configuration information matched with the protocol identifier in the protocol configuration data according to the protocol identifier in the front-end request instruction; and the access layer sends the front-end request instruction to a corresponding service background server according to the matched protocol configuration information so as to execute the corresponding service. By the method, the protocol configuration process can be simplified, the operation accuracy is improved, the cost of manual maintenance is reduced, and the working efficiency is improved.

Description

Protocol management method and system of distributed network system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a protocol management method and system for a distributed network system.
Background
A distributed system is a computer system consisting of a number of interconnected processing resources that cooperate to perform the same task under the control of the overall system. Most distributed background systems and clients communicate through a TCP/IP network layer protocol, but in order to distinguish different services and realize different functions, developers often define a layer of application protocol again, and distinguish different service functions by defining different protocol numbers. The front end is usually not directly connected with the service background, but is uniformly accessed through the access layer background, and then is routed to different service backgrounds through different protocol identifiers in the request protocol. Generally, the configuration of the protocol is mostly completed by a developer manually modifying a configuration file or a database. Because manual operation often has errors, if protocols are delivered disorderly, functions cannot respond, service functions cannot be used and the like are serious problems.
Disclosure of Invention
The invention mainly solves the technical problem of providing a protocol management method and a system of a distributed network system, which can simplify the protocol configuration process, improve the operation accuracy, reduce the cost of manual maintenance and improve the working efficiency.
In order to solve the technical problems, the invention adopts a technical scheme that: there is provided a protocol management method of a distributed network system, the method comprising: collecting protocol configuration data to generate protocol configuration data, and configuring a database according to the protocol configuration data; importing protocol configuration data to an access layer so that the access layer has a routing management function; receiving a front-end request instruction; searching protocol configuration information matched with the protocol identifier in the protocol configuration data according to the protocol identifier in the front-end request instruction; and the access layer sends the front-end request instruction to a corresponding service background server according to the matched protocol configuration information so as to execute the corresponding service.
Wherein, the step of importing the current latest protocol configuration data to the access stratum further comprises: and leading protocol configuration data into the access layer at fixed time so as to lead the protocol configuration data into the access layer.
Wherein, the step of importing the current latest protocol configuration data to the access stratum further comprises: monitoring whether protocol configuration data is changed in real time; when the protocol configuration data is changed, the changed protocol configuration data is imported to be used as the protocol configuration data.
Wherein, collecting protocol configuration data to the management system and managing.
Wherein, the management of the protocol configuration data by the management system comprises: modifying protocol configuration data, adding new protocol configuration data, and deleting protocol configuration data.
The protocol configuration data comprises protocol identification, protocol configuration information and the corresponding relation between the protocol identification and the protocol configuration information.
Wherein, the management system is installed in a computer, a mobile terminal or a workstation.
In order to solve the technical problem, the invention adopts another technical scheme that: a protocol management system of a distributed network system, the system comprising: the collection module is used for collecting the protocol configuration data to manage and generate the protocol configuration data; a configuration module for configuring the database according to the protocol configuration data; the import module is used for importing the protocol configuration data to the access layer so that the access layer has a routing management function; the receiving module is used for receiving a front-end request instruction; the matching module is used for searching protocol configuration information matched with the protocol identifier in the protocol configuration data according to the protocol identifier in the front-end request instruction; and the routing module is used for sending the front-end request instruction to the corresponding service background server according to the matched protocol configuration information so as to execute the corresponding service.
Wherein, further include: and the timing module is used for setting a preset time interval to trigger the import module to import the protocol configuration data to the access layer at a fixed time.
Wherein, further include: and the monitoring module is used for monitoring whether the protocol configuration data are changed in real time and triggering the import module to import the changed protocol configuration data as the protocol configuration data when the protocol configuration data are monitored to be changed.
According to the scheme, the database is configured according to the latest protocol configuration data, the access layer is led in to enable the access layer to have a routing management function, the protocol configuration information matched with the protocol identification is searched in the current latest protocol configuration data according to the protocol identification in the request instruction received by the front end, and the front end request instruction is sent to the corresponding service background server according to the matched protocol configuration information to execute the corresponding service.
Drawings
FIG. 1 is a flowchart illustrating an embodiment of a protocol management method for a distributed network system according to the present invention;
FIG. 2 is a flowchart showing a protocol management method of the distributed network system according to the present invention;
FIG. 3 is a configuration data table generated in FIG. 2;
FIG. 4 is a schematic diagram of an embodiment of a protocol management system of the distributed network system of the present invention;
FIG. 5 is a schematic diagram of another embodiment of a protocol management system of the distributed network system according to the present invention;
fig. 6 is a schematic structural diagram of a protocol management system of a distributed network system according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a protocol management method of a distributed network system according to an embodiment of the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 1 if the results are substantially the same. As shown in fig. 1, the method comprises the steps of:
s101: protocol configuration data is collected to generate protocol configuration data, and the database is configured according to the protocol configuration data.
A protocol refers to a set of rules, standards, or conventions established for exchanging data over a computer network.
The method comprises the steps of collecting protocol configuration data to a management system and managing the protocol configuration data to generate current latest protocol configuration data, and configuring a database according to the current latest protocol configuration data.
The protocol configuration data are collected to the management system, the management system manages uniformly to produce the current latest protocol configuration data, and the database is configured according to the current latest protocol configuration data, so that on one hand, errors caused by manual independent configuration can be reduced through uniform management, on the other hand, the management system produces the current latest protocol configuration data, protocol conflicts can be avoided, protocol messy delivery can be avoided, functions are not responded, and service functions are not available.
Wherein, the management of the protocol configuration data by the management system comprises: modifying protocol configuration data, adding new protocol configuration data, and deleting protocol configuration data.
When the original protocol configuration data is only changed a little, only the protocol configuration data can be modified; when new protocol configuration data exists, the addition can be carried out; deletion may be performed when the original protocol configuration data is invalid or is no longer being employed.
In particular, the management system may be a visualization management system. Visualization management, which is simply: the objects to be managed are embodied in a clear way. The visual management can make the flow more intuitive, make the information realize the visualization to can obtain more effective transmission, thereby realize the transparence of management.
The visual management system may be a Web management system, a Personal Computer (PC), a mobile phone client, or the like, and is not limited to a real form.
Specifically, the management system may be installed in a computer, a mobile terminal, or a workstation.
The database may be a relational database, an unstructured query Language (NoSQL) database, or the like.
S102: and importing protocol configuration data to the access layer so that the access layer has a routing management function.
The access layer is a layer of service which is directly connected and butted with the client in the background of the distributed network. And importing the current latest protocol configuration data into the access layer, so that the access layer has the current latest protocol configuration data, and the routing management function can be executed.
Wherein the current latest protocol configuration data is imported to the access stratum.
Optionally, the step of importing the current latest protocol configuration data into the access stratum may further include: and leading protocol configuration data into the access layer at fixed time so as to lead the latest protocol configuration data into the access layer.
That is, the lead-in time period may be preset, and then the protocol configuration data is led into the access stratum at a fixed time each time according to the lead-in time period.
Optionally, the step of importing the current latest protocol configuration data to the access stratum may further include: monitoring whether protocol configuration data is changed in real time; when the protocol configuration data is changed, the changed protocol configuration data is imported to be used as the current latest protocol configuration data.
That is, whether the protocol configuration data is changed or not is monitored in real time, and if the protocol configuration data is changed, the changed protocol configuration data is imported to be used as the current latest protocol configuration data.
The two modes can be selected according to actual application conditions, and the importing time can be set and determined according to actual needs.
S103: a front-end request instruction is received.
S104: and searching the protocol configuration information matched with the protocol identification in the protocol configuration data according to the protocol identification in the front-end request instruction.
The protocol identification and the protocol configuration information are in one-to-one correspondence, and the corresponding matched protocol configuration information can be found in the current latest protocol configuration data according to the protocol identification in the front-end request instruction.
And searching the protocol configuration information matched with the protocol identifier in the current latest protocol configuration data according to the protocol identifier in the front-end request instruction.
The protocol configuration data may include a protocol identifier, protocol configuration information, and a correspondence between the protocol identifier and the protocol configuration information.
The protocol configuration information may be a configuration address.
S105: and the access layer sends the front-end request instruction to a corresponding service background server according to the matched protocol configuration information so as to execute the corresponding service.
The protocol configuration information indicates that a corresponding service background server exists, so that the front-end request instruction can be sent to the corresponding service background server according to the matched protocol configuration information, and the service background server can execute the corresponding service conveniently.
In one application scenario, as shown in fig. 2, fig. 2 is a specific flowchart of a protocol management method of the distributed network system according to the present invention. Fig. 3 is a table of configuration data generated in fig. 2. The visualization management system configures collected protocol configuration data, such as a configuration data table shown in fig. 3, to a database, the database loads new protocol configuration data to an access layer, the access layer can execute a routing management function according to the current latest protocol configuration data, a protocol identifier in a received front-end request instruction is matched with the current latest protocol configuration data, protocol configuration information obtained after the protocol identifier in the front-end request instruction is matched with the current latest protocol configuration data is shown in (1, 2) and (3, 2) in fig. 2, and the access layer sends a corresponding front-end request instruction to a corresponding service background server according to the protocol configuration information to execute a corresponding service.
In the embodiment, the database is configured according to the latest protocol configuration data, the access layer is introduced to enable the access layer to have a routing management function, the protocol configuration information matched with the protocol identifier is searched in the current latest protocol configuration data according to the protocol identifier in the request instruction received by the front end, and the front end request instruction is sent to the corresponding service background server according to the matched protocol configuration information to execute the corresponding service.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a structure of a protocol management system of a distributed network system according to an embodiment of the present invention. It should be noted that the system of the present embodiment may perform the steps in the method, and for a detailed description of related contents, refer to the method section above, which is not described in detail herein.
The protocol management system 40 of the distributed network system includes: a collection module 41, a configuration module 42, an import module 43, a receive module 44, a matching module 45, and a routing module 46.
The collection module 41 is used to collect protocol configuration data for management to generate protocol configuration data.
The configuration module 42 is used to configure the database according to the protocol configuration data.
The import module 43 is used for importing the protocol configuration data to the access stratum so that the access stratum has a routing management function.
The receiving module 44 is configured to receive a front-end request instruction.
The matching module 45 is configured to find the protocol configuration information matching the protocol identifier in the protocol configuration data according to the protocol identifier in the front-end request instruction.
The routing module 46 is configured to send the front-end request instruction to the corresponding service backend server according to the matched protocol configuration information to execute the corresponding service.
The collecting module 41 is specifically configured to collect protocol configuration data to a management system for management, and generate current latest protocol configuration data.
The collection module 41 is specifically configured to modify protocol configuration data, add new protocol configuration data, and delete protocol configuration data.
The protocol configuration data collected by the collection module 41 specifically includes a protocol identifier, protocol configuration information, and a corresponding relationship between the protocol identifier and the protocol configuration information.
Wherein, the management system in the collection module 41 may be a visualization management system.
Wherein, the management system in the collection module 41 can be installed in a computer, a mobile terminal or a workstation.
The configuration module 42 is specifically configured to configure the database according to the current latest protocol configuration data.
The importing module 43 is specifically configured to import the current latest protocol configuration data to the access stratum so that the access stratum has a routing management function.
The matching module 45 is specifically configured to search, according to the protocol identifier in the front-end request instruction, the protocol configuration information matching the protocol identifier in the current latest protocol configuration data.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another embodiment of a protocol management system of a distributed network system according to the present invention. Different from the previous embodiment, the protocol management system 40 of the distributed network system according to the present embodiment further includes: a timing module 47.
The timing module 47 is used for setting a predetermined time interval to trigger the importing module to import the protocol configuration data to the access stratum at a timing.
The timing module 47 is specifically configured to set a predetermined time interval to trigger the importing module to import the current latest protocol configuration data to the access stratum at a fixed time.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a protocol management system of a distributed network system according to still another embodiment of the present invention. Different from the previous embodiment, the protocol management system 40 of the distributed network system according to the present embodiment further includes: a monitoring module 48.
The monitoring module 48 is configured to monitor whether the protocol configuration data is changed in real time, and when it is monitored that the protocol configuration data is changed, activate the importing module to import the changed protocol configuration data as the protocol configuration data.
In the embodiment, the database is configured according to the latest protocol configuration data, the access layer is introduced to enable the access layer to have a routing management function, the protocol configuration information matched with the protocol identifier is searched in the current latest protocol configuration data according to the protocol identifier in the request instruction received by the front end, and the front end request instruction is sent to the corresponding service background server according to the matched protocol configuration information to execute the corresponding service.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A protocol management method of a distributed network system is characterized by comprising the following steps:
collecting the protocol configuration data to a visual management system and managing to generate protocol configuration data, and configuring a database according to the protocol configuration data;
importing the protocol configuration data to an access layer so that the access layer has a routing management function;
receiving a front-end request instruction;
according to a protocol identifier in the front-end request instruction, protocol configuration information matched with the protocol identifier is searched in the protocol configuration data, wherein the protocol configuration information indicates a corresponding service background server;
and the access layer sends the front-end request instruction to a corresponding service background server according to the matched protocol configuration information so as to execute a corresponding service.
2. The method of claim 1, wherein the step of importing the protocol configuration data into an access stratum further comprises:
and leading protocol configuration data into the access layer at fixed time so as to lead the protocol configuration data into the access layer.
3. The method of claim 1, wherein the step of importing the protocol configuration data into an access stratum further comprises:
monitoring whether the protocol configuration data is changed in real time;
when the protocol configuration data is changed, the changed protocol configuration data is imported to be used as the protocol configuration data.
4. The method of claim 1, wherein the management of the protocol configuration data by the visualization management system comprises: modifying protocol configuration data, adding new protocol configuration data, and deleting protocol configuration data.
5. The method of claim 1, wherein the protocol configuration data comprises a protocol identifier, protocol configuration information, and a correspondence between the protocol identifier and the protocol configuration information.
6. The method of claim 1, wherein the visualization management system is installed in a computer, a mobile terminal, or a workstation.
7. A protocol management system of a distributed network system, comprising:
the collection module is used for collecting the protocol configuration data to the visualization management system for management and generating the protocol configuration data;
a configuration module for configuring a database according to the protocol configuration data;
the import module is used for importing the protocol configuration data to an access layer so that the access layer has a routing management function;
the receiving module is used for receiving a front-end request instruction;
the matching module is used for searching protocol configuration information matched with the protocol identifier in the protocol configuration data according to the protocol identifier in the front-end request instruction, wherein the protocol configuration information indicates a corresponding service background server;
and the routing module is used for sending the front-end request instruction to a corresponding service background server according to the matched protocol configuration information so as to execute a corresponding service.
8. The system of claim 7, further comprising:
and the timing module is used for setting a preset time interval to excite the leading-in module to lead in protocol configuration data to the access layer at regular time.
9. The system of claim 7, further comprising:
and the monitoring module is used for monitoring whether the protocol configuration data is changed in real time and triggering the importing module to import the changed protocol configuration data as the protocol configuration data when the protocol configuration data is monitored to be changed.
CN201710146267.5A 2017-03-13 2017-03-13 Protocol management method and system of distributed network system Active CN107124293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710146267.5A CN107124293B (en) 2017-03-13 2017-03-13 Protocol management method and system of distributed network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710146267.5A CN107124293B (en) 2017-03-13 2017-03-13 Protocol management method and system of distributed network system

Publications (2)

Publication Number Publication Date
CN107124293A CN107124293A (en) 2017-09-01
CN107124293B true CN107124293B (en) 2020-07-03

Family

ID=59717274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710146267.5A Active CN107124293B (en) 2017-03-13 2017-03-13 Protocol management method and system of distributed network system

Country Status (1)

Country Link
CN (1) CN107124293B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542122B (en) * 2020-04-16 2022-10-18 中移物联网有限公司 Internet of things equipment data forwarding method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247297A (en) * 2007-02-16 2008-08-20 华为技术有限公司 Device, system and method for automatically configuring application terminal in family network
CN103533069A (en) * 2013-10-22 2014-01-22 迈普通信技术股份有限公司 Method for starting automatic configuration of network equipment and network equipment
CN103856466A (en) * 2012-12-06 2014-06-11 苏州工业园区新宏博通讯科技有限公司 Acquisition terminal device capable of configuring protocols automatically

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150011226A1 (en) * 2013-07-08 2015-01-08 Elvino Silveira Medina De Sousa Autonomous infrastructure wireless networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247297A (en) * 2007-02-16 2008-08-20 华为技术有限公司 Device, system and method for automatically configuring application terminal in family network
CN103856466A (en) * 2012-12-06 2014-06-11 苏州工业园区新宏博通讯科技有限公司 Acquisition terminal device capable of configuring protocols automatically
CN103533069A (en) * 2013-10-22 2014-01-22 迈普通信技术股份有限公司 Method for starting automatic configuration of network equipment and network equipment

Also Published As

Publication number Publication date
CN107124293A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
CN103546343B (en) The network traffics methods of exhibiting of network traffic analysis system and system
CN104219316A (en) Method and device for processing call request in distributed system
CN110413845B (en) Resource storage method and device based on Internet of things operating system
CN111258627A (en) Interface document generation method and device
CN103248512A (en) Method and system for generating topological structure of application layer in communication network
CN107491463B (en) Optimization method and system for data query
CN104243610A (en) Distributed file transmission service method
WO2014056345A1 (en) Management method and apparatus for monitoring task
CN111885216A (en) DNS query method, device, equipment and storage medium
CN107885634B (en) Method and device for processing abnormal information in monitoring
JP2009151560A (en) Resource management method, information processing system, information processor and program
CN105227386B (en) For dividing the method, apparatus and system of population statistics online user number
US8117181B2 (en) System for notification of group membership changes in directory service
CN101345657A (en) Method and system for cluster management of multiple network elements based on simple network management protocol
CN106156258B (en) Method, device and system for counting data in distributed storage system
CN107124293B (en) Protocol management method and system of distributed network system
CN110661851A (en) Data exchange method and device
CN108011870B (en) A kind of remote software online upgrading information automatic identification management method
CN107769954B (en) Method and device for shielding equipment alarm
CN108829735B (en) Synchronization method, device, server and storage medium for parallel execution plan
CN102385514B (en) Method, equipment and system for conducting management operation on software in centralized way
CN104462235A (en) Internet of Things general event service mechanism based on Restful Web Service
CN110389966B (en) Information processing method and device
CN113419745A (en) Application instance number management method and device, electronic equipment and computer readable medium
CN107872493A (en) A kind of information processing method, terminal and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210115

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511449 B-1 Building, Wanda Commercial Square North District, Wanbo Business District, 79 Wanbo Second Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170901

Assignee: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000053

Denomination of invention: A protocol management method and system for distributed network system

Granted publication date: 20200703

License type: Common License

Record date: 20210208