CN107451294A - A kind of data interactive method and device - Google Patents

A kind of data interactive method and device Download PDF

Info

Publication number
CN107451294A
CN107451294A CN201710707214.6A CN201710707214A CN107451294A CN 107451294 A CN107451294 A CN 107451294A CN 201710707214 A CN201710707214 A CN 201710707214A CN 107451294 A CN107451294 A CN 107451294A
Authority
CN
China
Prior art keywords
target
data file
attribute
data
interface control
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.)
Granted
Application number
CN201710707214.6A
Other languages
Chinese (zh)
Other versions
CN107451294B (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.)
Beijing Runke General Technology Co Ltd
Original Assignee
Beijing Runke General Technology 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 Beijing Runke General Technology Co Ltd filed Critical Beijing Runke General Technology Co Ltd
Priority to CN201710707214.6A priority Critical patent/CN107451294B/en
Publication of CN107451294A publication Critical patent/CN107451294A/en
Application granted granted Critical
Publication of CN107451294B publication Critical patent/CN107451294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/93Document management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of data interactive method and device, this method includes:Data file is obtained, the data file belongs to interface control document or schematic diagram;If data file belongs to the interface control document, the mark identical target theory figure for whether having with the data file in principle chart database is judged;When with target theory figure described in the mark identical with the data file, according to target theory figure described in the data file update;If data file belongs to the schematic diagram, judge whether have in interface control document database and the mark identical target interface of data file control document;When with document is controlled with target interface described in the data file identical, document is controlled according to target interface described in the data file update.Therefore the present invention program ensure that the data consistency of the interface control document and the schematic diagram in principle chart database in interface control document database.

Description

