Nothing Special   »   [go: up one dir, main page]

CN104239491A - Vector graph updating method for describing service information - Google Patents

Vector graph updating method for describing service information Download PDF

Info

Publication number
CN104239491A
CN104239491A CN201410455081.4A CN201410455081A CN104239491A CN 104239491 A CN104239491 A CN 104239491A CN 201410455081 A CN201410455081 A CN 201410455081A CN 104239491 A CN104239491 A CN 104239491A
Authority
CN
China
Prior art keywords
information
graph
vector
vector graphics
data
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
CN201410455081.4A
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.)
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Ningxia Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Ningxia Electric Power 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 State Grid Corp of China SGCC, Information and Telecommunication Branch of State Grid Ningxia Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410455081.4A priority Critical patent/CN104239491A/en
Publication of CN104239491A publication Critical patent/CN104239491A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/56Information retrieval; Database structures therefor; File system structures therefor of still image data having vectorial format

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a vector graph updating method for describing service information. The vector graph updating method is characterized by comprising the following steps: firstly, describing a vector graph through a vector graph information describing file and extracting newest vector graph information at regular time or according to needs by a server side; when a client side obtains the newest vector graph information, analyzing specific graph information containing a node and a connection relation by a graph data analyzer; comparing with a previous graph, analyzing increment information of graph changes; modifying a previous graph by a graph generation module according to the increment information; generating a newest vector graph on the basis that the newest vector graph is the same as the previous graph. By adopting the method, the work of the server side is simplified to extract the newest vector graph information at regular time or according to the needs to form data describing information of the vector graph. The realization of the server side is realized and the load of the server side is alleviated; the stability of the server side is also improved.

Description

