CN113127574B - Business data display method, system, device and medium based on knowledge graph - Google Patents
Business data display method, system, device and medium based on knowledge graph Download PDFInfo
- Publication number
- CN113127574B CN113127574B CN202010043068.3A CN202010043068A CN113127574B CN 113127574 B CN113127574 B CN 113127574B CN 202010043068 A CN202010043068 A CN 202010043068A CN 113127574 B CN113127574 B CN 113127574B
- Authority
- CN
- China
- Prior art keywords
- business
- data
- preset
- knowledge graph
- financial product
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/288—Entity relationship models
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/36—Creation of semantic tools, e.g. ontology or thesauri
- G06F16/367—Ontology
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Computational Linguistics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及数据处理技术领域,特别涉及一种基于知识图谱的业务数据展示方法、系统、设备及介质。The present application relates to the field of data processing technology, and in particular to a method, system, device and medium for displaying business data based on a knowledge graph.
背景技术Background Art
随着金融技术领域的发展,越来越多的金融产品出现在金融市场中,用户可以通过金融机构,投资感兴趣的金融产品,以获得收益。With the development of the financial technology field, more and more financial products are appearing in the financial market. Users can invest in financial products of interest through financial institutions to gain returns.
目前的金融机构的各金融产品,通常由多个机构提供,各机构提供的金融产品的展示样式不同,导致金融机构中金融产品的展示样式复杂、多样,不仅影响了金融工作人员的工作效率,而且影响了用户理解和消费。Currently, the financial products of financial institutions are usually provided by multiple institutions. The display styles of the financial products provided by each institution are different, resulting in complex and diverse display styles of financial products in financial institutions, which not only affects the work efficiency of financial staff, but also affects user understanding and consumption.
发明内容Summary of the invention
本申请实施例提出一种基于知识图谱的业务数据展示方法、基于知识图谱的业务数据处理系统、电子设备及计算机可读存储介质,用于解决相关技术中,金融机构中金融产品的展示样式复杂、多样,不仅影响了金融工作人员的工作效率,而且影响了用户理解和消费的技术问题。The embodiments of the present application propose a business data display method based on a knowledge graph, a business data processing system based on a knowledge graph, an electronic device and a computer-readable storage medium, which are used to solve the technical problem in related technologies that the display styles of financial products in financial institutions are complex and diverse, which not only affects the work efficiency of financial staff, but also affects user understanding and consumption.
为此,本申请一方面实施例提出一种基于知识图谱的业务数据展示方法,包括抓取与目标业务关联的页面及业务文件;从所述页面及业务文件中抽取分别与各预设的标签关联的各数据;根据各预设的标签间的关系,确定由所述各数据构成的知识图谱;展示所述知识图谱。To this end, an embodiment of the present application proposes a business data display method based on a knowledge graph, including capturing pages and business files associated with the target business; extracting each data associated with each preset tag from the pages and business files; determining a knowledge graph composed of the data based on the relationship between the preset tags; and displaying the knowledge graph.
作为本发明第一方面的第一种可能的实现方式,所述抓取与目标业务关联的页面及业务文件,包括:根据所述目标业务的属性,确定数据抓取频率;以所述抓取频率,抓取与目标业务关联的页面及业务文件。As a first possible implementation method of the first aspect of the present invention, the crawling of pages and business files associated with the target business includes: determining a data crawling frequency according to the attributes of the target business; and crawling pages and business files associated with the target business at the crawling frequency.
作为本发明第一方面的第二种可能的实现方式,所述抓取与目标业务关联的页面及业务文件之后,还包括:将与所述目标业务关联的页面及业务文件加入预设的消息队列;所述从所述页面及业务文件中抽取分别与各预设的标签关联的各数据,包括:从所述预设的消息队列中读取所述目标业务关联的页面及业务文件,以从所述页面及业务文件中抽取分别与各预设的标签关联的各数据。As a second possible implementation method of the first aspect of the present invention, after crawling the pages and business files associated with the target business, it also includes: adding the pages and business files associated with the target business to a preset message queue; extracting the data respectively associated with each preset tag from the pages and business files includes: reading the pages and business files associated with the target business from the preset message queue to extract the data respectively associated with each preset tag from the pages and business files.
作为本发明第一方面的第三种可能的实现方式,所述目标业务数据为金融产品数据;所述预设的标签,包括:金融产品代码、金融产品名称、金融产品简称、金融产品类型、金融产品有效时间、金融产品所属公司、产品对应的负责人员及金融产品对应的认购金额中的至少一种。As a third possible implementation manner of the first aspect of the present invention, the target business data is financial product data; the preset label includes: at least one of: a financial product code, a financial product name, a financial product abbreviation, a financial product type, a financial product validity period, the company to which the financial product belongs, the person in charge of the product, and the subscription amount corresponding to the financial product.
作为本发明第一方面的第四种可能的实现方式,所述展示所述知识图谱,包括:在确定业务列表中所述目标业务处于选中状态时,在所述业务列表页的预设位置展示所述知识图谱;或者,在确定业务列表中所述目标业务处于选中状态时,在预设的图谱展示层展示所述知识图谱,其中所述图谱展示层的显示优先级高于所述业务列表所在的层。As a fourth possible implementation method of the first aspect of the present invention, the display of the knowledge graph includes: when it is determined that the target business in the business list is in a selected state, displaying the knowledge graph at a preset position on the business list page; or, when it is determined that the target business in the business list is in a selected state, displaying the knowledge graph in a preset graph display layer, wherein the display priority of the graph display layer is higher than the layer where the business list is located.
作为本发明第一方面的第五种可能的实现方式,所述从所述页面及业务文件中抽取分别与各预设的标签关联的各数据之后,还包括:在确定业务列表中所述目标业务处于选中状态时,在所述业务列表页的预设位置展示与各预设的标签关联的各数据;或者,在确定业务列表中所述目标业务处于选中状态时,在预设的数据展示层展示与各预设的标签关联的各数据,其中所述数据展示层的显示优先级高于所述业务列表所在的层。As a fifth possible implementation method of the first aspect of the present invention, after extracting the data associated with each preset tag from the page and the business file, it also includes: when it is determined that the target business in the business list is in a selected state, displaying the data associated with each preset tag at a preset position on the business list page; or, when it is determined that the target business in the business list is in a selected state, displaying the data associated with each preset tag in a preset data display layer, wherein the display priority of the data display layer is higher than the layer where the business list is located.
作为本发明第一方面的第六种可能的实现方式,所述方法还包括:获取推荐设置指令,其中,所述推荐设置指令中包括业务标识及对应的优先级顺序;根据所述推荐设置指令,确定所述业务列表中各业务的显示位置。As a sixth possible implementation manner of the first aspect of the present invention, the method also includes: obtaining a recommended setting instruction, wherein the recommended setting instruction includes a service identifier and a corresponding priority order; and determining a display position of each service in the service list according to the recommended setting instruction.
作为本发明第一方面的第七种可能的实现方式,所述从所述页面及业务文件中抽取分别与各预设的标签关联的各数据之后,还包括:以所述各预设的标签为键值,将与各预设的标签关联的各数据写入所述检索库。As the seventh possible implementation method of the first aspect of the present invention, after extracting the data associated with each preset tag from the page and the business file, it also includes: using the preset tags as key values, writing the data associated with each preset tag into the retrieval library.
作为本发明第一方面的第八种可能的实现方式,所述方法还包括:获取权限设置指令,所述设置指令中包括标签及对应的角色标识;根据各预设的标签与各数据的关联关系,确定知识图谱中各数据与对应的角色标识;根据所述各数据与对应的角色标识,设置知识图谱中各节点在与不同角色标识对应的显示界面中的可见性。As an eighth possible implementation manner of the first aspect of the present invention, the method also includes: obtaining a permission setting instruction, the setting instruction including a label and a corresponding role identifier; determining each data in the knowledge graph and the corresponding role identifier based on the association relationship between each preset label and each data; and setting the visibility of each node in the knowledge graph in the display interface corresponding to different role identifiers based on the each data and the corresponding role identifier.
本申请另一方面实施例提出了一种基于知识图谱的业务数据处理系统,包括:抓取模块,用于抓取与目标业务关联的页面及业务文件;数据抽取模块,用于从所述页面及业务文件中抽取分别与各预设的标签关联的各数据;知识图谱生成模块,用于根据各预设的标签间的关系,确定由所述各数据构成的用于展示的知识图谱。On the other hand, an embodiment of the present application proposes a business data processing system based on a knowledge graph, including: a crawling module, used to crawl pages and business files associated with the target business; a data extraction module, used to extract each data associated with each preset tag from the pages and business files; a knowledge graph generation module, used to determine a knowledge graph for display composed of the data according to the relationship between the preset tags.
作为本发明第二方面的第一种可能的实现方式,所述抓取模块,具体用于:根据所述目标业务的属性,确定数据抓取频率;以所述抓取频率,抓取与目标业务关联的页面及业务文件。As a first possible implementation manner of the second aspect of the present invention, the capture module is specifically used to: determine a data capture frequency according to the attributes of the target business; and capture pages and business files associated with the target business at the capture frequency.
作为本发明第二方面的第二种可能的实现方式,所述处理系统还包括:处理模块,用于将与所述目标业务关联的页面及业务文件加入预设的消息队列;所述数据抽取模块,具体用于:从所述预设的消息队列中读取所述目标业务关联的页面及业务文件,以从所述页面及业务文件中抽取分别与各预设的标签关联的各数据。As a second possible implementation method of the second aspect of the present invention, the processing system also includes: a processing module, used to add the pages and business files associated with the target business to a preset message queue; the data extraction module is specifically used to: read the pages and business files associated with the target business from the preset message queue to extract the data associated with each preset tag from the pages and business files.
作为本发明第二方面的第三种可能的实现方式,所述目标业务数据为金融产品数据;所述预设的标签,包括:金融产品代码、金融产品名称、金融产品简称、金融产品类型、金融产品有效时间、金融产品所属公司、产品对应的负责人员及金融产品对应的认购金额中的至少一种。As a third possible implementation manner of the second aspect of the present invention, the target business data is financial product data; the preset label includes: at least one of: a financial product code, a financial product name, a financial product abbreviation, a financial product type, a financial product validity period, the company to which the financial product belongs, the person in charge corresponding to the product, and the subscription amount corresponding to the financial product.
本申请另一方面实施例提出了一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现如第一方面实施例所述的基于知识图谱的业务数据展示方法。On the other hand, an embodiment of the present application proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the business data display method based on the knowledge graph as described in the embodiment of the first aspect is implemented.
本申请另一方面实施例提出了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如第一方面实施例所述的基于知识图谱的业务数据展示方法。On the other hand, an embodiment of the present application proposes a computer-readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the business data display method based on the knowledge graph as described in the embodiment of the first aspect is implemented.
本申请公开的技术方案,具有如下有益效果:The technical solution disclosed in this application has the following beneficial effects:
通过将目标业务数据统一用知识图谱进行展示,使得工作人员和用户可以以非常直观的知识图谱形式了解目标业务,提高了目标业务数据的可读性,提高了工作人员的工作效率,节省了用户理解和办理目标业务的时间。By uniformly displaying the target business data using a knowledge graph, staff and users can understand the target business in a very intuitive knowledge graph form, which improves the readability of the target business data, improves the work efficiency of staff, and saves users time in understanding and handling the target business.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1为本申请一个实施例的基于知识图谱的业务数据展示方法的流程示意图;FIG1 is a schematic diagram of a process of a business data display method based on a knowledge graph according to an embodiment of the present application;
图2为本申请一个实施例的知识图谱的示例图;FIG2 is an example diagram of a knowledge graph according to an embodiment of the present application;
图3为本申请一个实施例的知识图谱的展示效果示意图;FIG3 is a schematic diagram of the display effect of a knowledge graph according to an embodiment of the present application;
图4为本申请一个实施例的与各预设的标签关联的各数据的展示效果示意图;FIG4 is a schematic diagram of display effects of various data associated with various preset tags according to an embodiment of the present application;
图5为本申请另一个实施例的基于知识图谱的业务数据展示方法的流程示意图;FIG5 is a schematic diagram of a process of a business data display method based on a knowledge graph according to another embodiment of the present application;
图6-9为本申请一个实施例的基于知识图谱的业务数据展示方法的示例图;6-9 are example diagrams of a business data display method based on a knowledge graph according to an embodiment of the present application;
图10为本申请一个实施例的基于知识图谱的业务数据处理系统的结构示意图;FIG10 is a schematic diagram of the structure of a business data processing system based on a knowledge graph according to an embodiment of the present application;
图11为本申请一个实施例的电子设备的结构示意图;FIG11 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;
图12为本申请另一个实施例的电子设备的结构示意图。FIG. 12 is a schematic diagram of the structure of an electronic device according to another embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
可以理解的是,目前的金融机构的各金融产品,通常由多个机构提供,各机构提供的金融产品的展示样式不同,导致金融机构中金融产品的展示样式复杂、多样,不仅影响了金融工作人员的工作效率,而且影响了用户理解和消费。It is understandable that the various financial products of current financial institutions are usually provided by multiple institutions, and the display styles of the financial products provided by each institution are different, resulting in complex and diverse display styles of financial products in financial institutions, which not only affects the work efficiency of financial staff, but also affects user understanding and consumption.
为解决这一技术问题,本申请首先抓取与目标业务关联的页面及业务文件,并从页面及业务文件中抽取分别与各预设的标签关联的各数据,然后根据各预设的标签间的关系,确定由各数据构成的知识图谱,再展示知识图谱。通过将目标业务数据统一用知识图谱进行展示,提高了目标业务数据的可读性,提高了工作人员的工作效率,节省了用户理解和办理目标业务的时间。To solve this technical problem, this application first captures the pages and business files associated with the target business, and extracts the data associated with each preset tag from the pages and business files, and then determines the knowledge graph composed of each data based on the relationship between the preset tags, and then displays the knowledge graph. By uniformly displaying the target business data with a knowledge graph, the readability of the target business data is improved, the work efficiency of the staff is improved, and the time for users to understand and handle the target business is saved.
下面参考附图描述本申请实施例的基于知识图谱的业务数据展示方法、基于知识图谱的业务数据处理系统、电子设备及计算机可读存储介质。The following describes, with reference to the accompanying drawings, a business data display method based on a knowledge graph, a business data processing system based on a knowledge graph, an electronic device, and a computer-readable storage medium in an embodiment of the present application.
首先结合附图1,对本申请实施例提供的基于知识图谱的业务数据展示方法进行具体说明。First, with reference to FIG1 , the business data display method based on the knowledge graph provided in the embodiment of the present application is specifically described.
图1为本申请一个实施例的基于知识图谱的业务数据展示方法的流程示意图。FIG1 is a flow chart of a method for displaying business data based on a knowledge graph according to an embodiment of the present application.
如图1所示,本申请的基于知识图谱的业务数据展示方法可以包括:As shown in FIG1 , the business data display method based on the knowledge graph of the present application may include:
步骤101,抓取与目标业务关联的页面及业务文件。Step 101, crawling pages and business files associated with the target business.
具体的,本申请实施例提供的基于知识图谱的业务数据展示方法,可以由本申请实施例提供的基于知识图谱的业务数据处理系统,以下简称处理系统执行,该处理系统可以被配置在电子设备中,以生成用于展示的知识图谱。其中,电子设备可以是任意能够进行数据处理的终端设备,比如智能手机、笔记本电脑、可穿戴设备等等,也可以是服务器,本申请对此不作限制。Specifically, the business data display method based on the knowledge graph provided in the embodiment of the present application can be performed by the business data processing system based on the knowledge graph provided in the embodiment of the present application, hereinafter referred to as the processing system, which can be configured in an electronic device to generate a knowledge graph for display. Among them, the electronic device can be any terminal device capable of data processing, such as a smart phone, a laptop computer, a wearable device, etc., or a server, and this application does not limit this.
其中,目标业务,可以为目标金融产品或其它业务,本申请对此不作限制。本申请以目标业务为金融产品为例进行说明。相应的,与金融产品关联的页面,可以包括银行基金列表页面、基金详情页面、基金经理页面、基金公司页面等所有与目标金融产品有关的页面。目标业务数据为金融产品数据。Among them, the target business can be a target financial product or other business, and this application does not limit this. This application takes the target business as a financial product as an example for explanation. Correspondingly, the pages associated with the financial product can include all pages related to the target financial product, such as the bank fund list page, the fund details page, the fund manager page, and the fund company page. The target business data is the financial product data.
在示例性实施例中,抓取与目标业务关联的页面及业务文件时,可以按照预设的抓取频率进行抓取,即,步骤101可以通过以下方式实现:In an exemplary embodiment, when crawling pages and business files associated with the target business, the crawling may be performed according to a preset crawling frequency, that is, step 101 may be implemented in the following manner:
根据目标业务的属性,确定数据抓取频率;Determine the frequency of data capture based on the attributes of the target business;
以抓取频率,抓取与目标业务关联的页面及业务文件。Crawl pages and business files related to the target business at the crawling frequency.
其中,目标业务的属性,可以包括目标业务的类别、对应数据的更新频率等属性。The attributes of the target business may include the category of the target business, the update frequency of the corresponding data, and other attributes.
举例来说,假设目标业务对应的数据每天中午12点更新,则可以确定数据抓取频率为每天抓取一次,具体的抓取时间可以根据需要设置,比如每天下午5点或6点抓取目标业务关联的页面及业务文件。For example, assuming that the data corresponding to the target business is updated at 12 noon every day, the data crawling frequency can be determined to be once a day. The specific crawling time can be set as needed, such as crawling the pages and business files associated with the target business at 5 or 6 pm every day.
通过在目标业务对应的数据进行更新后按照一定的抓取频率抓取目标业务关联的页面及业务文件,减少了处理系统的数据处理量。By crawling pages and business files associated with the target business at a certain crawling frequency after the data corresponding to the target business is updated, the data processing volume of the processing system is reduced.
步骤102,从页面及业务文件中抽取分别与各预设的标签关联的各数据。Step 102: extracting data associated with each preset tag from the page and the business file.
具体的,可以预先设置不同的业务分别对应的标签,从而在抓取目标业务关联的页面及业务文件后,可以对页面及业务文件进行解析,以从页面及业务文件中抽取分别与预设的目标业务对应的各预设的标签关联的各数据。Specifically, labels corresponding to different businesses can be pre-set, so that after crawling the pages and business files associated with the target business, the pages and business files can be parsed to extract the data associated with the preset labels corresponding to the preset target business from the pages and business files.
在示例性实施例中,对于金融产品来说,预设的标签可以包括:金融产品代码、金融产品名称、金融产品简称、金融产品类型、金融产品有效时间、金融产品所属公司、产品对应的负责人员及金融产品对应的认购金额、金融产品详情、金融产品资产、持有债券、金融产品收益率、金融产品投资、金融产品费率、投资股票中的至少一种。In an exemplary embodiment, for financial products, the preset labels may include: financial product code, financial product name, financial product abbreviation, financial product type, financial product validity period, the company to which the financial product belongs, the person in charge of the product and the subscription amount corresponding to the financial product, financial product details, financial product assets, bonds held, financial product yield, financial product investment, financial product rate, and at least one of investment stocks.
举例来说,假设目标业务数据为金融产品数据,预设的标签为上述标签,则通过对抽取的页面及业务文件进行解析,从页面及业务文件中抽取的与各预设的标签关联的各数据可以包括:金融产品代码“501007”、金融产品名称“汇添富”、金融产品类型“公募”、金融产品有效时间“20年”,金融产品所属公司“汇添富基金”,产品对应的负责人员即基金经理“孙琳”、“唐俊杰”、“任琳娜”、“龚丽丽”等。For example, assuming that the target business data is financial product data and the preset tags are the above tags, then by parsing the extracted pages and business files, the data associated with the preset tags extracted from the pages and business files may include: financial product code "501007", financial product name "Huatianfu", financial product type "public offering", financial product validity period "20 years", the company to which the financial product belongs "Huatianfu Fund", and the person in charge of the product, namely the fund managers "Sun Lin", "Tang Junjie", "Ren Lina", "Gong Lili", etc.
可以理解的是,从页面及业务文件中抽取的分别与各预设的标签关联的各数据的数据结构与数据格式可能是多种多样的,不便于统一应用及管理,那么,本申请在获取分别与各预设的标签关联的各数据后,还可以对分别与各预设的标签关联的各数据进行结构化处理,得到结构化数据,以便于数据的统一应用及管理,提高数据的可用性。It is understandable that the data structures and data formats of the data extracted from the pages and business files and associated with the preset tags may be diverse, which is not convenient for unified application and management. Therefore, after obtaining the data associated with the preset tags, the present application can also perform structured processing on the data associated with the preset tags to obtain structured data, so as to facilitate the unified application and management of the data and improve the availability of the data.
在示例性实施例中,可以对与各标签对应的各数据进行如下处理:将各数据的语法正规化、移除空格等不符合规范的字符、用正式名字替换昵称或缩写、将不需要的图片、样式、文件等过滤掉,等等,本申请对此不作限制。In an exemplary embodiment, the data corresponding to each label can be processed as follows: regularize the syntax of each data, remove spaces and other non-standard characters, replace nicknames or abbreviations with formal names, filter out unnecessary pictures, styles, files, etc., and the present application does not impose any restrictions on this.
步骤103,根据各预设的标签间的关系,确定由各数据构成的知识图谱。Step 103, determining the knowledge graph composed of various data according to the relationship between each preset label.
可以理解的是,知识图谱可以包括多个节点,本申请实施例中,节点可以对应与标签关联的数据,比如金融产品名称“汇添富”、金融产品有效时间“20年”等,其中,每个节点对应与一个标签关联的数据。It is understandable that the knowledge graph may include multiple nodes. In the embodiment of the present application, the node may correspond to data associated with a label, such as the name of the financial product "Huatianfu", the effective time of the financial product "20 years", etc., wherein each node corresponds to data associated with a label.
具体的,在预先设置了不同的业务分别对应的标签,并从与目标业务关联的页面及业务文件中抽取了与目标业务对应的各预设标签关联的各数据后,即可根据各预设标签之间的关系,确定由各数据构成的知识图谱。Specifically, after pre-setting labels corresponding to different businesses and extracting data associated with each preset label corresponding to the target business from pages and business files associated with the target business, the knowledge graph composed of each data can be determined based on the relationship between each preset label.
其中,各预设标签之间的关系,可以是预设标签之间的语义关系,比如分类关系、成员关系、属性关系、聚合关系、时间关系、位置关系等等,本申请对此不作限制。Among them, the relationship between the preset tags can be a semantic relationship between the preset tags, such as a classification relationship, a member relationship, an attribute relationship, an aggregation relationship, a time relationship, a position relationship, etc., and this application does not impose any restrictions on this.
需要说明的是,知识图谱中还可以包括连接节点的边,本申请中,边可以对应不同节点对应的数据之间的关系,比如“20年”是名称“汇添富”的金融产品的有效时间,则“20”年对应的节点与“汇添富”对应的节点通过边连接,该边对应“20”与“汇添富”之间的关系,从而在由与各预设的标签关联的各数据构成知识图谱的各节点的同时,根据各标签间的关系,生成连接节点的边。It should be noted that the knowledge graph may also include edges connecting nodes. In the present application, edges may correspond to the relationship between data corresponding to different nodes. For example, "20 years" is the effective period of a financial product named "Huatianfu", then the node corresponding to "20" is connected to the node corresponding to "Huatianfu" through an edge, which corresponds to the relationship between "20" and "Huatianfu". Thus, while the nodes of the knowledge graph are composed of data associated with preset labels, edges connecting the nodes are generated according to the relationship between the labels.
比如,以目标业务为金融产品为例,假设金融产品对应的预设标签包括:金融产品代码、金融产品名称、金融产品简称、金融产品类型、金融产品有效时间、金融产品所属公司、产品对应的负责人员及金融产品对应的认购金额,从抓取的与金融产品关联的页面及业务文件中抽取了金融产品名称“汇添富”、金融产品类型“公募”、金融产品代码“501007”、金融产品有效时间“20年”、金融产品所属公司“汇添富基金”、金融产品对应的负责人员即基金经理“孙琳”、“唐俊杰”、“任琳娜”、“龚丽丽”、与金融产品相关的金融产品“汇添财富”。由于金融产品类型、金融产品代码、金融产品有效时间、金融产品所属公司、金融产品基金经理、金融产品相关的金融产品均与金融产品名称存在关系,则可以确定由“汇添富”、“公募”、“501007”、“20年”、“汇添富基金”、“孙琳”、“唐俊杰”、“任琳娜”、“龚丽丽”、“汇添财富”构成的如图2所示的知识图谱。另外,如图2所示,知识图谱中连接节点的边,可以对应不同节点之间的语义关系。For example, taking the target business as financial products, assuming that the preset labels corresponding to the financial products include: financial product code, financial product name, financial product abbreviation, financial product type, financial product validity period, the company to which the financial product belongs, the person in charge of the product and the subscription amount corresponding to the financial product, the financial product name "Huatianfu", the financial product type "public offering", the financial product code "501007", the financial product validity period "20 years", the company to which the financial product belongs "Huatianfu Fund", the person in charge of the financial product, namely the fund manager "Sun Lin", "Tang Junjie", "Ren Lina", "Gong Lili", and the financial product "Huatian Wealth" related to the financial product are extracted from the captured pages and business files associated with the financial products. Since the financial product type, financial product code, financial product validity period, financial product company, financial product fund manager, and financial products related to financial products are all related to the financial product name, it can be determined that the knowledge graph composed of "Huatianfu", "public offering", "501007", "20 years", "Huatianfu Fund", "Sun Lin", "Tang Junjie", "Ren Lina", "Gong Lili", and "Huatian Wealth" is as shown in Figure 2. In addition, as shown in Figure 2, the edges connecting the nodes in the knowledge graph can correspond to the semantic relationships between different nodes.
需要说明的是,在知识图谱中,与金融产品名称关联的数据所在节点相连的节点,还可以对应金融产品的详细信息。与不同的金融产品的预设标签关联的数据相同时,还可以共用节点,比如图2中,基金经理“龚丽丽”和“任琳娜”同时负责名称分别为“汇添富”和“汇添财富”的金融产品,则“汇添富”和“汇添财富”所在的节点同时与“龚丽丽”和“任琳娜”所在的节点相连。It should be noted that in the knowledge graph, the nodes connected to the nodes where the data associated with the names of financial products are located can also correspond to the detailed information of the financial products. When the data associated with the preset labels of different financial products are the same, the nodes can also be shared. For example, in Figure 2, fund managers "Gong Lili" and "Ren Lina" are both responsible for the financial products named "Huatianfu" and "Huatian Wealth", then the nodes where "Huatianfu" and "Huatian Wealth" are located are connected to the nodes where "Gong Lili" and "Ren Lina" are located.
另外,由与各预设的标签关联的数据构成知识图谱时,知识图谱中各节点对应的数据之间的关系,也可以通过有关系的节点中任一节点表示。比如,“公募”是名称为“汇添富”的金融产品的类型,“公募”对应的节点中的数据可以不仅包括“公募”,还包括“金融产品类型”,例如为“金融产品类型:公募”。In addition, when the knowledge graph is composed of data associated with each preset tag, the relationship between the data corresponding to each node in the knowledge graph can also be represented by any node in the related nodes. For example, "public offering" is the type of financial product named "Huatianfu", and the data in the node corresponding to "public offering" can include not only "public offering" but also "financial product type", such as "financial product type: public offering".
需要说明的是,根据各预设的标签间的关系,确定由各数据构成的知识图谱的方式,可以参考相关技术中的知识图谱生成方式,本申请对此不再赘述。It should be noted that the method of determining the knowledge graph composed of various data based on the relationship between various preset labels can refer to the knowledge graph generation method in the relevant technology, and this application will not go into details.
步骤104,展示知识图谱。Step 104, display the knowledge graph.
具体的,生成知识图谱后,可以通过以下多种方式,展示知识图谱。Specifically, after the knowledge graph is generated, it can be displayed in the following ways.
方式一Method 1
在确定业务列表中目标业务处于选中状态时,在业务列表页的预设位置展示知识图谱。When it is determined that the target business is selected in the business list, the knowledge graph is displayed at a preset position on the business list page.
其中,预设位置,可以根据需要设置,本申请对知识图谱的展示位置不作限制。Among them, the preset position can be set as needed, and this application does not limit the display position of the knowledge graph.
具体的,可以通过点击、滑动等触控操作触控目标业务,以使目标业务处于选中状态。Specifically, the target service may be touched by a touch operation such as clicking, sliding, etc., so that the target service is in a selected state.
比如,如图3所示,在显示界面中可以显示业务列表(如图3左侧所示),业务列表中包括多种业务,当目标业务比如序号为1的业务被选中时,可以在业务列表页(即当前显示业务列表的页面)的右侧展示基金名称为“汇添富”的业务对应的知识图谱。For example, as shown in Figure 3, a business list can be displayed in the display interface (as shown on the left side of Figure 3), and the business list includes multiple businesses. When a target business, such as a business with a serial number 1, is selected, the knowledge graph corresponding to the business with a fund name of "Huatianfu" can be displayed on the right side of the business list page (i.e., the page currently displaying the business list).
方式二Method 2
在确定业务列表中目标业务处于选中状态时,在预设的图谱展示层展示知识图谱,其中图谱展示层的显示优先级高于业务列表所在的层。When it is determined that the target business in the business list is in a selected state, the knowledge graph is displayed in a preset graph display layer, wherein the display priority of the graph display layer is higher than the layer where the business list is located.
具体的,可以设置显示界面包括多个展示层,不同的展示层展示不同的数据,不同的展示层对应的显示优先级不同,显示优先级越高的层,越显示在显示界面的上层,并预先设置将知识图谱展示在显示优先级高于业务列表所在的层的图谱展示层。从而,在目标业务处于选中状态时,可以在预设的图谱展示层展示知识图谱。Specifically, the display interface can be set to include multiple display layers, different display layers display different data, different display layers correspond to different display priorities, and the higher the display priority, the higher the display layer is displayed on the display interface, and the knowledge graph is pre-set to be displayed in the graph display layer with a display priority higher than the layer where the business list is located. Therefore, when the target business is selected, the knowledge graph can be displayed in the preset graph display layer.
可以理解的是,本申请中,从页面及业务文件中抽取分别与各预设的标签关联的各数据之后,还可以在显示界面中展示与各预设的标签关联的各数据。It is understandable that in the present application, after extracting each data associated with each preset tag from the page and the business file, each data associated with each preset tag can also be displayed in the display interface.
其中,与各预设的标签关联的各数据的展示方式,可以与知识图谱的展示方式类似。即,在步骤102之后,与各预设的标签关联的各数据可以以如下方式进行展示。The display method of each data associated with each preset tag may be similar to the display method of the knowledge graph. That is, after step 102, each data associated with each preset tag may be displayed in the following manner.
方式三Method 3
在确定业务列表中目标业务处于选中状态时,在业务列表页的预设位置展示与各预设的标签关联的各数据。When it is determined that the target service in the service list is in a selected state, various data associated with various preset tags are displayed at preset positions on the service list page.
其中,预设位置,可以根据需要设置,本申请对与各预设的标签关联的各数据的展示位置不作限制。Among them, the preset position can be set as needed, and this application does not limit the display position of each data associated with each preset tag.
方式四Method 4
在确定业务列表中目标业务处于选中状态时,在预设的数据展示层展示与各预设的标签关联的各数据,其中数据展示层的显示优先级高于业务列表所在的层。When it is determined that the target service in the service list is in a selected state, each data associated with each preset tag is displayed in a preset data display layer, wherein the display priority of the data display layer is higher than the layer where the service list is located.
具体的,可以设置显示界面包括多个展示层,不同的展示层展示不同的数据,不同的展示层对应的显示优先级不同,显示优先级越高的层,越显示在显示界面的上层,并预先设置将与各预设的标签关联的各数据展示在显示优先级高于业务列表所在的层的数据展示层。从而,在目标业务处于选中状态时,可以在预设的数据展示层展示与各预设的标签关联的各数据。Specifically, the display interface may be configured to include multiple display layers, with different display layers displaying different data, and different display layers corresponding to different display priorities. A layer with a higher display priority is displayed at an upper layer of the display interface, and it is preset to display each data associated with each preset tag in a data display layer with a display priority higher than the layer where the service list is located. Thus, when the target service is in the selected state, each data associated with each preset tag may be displayed in the preset data display layer.
比如,如图4所示,与各预设的标签关联的各数据可以展示在业务列表所在的层的上层。For example, as shown in FIG. 4 , each data associated with each preset tag may be displayed in an upper layer of the layer where the service list is located.
另外,显示界面除了可以展示业务列表,还可以仅展示与各预设的标签关联的各数据或知识图谱,或如图4所示,同时展示与各预设的标签关联的各数据和知识图谱,本申请对此不作限制。需要说明的是,数据展示层和图谱展示层的显示优先级高低,可以根据需要设置,比如数据展示层的显示优先级高于图谱展示层的显示优先级。In addition, in addition to displaying the business list, the display interface can also only display the data or knowledge graphs associated with each preset tag, or as shown in Figure 4, display the data and knowledge graphs associated with each preset tag at the same time, and this application does not limit this. It should be noted that the display priority of the data display layer and the graph display layer can be set as needed, for example, the display priority of the data display layer is higher than the display priority of the graph display layer.
本申请实施例提供的基于知识图谱的业务数据展示方法,抓取与目标业务关联的页面及业务文件后,可以从页面及业务文件中抽取分别与各预设的标签关联的各数据,然后根据各预设的标签间的关系,确定由各数据构成的知识图谱,再展示知识图谱。通过将目标业务数据统一用知识图谱进行展示,提高了目标业务数据的可读性,提高了工作人员的工作效率,节省了用户理解和办理目标业务的时间。The business data display method based on knowledge graph provided in the embodiment of the present application can extract each data associated with each preset tag from the page and business file after capturing the page and business file associated with the target business, and then determine the knowledge graph composed of each data according to the relationship between the preset tags, and then display the knowledge graph. By uniformly displaying the target business data with the knowledge graph, the readability of the target business data is improved, the work efficiency of the staff is improved, and the time for users to understand and handle the target business is saved.
下面结合图5对本申请实施例提供的基于知识图谱的业务数据展示方法进行进一步说明。The business data display method based on the knowledge graph provided in the embodiment of the present application is further explained below in conjunction with Figure 5.
图5为本申请另一个实施例的基于知识图谱的业务数据展示方法的流程示意图。FIG5 is a flow chart of a business data display method based on a knowledge graph according to another embodiment of the present application.
如图5所示,本申请实施例提供的基于知识图谱的业务数据展示方法,可以包括以下步骤:As shown in FIG5 , the business data display method based on the knowledge graph provided in the embodiment of the present application may include the following steps:
步骤201,根据目标业务的属性,确定数据抓取频率。Step 201, determine the data capture frequency according to the attributes of the target business.
步骤202,以抓取频率,抓取与目标业务关联的页面及业务文件。Step 202: crawling pages and business files associated with the target business at a crawling frequency.
其中,上述步骤201-步骤202的具体实现过程及原理,可以参照上述实施例的描述,此处不再赘述。The specific implementation process and principle of the above steps 201 to 202 can refer to the description of the above embodiment and will not be repeated here.
步骤203,将与目标业务关联的页面及业务文件加入预设的消息队列。Step 203: Add the pages and business files associated with the target business to a preset message queue.
步骤204,从预设的消息队列中读取目标业务关联的页面及业务文件。Step 204: Read the pages and business files associated with the target business from the preset message queue.
步骤205,从页面及业务文件中抽取分别与各预设的标签关联的各数据。Step 205: extracting data associated with each preset tag from the page and the business file.
具体的,在抓取与目标业务关联的页面及业务文件后,可以通过shell程序对页面及业务文件按时间顺序排队整理,以目标业务的标识为主键,将页面及业务文件的URL(UniformResoure Locator,统一资源定位符)地址或存储位置推送到消息队列中,由消息队列负责页面及业务文件的链接地址或存储位置的分发及排序。然后,处理系统即可订阅消息队列中的页面及业务文件,获取页面及业务文件的地址或存储位置,通过网络请求或文件访问获取页面及业务文件,以从业面及业务文件中抽取分别与各预设的标签关联的各数据。Specifically, after grabbing the pages and business files associated with the target business, the pages and business files can be queued and sorted in chronological order through the shell program, with the target business identifier as the primary key, and the URL (Uniform Resource Locator) address or storage location of the pages and business files pushed to the message queue, which is responsible for the distribution and sorting of the link addresses or storage locations of the pages and business files. Then, the processing system can subscribe to the pages and business files in the message queue, obtain the addresses or storage locations of the pages and business files, obtain the pages and business files through network requests or file access, and extract the data associated with each preset tag from the business page and business files.
其中,目标业务的标识,可以唯一标识目标业务,其可以是目标业务对应的编码、目标业务的名称等等,本申请对此不作限制。Among them, the identifier of the target service can uniquely identify the target service, which can be a code corresponding to the target service, a name of the target service, etc., and this application does not impose any limitation on this.
可以理解的是,从页面及业务文件中抽取的分别与各预设的标签关联的各数据的数据结构与数据格式可能是多种多样的,不便于统一应用及管理,那么,本申请在获取分别与各预设的标签关联的各数据后,还可以对分别与各预设的标签关联的各数据进行结构化处理,得到结构化数据,以便于数据的统一应用及管理,提高数据的可用性。It is understandable that the data structures and data formats of the data extracted from the pages and business files and associated with the preset tags may be diverse, which is not convenient for unified application and management. Therefore, after obtaining the data associated with the preset tags, the present application can also perform structured processing on the data associated with the preset tags to obtain structured data, so as to facilitate the unified application and management of the data and improve the availability of the data.
另外,抽取分别与各预设的标签关联的各数据后,还可以将分别与各预设的标签关联的各数据存储到mysql数据库中,从而从mysql数据库中获取分别与各预设的标签关联的各数据,以生成与目标业务对应的知识图谱。从mysql数据库获取的各数据还可以写入高性能Nosql图数据库中,用于生成知识图谱。In addition, after extracting each data associated with each preset tag, each data associated with each preset tag can also be stored in a MySQL database, thereby obtaining each data associated with each preset tag from the MySQL database to generate a knowledge graph corresponding to the target business. Each data obtained from the MySQL database can also be written into a high-performance Nosql graph database for generating a knowledge graph.
另外,还可以将分别与各预设的标签关联的各数据写入检索库中,以便于用户快速搜索所需的业务。具体的,可以按照预设的键值对的方式,将分别与各预设的标签关联的各数据写入检索库。即,在步骤205之后,还可以包括:以各预设的标签为键值,将与各预设的标签关联的各数据写入检索库。In addition, each data associated with each preset tag can also be written into the search library, so that the user can quickly search for the required business. Specifically, each data associated with each preset tag can be written into the search library in the form of preset key-value pairs. That is, after step 205, it can also include: using each preset tag as a key value, writing each data associated with each preset tag into the search library.
其中,检索库,可以是用于存储实现检索功能的数据的数据库。The retrieval library may be a database for storing data for implementing the retrieval function.
利用键值对的方式向检索库中写入数据的过程,可以参考相关技术中的以键值对方式在数据库中存储数据的过程,本申请对此不再赘述。The process of writing data into the retrieval library by using key-value pairs can refer to the process of storing data in a database by using key-value pairs in the related art, and this application will not go into details.
步骤206,根据各预设的标签间的关系,确定由各数据构成的知识图谱。Step 206, determining the knowledge graph composed of each data according to the relationship between each preset label.
步骤207,在确定业务列表中目标业务处于选中状态时,在预设的图谱展示层展示知识图谱,其中图谱展示层的显示优先级高于业务列表所在的层。Step 207, when it is determined that the target business in the business list is in a selected state, the knowledge graph is displayed in a preset graph display layer, wherein the display priority of the graph display layer is higher than the layer where the business list is located.
其中,上述步骤206-步骤207的具体实现过程及原理,可以参照上述实施例的描述,此处不再赘述。The specific implementation process and principle of the above steps 206 and 207 can refer to the description of the above embodiment and will not be repeated here.
可以理解的是,业务列表中包括多种业务,在本申请实施例中,还可以根据指令,对业务列表中的各种业务的显示位置进行调整。It is understandable that the service list includes multiple services. In the embodiment of the present application, the display positions of various services in the service list can also be adjusted according to instructions.
即,本申请提供的基于知识图谱的业务数据展示方法,还可以包括:That is, the business data display method based on knowledge graph provided by this application may also include:
获取推荐设置指令,其中,推荐设置指令中包括业务标识及对应的优先级顺序;Obtaining a recommended setting instruction, wherein the recommended setting instruction includes a service identifier and a corresponding priority order;
根据推荐设置指令,确定业务列表中各业务的显示位置。According to the recommended setting instructions, determine the display position of each service in the service list.
其中,推荐设置指令,可以是工作人员或用户通过点击、拖动等触控操作触控业务列表页的预设位置,或拖动业务列表页中的某个业务触发的,当然也可以是通过其它方式触发的,本申请对此不作限制。推荐设置指令,用于设置业务列表中的各业务的显示位置。The recommended setting instruction can be triggered by a staff member or user touching a preset position of the service list page through a touch operation such as clicking or dragging, or dragging a service in the service list page. Of course, it can also be triggered by other methods, which is not limited by this application. The recommended setting instruction is used to set the display position of each service in the service list.
具体的,获取推荐设置指令后,即可按照业务标识及对应的优先级顺序,将业务标识对应的各业务按照优先级高低显示在业务列表中。Specifically, after obtaining the recommended setting instruction, the services corresponding to the service identifiers can be displayed in the service list in order of priority according to the service identifiers and the corresponding priority order.
通过根据推荐设置指令,调整业务列表中的各业务的显示位置,更便于工作人员根据业务需要调整各业务的推荐顺序。By adjusting the display position of each service in the service list according to the recommended setting instruction, it is more convenient for the staff to adjust the recommendation order of each service according to the business needs.
另外,本申请实施例中,还可以设置对于不同的角色,知识图谱中各节点对应的数据的可见性不同。即,本申请提供的基于知识图谱的业务数据展示方法,还可以包括:In addition, in the embodiment of the present application, the visibility of the data corresponding to each node in the knowledge graph can be set differently for different roles. That is, the business data display method based on the knowledge graph provided by the present application can also include:
获取权限设置指令,设置指令中包括标签及对应的角色标识;Get permission setting instructions, which include tags and corresponding role identifiers;
根据各预设的标签与各数据的关联关系,确定知识图谱中各数据与对应的角色标识;According to the association between each preset label and each data, determine each data in the knowledge graph and the corresponding role identifier;
根据各数据与对应的角色标识,设置知识图谱中各数据在与不同角色标识对应的显示界面中的可见性。According to each data and the corresponding role identifier, set the visibility of each data in the knowledge graph in the display interface corresponding to different role identifiers.
其中,权限设置指令,可以是工作人员通过点击、拖动等触控操作具有权限设置功能的按钮触发的,当然也可以是通过其它方式触发的,本申请对此不作限制。权限设置指令,用于设置与标签关联的数据对于角色标识对应的角色是否可见。比如,权限设置指令中,可以包括“金融产品类型对于角色M可见”。Among them, the permission setting instruction can be triggered by the staff through touch operations such as clicking and dragging a button with a permission setting function, or it can be triggered by other methods, and this application does not limit this. The permission setting instruction is used to set whether the data associated with the tag is visible to the role corresponding to the role identifier. For example, the permission setting instruction can include "the financial product type is visible to role M".
具体的,获取权限设置指令中的标签及对应的角色标识后,即可根据各预设的标签与各数据的关联关系,以及标签及对应的角色标识,确定知识图谱中各数据与对应的角色标识,进而根据各数据与对应的角色标识,按照权限设置指令中的可见性,设置知识图谱中各数据在不同角色标识对应的显示界面中的可见性。Specifically, after obtaining the labels and corresponding role identifiers in the permission setting instructions, the data and corresponding role identifiers in the knowledge graph can be determined based on the association between each preset label and each data, as well as the label and the corresponding role identifier. Then, based on each data and the corresponding role identifier, and in accordance with the visibility in the permission setting instructions, the visibility of each data in the knowledge graph in the display interface corresponding to different role identifiers can be set.
举例来说,假设权限设置指令中包括“金融产品类型对于角色M可见”、“金融产品所属公司对于角色M不可见”、“金融产品类型对于角色N不可见”、“金融产品所属公司对于角色M可见”,而金融产品类型对应的数据为“公募”,金融产品所属公司对应的数据为“汇添富基金”。则可以确定知识图谱中数据“公募”对于角色M可见,对于角色N不可见,知识图谱中数据“汇添富基金”对于角色M不可见,对于角色N可见。从而可以设置角色M对应的显示界面中,知识图谱显示“公募”,在角色N对应的显示界面中,知识图谱显示“汇添富基金”。For example, suppose the permission setting instruction includes "Financial product type is visible to role M", "Financial product company is not visible to role M", "Financial product type is not visible to role N", "Financial product company is visible to role M", and the data corresponding to the financial product type is "public offering", and the data corresponding to the financial product company is "Huatianfu Fund". Then it can be determined that the data "public offering" in the knowledge graph is visible to role M, but not to role N, and the data "Huatianfu Fund" in the knowledge graph is not visible to role M, but visible to role N. Therefore, in the display interface corresponding to role M, the knowledge graph can be set to display "public offering", and in the display interface corresponding to role N, the knowledge graph can display "Huatianfu Fund".
通过为不同角色设置不同的知识图谱可视权限,从而更方便工作人员及用户通过知识图谱获取有效信息,节省了工作人员及用户的时间。By setting different knowledge graph visibility permissions for different roles, it is more convenient for staff and users to obtain effective information through the knowledge graph, saving their time.
具体实现时,处理系统可以配置在银行的处理系统中,下面结合图6-9所示的示例图,以目标业务为目标金融产品为例,对业务数据的处理过程进行说明。In specific implementation, the processing system can be configured in the processing system of the bank. The following is combined with the example diagrams shown in Figures 6-9, taking the target business as the target financial product as an example, to illustrate the processing process of business data.
如图6和图7所示,可以按照预设的抓取频率,从web数据源抓取银行基金经理页面、基金公司页面等基金相关页面,然后通过shell程序对页面按时间顺序排队整理,以基金编码为主键,将页面的URL地址推送到消息队列中,由消息队列负责页面的URL地址的分发及排序,直至所有页面的URL地址均推送到消息队列中。通过以消息队列的方式,对银行基金相关页面进行处理,可以将基于金融知识图谱的业务数据处理系统与银行前端系统解耦,保证基于知识图谱的业务数据处理系统的稳定性。As shown in Figures 6 and 7, according to the preset crawling frequency, the bank fund manager page, fund company page and other fund-related pages can be crawled from the web data source, and then the pages are queued and sorted in chronological order through the shell program, with the fund code as the primary key, and the URL address of the page is pushed to the message queue. The message queue is responsible for the distribution and sorting of the URL address of the page until the URL addresses of all pages are pushed to the message queue. By processing the bank fund-related pages in the form of a message queue, the business data processing system based on the financial knowledge graph can be decoupled from the bank front-end system, ensuring the stability of the business data processing system based on the knowledge graph.
然后,如图6和图8所示,处理系统的数据抽取模块可订阅消息队列中的页面,从消息队列的URL列表中获取数据地址,通过http请求获取页面数据,并从页面数据中抽取与基金经理、基金公司等标签关联的各数据,然后对这些数据进行结构化处理,生成基金对应的结构化数据,并通过Java技术运用orm模型(对象关系映射模型)持久化到本地mysql数据库,完成一条数据的写入后,消息队列会将这条数据在消息队列中移除,然后处理下一条数据,直到处理完成所有数据。Then, as shown in Figures 6 and 8, the data extraction module of the processing system can subscribe to the pages in the message queue, obtain the data address from the URL list of the message queue, obtain the page data through http requests, and extract the data associated with tags such as fund managers and fund companies from the page data. Then, these data are structured to generate structured data corresponding to the fund, and persisted to the local MySQL database through Java technology using the orm model (object-relational mapping model). After completing the writing of a piece of data, the message queue will remove this piece of data in the message queue, and then process the next piece of data until all data is processed.
对于mysql数据库中的数据,可以使用定时任务将最新的数据同步到图数据库和检索库,分别实现数据源到高性能Nosql图数据库以及检索库的任务,通过接口更新数据,具体的数据同步过程可以如图9所示。For data in the MySQL database, you can use scheduled tasks to synchronize the latest data to the graph database and retrieval library, respectively implementing the tasks of transferring the data source to the high-performance Nosql graph database and retrieval library, and updating the data through the interface. The specific data synchronization process can be shown in Figure 9.
具体的,首先程序通过调用接口清除图数据库和检索库中数据,然后通过jdbc(JavaData Base Connectivity,Java数据库连接)连接到本地mysql数据库,并读取mysql数据库中的与基金经理、基金公司等标签关联的结构化数据,然后向图数据库中写入获取的结构化数据用于生成知识图谱,以各标签为键值,向检索库中写入基金对应的结构化数据,完成后退出程序。Specifically, the program first clears the data in the graph database and retrieval library by calling the interface, then connects to the local MySQL database through jdbc (Java Data Base Connectivity), and reads the structured data associated with tags such as fund managers and fund companies in the MySQL database, and then writes the acquired structured data into the graph database for generating a knowledge graph, using each tag as the key value, and writes the structured data corresponding to the fund into the retrieval library, and exits the program after completion.
图数据库可以高效接收银行金融数据并生成知识图谱,以及存储知识图谱和为银行前端系统提供接口以展示知识图谱。Graph databases can efficiently receive banking and financial data and generate knowledge graphs, as well as store knowledge graphs and provide interfaces for banking front-end systems to display knowledge graphs.
检索库可以提供高效检索功能,通过搜索引擎和倒排索引,可以快速查询定位符合一定条件的数据。具体的,可以通过基金代码、基金经理、基金公司、理财代码等快速查询数据。具体实现时,在搜索框中输入基金代码、基金经理、基金公司、理财代码信息后,点击搜索按钮,搜索引擎即可查询检索库,返回符合条件的数据,并按照相关度进行排序,展示到页面上。The search library can provide efficient search functions. Through the search engine and inverted index, you can quickly search and locate data that meets certain conditions. Specifically, you can quickly search for data by fund code, fund manager, fund company, financial management code, etc. When implementing it, enter the fund code, fund manager, fund company, and financial management code information in the search box, click the search button, and the search engine will query the search library, return the data that meets the conditions, sort it by relevance, and display it on the page.
业务系统可以访问本地数据库获取基金、理财数据为前端页面提供基金列表及详情展示等功能。web后台可以提供用户管理、系统管理、个性化页面配置等功能。其中,系统管理主要包括系统样式、主题等管理,用户管理包括用户、角色、权限等管理,实现对数据的安全管理。页面配置主要用于运维人员定制银行或网点的个性化需求,如主推基金、理财产品、数据展示等。网点用户登录系统后,可以在基金列表中选择或者通过关键字搜索某支基金,选中基金,通过按钮设置为推荐基金,设置为推荐基金后,用户在前端查看基金列表时,这些基金会显示在最前面。通过查看统计报表,网点用户可以查看基金的点击率,基金停留时间排序等。The business system can access the local database to obtain fund and financial data to provide fund lists and details display functions for the front-end page. The web backend can provide functions such as user management, system management, and personalized page configuration. Among them, system management mainly includes management of system styles and themes, and user management includes management of users, roles, permissions, etc., to achieve secure management of data. Page configuration is mainly used by operation and maintenance personnel to customize the personalized needs of banks or outlets, such as promoting funds, financial products, data display, etc. After the outlet user logs in to the system, he can select a fund in the fund list or search for a fund by keyword, select a fund, and set it as a recommended fund by clicking the button. After setting it as a recommended fund, these funds will be displayed at the front when the user views the fund list on the front end. By viewing statistical reports, outlet users can view the click-through rate of funds, the ranking of fund stay time, etc.
本申请实施例提供的基于知识图谱的业务数据展示方法,以抓取频率抓取与目标业务关联的页面及业务文件后,可以将与目标业务关联的页面及业务文件加入预设的消息队列,并从预设的消息队列中读取目标业务关联的页面及业务文件,然后从页面及业务文件中抽取分别与各预设的标签关联的各数据,再各预设的标签间的关系,确定由各数据构成的知识图谱,再在确定业务列表中目标业务处于选中状态时,在预设的图谱展示层展示知识图谱,其中图谱展示层的显示优先级高于业务列表所在的层。通过将目标业务数据统一用知识图谱进行展示,提高了目标业务数据的可读性,提高了工作人员的工作效率,节省了用户理解和办理目标业务的时间。The business data display method based on knowledge graph provided in the embodiment of the present application can add the pages and business files associated with the target business to the preset message queue after crawling the pages and business files associated with the target business at the crawling frequency, and read the pages and business files associated with the target business from the preset message queue, and then extract the data associated with each preset tag from the pages and business files, and then determine the relationship between each preset tag to determine the knowledge graph composed of each data, and then when it is determined that the target business is in the selected state in the business list, display the knowledge graph in the preset graph display layer, wherein the display priority of the graph display layer is higher than the layer where the business list is located. By uniformly displaying the target business data with the knowledge graph, the readability of the target business data is improved, the work efficiency of the staff is improved, and the time for users to understand and handle the target business is saved.
下面结合图10,对本申请实施例提供的基于知识图谱的业务数据处理系统进行说明。The following is an explanation of the business data processing system based on knowledge graph provided in an embodiment of the present application in conjunction with Figure 10.
需要说明的是,本申请实施例提供的基于知识图谱的业务数据处理系统,可以执行上述实施例所述的基于知识图谱的业务数据展示方法,具体实现时,该基于知识图谱的业务数据处理系统可以被配置在电子设备中,以生成用于展示的知识图谱。其中,电子设备可以是任意能够进行数据处理的终端设备,比如智能手机、笔记本电脑、可穿戴设备等等,也可以是服务器,本申请对此不作限制。It should be noted that the business data processing system based on the knowledge graph provided in the embodiment of the present application can execute the business data display method based on the knowledge graph described in the above embodiment. When implemented specifically, the business data processing system based on the knowledge graph can be configured in an electronic device to generate a knowledge graph for display. Among them, the electronic device can be any terminal device capable of data processing, such as a smart phone, a laptop computer, a wearable device, etc., or a server, and this application does not limit this.
图10为本申请一个实施例的基于知识图谱的业务数据处理系统的结构示意图。FIG10 is a schematic diagram of the structure of a business data processing system based on a knowledge graph according to an embodiment of the present application.
如图10所示,本申请实施例提供的基于知识图谱的业务数据处理系统,包括:As shown in FIG10 , the business data processing system based on the knowledge graph provided in the embodiment of the present application includes:
抓取模块11,用于抓取与目标业务关联的页面及业务文件;The capture module 11 is used to capture pages and business files associated with the target business;
数据抽取模块12,用于从所述页面及业务文件中抽取分别与各预设的标签关联的各数据;The data extraction module 12 is used to extract data associated with each preset tag from the page and the business file;
知识图谱生成模块13,用于根据各预设的标签间的关系,确定由所述各数据构成的用于展示的知识图谱。The knowledge graph generation module 13 is used to determine the knowledge graph for display composed of the data according to the relationship between the preset tags.
在一种可能的实现形式中,抓取模块11,具体用于:In a possible implementation form, the capture module 11 is specifically configured to:
根据目标业务的属性,确定数据抓取频率;Determine the frequency of data capture based on the attributes of the target business;
以抓取频率,抓取与目标业务关联的页面及业务文件。Crawl pages and business files related to the target business at the crawling frequency.
在另一种可能的实现形式中,目标业务数据为金融产品数据;In another possible implementation form, the target business data is financial product data;
预设的标签,包括:金融产品代码、金融产品名称、金融产品简称、金融产品类型、金融产品有效时间、金融产品所属公司、产品对应的负责人员及金融产品对应的认购金额中的至少一种。The preset labels include: at least one of: financial product code, financial product name, financial product abbreviation, financial product type, financial product validity period, company to which the financial product belongs, person in charge corresponding to the product, and subscription amount corresponding to the financial product.
在另一种可能的实现形式中,本申请实施例提供的基于知识图谱的业务数据处理系统,还可以包括:In another possible implementation form, the business data processing system based on the knowledge graph provided in the embodiment of the present application may also include:
处理模块,用于将与目标业务关联的页面及业务文件加入预设的消息队列。The processing module is used to add the pages and business files associated with the target business to the preset message queue.
相应的,上述数据抽取模块12,具体用于:Accordingly, the data extraction module 12 is specifically used for:
从预设的消息队列中读取目标业务关联的页面及业务文件,以从所述页面及业务文件中抽取分别与各预设的标签关联的各数据。The pages and business files associated with the target business are read from the preset message queue to extract the data respectively associated with the preset tags from the pages and business files.
在另一种可能的实现形式中,本申请实施例提供的基于知识图谱的业务数据处理系统,还可以包括:In another possible implementation form, the business data processing system based on the knowledge graph provided in the embodiment of the present application may also include:
推荐设置指令获取模块,用于获取推荐设置指令,其中,推荐设置指令中包括业务标识及对应的优先级顺序。The recommended setting instruction acquisition module is used to acquire the recommended setting instruction, wherein the recommended setting instruction includes a service identifier and a corresponding priority order.
显示位置确定模块,用于根据推荐设置指令,确定业务列表中各业务的显示位置。The display position determination module is used to determine the display position of each service in the service list according to the recommended setting instruction.
写入模块,用于以所述各预设的标签为键值,将与各预设的标签关联的各数据写入所述检索库。The writing module is used to write each data associated with each preset tag into the retrieval library by using each preset tag as a key value.
权限设置指令获取模块,用于获取权限设置指令,设置指令中包括标签及对应的角色标识。The permission setting instruction acquisition module is used to obtain the permission setting instruction, and the setting instruction includes a label and a corresponding role identifier.
角色标识确定模块,用于根据各预设的标签与各数据的关联关系,确定知识图谱中各数据与对应的角色标识。The role identification determination module is used to determine the corresponding role identification of each data in the knowledge graph according to the association relationship between each preset label and each data.
设置模块,用于根据各数据与对应的角色标识,设置知识图谱中各数据在与不同角色标识对应的显示界面中的可见性。The setting module is used to set the visibility of each data in the knowledge graph in the display interface corresponding to different role identifiers according to each data and the corresponding role identifier.
需要说明的是,本实施例的基于知识图谱的业务数据处理系统的实施过程和技术原理参见前述对第一方面实施例的基于知识图谱的业务数据展示方法的解释说明,此处不再赘述。It should be noted that the implementation process and technical principles of the business data processing system based on the knowledge graph of this embodiment refer to the aforementioned explanation of the business data display method based on the knowledge graph of the first aspect of the embodiment, and will not be repeated here.
本申请实施例提供的基于知识图谱的业务数据处理系统,抓取与目标业务关联的页面及业务文件后,可以从页面及业务文件中抽取分别与各预设的标签关联的各数据,然后根据各预设的标签间的关系,确定由各数据构成的用于展示的知识图谱。通过根据目标业务数据确定用于展示的指示图谱,以将目标业务数据统一用知识图谱进行展示,提高了目标业务数据的可读性,提高了工作人员的工作效率,节省了用户理解和办理目标业务的时间。The business data processing system based on knowledge graph provided by the embodiment of the present application can extract each data associated with each preset tag from the page and business file after capturing the page and business file associated with the target business, and then determine the knowledge graph for display composed of each data according to the relationship between the preset tags. By determining the indication graph for display according to the target business data, the target business data can be uniformly displayed using the knowledge graph, which improves the readability of the target business data, improves the work efficiency of the staff, and saves the time for users to understand and handle the target business.
为了实现上述实施例,本申请还提出一种电子设备。In order to implement the above embodiments, the present application also proposes an electronic device.
图11为本申请一个实施例的电子设备的结构示意图。图11显示的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Figure 11 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. The electronic device shown in Figure 11 is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present application.
图11为本申请一个实施例的电子设备的结构示意图。图11显示的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Figure 11 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. The electronic device shown in Figure 11 is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present application.
如图11所示,上述电子设备200包括:存储器210、处理器220及存储在存储器210上并可在处理器220上运行的计算机程序,所述处理器220执行所述程序时,实现第一方面实施例所述的基于知识图谱的业务数据展示方法。As shown in Figure 11, the above-mentioned electronic device 200 includes: a memory 210, a processor 220, and a computer program stored in the memory 210 and executable on the processor 220. When the processor 220 executes the program, the business data display method based on the knowledge graph described in the first aspect embodiment is implemented.
具体的,电子设备可以是任意能够进行数据处理的硬件设备,比如智能手机、笔记本电脑、可穿戴设备等等,也可以是服务器,本申请对此不作限制。Specifically, the electronic device can be any hardware device capable of data processing, such as a smart phone, a laptop computer, a wearable device, etc., or a server, which is not limited in this application.
在一种可选的实现形式中,如图12所示,该电子设备200还可以包括:存储器210及处理器220,连接不同组件(包括存储器210和处理器220)的总线230,存储器210存储有计算机程序,当处理器220执行所述程序时实现本申请实施例所述的基于知识图谱的业务数据展示方法。In an optional implementation form, as shown in Figure 12, the electronic device 200 may also include: a memory 210 and a processor 220, a bus 230 connecting different components (including the memory 210 and the processor 220), the memory 210 stores a computer program, and when the processor 220 executes the program, the business data display method based on the knowledge graph described in the embodiment of the present application is implemented.
总线230表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 230 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
电子设备200典型地包括多种计算机设备可读介质。这些介质可以是任何能够被电子设备200访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The electronic device 200 typically includes a variety of computer device readable media. These media can be any available media that can be accessed by the electronic device 200, including volatile and non-volatile media, removable and non-removable media.
存储器210还可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)240和/或高速缓存存储器250。电子设备200可以进一步包括其他可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统260可以用于读写不可移动的、非易失性磁介质(图12未显示,通常称为“硬盘驱动器”)。尽管图12中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其他光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线230相连。存储器210可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。The memory 210 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 240 and/or cache memory 250. The electronic device 200 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, the storage system 260 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 12, commonly referred to as "hard disk drives"). Although not shown in FIG. 12, a disk drive for reading and writing removable non-volatile disks (such as "floppy disks"), and an optical disk drive for reading and writing removable non-volatile optical disks (such as CD-ROM, DVD-ROM or other optical media) may be provided. In these cases, each drive may be connected to the bus 230 via one or more data medium interfaces. The memory 210 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.
具有一组(至少一个)程序模块270的程序/实用工具280,可以存储在例如存储器210中,这样的程序模块270包括——但不限于——操作系统、一个或者多个应用程序、其他程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块270通常执行本申请所描述的实施例中的功能和/或方法。A program/utility 280 having a set (at least one) of program modules 270 may be stored, for example, in the memory 210, such program modules 270 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 270 generally perform the functions and/or methods of the embodiments described herein.
电子设备200也可以与一个或多个外部设备290(例如键盘、指向设备、显示器291等)通信,还可与一个或者多个使得用户能与该电子设备200交互的设备通信,和/或与使得该电子设备200能与一个或多个其他计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口292进行。并且,电子设备200还可以通过网络适配器293与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图12所示,网络适配器293通过总线230与电子设备200的其他模块通信。应当明白,尽管图12中未示出,可以结合电子设备200使用其他硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 200 may also communicate with one or more external devices 290 (e.g., keyboard, pointing device, display 291, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 200, and/or communicate with any device that enables the electronic device 200 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input/output (I/O) interface 292. Furthermore, the electronic device 200 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and/or public network, such as the Internet) via a network adapter 293. As shown in FIG. 12 , the network adapter 293 communicates with other modules of the electronic device 200 via a bus 230. It should be understood that, although not shown in FIG. 12 , other hardware and/or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
需要说明的是,本实施例的电子设备的实施过程和技术原理参见前述对第一方面实施例的基于知识图谱的业务数据展示方法的解释说明,此处不再赘述。It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the business data display method based on the knowledge graph of the first aspect embodiment, and will not be repeated here.
本申请实施例提供的电子设备,抓取与目标业务关联的页面及业务文件后,可以从页面及业务文件中抽取分别与各预设的标签关联的各数据,然后根据各预设的标签间的关系,确定由各数据构成的知识图谱,再展示知识图谱。通过将目标业务数据统一用知识图谱进行展示,提高了目标业务数据的可读性,提高了工作人员的工作效率,节省了用户理解和办理目标业务的时间。The electronic device provided in the embodiment of the present application can extract each data associated with each preset tag from the page and the business file after grabbing the page and the business file associated with the target business, and then determine the knowledge graph composed of each data according to the relationship between the preset tags, and then display the knowledge graph. By uniformly displaying the target business data with the knowledge graph, the readability of the target business data is improved, the work efficiency of the staff is improved, and the time for users to understand and handle the target business is saved.
为实现上述实施例,本申请还提出一种计算机可读存储介质。To implement the above embodiments, the present application also proposes a computer-readable storage medium.
其中该计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,以实现第一方面实施例所述的基于知识图谱的业务数据展示方法。The computer-readable storage medium stores a computer program thereon, and when the program is executed by the processor, it implements the business data display method based on the knowledge graph described in the first aspect of the embodiment.
为实现上述实施例,本申请还提出一种计算机程序产品,当计算机程序产品中的指令由处理器执行时,执行如前述一方面实施例所述的基于知识图谱的业务数据展示方法。To implement the above-mentioned embodiments, the present application also proposes a computer program product. When the instructions in the computer program product are executed by a processor, the business data display method based on the knowledge graph as described in the above-mentioned embodiment is executed.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。In the description of this specification, reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010043068.3A CN113127574B (en) | 2020-01-15 | 2020-01-15 | Business data display method, system, device and medium based on knowledge graph |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010043068.3A CN113127574B (en) | 2020-01-15 | 2020-01-15 | Business data display method, system, device and medium based on knowledge graph |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113127574A CN113127574A (en) | 2021-07-16 |
| CN113127574B true CN113127574B (en) | 2024-10-22 |
Family
ID=76771484
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010043068.3A Active CN113127574B (en) | 2020-01-15 | 2020-01-15 | Business data display method, system, device and medium based on knowledge graph |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113127574B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113806597A (en) * | 2021-09-10 | 2021-12-17 | 浙江创邻科技有限公司 | Financial search system and method based on graph database |
| CN113806432A (en) * | 2021-09-15 | 2021-12-17 | 鲁担(山东)数据科技有限公司 | Real-time message processing, storing and decision-making service system |
| CN114065254B (en) * | 2021-11-23 | 2025-05-13 | 北京字跳网络技术有限公司 | Data processing method, device, electronic device, medium and product |
| CN114780752B (en) * | 2022-05-12 | 2025-08-22 | 招商银行股份有限公司 | Method, system, device and storage medium for constructing federated knowledge graph |
| CN115587193A (en) * | 2022-10-20 | 2023-01-10 | 奇瑞徽银汽车金融股份有限公司 | A method for recommending knowledge in the field of auto finance |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109033464A (en) * | 2018-08-31 | 2018-12-18 | 北京字节跳动网络技术有限公司 | Method and apparatus for handling information |
| CN109902182A (en) * | 2019-01-30 | 2019-06-18 | 北京百度网讯科技有限公司 | Knowledge data processing method, device, equipment and storage medium |
| CN109948073A (en) * | 2017-09-25 | 2019-06-28 | 腾讯科技(深圳)有限公司 | Content search method, terminal, server, electronic equipment and storage medium |
| CN110110172A (en) * | 2017-12-28 | 2019-08-09 | 北京京东尚科信息技术有限公司 | Information displaying method and device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109657066A (en) * | 2018-11-19 | 2019-04-19 | 平安科技(深圳)有限公司 | Knowledge mapping construction method, device and computer equipment based on multi-angle of view |
-
2020
- 2020-01-15 CN CN202010043068.3A patent/CN113127574B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109948073A (en) * | 2017-09-25 | 2019-06-28 | 腾讯科技(深圳)有限公司 | Content search method, terminal, server, electronic equipment and storage medium |
| CN110110172A (en) * | 2017-12-28 | 2019-08-09 | 北京京东尚科信息技术有限公司 | Information displaying method and device |
| CN109033464A (en) * | 2018-08-31 | 2018-12-18 | 北京字节跳动网络技术有限公司 | Method and apparatus for handling information |
| CN109902182A (en) * | 2019-01-30 | 2019-06-18 | 北京百度网讯科技有限公司 | Knowledge data processing method, device, equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113127574A (en) | 2021-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113127574B (en) | Business data display method, system, device and medium based on knowledge graph | |
| CN114925084B (en) | Distributed transaction processing method, system, equipment and readable storage medium | |
| CN110023925B (en) | Generating, accessing and displaying lineage metadata | |
| EP2874077B1 (en) | Stateless database cache | |
| US7822710B1 (en) | System and method for data collection | |
| CN110162522B (en) | Distributed data search system and method | |
| US9069818B2 (en) | Textual search for numerical properties | |
| US8805777B2 (en) | Data record collapse and split functionality | |
| CN113297139B (en) | Metadata query method and system and electronic equipment | |
| CN105787058B (en) | A kind of user tag system and the data delivery system based on user tag system | |
| CN105808653B (en) | A data processing method and device based on user tagging system | |
| CN111553556A (en) | Business data analysis method, device, computer equipment and storage medium | |
| CN113032420A (en) | Data query method and device and server | |
| WO2022121227A1 (en) | Data storage method and apparatus, query method, electronic device, and readable medium | |
| CN112699142A (en) | Cold and hot data processing method and device, electronic equipment and storage medium | |
| CN108108392B (en) | Commodity data management method, device, computer equipment and storage medium | |
| US11704345B2 (en) | Inferring location attributes from data entries | |
| US10248668B2 (en) | Mapping database structure to software | |
| CN117874120A (en) | Intelligent data integration method and system based on data virtualization | |
| CN113761102A (en) | Data processing method, device, server, system and storage medium | |
| US12353390B2 (en) | Method and apparatus for storing data | |
| CN113434585B (en) | Resource preservation method and equipment | |
| CN118796863A (en) | Data query method and device | |
| CN116304236A (en) | User portrait generation method and device, electronic equipment and storage medium | |
| CN115658633A (en) | Operation log generation method, device, computer equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TG01 | Patent term adjustment | ||
| TG01 | Patent term adjustment |