CN101202663A - Method and device for switched network batch making limit data - Google Patents

Method and device for switched network batch making limit data Download PDF

Info

Publication number
CN101202663A
CN101202663A CNA2007101785292A CN200710178529A CN101202663A CN 101202663 A CN101202663 A CN 101202663A CN A2007101785292 A CNA2007101785292 A CN A2007101785292A CN 200710178529 A CN200710178529 A CN 200710178529A CN 101202663 A CN101202663 A CN 101202663A
Authority
CN
China
Prior art keywords
office data
equipment
unit
making
command
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.)
Pending
Application number
CNA2007101785292A
Other languages
Chinese (zh)
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.)
Bright Oceans Inter Telecom Software Research Institute Co Ltd
Original Assignee
Bright Oceans Inter Telecom Software Research Institute 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 Bright Oceans Inter Telecom Software Research Institute Co Ltd filed Critical Bright Oceans Inter Telecom Software Research Institute Co Ltd
Priority to CNA2007101785292A priority Critical patent/CN101202663A/en
Publication of CN101202663A publication Critical patent/CN101202663A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for producing the office data in batch for an exchanging network which includes confirming the device types needed office data making in advance, preparing the office data making order document for each type of device; carrying through office data making on each device according to the following steps after a communication connection is respectively set up with each device needed the office data making; transmitting the office data order in the office data making order document to each device of the device type; acquiring the implement results for each device to carry through the office data order and switching the implement results into the information of preset style and to do feedback to an operating personnel. The invention simultaneously discloses a device for producing the office data in batch for the exchanging network. The invention can carry through operation automatically and needs not too much manual intervention of the operating personnel, thus reducing the working load of the operating personnel and reducing the error rate. The invention has broad universality. For the operating personnel, a device port and the special characteristic of an office data preparing order need not to be considered.

Description