A kind of vector graphics update method describing business information
Technical field
The present invention relates to a kind of vector graphics update method describing business information.
Background technology
Nowadays, the mass data that miscellaneous information source produces, far beyond the ability of these data of human brain analysis interpretation.Visualization technique illustratively the most effective means of mass data and take the lead in being adopted by scientific and engineering computing field, visual data are converted to figure, give people deep in beyond thought clairvoyance, make research mode there occurs basic change in a lot of field.The application of visualization technique greatly to high speed flight simulation, the little demonstration to molecular structure, ubiquitous.Internet era, visual combination with network technology makes remote visualization service become a reality.
Pattern exhibition is as a visual very important ingredient.It makes data can by means of graphical means, clearly effectively expresses and communicate information.Meanwhile, in a practical situation, graph data is often stored in service end, and figure is shown and usually needed to run on the client, and this just needs to design targetedly Data Update, thus the renewal that figure is shown becomes fast, efficiently.
Incremental update refers to when carrying out renewal rewards theory, only upgrades the place needing to change, and does not need to upgrade or updated place then can not repeat to upgrade, incremental update with upgrade completely relative.The concept range of application of this renewal is relatively more extensive, and every place of carrying out Data Update that needs all can be used.Feature: a 1. renewal needs the place of renewal; 2. faster relative to upgrading completely, treatment capacity reduces; 3. adopt incremental update to need to set rule before the update, the strategy that regulation upgrades;
Summary of the invention
The object of this invention is to provide a kind of clear concept, realize the vector graphics update method of the description business information simple, accuracy rate is high.
A kind of vector graphics update method describing business information, its special feature is, comprise the steps: first to be described vector graphics by vector graphics information description document, by service end timing or extract up-to-date vector graphics information as required, after client obtains up-to-date vector graphics information, transfer to graph data resolver resolves to go out to comprise the concrete graphical information of node and annexation, and compare with original figure, analyze the increment information of graphic change, and then revise original figure by graph generation module according to increment information, ensureing on the basis consistent with original figure, generate up-to-date vector graphics.
Wherein first record the vector graphics information irrelevant with business by XML language, by service end timing or extract as required, form vector graphics XML file, unserializing vector graphics XML file during use, obtain graphical information, and original figure compares, analyze increment information, vector data is shown in patterned mode, thus makes user check by patterned mode, edit vector data, and carry out incremental update.
Wherein increment information specifically refer to Drawing Object newly-increased, amendment, delete.
By method of the present invention, by the work simplification of service end for timing or extract up-to-date graph data as required, vector figure data descriptor can be formed.Both simplify the realization of service end, alleviated the burden of service end, turn improve the stability of service end.And client carries out analyzing and generating figure after obtaining graph data descriptor, take full advantage of the computing power of client.
Accompanying drawing explanation
Accompanying drawing 1 is the process flow diagram of inventive embodiments 1 supplying method.
Embodiment
For achieving the above object, the invention provides following scheme:
1, service end extracts up-to-date vector figure data (comprising node and link information), forms vector figure data and describes.
2, define vector figure data descriptor format, comprising:
When designing, describe vector figure data with XML, the first row is stated vector figure data description document, and definition XML version is 1.0, use and be encoded to UTF-8.
Second row, describes the root element of the document, and the name of definition root element is called " Graph ", and is its defined attribute, comprising:
The attribute of definition " time " by name on " Graph " element, the value of this attribute is the rise time of pattern vector data.
To give a definition at root element " Graph " element of " Elements " by name, with description node information.And be its defined attribute, comprising:
The attribute of definition " count " by name on " Elements " element, the value of this attribute is number of nodes.
According to the information of each node extracted, the element of give a definition at element " Elements " " Node " by name, to represent each node, and is its defined attribute, comprises:
The attribute of definition " id " by name on " Node " element, with the unique identification of specified node.
The attribute of definition " name " by name on " Node " element, with the title of specified node.
The attribute of definition " type " by name on " Node " element, with the type of specified node.
" Node " element can also increase other information according to actual needs, as the position etc. of node.
To give a definition at root element " Graph " element of " Links " by name, to describe link information.And be its defined attribute, comprising:
The attribute of definition " count " by name on " Links " element, the value of this attribute is number of connection.
According to each information connected extracted, the element of give a definition at element " Links " " Link " by name, to represent each link information, and is its defined attribute, comprises:
The attribute of definition " id " by name on " Link " element, to specify the unique identification of connection.
The attribute of definition " name " by name on " Link " element, to specify the title of connection.
The attribute of definition " type " by name on " Link " element, to specify the type of connection.
The attribute of definition " s_node " by name on " Link " element, to specify the start node of connection.
The attribute of definition " e_node " by name on " Link " element, to specify the terminal node of connection.
The description document of the vector graphics information designed, can carry out persistence in the form of an xml-file, for accelerating network transfer speeds, carries out persistence after also can being compressed.
3, client obtains up-to-date vector figure data description, transfers to vector figure data resolver to analyze the increment information of graphic change, then generates up-to-date vector graphics by graph generation module.
4, define vector figure data resolver, comprising:
Vector figure data resolver carries out unserializing and analysis to the description document of vector figure data, comprising:
Vector figure data resolver reads the description document (XML file or the XML file after compressing) of vector figure data, and parameters information description document comprised carries out unserializing.
Vector figure data resolver, according to the parameter read, obtains up-to-date Drawing Object information, and compares with original figure, analyzes incremental update information (comprising the increase of node and annexation, amendment, deletion etc.).Detailed process is:
1), for original Drawing Object (comprising node and connection) set up hash table, key value is unique ID of Drawing Object (comprising node and connection).
2), the every bar record in up-to-date Drawing Object information (comprising node and connection) and the data in hash table are contrasted, if these data do not exist in hash table, then these data are newly-increased, if these data exist in hash table, but attribute is inconsistent, then these data are amendments.
3), compared after in hash table, inquire about the data of not mating, these data do not exist in new figure, should be deleted.
5, according to the figure increment information that vector figure data resolver analyzes, in conjunction with figure placement algorithm, incremental update is carried out to original figure, ensures that on the basis consistent with original figure, generate up-to-date vector graphics, detailed process is to the full extent:
1), lock the Drawing Object that do not change, during to ensure again layout graph, these Drawing Objects can not change.
2), non-existent Drawing Object in Delete Shape.
3), for the Drawing Object changed, amendment attribute.
4), newly-increased Drawing Object is added, and layout graph again, if newly-increased node has positional information, then according to this node of positional information layout, if there is no position, the placement rule (as grid layout, tree topology etc.) of then specifying according to practical business carries out the pattern layout of increment, generates up-to-date figure.
Vector graphics information is recorded by XML language with device-independent data description form in the inventive method, only record information irrelevant with business in vector figure data, persistence can be carried out in the form of an xml-file, persistence can be carried out by the XML form of compression.By service end timing or extract as required, form this file.Unserializing vector graphics information description document, obtains graphical information.Compare with original figure, analyze increment information.Vector data is shown in patterned mode.User checks by patterned mode, edits vector data.Only will be retained all information that vector graphics carries out in incremental update, in addition figure.
Below in conjunction with accompanying drawing and specific embodiment, technical scheme of the present invention is further described.
Embodiment 1:
Specific embodiment of the invention is carried out according to flow process shown in Fig. 1, below with the description of the figure of in certain operation system be presented as example, each step in this flow process is described.
1, service end timing or extract up-to-date graph data as required, forms vector figure data descriptor.
2, client obtains vector figure data descriptor, transfers to vector figure data resolver to carry out unserializing, and analyzes figure increment information.
3, the graph generation module of client revises original figure according to figure increment information, ensures to the full extent, on the basis consistent with original figure, to generate up-to-date vector graphics.

