CN112632249A - Method and device for displaying different versions of information of product, computer equipment and medium - Google Patents

Method and device for displaying different versions of information of product, computer equipment and medium Download PDF

Info

Publication number
CN112632249A
CN112632249A CN202011528411.XA CN202011528411A CN112632249A CN 112632249 A CN112632249 A CN 112632249A CN 202011528411 A CN202011528411 A CN 202011528411A CN 112632249 A CN112632249 A CN 112632249A
Authority
CN
China
Prior art keywords
version
keywords
node
product
nodes
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
CN202011528411.XA
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202011528411.XA priority Critical patent/CN112632249A/en
Publication of CN112632249A publication Critical patent/CN112632249A/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/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation
    • 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/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Bioethics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to an artificial intelligence technology, and discloses a method, a device, computer equipment and a medium for displaying information of different versions of a product, which comprises the steps of obtaining data of each version of the product; extracting documents from data of each version of a product, and identifying keywords of the documents; expanding all keywords of the same version to child nodes under nodes of the same version of a preset thinking guide graph according to the attributes of the keywords, wherein the child nodes correspond to various father nodes under the nodes of the same version; matching every two child nodes belonging to nodes of different versions but belonging to similar father nodes by using a pre-trained association model, and calculating a matching value, wherein the association model is obtained by training historical keyword data; and associating and displaying the two sub-nodes corresponding to the matching values meeting the preset conditions in the preset mind map. The application also relates to blockchain techniques, where versions and resulting mind map data are stored. The method and the device can rapidly and comprehensively display the relationship among all versions of the product.

Description

产品不同版本信息的展示方法、装置、计算机设备及介质Method, device, computer equipment and medium for displaying information of different versions of products

技术领域technical field

本申请涉及人工智能技术领域,尤其涉及产品不同版本信息的展示方法、装置、计算机设备及介质。The present application relates to the technical field of artificial intelligence, and in particular, to a method, apparatus, computer equipment and medium for displaying information of different versions of a product.

背景技术Background technique

在现实生活中,存在着许多产品,不管是硬件产品还是软件产品,每隔一定时期就会对产品进行迭代更新,随着产品版本的不断更迭,业务人员或其他人员不断的提出功能建设或优化方面的需求,开发人员根据需求进行开发实现。在现有技术中,均只展示各版本阶段的文字描述,没有能够对不同版本的产品的产品需求、提出背景等按版本来全面展示的,现有技术无法快速的了解各版本的相关信息及各版本之间的关联。因此,如何快速且全面的展示产品各版本间的关系成为了亟待解决的问题。In real life, there are many products, whether it is a hardware product or a software product, the product will be iteratively updated at regular intervals. With the continuous change of product versions, business personnel or other personnel continue to propose function construction or optimization. Aspects of the requirements, developers develop and implement according to the requirements. In the prior art, only the text description of each version stage is displayed, and there is no comprehensive display of product requirements and proposed backgrounds of different versions of products by version. The prior art cannot quickly understand the relevant information of each version and Links between versions. Therefore, how to quickly and comprehensively display the relationship between the various versions of the product has become an urgent problem to be solved.

发明内容SUMMARY OF THE INVENTION

本申请提供了产品不同版本信息的展示方法、装置、计算机设备及存储介质,以解决现有技术中无法快速展示产品各版本间的关系且展示的关系不够全面的问题。The present application provides a method, device, computer equipment and storage medium for displaying information of different versions of a product to solve the problems in the prior art that the relationship between versions of a product cannot be displayed quickly and the displayed relationship is not comprehensive enough.

为解决上述问题,本申请提供了产品不同版本信息的展示方法,包括:In order to solve the above problems, the present application provides methods for displaying information of different versions of products, including:

获取产品各版本的数据;Obtain the data of each version of the product;

从所述产品各版本的数据中提取文档,并识别所述文档的关键词;Extract documents from the data of each version of the product, and identify the keywords of the documents;

根据所述关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;According to the attributes of the keywords, all keywords of the same version are expanded into the child nodes under the node of the same version of the preset mind map, and the child nodes are related to various parent nodes under the node of the same version. correspond;

利用预训练的关联模型,对归属不同版本节点,但属于同类父节点的各个子节点进行两两匹配并计算匹配值,所述关联模型由历史关键词数据训练得到;Using a pre-trained association model, each child node belonging to a node of a different version but belonging to a parent node of the same type is matched in pairs and a matching value is calculated, and the association model is obtained by training historical keyword data;

将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示。The two child nodes corresponding to the matching value satisfying the preset condition are associated and displayed in the preset mind map.

进一步的,在所述获取产品各版本的数据之前,还包括:Further, before obtaining the data of each version of the product, it also includes:

向数据库发送调用请求,所述调用请求携带验签令牌;Send a call request to the database, where the call request carries a signature verification token;

接收所述数据库返回的验签结果,并在验签结果为通过时,调用数据库中所述产品各版本的数据;Receive the signature verification result returned by the database, and when the signature verification result is passed, call the data of each version of the product in the database;

所述验签的方式为RSA非对称加密方式。The signature verification method is an RSA asymmetric encryption method.

进一步的,所述识别所述文档的关键词包括:Further, the keywords for identifying the document include:

利用关键词提取模型识别所述文档中的关键词,所述关键词提取模型为利用历史词库训练得来。A keyword extraction model is used to identify the keywords in the document, and the keyword extraction model is trained using a historical thesaurus.

进一步的,在所述将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中之前,还包括:Further, before the expansion of all keywords of the same version to the sub-nodes under the node of the same version of the preset mind map, it also includes:

提取产品各版本号作为所述版本节点;Extract each version number of the product as the version node;

设置需求目标、需求背景、可选方案和数据流程四个节点作为所述版本节点下的父节点;Set four nodes of requirement target, requirement background, optional scheme and data flow as the parent node under the version node;

根据所述版本节点和所述父节点构建所述预设思维导图。The preset mind map is constructed according to the version node and the parent node.

进一步的,所述根据所述关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,包括:Further, according to the attributes of the keywords, all keywords of the same version are expanded into the child nodes under the node of the same version of the preset mind map, including:

根据关键词的属性对所述关键词进行分类,得到需求目标类关键词、需求背景类关键词、可选方案类关键词和数据流程类关键词;Classify the keywords according to their attributes to obtain demand target keywords, demand background keywords, optional solution keywords and data process keywords;

将同一版本的所述需求目标类关键词扩充到所述需求目标父节点下的子节点中;将同一版本的所述需求背景类关键词扩充到所述需求背景父节点下的子节点中;将同一版本的所述可选方案类关键词扩充到所述可选方案父节点下的子节点中;将同一版本的所述数据流程类关键词扩充到所述数据流程父节点下的子节点中。Expand the requirement target class keyword of the same version into the child node under the requirement target parent node; expand the requirement background class keyword of the same version into the child node under the requirement background parent node; Expand the optional scheme class keyword of the same version to the child node under the optional scheme parent node; expand the data flow class keyword of the same version to the child node under the data flow parent node middle.

进一步的,所述利用预训练的关联模型,对归属不同版本节点,但属于同类父节点的各个子节点进行两两匹配并计算匹配值包括:Further, the use of the pre-trained association model to perform pairwise matching on each child node belonging to a node of a different version but belonging to a parent node of the same type and calculate the matching value includes:

通过所述关联模型计算所述关键词的熵值,根据所述熵值确定所述关键词间的匹配值,所述关联模型基于RNN模型训练得到。The entropy value of the keyword is calculated by the association model, and the matching value between the keywords is determined according to the entropy value, and the association model is obtained by training based on the RNN model.

进一步的,所述将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示包括:Further, associating and displaying the two sub-nodes corresponding to the matching value satisfying the preset condition in the preset mind map includes:

将所述匹配值与第一阈值进行比较;comparing the matching value to a first threshold;

当所述匹配值大于第一阈值时,使用实线连接所述两个关键词来展示;When the matching value is greater than the first threshold, use a solid line to connect the two keywords to display;

当所述匹配值小于第一阈值时,将所述匹配值与第二阈值进行比较;when the matching value is less than the first threshold, comparing the matching value with a second threshold;

当所述匹配值小于第一阈值且大于所述第二阈值时,使用虚线连接所述两个关键词来展示;其中,第一阈值大于第二阈值。When the matching value is less than the first threshold and greater than the second threshold, a dotted line is used to connect the two keywords to show; wherein the first threshold is greater than the second threshold.

为了解决上述问题,本申请还提供产品不同版本信息的展示装置,所述装置包括:In order to solve the above problems, the present application also provides a display device for different version information of a product, and the device includes:

获取模块,用于获取产品各版本的数据;The acquisition module is used to acquire the data of each version of the product;

提取识别模块,用于从所述产品各版本的数据中提取文档,并识别所述文档的关键词;An extraction and identification module, used for extracting documents from the data of each version of the product, and identifying the keywords of the documents;

填充模块,用于根据所述关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;The filling module is used to expand all the keywords of the same version to the sub-nodes under the same version node of the preset mind map according to the attributes of the keywords, and the sub-nodes are the same as the sub-nodes under the same version node. Corresponding to various parent nodes;

匹配模块,用于利用预训练的关联模型,对归属不同版本节点,但属于同类父节点的各个子节点进行两两匹配并计算匹配值,所述关联模型由历史关键词数据训练得到;The matching module is used for using a pre-trained association model to perform pairwise matching on each child node belonging to a node of a different version but belonging to a parent node of the same type and calculate a matching value, the association model is obtained by training from historical keyword data;

关联展示模块,用于将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示。The association display module is used for associating and displaying the two sub-nodes corresponding to the matching value satisfying the preset condition in the preset mind map.

为了解决上述问题,本申请还提供一种计算机设备,包括:In order to solve the above problems, the present application also provides a computer equipment, including:

至少一个处理器;以及,at least one processor; and,

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上述所述的产品不同版本信息的展示方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the presentation of information on different versions of a product as described above method.

为了解决上述问题,本申请还提供一种非易失性的计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上述所述的产品不同版本信息的展示方法。In order to solve the above problems, the present application also provides a non-volatile computer-readable storage medium, where computer-readable instructions are stored on the computer-readable storage medium, and when the computer-readable instructions are executed by a processor, the The above-mentioned display method of different version information of the product.

根据本申请实施例提供的产品不同版本信息的展示方法、装置、计算机设备及介质,与现有技术相比至少具有以下有益效果:通过获取产品各版本数据,从所述产品各版本的数据中提取文档,并识别出所述文档中的关键词;通过这样的方式来提炼文档数据;随后根据关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;并利用关联模型,来对属于不同版本节点,但属同类父节点的关键词进行两两匹配并计算匹配值,来实现不同版本之间的关联匹配,并将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示,对满足要求的两个关键词进行关联并可视化,从而实现对产品各版本间的关系进行快速且全面的展示。Compared with the prior art, the method, device, computer equipment and medium for displaying information of different versions of products provided according to the embodiments of the present application have at least the following beneficial effects: by acquiring the data of each version of the product, from the data of each version of the product Extract the document, and identify the keywords in the document; extract the document data in this way; then, according to the attributes of the keywords, expand all keywords of the same version to the same version node of the preset mind map In the child nodes, the child nodes correspond to various parent nodes under the same version node; and the associated model is used to match the keywords belonging to different version nodes but belong to the same parent node and calculate The matching value is used to realize the association matching between different versions, and the two sub-nodes corresponding to the matching value satisfying the preset condition are associated and displayed in the preset mind map. Keywords are associated and visualized, so as to quickly and comprehensively display the relationship between the various versions of the product.

附图说明Description of drawings

为了更清楚地说明本申请中的方案,下面将对本申请实施例描述中所需要使用的附图做一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the solutions in the present application more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present application. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.

图1为本申请一实施例提供的产品不同版本信息的展示方法的流程示意图;1 is a schematic flowchart of a method for displaying information of different versions of a product provided by an embodiment of the present application;

图2为本申请一实施例提供的预设思维导图;FIG. 2 is a preset mind map provided by an embodiment of the present application;

图3为本申请一实施例提供的思维导图的关联效果图;FIG. 3 is a related effect diagram of a mind map provided by an embodiment of the present application;

图4为本申请一实施例提供的产品不同版本信息的展示装置的模块示意图;FIG. 4 is a schematic block diagram of a display device for displaying information of different versions of a product provided by an embodiment of the present application;

图5为本申请一实施例的计算机设备的结构示意图。FIG. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.

具体实施方式Detailed ways

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”“第二”等是用于区别不同对象,而不是用于描述特定顺序。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of this application; the terms used herein in the specification of the application are for the purpose of describing specific embodiments only It is not intended to limit the application; the terms "comprising" and "having" and any variations thereof in the description and claims of this application and the above description of the drawings are intended to cover non-exclusive inclusion. The terms "first", "second" and the like in the description and claims of the present application or the above drawings are used to distinguish different objects, rather than to describe a specific order.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是是相同的实施例,也不是与其它实施例相互排斥的独立的或备选的实施例。本领域技术人员显式地或隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly or implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

本申请提供一种产品不同版本信息的展示方法。参照图1所示,为本申请一实施例提供的产品不同版本信息的展示方法的流程示意图。The present application provides a method for displaying information of different versions of a product. Referring to FIG. 1 , it is a schematic flowchart of a method for displaying information of different versions of a product according to an embodiment of the present application.

在本实施例中,产品不同版本信息的展示方法包括:In this embodiment, the methods for displaying information of different versions of products include:

S1、获取产品各版本的数据;S1. Obtain the data of each version of the product;

具体的,获取产品各版本的数据,包括获取各版本的需求文档和开发文档等,其中上述需求文档中记录了业务人员对产品的功能需求和优化需求,即需求目标和需求背景等,开发文档中则记录了可选方案阐述和数据流程等。Specifically, obtain the data of each version of the product, including obtaining the requirement document and development document of each version, among which the above requirement document records the functional requirements and optimization requirements of the business personnel for the product, that is, the requirement target and requirement background, etc., and the development document It records the description of the alternatives and the data flow.

进一步的,在所述获取产品各版本的数据之前,还包括:Further, before obtaining the data of each version of the product, it also includes:

向数据库发送调用请求,所述调用请求携带验签令牌;Send a call request to the database, where the call request carries a signature verification token;

接收所述数据库返回的验签结果,并在验签结果为通过时,调用数据库中所述产品各版本的数据;Receive the signature verification result returned by the database, and when the signature verification result is passed, call the data of each version of the product in the database;

所述验签的方式为RSA非对称加密方式。The signature verification method is an RSA asymmetric encryption method.

具体的,由于各版本数据属于机密数据,所以在向数据库调用各版本数据时,需要进行验签步骤。来验证调用数据的用户是否为正确用户或内部用户。Specifically, since each version of the data is confidential data, a signature verification step needs to be performed when calling each version of the data to the database. to verify that the user calling the data is the correct user or an internal user.

通过验签的方式保证了产品各版本数据安全。The data security of each version of the product is guaranteed through signature verification.

S2、从所述产品各版本的数据中提取文档,并识别所述文档的关键词;S2, extracting documents from the data of each version of the product, and identifying the keywords of the document;

具体的,通过提取所述产品各版本中的需求文档和开发文档,并提取所述需求文档和开发文档中的关键词;Specifically, by extracting the requirements document and the development document in each version of the product, and extracting the keywords in the requirement document and the development document;

进一步的,所述识别所述文档的关键词包括:Further, the keywords for identifying the document include:

利用关键词提取模型识别所述文档中的关键词,所述关键词提取模型为利用历史词库训练得来。A keyword extraction model is used to identify the keywords in the document, and the keyword extraction model is trained using a historical thesaurus.

例如:在需求1中,流程为定时任务拨打电话,识别黑名单,取消拨打;For example: in requirement 1, the process is to make a call for a scheduled task, identify the blacklist, and cancel the call;

通过关键词提取模型提取得到:定时任务、电话拨打、黑名单、取消拨打关键词。The keywords are extracted by the keyword extraction model: timed tasks, phone calls, blacklists, and cancel-dial keywords.

在需求2中,流程为定时任务拨打电话;In requirement 2, the process makes a call for a timed task;

通过关键词提取模型提取得到:定时任务和拨打电话关键词。Extracted through the keyword extraction model: timing tasks and calling keywords.

具体的,所述关键词提取模型首先根据分词算法得到N个词语,将所述N个词语分别与历史关键词进行比较,提示出与历史关键词高度接近的词语作为关键词。Specifically, the keyword extraction model first obtains N words according to a word segmentation algorithm, compares the N words with historical keywords respectively, and suggests words that are highly close to the historical keywords as keywords.

所述关键词提取模型基于TF-IDF模型或LDA模型等得到。The keyword extraction model is obtained based on the TF-IDF model or the LDA model.

通过利用关键词提取模型提取关键词实现对关键词的准确提取。Accurate extraction of keywords is achieved by extracting keywords using a keyword extraction model.

S3、根据所述关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;S3. According to the attributes of the keywords, expand all keywords of the same version to the child nodes under the node of the same version of the preset mind map, and the child nodes are the same as various parent nodes under the node of the same version. corresponding to the node;

具体的,将统一版本的关键词填入统一版本节点下的子节点中,实现对关键词的统一管理。Specifically, the keywords of the unified version are filled into the sub-nodes under the node of the unified version, so as to realize the unified management of the keywords.

进一步的,在所述将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中之前,还包括:Further, before the expansion of all keywords of the same version to the sub-nodes under the node of the same version of the preset mind map, it also includes:

提取产品各版本号作为所述版本节点;Extract each version number of the product as the version node;

设置需求目标、需求背景、可选方案和数据流程四个节点作为所述版本节点下的父节点;Set four nodes of requirement target, requirement background, optional scheme and data flow as the parent node under the version node;

根据所述版本节点和所述父节点构建所述预设思维导图。The preset mind map is constructed according to the version node and the parent node.

具体的,在各版本数据中提取各版本产品的版本号作为所述版本节点,在本实施例中,如图2所示,预设的思维导图设定了需求目标、需求背景、可选方案和数据流程四个父节点的思维导图;Specifically, the version number of each version of the product is extracted from the data of each version as the version node. In this embodiment, as shown in FIG. 2 , the preset mind map sets the requirement target, requirement background, optional The mind map of the four parent nodes of the scheme and data flow;

所述需求目标、需求背景、可选方案和数据流程四个父节点,对应一个版本节点,即图中的版本1或版本2节点;在一个完整的预设思维导图中,对应有多个版本节点,而每个版本节点下各有需求目标、需求背景、可选方案和数据流程四个父节点。The four parent nodes of the requirement target, the requirement background, the optional solution and the data flow correspond to a version node, that is, the version 1 or version 2 node in the figure; in a complete preset mind map, there are multiple corresponding Version node, and each version node has four parent nodes: requirement target, requirement background, alternative solution, and data flow.

通过预先设定思维导图便于后续直接将关键词填入对应的子节点中,提高处理效率。By presetting the mind map, it is convenient to directly fill in the keywords into the corresponding sub-nodes in the future, so as to improve the processing efficiency.

再进一步的,所述根据所述关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,包括:Still further, according to the attributes of the keywords, all keywords of the same version are expanded into the child nodes under the node of the same version of the preset mind map, including:

根据关键词的属性对所述关键词进行分类,得到需求目标类关键词、需求背景类关键词、可选方案类关键词和数据流程类关键词;Classify the keywords according to their attributes to obtain demand target keywords, demand background keywords, optional solution keywords and data process keywords;

将同一版本的所述需求目标类关键词扩充到所述需求目标父节点下的子节点中;将同一版本的所述需求背景类关键词扩充到所述需求背景父节点下的子节点中;将同一版本的所述可选方案类关键词扩充到所述可选方案父节点下的子节点中;将同一版本的所述数据流程类关键词扩充到所述数据流程父节点下的子节点中。Expand the requirement target class keyword of the same version into the child node under the requirement target parent node; expand the requirement background class keyword of the same version into the child node under the requirement background parent node; Expand the optional scheme class keyword of the same version to the child node under the optional scheme parent node; expand the data flow class keyword of the same version to the child node under the data flow parent node middle.

具体的,利用预设的数据库来对关键词进行分类,各数据库中保存的词语其属性不同,例如识别出两个关键词后,将关键词一一与需求目标词数据库、需求背景词数据库、可选方案词数据库和数据流程词数据库中的字词进行匹配,若与需求目标词数据库中的字词匹配成功,那么所述关键词则属于需求目标类关键词;若与需求背景词数据库中的字词匹配成功,那么所述关键词则属于需求背景类关键词;若与可选方案词数据库中的字词匹配成功,那么所述关键词则属于可选方案类关键词;同理,若与数据流程词数据库中的字词匹配成功,那么所述关键词则属于数据流程类关键词。Specifically, a preset database is used to classify the keywords, and the attributes of the words stored in each database are different. The optional solution word database is matched with the words in the data process word database. If it is successfully matched with the words in the demand target word database, then the keyword belongs to the demand target keyword; If the word matching is successful, then the keyword belongs to the demand background type keyword; if it matches the word in the optional scheme word database successfully, then the keyword belongs to the optional scheme category keyword; Similarly, If it is successfully matched with the words in the data process word database, then the keyword belongs to the data process type keyword.

对应的,将不同类的关键词填入对应父节点下的子节点中,例如数据流程类关键词将扩充至数据流程父节点下的子节点中,其他类型的关键词同理。Correspondingly, fill in different types of keywords into the child nodes under the corresponding parent node. For example, the data process type keywords will be expanded to the child nodes under the data process parent node, and the same is true for other types of keywords.

根据关键词的属性来将关键词进行分类并填入对应父节点下的子节点中,实现对各版本数据的一个全面展示。According to the attributes of the keywords, the keywords are classified and filled in the child nodes under the corresponding parent node, so as to realize a comprehensive display of the data of each version.

S4、利用预训练的关联模型,对归属不同版本节点,但属于同类父节点的各个子节点进行两两匹配并计算匹配值,所述关联模型由历史关键词数据训练得到;S4, using a pre-trained association model to perform pairwise matching on each child node belonging to a node of a different version but belonging to a parent node of the same type and calculate a matching value, the association model is obtained by training historical keyword data;

进一步的,所述利用预训练的关联模型,对归属不同版本节点,但属于同类父节点的各个子节点进行两两匹配并计算匹配值包括:Further, the use of the pre-trained association model to perform pairwise matching on each child node belonging to a node of a different version but belonging to a parent node of the same type and calculate the matching value includes:

通过所述关联模型计算所述关键词的熵值,根据所述熵值确定所述关键词间的匹配值,所述关联模型基于RNN模型训练得到。The entropy value of the keyword is calculated by the association model, and the matching value between the keywords is determined according to the entropy value, and the association model is obtained by training based on the RNN model.

具体的,所述关联模型对每个关键词进行熵值计算,通过计算任意两个所述关键词对应的熵值间的距离,来得到相似度,即匹配值;通过将关键词输入所述关联模型,就可得到任意两个所述关键词的匹配值。还可以通过调整所述距离大小,来调整所述两个关键词的匹配值。Specifically, the association model calculates the entropy value of each keyword, and calculates the distance between the entropy values corresponding to any two of the keywords to obtain the similarity, that is, the matching value; Correlation model, the matching value of any two keywords can be obtained. The matching value of the two keywords may also be adjusted by adjusting the distance.

遍历整个关键词,通过将不同版本但属同类父节点的所有关键词两两之间计算相似度,即匹配值大小。Traverse the entire keyword, and calculate the similarity between all keywords of different versions but belong to the same parent node, that is, the size of the matching value.

通过利用关联模型来计算两个关键词间的匹配值,为后续关联步骤做准备。By using the association model to calculate the match value between two keywords, prepare for the subsequent association step.

S5、将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示。S5. Associate and display the two sub-nodes corresponding to the matching value satisfying the preset condition in the preset mind map.

具体的,获取所述关键词两两之间计算相似度大小,即匹配值大小,将匹配值大于第一阈值的两个所述关键词进行关联。并且根据两个关键词间的匹配值大小,利用实线和虚线来将两特征词连接,最后形成网络时,通过实线与虚线的不同来区别匹配值大小,能够更加清晰的体现关键词间的关系,进而体现出各版本产品之间的关系。Specifically, the similarity between the two keywords, that is, the matching value, is calculated, and two keywords whose matching value is greater than a first threshold are associated. And according to the matching value between the two keywords, the solid line and the dotted line are used to connect the two feature words. When the network is finally formed, the matching value is distinguished by the difference between the solid line and the dotted line, which can more clearly reflect the difference between keywords. The relationship between the different versions of the product is reflected.

进一步的,所述将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示包括:Further, associating and displaying the two sub-nodes corresponding to the matching value satisfying the preset condition in the preset mind map includes:

将所述匹配值与第一阈值进行比较;comparing the matching value to a first threshold;

当所述匹配值大于第一阈值时,使用实线连接所述两个关键词来展示;When the matching value is greater than the first threshold, use a solid line to connect the two keywords to display;

当所述匹配值小于第一阈值时,将所述匹配值与第二阈值进行比较;when the matching value is less than the first threshold, comparing the matching value with a second threshold;

当所述匹配值小于第一阈值且大于所述第二阈值时,使用虚线连接所述两个关键词来展示;其中,第一阈值大于第二阈值。When the matching value is less than the first threshold and greater than the second threshold, a dotted line is used to connect the two keywords to show; wherein the first threshold is greater than the second threshold.

具体的,通过上述方式将满足要求的两关键词进行关联,并通过利用实现和虚线进行关联大小的区别。当匹配值小于第一阈值且大于第二阈值时,利用虚线连接所述两个关键词,当匹配值大于第一阈值时,利用实线连接所述两个关键词。Specifically, the two keywords that meet the requirements are associated in the above manner, and the size of the association is differentiated by using the realization and the dotted line. When the matching value is less than the first threshold and greater than the second threshold, the two keywords are connected by a dotted line, and when the matching value is greater than the first threshold, the two keywords are connected by a solid line.

关键词的关联步骤还可以接受用户指令,进行手动关联。The keyword association step can also accept user instructions for manual association.

例如:红色箭头相连的两端表示这两者相关联。For example: the two ends connected by red arrows indicate that the two are related.

本申请其他实施方式中,还可以利用其它任意可区别的方式来将满足预设条件的两个关键词相关联,例如,如图3所示,还可通过颜色的不同来进行关联程度大小的区分,例如将所述匹配值与第一阈值进行比较,当所述匹配值大于第一阈值时,使用红色箭头连接所述两个关键词来展示;In other embodiments of the present application, any other distinguishable manner may also be used to associate two keywords that satisfy the preset conditions. For example, as shown in FIG. 3 , the degree of association may also be determined by different colors. Distinguish, for example, compare the matching value with a first threshold, and when the matching value is greater than the first threshold, use a red arrow to connect the two keywords to display;

当所述匹配值小于第一阈值且大于所述第二阈值时,使用蓝色箭头连接所述两个关键词来展示;其中,第一阈值大于第二阈值。When the matching value is less than the first threshold and greater than the second threshold, the two keywords are connected by blue arrows to show; wherein the first threshold is greater than the second threshold.

上述颜色的并不固定,可使用任意两种不同的颜色来进行区分,并且对于关联程度大小也不仅限于两类,可以设定多类,并利用不同颜色的箭头来进行区分。所述区分的方式可为多种,不限于上述的实线和虚线、不同颜色的区分方式。The above colors are not fixed, any two different colors can be used to distinguish, and the degree of association is not limited to two types, and multiple types can be set, and arrows of different colors can be used to distinguish. There may be various ways of distinguishing, and it is not limited to the above-mentioned ways of distinguishing between solid lines and dashed lines and different colors.

在本申请其他实施方式中,所述匹配值与所述第二阈值的比较步骤还可以省略,即只通过判断所述匹配值与第一阈值的大小,当所述匹配值大于等于所述第一阈值时,使用实现或虚线来连接两个所述关键词;当所述匹配值小于所述第一阈值时,不对两个所述关键词进行处理。In other embodiments of the present application, the step of comparing the matching value with the second threshold may also be omitted, that is, only by judging the size of the matching value and the first threshold, when the matching value is greater than or equal to the first threshold When a threshold value is used, the two keywords are connected by a realization or a dotted line; when the matching value is less than the first threshold value, the two keywords are not processed.

通过上述连线的方式来进行关联,实现对各版本数据间的关联操作并提高了关联效率。The association is performed through the above-mentioned connection method, so as to realize the association operation between the data of each version and improve the association efficiency.

需要强调的是,为了进一步保证数据的私密性和安全性,所述产品各版本数据和生成的思维导图数据还可以存储于一区块链的节点中。It should be emphasized that, in order to further ensure the privacy and security of the data, the data of each version of the product and the generated mind map data can also be stored in a node of a blockchain.

本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.

通过获取产品各版本数据,从所述产品各版本的数据中提取文档,并识别出所述文档中的关键词;通过这样的方式来提炼文档数据;随后根据关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;并利用关联模型,来对属于不同版本节点,但属同类父节点的关键词进行两两匹配并计算匹配值,来实现不同版本之间的关联匹配,并将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示,对满足要求的两个关键词进行关联并可视化,从而实现对产品各版本间的关系进行快速且全面的展示。By acquiring the data of each version of the product, extracting documents from the data of each version of the product, and identifying the keywords in the document; extracting the document data in this way; then according to the attributes of the keywords, the same version of the All keywords are expanded to the child nodes under the node of the same version of the preset mind map, and the child nodes correspond to various parent nodes under the node of the same version; node, but the keywords of the same parent node are matched in pairs and the matching value is calculated to realize the association matching between different versions, and the matching values satisfy the two child nodes corresponding to the preset conditions, in the preset Set up the association and display in the mind map, associate and visualize the two keywords that meet the requirements, so as to realize the rapid and comprehensive display of the relationship between the various versions of the product.

如图4所示,是本申请产品不同版本信息的展示装置的功能模块图。As shown in FIG. 4 , it is a functional block diagram of a display device for different version information of the product of the present application.

本申请所述产品不同版本信息的展示装置100可以安装于电子设备中。根据实现的功能,所述产品不同版本信息的展示装置100可以包括获取模块101、提取识别模块102、填充模块103、匹配模块104和关联展示模块105。本发所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。The display apparatus 100 for different version information of the product described in this application can be installed in an electronic device. According to the realized functions, the display device 100 for different version information of a product may include an acquisition module 101 , an extraction and identification module 102 , a filling module 103 , a matching module 104 and an associated display module 105 . The modules described in the present invention can also be called units, which refer to a series of computer program segments that can be executed by the electronic device processor and can perform fixed functions, and are stored in the memory of the electronic device.

在本实施例中,关于各模块/单元的功能如下:In this embodiment, the functions of each module/unit are as follows:

获取模块101,用于获取产品各版本的数据;an acquisition module 101, used for acquiring data of each version of the product;

具体的,所述获取模块101用于获取产品各版本的数据,包括获取各版本的需求文档和开发文档等。Specifically, the obtaining module 101 is used to obtain data of each version of the product, including obtaining the requirement document and development document of each version.

产品不同版本信息的展示装置100还包括发送请求模块和调用模块;The display device 100 for different version information of the product further includes a sending request module and a calling module;

所述发送请求模块用于向数据库发送调用请求,所述调用请求携带验签令牌;The sending request module is configured to send a calling request to the database, where the calling request carries a signature verification token;

所述调用模块用于接收所述数据库返回的验签结果,并在验签结果为通过时,调用数据库中所述产品各版本的数据;The calling module is used to receive the signature verification result returned by the database, and when the signature verification result is passed, the data of each version of the product in the database is invoked;

所述验签的方式为RSA非对称加密方式。The signature verification method is an RSA asymmetric encryption method.

通过发送请求模块和调用模块的配合使用,保证了产品各版本的数据安全。Through the cooperative use of the sending request module and the calling module, the data security of each version of the product is guaranteed.

提取识别模块102,用于从所述产品各版本的数据中提取文档,并识别所述文档的关键词;Extraction and identification module 102, for extracting documents from the data of each version of the product, and identifying the keywords of the document;

所述提取识别模块102用于提取所述产品各版本中的需求文档和开发文档,并提取所述需求文档和开发文档中的关键词;The extraction and identification module 102 is used to extract the requirement document and development document in each version of the product, and extract the keywords in the requirement document and the development document;

所述提取识别模块102包括关键词提取子模块;The extraction and identification module 102 includes a keyword extraction sub-module;

所述关键词提取子模块用于利用关键词提取模型识别所述文档中的关键词,所述关键词提取模型为利用历史词库训练得来。The keyword extraction sub-module is used for identifying keywords in the document by using a keyword extraction model, and the keyword extraction model is trained by using a historical lexicon.

通过关键词提取模型实现对关键词的准确提取。Accurate extraction of keywords is achieved through the keyword extraction model.

填充模块103,用于根据所述关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;The filling module 103 is used to expand all the keywords of the same version into the sub-nodes under the same version node of the preset mind map according to the attributes of the keywords, and the sub-nodes are the same as those under the same version node. Corresponding to various parent nodes of ;

填充模块103将统一版本的关键词填入统一版本节点下的子节点中,实现对关键词的统一管理。The filling module 103 fills the keywords of the unified version into the sub-nodes under the node of the unified version, so as to realize the unified management of the keywords.

产品不同版本信息的展示装置100还包括提取版本号模块、父节点设置模块和思维导图构建模块;The display device 100 for different versions of products further includes a version number extraction module, a parent node setting module and a mind map building module;

提取版本号模块用于提取产品各版本号作为所述版本节点;The extracting version number module is used to extract each version number of the product as the version node;

父节点设置模块用于设置需求目标、需求背景、可选方案和数据流程四个节点作为所述版本节点下的父节点;The parent node setting module is used to set four nodes of demand target, demand background, optional scheme and data flow as the parent node under the version node;

思维导图构建模块用于根据所述版本节点和所述父节点构建所述预设思维导图。The mind map building module is configured to construct the preset mind map according to the version node and the parent node.

具体的,提取版本号模块在各版本数据中提取各版本产品的版本号作为所述版本节点。Specifically, the version number extracting module extracts the version number of each version product from the version data as the version node.

通过提取版本号模块、父节点设置模块和思维导图构建模块的配合使用,实现了便于后续直接将关键词填入对应的子节点中,提高处理效率。Through the combined use of the version number extraction module, the parent node setting module and the mind map building module, it is convenient to directly fill in the keywords into the corresponding child nodes in the future, and the processing efficiency is improved.

填充模块103包括分类子模块和扩充子模块;The filling module 103 includes a classification submodule and an expansion submodule;

所述分类子模块用于根据关键词的属性对所述关键词进行分类,得到需求目标类关键词、需求背景类关键词、可选方案类关键词和数据流程类关键词;The classification submodule is used for classifying the keywords according to the attributes of the keywords, so as to obtain demand target keywords, demand background keywords, optional scheme keywords and data process keywords;

所述扩充子模块用于将同一版本的所述需求目标类关键词扩充到所述需求目标父节点下的子节点中;将同一版本的所述需求背景类关键词扩充到所述需求背景父节点下的子节点中;将同一版本的所述可选方案类关键词扩充到所述可选方案父节点下的子节点中;将同一版本的所述数据流程类关键词扩充到所述数据流程父节点下的子节点中。The expansion submodule is used to expand the requirement target class keywords of the same version into the child nodes under the requirement target parent node; expand the requirement background class keywords of the same version to the requirement background parent node. in the child nodes under the node; expand the optional scheme class keywords of the same version into the child nodes under the optional scheme parent node; expand the data flow category keywords of the same version into the data In the child node under the parent node of the process.

具体的,所述分类子模块根据预设的数据库来对关键词进行分类,各数据库中保存的词语其属性不同。Specifically, the classification sub-module classifies the keywords according to a preset database, and the attributes of the words stored in each database are different.

对应的扩充子模块将不同类的关键词填入对应父节点下的子节点中。The corresponding expansion sub-module fills in the keywords of different categories into the child nodes under the corresponding parent node.

通过分类子模块和扩充子模块的配合实现对各版本数据的一个全面展示。Through the cooperation of the classification sub-module and the expansion sub-module, a comprehensive display of the data of each version is realized.

匹配模块104,用于利用预训练的关联模型,对归属不同版本节点,但属于同类父节点的各个子节点进行两两匹配并计算匹配值,所述关联模型由历史关键词数据训练得到;The matching module 104 is used for using a pre-trained association model to perform pairwise matching on each child node belonging to a node of a different version but belonging to a parent node of the same type and calculate a matching value, the association model is obtained by training historical keyword data;

所述匹配模块104包括计算子模块;The matching module 104 includes a calculation sub-module;

所述计算子模块用于通过所述关联模型计算所述关键词的熵值,根据所述熵值确定所述关键词间的相似度,所述关联模型基于RNN模型训练得到;The calculation submodule is used to calculate the entropy value of the keyword through the association model, and determine the similarity between the keywords according to the entropy value, and the association model is obtained based on RNN model training;

具体的,所述计算子模块利用所述关联模型对每个关键词进行熵值计算,通过计算任意两个所述关键词对应的熵值间的距离,来得到相似度,即匹配值;通过将属于不同版本但属于同一类型父节点的关键词输入所述关联模型,就可得到任意两个所述关键词的匹配值。Specifically, the calculation sub-module uses the association model to calculate the entropy value of each keyword, and obtains the similarity, that is, the matching value, by calculating the distance between the entropy values corresponding to any two of the keywords; By inputting keywords belonging to different versions but belonging to the same type of parent node into the association model, the matching value of any two keywords can be obtained.

遍历整个关键词,通过将不同版本但属同类父节点的所有关键词两两之间计算相似度,得出匹配值大小。Traverse the entire keyword, and calculate the similarity between all keywords of different versions but belong to the same parent node to obtain the matching value.

通过计算子模块来计算两个关键词间的匹配值,为后续关联步骤做准备。The matching value between the two keywords is calculated by the calculation sub-module to prepare for the subsequent association step.

关联展示模块105,用于将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示。The association display module 105 is used for associating and displaying the two sub-nodes corresponding to the matching value satisfying the preset condition in the preset mind map.

关联展示模块105获取所述关键词两两之间计算相似度大小,即匹配值大小,将匹配值大于第一阈值的两个所述关键词进行关联。并且根据两个关键词间的匹配值大小,利用实线和虚线来将两特征词连接,最后形成网络时,通过实线与虚线的不同来区别匹配值大小,能够更加清晰的体现关键词间的关系,进而体现出各版本产品之间的关系。The association display module 105 obtains and calculates the similarity between the keywords, that is, the matching value, and associates the two keywords whose matching value is greater than the first threshold. And according to the matching value between the two keywords, the solid line and the dotted line are used to connect the two feature words. When the network is finally formed, the matching value is distinguished by the difference between the solid line and the dotted line, which can more clearly reflect the difference between keywords. The relationship between the different versions of the product is reflected.

所述关联展示模块105包括第一比较子模块、第一连接子模块、第二比较子模块和第二连接子模块;The association display module 105 includes a first comparison sub-module, a first connection sub-module, a second comparison sub-module and a second connection sub-module;

第一比较子模块用于将所述匹配值与第一阈值进行比较;a first comparison submodule for comparing the matching value with a first threshold;

第一连接子模块用于当所述匹配值大于第一阈值时,使用实线连接所述两个关键词来展示;The first connection sub-module is configured to use a solid line to connect the two keywords to display when the matching value is greater than the first threshold;

第二比较子模块用于当所述匹配值小于第一阈值时,将所述匹配值与第二阈值进行比较;The second comparison submodule is configured to compare the matching value with the second threshold when the matching value is less than the first threshold;

第二连接子模块用于当所述匹配值小于第一阈值且大于所述第二阈值时,使用虚线连接所述两个关键词来展示;其中,第一阈值大于第二阈值。The second connection sub-module is configured to use a dotted line to connect the two keywords for display when the matching value is less than the first threshold and greater than the second threshold; wherein the first threshold is greater than the second threshold.

通过第一比较子模块、第一连接子模块、第二比较子模块和第二连接子模块的配合,实现对各版本数据间的关联操作并提高了关联效率。Through the cooperation of the first comparison sub-module, the first connection sub-module, the second comparison sub-module and the second connection sub-module, the association operation between the data of each version is realized and the association efficiency is improved.

需要强调的是,为了进一步保证数据的私密性和安全性,所述产品各版本数据和生成的思维导图数据还可以存储于一区块链的节点中。It should be emphasized that, in order to further ensure the privacy and security of the data, the data of each version of the product and the generated mind map data can also be stored in a node of a blockchain.

通过采用上述装置,所述产品不同版本信息的展示装置100通过获取模块101、提取识别模块102、填充模块103、匹配模块104和关联展示模块105的配合使用,能实现对产品各版本间的关系进行快速且全面的展示。By adopting the above device, the display device 100 for the information of different versions of the product can realize the relationship between the versions of the product through the cooperation of the acquisition module 101, the extraction and identification module 102, the filling module 103, the matching module 104 and the associated display module 105. Make a quick and comprehensive presentation.

为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图5,图5为本实施例计算机设备基本结构框图。To solve the above technical problems, the embodiments of the present application also provide computer equipment. Please refer to FIG. 5 for details. FIG. 5 is a block diagram of a basic structure of a computer device according to this embodiment.

所述计算机设备4包括通过系统总线相互通信连接存储器41、处理器42、网络接口43。需要指出的是,图中仅示出了具有组件41-43的计算机设备4,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的计算机设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(ApplicationSpecific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable GateArray,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that communicate with each other through a system bus. It should be noted that only the computer device 4 with components 41-43 is shown in the figure, but it should be understood that it is not required to implement all of the shown components, and more or less components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, special-purpose Integrated circuit (ApplicationSpecific Integrated Circuit, ASIC), programmable gate array (Field-Programmable GateArray, FPGA), digital processor (Digital Signal Processor, DSP), embedded equipment, etc.

所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。The computer equipment may be a desktop computer, a notebook computer, a palmtop computer, a cloud server and other computing equipment. The computer device can perform human-computer interaction with the user through a keyboard, a mouse, a remote control, a touch pad or a voice control device.

所述存储器41至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器41可以是所述计算机设备4的内部存储单元,例如该计算机设备4的硬盘或内存。在另一些实施例中,所述存储器41也可以是所述计算机设备4的外部存储设备,例如该计算机设备4上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(FlashCard)等。当然,所述存储器41还可以既包括所述计算机设备4的内部存储单元也包括其外部存储设备。本实施例中,所述存储器41通常用于存储安装于所述计算机设备4的操作系统和各类应用软件,例如产品不同版本信息的展示方法的计算机可读指令等。此外,所述存储器41还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4 , such as a hard disk or a memory of the computer device 4 . In other embodiments, the memory 41 may also be an external storage device of the computer device 4 , such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (FlashCard) and so on. Of course, the memory 41 may also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4 , such as computer-readable instructions of a method for displaying information of different versions of a product. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or will be output.

所述处理器42在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器42通常用于控制所述计算机设备4的总体操作。本实施例中,所述处理器42用于运行所述存储器41中存储的计算机可读指令或者处理数据,例如运行所述产品不同版本信息的展示方法的计算机可读指令。The processor 42 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. This processor 42 is typically used to control the overall operation of the computer device 4 . In this embodiment, the processor 42 is configured to execute computer-readable instructions stored in the memory 41 or process data, for example, computer-readable instructions for executing a method for displaying information of different versions of the product.

所述网络接口43可包括无线网络接口或有线网络接口,该网络接口43通常用于在所述计算机设备4与其他电子设备之间建立通信连接。The network interface 43 may include a wireless network interface or a wired network interface, and the network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.

本实施例通过处理器执行存储在存储器的计算机可读指令时实现如上述实施例产品不同版本信息的展示方法的步骤,通过获取产品各版本数据,从所述产品各版本的数据中提取文档,并识别出所述文档中的关键词;通过这样的方式来提炼文档数据;随后根据关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;并利用关联模型,来对属于不同版本节点,但属同类父节点的关键词进行两两匹配并计算匹配值,来实现不同版本之间的关联匹配,并将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示,对满足要求的两个关键词进行关联并可视化,从而实现对产品各版本间的关系进行快速且全面的展示。In this embodiment, when the processor executes the computer-readable instructions stored in the memory, the steps of the method for displaying information of different versions of the product as in the above-mentioned embodiment are realized, and the data of each version of the product is obtained, and documents are extracted from the data of each version of the product, And identify the keywords in the document; extract the document data in this way; then according to the attributes of the keywords, expand all the keywords of the same version to the child nodes under the node of the same version of the preset mind map , the child nodes correspond to various parent nodes under the same version node; and the association model is used to match keywords belonging to different version nodes but belonging to the same type of parent node in pairs and calculate the matching value, to realize the association matching between different versions, and associate and display the two sub-nodes corresponding to the matching values satisfying the preset conditions in the preset mind map, and perform the matching of the two keywords that meet the requirements. Correlate and visualize, so as to achieve a quick and comprehensive display of the relationship between the various versions of the product.

本申请还提供了另一种实施方式,即提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令可被至少一个处理器执行,以使所述至少一个处理器执行如上述的产品不同版本信息的展示方法的步骤,通过获取产品各版本数据,从所述产品各版本的数据中提取文档,并识别出所述文档中的关键词;通过这样的方式来提炼文档数据;随后根据关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;并利用关联模型,来对属于不同版本节点,但属同类父节点的关键词进行两两匹配并计算匹配值,来实现不同版本之间的关联匹配,并将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示,对满足要求的两个关键词进行关联并可视化,从而实现对产品各版本间的关系进行快速且全面的展示。The present application also provides another embodiment, that is, to provide a computer-readable storage medium, where the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to causing the at least one processor to perform the steps of the above-mentioned method for displaying information of different versions of a product, by acquiring data of each version of the product, extracting documents from the data of each version of the product, and identifying keywords in the document ; Refine the document data in this way; Then according to the attributes of the keywords, expand all keywords of the same version to the child nodes under the node of the same version of the preset mind map, and the child nodes are the same as the The various parent nodes under the version node correspond to each other; and the association model is used to match the keywords belonging to different version nodes, but belong to the same parent node, and calculate the matching value to realize the association matching between different versions. The two sub-nodes corresponding to the matching value satisfying the preset conditions are associated and displayed in the preset mind map, and the two keywords that meet the requirements are associated and visualized, so as to realize the different versions of the product. A quick and comprehensive presentation of the relationship between them.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.

显然,以上所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例,附图中给出了本申请的较佳实施例,但并不限制本申请的专利范围。本申请可以以许多不同的形式来实现,相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。尽管参照前述实施例对本申请进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本申请说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本申请专利保护范围之内。Obviously, the above-described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The accompanying drawings show the preferred embodiments of the present application, but do not limit the scope of the patent of the present application. This application may be embodied in many different forms, rather these embodiments are provided so that a thorough and complete understanding of the disclosure of this application is provided. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or perform equivalent replacements for some of the technical features. . Any equivalent structure made by using the contents of the description and drawings of the present application, which is directly or indirectly used in other related technical fields, is also within the scope of protection of the patent of the present application.

Claims (10)

1.一种产品不同版本信息的展示方法,其特征在于,所述方法包括:1. a display method of product different version information, is characterized in that, described method comprises: 获取产品各版本的数据;Obtain the data of each version of the product; 从所述产品各版本的数据中提取文档,并识别所述文档的关键词;Extract documents from the data of each version of the product, and identify the keywords of the documents; 根据所述关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;According to the attributes of the keywords, all keywords of the same version are expanded into the child nodes under the node of the same version of the preset mind map, and the child nodes are related to various parent nodes under the node of the same version. correspond; 利用预训练的关联模型,对归属不同版本节点,但属于同类父节点的各个子节点进行两两匹配并计算匹配值,所述关联模型由历史关键词数据训练得到;Using a pre-trained association model, each child node belonging to a node of a different version but belonging to a parent node of the same type is matched in pairs and a matching value is calculated, and the association model is obtained by training historical keyword data; 将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示。The two child nodes corresponding to the matching value satisfying the preset condition are associated and displayed in the preset mind map. 2.根据权利要求1所述的产品不同版本信息的展示方法,其特征在于,在所述获取产品各版本的数据之前,还包括:2. The method for displaying information of different versions of products according to claim 1, characterized in that, before said acquiring the data of each version of the product, further comprising: 向数据库发送调用请求,所述调用请求携带验签令牌;Send a call request to the database, where the call request carries a signature verification token; 接收所述数据库返回的验签结果,并在验签结果为通过时,调用数据库中所述产品各版本的数据;Receive the signature verification result returned by the database, and when the signature verification result is passed, call the data of each version of the product in the database; 所述验签的方式为RSA非对称加密方式。The signature verification method is an RSA asymmetric encryption method. 3.根据权利要求1所述的产品不同版本信息的展示方法,其特征在于,所述识别所述文档的关键词包括:3. The method for displaying information of different versions of products according to claim 1, wherein the keywords for identifying the document include: 利用关键词提取模型识别所述文档中的关键词,所述关键词提取模型为利用历史词库训练得来。A keyword extraction model is used to identify the keywords in the document, and the keyword extraction model is trained using a historical thesaurus. 4.根据权利要求1所述的产品不同版本信息的展示方法,其特征在于,在所述将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中之前,还包括:4. the display method of product different version information according to claim 1, is characterized in that, before all keywords of the same version are expanded into the child nodes under the same version node of the preset mind map, Also includes: 提取产品各版本号作为所述版本节点;Extract each version number of the product as the version node; 设置需求目标、需求背景、可选方案和数据流程四个节点作为所述版本节点下的父节点;Set four nodes of requirement target, requirement background, optional scheme and data flow as the parent node under the version node; 根据所述版本节点和所述父节点构建所述预设思维导图。The preset mind map is constructed according to the version node and the parent node. 5.根据权利要求4所述的产品不同版本信息的展示方法,其特征在于,所述根据所述关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,包括:5. The method for displaying information of different versions of products according to claim 4, wherein, according to the attributes of the keywords, all keywords of the same version are expanded to the same version node of the preset mind map In the subnodes under , including: 根据关键词的属性对所述关键词进行分类,得到需求目标类关键词、需求背景类关键词、可选方案类关键词和数据流程类关键词;Classify the keywords according to their attributes to obtain demand target keywords, demand background keywords, optional solution keywords and data process keywords; 将同一版本的所述需求目标类关键词扩充到所述需求目标父节点下的子节点中;将同一版本的所述需求背景类关键词扩充到所述需求背景父节点下的子节点中;将同一版本的所述可选方案类关键词扩充到所述可选方案父节点下的子节点中;将同一版本的所述数据流程类关键词扩充到所述数据流程父节点下的子节点中。Expand the requirement target class keyword of the same version into the child node under the requirement target parent node; expand the requirement background class keyword of the same version into the child node under the requirement background parent node; Expand the optional scheme class keyword of the same version to the child node under the optional scheme parent node; expand the data flow class keyword of the same version to the child node under the data flow parent node middle. 6.根据权利要求1所述的产品不同版本信息的展示方法,其特征在于,所述利用预训练的关联模型,对归属不同版本节点,但属于同类父节点的各个子节点进行两两匹配并计算匹配值包括:6. the display method of product different version information according to claim 1, is characterized in that, described utilizing pre-trained association model, to belong to different version nodes, but each child node that belongs to the same kind of parent node is carried out pairwise matching and Calculating matching values includes: 通过所述关联模型计算所述关键词的熵值,根据所述熵值确定所述关键词间的匹配值,所述关联模型基于RNN模型训练得到。The entropy value of the keyword is calculated by the association model, and the matching value between the keywords is determined according to the entropy value, and the association model is obtained by training based on the RNN model. 7.根据权利要求1所述的产品不同版本信息的展示方法,其特征在于,所述将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示包括:7. The method for displaying information of different versions of a product according to claim 1, characterized in that, the two sub-nodes corresponding to the matching value satisfying a preset condition are associated in the preset mind map And show includes: 将所述匹配值与第一阈值进行比较;comparing the matching value to a first threshold; 当所述匹配值大于第一阈值时,使用实线连接所述两个关键词来展示;When the matching value is greater than the first threshold, use a solid line to connect the two keywords to display; 当所述匹配值小于第一阈值时,将所述匹配值与第二阈值进行比较;when the matching value is less than the first threshold, comparing the matching value with a second threshold; 当所述匹配值小于第一阈值且大于所述第二阈值时,使用虚线连接所述两个关键词来展示;其中,第一阈值大于第二阈值。When the matching value is less than the first threshold and greater than the second threshold, a dotted line is used to connect the two keywords to show; wherein the first threshold is greater than the second threshold. 8.一种产品不同版本信息的展示装置,其特征在于,所述装置包括:8. A display device for information of different versions of a product, wherein the device comprises: 获取模块,用于获取产品各版本的数据;The acquisition module is used to acquire the data of each version of the product; 提取识别模块,用于从所述产品各版本的数据中提取文档,并识别所述文档的关键词;An extraction and identification module, used for extracting documents from the data of each version of the product, and identifying the keywords of the documents; 填充模块,用于根据所述关键词的属性,将同一版本的所有关键词,扩充到预设思维导图的同一版本节点下的子节点中,所述子节点与所述同一版本节点下的各类父节点相对应;The filling module is used to expand all the keywords of the same version to the sub-nodes under the same version node of the preset mind map according to the attributes of the keywords, and the sub-nodes are the same as the sub-nodes under the same version node. Corresponding to various parent nodes; 匹配模块,用于利用预训练的关联模型,对归属不同版本节点,但属于同类父节点的各个子节点进行两两匹配并计算匹配值,所述关联模型由历史关键词数据训练得到;The matching module is used for using a pre-trained association model to perform pairwise matching on each child node belonging to a node of a different version but belonging to a parent node of the same type and calculate a matching value, the association model is obtained by training from historical keyword data; 关联展示模块,用于将所述匹配值满足预设条件所对应的两个子节点,在所述预设思维导图中进行关联并展示。The association display module is used for associating and displaying the two sub-nodes corresponding to the matching value satisfying the preset condition in the preset mind map. 9.一种计算机设备,其特征在于,所述计算机设备包括:9. A computer device, characterized in that the computer device comprises: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有计算机可读指令,所述处理器执行所述计算机可读指令时实现如权利要求1至7中任一所述的产品不同版本信息的展示方法。The memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the method for displaying information of different versions of a product according to any one of claims 1 to 7 is implemented. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如权利要求1至7中任一所述的产品不同版本信息的展示方法。10. A computer-readable storage medium, wherein computer-readable instructions are stored on the computer-readable storage medium, and when the computer-readable instructions are executed by a processor, any one of claims 1 to 7 is implemented. The method for displaying the information of different versions of the product.
CN202011528411.XA 2020-12-22 2020-12-22 Method and device for displaying different versions of information of product, computer equipment and medium Pending CN112632249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011528411.XA CN112632249A (en) 2020-12-22 2020-12-22 Method and device for displaying different versions of information of product, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011528411.XA CN112632249A (en) 2020-12-22 2020-12-22 Method and device for displaying different versions of information of product, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN112632249A true CN112632249A (en) 2021-04-09

Family

ID=75320889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011528411.XA Pending CN112632249A (en) 2020-12-22 2020-12-22 Method and device for displaying different versions of information of product, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN112632249A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114139510A (en) * 2021-11-08 2022-03-04 盟拓软件(苏州)有限公司 Process operation method and device, electronic device and storage medium based on excel sheet
CN116485336A (en) * 2023-04-21 2023-07-25 华腾建信科技有限公司 Management method, management system and electronic equipment for one-page display work whole process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160078386A1 (en) * 2014-09-12 2016-03-17 Wolfgang Herzog Branch Versioning for Process Management
CN105760447A (en) * 2016-02-03 2016-07-13 网易(杭州)网络有限公司 Mind map processing method, server and client side
CN108804134A (en) * 2018-06-20 2018-11-13 上海哔哩哔哩科技有限公司 Software version management method, device, system based on product feature and medium
CN110134800A (en) * 2019-04-17 2019-08-16 深圳壹账通智能科技有限公司 A kind of document relationships visible processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160078386A1 (en) * 2014-09-12 2016-03-17 Wolfgang Herzog Branch Versioning for Process Management
CN105760447A (en) * 2016-02-03 2016-07-13 网易(杭州)网络有限公司 Mind map processing method, server and client side
CN108804134A (en) * 2018-06-20 2018-11-13 上海哔哩哔哩科技有限公司 Software version management method, device, system based on product feature and medium
CN110134800A (en) * 2019-04-17 2019-08-16 深圳壹账通智能科技有限公司 A kind of document relationships visible processing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114139510A (en) * 2021-11-08 2022-03-04 盟拓软件(苏州)有限公司 Process operation method and device, electronic device and storage medium based on excel sheet
CN116485336A (en) * 2023-04-21 2023-07-25 华腾建信科技有限公司 Management method, management system and electronic equipment for one-page display work whole process
CN116485336B (en) * 2023-04-21 2023-12-01 华腾建信科技有限公司 Management method, management system and electronic equipment for one-page display work whole process

Similar Documents

Publication Publication Date Title
CN112084383A (en) Information recommendation method, device and equipment based on knowledge graph and storage medium
WO2021196935A1 (en) Data checking method and apparatus, electronic device, and storage medium
CN114780746A (en) Knowledge graph-based document retrieval method and related equipment thereof
WO2022105119A1 (en) Training corpus generation method for intention recognition model, and related device thereof
CN114398477A (en) A policy recommendation method based on knowledge graph and its related equipment
CN111967437A (en) Text recognition method, device, equipment and storage medium
CN114493255A (en) Enterprise anomaly monitoring method and related equipment based on knowledge graph
CN111639360A (en) Intelligent data desensitization method and device, computer equipment and storage medium
CN114417995A (en) Pipeline network risk early warning method, device, computer equipment and storage medium
CN112507170A (en) Data asset directory construction method based on intelligent decision and related equipment thereof
WO2019056496A1 (en) Method for generating picture review probability interval and method for picture review determination
CN112328657A (en) Feature derivation method, feature derivation device, computer equipment and medium
CN112632249A (en) Method and device for displaying different versions of information of product, computer equipment and medium
WO2023272862A1 (en) Risk control recognition method and apparatus based on network behavior data, and electronic device and medium
CN112966304A (en) Method and device for preventing process document from being tampered, computer equipment and medium
CN115001683B (en) Payment data security protection method and device, electronic equipment and storage medium
CN111639164A (en) Question-answer matching method and device of question-answer system, computer equipment and storage medium
WO2022126962A1 (en) Knowledge graph-based method for detecting guiding and abetting corpus and related device
CN114386013A (en) Automatic student status authentication method and device, computer equipment and storage medium
CN111597453B (en) User image drawing method, device, computer equipment and computer readable storage medium
CN113591881A (en) Intention recognition method and device based on model fusion, electronic equipment and medium
CN112417886A (en) Intention entity information extraction method and device, computer equipment and storage medium
WO2022105120A1 (en) Text detection method and apparatus from image, computer device and storage medium
CN115378806A (en) Flow distribution method and device, computer equipment and storage medium
CN114398994A (en) Method, device, equipment and medium for detecting business abnormity based on image identification

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210409