CN115525774A - Map generation method and device, electronic equipment and storage medium - Google Patents

Map generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115525774A
CN115525774A CN202211243126.2A CN202211243126A CN115525774A CN 115525774 A CN115525774 A CN 115525774A CN 202211243126 A CN202211243126 A CN 202211243126A CN 115525774 A CN115525774 A CN 115525774A
Authority
CN
China
Prior art keywords
map
sub
original
target
power transformation
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
CN202211243126.2A
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.)
Yunnan Power Grid Co Ltd
Original Assignee
Yunnan Power Grid 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 Yunnan Power Grid Co Ltd filed Critical Yunnan Power Grid Co Ltd
Priority to CN202211243126.2A priority Critical patent/CN115525774A/en
Publication of CN115525774A publication Critical patent/CN115525774A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a method and a device for generating a map, electronic equipment and a storage medium. The method comprises the following steps: acquiring power transformation defect corpus data; generating at least one sub-map according to the power transformation defect corpus data; and generating a target map according to the original map and the at least one sub-map. According to the embodiment of the invention, the power transformation defect corpus data is obtained, the at least one sub-map is further generated according to the power transformation defect corpus data, and the target map is finally generated by combining the original map, so that the original map is updated, manual intervention is not needed in the process, and the use experience of a user is improved.

Description