A kind of method and apparatus of switched network batch making limit data
Technical field
The present invention relates to networking technology area, relate in particular to a kind of method and apparatus of switched network batch making limit data.
Background technology
Office data is out all configuration datas that exchange is done, comprise configuration that the equipment disposition that will carry out, butt joint are relevant etc., for example to realize configurations such as EM equipment module, frame, machine frame, veneer, realize that office call continues, realize the interoffice user call proceeding, realize the configuration of office direction that some value-added service etc. carries out, link data, relaying speech channel data, number analysis data, all need to make office data.
Office data making is that a workload is big in the maintenance work of communication network, and very important work, expansion along with network size, the attendant often will carry out the making of identical office data simultaneously to a plurality of equipment, because the configuration correctness of office data to the whether unimpeded significant effects that has of communicating by letter, therefore needs to guarantee the pin-point accuracy of office data making.
The office data making mode of present stage mainly is, after determining to carry out the equipment of office data making, mode with login manually signs in on each equipment successively, make office data in the mode of ordering typing one by one, the shortcoming of this mode is conspicuous: the workload that has increased the staff, inefficiency, and be easy to make a mistake.
Also there is another kind of method of making office data in present stage: the instrument that adopts some equipment producers self to provide carries out the batch making of some office datas.But this instrument all is to develop at the equipment of a certain type is special, that is to say, this instrument can only be suitable for the equipment of a certain type, if do the office data making of all devices, then need to buy this instrument of all producers, cost is higher, and different producer's instruments has different operation interfaces, do not possess versatility, for the office data making personnel, the application characteristic that needs each producer's instrument of study, the Operating Complexity that has increased learning time and carried out office data making.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method and apparatus of switched network batch making limit data, to overcome big, the low problem that occurs mistake easily that reaches of efficient of workload that manual manufacture office data mode is brought, operating platform is made in the personalization that overcoming the different manufacturers batch making limit data simultaneously provides, and brings the problem of learning cost height and complicated operationization.
The method of a kind of switched network batch making limit data provided by the invention is achieved in that
A kind of method of switched network batch making limit data, pre-determine the device type that to carry out office data making, for each kind equipment is prepared the office data making command file, after each equipment that carries out office data making with needs establishes a communications link respectively, each equipment is carried out office data making according to following steps:
Office data order in the office data making command file is sent to successively each equipment of this device type;
Obtain the execution result of each equipment executive board data command, and feed back to operating personnel after converting this execution result to default format information.
Preferably, the interactive communication operation that realizes at per unit by one independently thread finish.
Preferably, carry out office data making in batches, every type equipment is carried out office data making one time at dissimilar equipment.
Preferably, before the office data order is sent to equipment, also comprise:
Check according to the inspection rule that the sets in advance data command syntax format of playing a game.
Preferably, also comprise:
The situation that communicates to connect between detection and each equipment of described the type, feedback is used to indicate the information of johning knot fruit.
Preferably, after each equipment executive board data creating order, obtain command execution results, be saved in the file that preestablishes form.
Preferably, after obtaining the execution result of equipment, if failure is carried out in this execution result indication, then suspend the transmission of follow-up office data order, and feedback is used to indicate the information of carrying out failure.
The present invention also discloses a kind of device of switched network batch making limit data, comprising:
Human and machine interface unit, operating personnel be used to carry out the office data making command file editor, present office data making object information mutual;
Linkage unit comprises a plurality of interfaces, and each interface is corresponding one by one with each equipment, and protocol adaptation;
Communication unit is used for determining that from the order of human and machine interface unit input needs carry out the equipment of office data making according to operating personnel that communicating to connect of connect unit and described equipment carried out information interaction with described equipment;
The command file memory cell is used for preserving and the corresponding office data making command file of various kinds of equipment;
The command file processing unit, comprise a plurality of processing subelements, it is corresponding one by one with each interface in the linkage unit that each handles subelement, be used for choosing and the corresponding office data making command file of device type in described command file memory cell, office data order in this office data making command file is offered communication unit in order, pass to equipment by corresponding interface by this communication unit; The execution result of the equipment that will be passed over by communication unit passes to human and machine interface unit after converting default format information to.
Preferably, to carry out the equipment of office data making be same type equipment to described needs.
Preferably, also comprise:
Thread generates and scheduling unit, generates the thread of respective amount according to the quantity of equipment, is used to call respectively handle subelement and communication unit carries out work.
Preferably, also comprise:
Connect control unit, be used at the execution result that obtains the last office data order of described command file, perhaps receive the order that operating personnel send by human and machine interface unit after, disconnect being connected of linkage unit and this equipment.
Preferably, also comprise:
The command format inspection unit is used for carrying out format checking according to the inspection rule that the sets in advance data command of playing a game, and check result is offered human and machine interface unit, feeds back to operating personnel by human and machine interface unit.
Preferably, office data is carried out format checking is the command triggers that issued by human and machine interface unit by operating personnel to described command format inspection unit.
Preferably, also comprise:
Successfully whether the joint detection unit be used for judging communicating to connect, and the result fed back to human and machine interface unit, offers operating personnel by this human and machine interface unit; Perhaps, regularly judge communication connection status, will connect the result and feed back to human and machine interface unit, offer operating personnel by this human and machine interface unit.
Preferably, also comprise:
The execution result judging unit, be used for type according to Returning equipment, select corresponding judgment rule, the execution result that communication unit obtains is judged, and when failure was carried out in definite execution result indication, the information that transmission is used to indicate time-out to handle the office data order was to the command file processing unit.
From technique scheme as can be known, the present invention classifies the equipment that needs carry out office data making, carry out identical office data making at each class, utilize mode with the corresponding command file of a kind equipment, realize the batch office data making of a kind equipment, when the quantity of each equipment is a lot, will significantly reduce the number of preparing the office data making order.And, when carrying out the making of office data, the office data demanded storage that needs are used is in a command file, can read office data order in this command file successively by Automatic Program ground thus, order sends and carries out office data making one by one, and need not manually typing order one by one of operating personnel by office data making, thereby reduced operating personnel's workload, reduced the probability of makeing mistakes.And, can convert the equipment feedack to consolidation form by Automatic Program and feed back to operating personnel, so for operating personnel, it need not to consider the proprietary feature of equipment interface and office data making order, do not need it to have the specialized knowledge of producer's equipment, reduced thus the requirement of office data making technical level of operators, reduced personnel cost.Compare with the batch making limit data instrument that existing producer provides, the present invention has realized the office data making of all types equipment with unified office data making method and implement device, and operation interface is unified, has more extensive versatility.
Description of drawings
Fig. 1 is the flow chart of the embodiment one of the method for switched network batch making limit data of the present invention;
Fig. 2 is the flow chart of the embodiment two of the method for switched network batch making limit data of the present invention;
Fig. 3 is the flow chart of the embodiment three of the method for switched network batch making limit data of the present invention;
Fig. 4 is the structural representation of the embodiment one of the device of a kind of switched network batch making limit data of the present invention;
Fig. 5 is the structural representation of the embodiment two of the device of a kind of switched network batch making limit data of the present invention;
Fig. 6 is the structural representation of the embodiment three of the device of a kind of switched network batch making limit data of the present invention;
Fig. 7 is the structural representation of the embodiment four of the device of a kind of switched network batch making limit data of the present invention;
Fig. 8 is the structural representation of the human and machine interface unit in the embodiment of the invention.
Embodiment
Because exchange has plurality of devices to realize the telecommunications reciprocal exchange of business, the general manual type that adopts is carried out the making of office data one by one in the prior art on each equipment, cause staff's workload bigger on the one hand, and efficient is lower, is easy on the other hand make mistakes.Though and also there is the method for utilizing special-purpose instrument batch making limit data in present stage, these instruments of making office datas all are at the equipment development of a certain type, do not have the versatility of making office data towards all types equipment.
In order to address the above problem, the invention provides a kind of improved technical scheme, its basic thought is: the equipment of determining to carry out office data making; Establish a communications link with equipment,, obtain the equipment execution result, and feed back after converting default form to each equipment forwarding office data creating order.Before each order sends, the information that office data making command conversion forming apparatus interface can need be discerned is sent to this equipment, then after described equipment is carried out this order, obtain the execution result of each equipment, and feed back after converting this execution result to consolidation form.By that analogy, finish making to all devices office data.Simplify the workload of exchange all devices office data making thus.
For those skilled in the art have better understanding to technical scheme of the present invention, technical scheme of the present invention is described in detail below in conjunction with drawings and Examples.
Please refer to Fig. 1, show the flow chart of embodiment one of the method for switched network batch making limit data of the present invention.
Pre-determine the device type that to carry out office data making, for each kind equipment is prepared the office data making command file, after each equipment that carries out office data making with needs establishes a communications link respectively, each equipment is carried out office data making according to following steps:
Step S101: obtain and the corresponding office data making command file of device type.
Described office data making command file is edited in advance by the staff, writes according to the needs of office data making, wherein comprises many office data command informations.These command informations are that the command syntax information that the operating personnel by office data making can discern according to each equipment is write.
Step S102: each equipment that the office data order in this office data making command file is sent to successively this device type.
Step S103: obtain the execution result of executive board's data command of each equipment, feed back to operating personnel after converting default format information to.
Repeating step S101~S103 finishes up to the office data making of all devices.
In the embodiment of the invention, according to the device type of carrying out office data making, edit corresponding office data making command file in advance, and the mode by the reading order file, extract the office data order in this command file one by one, and send to corresponding apparatus, by equipment executive board's data creating order one by one.Can adaptive plurality of devices type, and realized at a kind equipment the automatic typing of office data making order, read, the purpose of execution and return results.In addition, need not too much meticulous process of manual monitoring, thereby not only reduced staff's workload, and reduced the probability of makeing mistakes.
Need to prove that the equipment that described needs carry out office data making can belong to dissimilar, also can belong to same type.The mode of office data making can be to carry out successively, and also promptly an equipment connects an equipment and carries out, and also can carry out simultaneously.
Suppose and need make identical office data to 100 switches (10 of each producers) that 10 kinds of different manufacturers are made, every equipment need be provided with 20 office data orders, finishes office data making.
If when adopting prior art to carry out the making of office data, at first, sign in on first switch, first switch of manual typing the 1st office data making order can discerning, and obtain the execution result that described first switch carried out the 1st office data making order, the 2nd office data making order of manual again typing, and obtain the execution result of the 2nd office data making order, by that analogy, after 20 office data order setting and being finished, carry out the making of the office data of next switch according to identical method, finish up to 2000 office data makings with 100 switches.In the meantime, operating personnel need finish 100 registers and the transmission of 2000 office datas and obtaining of accordingly result, in addition, because the device type difference, make operating personnel need the different office data order of typing, need the professional of consideration equipment office data making order.Even described switch is the equipment of same type, make by same producer, when operating personnel carry out office data making to it, the command operation of manual typing all is identical, also needs the staff to repeat 100 identical work, this shows, staff's workload is quite heavy, owing to be manual operation, efficient is lower, and is easy to make mistakes simultaneously.
And among the invention described above embodiment, edit 20 office data orders respectively in advance at the command characteristics of 10 kinds of producer's switches and be stored in 10 command files by the office data operating personnel.If adopt the mode successively each equipment is carried out the making of office data, then determine device type after, call office data making command file corresponding with it, wherein 20 office data orders are passed to this equipment successively, carry out office data making.Office data making order typing, the process that reads, carries out and obtain execution result are all carried out automatically, have significantly reduced staff's workload, and efficient is much higher relatively, and is not easy to make mistakes.In addition, can send the less demanding common operating personnel of professional standards to carry out the actual fabrication work of office data, need not to consider the professional of equipment, what also promptly need not to consider to give equipment making office data, because the office data order that needs to use has all been pre-set in command file by the professional.The order of editor's office data can be undertaken by the command operation handbook of consulting each producer, for the validity of certification authority's data creating order, and trial property making in advance, thus the content of command file is decided.When office data making required to have some change, it was just passable directly to revise command file.
But, above-mentioned the mode of carrying out office data making has been realized automation mechanized operation, in order further to increase work efficiency, in the embodiment of the invention, can also realize simultaneously each equipment being carried out office data making, promptly utilize existing concurrent program technology to realize concurrent identical office data making at each equipment of the same type, for example, distributing an independent process is that an equipment is finished the office data making process, distribute N independent process to be respectively N platform equipment and finish the office data making process, N independent process concurrent running; Also can distribute an independent process is that all devices is finished traffic operation (connect, order transmission, carry out and obtain execution result etc.), distributes N separate threads to finish traffic operation for each equipment, or the like.
Suppose that it is T that an equipment is carried out the time that office data making need spend, then adopt the mode of carrying out office data making successively that 100 equipment are carried out office data making, needing the time of cost is 100*T, if and employing concurrent program technology realizes, then Hua Fei time is about T, save the time greatly, improved operating efficiency.
Fig. 3 shows the flow chart of the embodiment of the invention two.
According to the foregoing description, when equipment breaks down can't normally connect the time, operating personnel can't in time go and find out what's going on, each concurrent program still can be according to the normal situation of equipment to equipment forwarding office data command, owing to can not in time obtain execution result, at this moment can only after check execution result, rebulid connection and resend order, so just reduce the efficient of office data making.
Appearance for fear of this situation, present embodiment is on the basis of the foregoing description, whenever at before the kind equipment forwarding office data command, equipment is connected whether normally all add the joint detection program, perhaps equipment connection situation is checked by artificial setting means periodicity ground, when appearance is unusual, send alarm, help operating personnel and understand fast and handling failure.
Present embodiment specifically comprises following steps:
Determining that all need carry out the equipment of identical office data making, and after connecting with described equipment, each stand-alone program all carries out the making of office data according to following steps to each equipment:
Step S201: whether detection is normal with communicating to connect of equipment foundation, if normal, enters step S202; Otherwise, enter step S203.
Step S202: the information to operating personnel's feedback indication successful connection enters step S204.
Step S203: feed back indication to operating personnel and connect the information that unusual or connection failure take place, finish.
Step S204: determine corresponding office data making command file.
Step S205: the office data making order of from this document, taking out a non-selected mistake.Enter step S206.
Step S206: this office data making order is sent to described equipment.
Step S207: obtain the execution result of equipment, feed back after converting consolidation form to, enter step S208 at described office data making order.
Step S208: judge whether executed is finished for owning administration's data command in the described office data making command file, if, enter step S209, otherwise, step S205 entered.
Step S209: disconnection is connected with equipment, enters step S210.
Step S210: the hold-over command execution result, finish.
Command execution results is preserved the file that becomes to preestablish form, as EXCEL, word file, the statistics implementation status, to allow operating personnel know which command execution success, which command execution is failed.
In addition, another kind of mode is, after obtaining the execution result of equipment, judges whether to run succeeded, if unsuccessful, suspends the transmission of next bar office data order, and feedback is used to indicate the information of carrying out failure.After receiving this information, can according to circumstances select to stop this equipment forwarding office data command be that is to say, residue office data order in the command file is not sent, also can according to circumstances set and ignore this mistake, continue to send remaining office data order.
Fig. 4 shows the flow chart of the embodiment of the invention three.
Because described command file is edited in advance by the staff, when comprising a large amount of office data orders in the command file, the situation that office data command format Edit Error probably can occur, the office data order of this format error is for equipment, it is invalid command, if invalid command is sent to equipment, processing time can be wasted, so appearance for fear of this situation, the embodiment of the invention three is on the basis of the foregoing description, office data order in the command file that will set in advance is carried out format checking to this office data order before sending.
Present embodiment specifically may further comprise the steps:
Step S301 is identical to step S205 with step S201 in the foregoing description to step S305, after step S305 finishes, enters step S306.
Step S306: according to the inspection rule that sets in advance format checking is carried out in described office data order, if office data command format mistake enters step S307, otherwise, enter step S308.
The described rule of checking is formulated according to the command format feature of each producer, for example:
If--order line with "; " finish, then this office data command format is correct, otherwise, then be error format;
--if order line is with letter or numeral beginning, and then this office data command format is correct, otherwise, then be error format.
The described rule of checking can be adjusted according to the variation of the command format feature of producer.
Step S307: feedback is used to indicate the information of format error.
Step S308: described office data order is sent to described equipment, enter step S309.
With office data command conversion forming apparatus send to described equipment after the information that can discern.
Step S309: obtain the execution result of equipment, feed back after converting consolidation form to, enter step S310.
Step S310: judge whether executed is finished for owning administration's data command in the described office data making command file, if, enter step S311, otherwise, step S305 entered.
Step S311: disconnection is connected with equipment.
Step S312: hold-over command execution result, and statistics implementation status, finish.
Need to prove, in step S309, after obtaining the execution result of equipment, before the result being converted to consolidation form and feedback, can also judge execution result earlier, if failure is carried out in the execution result indication, then suspend the subsequent operation of follow-up office data order,, then follow-up office data order is sent if indication " continues to send ", if the transmission to follow-up office data order is then cancelled in indication " end ".
Need to prove, present embodiment is selected office data order to be sent to carry out format checking between the equipment in the process of carrying out office data making, and also having a kind of feasible mode in addition is independent before carrying out office data making the owning administration's data command in the office data making command file that edits to be carried out format checking.
The present invention also discloses a kind of device of switched network batch making limit data, please refer to Fig. 5, be the structural representation of the embodiment one of the device of a kind of switched network batch making limit data of the present invention.
The device of switched network batch making limit data comprises: human and machine interface unit 111, linkage unit 112, communication unit 113, command file memory cell 114 and command file processing unit 115.
Function to each unit describes in detail below:
Described human and machine interface unit 111 is used for carrying out information interaction with operating personnel, comprises the command information that receives operating personnel's input, and execution result, alarm or device other information in the process of implementation are shown to operating personnel.
Described linkage unit 112 comprises a plurality of interfaces 1121, and each interface 1121 is corresponding one by one with the equipment that each need carry out office data making, and protocol adaptation.
Described communication unit 113 is used for determining that from the order of human and machine interface unit 111 inputs needs carry out the equipment of office data making according to operating personnel that communicating to connect of connect unit 112 and described equipment carried out information interaction with described equipment.Being connected between described linkage unit 112 and the equipment belongs to physical connection, on this basis, also can't realize communicating by letter between this device and the equipment, so communication unit 113 carries out information interaction by establishing a communications link with equipment.
Described command file memory cell 114 is used for preserving and the corresponding office data making command file of various kinds of equipment, and this office data making order pre-sets.
Described command file processing unit 115, comprise one or more command files and handle subelement 1151, can set up a command file and handle subelement 1151, be used for sequentially handling the office data making command file of a plurality of corresponding distinct device types, also can set up a plurality of command files and handle subelement 1151, can handle the office data making command file of a plurality of corresponding distinct device types simultaneously respectively, these command files are handled subelement 1151 and are used for choosing and the corresponding office data making command file of device type in command file memory cell 114, office data order in this office data making command file extracted offer communication unit 113 in order, pass to equipment by corresponding interface by this communication unit 113; The execution result of the equipment that will be passed over by communication unit 113 is preserved after converting default format information to, and passes to human and machine interface unit 111 simultaneously.
The course of work of this device is as follows:
When a plurality of equipment are carried out office data making, after linkage unit 112 is set up physical connection with each equipment, human and machine interface unit 111 is obtained the information of operating personnel's input, and this information comprises being used in reference to shows device type, the equipment interface identifying information (IP address) in network.The information that communication unit 113 obtains according to human and machine interface unit 111 determines to carry out the equipment of office data making, and establishes a communications link with described equipment.A processing subelement 1151 obtains and the corresponding office data making command file of device type from order file storage unit 112 in the command file processing unit 115, and in order office data order is wherein offered communication unit 113, by this communication unit 113 this office data order is passed to equipment by corresponding interface 1121.After equipment executes the office data order, communication unit 113 gets access to execution result by corresponding interface 1121, and offer corresponding processing subelement 115, described processing subelement 115 offers human and machine interface unit 111 after converting described execution result to default format information, has human and machine interface unit 111 to offer operating personnel.
The embodiment of the invention by office data demanded storage that needs are used in a file, can from this document, read the office data order successively so that carry out subelement 1141 thus, and the office data order offered corresponding device, realized reading automatically purpose with the forwarding office data command.Need not the too much artificial participation of staff, reduce staff's workload, and, the probability of makeing mistakes reduced.And this device is owing to wherein being provided with the interface adaptive with each device protocol, so for operating personnel, need not to consider the professional of equipment.So this device also has the function of the mechanical discipline of masking.
Need to prove that the equipment that described needs carry out office data making can belong to dissimilar, also can belong to same type.The mode of office data making can be to carry out successively, also promptly equipment then an equipment make, also can carry out simultaneously.
Fig. 6 shows the structural representation of embodiment two of the device of a kind of switched network batch making limit data of the present invention.
When a plurality of equipment were carried out office data making, if adopt the mode of carrying out successively, operating efficiency was obviously not high.In order to increase work efficiency, should adopt the mode of carrying out simultaneously, so present embodiment is on the basis of the foregoing description one, having increased thread generates and scheduling unit 116, this thread generates with scheduling unit 116 and generates the thread of respective amount according to the quantity of equipment, is respectively applied for to call respectively to handle subelement 1151 and communication unit 113, linkage unit 112 carry out work.
Fig. 7 shows the structural representation of embodiment three of the device of a kind of switched network batch making limit data of the present invention.
In order to strengthen the error detection function of this device, on the basis of the foregoing description, increase a command format inspection unit 117, be used for command file processing unit 115 being carried out format checking from the office data order that order file storage unit 114 reads according to the inspection rule that sets in advance, and check result offered human and machine interface unit 111, offer operating personnel by described human and machine interface unit 111.
Need to prove that it can be to be triggered by the human and machine interface unit transmitting order to lower levels by operating personnel that format checking is carried out in the office data order that 117 pairs of command file processing units 115 of described command format inspection unit read.Described command format inspection unit 117 can respectively be handled subelement 1151 in the monitor command file process unit 115, when processing subelement 1151 gets access to the office data order, promptly format checking is carried out in this office data order.Also can be initiatively the office data order that gets access to be offered described command format inspection unit 117 by processing subelement 1151 to check.
In addition, this command format inspection unit 117 can also be after this device starts, directly from order file storage unit 114, obtain command file, format checking is carried out in whole office data orders wherein, and check result offered human and machine interface unit 111, offer operating personnel by described human and machine interface unit 111.
The described rule of checking is formulated according to the command format feature of each producer, for example:
If--order line with "; " finish, then this office data command format is correct, otherwise, then be error format;
--if order line is with letter or numeral beginning, and then this office data command format is correct, otherwise, then be error format.
The described rule of checking can be adjusted according to the order request situation of producer's equipment acceptance by modes such as parameter are set at command format inspection unit 117.
Fig. 7 shows the structural representation of embodiment three of the device of a kind of switched network batch making limit data of the present invention.
For the error detection function of further intensifier, on the basis of above-mentioned all embodiment, present embodiment can also comprise joint detection unit 118.
Described joint detection unit 118 is used to judge whether linkage unit 112 is successful with being connected of each equipment, will connect the result and feed back to human and machine interface unit 111, offers operating personnel by this human and machine interface unit 111.Described joint detection unit 118 can by regularly judging the mode of connection status, will connect the result and feed back to human and machine interface unit 111 after described linkage unit 112 connect with equipment, offer operating personnel by this human and machine interface unit 111.The mode that also can before the office data making that carries out a kind equipment each time, connect inspection.
In addition, need to prove that it can also be to trigger by the order that human and machine interface unit 111 issues according to operating personnel that described joint detection unit 118 carries out joint detection.
Described joint detection unit 118 can allow operating personnel in time understand the connection situation, is convenient to the situation that the connection fault occurs is carried out timely, handled targetedly.
On the basis of the foregoing description, the embodiment of the invention can also comprise execution result judging unit 119 (not shown)s, be used for the execution result that communication unit 113 obtains being judged according to default judgment rule, described execution result judging unit 119 is according to the type of Returning equipment, select corresponding judgment rule, the information of being returned by this equipment is carried out analysis and judgement, if carry out failure, then transmission is used to indicate the information of suspending transmission to handling subelement 1151.Described processing subelement 1151 suspends the forwarding office data command after receiving this information, at this moment, receive the instruction that is used to indicate the continuation transmission that operating personnel send by human and machine interface unit 111 if handle subelement 1151, then continue the forwarding office data command, if receive operating personnel by the instruction that is used to indicate the cancellation task that human and machine interface unit 111 sends, then interrupt current office data making to equipment.Described execution result judging unit 119 sends simultaneously and is used to indicate the information of carrying out failure to offer operating personnel by human and machine interface unit 111.
On the basis of above-mentioned all embodiment, the embodiment of the invention can also comprise connection control unit 120 (not shown)s, be used for obtaining the execution result of equipment at the last office data order of described command file, perhaps receive operating personnel by human and machine interface unit 111 send be used to indicate the information of interrupting connecting the time, disconnect being connected of linkage unit 113 and this equipment.
In addition, on the basis of above-mentioned all embodiment, the embodiment of the invention can also comprise command file execution result file storage unit 121 (not shown)s, is used for the data command with owning administration, and the execution result of this office data order correspondence is preserved the file that becomes to preestablish form.
Need to prove, the human and machine interface unit 111 among above-mentioned all embodiment by facility information login interface 1111, order typing interface 1112 and as a result display window 1113 form.Please refer to Fig. 8, be the structural representation of the human and machine interface unit in the embodiment of the invention.
Described facility information login interface 1111 is used to receive the parameter of operating personnel's input, described parameter comprises the identifying information of connection device, described identifying information can be ID, title, the type of equipment, described facility information login interface 1111 offers command file processing unit 115 with the parameter of operating personnel's input, and described command file processing unit 115 knows promptly which the equipment that need connect has.
Described order typing interface 1112 is used to receive the parameter of operating personnel's typing, and described parameter comprises the identifying information and the command information of connection device, and described command information can be the order of cancellation task, also can be to be used to indicate to cancel order that suspends or the like.
Described display window as a result 1113 is used for the output result of display device identifying information, equipment connection status (comprising successful connection and connection failure), office data command execution results and joint detection unit 118, execution result judging unit 119, command file execution result file storage unit 121.
More than disclosed only be preferred implementation of the present invention; but the present invention is not limited thereto; any those skilled in the art can think do not have a creationary variation, and, all should drop in protection scope of the present invention not breaking away from some improvements and modifications of being done under the principle of the invention prerequisite.

Claims (15)

1. the method for a switched network batch making limit data, it is characterized in that, pre-determine the device type that to carry out office data making, for each kind equipment is prepared the office data making command file, after each equipment that carries out office data making with needs establishes a communications link respectively, each equipment is carried out office data making according to following steps:
Office data order in the office data making command file is sent to successively each equipment of this device type;
Obtain the execution result of each equipment executive board data command, and feed back to operating personnel after converting this execution result to default format information.
2. the method for claim 1 is characterized in that, the interactive communication operation that realizes at per unit by one independently thread finish.
3. method as claimed in claim 2 is characterized in that, carries out office data making at dissimilar equipment in batches, and every type equipment is carried out office data making one time.
4. method as claimed in claim 3 is characterized in that, before the office data order is sent to equipment, also comprises:
Check according to the inspection rule that the sets in advance data command syntax format of playing a game.
5. method as claimed in claim 4 is characterized in that, also comprises:
The situation that communicates to connect between detection and each equipment of described the type, feedback is used to indicate the information of johning knot fruit.
6. method as claimed in claim 5 is characterized in that, after each equipment executive board data creating order, obtains command execution results, is saved in the file that preestablishes form.
7. as any described method of claim 1-5, it is characterized in that, after obtaining the execution result of equipment, if failure is carried out in this execution result indication, then suspend the transmission of follow-up office data order, and feedback is used to indicate the information of carrying out failure.
8. the device of a switched network batch making limit data is characterized in that, comprising:
Human and machine interface unit, operating personnel be used to carry out the office data making command file editor, present office data making object information mutual;
Linkage unit comprises a plurality of interfaces, and each interface is corresponding one by one with each equipment, and protocol adaptation;
Communication unit is used for determining that from the order of human and machine interface unit input needs carry out the equipment of office data making according to operating personnel that communicating to connect of connect unit and described equipment carried out information interaction with described equipment;
The command file memory cell is used for preserving and the corresponding office data making command file of various kinds of equipment;
The command file processing unit, comprise a plurality of processing subelements, it is corresponding one by one with each interface in the linkage unit that each handles subelement, be used for choosing and the corresponding office data making command file of device type in described command file memory cell, office data order in this office data making command file is offered communication unit in order, pass to equipment by corresponding interface by this communication unit; The execution result of the equipment that will be passed over by communication unit passes to human and machine interface unit after converting default format information to.
9. device as claimed in claim 8 is characterized in that, the equipment that described needs carry out office data making is same type equipment.
10. device as claimed in claim 9 is characterized in that, also comprises:
Thread generates and scheduling unit, generates the thread of respective amount according to the quantity of equipment, is used to call respectively handle subelement and communication unit carries out work.
11. device as claimed in claim 10 is characterized in that, also comprises:
Connect control unit, be used at the execution result that obtains the last office data order of described command file, perhaps receive the order that operating personnel send by human and machine interface unit after, disconnect being connected of linkage unit and this equipment.
12. device as claimed in claim 11 is characterized in that, also comprises:
The command format inspection unit is used for carrying out format checking according to the inspection rule that the sets in advance data command of playing a game, and check result is offered human and machine interface unit, feeds back to operating personnel by human and machine interface unit.
13. device as claimed in claim 12 is characterized in that:
It is the command triggers that issued by human and machine interface unit by operating personnel that described command format inspection unit carries out format checking to office data.
14. device as claimed in claim 12 is characterized in that, also comprises:
Successfully whether the joint detection unit be used for judging communicating to connect, and the result fed back to human and machine interface unit, offers operating personnel by this human and machine interface unit; Perhaps, regularly judge communication connection status, will connect the result and feed back to human and machine interface unit, offer operating personnel by this human and machine interface unit.
15. device as claimed in claim 14 is characterized in that, also comprises:
The execution result judging unit, be used for type according to Returning equipment, select corresponding judgment rule, the execution result that communication unit obtains is judged, and when failure was carried out in definite execution result indication, the information that transmission is used to indicate time-out to handle the office data order was to the command file processing unit.
CNA2007101785292A 2007-11-30 2007-11-30 Method and device for switched network batch making limit data Pending CN101202663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101785292A CN101202663A (en) 2007-11-30 2007-11-30 Method and device for switched network batch making limit data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101785292A CN101202663A (en) 2007-11-30 2007-11-30 Method and device for switched network batch making limit data

Publications (1)

Publication Number Publication Date
CN101202663A true CN101202663A (en) 2008-06-18

Family

ID=39517644

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101785292A Pending CN101202663A (en) 2007-11-30 2007-11-30 Method and device for switched network batch making limit data

Country Status (1)

Country Link
CN (1) CN101202663A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489244A (en) * 2008-09-25 2009-07-22 中国移动通信集团浙江有限公司 Test method for detecting caller authentication data of short message center
CN102780574A (en) * 2011-05-13 2012-11-14 中国移动通信集团广东有限公司 Service-oriented office data collocation method and device as well as service-oriented office data inspection method and device
CN107249195A (en) * 2017-07-18 2017-10-13 浪潮天元通信信息系统有限公司 Technical scheme of automatic configuration and activation system based on network data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489244A (en) * 2008-09-25 2009-07-22 中国移动通信集团浙江有限公司 Test method for detecting caller authentication data of short message center
CN101489244B (en) * 2008-09-25 2014-01-29 中国移动通信集团浙江有限公司 Test method for detecting caller authentication data of short message center
CN102780574A (en) * 2011-05-13 2012-11-14 中国移动通信集团广东有限公司 Service-oriented office data collocation method and device as well as service-oriented office data inspection method and device
CN102780574B (en) * 2011-05-13 2015-10-07 中国移动通信集团广东有限公司 The collocation method of the office data of service-oriented, device and check method, device
CN107249195A (en) * 2017-07-18 2017-10-13 浪潮天元通信信息系统有限公司 Technical scheme of automatic configuration and activation system based on network data

Similar Documents

Publication Publication Date Title
CN110493079B (en) Production automation test method of industrial Ethernet switch
CN113612654B (en) Vehicle-mounted gateway function test method based on database
CN102043753B (en) Device information setting apparatus and device information setting method
CN114328256A (en) Test method, test device, computer-readable storage medium and electronic equipment
CN114691398A (en) Rule-based fault analysis method, device, equipment and storage medium
CN109379204A (en) Multi-line system firmware upgrade method, computer installation and computer readable storage medium
CN101309178B (en) Parsing method and apparatus for automatic exchanging optical network systematic log information
CN101202663A (en) Method and device for switched network batch making limit data
CN101090339A (en) Method, device and system for service distribution of billi bit passive optical network equipment
CN102916489A (en) Virtual terminal automatic wiring method based on primary system structure of regional power grid
CN110031699B (en) Method and system for testing remote operation function of relay protection device
CN103200067A (en) Dynamic virtual LANs to segregate data
WO1990000339A1 (en) Method of automatically editing data for controlling a processor that carries out distributed control and a system using the same
CN111459517A (en) Master-slave equipment online program upgrading method under optical fiber ring network architecture
CN113543185B (en) Automatic-opening-assistance-based 5G high-density base station rapid operation method and system
CN103200052A (en) Wireless accessing building service device and self-networking method thereof
CN102332948A (en) Method and system for controlling main micro/nano satellite communication
CN114095343A (en) Disaster recovery method, device, equipment and storage medium based on double-active system
CN101478427B (en) Method for accelerating PBT tunnel failure fast switching
CN105630634A (en) Application system disaster recovery backup switching method and device
CN112557801A (en) Synchronous testing method and system for multiple relay protection devices
JPH06300808A (en) Method for inspecting cable wiring
CN101582055A (en) Serial port takeover method and device
CN110012109A (en) Method for establishing engineering information capable of realizing high accuracy
CN103905455A (en) Communication protocol platform and access method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20080618