CN104158565B - A kind of method and apparatus of carrier equipment management - Google Patents

A kind of method and apparatus of carrier equipment management Download PDF

Info

Publication number
CN104158565B
CN104158565B CN201410385694.5A CN201410385694A CN104158565B CN 104158565 B CN104158565 B CN 104158565B CN 201410385694 A CN201410385694 A CN 201410385694A CN 104158565 B CN104158565 B CN 104158565B
Authority
CN
China
Prior art keywords
terminal equipment
carrier terminal
configuration information
carrier
registrable
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
CN201410385694.5A
Other languages
Chinese (zh)
Other versions
CN104158565A (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.)
SHENZHEN SENSEGRID Co Ltd
Shenzhen Power Supply Bureau Co Ltd
Original Assignee
SHENZHEN SENSEGRID Co Ltd
Shenzhen Power Supply Bureau 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 SHENZHEN SENSEGRID Co Ltd, Shenzhen Power Supply Bureau Co Ltd filed Critical SHENZHEN SENSEGRID Co Ltd
Priority to CN201410385694.5A priority Critical patent/CN104158565B/en
Publication of CN104158565A publication Critical patent/CN104158565A/en
Application granted granted Critical
Publication of CN104158565B publication Critical patent/CN104158565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses the method for a kind of carrier equipment management, comprise main carrier machine and receive respectively from the master slave communication protocol message that carrier terminal equipment sends; Wherein, this message comprises source, object device id number; Judge whether No. ID, the source device received is empty; If so, then, after the sequence number of acquisition being compared with the white list table preset respectively, determine registrable each from carrier terminal equipment and relevant information, and respectively issue configuration information from carrier terminal equipment to registrable and be increased to from node listing; If not, then according to No. ID, the source device received, obtaining from node listing respectively from the configuration information synchronous situation of carrier terminal equipment, and determining issue new configuration information or keep former configuration information.The present invention can at not sabotage of electrical power equipment strip of paper used for sealing or the situation opening equipment cabinet and device interoperability, remote auto configuration and management carrier equipment, and the software data of auto-update carrier equipment, its workload is little, efficiency is high and save a large amount of man power and materials.

Description