A kind of data interactive method and device
Technical field
The present invention relates to Complex Electronic Systems Based design field, more particularly to a kind of data interactive method and device.
Background technology
Currently, in ICD (Interface Control Document) designs and CHS (Capital Harness System) during wire harness cable designs, wire harness cable is mainly designed to by designer's human interpretation ICD designs Interface control document, then design meets the schematic diagram of above-mentioned document in CHS design module.Wherein, interface control document It is the technology text of the function of interface signal, technical characteristic and operation instruction between definition and the equipment for describing composition air line Part.CHS is the specialty line cable bundles design software kit for aiming at the exploitation of the fields such as Aeronautics and Astronautics, vehicle, is covered from system Level design, logical design to strand design, manufacture, the complete line cable bundles engineering flow of analysis.
Inventor is in the research process discovery to prior art:In the design process, if there is the interface of ICD designs , it is necessary to ICD design when controlling the CHS schematic diagrams and inconsistent interface control document that document needs to change or designer designs Personnel and CHS designer link up repeatedly, to ensure the uniformity of interface control document and CHS schematic diagrams.The process of communication The work load of designer is not only increased, and the transmission efficiency and accuracy rate of data can be reduced.
The content of the invention
In order to solve the above technical problems, the embodiments of the invention provide a kind of data interactive method and device, to ensure to connect The uniformity of mouth control document and schematic diagram, technical scheme are as follows:
A kind of data interactive method, including:
Data file is obtained, the data file belongs to interface control document or schematic diagram;
If the data file belongs to the interface control document, judge whether have and the number in principle chart database According to the mark identical target theory figure of file, when with mark identical target theory figure with the data file, root According to target theory figure described in the data file update;
Whether if the data file belongs to the schematic diagram, sentencing in interface control document database has and the data The mark identical target interface control document of file, when with literary with target interface control described in the data file identical During shelves, document is controlled according to target interface described in the data file update.
Preferably, before the target theory figure according to the data file update, in addition to:
Determine the first variance data of the data file and the target theory figure;
The renewal request of generation first, the first renewal request carry first variance data;
Judge whether to receive the positive response to the described first renewal request;
If so, perform according to the data file update the step of target theory figure;
Or, before the target interface control document according to the data file update, in addition to:
Determine the data file and the second variance data of target interface control document;
The renewal request of generation second, the second renewal request carry second variance data;
Judge whether to receive the positive response to the described second renewal request;
If so, perform the step of target interface controls document according to the data file update.
Preferably, the first variance data of the data file and the target theory figure is determined, including:
Will be in the attribute of each equipment in the data file and the target theory figure, with each equipment The attribute of mark identical equipment is matched, to determine that the first object that attribute changes in the target theory figure is set Standby, the attribute includes the crosslinking relation of equipment;
Using the mark of the first object equipment and first object attribute as first variance data, first mesh Mark attribute is the attribute that the first object equipment changes;
Or, the data file and the second variance data of the interface control document are determined, including:
By the attribute of each equipment in the data file and the target interface control it is in document, with it is described each The attribute of the mark identical equipment of equipment is matched, to determine that attribute in target interface control document changes Second target device, the attribute include the crosslinking relation of equipment;
Using the mark of second target device and the second objective attribute target attribute as second variance data, second mesh Mark attribute is the attribute that second target device changes.
Preferably, the target theory figure according to the data file update, including:
The attribute of the first object equipment in the target theory figure is updated according to the first object attribute;
Or, the target interface according to the data file update controls document, including:
The category of second target device in the target interface control document is updated according to second objective attribute target attribute Property.
Preferably, in addition to:
When without target theory figure described in the mark identical with the data file, create and the data file The corresponding schematic diagram;
Or, when controlling document without target interface described in the mark identical with the data file, establishment and institute State the interface control document corresponding to data file.
A kind of data interaction device, including:
Obtaining unit, for obtaining data file, the data file belongs to interface control document or schematic diagram;
First judging unit, if belonging to interface control document for the data file, judge be in principle chart database The no mark identical target theory figure having with the data file;
First updating block, for being determined when first judging unit with the mark identical with the data file During target theory figure, according to target theory figure described in the data file update;
Second judging unit, determine that the data file belongs to schematic diagram for first judging unit, judge interface Control whether to have in document database and control document with the mark identical target interface of the data file;
Second updating block, for being connect when second judging unit determines to have with the data file identical target During mouth control document, document is controlled according to target interface described in the data file update.
Preferably, in addition to:
First determining unit, for before first updating block updates the target theory figure, determining the number According to the first variance data of file and the target theory figure;
First generation unit, for generating the first renewal request, the first renewal request carries first difference Data;
3rd judging unit, for judging whether to receive the positive response to the described first renewal request;
First execution unit, for determining to receive the positive response when the 3rd judging unit, perform according to institute The step of stating target theory figure described in data file update;
Or, also include:
Second determining unit, for according to the data file update target interface control document before, it is determined that The data file and the second variance data of target interface control document;
Second generation unit, for generating the second renewal request, the second renewal request carries second difference Data;
4th judging unit, for judging whether to receive the positive response to the described second renewal request;
Second execution unit, for determining to receive the positive response when the 4th judging unit, perform according to institute State the step of target interface described in data file update controls document.
Preferably, first determining unit, including:
First matching unit, for by the attribute of each equipment in the data file and the target theory figure , matched with the attribute of the mark identical equipment of each equipment, to determine that attribute is sent out in the target theory figure The first object equipment for changing, the attribute include the crosslinking relation of equipment;
First determination subelement, for using the mark and first object attribute of the first object equipment as described first Variance data, the first object attribute are the attribute that the first object equipment changes;
Or, second determining unit, including:
Second matching unit, for the attribute of each equipment in the data file and the target interface to be controlled into text It is in shelves, matched with the attribute of the mark identical equipment of each equipment, to determine that it is literary that the target interface controls The second target device that attribute changes in shelves, the attribute include the crosslinking relation of equipment;
Second determination subelement, for using the mark and the second objective attribute target attribute of second target device as described second Variance data, second objective attribute target attribute are the attribute that second target device changes.
Preferably, first updating block, including:
First renewal subelement, for updating described first in the target theory figure according to the first object attribute The attribute of target device;
Or, second updating block, including:
Second renewal subelement, for updating the institute in the target interface control document according to second objective attribute target attribute State the attribute of the second target device.
Preferably, in addition to:
First creating unit, for being determined when first judging unit without identical with the mark of the data file The target theory figure when, create corresponding with data file schematic diagram;
Or, second creating unit, for being determined when second judging unit without the mark with the data file When target interface described in identical controls document, the interface control document corresponding with the data file is created.
Technical scheme provided by the invention, data file is obtained, if having in principle chart database and the data of acquisition text The mark identical target theory figure of part, shows that interface control document corresponding with target theory figure is changed, then foundation Data file is updated to target theory figure;If there is the mark with the data file of acquisition in interface control document database Identical target interface controls document, shows that schematic diagram corresponding with target interface control document is changed, then according to number Target interface control document is updated according to file.Therefore either target theory figure changes or target connects Mouth control document changes, and corresponding interface control document or schematic diagram can be carried out more according to the data file of change Newly, the data of the interface control document and the schematic diagram in principle chart database in interface control document database are ensure that with this Uniformity, in addition, during data consistency is ensured, the communication work of designer is eliminated, not only reduces design The work load of personnel, and improve the transmission efficiency and accuracy rate of data.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
A kind of a kind of schematic flow sheet for data interactive method that Fig. 1 is provided by the embodiment of the present invention;
A kind of another schematic flow sheet for data interactive method that Fig. 2 is provided by the embodiment of the present invention;
A kind of a kind of structural representation for data interaction device that Fig. 3 is provided by the embodiment of the present invention;
A kind of another structural representation for data interaction device that Fig. 4 is provided by the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
Data interactive method provided in an embodiment of the present invention is based on the realization of data interaction interface module, the data interaction interface Module belongs to plug-in unit, for realizing interacting for interface control document design data and managing device and principle diagram design device, its In, the data file transmitted between interface control document design data and managing device and principle diagram design device can be XML format, in practical application, the principle diagram design device is not limited to CHS design devices and CAD design device.
During the interacting of interface control document design and managing device and principle diagram design device is realized, data connect Mouth mold block can be according to the interface control document design data of acquisition and interface control document file, the calling principle of managing device The interface renderings of G- Design device meet the schematic diagram of the interface control document file.Similarly, data interface module also may be used The schematic diagram of the principle diagram design device obtained with parsing, to obtain interface control document file corresponding with the schematic diagram.
Referring to Fig. 1, Fig. 1 is a kind of a kind of implementation process figure of data interactive method provided in an embodiment of the present invention, institute The method of stating includes:
Step S101, data file is obtained;
Wherein, data file belongs to interface control document or schematic diagram.
If step S102, data file belongs to interface control document, judge whether to have in principle chart database and data The mark identical target theory figure of file, if so, performing step S103;
Although interface control document is different from the document format data of schematic diagram, the mark of the two be it is unique and Identical, the mark can be the name of the two, such as Atmosphere System, navigation system etc..
Step S103, according to data file update target theory figure;
If having mark identical target theory figure with data file in database, illustrate obtain the data file it Before, the schematic diagram of system shown in the mark is depicted in principle diagram design device.
If obtaining the mark identical data file with target theory figure again, illustrate interface corresponding with target theory figure Control document is changed, it is necessary to which corresponding be updated to target theory figure.
If step S104, data file belongs to schematic diagram, judge whether to have in interface control document database and data The mark identical target interface control document of file, if so, performing step S105;
Step S105, document is controlled according to data file update target interface.
If have in interface control document database and control document, explanation with the mark identical target interface of data file Before the data file is obtained, it is shown in the mark with being created in managing device in interface control document design data The interface control document of system.
If obtaining the mark identical data file with target interface control document again, illustrate and target interface control text Interface control document corresponding to shelves is changed, it is necessary to which corresponding be updated to target interface control document.
Technical scheme provided in an embodiment of the present invention, data file is obtained, if having and acquisition in principle chart database The mark identical target theory figure of data file, shows that interface control document corresponding with target theory figure is changed, Then target theory figure is updated according to data file;If there is the data file with acquisition in interface control document database Mark identical target interface control document, show to be changed with the corresponding schematic diagram of target interface control document, then Target interface control document is updated according to data file.Therefore either target theory figure changes still Target interface control document changes, and corresponding interface control document or schematic diagram can be entered according to the data file of change Row renewal, the interface control document in interface control document database and the schematic diagram in principle chart database ensure that with this Data consistency, in addition, during data consistency is ensured, the communication work of designer is eliminated, is not only reduced The work load of designer, and improve the transmission efficiency and accuracy rate of data.
Referring to Fig. 2, Fig. 2 is a kind of another implementation process figure of data interactive method provided in an embodiment of the present invention, Methods described includes:
Step S201, data file is obtained;
If step S202, data file belongs to interface control document, judge whether to have in principle chart database and data The mark identical target theory figure of file, if so, performing step S203, otherwise, perform step S208;
Step S201-S202 implementation procedure is identical with the implementation procedure for the step S101-S102 that above-described embodiment provides, Detailed process about step S201-S202, the above-mentioned description to step S101-S102 is referred to, will not be described here.
Step S203, by mark in the attribute of each equipment in data file and target theory figure, with each equipment The attribute for knowing identical equipment is matched, to determine attribute changes in target theory figure first object equipment;
Attribute includes the crosslinking relation of equipment, and the crosslinking relation of equipment includes the bus of communication between devices and the biography of signal Direction is passed, e.g., equipment 1 transmits a signal to equipment 2 by A buses.
When having the mark identical target theory figure with data file in database, illustrate to have created before needs change The target theory figure built.By taking Atmosphere System as an example, when changing the composition of original Atmosphere System as needed, generation represents change The data file of the interface control document of Atmosphere System afterwards, and according to the data file update target theory figure.Practical application In, change Atmosphere System increases equipment, sweep equipment, increase bus on the basis of being included in original Atmosphere System composition Or delete bus etc..
Step S204, using the mark of first object equipment and first object attribute as the first variance data;
First object equipment can include multiple attributes, i.e. first object equipment has crosslinking relation with multiple equipment, such as First object equipment transmits a signal to equipment 2 by A buses, and such as first object equipment transmits a signal to equipment 2 by B buses Deng.
First object attribute is the attribute to be changed in first object equipment, and e.g., first object equipment transmits a signal to The bus of equipment 2 is become by A buses turns to C buses;
Step S205, the renewal of generation first request;
First renewal request carries the first variance data;
Step S206, judge whether to receive the positive response to the first renewal request, if so, performing step S207;
Before being updated according to data file to target theory figure, in order to ensure renewal accuracy, it is necessary to first really Set the goal the node that attribute in schematic diagram changes, i.e. first object equipment, and according to the mark of first object equipment and The first variance data generation the first renewal request of one objective attribute target attribute composition, when designer makes affirmative to the first renewal request During response, data interface module can be just updated according to the first variance data to target theory figure.
In practical application, the first renewal request can show user with the form that computer system is supported, wherein, institute's exhibition It is poor including making the first virtual push button of positive response, the second virtual push button of negative response and first for user on the interface shown Heteromerism evidence.User can select to click on the first virtual push button or the second virtual push button according to the first variance data, so as to which data connect Mouth mold block can receive different response instructions according to the clicking operation of user.
In addition, as needed, data interface module can not show the first virtual push button and the second virtual push button to user, And renewal target theory figure can be directly forced according to the first variance data, the first variance data can also be cancelled.
Step S207, the attribute of the first object equipment in target theory figure is updated according to first object attribute;
After the positive response of user is received, interface in principle diagram design device can be called, according to first object Attribute updates the attribute of first object equipment.
Step S208, establishment schematic diagram corresponding with data file;
If show to be currently needed for root without the mark identical target theory figure with data file in principle chart database According to data file, the interface of principle diagram design device is called to create schematic diagram corresponding with data file.
If step S209, data file belongs to schematic diagram, judge whether to have in interface control document database and data The mark identical target interface control document of file, if so, performing step S210, otherwise performs step S215;
When having in interface control document database with the mark identical target interface of data file control document, say The bright target interface control document for needing to have created before changing.By taking Atmosphere System as an example, when changing original air as needed During the composition of system, generation represents the data file of the target theory figure of the Atmosphere System after change, and according to the data file Update target interface control document.In practical application, change Atmosphere System can be included in the base of original Atmosphere System composition Increase equipment, sweep equipment, increase bus on plinth or delete bus etc..
Step S210, by the attribute of each equipment in data file and target interface control it is in document, set with each The attribute of standby mark identical equipment is matched, to determine that target interface controls the second mesh that attribute changes in document Marking device;
Attribute includes the crosslinking relation of equipment, and the crosslinking relation of equipment includes the bus of communication between devices and the biography of signal Direction is passed, e.g., equipment 3 transmits a signal to equipment 4 by D buses.
Step S211, using the mark of the second target device and the second objective attribute target attribute as the second variance data, the second target Attribute is the attribute that the second target device changes;
Second target device can include multiple attributes, i.e. the second target device has crosslinking relation with multiple equipment, such as Second target device transmits a signal to equipment 4 by D buses, and such as the second target device transmits a signal to equipment 5 by E buses Deng.
Second objective attribute target attribute is the attribute to be changed in the second target device, and e.g., the second target device transmits a signal to The bus of equipment 4 is become by D buses turns to F buses.
Step S212, the renewal of generation second request;
Second renewal request carries the second variance data;
Step S213, judge whether to receive the positive response to the second renewal request, if so, performing step S214;
Before being updated according to data file to target interface control document, in order to ensure the accuracy of renewal, need The node that attribute changes in interface control document, i.e. the second target device are first determined, and according to the second target device The second variance data generation the second renewal request of mark and the second objective attribute target attribute composition, when designer is asked the second renewal When making positive response, data interface module can be just updated according to the second variance data to target interface control document.
In practical application, the second renewal request can show user with the form that computer system is supported, wherein, institute's exhibition It is poor including making the 3rd virtual push button of positive response, the 4th virtual push button of negative response and second for user on the interface shown Heteromerism evidence.User can select to click on the 3rd virtual push button or the 4th virtual push button according to the second variance data, so as to which data connect Mouth mold block can receive different response instructions according to the clicking operation of user.
In addition, as needed, data interface module can not show the 3rd virtual push button and the 4th virtual push button to user, And renewal target interface control document can be forced according to the second variance data, the second variance data can also be cancelled.
Step S214, the attribute of the second target device in target interface control document is updated according to the second objective attribute target attribute;
After the positive response of user is received, document data design and connecing in managing device can be controlled with calling interface Mouth, the attribute according to the second objective attribute target attribute the second target device of renewal.
Step S215, establishment interface control document corresponding with data file.
If do not have in interface control document database and control document, table with the mark identical target interface of data file It is bright to be currently needed for parsing data file, with corresponding with data file with being created in managing device in interface control document design data Interface control document.
Technical scheme provided in an embodiment of the present invention, either target theory figure change or target interface control text Shelves change, and corresponding interface control document or schematic diagram can be updated according to the data file of change, be protected with this The data consistency of the interface control document and the schematic diagram in principle chart database in interface control document database has been demonstrate,proved, has been entered One step, during data consistency is ensured, the communication work of designer is eliminated, not only reduces designer's Work load, and improve the transmission efficiency and accuracy rate of data.In addition, the of data file and target theory figure is obtained immediately One variance data or the second variance data with target interface control document, will also receive the positive response of designer Afterwards, just target theory figure or target interface control document are updated, avoided with this to target theory figure or target interface Control the mistake renewal of document.
Referring to Fig. 3, Fig. 3 is a kind of structural representation of data interaction device provided in an embodiment of the present invention, the device The implementation procedure of method, the device include in embodiment corresponding to the course of work reference picture 1 of each unit in structural representation:
Obtaining unit 301, for obtaining data file;
Data file belongs to interface control document or schematic diagram.
First judging unit 302, if belonging to interface control document for data file, judge in principle chart database whether With the mark identical target theory figure with data file;
First updating block 303, for being determined when the first judging unit with the mark identical target with data file During schematic diagram, according to data file update target theory figure;
Second judging unit 304, if belonging to schematic diagram for data file, judge in interface control document database whether With controlling document with the mark identical target interface of data file;
Second updating block 305, for determining have and data file identical target interface control when the second judging unit During document processed, document is controlled according to data file update target interface.
Technical scheme provided in an embodiment of the present invention, data file is obtained, if the first judging unit determines principle diagram data There is the mark identical target theory figure with the data file of acquisition in storehouse, show Interface Controller text corresponding with target theory Shelves are changed, then target theory figure are updated according to data file by the first updating block;If the second judging unit Determine to have in interface control document database and control document with the mark identical target interface of data file, show and target Schematic diagram is changed corresponding to interface control document, then the second updating block enters according to data file to target interface document Row renewal., can basis therefore either target theory figure changes or target interface control document changes The data file of change is updated to corresponding interface control document or schematic diagram, and interface control document data are ensure that with this The data consistency of interface control document and the schematic diagram in principle chart database in storehouse, in addition, ensureing data consistency During, the communication work of designer is eliminated, not only reduces the work load of designer, and improves data Transmission efficiency and accuracy rate.
Referring to Fig. 4, Fig. 4 is another structural representation of data interaction device provided in an embodiment of the present invention, the dress The implementation procedure of method in embodiment corresponding to the course of work reference picture 2 of each unit in structural representation is put, the device bag Include:
Obtaining unit 401, for obtaining data file;
First judging unit 402, if belonging to interface control document for data file, judge in principle chart database whether With the mark identical target theory figure with data file;
First matching unit 403, for when the first judging unit determine there is target theory figure when, by data file The attribute of each equipment with it is in target theory figure, matched with the attribute of the mark identical equipment of each equipment, with true Set the goal the first object equipment that attribute in schematic diagram changes, and attribute includes the crosslinking relation of equipment;
First determination subelement 404, for using the mark of first object equipment and first object attribute as the first difference Data, first object attribute are the attribute that first object equipment changes;
First generation unit 405, for generating the first renewal request, the first renewal request carries the first variance data;
3rd judging unit 406, for judging whether to receive the positive response to the first renewal request;
First renewal subelement 407, for updating the first object equipment in target theory figure according to first object attribute Attribute;
First creating unit 408, for being determined when the first judging unit without the mark identical mesh with data file When marking schematic diagram, schematic diagram corresponding with data file is created in principle diagram design device;
Second judging unit 409, if belonging to schematic diagram for data file, judge whether have and number in ICD databases Document is controlled according to the mark identical target interface of file;
Second matching unit 410, when determining to have target interface control document for the second judging unit, by data file In each equipment attribute and target interface control document in, attribute progress with the mark identical equipment of each equipment Matching, to determine that target interface controls the second target device that attribute changes in document, the crosslinking that attribute includes equipment is closed System;
Second determination subelement 411, for using the mark of the second target device and the second objective attribute target attribute as the second difference Data, the second objective attribute target attribute are the attribute that the second target device changes;
Second generation unit 412, for generating the second renewal request, the second renewal request carries the second variance data;
4th judging unit 413, for judging whether to receive the positive response to the second renewal request;
Second renewal subelement 414, for updating the second mesh in target interface control document according to the second objective attribute target attribute The attribute of marking device;
Second creating unit 415, connect when the second judging unit determines not having with the mark identical target of data file During mouth control document, interface control document corresponding with data file is created with managing device in ICD design datas.
Technical scheme provided in an embodiment of the present invention, either target theory figure change or target interface document hair Changing, corresponding interface control document or schematic diagram can be updated according to the data file of change, ensure that with this The data consistency of interface control document and the schematic diagram in principle chart database in interface control document database, further Ground, during data consistency is ensured, the communication work of designer is eliminated, not only reduces the work of designer Burden, and improve the transmission efficiency and accuracy rate of data.In addition, obtain data file and target theory figure immediately first is poor Heteromerism evidence or the second variance data with target interface control document, also will be after the positive response of designer be received, Target theory figure or target interface control document are updated, avoided with this to target theory figure or target interface control text The mistake renewal of shelves.
Term " first ", " second ", " the 3rd " " in description and claims of this specification and above-mentioned accompanying drawing The (if present)s such as four " are for distinguishing similar object, without for describing specific order or precedence.It should manage The data that solution so uses can exchange in the appropriate case, so as to embodiments of the invention described herein for example can with except Order beyond those for illustrating or describing herein is implemented.In addition, term " comprising " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process of series of steps or unit, method, system, production Product or equipment are not necessarily limited to those steps clearly listed or unit, but may include not list clearly or for this The intrinsic other steps of a little process, method, product or equipment or unit.
For device or system embodiment, because it essentially corresponds to embodiment of the method, so related part referring to The part explanation of embodiment of the method.Device or system embodiment described above is only schematical, wherein described The unit illustrated as separating component can be or may not be physically separate, and the part shown as unit can be with It is or may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can To select some or all of module therein to realize the purpose of this embodiment scheme according to the actual needs.This area is common Technical staff is without creative efforts, you can to understand and implement.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method, do not having Have more than in the spirit and scope of the present invention, can realize in other way.Current embodiment is a kind of exemplary Example, should not be taken as limiting, given particular content should in no way limit the purpose of the present invention.For example, the unit or The division of subelement, only a kind of division of logic function, can there are other dividing mode, such as multiple lists when actually realizing First or multiple subelements combine.In addition, multiple units can with or component can combine or be desirably integrated into another and be System, or some features can be ignored, or not perform.
In addition, the schematic diagram of described system, apparatus and method and different embodiments, without departing from the scope of the present invention It is interior, it can combine or integrate with other systems, module, techniques or methods.Another, shown or discussed mutual coupling Close or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, can be with It is electrical, mechanical or other forms.
Described above is only the embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

  1. A kind of 1. data interactive method, it is characterised in that including:
    Data file is obtained, the data file belongs to interface control document or schematic diagram;
    If the data file belongs to the interface control document, judge whether have in principle chart database and data text The mark identical target theory figure of part, when with target theory figure described in the mark identical with the data file, root According to target theory figure described in the data file update;
    If the data file belongs to the schematic diagram, judge whether have in interface control document database and data text Part mark identical target interface control document, when with described in the data file identical target interface control document When, document is controlled according to target interface described in the data file update.
  2. 2. according to the method for claim 1, it is characterised in that according to target theory figure described in the data file update it Before, in addition to:
    Determine the first variance data of the data file and the target theory figure;
    The renewal request of generation first, the first renewal request carry first variance data;
    Judge whether to receive the positive response to the described first renewal request;
    If so, perform according to the data file update the step of target theory figure;
    Or, before the target interface control document according to the data file update, in addition to:
    Determine the data file and the second variance data of target interface control document;
    The renewal request of generation second, the second renewal request carry second variance data;
    Judge whether to receive the positive response to the described second renewal request;
    If so, perform the step of target interface controls document according to the data file update.
  3. 3. according to the method for claim 2, it is characterised in that determine the of the data file and the target theory figure One variance data, including:
    By mark in the attribute of each equipment in the data file and the target theory figure, with each equipment The attribute of identical equipment is matched, to determine attribute changes in the target theory figure first object equipment, institute Stating attribute includes the crosslinking relation of equipment;
    Using the mark of the first object equipment and first object attribute as first variance data, the first object category Property the attribute that changes for the first object equipment;
    Or, the data file and the second variance data of the interface control document are determined, including:
    By in the attribute of each equipment in the data file and target interface control document and each equipment The attribute of mark identical equipment matched, with determine that attribute changes in the target interface control document second Target device, the attribute include the crosslinking relation of equipment;
    Using the mark of second target device and the second objective attribute target attribute as second variance data, the second target category Property the attribute that changes for second target device.
  4. 4. according to the method for claim 3, it is characterised in that according to target theory figure described in the data file update, Including:
    The attribute of the first object equipment in the target theory figure is updated according to the first object attribute;
    Or, the target interface according to the data file update controls document, including:
    The attribute of second target device in the target interface control document is updated according to second objective attribute target attribute.
  5. 5. according to the method for claim 1, it is characterised in that also include:
    When without target theory figure described in the mark identical with the data file, create corresponding with the data file The schematic diagram;
    Or, when controlling document without target interface described in the mark identical with the data file, create and the number According to the interface control document corresponding to file.
  6. A kind of 6. data interaction device, it is characterised in that including:
    Obtaining unit, for obtaining data file, the data file belongs to interface control document or schematic diagram;
    First judging unit, if belonging to the interface control document for the data file, judge be in principle chart database The no mark identical target theory figure having with the data file;
    First updating block, for when first judging unit determine have with described in the mark identical of the data file During target theory figure, according to target theory figure described in the data file update;
    Second judging unit, if belonging to the schematic diagram for the data file, judge be in interface control document database It is no to have and the mark identical target interface of data file control document;
    Second updating block, for being connect when second judging unit determines to have with target described in the data file identical During mouth control document, document is controlled according to target interface described in the data file update.
  7. 7. device according to claim 6, it is characterised in that also include:
    First determining unit, for before first updating block updates the target theory figure, determining the data text First variance data of part and the target theory figure;
    First generation unit, for generating the first renewal request, the first renewal request carries first variance data;
    3rd judging unit, for judging whether to receive the positive response to the described first renewal request;
    First execution unit, for when the 3rd judging unit determines to receive the positive response, performing according to Described in data file update the step of target theory figure;
    Or, also include:
    Second determining unit, for according to the data file update target interface control document before, it is determined that described Data file and the second variance data of target interface control document;
    Second generation unit, for generating the second renewal request, the second renewal request carries second variance data;
    4th judging unit, for judging whether to receive the positive response to the described second renewal request;
    Second execution unit, for when the 4th judging unit determines to receive the positive response, performing according to Target interface described in data file update controls the step of document.
  8. 8. device according to claim 7, it is characterised in that first determining unit, including:
    First matching unit, for by it is in the attribute of each equipment in the data file and the target theory figure, with The attribute of the mark identical equipment of each equipment is matched, to determine that attribute changes in the target theory figure First object equipment, the attribute includes the crosslinking relation of equipment;
    First determination subelement, for using the mark of the first object equipment and first object attribute as first difference Data, the first object attribute are the attribute that the first object equipment changes;
    Or, second determining unit, including:
    Second matching unit, for by the attribute of each equipment in the data file and target interface control document , matched with the attribute of the mark identical equipment of each equipment, to determine in the target interface control document The second target device that attribute changes, the attribute include the crosslinking relation of equipment;
    Second determination subelement, for using the mark of second target device and the second objective attribute target attribute as second difference Data, second objective attribute target attribute are the attribute that second target device changes.
  9. 9. device according to claim 8, it is characterised in that first updating block, including:
    First renewal subelement, for updating the first object in the target theory figure according to the first object attribute The attribute of equipment;
    Or, second updating block, including:
    Second renewal subelement, for updating described the in target interface control document according to second objective attribute target attribute The attribute of two target devices.
  10. 10. device according to claim 6, it is characterised in that also include:
    First creating unit, for being determined when first judging unit without the mark identical institute with the data file When stating target theory figure, the schematic diagram corresponding with the data file is created;
    Or, second creating unit, for being determined when second judging unit without identical with the mark of the data file The target interface control document when, create corresponding with the data file interface control document.