Claims (3)

1. one kind describes the vector graphics update method of business information, it is characterized in that, comprise the steps: first to be described vector graphics by vector graphics information description document, by service end timing or extract up-to-date vector graphics information as required, after client obtains up-to-date vector graphics information, transfer to graph data resolver resolves to go out to comprise the concrete graphical information of node and annexation, and compare with original figure, analyze the increment information of graphic change, and then revise original figure by graph generation module according to increment information, ensureing on the basis consistent with original figure, generate up-to-date vector graphics.
2. a kind of vector graphics update method describing business information as claimed in claim 1, it is characterized in that: wherein first record the vector graphics information irrelevant with business by XML language, by service end timing or extract as required, form vector graphics XML file, unserializing vector graphics XML file during use, obtain graphical information, compare with original figure, analyze increment information, vector data is shown in patterned mode, thus make user check by patterned mode, edit vector data, and carry out incremental update.
3. a kind of vector graphics update method describing business information as claimed in claim 1 or 2, is characterized in that: wherein increment information specifically refer to Drawing Object newly-increased, amendment, delete.
CN201410455081.4A 2014-09-03 2014-09-03 Vector graph updating method for describing service information Pending CN104239491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410455081.4A CN104239491A (en) 2014-09-03 2014-09-03 Vector graph updating method for describing service information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410455081.4A CN104239491A (en) 2014-09-03 2014-09-03 Vector graph updating method for describing service information

Publications (1)

Publication Number Publication Date
CN104239491A true CN104239491A (en) 2014-12-24

Family

ID=52227550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410455081.4A Pending CN104239491A (en) 2014-09-03 2014-09-03 Vector graph updating method for describing service information

Country Status (1)