A kind of method and apparatus of carrier equipment management
Technical field
The present invention relates to electric power carrier communication technology field, particularly relate to the method and apparatus of a kind of carrier equipment management.
Background technology
Carrier communication equipment is usually installed together with power equipment (as ammeter etc.) in site of deployment, and these power equipments usually for accuracy consideration or security consideration, are sticked strip of paper used for sealing or are locked in corresponding equipment cabinet and cannot directly contact.Increasing newly or moving or removing often due to power equipment mounting points, and carrier communication equipment needs corresponding increase or migration or removes, although these carrier communication equipments can interconnect in new mounting points and master network, but need other configuration (as serial communication parameter, serial port data forwarding destination parameter etc.) of field modification, its shortcoming is: workload is large, efficiency is low, wastes a large amount of man power and materials.
Meanwhile, when designing or due to artificial carelessness or due to other reasons, may there is the design mistake necessarily do not discovered in the software that every platform carrier communication equipment runs, and during system commencement of commercial operation, these mistakes may be found and need corrigendum; Also likely due to design at the beginning of inconsiderate, its design function can not meet the new needs proposed afterwards, need site of deployment to operating software carry out renewals upgrade.Therefore be installed together power equipment with carrier communication equipment, often mean and need to destroy strip of paper used for sealing or open equipment cabinet, be difficult to even accept concerning inconvenience user.
Summary of the invention
The technical problem to be solved of the embodiment of the present invention is the management method and the device that provide a kind of carrier equipment, can at not sabotage of electrical power equipment strip of paper used for sealing or when opening equipment cabinet and interconnect at carrier equipment, remote auto configuration and management carrier equipment, and the software data of auto-update carrier equipment, its workload is little, efficiency is high and save a large amount of man power and materials.
In order to solve the problems of the technologies described above, embodiments provide the method for a kind of carrier equipment management, for a main carrier machine and multiple system interconnected from carrier terminal equipment, described method comprises:
Described main carrier machine receives respectively from the master slave communication protocol message that carrier terminal equipment sends; Wherein, master slave communication protocol message comprises No. ID, source device and object device id number;
Receive described in judgement each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends be whether empty;
If, then obtain described respectively from the sequence number of carrier terminal equipment, after each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively, determine registrable each from carrier terminal equipment and described registrable each relevant information from carrier terminal equipment, and registrable respectively issue corresponding configuration information from carrier terminal equipment to described, and registrable be respectively increased to from node listing from carrier terminal equipment by described; Wherein, describedly described registrable each device id from carrier terminal equipment number, hour of log-on, configuration information synchronous situation and communication time is comprised from node listing;
If not, what then receive described in basis is each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends, from node listing, described each configuration information synchronous situation from carrier terminal equipment is obtained described, and according to the described each configuration information synchronous situation from carrier terminal equipment obtained, determine issue new configuration information or keep former configuration information;
Wherein, what receive described in described basis is each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends, from node listing, described each configuration information synchronous situation from carrier terminal equipment is obtained described, and according to the described each configuration information synchronous situation from carrier terminal equipment obtained, determine to issue new configuration information or keep the concrete steps of former configuration information to comprise:
According to described receive each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends, described default obtain from node table described respectively from the configuration information synchronous situation of carrier terminal equipment;
When the described each configuration information synchronous situation from carrier terminal equipment obtained is synchronous, keep described respectively from the former configuration information of carrier terminal equipment;
When the described each configuration information synchronous situation from carrier terminal equipment obtained is asynchronous, to described nonsynchronous new configuration information respectively issuing correspondence from carrier terminal equipment, and judge whether to receive described nonsynchronous each confirmation message sent from carrier terminal equipment;
If not, then from node table, obtain described nonsynchronous each communication time corresponding from carrier terminal equipment described, and described nonsynchronous respectively from next interval communication time that carrier terminal equipment is corresponding, re-issue described nonsynchronous respectively from the new configuration information that carrier terminal equipment is corresponding; If so, then revision described from described in node listing nonsynchronous respectively from the configuration information synchronous situation of carrier terminal equipment be synchronous.
Wherein, described reception respectively from carrier terminal equipment send master slave communication protocol message step before, described method comprises further:
Obtain described respectively from the sequence number of carrier terminal equipment, and respectively distribute corresponding device id number from carrier terminal equipment according to the described sequence number obtained to described;
According to the described each sequence number from carrier terminal equipment obtained and the device id number be assigned to, preset white list table, and according to the described device id number be respectively assigned to from carrier terminal equipment, preset described each configuration information from carrier terminal equipment and be stored to configuration information database.
Wherein, described acquisition is described respectively from the sequence number of carrier terminal equipment, after each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively, determine registrable each from carrier terminal equipment and described registrable each relevant information from carrier terminal equipment, and registrable respectively issue corresponding configuration information from carrier terminal equipment to described, and described registrable each to be increased to from carrier terminal equipment is comprised from the concrete steps node listing:
Obtain described respectively from the sequence number of carrier terminal equipment, and each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively;
When each sequence number from carrier terminal equipment of described acquisition is all described default white list table, determine described be respectively from carrier terminal equipment registrable from carrier terminal equipment, and according to described registrable each sequence number from carrier terminal equipment, in described default white list table, find described registrable each device id number corresponding from carrier terminal equipment, and obtain described registrable each relevant information from carrier terminal equipment;
According to the described described registrable each device id number corresponding from carrier terminal equipment found, in the configuration information database preset, obtain described registrable each configuration information corresponding from carrier terminal equipment and issue, and according to receiving the situation of described registrable each confirmation message from carrier terminal equipment transmission, determine described registrable each information configuration synchronous situation from carrier terminal equipment;
Registrable to be respectively increased to described from node listing from carrier terminal equipment.
Wherein, the described situation according to receiving described registrable each confirmation message from carrier terminal equipment transmission, determine that the concrete steps of described registrable each information configuration synchronous situation from carrier terminal equipment comprise:
When not receiving described registrable each confirmation message from carrier terminal equipment transmission, then determine that described registrable each configuration information synchronous situation from carrier terminal equipment is asynchronous;
When receiving described registrable each confirmation message from carrier terminal equipment transmission, then determine that described registrable each configuration information synchronous situation from carrier terminal equipment is synchronously.
Wherein, described method comprises further:
During the configuration information respectively preset from carrier terminal equipment when the change of described main carrier machine is described, revision described from described in node listing respectively from the configuration information synchronous situation of carrier terminal equipment be asynchronous.
Wherein, described method comprises further:
Detect described respectively from the software and hardware version information of carrier terminal equipment, and the software issuing renewal is to described each from carrier terminal equipment.
Wherein, described method comprises further:
In the time threshold preset, do not receive some or multiple master slave communication protocol message sent from carrier terminal equipment always, then determine described some or multiple from carrier terminal equipment off-line, and delete from node listing described.
Embodiments provide the device of a kind of carrier equipment management, for a main carrier machine and multiple system interconnected from carrier terminal equipment, described device comprises:
Receiving element, receives respectively from the master slave communication protocol message that carrier terminal equipment sends for main carrier machine; Wherein, master slave communication protocol message comprises No. ID, source device and object device id number;
Judging unit, for receive described in judging each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends whether be empty;
Newly-increased unit, described respectively from the sequence number of carrier terminal equipment for obtaining, after each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively, determine registrable each from carrier terminal equipment and described registrable each relevant information from carrier terminal equipment, and registrable respectively issue corresponding configuration information from carrier terminal equipment to described, and registrable be respectively increased to from node listing from carrier terminal equipment by described; Wherein, describedly described registrable each device id from carrier terminal equipment number, hour of log-on, configuration information synchronous situation and communication time is comprised from node listing;
Dispensing unit, each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends for what receive described in basis, from node listing, described each configuration information synchronous situation from carrier terminal equipment is obtained described, and according to the described each configuration information synchronous situation from carrier terminal equipment obtained, determine issue new configuration information or keep former configuration information;
Wherein, dispensing unit comprises further: acquisition module, configuration keep module, configuration distributing and judge module, configuration retransmit module and synchronously revise module;
Acquisition module, each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends for what receive described in basis, described default obtain from node table described respectively from the configuration information synchronous situation of carrier terminal equipment;
Configuration keeps module, for when described in each configuration information synchronous situation from carrier terminal equipment of obtaining be synchronous time, keep described each former configuration information from carrier terminal equipment;
Configuration distributing and judge module, for when described in each configuration information synchronous situation from carrier terminal equipment of obtaining be asynchronous time, to described nonsynchronous new configuration information respectively issuing correspondence from carrier terminal equipment, and judge whether to receive described nonsynchronous each confirmation message sent from carrier terminal equipment;
Configuration retransmit module, for obtaining described nonsynchronous each communication time corresponding from carrier terminal equipment described from node table, and described nonsynchronous respectively from next interval communication time that carrier terminal equipment is corresponding, re-issue described nonsynchronous respectively from the new configuration information that carrier terminal equipment is corresponding;
Synchronous revision module, for revise described from described in node listing nonsynchronous respectively from the configuration information synchronous situation of carrier terminal equipment be synchronous.
Wherein, described device comprises further:
Allocation units, described respectively from the sequence number of carrier terminal equipment for obtaining, and respectively distribute corresponding device id number from carrier terminal equipment according to the described sequence number obtained to described;
Preset unit, for each sequence number from carrier terminal equipment obtained described in basis and the device id number be assigned to, preset white list table, and according to the described device id number be respectively assigned to from carrier terminal equipment, preset described each configuration information from carrier terminal equipment and be stored to configuration information database.
Implement the embodiment of the present invention, there is following beneficial effect:
In embodiments of the present invention, because main carrier machine can differentiate the registration from carrier terminal equipment, and according to the master slave communication protocol message sent from carrier terminal equipment, obtain respectively from the configuration information synchronous situation of carrier terminal equipment, determine issue new configuration information or keep former configuration information, and detect respectively from the software and hardware version information of carrier terminal equipment, and issue renewal software give respectively upgrade from carrier terminal equipment, realize at not sabotage of electrical power equipment strip of paper used for sealing or when opening equipment cabinet, remote auto configuration and management carrier equipment, and the software data of auto-update carrier equipment, its workload is little, efficiency is high and save a large amount of man power and materials.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, the accompanying drawing obtaining other according to these accompanying drawings still belongs to category of the present invention.
The flow chart of the method for the carrier equipment management that Fig. 1 provides for the embodiment of the present invention;
The connection diagram of the carrier communication network that Fig. 2 provides for the embodiment of the present invention;
The fundamental diagram of the carrier equipment layoutprocedure that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the system of the carrier equipment management that Fig. 4 provides for the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, in the embodiment of the present invention, propose the method for a kind of carrier equipment management, for a main carrier machine and (it is connected as shown in Figure 2) multiple system interconnected from carrier terminal equipment, described method comprises:
Step S101, described main carrier machine receive respectively from the master slave communication protocol message that carrier terminal equipment sends; Wherein, master slave communication protocol message comprises No. ID, source device and object device id number;
Before step S101, the method also comprises: step S201, obtain respectively from the sequence number of carrier terminal equipment, and is respectively distributed corresponding device id number from carrier terminal equipment according to the sequence number obtained; And
Step S202, according to each sequence number from carrier terminal equipment of obtaining and the device id number be assigned to, preset white list table, and according to each device id number be assigned to from carrier terminal equipment, preset and be respectively also stored to configuration information database from the configuration information of carrier terminal equipment.
In the embodiment of the present invention, main carrier machine and each from carrier terminal equipment when dispatching from the factory, all by the sequence number of burning 8 bytes, this sequence number has uniqueness and power down is not lost.
The master slave communication protocol message respectively sent from carrier terminal equipment includes but not limited to No. ID, source device, object device id number.As an example, the master slave communication protocol message sent from carrier terminal equipment comprises IP address, sequence number (this is from carrier terminal equipment), No. ID, source device (namely this is from No. ID, carrier terminal equipment), object device id number (i.e. No. ID, main carrier machine), data communication port, communication time, check code, data length etc.Respectively from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends be 2 bytes, it corresponds to the device id number be respectively assigned to from 8 byte sequence number that carrier terminal equipment is unique according to it at main carrier machine, object device id number is 2 bytes, correspond to the device id number of main carrier machine, it is 0 that the device id number of this main carrier machine is fixedly installed.
In advance by device id number that the Sequence number maps of each 8 bytes from carrier terminal equipment is 2 bytes on main carrier machine, and set up sequence number and device id number corresponding white list table, white list table comprises: sequence number and device id number, number name of its device id is general from 1, increase progressively one by one, simultaneously with device id number for index, set up main carrier machine to being stored in configuration information database from the configuration information of carrier terminal equipment, this configuration comprises: device id number, serial ports attribute, serial port data forwarding destination information etc.Now, white list table and configuration information database are all kept in the Flash of main carrier machine, certainly also preserve the configuration information of main carrier machine.
Step S102, judge described in receive each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends be whether empty; If so, then next step S103 is performed; If not, then step S104 is performed;
Be specially, because the distribution of device id number is main carrier machine, therefore in view of from carrier terminal equipment with main carrier machine first time communicate time initial condition be there is no device id number, it carries out addresses communications by agreements such as IP, IPX, thus from carrier terminal equipment send master slave communication protocol message No. ID, source device be likely sky, main carrier machine realizes different operations by according to its judged result.
Step S103, obtain described respectively from the sequence number of carrier terminal equipment, after each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively, determine registrable each from carrier terminal equipment and described registrable each relevant information from carrier terminal equipment, and registrable respectively issue corresponding configuration information from carrier terminal equipment to described, and described registrable each relevant information from carrier terminal equipment is increased to from node listing; Wherein, describedly described registrable each device id from carrier terminal equipment number, hour of log-on, configuration information synchronous situation and communication time is comprised from node listing;
Detailed process is, one, needs respectively submit logon message to from carrier terminal equipment, in this logon message, the sequence number of 8 bytes is unique identification, thus when obtaining each sequence number from carrier terminal equipment, each sequence number from carrier terminal equipment obtained need be compared with the white list table preset respectively;
Two, when each sequence number from carrier terminal equipment obtained is all the white list table preset, determine that these each in white list table are from carrier terminal equipment registrable from carrier terminal equipment, and according to registrable each sequence number from carrier terminal equipment, in the white list table preset, find registrable each device id number corresponding from carrier terminal equipment, and obtain registrable each relevant information from carrier terminal equipment; Certainly, if having from when the sequence number of carrier terminal equipment is not the white list table preset, main carrier machine will refusal those not in white list table from carrier terminal equipment registration because in the white list table of main carrier machine will typing in advance can be allowed to register from carrier terminal equipment; Wherein, respectively from the relevant information of carrier terminal equipment including, but not limited to hour of log-on, communication time, IP address, data receiver port etc.;
Three, according to the registrable each device id number corresponding from carrier terminal equipment found, in the configuration information database preset, obtain registrable each configuration information corresponding from carrier terminal equipment and issue, and according to receiving the situation of registrable each confirmation message from carrier terminal equipment transmission, determine registrable each information configuration synchronous situation from carrier terminal equipment;
Be specially, main carrier machine obtains registrable each configuration information corresponding from carrier terminal equipment and issues in the configuration information database preset, when main carrier machine does not receive registrable each confirmation message from carrier terminal equipment transmission, then determine that registrable each configuration information synchronous situation from carrier terminal equipment is asynchronous; Certainly, main carrier chance is according to registrable each from the communication time the relevant information of carrier terminal equipment, carry out time-out to retransmit, namely perform from step S101, now, registrable respectively may obtain device id number from carrier terminal equipment or there is no device id number, respectively obtain device id number from carrier terminal equipment if registrable, then perform step S104, re-issue configuration information, otherwise perform step S103, re-register;
When main carrier machine receives registrable each confirmation message from carrier terminal equipment transmission, then determine that registrable each configuration information synchronous situation from carrier terminal equipment is synchronously, now, registrable each device id number being obtained correspondence from carrier terminal equipment by configuration information, registrable receive from carrier terminal equipment the configuration information that main carrier machine issues, relevant serial ports attribute is set, and starts business datum transmitting-receiving flow process;
Four, be respectively increased to from node listing from carrier terminal equipment by registrable, comprise according to from registrable each from the information such as the aforementioned device id obtained of carrier terminal equipment number, hour of log-on, configuration information synchronous situation and communication time of the attributes section Auto-writing of node listing;
What receive described in step S104, basis is each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends, from node listing, described each configuration information synchronous situation from carrier terminal equipment is obtained described, and according to the described each configuration information synchronous situation from carrier terminal equipment obtained, determine issue new configuration information or keep former configuration information;
Detailed process is, each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends according to what receive, obtains respectively from the configuration information synchronous situation of carrier terminal equipment what preset from node table;
When each configuration information synchronous situation from carrier terminal equipment obtained is synchronous, keep respectively from the former configuration information of carrier terminal equipment;
When each configuration information synchronous situation from carrier terminal equipment obtained is asynchronous, respectively issue corresponding new configuration information from carrier terminal equipment to nonsynchronous, and judge whether to receive nonsynchronous each confirmation message sent from carrier terminal equipment;
If not, then from node table, obtaining nonsynchronous each communication time corresponding from carrier terminal equipment, and nonsynchronous respectively from next interval communication time that carrier terminal equipment is corresponding, re-issuing nonsynchronous respectively from the new configuration information that carrier terminal equipment is corresponding; If so, then revise from node listing nonsynchronous respectively from the configuration information synchronous situation of carrier terminal equipment be synchronous.
In the embodiment of the present invention, when unregistered from carrier terminal equipment, be empty from node listing, only have main carrier machine to allow from carrier terminal equipment registration, and obtain after the relevant information of carrier terminal equipment, be just increased to this from node listing.
When the change of main carrier machine is respectively from the configuration information that carrier terminal equipment is default, revision from node listing respectively from the configuration information synchronous situation of carrier terminal equipment be asynchronous, and in the time threshold preset, main carrier machine does not receive some or multiple master slave communication protocol message sent from carrier terminal equipment always, then determine the one or more from carrier terminal equipment off-line, and deleting from node listing, when the one or more again communicate with main carrier machine from carrier terminal equipment with main carrier machine time, need to re-register and just can get permission to obtain configuration information.
Main carrier machine detects respectively from the software and hardware version information of carrier terminal equipment further, to respectively issuing version querying request from carrier terminal equipment, according to each software and hardware version information then responding the machine from carrier terminal equipment, issue the software of renewal to respectively upgrading from carrier terminal equipment, main carrier machine loads agreement by principal and subordinate and new edition file piecemeal is sent to one by one each from carrier terminal equipment, respectively from after carrier terminal equipment receives new edition file, carries out School Affairs inspection, verification by then upgrading local program, and re-registers after restarting equipment.
As shown in Figure 3, for the fundamental diagram of the carrier equipment layoutprocedure that the embodiment of the present invention provides, its operation principle is main carrier machine power-up initializing, management staff logs in this main carrier machine and is configured, comprise configuration main carrier machine, configuration information database white list table being set and associating with from carrier terminal equipment, after configuration successful by above-mentioned all Set up-conservancy in the Flash of main carrier machine;
Long-range from carrier terminal equipment and the built vertical internet of main carrier machine, start from carrier terminal equipment, should from carrier terminal equipment power-up initializing, master slave communication protocol message will be sent to main carrier machine and determine whether this needs registration from carrier terminal equipment, when being judged to register, registration request will be sent to main carrier machine from carrier terminal equipment, main carrier machine is by white list table and should determine to allow to register still to refuse to register from the sequence number of carrier terminal equipment, when registration is got permission, relevant information should be registered from carrier terminal equipment to main carrier machine, and be increased to from node listing.Main carrier machine finds corresponding configuration information to issue in configuration information database, after main carrier machine receives the confirmation message sent from carrier terminal equipment, determines configuration successful, should be now synchronous from the configuration information synchronous situation of carrier terminal equipment from node listing.
When in main carrier machine change configuration information database from the configuration information of carrier terminal equipment time, accordingly from node listing, finding this from the configuration information synchronous situation of carrier terminal equipment and to revise this configuration information asynchronous, now, find this from carrier terminal equipment according to device id number, issue this new configuration information and obtain this confirmation message sent from carrier terminal equipment.
As shown in Figure 4, the embodiment of the present invention additionally provides the device of a kind of carrier equipment management, for a main carrier machine and (it is connected as shown in Figure 2) multiple system interconnected from carrier terminal equipment, this device comprises: receiving element 110, judging unit 120, newly-increased unit 130 and dispensing unit 140;
Receiving element 110, receives respectively from the master slave communication protocol message that carrier terminal equipment sends for main carrier machine; Wherein, master slave communication protocol message comprises No. ID, source device and object device id number;
Judging unit 120, for receive described in judging each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends whether be empty;
Newly-increased unit 130, described respectively from the sequence number of carrier terminal equipment for obtaining, after each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively, determine registrable each from carrier terminal equipment and described registrable each relevant information from carrier terminal equipment, and registrable respectively issue corresponding configuration information from carrier terminal equipment to described, and registrable be respectively increased to from node listing from carrier terminal equipment by described; Wherein, describedly described registrable each device id from carrier terminal equipment number, hour of log-on, configuration information synchronous situation and communication time is comprised from node listing;
Dispensing unit 140, each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends for what receive described in basis, from node listing, described each configuration information synchronous situation from carrier terminal equipment is obtained described, and according to the described each configuration information synchronous situation from carrier terminal equipment obtained, determine issue new configuration information or keep former configuration information.
Wherein, device comprises further:
Allocation units 150, described respectively from the sequence number of carrier terminal equipment for obtaining, and respectively distribute corresponding device id number from carrier terminal equipment according to the described sequence number obtained to described;
Preset unit 160, for each sequence number from carrier terminal equipment obtained described in basis and the device id number be assigned to, preset white list table, and according to the described device id number be respectively assigned to from carrier terminal equipment, preset described each configuration information from carrier terminal equipment and be stored to configuration information database.
Wherein, device comprises further:
Updating block, described respectively from the software and hardware version information of carrier terminal equipment for detecting, and the software issuing renewal is to described each from carrier terminal equipment.
Wherein, dispensing unit 140 comprises further: acquisition module, configuration keep module, configuration distributing and judge module, configuration retransmit module and synchronously revise module;
Acquisition module, for each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends according to what receive, obtains respectively from the configuration information synchronous situation of carrier terminal equipment what preset from node table;
Configuration keeps module, for when each configuration information synchronous situation from carrier terminal equipment obtained is synchronous, keeps respectively from the former configuration information of carrier terminal equipment;
Configuration distributing and judge module, for when each configuration information synchronous situation from carrier terminal equipment obtained is asynchronous, respectively issue corresponding new configuration information from carrier terminal equipment to nonsynchronous, and judge whether to receive nonsynchronous each confirmation message sent from carrier terminal equipment;
Configuration retransmit module, for obtaining nonsynchronous each communication time corresponding from carrier terminal equipment from node table, and nonsynchronous respectively from next interval communication time that carrier terminal equipment is corresponding, is re-issuing nonsynchronous respectively from the new configuration information that carrier terminal equipment is corresponding;
Synchronous revision module, for revise from node listing nonsynchronous respectively from the configuration information synchronous situation of carrier terminal equipment be synchronous.
Implement the embodiment of the present invention, there is following beneficial effect:
In embodiments of the present invention, because main carrier machine can differentiate the registration from carrier terminal equipment, and according to the master slave communication protocol message sent from carrier terminal equipment, obtain respectively from the configuration information synchronous situation of carrier terminal equipment, determine issue new configuration information or keep former configuration information, and detect respectively from the software and hardware version information of carrier terminal equipment, and issue renewal software give respectively upgrade from carrier terminal equipment, realize at not sabotage of electrical power equipment strip of paper used for sealing or when opening equipment cabinet, remote auto configuration and management carrier equipment, and the software data of auto-update carrier equipment, its workload is little, efficiency is high and save a large amount of man power and materials.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in the read/write memory medium of controller, described storage medium, as ROM/RAM etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a method for carrier equipment management, for a main carrier machine and multiple system interconnected from carrier terminal equipment, it is characterized in that, described method comprises:
Described main carrier machine receives respectively from the master slave communication protocol message that carrier terminal equipment sends; Wherein, master slave communication protocol message comprises No. ID, source device and object device id number;
Receive described in judgement each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends be whether empty;
If, then obtain described respectively from the sequence number of carrier terminal equipment, after each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively, determine registrable each from carrier terminal equipment and described registrable each relevant information from carrier terminal equipment, and registrable respectively issue corresponding configuration information from carrier terminal equipment to described, and registrable be respectively increased to from node listing from carrier terminal equipment by described; Wherein, describedly described registrable each device id from carrier terminal equipment number, hour of log-on, configuration information synchronous situation and communication time is comprised from node listing;
If not, what then receive described in basis is each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends, from node listing, described each configuration information synchronous situation from carrier terminal equipment is obtained described, and according to the described each configuration information synchronous situation from carrier terminal equipment obtained, determine issue new configuration information or keep former configuration information;
Wherein, what receive described in described basis is each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends, from node listing, described each configuration information synchronous situation from carrier terminal equipment is obtained described, and according to the described each configuration information synchronous situation from carrier terminal equipment obtained, determine to issue new configuration information or keep the concrete steps of former configuration information to comprise:
According to described receive each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends, described default obtain from node table described respectively from the configuration information synchronous situation of carrier terminal equipment;
When the described each configuration information synchronous situation from carrier terminal equipment obtained is synchronous, keep described respectively from the former configuration information of carrier terminal equipment;
When the described each configuration information synchronous situation from carrier terminal equipment obtained is asynchronous, to described nonsynchronous new configuration information respectively issuing correspondence from carrier terminal equipment, and judge whether to receive described nonsynchronous each confirmation message sent from carrier terminal equipment;
If not, then from node table, obtain described nonsynchronous each communication time corresponding from carrier terminal equipment described, and described nonsynchronous respectively from next interval communication time that carrier terminal equipment is corresponding, re-issue described nonsynchronous respectively from the new configuration information that carrier terminal equipment is corresponding; If so, then revision described from described in node listing nonsynchronous respectively from the configuration information synchronous situation of carrier terminal equipment be synchronous.
2. the method for claim 1, is characterized in that, described reception respectively from carrier terminal equipment send master slave communication protocol message step before, described method comprises further:
Obtain described respectively from the sequence number of carrier terminal equipment, and respectively distribute corresponding device id number from carrier terminal equipment according to the described sequence number obtained to described;
According to the described each sequence number from carrier terminal equipment obtained and the device id number be assigned to, preset white list table, and according to the described device id number be respectively assigned to from carrier terminal equipment, preset described each configuration information from carrier terminal equipment and be stored to configuration information database.
3. the method for claim 1, it is characterized in that, described acquisition is described respectively from the sequence number of carrier terminal equipment, after each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively, determine registrable each from carrier terminal equipment and described registrable each relevant information from carrier terminal equipment, and registrable respectively issue corresponding configuration information from carrier terminal equipment to described, and described registrable each to be increased to from carrier terminal equipment is comprised from the concrete steps node listing:
Obtain described respectively from the sequence number of carrier terminal equipment, and each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively;
When each sequence number from carrier terminal equipment of described acquisition is all described default white list table, determine described be respectively from carrier terminal equipment registrable from carrier terminal equipment, and according to described registrable each sequence number from carrier terminal equipment, in described default white list table, find described registrable each device id number corresponding from carrier terminal equipment, and obtain described registrable each relevant information from carrier terminal equipment;
According to the described described registrable each device id number corresponding from carrier terminal equipment found, in the configuration information database preset, obtain described registrable each configuration information corresponding from carrier terminal equipment and issue, and according to receiving the situation of described registrable each confirmation message from carrier terminal equipment transmission, determine described registrable each information configuration synchronous situation from carrier terminal equipment;
Registrable to be respectively increased to described from node listing from carrier terminal equipment.
4. method as claimed in claim 3, is characterized in that, the described situation according to receiving described registrable each confirmation message from carrier terminal equipment transmission, determines that the concrete steps of described registrable each information configuration synchronous situation from carrier terminal equipment comprise:
When not receiving described registrable each confirmation message from carrier terminal equipment transmission, then determine that described registrable each configuration information synchronous situation from carrier terminal equipment is asynchronous;
When receiving described registrable each confirmation message from carrier terminal equipment transmission, then determine that described registrable each configuration information synchronous situation from carrier terminal equipment is synchronously.
5. the method for claim 1, is characterized in that, described method comprises further:
During the configuration information respectively preset from carrier terminal equipment when the change of described main carrier machine is described, revision described from described in node listing respectively from the configuration information synchronous situation of carrier terminal equipment be asynchronous.
6. the method for claim 1, is characterized in that, described method comprises further:
Detect described respectively from the software and hardware version information of carrier terminal equipment, and the software issuing renewal is to described each from carrier terminal equipment.
7. the method for claim 1, is characterized in that, described method comprises further:
In the time threshold preset, do not receive some or multiple master slave communication protocol message sent from carrier terminal equipment always, then determine described some or multiple from carrier terminal equipment off-line, and delete from node listing described.
8. a device for carrier equipment management, for a main carrier machine and multiple system interconnected from carrier terminal equipment, it is characterized in that, described device comprises:
Receiving element, receives respectively from the master slave communication protocol message that carrier terminal equipment sends for described main carrier machine; Wherein, master slave communication protocol message comprises No. ID, source device and object device id number;
Judging unit, for receive described in judging each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends whether be empty;
Newly-increased unit, described respectively from the sequence number of carrier terminal equipment for obtaining, after each sequence number from carrier terminal equipment of described acquisition is compared with the white list table preset respectively, determine registrable each from carrier terminal equipment and described registrable each relevant information from carrier terminal equipment, and registrable respectively issue corresponding configuration information from carrier terminal equipment to described, and registrable be respectively increased to from node listing from carrier terminal equipment by described; Wherein, describedly described registrable each device id from carrier terminal equipment number, hour of log-on, configuration information synchronous situation and communication time is comprised from node listing
Dispensing unit, each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends for what receive described in basis, from node listing, described each configuration information synchronous situation from carrier terminal equipment is obtained described, and according to the described each configuration information synchronous situation from carrier terminal equipment obtained, determine issue new configuration information or keep former configuration information;
Wherein, dispensing unit comprises further: acquisition module, configuration keep module, configuration distributing and judge module, configuration retransmit module and synchronously revise module;
Acquisition module, each from No. ID, source device the master slave communication protocol message that carrier terminal equipment sends for what receive described in basis, described default obtain from node table described respectively from the configuration information synchronous situation of carrier terminal equipment;
Configuration keeps module, for when described in each configuration information synchronous situation from carrier terminal equipment of obtaining be synchronous time, keep described each former configuration information from carrier terminal equipment;
Configuration distributing and judge module, for when described in each configuration information synchronous situation from carrier terminal equipment of obtaining be asynchronous time, to described nonsynchronous new configuration information respectively issuing correspondence from carrier terminal equipment, and judge whether to receive described nonsynchronous each confirmation message sent from carrier terminal equipment;
Configuration retransmit module, for obtaining described nonsynchronous each communication time corresponding from carrier terminal equipment described from node table, and described nonsynchronous respectively from next interval communication time that carrier terminal equipment is corresponding, re-issue described nonsynchronous respectively from the new configuration information that carrier terminal equipment is corresponding;
Synchronous revision module, for revise described from described in node listing nonsynchronous respectively from the configuration information synchronous situation of carrier terminal equipment be synchronous.
9. device as claimed in claim 8, it is characterized in that, described device comprises further:
Allocation units, described respectively from the sequence number of carrier terminal equipment for obtaining, and respectively distribute corresponding device id number from carrier terminal equipment according to the described sequence number obtained to described;
Preset unit, for each sequence number from carrier terminal equipment obtained described in basis and the device id number be assigned to, preset white list table, and according to the described device id number be respectively assigned to from carrier terminal equipment, preset described each configuration information from carrier terminal equipment and be stored to configuration information database.
CN201410385694.5A 2014-08-07 2014-08-07 A kind of method and apparatus of carrier equipment management Active CN104158565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410385694.5A CN104158565B (en) 2014-08-07 2014-08-07 A kind of method and apparatus of carrier equipment management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410385694.5A CN104158565B (en) 2014-08-07 2014-08-07 A kind of method and apparatus of carrier equipment management