CN201710707214.6A 2017-08-17 2017-08-17 Data interaction method and device Active CN107451294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710707214.6A CN107451294B (en) 2017-08-17 2017-08-17 Data interaction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710707214.6A CN107451294B (en) 2017-08-17 2017-08-17 Data interaction method and device

Publications (2)

Publication Number Publication Date
CN107451294A true CN107451294A (en) 2017-12-08
CN107451294B CN107451294B (en) 2021-04-16

Family

ID=60491439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710707214.6A Active CN107451294B (en) 2017-08-17 2017-08-17 Data interaction method and device

Country Status (1)

Country Link
CN (1) CN107451294B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113239532A (en) * 2021-05-08 2021-08-10 一汽奔腾轿车有限公司 Controller arrangement position design method based on cost and weight of wiring harness

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093038A (en) * 2012-12-31 2013-05-08 深圳市九洲电器有限公司 Updating method and updating device for bills of material (BOMs)
WO2013097788A1 (en) * 2011-12-31 2013-07-04 ***股份有限公司 Information interaction test device and method based on automatic generation of associated test cases
WO2014040488A1 (en) * 2012-09-14 2014-03-20 中兴通讯股份有限公司 Method and device for guaranteeing consistency of planning data
CN106155769A (en) * 2015-03-26 2016-11-23 北大方正集团有限公司 A kind of workflow processing method, device and workflow engine
CN106254453A (en) * 2016-08-02 2016-12-21 东软集团股份有限公司 The method of more new data, device and flow process maker
CN106557854A (en) * 2015-09-25 2017-04-05 北京奇虎科技有限公司 A kind of methods of exhibiting and device of operation flow

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013097788A1 (en) * 2011-12-31 2013-07-04 ***股份有限公司 Information interaction test device and method based on automatic generation of associated test cases
WO2014040488A1 (en) * 2012-09-14 2014-03-20 中兴通讯股份有限公司 Method and device for guaranteeing consistency of planning data
CN103093038A (en) * 2012-12-31 2013-05-08 深圳市九洲电器有限公司 Updating method and updating device for bills of material (BOMs)
CN106155769A (en) * 2015-03-26 2016-11-23 北大方正集团有限公司 A kind of workflow processing method, device and workflow engine
CN106557854A (en) * 2015-09-25 2017-04-05 北京奇虎科技有限公司 A kind of methods of exhibiting and device of operation flow
CN106254453A (en) * 2016-08-02 2016-12-21 东软集团股份有限公司 The method of more new data, device and flow process maker

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113239532A (en) * 2021-05-08 2021-08-10 一汽奔腾轿车有限公司 Controller arrangement position design method based on cost and weight of wiring harness

Also Published As

Publication number Publication date
CN107451294B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
JP3391811B2 (en) Team type data processing method in CAD system and CAD system
CN104133953B (en) Intelligent substation secondary design system
CN103530811B (en) The modeling of electric system logic-based relation
CN101894487B (en) Practice and simulation training system and method for power distribution live-wire work
CN105389170A (en) Drawing method and system
CN104346172A (en) Irregular DIV dynamic layout method
CN107451294A (en) A kind of data interactive method and device
CN117499457B (en) Method and system for cloud management of intelligent equipment
US5490232A (en) Computer-aided thought process simulation design system
CN112861382A (en) Method and device for drawing power line diagram in power system
CN113434425A (en) Measurement and control system capable of being rapidly developed and measurement and control system billboard
CN109816192B (en) GIL pipe gallery engineering simulation control system
CN113378069B (en) Main and distribution network automatic drawing method based on intelligent recommendation algorithm
CN114282029A (en) Primitive management method and device, electronic equipment and storage medium
CN111292391B (en) Automatic mapping method for low-voltage station area map
US20110060559A1 (en) Spatial planning system
CN111950159A (en) Modeling method for multi-loop same-pole common-frame power grid
JPH02127773A (en) Plant construction process control support system
CN110536186A (en) A kind of remote sensing control method, device, electronic equipment and storage medium
CN105093937A (en) Building control system design device and method
CN113711146A (en) Management system
CN111967114B (en) Drawing method of equipment wiring diagram
CN104715122B (en) The method and apparatus that the example of the meta-model constructed based on train technical demand is operated
JP3061254B2 (en) How to set up a prescription
JPH09190459A (en) Method and device for preparing connection diagram

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant