CN107688640A - A kind of substation secondary device drawing consults method and apparatus - Google Patents
A kind of substation secondary device drawing consults method and apparatus Download PDFInfo
- Publication number
- CN107688640A CN107688640A CN201710735467.4A CN201710735467A CN107688640A CN 107688640 A CN107688640 A CN 107688640A CN 201710735467 A CN201710735467 A CN 201710735467A CN 107688640 A CN107688640 A CN 107688640A
- Authority
- CN
- China
- Prior art keywords
- text
- mapping relations
- drawing number
- content
- secondary device
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/5866—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a kind of substation secondary device drawing to consult method and apparatus, comprises the following steps:Extract drawing number;Establish the mapping relations of drawing number and drawing path;Click/touch event of monitoring users, obtain the content of text clicked on/touched;When content of text is drawing number, the drawing according to corresponding to the mapping relations jump to the drawing number automatically.By the mapping relations for establishing drawing number and drawing path, after click/touch event of user is listened to, obtain the content of text clicked on/touched, and when content of text is drawing number, can according to corresponding to the mapping relations jump to the drawing number automatically drawing, so as to realize the quick lookup of drawing, and simple to operate, solve the problems, such as to waste time and energy because drawing is various, drawing caused by catalogue length is consulted, improve drawing and consult efficiency.
Description
Technical field
The present invention relates to technical field of electric power, particularly a kind of substation secondary device drawing consults method and apparatus.
Background technology
In power construction, when carrying out transformer debugging, commissioning staff needs access to be mutually related secondary device figure
Paper, by recording the numbering of the other drawings marked on current drawing, catalogue page is returned to, searched according to numbering and open figure
Paper.Because current generation drawing checks main support electronic edition drawing system to carry out, compared to the conventional paper drawing side of checking
Formula, have and search the advantage such as convenient.
But as power network scale progressively expands, the drawing being related to the daily operation of electric substation, maintenance, service work etc. is got over
Come more.When needing to consult the drawing associated with current drawing, often due to drawing volume is various, catalogue is longer, in mesh
Target drawing number is found in record to waste time and energy.
In view of the above-mentioned problems, Chinese patent ZL201310202226.5 discloses a kind of secondary drawing information identification and read
System, using hyperlink mode, a certain part circuit is packaged, can when clicking on a certain encapsulation merging module link of drawing
To be linked to the detailed wiring diagram for the specific encapsulation little module for being formed the module, facilitate the reading of drawing.But in the program, need
To be determined in advance by user and implement the encapsulation link a part of to drawing, be i.e. user needs to determine modules in drawing
Display mode, selection show all the elements be still packaged, when user need consult target drawing when, it is necessary to understand the mesh
Paper mark on a map in which is linked, easily causes association drawing and searches dumb, and need programmatically to be packaged in advance
Link, it is cumbersome.
The content of the invention
It is an object of the invention to provide a kind of substation secondary device drawing to consult method and apparatus, by clicking on or touching
Numbered on drawing, you can jump to searched drawing automatically, reference convenient is simple to operate, improves drawing and consults efficiency.
To reach above-mentioned technical purpose, the invention provides a kind of substation secondary device drawing access method, including with
Lower step:
Extract drawing number;
Establish the mapping relations of drawing number and drawing path;
Click/touch event of monitoring users, obtain the content of text clicked on/touched;
When content of text is drawing number, the figure according to corresponding to the mapping relations jump to the drawing number automatically
Paper.
Preferably, the extraction drawing number is specially following steps:
Obtain the title of all drawings;
According to matching regular expressions, drawing number is extracted from designation of drawing.
Preferably, the mapping relations are stored in data structure JSON.
Present invention also offers a kind of substation secondary device drawing to consult device, including:
Drawing number extraction module, for extracting drawing number;
Mapping relations establish module, for establishing the mapping relations of drawing number and drawing path;
Text acquisition module, for click/touch event of monitoring users, obtain the content of text clicked on/touched;
Automatic jump module, for when content of text is drawing number, institute to be jumped to automatically according to the mapping relations
State drawing corresponding to drawing number.
Preferably, the drawing number extraction module includes designation of drawing acquiring unit and extraction unit,
The designation of drawing acquiring unit is used for the title for obtaining all drawings;
The extraction unit is used for according to matching regular expressions, and drawing number is extracted from designation of drawing.
Preferably, the mapping relations are stored in data structure JSON.
The effect provided in the content of the invention is only the effect of embodiment, rather than whole effects that invention is all, above-mentioned
A technical scheme in technical scheme has the following advantages that or beneficial effect:
Mapping relations of the invention by establishing drawing number and drawing path, when the click/touch thing for listening to user
After part, the content of text clicked on/touched is obtained, and when content of text is drawing number, can be according to the mapping relations certainly
It is dynamic to jump to drawing corresponding to the drawing number, so as to realize the quick lookup of drawing, and it is simple to operate, solve due to figure
Paper is various, drawing caused by catalogue length is consulted the problem of wasting time and energy, and improves drawing and consults efficiency.
Technical scheme can be applicable on PC or mobile terminal, be encapsulated without user, it is only necessary to clicks on or touches
Touch the numbering on drawing, you can jump to searched drawing automatically, facilitate commissioning staff to consult the secondary device that is mutually related
Drawing, it is convenient and time saving and energy saving not only to search, and improves drawing and consults efficiency.
Brief description of the drawings
Fig. 1 is that a kind of substation secondary device drawing provided in the embodiment of the present invention consults method flow diagram;
Fig. 2 is that a kind of drawing of substation secondary device drawing access method provided in the embodiment of the present invention shows
It is intended to;
Fig. 3 is that a kind of substation secondary device drawing provided in the embodiment of the present invention consults device entire block diagram.
Embodiment
In order to the technical characterstic of clear explanation this programme, below by embodiment, and its accompanying drawing is combined, to this
Invention is described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention
Structure.In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples are described.In addition, the present invention can be with
Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated
Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale
Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
A kind of substation secondary device drawing provided below in conjunction with the accompanying drawings the embodiment of the present invention is consulted method and carried out
Describe in detail.
As shown in figure 1, the embodiments of the invention provide a kind of substation secondary device drawing to consult method, it includes following
Process:
First, drawing number is extracted
Data tissue is carried out first, by SVG (Scalable Vector Graphics, saleable vector graphics) drawing text
Part is put under identical file folder, record this document folder path, and the title of all drawing files is obtained by cmd orders.By just
Then expression formula matches, and extracts the unique number of drawing from designation of drawing using JavaScript.
Then matching regular expressions are carried out, meets a certain regular text for retrieving, replacing, is usually used in text editing
Device, using the combination of some good specific characters of predefined or specific character, form a regular character string, the regular character
Go here and there for expressing the filtering matching to character string., can be to whether there is regular character in searching character string by regular expression
String, and specific part is obtained from character string.
In embodiments of the present invention, according to the ad hoc rules of drawing number, rule are extracted from drawing file name character string
Then character string, so as to obtain the one-to-one drawing number of drawing file.
2nd, the mapping relations of drawing number and drawing path are established
Because drawing file and drawing number correspond, therefore drawing path is also one-to-one corresponding with drawing number.It is logical
Cross and establish mapping relations between drawing number and drawing path, so as to which its corresponding drawing road can be pointed to by drawing number
Footpath, it is easy to search drawing file.The mapping relations in drawing number and drawing path are stored in data structure JSON
In (JavaScript Object Notation, JavaScript object mark).
3rd, the click of monitoring users/touch behavior
Click/touch events are bound to drawing object, to click/touch behavior of monitoring users.When user is in PC
When end is clicked on or mobile terminal is touched, program listens to click/touch behavior of user, so as to trigger click/
Touch events, and the record for the content of text that user is clicked on/touched is performed in call back function, so as to obtain user's point
The content of text for hitting/touching.
4th, drawing redirects
Judge whether text content is other drawing numbers, if text content is other drawing numbers, basis
The drawing number stored in data structure JSON and the mapping relations in drawing path, the drawing number is inquired by drawing number
Corresponding drawing path, and jump to the drawing, the drawing corresponding to drawing number clicked on/touched so as to opening user
File.
As shown in Fig. 2 by JavaScript monitoring users gesture events, when user touches display screen corresponding to drawing
When, whether analysis user touch location is drawing number, and when user touch location is located at arrow locations, system is voluntarily analyzed
Content of text at touch location, and content of text " D1213-13 " is obtained, whether have by being inquired about in data structure JSON
There is the drawing number of the character string, and according to drawing number and the mapping relations in drawing path, it is corresponding to search out the drawing number
Drawing file path, and open this document, realize that the automatic of drawing file redirects.
By establishing the mapping relations of drawing number and drawing path, after click/touch event of user is listened to, obtain
The content of text clicked on/touched is taken, and when content of text is drawing number, can be jumped to automatically according to the mapping relations
Drawing corresponding to the drawing number, so as to realize the quick lookup of drawing, and simple to operate, solve due to drawing is various,
Drawing caused by catalogue is grown is consulted the problem of wasting time and energy, and is improved drawing and is consulted efficiency.
As shown in figure 3, the embodiment of the present invention, which additionally provides a kind of substation secondary device drawing, consults device, it includes:
Drawing number extraction module, mapping relations establish module, text acquisition module and automatic jump module.
The drawing number extraction module, for extracting drawing number.
The drawing number extraction module includes designation of drawing acquiring unit and extraction unit.
The designation of drawing acquiring unit is used for the title for obtaining all drawings;
SVG drawing files are put under identical file folder, record this document folder path, all figures are obtained by cmd orders
The title of paper file.
The extraction unit is used for according to matching regular expressions, and drawing number is extracted from designation of drawing.
Using matching regular expressions, according to the ad hoc rules of drawing number, extracted from drawing file name character string
Ad hoc rules character string, using JavaScript so as to obtaining the one-to-one drawing number of drawing file.
The mapping relations establish module, for establishing the mapping relations of drawing number and drawing path.
Because drawing file and drawing number correspond, therefore drawing path is also one-to-one corresponding with drawing number.It is logical
Cross and establish mapping relations between drawing number and drawing path, so as to which its corresponding drawing road can be pointed to by drawing number
Footpath, it is easy to search drawing file.The mapping relations in drawing number and drawing path are stored in data structure JSON.
The text acquisition module, for click/touch event of monitoring users, obtain in the text clicked on/touched
Hold.
Click/touch events are bound to drawing object, to click/touch behavior of monitoring users.When user is in PC
When end is clicked on or mobile terminal is touched, program listens to click/touch behavior of user, so as to trigger click/
Touch events, and the record for the content of text that user is clicked on/touched is performed in call back function, so as to obtain user's point
The content of text for hitting/touching.
The automatic jump module, for when content of text is drawing number, being redirected automatically according to the mapping relations
To drawing corresponding to the drawing number.
Judge whether text content is other drawing numbers, if text content is other drawing numbers, basis
The drawing number stored in data structure JSON and the mapping relations in drawing path, the drawing number is inquired by drawing number
Corresponding drawing path, and jump to the drawing, the drawing corresponding to drawing number clicked on/touched so as to opening user
File.
Technical scheme can be applicable on PC or mobile terminal, be encapsulated without user, it is only necessary to clicks on or touches
Touch the numbering on drawing, you can jump to searched drawing automatically, facilitate commissioning staff to consult the secondary device that is mutually related
Drawing, it is convenient and time saving and energy saving not only to search, and improves drawing and consults efficiency.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (6)
1. a kind of substation secondary device drawing consults method, it is characterised in that comprises the following steps:
Extract drawing number;
Establish the mapping relations of drawing number and drawing path;
Click/touch event of monitoring users, obtain the content of text clicked on/touched;
When content of text is drawing number, the drawing according to corresponding to the mapping relations jump to the drawing number automatically.
2. a kind of substation secondary device drawing according to claim 1 consults method, it is characterised in that the extraction figure
Paper numbering is specially following steps:
Obtain the title of all drawings;
According to matching regular expressions, drawing number is extracted from designation of drawing.
3. a kind of substation secondary device drawing according to claim 1 consults method, it is characterised in that the mapping is closed
System is stored in data structure JSON.
4. a kind of substation secondary device drawing consults device, it is characterised in that including:
Drawing number extraction module, for extracting drawing number;
Mapping relations establish module, for establishing the mapping relations of drawing number and drawing path;
Text acquisition module, for click/touch event of monitoring users, obtain the content of text clicked on/touched;
Automatic jump module, for when content of text is drawing number, the figure to be jumped to automatically according to the mapping relations
Drawing corresponding to paper numbering.
5. a kind of substation secondary device drawing according to claim 4 consults device, it is characterised in that the drawing is compiled
Number extraction module includes designation of drawing acquiring unit and extraction unit,
The designation of drawing acquiring unit is used for the title for obtaining all drawings;
The extraction unit is used for according to matching regular expressions, and drawing number is extracted from designation of drawing.
6. a kind of substation secondary device drawing according to claim 4 consults device, it is characterised in that the mapping is closed
System is stored in data structure JSON.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710735467.4A CN107688640B (en) | 2017-08-24 | 2017-08-24 | Method and device for consulting drawings of secondary equipment of transformer substation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710735467.4A CN107688640B (en) | 2017-08-24 | 2017-08-24 | Method and device for consulting drawings of secondary equipment of transformer substation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107688640A true CN107688640A (en) | 2018-02-13 |
CN107688640B CN107688640B (en) | 2021-02-23 |
Family
ID=61154918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710735467.4A Active CN107688640B (en) | 2017-08-24 | 2017-08-24 | Method and device for consulting drawings of secondary equipment of transformer substation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107688640B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984751A (en) * | 2018-07-17 | 2018-12-11 | 广东电网有限责任公司 | A kind of processing method and processing device of substation equipment drawing |
CN110795809A (en) * | 2019-11-07 | 2020-02-14 | 国网河北省电力有限公司电力科学研究院 | Method, system and medium for transformer substation electrical secondary circuit connection relation based on CAD graph automatic pickup |
CN113312952A (en) * | 2020-12-31 | 2021-08-27 | 南京太司德智能电气有限公司 | SVg format electric power graphic picture correlation engineering consistency checking method |
CN115202542A (en) * | 2022-07-26 | 2022-10-18 | 南方电网调峰调频发电有限公司检修试验分公司 | OCR technology-based automatic link and jump method for circuit port in electronic paper |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001312597A (en) * | 2000-04-28 | 2001-11-09 | Yasuo Tomoyuki | Banking service conducted at signal site |
CN102375843A (en) * | 2010-08-19 | 2012-03-14 | 英业达股份有限公司 | Server, system and method for searching data content based on key value of target data |
CN102436477A (en) * | 2011-10-11 | 2012-05-02 | 鸿富锦精密工业(深圳)有限公司 | Device with related content search function and method |
CN103246751A (en) * | 2013-05-28 | 2013-08-14 | 国家电网公司 | Secondary drawing information identification and reading system |
CN103984774A (en) * | 2014-06-06 | 2014-08-13 | 国家电网公司 | Method and system for viewing drawings of substation |
CN106844364A (en) * | 2015-12-03 | 2017-06-13 | 福建福昕软件开发股份有限公司 | A kind of interconnected method of document information |
-
2017
- 2017-08-24 CN CN201710735467.4A patent/CN107688640B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001312597A (en) * | 2000-04-28 | 2001-11-09 | Yasuo Tomoyuki | Banking service conducted at signal site |
CN102375843A (en) * | 2010-08-19 | 2012-03-14 | 英业达股份有限公司 | Server, system and method for searching data content based on key value of target data |
CN102436477A (en) * | 2011-10-11 | 2012-05-02 | 鸿富锦精密工业(深圳)有限公司 | Device with related content search function and method |
CN103246751A (en) * | 2013-05-28 | 2013-08-14 | 国家电网公司 | Secondary drawing information identification and reading system |
CN103984774A (en) * | 2014-06-06 | 2014-08-13 | 国家电网公司 | Method and system for viewing drawings of substation |
CN106844364A (en) * | 2015-12-03 | 2017-06-13 | 福建福昕软件开发股份有限公司 | A kind of interconnected method of document information |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984751A (en) * | 2018-07-17 | 2018-12-11 | 广东电网有限责任公司 | A kind of processing method and processing device of substation equipment drawing |
CN110795809A (en) * | 2019-11-07 | 2020-02-14 | 国网河北省电力有限公司电力科学研究院 | Method, system and medium for transformer substation electrical secondary circuit connection relation based on CAD graph automatic pickup |
CN110795809B (en) * | 2019-11-07 | 2023-08-29 | 国网河北省电力有限公司电力科学研究院 | Method, system and medium for automatically picking up connection relation of electric secondary circuit of transformer substation based on CAD (computer aided design) drawing |
CN113312952A (en) * | 2020-12-31 | 2021-08-27 | 南京太司德智能电气有限公司 | SVg format electric power graphic picture correlation engineering consistency checking method |
CN113312952B (en) * | 2020-12-31 | 2024-04-30 | 南京太司德智能电气有限公司 | Method for checking consistency of power graphic picture association engineering in svg format |
CN115202542A (en) * | 2022-07-26 | 2022-10-18 | 南方电网调峰调频发电有限公司检修试验分公司 | OCR technology-based automatic link and jump method for circuit port in electronic paper |
Also Published As
Publication number | Publication date |
---|---|
CN107688640B (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107688640A (en) | A kind of substation secondary device drawing consults method and apparatus | |
US20190243848A1 (en) | Generating a structured document guiding view | |
CN104111918B (en) | The accessible processing method and accessible web device of web page contents | |
US8874604B2 (en) | Method and system for searching an electronic map | |
CN102779169A (en) | Extracting method and device for webpage content based on HTML (Hypertext Markup Language) label | |
CN102270206A (en) | Method and device for capturing valid web page contents | |
CN104820685A (en) | Social contact network searching method and social contact network searching system | |
CN102902703A (en) | Network sensitive information-oriented screenshot discovery and locking callback method | |
CN101763218A (en) | Input method for handheld equipment | |
CN104462547A (en) | Configurable webpage data acquisition method and system | |
CN104182482B (en) | A kind of news list page determination methods and the method for screening news list page | |
CN106469044A (en) | The method and apparatus realizing page jump | |
CN109857956A (en) | The automatic abstracting method of news web page key message based on label and blocking characteristic | |
CN104142985A (en) | Semi-automatic vertical crawler generation tool and method | |
JP5185402B2 (en) | Document search apparatus, document search method, and document search program | |
CN103942211A (en) | Text page recognition method and device | |
CN104267941B (en) | The method and device of dynamic generation response type webpage | |
CN103154937A (en) | Method and apparatus for inserting address of hyperlink into bookmark | |
CN104090869A (en) | Network information translating method and translating system | |
CN102737030A (en) | Patent document data outputting method, terminal and system | |
KR100912288B1 (en) | Search system using contents information in document file | |
KR101401250B1 (en) | Method of providing keyword-map for electronic documents, and computer-readable recording medium with keyword-map program for the same | |
CN106055526A (en) | Page identification method and apparatus | |
CN105938496A (en) | Webpage content extraction method and apparatus | |
CN104750812A (en) | Automatic data collecting method based on webpage label analysis |
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 |