Publications (2)

Publication Number Publication Date
CN104158565A CN104158565A (en) 2014-11-19
CN104158565B true CN104158565B (en) 2016-01-20

Family

ID=51883988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410385694.5A Active CN104158565B (en) 2014-08-07 2014-08-07 A kind of method and apparatus of carrier equipment management

Country Status (1)

Country Link
CN (1) CN104158565B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954504A (en) * 2015-05-05 2015-09-30 浪潮电子信息产业股份有限公司 Method for automatically configuring BMC (baseboard management controller) management IP (internet protocol)
CN115037334B (en) * 2022-06-17 2023-10-31 北京博电互联能源科技有限公司 Carrier communication on-line management system based on power line

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008199322A (en) * 2007-02-13 2008-08-28 Nec Corp Plc modem, dhcp server, automatic display system of network connection information, and its method and program
CN102843331A (en) * 2012-09-14 2012-12-26 深圳市晟思智能电网有限公司 Carrier communication multi-service access platform system and method
CN102832973B (en) * 2012-09-19 2013-10-16 湖南大学 Network accessing method of automatic meter reading system
CN102970372B (en) * 2012-12-04 2015-01-07 威胜集团有限公司 Remote upgrade method for carrier communication module of automatic meter reading system
CN103647627B (en) * 2013-12-11 2016-08-17 国家电网公司 Networking based on carrier wave time service narrows band power line carrier equipment
CN103927862B (en) * 2014-04-30 2017-05-24 威胜集团有限公司 G3 data forwarder and meter recording method for same