Map generation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of map generation technologies, and in particular, to a map generation method and apparatus, an electronic device, and a storage medium.
Background
A knowledge graph is a series of various graphs used to show the relationship of the progress of knowledge development to the structure.
The knowledge graph updating is to fuse new knowledge and the association relation thereof into the original knowledge graph when the new knowledge and the association relation thereof exist. At present, content updates to the knowledge-graph are mainly divided into full updates and regular updates: the comprehensive updating is mainly to construct a knowledge graph from zero according to a data set, but the technical method needs to consume more resources and needs a large amount of human resources to maintain the system; the conventional updating mainly takes newly added data as input, and newly added knowledge is added into the existing knowledge graph, but the technical method has the problem of manual intervention.
Disclosure of Invention
The invention provides a method and a device for generating an atlas, electronic equipment and a storage medium, which realize autonomous generation of the atlas without manual participation and reduce resource consumption in the process of generating the atlas.
In a first aspect, an embodiment of the present invention provides a method for generating a map, where the method includes: acquiring power transformation defect corpus data; generating at least one sub-map according to the power transformation defect corpus data; and generating a target map according to the original map and the at least one sub-map.
Optionally, the generating at least one sub-map according to the power transformation defect corpus data includes: obtaining target corpus information according to the power transformation defect word segmentation model, the original map and the power transformation defect corpus data; and generating at least one sub-map according to the target corpus information by using a power transformation defect fusion algorithm.
Optionally, the obtaining of the target corpus information according to the power transformation defect word segmentation model, the original map and the power transformation defect corpus data includes: analyzing the power transformation defect corpus data according to the power transformation defect word segmentation model to obtain original corpus information; and preprocessing the original corpus information according to the original map to obtain target corpus information.
Optionally, for any sub-map in the at least one sub-map, after generating the sub-map, the method further includes: checking the sub-map according to the original map; if the sub-graph spectrum is successfully verified, keeping the sub-graph spectrum; and if the sub-graph spectrum check fails, discarding the sub-graph spectrum or returning to execute the step of obtaining the linguistic data of the power transformation defect.
Optionally, the original map includes a plurality of original entities, and the sub-map includes a plurality of target entities; according to the original map, checking the sub-map, including: judging whether a plurality of target entities are related to a plurality of original entities; if all target entities in the target entities are not related to the original entities, determining that the sub-graph spectrum check fails; and if at least one target entity in the target entities is related to the original entities, determining that the sub-graph spectrum check is successful.
Optionally, generating the target map according to the original map and the at least one sub-map includes: and fusing at least one sub-map into the original map through a map synthesizer to generate a target map.
Optionally, the original map further includes relationships between a plurality of original entities, and the sub-map further includes relationships between a plurality of target entities; the target graph includes a union of relationships between a plurality of original entities and relationships between a plurality of target entities.
In a second aspect, an embodiment of the present invention further provides an apparatus for generating a map, where the apparatus includes: the data acquisition module is used for acquiring the linguistic data of the power transformation defect; the first generation module is used for generating at least one sub-map spectrum according to the power transformation defect corpus data; and the second generation module is used for generating a target map according to the original map and the at least one sub-map.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of generating a map of any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to, when executed by a processor, implement a method for generating an atlas according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the corpus data of the power transformation defects are obtained; generating at least one sub-map according to the power transformation defect corpus data; and generating a target map according to the original map and the at least one sub-map. On the basis of the embodiment, the power transformation defect corpus data is obtained, at least one sub-map is further generated according to the power transformation defect corpus data, and the target map is finally generated by combining the original map, so that the original map is updated, manual intervention is not needed in the process, and the use experience of a user is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for generating a profile provided in an embodiment of the present invention;
FIG. 2 is a flowchart of a method for generating an atlas provided in an embodiment of the invention;
FIG. 3 is a schematic diagram of a main spectrum provided in an embodiment of the present invention;
FIG. 4 is a schematic illustration of a sub-map provided in an embodiment of the present invention;
FIG. 5 is a schematic diagram of a target map provided in an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an apparatus for generating an atlas provided in an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart of a method for generating an atlas, which is provided in an embodiment of the present invention, where the present embodiment is applicable to updating a spectrogram, and the method may be performed by an atlas generating apparatus, where the atlas generating apparatus may be implemented in a form of hardware and/or software, and in a specific embodiment, the atlas generating apparatus may be configured in an electronic device. As shown in fig. 1, the method of the embodiment of the present invention specifically includes the following steps:
and S110, obtaining the linguistic data of the power transformation defects.
The power transformation defect corpus data refers to data information capable of describing a power transformation defect process.
Specifically, at least one variable-power-defect corpus data is acquired in the variable-power-defect analysis process.
And S120, generating at least one sub-map according to the power transformation defect corpus data.
The sub-graph spectrum is a spectrum capable of displaying the power transformation defect corpus data.
Specifically, after the transformer defect corpus data is obtained, the transformer defect corpus data is participled through the participle model, and the key information in the transformer defect corpus data is determined, where the key information may be a relationship between entity information and an entity, and the like, which is not limited in this embodiment.
Further, entity relationship linkage is carried out on key information in the participled power transformation defect corpus data through a power transformation defect fusion algorithm, and fusion is mainly carried out on the aspects of concept fusion of entities, entity alignment, attribute alignment of the entities, attribute value fusion of the entities and the like, wherein the concept fusion of the entities is to fuse concept hierarchy systems of a plurality of power transformation defect knowledge, and the key of the step is to find an equivalent concept; the entity alignment is to judge whether knowledge entities from two different sources are equivalent; the attribute alignment of the entity means that equivalent attributes in different knowledge are combined into the same attribute; the attribute value fusion of the entities is to merge the attribute values of the same attribute of the same entity from different knowledge after aligning the attributes. Thereby generating at least one sub-atlas.
And S130, generating a target map according to the original map and the at least one sub-map.
The original map is an existing power transformation defect knowledge map and is used for representing the whole power transformation defect process; the target map refers to a knowledge spectrogram capable of representing a new power transformation defect process.
Specifically, after the transformer defect corpus data and the original map are obtained and at least one sub-map is generated, the at least one sub-map and the original map are fused through a map synthesizer, and therefore a target map is generated.
According to the technical scheme of the embodiment of the invention, the corpus data of the power transformation defects are obtained; generating at least one sub-map according to the power transformation defect corpus data; and generating a target map according to the original map and the at least one sub-map. On the basis of the embodiment, the power transformation defect corpus data is obtained, the at least one sub-map is further generated according to the power transformation defect corpus data, and the target map is finally generated by combining the original map, so that the original map is updated, manual intervention is not needed in the process, and the use experience of a user is improved.
Fig. 2 is another flowchart of a method for generating an atlas, provided in an embodiment of the present invention, based on the foregoing embodiment, for generating at least one sub-atlas according to transformer defect corpus data, and after generating the sub-atlas, generating a target atlas according to an original atlas and the at least one sub-atlas, further optimizing, as shown in fig. 2, the method specifically includes the following steps:
and S210, obtaining the linguistic data of the power transformation defects.
Specifically, transformer defect corpus data is acquired in the transformer defect process.
And S220, obtaining target corpus information according to the power transformation defect word segmentation model, the original map and the power transformation defect corpus data.
The Chinese word segmentation in the power transformation defect word segmentation model is to segment a Chinese character sequence into a single word, and the Chinese word segmentation is different from English words with spaces as natural separators. The power transformation defect word segmentation model is applied to the fields of natural language processing, search engines, intelligent recommendation and the like, and the method is not limited to this. The target corpus information refers to map data information determined after comparing the power transformation defect data information subjected to word segmentation with an original map.
Specifically, after power transformation defect corpus data and an original map are obtained, word segmentation processing is carried out on the power transformation defect corpus data according to a power transformation defect word segmentation model, on the basis of a word segmentation method of statistics and machine learning, modeling is carried out on the word segmentation processed corpus data through marked part of speech and statistical characteristics, namely, model parameters are trained according to observed data (marked power transformation defect corpus data), the probability of occurrence of various words is calculated through a model in a word segmentation stage, the word segmentation result with the maximum probability is used as a final result, and finally, the determined words are calculated through the model to obtain target corpus information.
Further, according to the power transformation defect word segmentation model, the original map and the power transformation defect corpus data, obtaining target corpus information, including: analyzing the transformer defect corpus data according to the transformer defect word segmentation model to obtain original corpus information; and preprocessing the original corpus information according to the original map to obtain target corpus information.
The original corpus information refers to corpus information corresponding to the input power transformation defect corpus data, and the original corpus information includes entities in the power transformation defect corpus data, relationships between the entities, and the like.
Specifically, after the transformation defect corpus data is obtained, the transformation defect corpus data is subjected to word segmentation analysis processing through a transformation defect word segmentation model, and entity information such as names, attributes, relationships among entities and the like in the transformation defect corpus data is obtained. After the original corpus information is determined, the original corpus information is preprocessed through an original map, entities which are not associated with the original map in the original corpus information are filtered, and finally the corpus information without the associated entities is determined to be target corpus information. The method has the advantages that the corpus information is further filtered, and the connection relation between entities in the target corpus information is ensured.
Illustratively, if the corpus information in the original atlas includes an ontology 1, an ontology 2, an ontology 3 and an ontology 4, and there is a correlation between the ontology 1, the ontology 2, the ontology 3 and the ontology 4, the corpus data after the word segmentation model includes the ontology 1, the ontology 4, the ontology 5 and the ontology 6, and there is a correlation between the ontology 1, the ontology 4, the ontology 5 and the ontology 6, so that the target corpus information is determined to be the corpus information of the ontology 1, the ontology 4, the ontology 5 and the ontology 6.
Illustratively, if the corpus information in the original map includes an ontology 1, an ontology 2, an ontology 3 and an ontology 4, and there is a correlation between the ontology 1, the ontology 2, the ontology 3 and the ontology 4, the corpus data after the word segmentation model includes the ontology 1, the ontology 4, the ontology 5, the ontology 6 and the ontology 7, at this time, there is a correlation between the ontology 1, the ontology 4, the ontology 5 and the ontology 6, there is no correlation between the ontology 7 and the corpus information in the original map including the ontology 1, the ontology 2, the ontology 3 and the ontology 4, and there is no correlation between the ontology 7 and the corpus data after the word segmentation model including the ontology 1, the ontology 4, the ontology 5 and the ontology 6, so that the ontology 7 after the word segmentation model is filtered, and the ontology 1, the ontology 4, the ontology 5 and the ontology 6 after the word segmentation model are retained as target corpus information.
And S230, generating at least one sub-map according to the target corpus information by using a power transformation defect fusion algorithm.
The power transformation defect fusion algorithm is used for fusing at least one power transformation defect knowledge in the target corpus information and fusing the knowledge respectively from the aspects of concept fusion of entities, entity alignment, attribute alignment of the entities, attribute value fusion of the entities and the like.
Specifically, after the target corpus information is obtained, at least one piece of power transformation defect knowledge in the target corpus information is fused from the aspects of concept fusion of entities, entity alignment, attribute alignment of entities, attribute value fusion of entities and the like through a power transformation defect fusion algorithm, so that at least one sub-map is generated.
S240, checking the sub-map according to the original map to determine whether the checking is successful.
Specifically, an original map is obtained from a substation defect knowledge map library, and after a sub-map is obtained, the original map is compared to determine whether an entity in the sub-map is associated with an entity in the original map.
On the basis of the above embodiment, optionally, the original spectrum includes a plurality of original entities, and the sub-graph spectrum includes a plurality of target entities; according to the original map, checking the sub-map, comprising: judging whether a plurality of target entities are related to a plurality of original entities; if all target entities in the target entities are not related to the original entities, determining that the sub-graph spectrum check fails; and if at least one target entity in the target entities is related to the original entities, determining that the subgraph spectrum verification is successful.
Specifically, if all target entities in the multiple target entities in the sub-graph are not related to the multiple original entities, determining that the sub-graph verification fails, and executing step S250; if at least one target entity of the target entities is related to the original entities, it is determined that the sub-graph spectrum verification is successful, and step S270 is executed. The method has the advantages that after the sub-map is determined, whether the entity in the sub-map is associated with the entity in the original map or not is determined by comparing and checking the sub-map with the original map, and the accuracy of the sub-map is improved.
And S250, judging whether the sub-map is discarded or not.
Specifically, after the sub-graph spectrum check fails, further determining whether the sub-graph spectrum needs to be discarded through threshold judgment, if the related corpus data corresponding to the sub-graph spectrum is within the set threshold range, determining that the related corpus data corresponding to the sub-graph spectrum is valid, determining not to discard the sub-graph spectrum, and returning to execute step S210; if the related corpus data corresponding to the sub-graph is determined to be invalid if the related corpus data corresponding to the sub-graph is not within the threshold range, it is determined that the sub-graph needs to be discarded, and S260 is executed.
And S260, discarding the sub-map.
Specifically, if the related corpus data corresponding to the sub-graph spectrum is not within the threshold range, determining that the related corpus data corresponding to the sub-graph spectrum is invalid, and discarding the sub-graph spectrum.
And S270, preserving the sub-map.
Specifically, if at least one target entity of the target entities is related to the original entities and the sub-map verification is determined to be successful, the sub-map is retained and the process continues to be performed S280.
S280, fusing at least one sub-map into the original map through the map synthesizer to generate a target map.
Wherein, the spectrum synthesizer is used for synthesizing the two spectrums.
Specifically, after the sub-map is determined, at least one sub-map is fused into the original map through the map synthesizer, and finally the target map is generated.
On the basis of the above embodiment, optionally, the original graph further includes relationships between a plurality of original entities, and the sub-graph further includes relationships between a plurality of target entities; the target graph includes a union of relationships between a plurality of original entities and relationships between a plurality of target entities.
Specifically, in the process of fusing at least one sub-map into an original map through a map synthesizer and finally generating a target map, merging the relationship between a plurality of original entities of the original map and the relationship between a plurality of target entities of the sub-map, and finally obtaining the target map. The method has the advantages that the target map is generated by combining the original map, the original map is updated, and the use experience of a user is improved.
Exemplarily, fig. 3 is a schematic diagram of a main map provided in an embodiment of the present invention, and as shown in fig. 3, the main map includes an ontology 1, an ontology 2, an ontology 3, an ontology 4, an ontology 5, an ontology 6, and an ontology 7, where the ontology 1 is associated with the ontology 2, the ontology 3, and the ontology 4, the ontology 3 and the ontology 5, the ontology 4 and the ontology 6, and the ontology 5 and the ontology 7; fig. 4 is a schematic diagram of a sub-atlas provided in an embodiment of the present invention, and the sub-atlas is a sub-atlas shown in fig. 4, and the sub-atlas includes an ontology 1, an ontology 2, an ontology 4, an ontology 7, and an ontology 8, where the ontology 1 is associated with the ontology 2 and the ontology 4, the ontology 2 is associated with the ontology 7, and the ontology 4 is associated with the ontology 8; then, a target map is generated after the graph synthesizer synthesizes the main map of fig. 3 and the sub-map of fig. 4, fig. 5 is a target map schematic diagram provided in an embodiment of the present invention, and as shown in fig. 5, the target map is generated by a graph synthesizer from the main map of fig. 3 and the sub-map of fig. 4, so that the connection relationship of the target map updates the connection relationship of the sub-map into the main map, and finally the target map includes the ontology 1, the ontology 2, the ontology 3, the ontology 4, the ontology 5, the ontology 6, the ontology 7, and the ontology 8, and the ontology 1 is associated with the ontology 2, the ontology 3 is associated with the ontology 4, the ontology 2 is associated with the ontology 7, the ontology 3 is associated with the ontology 5, the ontology 4 is associated with the ontology 6 and the ontology 8, and the ontology 5 is associated with the ontology 7.
According to the technical scheme of the embodiment of the invention, the linguistic data of the power transformation defect is obtained; obtaining target corpus information according to the power transformation defect word segmentation model, the original map and the power transformation defect corpus data; generating at least one sub-map according to the target corpus information by using a power transformation defect fusion algorithm; checking the sub-atlas according to the original atlas; and if the sub-graph spectrum is successfully verified, keeping the sub-graph spectrum. If the sub-graph spectrum check fails, discarding the sub-graph spectrum or returning to execute the step of obtaining the linguistic data of the power transformation defect; and fusing at least one sub-map into the original map through a map synthesizer to generate a target map. On the basis of the embodiment, after the sub-map is generated, the sub-map is further verified, and then the verified sub-map is fused into the original map through the map fusion device to generate the target map, so that the original map is updated, the problem that manual intervention is needed in the updating process is solved, and the use experience of a user is improved.
Fig. 6 is a schematic structural diagram of an apparatus for generating an atlas, provided in an embodiment of the present invention, where the apparatus includes: a data acquisition module 610, a first generation module 620, and a second generation module 630.
Wherein the content of the first and second substances,
the data acquisition module 610 is configured to acquire transformer defect corpus data;
the first generation module 620 is configured to generate at least one sub-spectrum according to the power transformation defect corpus data;
a second generating module 630, configured to generate a target atlas according to the original atlas and the at least one sub-atlas.
Optionally, the first generating module 620 is specifically configured to: obtaining target corpus information according to the power transformation defect word segmentation model, the original map and the power transformation defect corpus data; and generating at least one sub-map according to the target corpus information by utilizing a power transformation defect fusion algorithm.
Optionally, the first generating module 620 is specifically configured to: analyzing the transformer defect corpus data according to the transformer defect word segmentation model to obtain original corpus information; and preprocessing the original corpus information according to the original map to obtain target corpus information.
Optionally, the apparatus further includes a map checking module, configured to: after the sub-map is generated, checking the sub-map according to the original map; if the sub-graph spectrum is successfully verified, keeping the sub-graph spectrum; and if the sub-graph spectrum check fails, discarding the sub-graph spectrum or returning to execute the step of obtaining the linguistic data of the power transformation defect.
Optionally, the original atlas includes a plurality of original entities, and the sub-atlas includes a plurality of target entities.
Optionally, the map checking module is specifically configured to: judging whether a plurality of target entities are related to a plurality of original entities; if all target entities in the target entities are not related to the original entities, determining that the sub-graph spectrum check fails; and if at least one target entity in the target entities is related to the original entities, determining that the subgraph spectrum verification is successful.
Optionally, the second generating module 630 is specifically configured to: and fusing at least one sub-map into the original map through a map synthesizer to generate a target map.
Optionally, the original map further includes relationships between a plurality of original entities, and the sub-map further includes relationships between a plurality of target entities; the target graph includes a union of relationships between a plurality of original entities and relationships between a plurality of target entities.
The map generation device provided by the embodiment of the invention can execute the map generation method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
FIG. 7 is a block diagram of an electronic device, which is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers, as provided in an embodiment of the invention. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. Processor 11 performs the various methods and processes described above, such as generation of a method map.
In some embodiments, the generation of the method map may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the generation of the method map described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the generation of the method map by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for generating an atlas, the method comprising:
acquiring power transformation defect corpus data;
generating at least one sub-map according to the power transformation defect corpus data;
and generating a target map according to the original map and the at least one sub-map.
2. The method according to claim 1, wherein the generating at least one sub-map according to the power transformation defect corpus data comprises:
obtaining target corpus information according to the power transformation defect word segmentation model, the original map and the power transformation defect corpus data;
and generating the at least one sub-map according to the target corpus information by using a power transformation defect fusion algorithm.
3. The method according to claim 2, wherein obtaining target corpus information according to the power transformation defect word segmentation model, the original atlas and the power transformation defect corpus data comprises:
analyzing the power transformation defect corpus data according to the power transformation defect word segmentation model to obtain original corpus information;
and preprocessing the original corpus information according to the original map to obtain target corpus information.
4. The method of claim 2, wherein for any sub-atlas of the at least one sub-atlas, after generating the sub-atlas, further comprising:
checking the sub-maps according to the original maps;
if the sub-graph spectrum is successfully verified, the sub-graph spectrum is reserved;
and if the sub-graph spectrum fails to be checked, discarding the sub-graph spectrum or returning to execute the step of obtaining the linguistic data of the power transformation defect.
5. The method of claim 4, wherein the original graph comprises a plurality of original entities and the sub-graph comprises a plurality of target entities;
the verifying the sub-map according to the original map comprises the following steps:
judging whether the target entities are related to the original entities or not;
if all target entities in the plurality of target entities are not related to the plurality of original entities, determining that the sub-graph spectrum check fails;
and if at least one target entity in the target entities is related to the original entities, determining that the subgraph spectrum verification is successful.
6. The method of claim 1, wherein generating a target atlas from the original atlas and the at least one sub-atlas comprises:
and fusing the at least one sub-map into the original map through a map synthesizer to generate the target map.
7. The method of claim 6, wherein the original graph further comprises relationships between a plurality of original entities, and wherein the sub-graph further comprises relationships between a plurality of target entities;
the target graph includes a union of relationships between the plurality of original entities and relationships between the plurality of target entities.
8. An apparatus for generating an atlas, the apparatus comprising:
the data acquisition module is used for acquiring the linguistic data of the power transformation defects;
the first generation module is used for generating at least one sub-spectrum according to the power transformation defect corpus data;
and the second generation module is used for generating a target map according to the original map and the at least one sub-map.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of generating an atlas of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer instructions for causing a processor, when executed, to implement a method of generating an atlas according to any of claims 1-7.
CN202211243126.2A 2022-10-11 2022-10-11 Map generation method and device, electronic equipment and storage medium Pending CN115525774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211243126.2A CN115525774A (en) 2022-10-11 2022-10-11 Map generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211243126.2A CN115525774A (en) 2022-10-11 2022-10-11 Map generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115525774A true CN115525774A (en) 2022-12-27

