Background technology
Along with the development of electronic information technology and popularizing of network, the new and high technologies such as monitoring have been applied to each field of national economy.Particularly along with the popularizing of network, remote control technology also is widely used, such as forest fire protection monitoring, traffic administration etc.And along with the continuous expansion of guarded region, the quantity of the headend equipment that supervisory control system is required is also more and more, and often supervisory control system has the headend equipment of One's name is legion, and therefore how these headend equipments being managed becomes very important problem.For example, the a lot of headend equipment of certain monitoring system platform management, the user is before using these headend equipments, at first need server platform can identify these headend equipments, that is to say need to be at the key message of these actual headend equipments of platform configuration, when the management of these headend equipment receiving platforms, platform is confirmed whether correct identity of headend equipment according to these key messages, has or not and carries out professional authority.If headend equipment is a lot of like this, before business was set up, the user just needed the information of the equipment of configuration corresponding number, makes system identification equipment, remembers action.For example can configure headend equipment and will trigger one of following three kinds of operations when the wrong brush of people gate inhibition is arranged, for example realtime graphic is played to video wall, sends note to the keeper or starts video recording.Be in above-mentioned three kinds of operations one according to the position of supervisory control system needs or headend equipment with the business configuration of headend equipment.Along with the quantity of headend equipment in the supervisory control system is more and more huger, the work of this configuration is very difficult beyond doubt for the keeper.
In addition, even if after to these headend equipment configurations, also may the business of these headend equipments be reconfigured or revise, as re-starting configuration to some equipment now, for example three kinds of above-mentioned interlocks are made up, so that in case there is people's mistake to brush certain gate inhibition, will cause that closing on video camera turns to gate inhibition's presetting bit, and eject one road video at administrative client, and start video recording simultaneously, and send the generation of short message notification event to the keeper.Make it possess this three kinds of functions if change the configuration of all video cameras of platform management, such workload also is very large.
Therefore, the shortcoming that prior art exists is can't realize in video monitoring system the configuration information batch configuration, thereby causes keeper's management workload very large, and operating efficiency is not high.
Summary of the invention
Purpose of the present invention is intended to solve at least one of above-mentioned technological deficiency, particularly solves the defective that can't realize in the prior art the configuration information batch configuration.
For achieving the above object, one aspect of the present invention proposes the method for batch configuration information in a kind of video monitoring system, may further comprise the steps: the type according to headend equipment creates at least one global template table and corresponding global template table sign in database, and in described global template table, adding the global template of the headend equipment of at least a model in the type headend equipment, described global template comprises facility information that this model headend equipment is total and the sign of described global template; When the configuration information of configuration headend equipment, device type according to described headend equipment is set up the headend equipment information table corresponding with described global template table, and the model of judging the described headend equipment that needs configuration whether with create described global template table in the model of global template identical, include all configuration informations of the type headend equipment in the wherein said headend equipment information table; If judge that model is identical, the sign of the global template that then the mark headend equipment is corresponding in described headend equipment information table, and configure the distinctive configuration information of described headend equipment; If judge that model is not identical, then in described global template table, add the corresponding global template of model of described headend equipment, and utilize the global template that adds to set up corresponding headend equipment information table; After setting up described headend equipment information table, issue and generate order, in database, generate corresponding configuration data.
As one embodiment of the present of invention, described headend equipment information table also comprises the sign that whether is suitable for global template.
As one embodiment of the present of invention, the IP address of headend equipment and/or the sign of described headend equipment generate by preset rules described in the described headend equipment information table.
As one embodiment of the present of invention, the global eyes that is designated telecommunications of described headend equipment, the wide visual field of Netcom or self-defining rule.
As one embodiment of the present of invention, the user also comprises: when need to revise the total type information of certain headend equipment that adopts described global template table, foundation is for the headend equipment additional information table of described headend equipment, and described headend equipment additional information table comprises sign and the amended type information of described headend equipment.
The present invention also proposes the device of batch configuration information in a kind of video monitoring system on the other hand, comprise global template table preservation module, headend equipment information table logging modle and configuration data generation module, described global template table is preserved module, be used for preserving the global template table corresponding with the headend equipment type, described global template table has unique global template table sign, and the global template of headend equipment that includes at least a model of type headend equipment in the described global template table, described global template comprise facility information that this model headend equipment is total and the sign of described global template; Described headend equipment information table logging modle, be used for when the configuration information of configuration headend equipment, the device type record headend equipment information table corresponding with described global template table according to described headend equipment, wherein, all configuration informations that include the headend equipment of the type in the described headend equipment information table, when the model of the global template in the model of the headend equipment of need configurations and the described global template table that has created is identical, then mark is stated the sign of global template corresponding to headend equipment to some extent in described headend equipment information table, and record the distinctive configuration information of described headend equipment, when not identical, in described global template table, add the corresponding global template of model of described headend equipment, and utilize the global template that adds to set up corresponding headend equipment information table; Described configuration data generation module, be used for after receiving the generation order, in database, generate corresponding configuration data in conjunction with the described global template table of preserving in the described global template table preservation module and the described headend equipment information table of described headend equipment information table logging modle record.
As one embodiment of the present of invention, described headend equipment information table also comprises the sign that whether is suitable for global template.
As one embodiment of the present of invention, the IP address of headend equipment and/or the sign of described headend equipment generate by preset rules described in the described headend equipment information table.
As one embodiment of the present of invention, the global eyes that is designated telecommunications of described headend equipment, the wide visual field of Netcom or self-defining rule.
As one embodiment of the present of invention, also comprise the additional information table logging modle, being used for record needs to revise the headend equipment additional information table of certain headend equipment that adopts described global template table, and described headend equipment additional information table includes sign and the amended type information of described headend equipment.
The present invention is by the setting of global template table, simplified the layoutprocedure of user's bulk information, and so that type and model all the configuration information of identical headend equipment generate easier, the present invention has also optimized the mode of the headend equipment information of storing in the database, thereby can improve the search efficiency to headend equipment.
The aspect that the present invention adds and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Embodiment
The below describes embodiments of the invention in detail, and the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, only be used for explaining the present invention, and can not be interpreted as limitation of the present invention.
The present invention mainly is the global template table by arranging, so that the keeper can call the global template in the corresponding global template table when configuration headend equipment information, thereby simplified the layoutprocedure of user to headend equipment information so that type and model all the configuration information of identical headend equipment generate easier.
In order clearer understanding to be arranged to the present invention, below type and the model of headend equipment made an explanation.The type of described headend equipment refers to different types of headend equipment, and such as video camera and alarm etc., yet for the headend equipment of same kind, the headend equipment of same kind also may have different models, has A such as video camera
1-A
nDeng Multiple Type, its facility information of the video camera of these different models (as looking the information such as audio frequency parameter, video standard) also may be different.Therefore create in the present invention the global template table of a correspondence for one type headend equipment (such as video camera), include global template corresponding to a plurality of different model video cameras in this global template table, the corresponding unique sign of each global template, each global template include the facility information that audio frequency parameter, video standard and image size etc. have of looking of this model video camera.
As shown in Figure 1, the flow chart for the method for batch configuration information in the video monitoring system of the present invention may further comprise the steps:
Step S101, type according to headend equipment creates at least one global template table and corresponding global template table sign in database, and in the global template table, add the global template of the headend equipment of at least a model in the type headend equipment, and comprise facility information that this model headend equipment is total and the sign of global template in the global template.For example there is polytype headend equipment in the supervisory control system, such as video camera, alarm etc., so just needing respectively is respectively the global template table that these two kinds of headend equipments are set up a correspondence, and for its unique template identification of setting up correspondence, for example can be described as video camera template table and alarm template table.As shown in Figure 2, the video camera template table of setting up in database for the embodiment of the invention.After setting up the global template table, also need in this global template table, to add corresponding global template according to the model of video camera, wherein each global template in the global template table also has unique identification, the shared device information that also has model 1 and model 2 such as this global template of Fig. 2, the audio frequency parameter of looking such as model video camera of the same race, video standard, some hardware-related information such as picture size.
Preferably, the present invention can set up the global template table corresponding with all types of headend equipments as much as possible before dispatching from the factory, the user directly selects corresponding global template table to get final product in use like this, even the model of the headend equipment that global template is corresponding is incomplete, also can allow the user in the global template table of correspondence, to add.
Step S102, when the configuration information of supervisory control system administrator configurations headend equipment, model according to headend equipment is set up the headend equipment information table corresponding with sharing template table, namely this headend equipment information table is corresponding with above-mentioned global template table, and for example the global template table of video camera is to there being the video camera information table; The global template table of same alarm is to there being the annunciator message table.The below is described as an example of the headend equipment information table of setting up video camera example, and the information table of other headend equipments can be with reference to following example.As shown in Figure 3, schematic diagram for one embodiment of the invention video camera information table, the configuration information that includes the whole video cameras in this supervisory control system in the video camera information table needs at first when typing video camera information table to judge whether type and the model of the headend equipment that needs configuration be identical with type and the model of the global template that has created.The headend equipment that configures in this example is video camera, therefore only needing this moment relatively, the model of video camera gets final product, when the video camera model of need configurations and shared template identical, the sign of the global template that the mark headend equipment is corresponding in the headend equipment information table (as shown in Figure 3), as one embodiment of the present of invention, also can comprise the sign that whether is suitable for global template, and configure the distinctive configuration information of this video camera, sign such as this video camera, the IP address, the distinctive parameters such as domain information and MAC (Media Access Control, medium access control) address.If judge that type and model are not identical, then can't use global template, therefore need the supervisory control system keeper in the video camera information table, to configure all configuration informations of this video camera.When the model of the video camera model of need configurations and shared template is not identical, then in video camera global template table, adds the corresponding global template of model of video camera, and utilize the global template that adds to set up the video camera information table of correspondence.
As a preferred embodiment of the present invention, the IP address of headend equipment and/or the sign of headend equipment generate by preset rules in the headend equipment information table.For example need to configure 10 video cameras, this moment, administrator just specifies was inputted the sum of the video camera of required configuration, the video camera information record that video camera is designated 1-10 then will appear in the headend equipment information table, this moment, the keeper just need not the sign of typing video camera, further improved the efficient of administrator configurations.Wherein, as an alternative embodiment of the invention, the sign of headend equipment can be wide visual field or the self-defining rule of the global eyes of telecommunications, Netcom.
Step S103, when the user need to revise the total type information of certain headend equipment that adopts the global template table, the content that namely need revise belongs to the content of the global template of this headend equipment employing, then set up the headend equipment additional information table for headend equipment, this headend equipment additional information table comprises sign and the amended type information of headend equipment.As shown in Figure 4, be the schematic diagram of embodiment of the invention headend equipment additional information table.For example, 3 attributes (A, B, C) are arranged in the global template of certain model headend equipment, if the user uses this global template to add 100 equipment, each these three attributes of these 100 equipment are (A, B, C) so; If at this moment the user need to change the B attribute of one of them or several headend equipments be D, if revise global template, then the attribute of these 100 equipment all can change, this moment, the user can make amendment by additional information table.For example, in additional information table, increased a record, comprised (A, D, C).Adopt the method, the information of global template is not changed, and namely the user re-uses 100 equipment of this template interpolation, and these three attributes of newly-increased equipment are (A, B, C) still.
Step S104 issues and generates order, generates corresponding configuration data in database.Above-mentioned global template table, headend equipment information table and the headend equipment additional information table mutual call relation in database can be referring to shown in Figure 5.
As shown in Figure 6, structure chart for the device of batch configuration information in the video monitoring system of the present invention, the device of batch configuration information comprises global template table preservation module 110, headend equipment information table logging modle 120 and configuration data generation module 130 in this video monitoring system.The global template table is preserved module 110 and is used for preserving the global template table corresponding with the headend equipment type, this global template table has unique global template table sign, and the global template of headend equipment that includes at least a model of type headend equipment in the global template table, this global template comprise facility information that this model headend equipment is total and the sign of global template.Headend equipment information table logging modle 120 is used for when the configuration information of configuration headend equipment, the device type record headend equipment information table corresponding with sharing template table according to described headend equipment, wherein, all configuration informations that include the headend equipment of the type in the headend equipment information table, when the model of the model of the headend equipment of need configurations and the global template that has created is identical, then in the headend equipment information table, be marked with the sign of global template corresponding to headend equipment, and the distinctive configuration information of record headend equipment, when not identical, all configuration informations of record headend equipment in the headend equipment information table.Configuration data generation module 130 is used for after receiving the generation order, generates the configuration data of correspondence in database in conjunction with the headend equipment information table of the global template table of preserving in the global template table preservation module 110 and headend equipment information table logging modle 120 records.Wherein, as one embodiment of the present of invention, the headend equipment information table also can comprise the sign that whether is suitable for global template.
As one embodiment of the present of invention, the IP address of headend equipment and/or the sign of described headend equipment generate by preset rules described in the described headend equipment information table.Wherein, the wide visual field of the global eyes that is designated telecommunications of headend equipment, Netcom or self-defining rule.
As one embodiment of the present of invention, said apparatus also comprises additional information table logging modle 140, being used for record needs to revise the headend equipment additional information table of certain headend equipment that adopts described global template table, and the headend equipment additional information table includes sign and the amended type information of headend equipment.
The present invention is by the setting of global template table, simplified the layoutprocedure of user's bulk information, and so that type and model all the configuration information of identical headend equipment generate easier, the present invention has also optimized the mode of the headend equipment information of storing in the database, thereby can improve the search efficiency to headend equipment.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is by claims and be equal to and limit.