Also Published As

Publication number Publication date
CN104158565A (en) 2014-11-19

Similar Documents

Publication Publication Date Title
CN106878459B (en) Self-adaptive Internet of things intelligent gateway implementation method and equipment thereof
CN109861861B (en) Rapid configuration method and system for network communication equipment
CN109995641B (en) Information processing method, computing node and storage medium
CN104838618A (en) Method and apparatus for authenticating access authorization in wireless communication system
CN105577420A (en) Method and system for automatic generation of server network topology
CN110677405A (en) Data processing method and device, electronic equipment and storage medium
CN102523110A (en) Method and device for realizing automatic configuration of equipment with zero configuration
CN101789980A (en) Batch upgrading method based on cluster network
CN101951369A (en) Batch terminal upgrading method and system based on automatic discovery
CN101360121A (en) Authority control method, system and terminal in apparatus management
CN105357330A (en) Method and system for preventing IP address conflict of network devices
CN103888443A (en) Multiprotocol parsing method and multiprotocol parsing system
CN102710436A (en) Network equipment management method, device, relative equipment and system
CN105490826A (en) Configuration management system and method based on automatic discovery
CN105610996A (en) DHCP (Dynamic Host Configuration Protocol) conflict detecting method and device applied to switch
CN101741920A (en) Intelligent terminal communication method and method in cell network
CN102664971B (en) Network address resources management method, system and external address Resource Server
WO2023151428A1 (en) Home all-optical network gateway version upgrading method, electronic device, and storage medium
CN104158565B (en) A kind of method and apparatus of carrier equipment management
CN103581353A (en) Method and system of automatic configuration of gateway device
CN102685265A (en) IP (Internet Protocol) address managing method, equipment and system
CN103888435A (en) Service admission control method, device and system
CN102685273A (en) Address allocation method for intelligent equipment
CN104519145A (en) An address resource managing method, system and DHCP server
CN104935614B (en) Data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant