Specific embodiment
To keep the purposes, technical schemes and advantages of the application embodiment clearer, implement below in conjunction with the application
The technical solution in the application embodiment is clearly and completely described in attached drawing in mode, it is clear that described reality
The mode of applying is a part of embodiment of the application, rather than whole embodiments.Based on the embodiment in the application, ability
Domain those of ordinary skill every other embodiment obtained without creative efforts, belongs to the application
The range of protection.
As shown in Figure 1, the application Dynamic Configuration first embodiment includes:
S1: parameter monitors end and monitors node, judges whether to receive node configuration data update message.
Monitoring end includes at least one of database, equipment, network communication server and application server, monitors end prison
The node listened includes at least one in database node, device node, network communication server node and application server node
It is a.
Configuration data includes the configuration data of database node, the configuration data of device node, network communication server section
At least one of configuration data and the configuration data of application server of point.The configuration data of database node includes database
Connecting quantity, Database Connection Parameters include in the Internet protocol address, port numbers and database account number cipher of database
At least one.The configuration data of network communication server node includes network communication server Connecting quantity, network communication services
Device Connecting quantity includes at least one of Internet protocol address and port numbers of the communication server.The configuration number of device node
According to including equipment operating parameter, equipment operating parameter includes data acquisition parameters, power configuration parameter, programmable logic controller (PLC)
At least one of parameter, field programmable gate array parameter, mm-wave imaging configuration parameter and millimeter wave transceiving configuration parameter.
Equipment is rays safety detection apparatus or other equipment related with safety check.
Parameter monitors the configuration data that end calls observation interface to monitor node, after node configuration data is updated, parameter
It monitors end to judge whether to receive node configuration data update message, configuration data update message is monitored end for notifying parameters and matched
Data are set to be updated.
S2: if the determination result is YES, then the update configuration data of node is obtained.
Determine to have received database node, device node, network communication server node and answer if parameter monitors end
With any one or more node configuration data update messages in server node, then data-interface is obtained by calling and obtained
Take the update configuration data of the node.The update configuration data of node can repeatedly be obtained, if desired stop obtaining, then it can be by
User setting stops after stopping or being arranged manually acquisition preset times, as long as preset times herein are ok for natural number,
And the preset times are configured by user.
Wherein, the update configuration data of node includes in database node, device node and network communication server node
Any one or more updated configuration datas.
S3: the configuration data of the node of storage is updated to update configuration data.
Database can be local data base, or cloud database.Database can store parameter and monitor end and ginseng
The initial data at number configuration end and configuration data is updated to local, can also be uploaded to cloud and saved.Wherein database
Storing data also includes the original configuration data and update configuration data of any one or more nodes.
After parameter monitoring end gets any one or more update configuration datas of any one or more nodes, ginseng
Number monitors end and is updated to the configuration data of database purchase to update configuration data.Parameter is monitored end and can repeatedly be obtained and more
Secondary update, as soon as it can monitor end with every update configuration data for obtaining time arbitrary node, parameter and be updated, it is also available same
The update configuration data of one node reaches preset times, and parameter is monitored end and is updated again, as long as preset times herein are certainly
So number is ok, and the preset times are configured by user.
The application monitors end by parameter and monitors node, judges whether to receive node configuration data update message, if sentencing
Disconnected result be it is yes, then obtain the update configuration data of node, the configuration data of the node of storage be updated to update configuration data.
Monitor end by parameter and monitor each node and judge whether the data of node update, so as to when data need to update from
Dynamic updates the data of each node, without change manually, and then data configuration efficiency and accuracy rate can be improved.
As shown in Fig. 2, the application Dynamic Configuration second embodiment is further limited on the basis of first embodiment
Determining step S2 includes:
S21: parsing node configuration data update message, to obtain the node type and data type that update.
Before parsing node configuration data update message, can be needed by user's manual setting the node type that obtains and
Data type, the node type include database node, device node, network communication server node and application server section
Point, the data type include the configuration data of database node, the configuration data of device node and network communication server node
Configuration data.
Receiving appointing in database node, device node, network communication server node and application server node
After one or more configuration data update message of anticipating, parameter monitors end and parses the configuration data update message, the configuration data
Update message includes the node type and data type updated, therefore parses the message is available to be needed to carry out to which node
It updates, which node remains unchanged and which parameter needs to be updated, which parameter remains unchanged.For example, receiving number
According to the configuration data update message of library node, then the certain Database Connection Parameters that can parse to obtain database node are (as held
Slogan) it needs to be updated.
S22: node type is obtained from network communication server and/or application server and the corresponding update of data type is matched
Set data.
After getting the node type and data type that need to update, parameter monitors end can be from network communication server
Update configuration data corresponding with node type and data type that an acquisition in application server updates, or both from net
The network communication server is obtained from application server again updates configuration data.Wherein, network communication server and/or application service
The corresponding Database Connection Parameters of database node, the corresponding network communication services of network communication server node are stored in device
Device Connecting quantity, the corresponding equipment operating parameter of device node, corresponding configuration data of application server etc..
As shown in figure 3, the application Dynamic Configuration 3rd embodiment is further limited on the basis of second embodiment
Determining step S1 includes:
S11: judge whether that receiving network communication server and/or application server services transmission by zookeeper
Notification event.
Zookeeper is distributed, open source code a distributed application program coordination service, is an open source
It realizes, it is the manager of cluster, and the state that monitor each node in cluster carries out in next step according to the feedback that node is submitted
Reasonable operation.
Parameter monitors the configuration data that node is monitored at end, and after node configuration data is updated, parameter, which monitors end judgement, is
No any one notice thing sent by zookeeper service received in network communication server and application server
Part, or judge whether to receive the notice thing that network communication server and application server are sent by zookeeper service
Part.
S12: if the determination result is YES, then determine to receive node configuration data update message.
If any one for judging whether to receive in network communication server and application server is taken by zookeeper
The result for the notification event that business is sent is yes, or judges whether that receiving network communication server and application server passes through
Zookeeper service send notification event be it is yes, then critical parameter monitoring reception has arrived node configuration data update message.
As shown in figure 4, the application Dynamic Configuration fourth embodiment is further limited on the basis of second embodiment
Determining step S1 includes:
S10: the parameter for being integrated in display work station monitors end and monitors network communication server node and device node.
S11: it is integrated in the parameter monitoring end monitoring network communication server node for sentencing figure work station.
S12: the parameter for being integrated in network communication server monitors end monitored data library node.
S13: the parameter for being integrated in application server monitors end monitored data library node.
Integrated (SI, System Integration) is the comprehensive wiring system and computer network skill by structuring
Each isolated equipment (such as PC), function and information are integrated into the system for being mutually related, unifying and coordinating by art
Among, so that resource is reached abundant shared, realizes concentration, efficient, easily management.It is integrated integrated, BSV liquid crystal to be spelled using function
Connect a variety of integrated technologies such as integrated, comprehensive wiring, system integrating, software interface be integrated.
Parameter monitors end and is integrated in display work station, sentences in figure work station, network communication server and application server.Collection
The network communication server Connecting quantity of end monitoring network communication server node is monitored at the parameter in display work station and is set
The equipment operating parameter of slave node;It is integrated in the network for sentencing the parameter monitoring end monitoring network communication server node of figure work station
Communication server Connecting quantity;The parameter for being integrated in network communication server monitors the database connection of end monitored data library node
Parameter;The parameter for being integrated in application server monitors the Database Connection Parameters of end also monitored data library node.
All snoop procedures can carry out simultaneously, can also carry out (such as Fig. 4 according to the sequence of S10-S11-S12-S13
It is shown), or carried out according to any combination sequence of S10, S11, S12 and S13, which can be configured by user
Or random combine.
One rays safety detection apparatus is at least equipped with a display work station and two are sentenced figure work station.When more rays safety detection apparatus of installation
When, sentence figure work station just and have it is multiple, the system that display work station is connected with rays safety detection apparatus also have it is multiple, every sentence figure work station,
Every display work station and every rays safety detection apparatus all have parameter and monitor end, for monitoring the parameter of connected other equipment more
New situation, to be automatically updated in time when parameter needs to update.
As shown in figure 5, the 5th embodiment of the application Dynamic Configuration includes:
S4: parameter configuration end receives configuration data more new command, and configuration data more new command includes node type and update
Configuration data.
Parameter configuration end can be set in network server or application server, or parameter configuration is both arranged
End.
After user's logging in network server or application server, desktop application client or web application visitor can be passed through
The page at family end is configured and changes to node type and configuration data, can also in the application of terminal to node type and
Configuration data is updated to be configured and change.Node type and the display mode for updating configuration data can be list display,
It can be other display modes, be not specifically limited herein.
Specifically, in one embodiment, user logs in application server by browser, and change display work station is matched
After data are set to update configuration data, browser generates configuration parameter more new command, is sent to parameter configuration end.
Optionally, the configuration data of each equipment, parameter configuration can be preserved in network server or application server
After termination receives configuration parameter more new command, the configuration parameter more new command can parse, obtain the node type for needing to update
With update configuration data, then the correspondence of preservation is revised as to update configuration number to the correspondence configuration data of the equipment of node type
According to.
Parameter configuration end can create node by creation interface, by deleting interface deletion of node, set up data-interface
Storing data is in node.The quantity of node can be arranged in device node according to the quantity of equipment, can be an equipment pair
Answer a node, or the corresponding node of multiple devices is not specifically limited herein.
S5: monitoring end sending node configuration data update message to parameter, monitors the section that end updates storage with trigger parameter
The configuration data of the corresponding node of vertex type.
After parameter configuration end receives configuration data more new command, the update of end sending node configuration data is monitored to parameter and is disappeared
Breath, notifying parameters are monitored end configuration data and have been updated, and parameter, which monitors end, at this time can obtain corresponding section according to the update message
The updated configuration data of point, updates the correspondence configuration data of corresponding node, such as the corresponding database of more new database node
The corresponding network communication server Connecting quantity of Connecting quantity, network communication server node equipment corresponding with device node
At least one parameter or data of at least one node in operating parameter and the corresponding configuration data of application server.
As shown in fig. 6, the application Dynamic Configuration sixth embodiment is further limited on the basis of five embodiments
Determining step S5 includes:
S51: end sending node is monitored to parameter by network communication server and/or application server and is matched in parameter configuration end
Set data update message.
Parameter configuration end connects network communication server and/or application server, passes through network communication server and application
Server monitors end sending node configuration data update message to parameter, or is only monitored by network communication server to parameter
Sending node configuration data update message is held, or sending node configuration data in end is only monitored to parameter by application server
Update message, user, which can be set, both to be sent message by network communication server or application server, or passes through
Message could be sent together.
As shown in fig. 7, the application parameter monitoring one embodiment of end includes:
Telecommunication circuit 10 interconnected and processor 20;
Update configuration data of the telecommunication circuit 10 for receiving node configuration data update message and acquisition node.
Processor 20 is used to receive the node configuration data update message by telecommunication circuit 10 and obtains the node
Update configuration data and execute instruction, to realize any of first to fourth embodiment of the application terminal Dynamic Configuration
And method provided by the combination not conflicted arbitrarily.
20 control parameter of processor monitors the operation at end, and processor 20 can also be known as CPU (Central Processing
Unit, central processing unit).Processor 20 may be a kind of IC chip, the processing capacity with signal.Processor 20
It can also be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array
(FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.General processor
It can be microprocessor or the processor be also possible to any conventional processor etc..
Parameter is monitored end and be may further include memory (being not drawn into figure), and memory works for storage processor 20
Necessary instruction and data.
In other embodiments, it can also include the other components such as display screen, keyboard depending on specific requirements which, which monitors end,
It is not specifically limited herein.
As shown in figure 8, one embodiment of the application parameter configuration end includes:
Telecommunication circuit 30 interconnected and processor 40;
The telecommunication circuit 30 is for receiving configuration data more new command and sending node configuration data update message.
Processor 40 is used to receive configuration data more new command by telecommunication circuit 30 and sending node configuration data updates
Message simultaneously executes instruction, with realize the application terminal Dynamic Configuration the 5th to any of sixth embodiment and it is any not
Method provided by the combination of conflict.
40 control parameter of processor configures the operation at end, and processor 40 can also be known as CPU (Central Processing
Unit, central processing unit).Processor 40 may be a kind of IC chip, the processing capacity with signal.Processor 40
It can also be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array
(FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.General processor
It can be microprocessor or the processor be also possible to any conventional processor etc..
Parameter configuration end may further include memory (being not drawn into figure), and memory works for storage processor 40
Necessary instruction and data.
In other embodiments, which can also include the other components such as display screen, keyboard depending on specific requirements,
It is not specifically limited herein.
As shown in figure 9, one embodiment of the application network communication server includes:
Telecommunication circuit 50 interconnected and processor 60;
The telecommunication circuit 50 is used for the notification event sent by zookeeper service.
The processor 60 is used to send notification event by telecommunication circuit 50 and execute instruction, which controls network
The operation of the communication server.
Network communication server may further include memory (being not drawn into figure), and memory is used for storage processor 60
Instruction and data necessary to work.
Network communication server can be private name server, or cloud server.
As shown in Figure 10, one embodiment of the application application server includes:
Telecommunication circuit 70 interconnected and processor 80;
The telecommunication circuit 70 is used for the notification event sent by zookeeper service.
The processor 80 is used to send notification event by telecommunication circuit 70 and execute instruction, the processor 80 control application
The operation of server.
Application server may further include memory (being not drawn into figure), and memory works for storage processor 80
Necessary instruction and data.
Similarly, application server can be private name server, or cloud server.
As shown in Figure 10, device 90 one embodiment of the application with store function includes:
It is stored with program data 901, program data 901 can be performed to realize in the application Dynamic Configuration method
Any one and any method provided by the combination that does not conflict.Had according to the size of program data 901 to be stored
Blank cell is selected in the device 90 for having store function, storage unit, which refers to, can theoretically store certain amount byte
Memory space, blank cell refer to the storage unit of the blank of not stored data.According to program data 901 to be stored
Size selects blank cell, so that the size of the memory space of blank cell can store program number to be stored
According to 901.
Wherein, portable storage media such as USB flash disk, CD be can be with the device 90 of store function, be also possible to terminal,
Server or the individual components that can be integrated in terminal or server, such as chip etc..
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the patents of the application, all to utilize this
Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field similarly includes in the scope of patent protection of the application.