Country Link
CN (1) CN104239491A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107944036A (en) * 2017-12-13 2018-04-20 美林数据技术股份有限公司 A kind of acquisition methods of collection of illustrative plates variation
CN108090165A (en) * 2017-12-13 2018-05-29 美林数据技术股份有限公司 A kind of acquisition methods of the collection of illustrative plates variation based on embedded chart database
CN108733680A (en) * 2017-04-14 2018-11-02 徐州瑞晨矿业科技发展有限公司 A method of engineering drawing is carried out based on vector figure data and is remotely shared
CN112270162A (en) * 2020-09-25 2021-01-26 北京达佳互联信息技术有限公司 Text conversion and message transmission method, device, equipment, server and medium
CN113807076A (en) * 2021-09-22 2021-12-17 上海大学 Method and system for analyzing and generating navigation vector file
CN114221958A (en) * 2021-12-10 2022-03-22 云控智行科技有限公司 High-precision map data increment distribution method and device and electronic equipment
CN115018949A (en) * 2022-06-30 2022-09-06 北京爱奇艺科技有限公司 Picture processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561816A (en) * 2009-05-27 2009-10-21 武汉大学 Method for releasing geospatial data incremental information
CN101726309A (en) * 2009-12-18 2010-06-09 吉林大学 Navigation electronic map dynamic topology rebuilding system method based on road data increment updating
CN102750330A (en) * 2012-05-31 2012-10-24 国网电力科学研究院 Topological graphic incremental updating method irrelevant to business

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561816A (en) * 2009-05-27 2009-10-21 武汉大学 Method for releasing geospatial data incremental information
CN101726309A (en) * 2009-12-18 2010-06-09 吉林大学 Navigation electronic map dynamic topology rebuilding system method based on road data increment updating
CN102750330A (en) * 2012-05-31 2012-10-24 国网电力科学研究院 Topological graphic incremental updating method irrelevant to business

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
尹章才,李霖: "基于XML的地理信息可视化方法优化研究", 《武汉理工大学学报》 *
王斌: "基础地理数据库增量式更新机制的研究", 《第四届海峡两岸GIS发展研讨会暨中国GIS协会第十届年会论文集》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733680A (en) * 2017-04-14 2018-11-02 徐州瑞晨矿业科技发展有限公司 A method of engineering drawing is carried out based on vector figure data and is remotely shared
CN107944036A (en) * 2017-12-13 2018-04-20 美林数据技术股份有限公司 A kind of acquisition methods of collection of illustrative plates variation
CN108090165A (en) * 2017-12-13 2018-05-29 美林数据技术股份有限公司 A kind of acquisition methods of the collection of illustrative plates variation based on embedded chart database
CN107944036B (en) * 2017-12-13 2021-12-24 美林数据技术股份有限公司 Method for acquiring map change difference
CN108090165B (en) * 2017-12-13 2021-12-28 美林数据技术股份有限公司 Method for acquiring map change difference based on embedded graph database
CN112270162A (en) * 2020-09-25 2021-01-26 北京达佳互联信息技术有限公司 Text conversion and message transmission method, device, equipment, server and medium
CN113807076A (en) * 2021-09-22 2021-12-17 上海大学 Method and system for analyzing and generating navigation vector file
CN113807076B (en) * 2021-09-22 2024-06-04 上海大学 Navigation vector file analysis and generation method and system
CN114221958A (en) * 2021-12-10 2022-03-22 云控智行科技有限公司 High-precision map data increment distribution method and device and electronic equipment
CN115018949A (en) * 2022-06-30 2022-09-06 北京爱奇艺科技有限公司 Picture processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104239491A (en) Vector graph updating method for describing service information
CN102750330A (en) Topological graphic incremental updating method irrelevant to business
CN108351636B (en) Engineering design tool, system and module
EP3695290B1 (en) Alignment of source infrastructure data with a bis conceptual schema
EP2302538B1 (en) Method and system for capturing change of data
CN111295680B (en) Intelligent model hierarchy for infrastructure modeling
CN109669976B (en) ETL-based data service method and device
CN111324577B (en) Yml file reading and writing method and device
CN104854578A (en) System, method, and apparatus for collaborative cax editing
CN107766042A (en) A kind of visual data manager and device of the model file based on CSAR
US20200117729A1 (en) Technique for generating a change cache database utilized to inspect changes made to a repository
CN110990467B (en) BIM model format conversion method and conversion system
CN104598570B (en) The grasping means of resource and device
CN113986248B (en) Code generation method, device, computer equipment and storage medium
CN110781542A (en) BIM model data processing method and device
CN111898135A (en) Data processing method, data processing apparatus, computer device, and medium
US20190311050A1 (en) Method and system for generating schemas
Jungnickel et al. Simultaneous editing of JSON objects via operational transformation
CN110083372B (en) Block chain data version upgrading method
CN104166545A (en) Webpage resource sniffing method and device
CN105573726B (en) A kind of rules process method and equipment
CN114741085A (en) Data processing method, device, equipment and storage medium
CN103678349A (en) Method and device for filtering useless data
CN112015906B (en) Construction scheme of network configuration knowledge graph
CN111475602B (en) Multi-version knowledge graph storage method and device, storage medium and electronic equipment

Legal Events

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

Application publication date: 20141224

RJ01 Rejection of invention patent application after publication