Family

ID=84700884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211243126.2A Pending CN115525774A (en) 2022-10-11 2022-10-11 Map generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115525774A (en)

Similar Documents

Publication Publication Date Title
CN113590645B (en) Searching method, searching device, electronic equipment and storage medium
CN113722493B (en) Text classification data processing method, apparatus and storage medium
CN114579104A (en) Data analysis scene generation method, device, equipment and storage medium
CN112560461A (en) News clue generation method and device, electronic equipment and storage medium
CN115293149A (en) Entity relationship identification method, device, equipment and storage medium
CN116340548A (en) Data processing method and device, electronic equipment and storage medium
CN115186738B (en) Model training method, device and storage medium
CN115801589A (en) Event topological relation determining method, device, equipment and storage medium
CN115665783A (en) Abnormal index tracing method and device, electronic equipment and storage medium
CN115525774A (en) Map generation method and device, electronic equipment and storage medium
CN115080607A (en) Method, device, equipment and storage medium for optimizing structured query statement
CN115249043A (en) Data analysis method and device, electronic equipment and storage medium
CN114443493A (en) Test case generation method and device, electronic equipment and storage medium
CN116737520B (en) Data braiding method, device and equipment for log data and storage medium
CN116628004B (en) Information query method, device, electronic equipment and storage medium
CN112989797B (en) Model training and text expansion methods, devices, equipment and storage medium
CN113792117B (en) Method and device for determining data update context, electronic equipment and storage medium
CN117764560A (en) Vehicle maintenance suggestion acquisition method and vehicle maintenance suggestion generation method
CN115794830A (en) Data value determination method and device, electronic equipment and storage medium
CN115935981A (en) Word segmentation processing method and device, electronic equipment and storage medium
CN118012936A (en) Data extraction method, device, equipment and storage medium
CN117493785A (en) Data processing method and device and electronic equipment
CN117851599A (en) Method, device, equipment and medium for extracting text of other elements of investment supervision
CN115455019A (en) Search intention identification method, device and equipment based on user behavior analysis
CN116431809A (en) Text labeling method, device and storage medium based on bank customer service scene

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