The content of the invention
The present invention solves the technical problem of the protocol managerial approach and system for providing a kind of distributed network system (DNS),
Protocol configuration flow can be simplified, operation accuracy is improved, reduce the cost of manual maintenance, improve operating efficiency.
In order to solve the above technical problems, one aspect of the present invention is:A kind of distributed network system (DNS) is provided
Protocol managerial approach, methods described includes:Protocol configuration data are collected to generate protocol configuration data, and according to protocol configuration
Data and configuration database;Protocol configuration data are imported to Access Layer so that Access Layer has routing management function;Receiving front-end
Request instruction;Protocol-identifier in the request instruction of front end and the association matched with protocol-identifier is found in protocol configuration data
Discuss configuration information;Front end request instruction is sent to corresponding business backstage and taken by Access Layer according to the protocol configuration information of matching
Device is engaged in perform corresponding business.
Wherein, the step of importing currently newest protocol configuration data to Access Layer, further comprises:Timing imports agreement
Configuration data is to Access Layer so as to import protocol configuration data in Access Layer.
Wherein, the step of importing currently newest protocol configuration data to Access Layer, further comprises:Agreement is monitored in real time
Whether configuration data changes;When protocol configuration data are changed, import change after protocol configuration data using as
Protocol configuration data.
Wherein, protocol configuration data are to management system and are managed for collection.
Wherein, management of the management system to protocol configuration data includes:The new agreement of modification protocol configuration data, addition is matched somebody with somebody
Put data, delete protocol configuration data.
Wherein, protocol configuration data include protocol-identifier, protocol configuration information and protocol-identifier and protocol configuration information
Corresponding relation.
Wherein, management system is arranged in computer, mobile terminal or work station.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of distributed network system (DNS)
Protocol management system, the system includes:Collection module, is matched somebody with somebody for collecting protocol configuration data with being managed and generating agreement
Put data;Configuration module, for the configuration database according to protocol configuration data;Import modul, for importing protocol configuration number
According to Access Layer so that Access Layer has routing management function;Receiving module, for receiving front-end request instruction;Matching module,
The agreement matched with protocol-identifier is found in protocol configuration data for the protocol-identifier in the request instruction of front end to match somebody with somebody
Confidence ceases;Routing module, sends front end request instruction to corresponding business for the protocol configuration information according to matching
Platform server is to perform corresponding business.
Wherein, further comprise:Time block, is assisted for setting predetermined time interval with exciting import modul timing to import
Configuration data is discussed to Access Layer.
Wherein, further comprise:Monitoring modular, for monitoring whether protocol configuration data change in real time, and in prison
When measuring protocol configuration data and changing, the protocol configuration data that import modul is imported after changing are excited to be used as protocol configuration
Data.
Above scheme, according to newest protocol configuration data configuration database, and importing Access Layer makes Access Layer have road
By management function, according to front end receiver to request instruction in protocol-identifier found in current newest protocol configuration data
The protocol configuration information matched with protocol-identifier, and sent front end request instruction to phase according to the protocol configuration information of matching
The business background server answered is produced, managed and updated newest association due to unified to perform corresponding business by management system
Discuss configuration data, in this way, protocol configuration flow can be simplified, improve operation accuracy, reduce manual maintenance into
This, improves operating efficiency.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is carried out clear
Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole realities
Apply mode.Based on the embodiment in the present invention, those of ordinary skill in the art institute under the premise of creative work is not made
The every other embodiment obtained, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is the embodiment flow of protocol managerial approach one signal of distributed network system (DNS) of the present invention
Figure.If it is noted that there is substantially the same result, method of the invention is not limited with the flow order shown in Fig. 1.Such as
Shown in Fig. 1, this method comprises the following steps:
S101:Protocol configuration data are collected to generate protocol configuration data, and the configuration data according to protocol configuration data
Storehouse.
Wherein, agreement refers to the set for rule, standard or the agreement for carrying out data exchange in computer network and setting up.
Wherein, protocol configuration data are to management system and are managed for collection, to generate current newest protocol configuration number
According to, and the configuration database according to current newest protocol configuration data.
Protocol configuration data are collected to management system, are managed collectively to produce current newest protocol configuration by management system
Data, and according to current newest protocol configuration data configuration database, on the one hand, unified management, which can be reduced, manually individually matches somebody with somebody
Error when putting, the production of another aspect management system is current newest protocol configuration data, protocol violation can be avoided to send out
Raw, so as to avoid agreement entanglement from delivering, function is not responding to, and business function is unavailable.
Wherein, management of the management system to protocol configuration data includes:The new agreement of modification protocol configuration data, addition is matched somebody with somebody
Put data, delete protocol configuration data.
When former protocol configuration data only have some changes, protocol configuration data can be only changed;When there is new agreement
During configuration data, it can be added;When former protocol configuration data failure or no longer using when, can be deleted.
Specifically, management system can be Visualized management system.Visualized management, be exactly in simple terms:Management will be needed
Object embodied with open-and-shut mode.Visualized management can make flow more directly perceived, visualize information realization, and energy
More effectively passed on, so as to realize the transparence of management.
Wherein, Visualized management system can be web administration system, personal computer (Personal Computer,
PC), cell-phone customer terminal etc., does not limit to real form.
Specifically, management system may be mounted in computer, mobile terminal or work station.
Wherein, database can be relational database, unstructured search language (Not only Structured
Query Language, NoSQL) database.
S102:Protocol configuration data are imported to Access Layer so that Access Layer has routing management function.
Wherein, Access Layer is that layer of service docked that be directly connected in distributed network backstage with client.Ought
Preceding newest protocol configuration data are directed into Access Layer so that Access Layer has current newest protocol configuration data, so as to
Enough perform routing management function.
Wherein, current newest protocol configuration data are imported to Access Layer.
Alternatively, the step of importing currently newest protocol configuration data to Access Layer, may further include:Timing is led
Enter protocol configuration data to Access Layer so as to import current newest protocol configuration data in Access Layer.
In other words, the time cycle of importing can be pre-set, then according to the time cycle of importing, every time in fixation
Time protocol configuration data are directed into Access Layer.
Alternatively, the step of importing currently newest protocol configuration data to Access Layer, can further include:In real time
Whether monitoring protocol configuration data change;When protocol configuration data are changed, the protocol configuration number imported after changing
According to this as current newest protocol configuration data.
In other words, whether monitoring protocol configuration data change in real time, and one, which breaks, has monitored change, then after changing
Protocol configuration data import to be used as current newest protocol configuration data.
Above two mode can be selected according to practical situations, certainly, and the time of importing can also be according to reality
Border needs voluntarily to set determination.
S103:Receiving front-end request instruction.
S104:Protocol-identifier in the request instruction of front end and find and matched with protocol-identifier in protocol configuration data
Protocol configuration information.
Protocol-identifier and protocol configuration information are one-to-one relations, according to the protocol-identifier in the request instruction of front end,
The protocol configuration information of Corresponding matching can be found in current newest protocol configuration data.
Wherein, in the request instruction of front end protocol-identifier and found and association in current newest protocol configuration data
Assess a bid for tender and know the protocol configuration information of matching.
Wherein, protocol configuration data can include protocol-identifier, protocol configuration information and protocol-identifier and protocol configuration is believed
The corresponding relation of breath.
Wherein, protocol configuration information can be configuration address.
S105:Access Layer sends front end request instruction to corresponding business backstage according to the protocol configuration information of matching
Server is to perform corresponding business.
Corresponding business background server has been indicated in protocol configuration information, therefore, according to the protocol configuration information of matching,
Front end request instruction can be sent to corresponding business background server, in order to which business background server performs corresponding industry
Business.
In wherein one application scenarios, as shown in Fig. 2 Fig. 2 is the consultative management side of distributed network system (DNS) of the present invention
One particular flow sheet of method.Fig. 3 is the configuration data table generated in Fig. 2.Visualized management system matches somebody with somebody the agreement being collected into
Data are put, configuration data table as shown in Figure 3 is allocated to database, and new protocol configuration data are loaded into access by database
Layer, Access Layer can perform its routing management function according to current newest protocol configuration data, and the front end received is asked
Protocol-identifier in instruction is matched with current newest protocol configuration data, and (1,2) and (3,2) in fig. 2 is front end
Protocol-identifier in request instruction matched with current newest protocol configuration data after protocol configuration information, Access Layer root
Corresponding front end request instruction is sent to corresponding business background server according to protocol configuration information to perform corresponding business.
In present embodiment, according to newest protocol configuration data configuration database, and importing Access Layer has Access Layer
Have routing management function, according to front end receiver to request instruction in protocol-identifier in current newest protocol configuration data
The protocol configuration information matched with protocol-identifier is found, and is sent front end request instruction according to the protocol configuration information of matching
To corresponding business background server to perform corresponding business, produce, manage and update newest by management system due to unified
Protocol configuration data, in this way, operating procedure can be simplified, the cost of manual maintenance is reduced, operating efficiency is improved.
Referring to Fig. 4, Fig. 4 is the embodiment structural representation of protocol management system one of distributed network system (DNS) of the present invention
Figure.It should be noted that the system of present embodiment can perform the step in the above method, the detailed description of related content please
Referring to above method part, no longer go to live in the household of one's in-laws on getting married chat herein.
The protocol management system 40 of the distributed network system (DNS) includes:Collection module 41, configuration module 42, import modul
43rd, receiving module 44, matching module 45 and routing module 46.
Collection module 41 is used to collect protocol configuration data to be managed to generate protocol configuration data.
Configuration module 42 is used for according to protocol configuration data configuration database.
Import modul 43 is used to import protocol configuration data to Access Layer so that Access Layer has routing management function.
Receiving module 44 is used for receiving front-end request instruction.
Matching module 45 is found and association for the protocol-identifier in the request instruction of front end in protocol configuration data
Assess a bid for tender and know the protocol configuration information of matching.
Routing module 46 is used to be sent front end request instruction to corresponding business according to the protocol configuration information of matching
Background server is to perform corresponding business.
Wherein, collection module 41 is worked as specifically for collecting protocol configuration data to management system to be managed, and generating
Preceding newest protocol configuration data.
Wherein, collection module 41 is specifically for the new protocol configuration data of modification protocol configuration data, addition, deletion agreement
Configuration data.
Wherein, collection module 41 specifically for collection protocol configuration data include protocol-identifier, protocol configuration information and
The protocol-identifier and the corresponding relation of the protocol configuration information.
Wherein, the management system in collection module 41 can be Visualized management system.
Wherein, the management system in collection module 41 may be mounted in computer, mobile terminal or work station.
Wherein, configuration module 42 is specifically for the configuration database according to current newest protocol configuration data.
Wherein, import modul 43 is specifically for importing current newest protocol configuration data to Access Layer so that Access Layer has
There is routing management function.
Wherein, matching module 45 specifically for the protocol-identifier in the request instruction of front end in current newest agreement
The protocol configuration information matched with protocol-identifier is found in configuration data.
Referring to Fig. 5, Fig. 5 is another embodiment structural representation of protocol management system of distributed network system (DNS) of the present invention
Figure.An embodiment is different from, the protocol management system 40 of distributed network system (DNS) described in present embodiment also includes:Regularly
Module 47.
Time block 47 is used to set predetermined time interval to excite import modul timing to import protocol configuration data to connecing
Enter layer.
Wherein, time block 47 is current newest to excite import modul timing to import specifically for setting predetermined time interval
Protocol configuration data to Access Layer.
Referring to Fig. 6, Fig. 6 is the protocol management system a further embodiment structural representation of distributed network system (DNS) of the present invention
Figure.An embodiment is different from, the protocol management system 40 of distributed network system (DNS) described in present embodiment also includes:Monitoring
Module 48.
Monitoring modular 48 is used to monitor whether protocol configuration data change in real time, and is monitoring protocol configuration data
When changing, the protocol configuration data that import modul is imported after changing are excited to be used as protocol configuration data.
In present embodiment, according to newest protocol configuration data configuration database, and importing Access Layer has Access Layer
Have routing management function, according to front end receiver to request instruction in protocol-identifier in current newest protocol configuration data
The protocol configuration information matched with protocol-identifier is found, and is sent front end request instruction according to the protocol configuration information of matching
To corresponding business background server to perform corresponding business, produce, manage and update newest by management system due to unified
Protocol configuration data, in this way, operating procedure can be simplified, the cost of manual maintenance is reduced, operating efficiency is improved.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, is included within the scope of the present invention.